@paperclipai/shared 2026.824.0 → 2026.825.0-beta.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.
Files changed (276) hide show
  1. package/dist/adapter-auth-check-code.d.ts +13 -0
  2. package/dist/adapter-auth-check-code.d.ts.map +1 -0
  3. package/dist/adapter-auth-check-code.js +13 -0
  4. package/dist/adapter-auth-check-code.js.map +1 -0
  5. package/dist/adapter-auth-check-code.test.d.ts +2 -0
  6. package/dist/adapter-auth-check-code.test.d.ts.map +1 -0
  7. package/dist/adapter-auth-check-code.test.js +8 -0
  8. package/dist/adapter-auth-check-code.test.js.map +1 -0
  9. package/dist/company-import-transfer.d.ts +3 -37
  10. package/dist/company-import-transfer.d.ts.map +1 -1
  11. package/dist/config-schema.d.ts +130 -1570
  12. package/dist/config-schema.d.ts.map +1 -1
  13. package/dist/config-schema.js +3 -7
  14. package/dist/config-schema.js.map +1 -1
  15. package/dist/constants.d.ts +3 -2
  16. package/dist/constants.d.ts.map +1 -1
  17. package/dist/constants.js +3 -0
  18. package/dist/constants.js.map +1 -1
  19. package/dist/environment-support.d.ts +1 -1
  20. package/dist/environment-support.d.ts.map +1 -1
  21. package/dist/environment-support.js +3 -2
  22. package/dist/environment-support.js.map +1 -1
  23. package/dist/environment-support.test.js +19 -0
  24. package/dist/environment-support.test.js.map +1 -1
  25. package/dist/feature-catalog.d.ts +7 -17
  26. package/dist/feature-catalog.d.ts.map +1 -1
  27. package/dist/feature-catalog.js +9 -2
  28. package/dist/feature-catalog.js.map +1 -1
  29. package/dist/frontmatter.d.ts +3 -13
  30. package/dist/frontmatter.d.ts.map +1 -1
  31. package/dist/frontmatter.js +2 -2
  32. package/dist/frontmatter.js.map +1 -1
  33. package/dist/index.d.ts +7 -3
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +6 -2
  36. package/dist/index.js.map +1 -1
  37. package/dist/markdown-work-products.d.ts +26 -0
  38. package/dist/markdown-work-products.d.ts.map +1 -0
  39. package/dist/markdown-work-products.js +70 -0
  40. package/dist/markdown-work-products.js.map +1 -0
  41. package/dist/markdown-work-products.test.d.ts +2 -0
  42. package/dist/markdown-work-products.test.d.ts.map +1 -0
  43. package/dist/markdown-work-products.test.js +122 -0
  44. package/dist/markdown-work-products.test.js.map +1 -0
  45. package/dist/node-version.d.ts +6 -0
  46. package/dist/node-version.d.ts.map +1 -0
  47. package/dist/node-version.js +46 -0
  48. package/dist/node-version.js.map +1 -0
  49. package/dist/runtime-exposure/loopback-bind.d.ts +2 -2
  50. package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -1
  51. package/dist/runtime-exposure/loopback-bind.js +3 -3
  52. package/dist/runtime-exposure/loopback-bind.js.map +1 -1
  53. package/dist/runtime-exposure/loopback-bind.test.js +11 -10
  54. package/dist/runtime-exposure/loopback-bind.test.js.map +1 -1
  55. package/dist/settings-visibility.d.ts +62 -0
  56. package/dist/settings-visibility.d.ts.map +1 -0
  57. package/dist/settings-visibility.js +102 -0
  58. package/dist/settings-visibility.js.map +1 -0
  59. package/dist/settings-visibility.test.d.ts +2 -0
  60. package/dist/settings-visibility.test.d.ts.map +1 -0
  61. package/dist/settings-visibility.test.js +51 -0
  62. package/dist/settings-visibility.test.js.map +1 -0
  63. package/dist/telemetry/generated/paperclip-telemetry.d.ts +4 -2
  64. package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
  65. package/dist/telemetry/generated/paperclip-telemetry.js +2 -0
  66. package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
  67. package/dist/types/environment.d.ts +20 -0
  68. package/dist/types/environment.d.ts.map +1 -1
  69. package/dist/types/index.d.ts +5 -3
  70. package/dist/types/index.d.ts.map +1 -1
  71. package/dist/types/index.js +1 -0
  72. package/dist/types/index.js.map +1 -1
  73. package/dist/types/instance.d.ts +7 -0
  74. package/dist/types/instance.d.ts.map +1 -1
  75. package/dist/types/instance.js.map +1 -1
  76. package/dist/types/issue.d.ts +19 -0
  77. package/dist/types/issue.d.ts.map +1 -1
  78. package/dist/types/plugin.d.ts +34 -4
  79. package/dist/types/plugin.d.ts.map +1 -1
  80. package/dist/types/workspace-operation.d.ts +1 -1
  81. package/dist/types/workspace-operation.d.ts.map +1 -1
  82. package/dist/types/workspace-readiness.d.ts +62 -0
  83. package/dist/types/workspace-readiness.d.ts.map +1 -0
  84. package/dist/types/workspace-readiness.js +28 -0
  85. package/dist/types/workspace-readiness.js.map +1 -0
  86. package/dist/types/workspace-runtime.d.ts +6 -8
  87. package/dist/types/workspace-runtime.d.ts.map +1 -1
  88. package/dist/validators/access.d.ts +143 -277
  89. package/dist/validators/access.d.ts.map +1 -1
  90. package/dist/validators/access.js +5 -5
  91. package/dist/validators/adapter-auth-session.d.ts +50 -97
  92. package/dist/validators/adapter-auth-session.d.ts.map +1 -1
  93. package/dist/validators/adapter-auth-session.js +3 -3
  94. package/dist/validators/adapter-registry.d.ts +8 -40
  95. package/dist/validators/adapter-registry.d.ts.map +1 -1
  96. package/dist/validators/adapter-registry.js +1 -1
  97. package/dist/validators/adapter-registry.js.map +1 -1
  98. package/dist/validators/adapter-skills.d.ts +71 -170
  99. package/dist/validators/adapter-skills.d.ts.map +1 -1
  100. package/dist/validators/adapter-skills.js +3 -3
  101. package/dist/validators/agent.d.ts +412 -4798
  102. package/dist/validators/agent.d.ts.map +1 -1
  103. package/dist/validators/agent.js +13 -13
  104. package/dist/validators/agent.js.map +1 -1
  105. package/dist/validators/app-definition.d.ts +270 -2315
  106. package/dist/validators/app-definition.d.ts.map +1 -1
  107. package/dist/validators/approval.d.ts +15 -36
  108. package/dist/validators/approval.d.ts.map +1 -1
  109. package/dist/validators/approval.js +2 -2
  110. package/dist/validators/artifact.d.ts +162 -893
  111. package/dist/validators/artifact.d.ts.map +1 -1
  112. package/dist/validators/artifact.js +6 -6
  113. package/dist/validators/asset.d.ts +1 -5
  114. package/dist/validators/asset.d.ts.map +1 -1
  115. package/dist/validators/budget.d.ts +19 -43
  116. package/dist/validators/budget.d.ts.map +1 -1
  117. package/dist/validators/budget.js +1 -1
  118. package/dist/validators/claude-setup-token-session.d.ts +61 -181
  119. package/dist/validators/claude-setup-token-session.d.ts.map +1 -1
  120. package/dist/validators/claude-setup-token-session.js +4 -4
  121. package/dist/validators/company-portability.d.ts +318 -3616
  122. package/dist/validators/company-portability.d.ts.map +1 -1
  123. package/dist/validators/company-portability.js +2 -2
  124. package/dist/validators/company-skill.d.ts +722 -2934
  125. package/dist/validators/company-skill.d.ts.map +1 -1
  126. package/dist/validators/company-skill.js +63 -63
  127. package/dist/validators/company.d.ts +162 -289
  128. package/dist/validators/company.d.ts.map +1 -1
  129. package/dist/validators/company.js +4 -3
  130. package/dist/validators/company.js.map +1 -1
  131. package/dist/validators/cost.d.ts +29 -57
  132. package/dist/validators/cost.d.ts.map +1 -1
  133. package/dist/validators/cost.js +5 -5
  134. package/dist/validators/decision-queue.d.ts +60 -108
  135. package/dist/validators/decision-queue.d.ts.map +1 -1
  136. package/dist/validators/decision.d.ts +230 -1884
  137. package/dist/validators/decision.d.ts.map +1 -1
  138. package/dist/validators/decision.js +9 -9
  139. package/dist/validators/document-annotation.d.ts +37 -203
  140. package/dist/validators/document-annotation.d.ts.map +1 -1
  141. package/dist/validators/document-annotation.js +3 -3
  142. package/dist/validators/environment-custom-images.d.ts +79 -173
  143. package/dist/validators/environment-custom-images.d.ts.map +1 -1
  144. package/dist/validators/environment-custom-images.js +14 -11
  145. package/dist/validators/environment-custom-images.js.map +1 -1
  146. package/dist/validators/environment.d.ts +82 -259
  147. package/dist/validators/environment.d.ts.map +1 -1
  148. package/dist/validators/execution-workspace.d.ts +173 -513
  149. package/dist/validators/execution-workspace.d.ts.map +1 -1
  150. package/dist/validators/execution-workspace.js +13 -13
  151. package/dist/validators/execution-workspace.js.map +1 -1
  152. package/dist/validators/external-object.d.ts +55 -27
  153. package/dist/validators/external-object.d.ts.map +1 -1
  154. package/dist/validators/external-object.js +1 -1
  155. package/dist/validators/external-object.js.map +1 -1
  156. package/dist/validators/feedback.d.ts +28 -19
  157. package/dist/validators/feedback.d.ts.map +1 -1
  158. package/dist/validators/feedback.js +1 -1
  159. package/dist/validators/finance.d.ts +69 -74
  160. package/dist/validators/finance.d.ts.map +1 -1
  161. package/dist/validators/finance.js +6 -6
  162. package/dist/validators/folder.d.ts +44 -205
  163. package/dist/validators/folder.d.ts.map +1 -1
  164. package/dist/validators/folder.js +7 -7
  165. package/dist/validators/goal.d.ts +26 -34
  166. package/dist/validators/goal.d.ts.map +1 -1
  167. package/dist/validators/goal.js +4 -3
  168. package/dist/validators/goal.js.map +1 -1
  169. package/dist/validators/inbox-agent-policy.d.ts +12 -16
  170. package/dist/validators/inbox-agent-policy.d.ts.map +1 -1
  171. package/dist/validators/inbox-agent-policy.js +1 -1
  172. package/dist/validators/index.d.ts +2 -2
  173. package/dist/validators/index.d.ts.map +1 -1
  174. package/dist/validators/index.js +2 -2
  175. package/dist/validators/index.js.map +1 -1
  176. package/dist/validators/instance.d.ts +50 -563
  177. package/dist/validators/instance.d.ts.map +1 -1
  178. package/dist/validators/instance.js +16 -6
  179. package/dist/validators/instance.js.map +1 -1
  180. package/dist/validators/instance.test.js +13 -0
  181. package/dist/validators/instance.test.js.map +1 -1
  182. package/dist/validators/issue-tree-control.d.ts +41 -80
  183. package/dist/validators/issue-tree-control.d.ts.map +1 -1
  184. package/dist/validators/issue.d.ts +1772 -12251
  185. package/dist/validators/issue.d.ts.map +1 -1
  186. package/dist/validators/issue.js +150 -84
  187. package/dist/validators/issue.js.map +1 -1
  188. package/dist/validators/onboarding-seed.d.ts +3 -37
  189. package/dist/validators/onboarding-seed.d.ts.map +1 -1
  190. package/dist/validators/partial.d.ts +4 -0
  191. package/dist/validators/partial.d.ts.map +1 -0
  192. package/dist/validators/partial.js +35 -0
  193. package/dist/validators/partial.js.map +1 -0
  194. package/dist/validators/pipeline.d.ts +218 -3882
  195. package/dist/validators/pipeline.d.ts.map +1 -1
  196. package/dist/validators/pipeline.js +11 -11
  197. package/dist/validators/plugin.d.ts +725 -2597
  198. package/dist/validators/plugin.d.ts.map +1 -1
  199. package/dist/validators/plugin.js +38 -6
  200. package/dist/validators/plugin.js.map +1 -1
  201. package/dist/validators/plugin.test.js +54 -10
  202. package/dist/validators/plugin.test.js.map +1 -1
  203. package/dist/validators/project.d.ts +345 -2406
  204. package/dist/validators/project.d.ts.map +1 -1
  205. package/dist/validators/project.js +8 -7
  206. package/dist/validators/project.js.map +1 -1
  207. package/dist/validators/resource-memberships.d.ts +11 -27
  208. package/dist/validators/resource-memberships.d.ts.map +1 -1
  209. package/dist/validators/routine.d.ts +362 -1297
  210. package/dist/validators/routine.d.ts.map +1 -1
  211. package/dist/validators/routine.js +21 -20
  212. package/dist/validators/routine.js.map +1 -1
  213. package/dist/validators/runtime-exposure.d.ts +31 -80
  214. package/dist/validators/runtime-exposure.d.ts.map +1 -1
  215. package/dist/validators/search.d.ts +25 -93
  216. package/dist/validators/search.d.ts.map +1 -1
  217. package/dist/validators/secret.d.ts +174 -655
  218. package/dist/validators/secret.d.ts.map +1 -1
  219. package/dist/validators/secret.js +14 -14
  220. package/dist/validators/secret.js.map +1 -1
  221. package/dist/validators/sidebar-preferences.d.ts +5 -15
  222. package/dist/validators/sidebar-preferences.d.ts.map +1 -1
  223. package/dist/validators/sidebar-preferences.js +1 -1
  224. package/dist/validators/skill-policy.d.ts +184 -561
  225. package/dist/validators/skill-policy.d.ts.map +1 -1
  226. package/dist/validators/skill-policy.js +4 -4
  227. package/dist/validators/smoke-lab.d.ts +53 -37
  228. package/dist/validators/smoke-lab.d.ts.map +1 -1
  229. package/dist/validators/status-card.d.ts +139 -994
  230. package/dist/validators/status-card.d.ts.map +1 -1
  231. package/dist/validators/status-card.js +21 -21
  232. package/dist/validators/status-card.js.map +1 -1
  233. package/dist/validators/summary-slot.d.ts +28 -50
  234. package/dist/validators/summary-slot.d.ts.map +1 -1
  235. package/dist/validators/summary-slot.js +3 -3
  236. package/dist/validators/teams-catalog.d.ts +209 -472
  237. package/dist/validators/teams-catalog.d.ts.map +1 -1
  238. package/dist/validators/text.d.ts +1 -1
  239. package/dist/validators/text.d.ts.map +1 -1
  240. package/dist/validators/tool-access.d.ts +1088 -4670
  241. package/dist/validators/tool-access.d.ts.map +1 -1
  242. package/dist/validators/tool-access.js +96 -95
  243. package/dist/validators/tool-access.js.map +1 -1
  244. package/dist/validators/trust-policy.d.ts +62 -358
  245. package/dist/validators/trust-policy.d.ts.map +1 -1
  246. package/dist/validators/trust-policy.js +12 -12
  247. package/dist/validators/work-product.d.ts +110 -536
  248. package/dist/validators/work-product.d.ts.map +1 -1
  249. package/dist/validators/work-product.js +7 -6
  250. package/dist/validators/work-product.js.map +1 -1
  251. package/dist/validators/workspace-file-resource.d.ts +163 -618
  252. package/dist/validators/workspace-file-resource.d.ts.map +1 -1
  253. package/dist/validators/workspace-file-resource.js +11 -11
  254. package/dist/workspace-commands.d.ts +4 -2
  255. package/dist/workspace-commands.d.ts.map +1 -1
  256. package/dist/workspace-commands.js +9 -1
  257. package/dist/workspace-commands.js.map +1 -1
  258. package/dist/workspace-commands.test.js +45 -0
  259. package/dist/workspace-commands.test.js.map +1 -1
  260. package/dist/worktree-port-registry.d.ts +5 -0
  261. package/dist/worktree-port-registry.d.ts.map +1 -0
  262. package/dist/worktree-port-registry.js +382 -0
  263. package/dist/worktree-port-registry.js.map +1 -0
  264. package/dist/worktree-port-registry.test.d.ts +2 -0
  265. package/dist/worktree-port-registry.test.d.ts.map +1 -0
  266. package/dist/worktree-port-registry.test.js +118 -0
  267. package/dist/worktree-port-registry.test.js.map +1 -0
  268. package/dist/worktree-seed-source.d.ts +43 -0
  269. package/dist/worktree-seed-source.d.ts.map +1 -0
  270. package/dist/worktree-seed-source.js +180 -0
  271. package/dist/worktree-seed-source.js.map +1 -0
  272. package/dist/worktree-seed-source.test.d.ts +2 -0
  273. package/dist/worktree-seed-source.test.d.ts.map +1 -0
  274. package/dist/worktree-seed-source.test.js +166 -0
  275. package/dist/worktree-seed-source.test.js.map +1 -0
  276. package/package.json +6 -3
