@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
@@ -2,41 +2,60 @@ import { z } from "zod";
2
2
  export declare const COMPANY_ARTIFACTS_DEFAULT_LIMIT = 30;
3
3
  export declare const COMPANY_ARTIFACTS_MAX_LIMIT = 100;
4
4
  export declare const COMPANY_ARTIFACTS_MAX_QUERY_LENGTH = 160;
5
- export declare const companyArtifactSourceSchema: z.ZodEnum<["document", "attachment", "work_product"]>;
6
- export declare const companyArtifactMediaKindSchema: z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>;
7
- export declare const companyArtifactGroupBySchema: z.ZodEnum<["none", "task", "parent_task"]>;
5
+ export declare const companyArtifactSourceSchema: z.ZodEnum<{
6
+ document: "document";
7
+ work_product: "work_product";
8
+ attachment: "attachment";
9
+ }>;
10
+ export declare const companyArtifactMediaKindSchema: z.ZodEnum<{
11
+ text: "text";
12
+ document: "document";
13
+ image: "image";
14
+ empty: "empty";
15
+ file: "file";
16
+ video: "video";
17
+ }>;
18
+ export declare const companyArtifactGroupBySchema: z.ZodEnum<{
19
+ none: "none";
20
+ task: "task";
21
+ parent_task: "parent_task";
22
+ }>;
8
23
  export declare const companyArtifactsQuerySchema: z.ZodObject<{
9
- kind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["image", "video", "text", "document", "file", "all"]>>>;
24
+ kind: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25
+ text: "text";
26
+ document: "document";
27
+ image: "image";
28
+ all: "all";
29
+ file: "file";
30
+ video: "video";
31
+ }>>>;
10
32
  projectId: z.ZodOptional<z.ZodString>;
11
33
  q: z.ZodOptional<z.ZodString>;
12
- groupBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "task", "parent_task"]>>>;
34
+ groupBy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35
+ none: "none";
36
+ task: "task";
37
+ parent_task: "parent_task";
38
+ }>>>;
13
39
  groupIssueId: z.ZodOptional<z.ZodString>;
14
- starred: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>>;
15
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
40
+ starred: z.ZodDefault<z.ZodOptional<z.ZodPreprocess<z.ZodBoolean>>>;
41
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
16
42
  cursor: z.ZodOptional<z.ZodString>;
17
- }, "strip", z.ZodTypeAny, {
18
- kind: "text" | "document" | "image" | "all" | "video" | "file";
19
- limit: number;
20
- starred: boolean;
21
- groupBy: "none" | "task" | "parent_task";
22
- cursor?: string | undefined;
23
- projectId?: string | undefined;
24
- q?: string | undefined;
25
- groupIssueId?: string | undefined;
26
- }, {
27
- cursor?: string | undefined;
28
- projectId?: string | undefined;
29
- kind?: "text" | "document" | "image" | "all" | "video" | "file" | undefined;
30
- q?: string | undefined;
31
- limit?: number | undefined;
32
- starred?: unknown;
33
- groupBy?: "none" | "task" | "parent_task" | undefined;
34
- groupIssueId?: string | undefined;
35
- }>;
43
+ }, z.core.$strip>;
36
44
  export declare const companyArtifactSchema: z.ZodObject<{
37
45
  id: z.ZodString;
38
- source: z.ZodEnum<["document", "attachment", "work_product"]>;
39
- mediaKind: z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>;
46
+ source: z.ZodEnum<{
47
+ document: "document";
48
+ work_product: "work_product";
49
+ attachment: "attachment";
50
+ }>;
51
+ mediaKind: z.ZodEnum<{
52
+ text: "text";
53
+ document: "document";
54
+ image: "image";
55
+ empty: "empty";
56
+ file: "file";
57
+ video: "video";
58
+ }>;
40
59
  title: z.ZodString;
41
60
  previewText: z.ZodNullable<z.ZodString>;
42
61
  contentType: z.ZodNullable<z.ZodString>;
@@ -47,111 +66,54 @@ export declare const companyArtifactSchema: z.ZodObject<{
47
66
  id: z.ZodString;
48
67
  identifier: z.ZodString;
49
68
  title: z.ZodString;
50
- }, "strip", z.ZodTypeAny, {
51
- title: string;
52
- id: string;
53
- identifier: string;
54
- }, {
55
- title: string;
56
- id: string;
57
- identifier: string;
58
- }>;
69
+ }, z.core.$strip>;
59
70
  project: z.ZodNullable<z.ZodObject<{
60
71
  id: z.ZodString;
61
72
  name: z.ZodString;
62
- }, "strip", z.ZodTypeAny, {
63
- name: string;
64
- id: string;
65
- }, {
66
- name: string;
67
- id: string;
68
- }>>;
73
+ }, z.core.$strip>>;
69
74
  createdByAgent: z.ZodNullable<z.ZodObject<{
70
75
  id: z.ZodString;
71
76
  name: z.ZodString;
72
- }, "strip", z.ZodTypeAny, {
73
- name: string;
74
- id: string;
75
- }, {
76
- name: string;
77
- id: string;
78
- }>>;
77
+ }, z.core.$strip>>;
79
78
  updatedAt: z.ZodString;
80
79
  href: z.ZodString;
81
- }, "strip", z.ZodTypeAny, {
82
- project: {
83
- name: string;
84
- id: string;
85
- } | null;
86
- title: string;
87
- issue: {
88
- title: string;
89
- id: string;
90
- identifier: string;
91
- };
92
- id: string;
93
- source: "document" | "work_product" | "attachment";
94
- updatedAt: string;
95
- href: string;
96
- contentType: string | null;
97
- contentPath: string | null;
98
- openPath: string | null;
99
- downloadPath: string | null;
100
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
101
- previewText: string | null;
102
- createdByAgent: {
103
- name: string;
104
- id: string;
105
- } | null;
106
- }, {
107
- project: {
108
- name: string;
109
- id: string;
110
- } | null;
111
- title: string;
112
- issue: {
113
- title: string;
114
- id: string;
115
- identifier: string;
116
- };
117
- id: string;
118
- source: "document" | "work_product" | "attachment";
119
- updatedAt: string;
120
- href: string;
121
- contentType: string | null;
122
- contentPath: string | null;
123
- openPath: string | null;
124
- downloadPath: string | null;
125
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
126
- previewText: string | null;
127
- createdByAgent: {
128
- name: string;
129
- id: string;
130
- } | null;
131
- }>;
80
+ }, z.core.$strip>;
132
81
  export declare const companyArtifactGroupSchema: z.ZodObject<{
133
82
  id: z.ZodString;
134
- groupBy: z.ZodEnum<["task", "parent_task"]>;
83
+ groupBy: z.ZodEnum<{
84
+ task: "task";
85
+ parent_task: "parent_task";
86
+ }>;
135
87
  issue: z.ZodObject<{
136
88
  id: z.ZodString;
137
89
  identifier: z.ZodString;
138
90
  title: z.ZodString;
139
- }, "strip", z.ZodTypeAny, {
140
- title: string;
141
- id: string;
142
- identifier: string;
143
- }, {
144
- title: string;
145
- id: string;
146
- identifier: string;
147
- }>;
91
+ }, z.core.$strip>;
148
92
  title: z.ZodString;
149
93
  count: z.ZodNumber;
150
- mediaKinds: z.ZodArray<z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>, "many">;
94
+ mediaKinds: z.ZodArray<z.ZodEnum<{
95
+ text: "text";
96
+ document: "document";
97
+ image: "image";
98
+ empty: "empty";
99
+ file: "file";
100
+ video: "video";
101
+ }>>;
151
102
  previewArtifacts: z.ZodArray<z.ZodObject<{
152
103
  id: z.ZodString;
153
- source: z.ZodEnum<["document", "attachment", "work_product"]>;
154
- mediaKind: z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>;
104
+ source: z.ZodEnum<{
105
+ document: "document";
106
+ work_product: "work_product";
107
+ attachment: "attachment";
108
+ }>;
109
+ mediaKind: z.ZodEnum<{
110
+ text: "text";
111
+ document: "document";
112
+ image: "image";
113
+ empty: "empty";
114
+ file: "file";
115
+ video: "video";
116
+ }>;
155
117
  title: z.ZodString;
156
118
  previewText: z.ZodNullable<z.ZodString>;
157
119
  contentType: z.ZodNullable<z.ZodString>;
@@ -162,174 +124,37 @@ export declare const companyArtifactGroupSchema: z.ZodObject<{
162
124
  id: z.ZodString;
163
125
  identifier: z.ZodString;
164
126
  title: z.ZodString;
165
- }, "strip", z.ZodTypeAny, {
166
- title: string;
167
- id: string;
168
- identifier: string;
169
- }, {
170
- title: string;
171
- id: string;
172
- identifier: string;
173
- }>;
127
+ }, z.core.$strip>;
174
128
  project: z.ZodNullable<z.ZodObject<{
175
129
  id: z.ZodString;
176
130
  name: z.ZodString;
177
- }, "strip", z.ZodTypeAny, {
178
- name: string;
179
- id: string;
180
- }, {
181
- name: string;
182
- id: string;
183
- }>>;
131
+ }, z.core.$strip>>;
184
132
  createdByAgent: z.ZodNullable<z.ZodObject<{
185
133
  id: z.ZodString;
186
134
  name: z.ZodString;
187
- }, "strip", z.ZodTypeAny, {
188
- name: string;
189
- id: string;
190
- }, {
191
- name: string;
192
- id: string;
193
- }>>;
135
+ }, z.core.$strip>>;
194
136
  updatedAt: z.ZodString;