@@ -1,8 +1,31 @@
1
1
  import { z } from "zod";
2
- export declare const issueWorkProductTypeSchema: z.ZodEnum<["preview_url", "runtime_service", "pull_request", "branch", "commit", "artifact", "document"]>;
3
- export declare const issueWorkProductStatusSchema: z.ZodEnum<["active", "ready_for_review", "approved", "changes_requested", "merged", "closed", "failed", "archived", "draft"]>;
4
- export declare const issueWorkProductReviewStateSchema: z.ZodEnum<["none", "needs_board_review", "approved", "changes_requested"]>;
5
- export declare const attachmentArtifactWorkProductMetadataSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const issueWorkProductTypeSchema: z.ZodEnum<{
3
+ document: "document";
4
+ preview_url: "preview_url";
5
+ runtime_service: "runtime_service";
6
+ pull_request: "pull_request";
7
+ branch: "branch";
8
+ commit: "commit";
9
+ artifact: "artifact";
10
+ }>;
11
+ export declare const issueWorkProductStatusSchema: z.ZodEnum<{
12
+ active: "active";
13
+ archived: "archived";
14
+ failed: "failed";
15
+ closed: "closed";
16
+ changes_requested: "changes_requested";
17
+ approved: "approved";
18
+ draft: "draft";
19
+ ready_for_review: "ready_for_review";
20
+ merged: "merged";
21
+ }>;
22
+ export declare const issueWorkProductReviewStateSchema: z.ZodEnum<{
23
+ none: "none";
24
+ changes_requested: "changes_requested";
25
+ approved: "approved";
26
+ needs_board_review: "needs_board_review";
27
+ }>;
28
+ export declare const attachmentArtifactWorkProductMetadataSchema: z.ZodObject<{
6
29
  attachmentId: z.ZodString;
7
30
  contentType: z.ZodString;
8
31
  byteSize: z.ZodNumber;
@@ -10,39 +33,7 @@ export declare const attachmentArtifactWorkProductMetadataSchema: z.ZodEffects<z
10
33
  openPath: z.ZodString;
11
34
  downloadPath: z.ZodString;
12
35
  originalFilename: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13
- }, "strip", z.ZodTypeAny, {
14
- attachmentId: string;
15
- contentType: string;
16
- byteSize: number;
17
- contentPath: string;
18
- openPath: string;
19
- downloadPath: string;
20
- originalFilename?: string | null | undefined;
21
- }, {
22
- attachmentId: string;
23
- contentType: string;
24
- byteSize: number;
25
- contentPath: string;
26
- openPath: string;
27
- downloadPath: string;
28
- originalFilename?: string | null | undefined;
29
- }>, {
30
- attachmentId: string;
31
- contentType: string;
32
- byteSize: number;
33
- contentPath: string;
34
- openPath: string;
35
- downloadPath: string;
36
- originalFilename?: string | null | undefined;
37
- }, {
38
- attachmentId: string;
39
- contentType: string;
40
- byteSize: number;
41
- contentPath: string;
42
- openPath: string;
43
- downloadPath: string;
44
- originalFilename?: string | null | undefined;
45
- }>;
36
+ }, z.core.$strip>;
46
37
  export type AttachmentArtifactWorkProductMetadata = z.infer<typeof attachmentArtifactWorkProductMetadataSchema>;