195
137
  href: z.ZodString;
196
- }, "strip", z.ZodTypeAny, {
197
- project: {
198
- name: string;
199
- id: string;
200
- } | null;
201
- title: string;
202
- issue: {
203
- title: string;
204
- id: string;
205
- identifier: string;
206
- };
207
- id: string;
208
- source: "document" | "work_product" | "attachment";
209
- updatedAt: string;
210
- href: string;
211
- contentType: string | null;
212
- contentPath: string | null;
213
- openPath: string | null;
214
- downloadPath: string | null;
215
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
216
- previewText: string | null;
217
- createdByAgent: {
218
- name: string;
219
- id: string;
220
- } | null;
221
- }, {
222
- project: {
223
- name: string;
224
- id: string;
225
- } | null;
226
- title: string;
227
- issue: {
228
- title: string;
229
- id: string;
230
- identifier: string;
231
- };
232
- id: string;
233
- source: "document" | "work_product" | "attachment";
234
- updatedAt: string;
235
- href: string;
236
- contentType: string | null;
237
- contentPath: string | null;
238
- openPath: string | null;
239
- downloadPath: string | null;
240
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
241
- previewText: string | null;
242
- createdByAgent: {
243
- name: string;
244
- id: string;
245
- } | null;
246
- }>, "many">;
138
+ }, z.core.$strip>>;
247
139
  updatedAt: z.ZodString;
248
140
  href: z.ZodString;
249
- }, "strip", z.ZodTypeAny, {
250
- title: string;
251
- issue: {
252
- title: string;
253
- id: string;
254
- identifier: string;
255
- };
256
- id: string;
257
- updatedAt: string;
258
- href: string;
259
- count: number;
260
- groupBy: "task" | "parent_task";
261
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
262
- previewArtifacts: {
263
- project: {
264
- name: string;
265
- id: string;
266
- } | null;
267
- title: string;
268
- issue: {
269
- title: string;
270
- id: string;
271
- identifier: string;
272
- };
273
- id: string;
274
- source: "document" | "work_product" | "attachment";
275
- updatedAt: string;
276
- href: string;
277
- contentType: string | null;
278
- contentPath: string | null;
279
- openPath: string | null;
280
- downloadPath: string | null;
281
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
282
- previewText: string | null;
283
- createdByAgent: {
284
- name: string;
285
- id: string;
286
- } | null;
287
- }[];
288
- }, {
289
- title: string;
290
- issue: {
291
- title: string;
292
- id: string;
293
- identifier: string;
294
- };
295
- id: string;
296
- updatedAt: string;
297
- href: string;
298
- count: number;
299
- groupBy: "task" | "parent_task";
300
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
301
- previewArtifacts: {
302
- project: {
303
- name: string;
304
- id: string;
305
- } | null;
306
- title: string;
307
- issue: {
308
- title: string;
309
- id: string;
310
- identifier: string;
311
- };
312
- id: string;
313
- source: "document" | "work_product" | "attachment";
314
- updatedAt: string;
315
- href: string;
316
- contentType: string | null;
317
- contentPath: string | null;
318
- openPath: string | null;
319
- downloadPath: string | null;
320
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
321
- previewText: string | null;
322
- createdByAgent: {
323
- name: string;
324
- id: string;
325
- } | null;
326
- }[];
327
- }>;
141
+ }, z.core.$strip>;
328
142
  export declare const companyArtifactsResponseSchema: z.ZodObject<{
329
143
  artifacts: z.ZodArray<z.ZodObject<{
330
144
  id: z.ZodString;
331
- source: z.ZodEnum<["document", "attachment", "work_product"]>;
332
- mediaKind: z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>;
145
+ source: z.ZodEnum<{
146
+ document: "document";
147
+ work_product: "work_product";
148
+ attachment: "attachment";
149
+ }>;
150
+ mediaKind: z.ZodEnum<{
151
+ text: "text";
152
+ document: "document";
153
+ image: "image";
154
+ empty: "empty";
155
+ file: "file";
156
+ video: "video";
157
+ }>;
333
158
  title: z.ZodString;
334
159
  previewText: z.ZodNullable<z.ZodString>;
335
160
  contentType: z.ZodNullable<z.ZodString>;
@@ -340,111 +165,54 @@ export declare const companyArtifactsResponseSchema: z.ZodObject<{
340
165
  id: z.ZodString;
341
166
  identifier: z.ZodString;
342
167
  title: z.ZodString;
343
- }, "strip", z.ZodTypeAny, {
344
- title: string;
345
- id: string;
346
- identifier: string;
347
- }, {
348
- title: string;
349
- id: string;
350
- identifier: string;
351
- }>;
168
+ }, z.core.$strip>;
352
169
  project: z.ZodNullable<z.ZodObject<{
353
170
  id: z.ZodString;
354
171
  name: z.ZodString;
355
- }, "strip", z.ZodTypeAny, {
356
- name: string;
357
- id: string;
358
- }, {
359
- name: string;
360
- id: string;
361
- }>>;
172
+ }, z.core.$strip>>;
362
173
  createdByAgent: z.ZodNullable<z.ZodObject<{
363
174
  id: z.ZodString;
364
175
  name: z.ZodString;
365
- }, "strip", z.ZodTypeAny, {
366
- name: string;
367
- id: string;
368
- }, {
369
- name: string;
370
- id: string;
371
- }>>;
176
+ }, z.core.$strip>>;
372
177
  updatedAt: z.ZodString;
373
178
  href: z.ZodString;
374
- }, "strip", z.ZodTypeAny, {
375
- project: {
376
- name: string;
377
- id: string;
378
- } | null;
379
- title: string;
380
- issue: {
381
- title: string;
382
- id: string;
383
- identifier: string;
384
- };
385
- id: string;
386
- source: "document" | "work_product" | "attachment";
387
- updatedAt: string;
388
- href: string;
389
- contentType: string | null;
390
- contentPath: string | null;
391
- openPath: string | null;
392
- downloadPath: string | null;
393
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
394
- previewText: string | null;
395
- createdByAgent: {
396
- name: string;
397
- id: string;
398
- } | null;
399
- }, {
400
- project: {
401
- name: string;
402
- id: string;
403
- } | null;
404
- title: string;
405
- issue: {
406
- title: string;
407
- id: string;
408
- identifier: string;
409
- };
410
- id: string;
411
- source: "document" | "work_product" | "attachment";
412
- updatedAt: string;
413
- href: string;
414
- contentType: string | null;
415
- contentPath: string | null;
416
- openPath: string | null;
417
- downloadPath: string | null;
418
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
419
- previewText: string | null;
420
- createdByAgent: {
421
- name: string;
422
- id: string;
423
- } | null;
424
- }>, "many">;
179
+ }, z.core.$strip>>;
425
180
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
426
181
  id: z.ZodString;
427
- groupBy: z.ZodEnum<["task", "parent_task"]>;
182
+ groupBy: z.ZodEnum<{
183
+ task: "task";
184
+ parent_task: "parent_task";
185
+ }>;
428
186
  issue: z.ZodObject<{
429
187
  id: z.ZodString;
430
188
  identifier: z.ZodString;
431
189
  title: z.ZodString;
432
- }, "strip", z.ZodTypeAny, {
433
- title: string;
434
- id: string;
435
- identifier: string;
436
- }, {
437
- title: string;
438
- id: string;
439
- identifier: string;
440
- }>;
190
+ }, z.core.$strip>;
441
191
  title: z.ZodString;
442
192
  count: z.ZodNumber;