47
38
  export declare const issueWorkProductMetadataSchema: z.ZodObject<{
48
39
  resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -50,120 +41,58 @@ export declare const issueWorkProductMetadataSchema: z.ZodObject<{
50
41
  issueId: z.ZodOptional<z.ZodString>;
51
42
  projectId: z.ZodOptional<z.ZodString>;
52
43
  projectName: z.ZodOptional<z.ZodString>;
53
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
54
- workspaceId: z.ZodString;
55
- relativePath: z.ZodString;
56
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
- displayPath: z.ZodString;
59
- }, "strip", z.ZodTypeAny, {
60
- kind: "workspace_file";
61
- workspaceId: string;
62
- relativePath: string;
63
- workspaceKind: "project_workspace" | "execution_workspace";
64
- displayPath: string;
65
- projectId?: string | undefined;
66
- issueId?: string | undefined;
67
- projectName?: string | undefined;
68
- line?: number | null | undefined;
69
- column?: number | null | undefined;
70
- }, {
71
- kind: "workspace_file";
72
- workspaceId: string;
73
- relativePath: string;
74
- workspaceKind: "project_workspace" | "execution_workspace";
75
- displayPath: string;
76
- projectId?: string | undefined;
77
- issueId?: string | undefined;
78
- projectName?: string | undefined;
79
- line?: number | null | undefined;
80
- column?: number | null | undefined;
81
- }>>>;
82
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
83
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
84
- kind: z.ZodLiteral<"workspace_file">;
85
- issueId: z.ZodOptional<z.ZodString>;
86
- projectId: z.ZodOptional<z.ZodString>;
87
- projectName: z.ZodOptional<z.ZodString>;
88
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
89
- workspaceId: z.ZodString;
90
- relativePath: z.ZodString;
91
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
92
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
93
- displayPath: z.ZodString;
94
- }, "strip", z.ZodTypeAny, {
95
- kind: "workspace_file";
96
- workspaceId: string;
97
- relativePath: string;
98
- workspaceKind: "project_workspace" | "execution_workspace";
99
- displayPath: string;
100
- projectId?: string | undefined;
101
- issueId?: string | undefined;
102
- projectName?: string | undefined;
103
- line?: number | null | undefined;
104
- column?: number | null | undefined;
105
- }, {
106
- kind: "workspace_file";
107
- workspaceId: string;
108
- relativePath: string;
109
- workspaceKind: "project_workspace" | "execution_workspace";
110
- displayPath: string;
111
- projectId?: string | undefined;
112
- issueId?: string | undefined;
113
- projectName?: string | undefined;
114
- line?: number | null | undefined;
115
- column?: number | null | undefined;
116
- }>>>;
117
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
118
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
119
- kind: z.ZodLiteral<"workspace_file">;
120
- issueId: z.ZodOptional<z.ZodString>;
121
- projectId: z.ZodOptional<z.ZodString>;
122
- projectName: z.ZodOptional<z.ZodString>;
123
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
44
+ workspaceKind: z.ZodEnum<{
45
+ project_workspace: "project_workspace";
46
+ execution_workspace: "execution_workspace";
47
+ }>;
124
48
  workspaceId: z.ZodString;