443
- mediaKinds: z.ZodArray<z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>, "many">;
193
+ mediaKinds: z.ZodArray<z.ZodEnum<{
194
+ text: "text";
195
+ document: "document";
196
+ image: "image";
197
+ empty: "empty";
198
+ file: "file";
199
+ video: "video";
200
+ }>>;
444
201
  previewArtifacts: z.ZodArray<z.ZodObject<{
445
202
  id: z.ZodString;
446
- source: z.ZodEnum<["document", "attachment", "work_product"]>;
447
- mediaKind: z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>;
203
+ source: z.ZodEnum<{
204
+ document: "document";
205
+ work_product: "work_product";
206
+ attachment: "attachment";
207
+ }>;
208
+ mediaKind: z.ZodEnum<{
209
+ text: "text";
210
+ document: "document";
211
+ image: "image";
212
+ empty: "empty";
213
+ file: "file";
214
+ video: "video";
215
+ }>;
448
216
  title: z.ZodString;
449
217
  previewText: z.ZodNullable<z.ZodString>;
450
218
  contentType: z.ZodNullable<z.ZodString>;
@@ -455,192 +223,57 @@ export declare const companyArtifactsResponseSchema: z.ZodObject<{
455
223
  id: z.ZodString;
456
224
  identifier: z.ZodString;
457
225
  title: z.ZodString;
458
- }, "strip", z.ZodTypeAny, {
459
- title: string;
460
- id: string;
461
- identifier: string;
462
- }, {
463
- title: string;
464
- id: string;
465
- identifier: string;
466
- }>;
226
+ }, z.core.$strip>;
467
227
  project: z.ZodNullable<z.ZodObject<{
468
228
  id: z.ZodString;
469
229
  name: z.ZodString;
470
- }, "strip", z.ZodTypeAny, {
471
- name: string;
472
- id: string;
473
- }, {
474
- name: string;
475
- id: string;
476
- }>>;
230
+ }, z.core.$strip>>;
477
231
  createdByAgent: z.ZodNullable<z.ZodObject<{
478
232
  id: z.ZodString;
479
233
  name: z.ZodString;
480
- }, "strip", z.ZodTypeAny, {
481
- name: string;
482
- id: string;
483
- }, {
484
- name: string;
485
- id: string;
486
- }>>;
234
+ }, z.core.$strip>>;
487
235
  updatedAt: z.ZodString;
488
236
  href: z.ZodString;
489
- }, "strip", z.ZodTypeAny, {
490
- project: {
491
- name: string;
492
- id: string;
493
- } | null;
494
- title: string;
495
- issue: {
496
- title: string;
497
- id: string;
498
- identifier: string;
499
- };
500
- id: string;
501
- source: "document" | "work_product" | "attachment";
502
- updatedAt: string;
503
- href: string;
504
- contentType: string | null;
505
- contentPath: string | null;
506
- openPath: string | null;
507
- downloadPath: string | null;
508
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
509
- previewText: string | null;
510
- createdByAgent: {
511
- name: string;
512
- id: string;
513
- } | null;
514
- }, {
515
- project: {
516
- name: string;
517
- id: string;
518
- } | null;
519
- title: string;
520
- issue: {
521
- title: string;
522
- id: string;
523
- identifier: string;
524
- };
525
- id: string;
526
- source: "document" | "work_product" | "attachment";
527
- updatedAt: string;
528
- href: string;
529
- contentType: string | null;
530
- contentPath: string | null;
531
- openPath: string | null;
532
- downloadPath: string | null;
533
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
534
- previewText: string | null;
535
- createdByAgent: {
536
- name: string;
537
- id: string;
538
- } | null;
539
- }>, "many">;
237
+ }, z.core.$strip>>;
540
238
  updatedAt: z.ZodString;
541
239
  href: z.ZodString;
542
- }, "strip", z.ZodTypeAny, {
543
- title: string;
544
- issue: {
545
- title: string;
546
- id: string;
547
- identifier: string;
548
- };
549
- id: string;
550
- updatedAt: string;
551
- href: string;
552
- count: number;
553
- groupBy: "task" | "parent_task";
554
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
555
- previewArtifacts: {
556
- project: {
557
- name: string;
558
- id: string;
559
- } | null;
560
- title: string;
561
- issue: {
562
- title: string;
563
- id: string;
564
- identifier: string;
565
- };
566
- id: string;
567
- source: "document" | "work_product" | "attachment";
568
- updatedAt: string;
569
- href: string;
570
- contentType: string | null;
571
- contentPath: string | null;
572
- openPath: string | null;
573
- downloadPath: string | null;
574
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
575
- previewText: string | null;
576
- createdByAgent: {
577
- name: string;
578
- id: string;
579
- } | null;
580
- }[];
581
- }, {
582
- title: string;
583
- issue: {
584
- title: string;
585
- id: string;
586
- identifier: string;
587
- };
588
- id: string;
589
- updatedAt: string;
590
- href: string;
591
- count: number;
592
- groupBy: "task" | "parent_task";
593
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
594
- previewArtifacts: {
595
- project: {
596
- name: string;
597
- id: string;
598
- } | null;
599
- title: string;
600
- issue: {
601
- title: string;
602
- id: string;
603
- identifier: string;
604
- };
605
- id: string;
606
- source: "document" | "work_product" | "attachment";
607
- updatedAt: string;
608
- href: string;
609
- contentType: string | null;
610
- contentPath: string | null;
611
- openPath: string | null;
612
- downloadPath: string | null;
613
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
614
- previewText: string | null;
615
- createdByAgent: {
616
- name: string;
617
- id: string;
618
- } | null;
619
- }[];
620
- }>, "many">>;
240
+ }, z.core.$strip>>>;
621
241
  selectedGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