125
49
  relativePath: z.ZodString;
126
50
  line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
127
51
  column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
128
52
  displayPath: z.ZodString;
129
- }, "strip", z.ZodTypeAny, {
130
- kind: "workspace_file";
131
- workspaceId: string;
132
- relativePath: string;
133
- workspaceKind: "project_workspace" | "execution_workspace";
134
- displayPath: string;
135
- projectId?: string | undefined;
136
- issueId?: string | undefined;
137
- projectName?: string | undefined;
138
- line?: number | null | undefined;
139
- column?: number | null | undefined;
140
- }, {
141
- kind: "workspace_file";
142
- workspaceId: string;
143
- relativePath: string;
144
- workspaceKind: "project_workspace" | "execution_workspace";
145
- displayPath: string;
146
- projectId?: string | undefined;
147
- issueId?: string | undefined;
148
- projectName?: string | undefined;
149
- line?: number | null | undefined;
150
- column?: number | null | undefined;
151
- }>>>;
152
- }, z.ZodTypeAny, "passthrough">>;
53
+ }, z.core.$strip>>>;
54
+ }, z.core.$loose>;
153
55
  export type IssueWorkProductMetadata = z.infer<typeof issueWorkProductMetadataSchema>;
154
56
  export declare const createIssueWorkProductSchema: z.ZodObject<{
155
57
  projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
58
  executionWorkspaceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
157
59
  runtimeServiceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
- type: z.ZodEnum<["preview_url", "runtime_service", "pull_request", "branch", "commit", "artifact", "document"]>;
60
+ type: z.ZodEnum<{
61
+ document: "document";
62
+ preview_url: "preview_url";
63
+ runtime_service: "runtime_service";
64
+ pull_request: "pull_request";
65
+ branch: "branch";
66
+ commit: "commit";
67
+ artifact: "artifact";
68
+ }>;
159
69
  provider: z.ZodString;
160
70
  externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
161
71
  title: z.ZodString;
162
72
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
- status: z.ZodDefault<z.ZodEnum<["active", "ready_for_review", "approved", "changes_requested", "merged", "closed", "failed", "archived", "draft"]>>;
164
- reviewState: z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "needs_board_review", "approved", "changes_requested"]>>>;
73
+ status: z.ZodDefault<z.ZodEnum<{
74
+ active: "active";
75
+ archived: "archived";
76
+ failed: "failed";
77
+ closed: "closed";
78
+ changes_requested: "changes_requested";
79
+ approved: "approved";
80
+ draft: "draft";
81
+ ready_for_review: "ready_for_review";
82
+ merged: "merged";
83
+ }>>;
84
+ reviewState: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
85
+ none: "none";
86
+ changes_requested: "changes_requested";
87
+ approved: "approved";
88
+ needs_board_review: "needs_board_review";
89
+ }>>>;
165
90
  isPrimary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