622
242
  id: z.ZodString;
623
- groupBy: z.ZodEnum<["task", "parent_task"]>;
243
+ groupBy: z.ZodEnum<{
244
+ task: "task";
245
+ parent_task: "parent_task";
246
+ }>;
624
247
  issue: z.ZodObject<{
625
248
  id: z.ZodString;
626
249
  identifier: z.ZodString;
627
250
  title: z.ZodString;
628
- }, "strip", z.ZodTypeAny, {
629
- title: string;
630
- id: string;
631
- identifier: string;
632
- }, {
633
- title: string;
634
- id: string;
635
- identifier: string;
636
- }>;
251
+ }, z.core.$strip>;
637
252
  title: z.ZodString;
638
253
  count: z.ZodNumber;
639
- mediaKinds: z.ZodArray<z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>, "many">;
254
+ mediaKinds: z.ZodArray<z.ZodEnum<{
255
+ text: "text";
256
+ document: "document";
257
+ image: "image";
258
+ empty: "empty";
259
+ file: "file";
260
+ video: "video";
261
+ }>>;
640
262
  previewArtifacts: z.ZodArray<z.ZodObject<{
641
263
  id: z.ZodString;
642
- source: z.ZodEnum<["document", "attachment", "work_product"]>;
643
- mediaKind: z.ZodEnum<["image", "video", "text", "document", "file", "empty"]>;
264
+ source: z.ZodEnum<{
265
+ document: "document";
266
+ work_product: "work_product";
267
+ attachment: "attachment";
268
+ }>;
269
+ mediaKind: z.ZodEnum<{
270
+ text: "text";
271
+ document: "document";
272
+ image: "image";
273
+ empty: "empty";
274
+ file: "file";
275
+ video: "video";
276
+ }>;
644
277
  title: z.ZodString;
645
278
  previewText: z.ZodNullable<z.ZodString>;
646
279
  contentType: z.ZodNullable<z.ZodString>;
@@ -651,386 +284,22 @@ export declare const companyArtifactsResponseSchema: z.ZodObject<{
651
284
  id: z.ZodString;
652
285
  identifier: z.ZodString;
653
286
  title: z.ZodString;
654
- }, "strip", z.ZodTypeAny, {
655
- title: string;
656
- id: string;
657
- identifier: string;
658
- }, {
659
- title: string;
660
- id: string;
661
- identifier: string;
662
- }>;
287
+ }, z.core.$strip>;
663
288
  project: z.ZodNullable<z.ZodObject<{
664
289
  id: z.ZodString;
665
290
  name: z.ZodString;
666
- }, "strip", z.ZodTypeAny, {
667
- name: string;
668
- id: string;
669
- }, {
670
- name: string;
671
- id: string;
672
- }>>;
291
+ }, z.core.$strip>>;
673
292
  createdByAgent: z.ZodNullable<z.ZodObject<{
674
293
  id: z.ZodString;
675
294
  name: z.ZodString;
676
- }, "strip", z.ZodTypeAny, {
677
- name: string;
678
- id: string;
679
- }, {
680
- name: string;
681
- id: string;
682
- }>>;
295
+ }, z.core.$strip>>;
683
296
  updatedAt: z.ZodString;
684
297
  href: z.ZodString;