166
- healthStatus: z.ZodDefault<z.ZodOptional<z.ZodEnum<["unknown", "healthy", "unhealthy"]>>>;
91
+ healthStatus: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
92
+ unknown: "unknown";
93
+ healthy: "healthy";
94
+ unhealthy: "unhealthy";
95
+ }>>>;
167
96
  summary: z.ZodNullable<z.ZodOptional<z.ZodString>>;
168
97
  metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{
169
98
  resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -171,224 +100,60 @@ export declare const createIssueWorkProductSchema: z.ZodObject<{
171
100
  issueId: z.ZodOptional<z.ZodString>;
172
101
  projectId: z.ZodOptional<z.ZodString>;
173
102
  projectName: z.ZodOptional<z.ZodString>;
174
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
175
- workspaceId: z.ZodString;
176
- relativePath: z.ZodString;
177
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
178
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
179
- displayPath: z.ZodString;
180
- }, "strip", z.ZodTypeAny, {
181
- kind: "workspace_file";
182
- workspaceId: string;
183
- relativePath: string;
184
- workspaceKind: "project_workspace" | "execution_workspace";
185
- displayPath: string;
186
- projectId?: string | undefined;
187
- issueId?: string | undefined;
188
- projectName?: string | undefined;
189
- line?: number | null | undefined;
190
- column?: number | null | undefined;
191
- }, {
192
- kind: "workspace_file";
193
- workspaceId: string;
194
- relativePath: string;
195
- workspaceKind: "project_workspace" | "execution_workspace";
196
- displayPath: string;
197
- projectId?: string | undefined;
198
- issueId?: string | undefined;
199
- projectName?: string | undefined;
200
- line?: number | null | undefined;
201
- column?: number | null | undefined;
202
- }>>>;
203
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
204
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
205
- kind: z.ZodLiteral<"workspace_file">;
206
- issueId: z.ZodOptional<z.ZodString>;
207
- projectId: z.ZodOptional<z.ZodString>;
208
- projectName: z.ZodOptional<z.ZodString>;
209
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
210
- workspaceId: z.ZodString;
211
- relativePath: z.ZodString;
212
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
213
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
214
- displayPath: z.ZodString;
215
- }, "strip", z.ZodTypeAny, {
216
- kind: "workspace_file";
217
- workspaceId: string;
218
- relativePath: string;
219
- workspaceKind: "project_workspace" | "execution_workspace";
220
- displayPath: string;
221
- projectId?: string | undefined;
222
- issueId?: string | undefined;
223
- projectName?: string | undefined;
224
- line?: number | null | undefined;
225
- column?: number | null | undefined;
226
- }, {
227
- kind: "workspace_file";
228
- workspaceId: string;
229
- relativePath: string;
230
- workspaceKind: "project_workspace" | "execution_workspace";
231
- displayPath: string;
232
- projectId?: string | undefined;
233
- issueId?: string | undefined;
234
- projectName?: string | undefined;
235
- line?: number | null | undefined;
236
- column?: number | null | undefined;
237
- }>>>;
238
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
239
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
240
- kind: z.ZodLiteral<"workspace_file">;
241
- issueId: z.ZodOptional<z.ZodString>;
242
- projectId: z.ZodOptional<z.ZodString>;
243
- projectName: z.ZodOptional<z.ZodString>;
244
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
103
+ workspaceKind: z.ZodEnum<{
104
+ project_workspace: "project_workspace";
105
+ execution_workspace: "execution_workspace";
106
+ }>;
245
107
  workspaceId: z.ZodString;
246
108
  relativePath: z.ZodString;
247
109
  line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
248
110
  column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
249
111
  displayPath: z.ZodString;
250
- }, "strip", z.ZodTypeAny, {
251
- kind: "workspace_file";
252
- workspaceId: string;
253
- relativePath: string;
254
- workspaceKind: "project_workspace" | "execution_workspace";
255
- displayPath: string;
256
- projectId?: string | undefined;
257
- issueId?: string | undefined;
258
- projectName?: string | undefined;
259
- line?: number | null | undefined;
260
- column?: number | null | undefined;
261
- }, {
262
- kind: "workspace_file";
263
- workspaceId: string;
264
- relativePath: string;
265
- workspaceKind: "project_workspace" | "execution_workspace";
266
- displayPath: string;
267
- projectId?: string | undefined;
268
- issueId?: string | undefined;
269
- projectName?: string | undefined;
270
- line?: number | null | undefined;
271
- column?: number | null | undefined;
272
- }>>>;
273
- }, z.ZodTypeAny, "passthrough">>>>;
112
+ }, z.core.$strip>>>;
113
+ }, z.core.$loose>>>;
274
114
  createdByRunId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
275
- }, "strip", z.ZodTypeAny, {
276
- title: string;
277
- status: "active" | "archived" | "failed" | "closed" | "changes_requested" | "approved" | "draft" | "ready_for_review" | "merged";
278
- type: "document" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact";
279
- provider: string;
280
- healthStatus: "unknown" | "healthy" | "unhealthy";
281
- isPrimary: boolean;
282
- reviewState: "none" | "changes_requested" | "approved" | "needs_board_review";
283
- projectId?: string | null | undefined;
284
- url?: string | null | undefined;
285
- metadata?: z.objectOutputType<{
286
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
287
- kind: z.ZodLiteral<"workspace_file">;
288
- issueId: z.ZodOptional<z.ZodString>;
289
- projectId: z.ZodOptional<z.ZodString>;
290
- projectName: z.ZodOptional<z.ZodString>;
291
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
292
- workspaceId: z.ZodString;
293
- relativePath: z.ZodString;
294
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
295
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
296
- displayPath: z.ZodString;
297
- }, "strip", z.ZodTypeAny, {
298
- kind: "workspace_file";
299
- workspaceId: string;
300
- relativePath: string;
301
- workspaceKind: "project_workspace" | "execution_workspace";
302
- displayPath: string;
303
- projectId?: string | undefined;
304
- issueId?: string | undefined;
305
- projectName?: string | undefined;
306
- line?: number | null | undefined;
307
- column?: number | null | undefined;
308
- }, {
309
- kind: "workspace_file";
310
- workspaceId: string;
311
- relativePath: string;
312
- workspaceKind: "project_workspace" | "execution_workspace";
313
- displayPath: string;
314
- projectId?: string | undefined;
315
- issueId?: string | undefined;
316
- projectName?: string | undefined;
317
- line?: number | null | undefined;
318
- column?: number | null | undefined;
319
- }>>>;
320
- }, z.ZodTypeAny, "passthrough"> | null | undefined;
321
- executionWorkspaceId?: string | null | undefined;
322
- summary?: string | null | undefined;
323
- externalId?: string | null | undefined;
324
- runtimeServiceId?: string | null | undefined;
325
- createdByRunId?: string | null | undefined;
326
- }, {
327
- title: string;
328
- type: "document" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact";
329
- provider: string;
330
- status?: "active" | "archived" | "failed" | "closed" | "changes_requested" | "approved" | "draft" | "ready_for_review" | "merged" | undefined;
331
- projectId?: string | null | undefined;
332
- url?: string | null | undefined;
333
- metadata?: z.objectInputType<{
334
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
335
- kind: z.ZodLiteral<"workspace_file">;
336
- issueId: z.ZodOptional<z.ZodString>;
337
- projectId: z.ZodOptional<z.ZodString>;
338
- projectName: z.ZodOptional<z.ZodString>;
339
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
340
- workspaceId: z.ZodString;
341
- relativePath: z.ZodString;
342
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
343
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
344
- displayPath: z.ZodString;
345
- }, "strip", z.ZodTypeAny, {
346
- kind: "workspace_file";
347
- workspaceId: string;
348
- relativePath: string;
349
- workspaceKind: "project_workspace" | "execution_workspace";
350
- displayPath: string;
351
- projectId?: string | undefined;
352
- issueId?: string | undefined;
353
- projectName?: string | undefined;
354
- line?: number | null | undefined;
355
- column?: number | null | undefined;
356
- }, {
357
- kind: "workspace_file";
358
- workspaceId: string;
359
- relativePath: string;
360
- workspaceKind: "project_workspace" | "execution_workspace";
361
- displayPath: string;
362
- projectId?: string | undefined;
363
- issueId?: string | undefined;
364
- projectName?: string | undefined;
365
- line?: number | null | undefined;
366
- column?: number | null | undefined;
367
- }>>>;
368
- }, z.ZodTypeAny, "passthrough"> | null | undefined;
369
- healthStatus?: "unknown" | "healthy" | "unhealthy" | undefined;
370
- executionWorkspaceId?: string | null | undefined;
371
- summary?: string | null | undefined;
372
- externalId?: string | null | undefined;
373
- runtimeServiceId?: string | null | undefined;
374
- isPrimary?: boolean | undefined;
375
- reviewState?: "none" | "changes_requested" | "approved" | "needs_board_review" | undefined;
376
- createdByRunId?: string | null | undefined;
377
- }>;
115
+ }, z.core.$strip>;
378
116
  export type CreateIssueWorkProduct = z.infer<typeof createIssueWorkProductSchema>;