685
- }, "strip", z.ZodTypeAny, {
686
- project: {
687
- name: string;
688
- id: string;
689
- } | null;
690
- title: string;
691
- issue: {
692
- title: string;
693
- id: string;
694
- identifier: string;
695
- };
696
- id: string;
697
- source: "document" | "work_product" | "attachment";
698
- updatedAt: string;
699
- href: string;
700
- contentType: string | null;
701
- contentPath: string | null;
702
- openPath: string | null;
703
- downloadPath: string | null;
704
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
705
- previewText: string | null;
706
- createdByAgent: {
707
- name: string;
708
- id: string;
709
- } | null;
710
- }, {
711
- project: {
712
- name: string;
713
- id: string;
714
- } | null;
715
- title: string;
716
- issue: {
717
- title: string;
718
- id: string;
719
- identifier: string;
720
- };
721
- id: string;
722
- source: "document" | "work_product" | "attachment";
723
- updatedAt: string;
724
- href: string;
725
- contentType: string | null;
726
- contentPath: string | null;
727
- openPath: string | null;
728
- downloadPath: string | null;
729
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
730
- previewText: string | null;
731
- createdByAgent: {
732
- name: string;
733
- id: string;
734
- } | null;
735
- }>, "many">;
298
+ }, z.core.$strip>>;
736
299
  updatedAt: z.ZodString;
737
300
  href: z.ZodString;
738
- }, "strip", z.ZodTypeAny, {
739
- title: string;
740
- issue: {
741
- title: string;
742
- id: string;
743
- identifier: string;
744
- };
745
- id: string;
746
- updatedAt: string;
747
- href: string;
748
- count: number;
749
- groupBy: "task" | "parent_task";
750
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
751
- previewArtifacts: {
752
- project: {
753
- name: string;
754
- id: string;
755
- } | null;
756
- title: string;
757
- issue: {
758
- title: string;
759
- id: string;
760
- identifier: string;
761
- };
762
- id: string;
763
- source: "document" | "work_product" | "attachment";
764
- updatedAt: string;
765
- href: string;
766
- contentType: string | null;
767
- contentPath: string | null;
768
- openPath: string | null;
769
- downloadPath: string | null;
770
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
771
- previewText: string | null;
772
- createdByAgent: {
773
- name: string;
774
- id: string;
775
- } | null;
776
- }[];
777
- }, {
778
- title: string;
779
- issue: {
780
- title: string;
781
- id: string;
782
- identifier: string;
783
- };
784
- id: string;
785
- updatedAt: string;
786
- href: string;
787
- count: number;
788
- groupBy: "task" | "parent_task";
789
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
790
- previewArtifacts: {
791
- project: {
792
- name: string;
793
- id: string;
794
- } | null;
795
- title: string;
796
- issue: {
797
- title: string;
798
- id: string;
799
- identifier: string;
800
- };
801
- id: string;
802
- source: "document" | "work_product" | "attachment";
803
- updatedAt: string;
804
- href: string;
805
- contentType: string | null;
806
- contentPath: string | null;
807
- openPath: string | null;
808
- downloadPath: string | null;
809
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
810
- previewText: string | null;
811
- createdByAgent: {
812
- name: string;
813
- id: string;
814
- } | null;
815
- }[];
816
- }>>>;
301
+ }, z.core.$strip>>>;
817
302
  nextCursor: z.ZodNullable<z.ZodString>;