379
117
  export declare const updateIssueWorkProductSchema: z.ZodObject<{
380
118
  projectId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
381
119
  executionWorkspaceId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
382
120
  runtimeServiceId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
383
- type: z.ZodOptional<z.ZodEnum<["preview_url", "runtime_service", "pull_request", "branch", "commit", "artifact", "document"]>>;
121
+ type: z.ZodOptional<z.ZodEnum<{
122
+ document: "document";
123
+ preview_url: "preview_url";
124
+ runtime_service: "runtime_service";
125
+ pull_request: "pull_request";
126
+ branch: "branch";
127
+ commit: "commit";
128
+ artifact: "artifact";
129
+ }>>;
384
130
  provider: z.ZodOptional<z.ZodString>;
385
131
  externalId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
386
132
  title: z.ZodOptional<z.ZodString>;
387
133
  url: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
388
- status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "ready_for_review", "approved", "changes_requested", "merged", "closed", "failed", "archived", "draft"]>>>;
389
- reviewState: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "needs_board_review", "approved", "changes_requested"]>>>>;
134
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
135
+ active: "active";
136
+ archived: "archived";
137
+ failed: "failed";
138
+ closed: "closed";
139
+ changes_requested: "changes_requested";
140
+ approved: "approved";
141
+ draft: "draft";
142
+ ready_for_review: "ready_for_review";
143
+ merged: "merged";
144
+ }>>>;
145
+ reviewState: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
146
+ none: "none";
147
+ changes_requested: "changes_requested";
148
+ approved: "approved";
149
+ needs_board_review: "needs_board_review";
150
+ }>>>>;
390
151
  isPrimary: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
391
- healthStatus: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["unknown", "healthy", "unhealthy"]>>>>;
152
+ healthStatus: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
153
+ unknown: "unknown";
154
+ healthy: "healthy";
155
+ unhealthy: "unhealthy";
156
+ }>>>>;
392
157
  summary: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
393
158
  metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
394
159
  resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -396,209 +161,18 @@ export declare const updateIssueWorkProductSchema: z.ZodObject<{
396
161
  issueId: z.ZodOptional<z.ZodString>;
397
162
  projectId: z.ZodOptional<z.ZodString>;
398
163
  projectName: z.ZodOptional<z.ZodString>;
399
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
400
- workspaceId: z.ZodString;
401
- relativePath: z.ZodString;
402
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
403
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
404
- displayPath: z.ZodString;
405
- }, "strip", z.ZodTypeAny, {
406
- kind: "workspace_file";
407
- workspaceId: string;
408
- relativePath: string;
409
- workspaceKind: "project_workspace" | "execution_workspace";
410
- displayPath: string;
411
- projectId?: string | undefined;
412
- issueId?: string | undefined;
413
- projectName?: string | undefined;
414
- line?: number | null | undefined;
415
- column?: number | null | undefined;
416
- }, {
417
- kind: "workspace_file";
418
- workspaceId: string;
419
- relativePath: string;
420
- workspaceKind: "project_workspace" | "execution_workspace";
421
- displayPath: string;
422
- projectId?: string | undefined;
423
- issueId?: string | undefined;
424
- projectName?: string | undefined;
425
- line?: number | null | undefined;
426
- column?: number | null | undefined;
427
- }>>>;
428
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
429
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
430
- kind: z.ZodLiteral<"workspace_file">;
431
- issueId: z.ZodOptional<z.ZodString>;
432
- projectId: z.ZodOptional<z.ZodString>;
433
- projectName: z.ZodOptional<z.ZodString>;
434
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
435
- workspaceId: z.ZodString;
436
- relativePath: z.ZodString;
437
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
- displayPath: z.ZodString;
440
- }, "strip", z.ZodTypeAny, {
441
- kind: "workspace_file";
442
- workspaceId: string;
443
- relativePath: string;
444
- workspaceKind: "project_workspace" | "execution_workspace";
445
- displayPath: string;
446
- projectId?: string | undefined;
447
- issueId?: string | undefined;
448
- projectName?: string | undefined;
449
- line?: number | null | undefined;
450
- column?: number | null | undefined;
451
- }, {
452
- kind: "workspace_file";
453
- workspaceId: string;
454
- relativePath: string;
455
- workspaceKind: "project_workspace" | "execution_workspace";
456
- displayPath: string;
457
- projectId?: string | undefined;
458
- issueId?: string | undefined;
459
- projectName?: string | undefined;
460
- line?: number | null | undefined;
461
- column?: number | null | undefined;
462
- }>>>;
463
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
464
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
465
- kind: z.ZodLiteral<"workspace_file">;
466
- issueId: z.ZodOptional<z.ZodString>;
467
- projectId: z.ZodOptional<z.ZodString>;
468
- projectName: z.ZodOptional<z.ZodString>;
469
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
164
+ workspaceKind: z.ZodEnum<{
165
+ project_workspace: "project_workspace";
166
+ execution_workspace: "execution_workspace";
167
+ }>;
470
168
  workspaceId: z.ZodString;
471
169
  relativePath: z.ZodString;
472
170
  line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
473
171
  column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
474
172
  displayPath: z.ZodString;
475
- }, "strip", z.ZodTypeAny, {
476
- kind: "workspace_file";
477
- workspaceId: string;
478
- relativePath: string;
479
- workspaceKind: "project_workspace" | "execution_workspace";
480
- displayPath: string;
481
- projectId?: string | undefined;
482
- issueId?: string | undefined;
483
- projectName?: string | undefined;
484
- line?: number | null | undefined;
485
- column?: number | null | undefined;
486
- }, {
487
- kind: "workspace_file";
488
- workspaceId: string;
489
- relativePath: string;
490
- workspaceKind: "project_workspace" | "execution_workspace";
491
- displayPath: string;
492
- projectId?: string | undefined;
493
- issueId?: string | undefined;
494
- projectName?: string | undefined;
495
- line?: number | null | undefined;
496
- column?: number | null | undefined;
497
- }>>>;
498
- }, z.ZodTypeAny, "passthrough">>>>>;
173
+ }, z.core.$strip>>>;
174
+ }, z.core.$loose>>>>;
499
175
  createdByRunId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
500
- }, "strip", z.ZodTypeAny, {
501
- title?: string | undefined;
502
- status?: "active" | "archived" | "failed" | "closed" | "changes_requested" | "approved" | "draft" | "ready_for_review" | "merged" | undefined;
503
- type?: "document" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | undefined;
504
- provider?: string | undefined;
505
- projectId?: string | null | undefined;
506
- url?: string | null | undefined;
507
- metadata?: z.objectOutputType<{
508
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
509
- kind: z.ZodLiteral<"workspace_file">;
510
- issueId: z.ZodOptional<z.ZodString>;
511
- projectId: z.ZodOptional<z.ZodString>;
512
- projectName: z.ZodOptional<z.ZodString>;
513
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
514
- workspaceId: z.ZodString;
515
- relativePath: z.ZodString;
516
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
517
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
518
- displayPath: z.ZodString;
519
- }, "strip", z.ZodTypeAny, {
520
- kind: "workspace_file";
521
- workspaceId: string;
522
- relativePath: string;
523
- workspaceKind: "project_workspace" | "execution_workspace";
524
- displayPath: string;
525
- projectId?: string | undefined;
526
- issueId?: string | undefined;
527
- projectName?: string | undefined;
528
- line?: number | null | undefined;
529
- column?: number | null | undefined;
530
- }, {
531
- kind: "workspace_file";
532
- workspaceId: string;
533
- relativePath: string;
534
- workspaceKind: "project_workspace" | "execution_workspace";
535
- displayPath: string;
536
- projectId?: string | undefined;
537
- issueId?: string | undefined;
538
- projectName?: string | undefined;
539
- line?: number | null | undefined;
540
- column?: number | null | undefined;
541
- }>>>;
542
- }, z.ZodTypeAny, "passthrough"> | null | undefined;
543
- healthStatus?: "unknown" | "healthy" | "unhealthy" | undefined;
544
- executionWorkspaceId?: string | null | undefined;
545
- summary?: string | null | undefined;
546
- externalId?: string | null | undefined;
547
- runtimeServiceId?: string | null | undefined;
548
- isPrimary?: boolean | undefined;
549
- reviewState?: "none" | "changes_requested" | "approved" | "needs_board_review" | undefined;
550
- createdByRunId?: string | null | undefined;
551
- }, {
552
- title?: string | undefined;
553
- status?: "active" | "archived" | "failed" | "closed" | "changes_requested" | "approved" | "draft" | "ready_for_review" | "merged" | undefined;
554
- type?: "document" | "preview_url" | "runtime_service" | "pull_request" | "branch" | "commit" | "artifact" | undefined;
555
- provider?: string | undefined;
556
- projectId?: string | null | undefined;
557
- url?: string | null | undefined;
558
- metadata?: z.objectInputType<{
559
- resourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
560
- kind: z.ZodLiteral<"workspace_file">;
561
- issueId: z.ZodOptional<z.ZodString>;
562
- projectId: z.ZodOptional<z.ZodString>;
563
- projectName: z.ZodOptional<z.ZodString>;
564
- workspaceKind: z.ZodEnum<["execution_workspace", "project_workspace"]>;
565
- workspaceId: z.ZodString;
566
- relativePath: z.ZodString;
567
- line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
568
- column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
569
- displayPath: z.ZodString;
570
- }, "strip", z.ZodTypeAny, {
571
- kind: "workspace_file";
572
- workspaceId: string;
573
- relativePath: string;
574
- workspaceKind: "project_workspace" | "execution_workspace";
575
- displayPath: string;
576
- projectId?: string | undefined;
577
- issueId?: string | undefined;
578
- projectName?: string | undefined;
579
- line?: number | null | undefined;
580
- column?: number | null | undefined;
581
- }, {
582
- kind: "workspace_file";
583
- workspaceId: string;
584
- relativePath: string;
585
- workspaceKind: "project_workspace" | "execution_workspace";
586
- displayPath: string;
587
- projectId?: string | undefined;
588
- issueId?: string | undefined;
589
- projectName?: string | undefined;
590
- line?: number | null | undefined;
591
- column?: number | null | undefined;
592
- }>>>;
593
- }, z.ZodTypeAny, "passthrough"> | null | undefined;
594
- healthStatus?: "unknown" | "healthy" | "unhealthy" | undefined;
595
- executionWorkspaceId?: string | null | undefined;
596
- summary?: string | null | undefined;
597
- externalId?: string | null | undefined;
598
- runtimeServiceId?: string | null | undefined;
599
- isPrimary?: boolean | undefined;
600
- reviewState?: "none" | "changes_requested" | "approved" | "needs_board_review" | undefined;
601
- createdByRunId?: string | null | undefined;
602
- }>;
176
+ }, z.core.$strip>;
603
177
  export type UpdateIssueWorkProduct = z.infer<typeof updateIssueWorkProductSchema>;
604
178
  //# sourceMappingURL=work-product.d.ts.map