818
- }, "strip", z.ZodTypeAny, {
819
- artifacts: {
820
- project: {
821
- name: string;
822
- id: string;
823
- } | null;
824
- title: string;
825
- issue: {
826
- title: string;
827
- id: string;
828
- identifier: string;
829
- };
830
- id: string;
831
- source: "document" | "work_product" | "attachment";
832
- updatedAt: string;
833
- href: string;
834
- contentType: string | null;
835
- contentPath: string | null;
836
- openPath: string | null;
837
- downloadPath: string | null;
838
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
839
- previewText: string | null;
840
- createdByAgent: {
841
- name: string;
842
- id: string;
843
- } | null;
844
- }[];
845
- nextCursor: string | null;
846
- groups?: {
847
- title: string;
848
- issue: {
849
- title: string;
850
- id: string;
851
- identifier: string;
852
- };
853
- id: string;
854
- updatedAt: string;
855
- href: string;
856
- count: number;
857
- groupBy: "task" | "parent_task";
858
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
859
- previewArtifacts: {
860
- project: {
861
- name: string;
862
- id: string;
863
- } | null;
864
- title: string;
865
- issue: {
866
- title: string;
867
- id: string;
868
- identifier: string;
869
- };
870
- id: string;
871
- source: "document" | "work_product" | "attachment";
872
- updatedAt: string;
873
- href: string;
874
- contentType: string | null;
875
- contentPath: string | null;
876
- openPath: string | null;
877
- downloadPath: string | null;
878
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
879
- previewText: string | null;
880
- createdByAgent: {
881
- name: string;
882
- id: string;
883
- } | null;
884
- }[];
885
- }[] | undefined;
886
- selectedGroup?: {
887
- title: string;
888
- issue: {
889
- title: string;
890
- id: string;
891
- identifier: string;
892
- };
893
- id: string;
894
- updatedAt: string;
895
- href: string;
896
- count: number;
897
- groupBy: "task" | "parent_task";
898
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
899
- previewArtifacts: {
900
- project: {
901
- name: string;
902
- id: string;
903
- } | null;
904
- title: string;
905
- issue: {
906
- title: string;
907
- id: string;
908
- identifier: string;
909
- };
910
- id: string;
911
- source: "document" | "work_product" | "attachment";
912
- updatedAt: string;
913
- href: string;
914
- contentType: string | null;
915
- contentPath: string | null;
916
- openPath: string | null;
917
- downloadPath: string | null;
918
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
919
- previewText: string | null;
920
- createdByAgent: {
921
- name: string;
922
- id: string;
923
- } | null;
924
- }[];
925
- } | null | undefined;
926
- }, {
927
- artifacts: {
928
- project: {
929
- name: string;
930
- id: string;
931
- } | null;
932
- title: string;
933
- issue: {
934
- title: string;
935
- id: string;
936
- identifier: string;
937
- };
938
- id: string;
939
- source: "document" | "work_product" | "attachment";
940
- updatedAt: string;
941
- href: string;
942
- contentType: string | null;
943
- contentPath: string | null;
944
- openPath: string | null;
945
- downloadPath: string | null;
946
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
947
- previewText: string | null;
948
- createdByAgent: {
949
- name: string;
950
- id: string;
951
- } | null;
952
- }[];
953
- nextCursor: string | null;
954
- groups?: {
955
- title: string;
956
- issue: {
957
- title: string;
958
- id: string;
959
- identifier: string;
960
- };
961
- id: string;
962
- updatedAt: string;
963
- href: string;
964
- count: number;
965
- groupBy: "task" | "parent_task";
966
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
967
- previewArtifacts: {
968
- project: {
969
- name: string;
970
- id: string;
971
- } | null;
972
- title: string;
973
- issue: {
974
- title: string;
975
- id: string;
976
- identifier: string;
977
- };
978
- id: string;
979
- source: "document" | "work_product" | "attachment";
980
- updatedAt: string;
981
- href: string;
982
- contentType: string | null;
983
- contentPath: string | null;
984
- openPath: string | null;
985
- downloadPath: string | null;
986
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
987
- previewText: string | null;
988
- createdByAgent: {
989
- name: string;
990
- id: string;
991
- } | null;
992
- }[];
993
- }[] | undefined;
994
- selectedGroup?: {
995
- title: string;
996
- issue: {
997
- title: string;
998
- id: string;
999
- identifier: string;
1000
- };
1001
- id: string;
1002
- updatedAt: string;
1003
- href: string;
1004
- count: number;
1005
- groupBy: "task" | "parent_task";
1006
- mediaKinds: ("text" | "document" | "image" | "empty" | "video" | "file")[];
1007
- previewArtifacts: {
1008
- project: {
1009
- name: string;
1010
- id: string;
1011
- } | null;
1012
- title: string;
1013
- issue: {
1014
- title: string;
1015
- id: string;
1016
- identifier: string;
1017
- };
1018
- id: string;
1019
- source: "document" | "work_product" | "attachment";
1020
- updatedAt: string;
1021
- href: string;
1022
- contentType: string | null;
1023
- contentPath: string | null;
1024
- openPath: string | null;
1025
- downloadPath: string | null;
1026
- mediaKind: "text" | "document" | "image" | "empty" | "video" | "file";
1027
- previewText: string | null;
1028
- createdByAgent: {
1029
- name: string;
1030
- id: string;
1031
- } | null;
1032
- }[];
1033
- } | null | undefined;
1034
- }>;
303
+ }, z.core.$strip>;
1035
304
  export type CompanyArtifactsQuery = z.infer<typeof companyArtifactsQuerySchema>;
1036
305
  //# sourceMappingURL=artifact.d.ts.map