@paperclipai/shared 2026.824.1 → 2026.825.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +36 -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,478 +2,237 @@ import { z } from "zod";
2
2
  export declare const envBindingPlainSchema: z.ZodObject<{
3
3
  type: z.ZodLiteral<"plain">;
4
4
  value: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- value: string;
7
- type: "plain";
8
- }, {
9
- value: string;
10
- type: "plain";
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export declare const envBindingSecretRefSchema: z.ZodObject<{
13
7
  type: z.ZodLiteral<"secret_ref">;
14
8
  secretId: z.ZodString;
15
- version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
16
- projectionClass: z.ZodOptional<z.ZodEnum<["unclassified", "class_3_static_lease"]>>;
9
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
10
+ projectionClass: z.ZodOptional<z.ZodEnum<{
11
+ unclassified: "unclassified";
12
+ class_3_static_lease: "class_3_static_lease";
13
+ }>>;
17
14
  projectionAllowlistKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18
- }, "strip", z.ZodTypeAny, {
19
- type: "secret_ref";
20
- secretId: string;
21
- version?: number | "latest" | undefined;
22
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
23
- projectionAllowlistKey?: string | null | undefined;
24
- }, {
25
- type: "secret_ref";
26
- secretId: string;
27
- version?: number | "latest" | undefined;
28
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
29
- projectionAllowlistKey?: string | null | undefined;
30
- }>;
15
+ }, z.core.$strip>;
31
16
  export declare const envBindingUserSecretRefSchema: z.ZodObject<{
32
17
  type: z.ZodLiteral<"user_secret_ref">;
33
18
  key: z.ZodString;
34
- version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
19
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
35
20
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36
21
  allowMissingOverride: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
37
- }, "strip", z.ZodTypeAny, {
38
- key: string;
39
- required: boolean;
40
- type: "user_secret_ref";
41
- allowMissingOverride: boolean;
42
- version?: number | "latest" | undefined;
43
- }, {
44
- key: string;
45
- type: "user_secret_ref";
46
- required?: boolean | undefined;
47
- version?: number | "latest" | undefined;
48
- allowMissingOverride?: boolean | undefined;
49
- }>;
50
- export declare const envBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
22
+ }, z.core.$strip>;
23
+ export declare const envBindingSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
51
24
  type: z.ZodLiteral<"plain">;
52
25
  value: z.ZodString;
53
- }, "strip", z.ZodTypeAny, {
54
- value: string;
55
- type: "plain";
56
- }, {
57
- value: string;
58
- type: "plain";
59
- }>, z.ZodObject<{
26
+ }, z.core.$strip>, z.ZodObject<{
60
27
  type: z.ZodLiteral<"secret_ref">;
61
28
  secretId: z.ZodString;
62
- version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
63
- projectionClass: z.ZodOptional<z.ZodEnum<["unclassified", "class_3_static_lease"]>>;
29
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
30
+ projectionClass: z.ZodOptional<z.ZodEnum<{
31
+ unclassified: "unclassified";
32
+ class_3_static_lease: "class_3_static_lease";
33
+ }>>;
64
34
  projectionAllowlistKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
65
- }, "strip", z.ZodTypeAny, {
66
- type: "secret_ref";
67
- secretId: string;
68
- version?: number | "latest" | undefined;
69
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
70
- projectionAllowlistKey?: string | null | undefined;
71
- }, {
72
- type: "secret_ref";
73
- secretId: string;
74
- version?: number | "latest" | undefined;
75
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
76
- projectionAllowlistKey?: string | null | undefined;
77
- }>, z.ZodObject<{
35
+ }, z.core.$strip>, z.ZodObject<{
78
36
  type: z.ZodLiteral<"user_secret_ref">;
79
37
  key: z.ZodString;
80
- version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
38
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
81
39
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
82
40
  allowMissingOverride: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
83
- }, "strip", z.ZodTypeAny, {
84
- key: string;
85
- required: boolean;
86
- type: "user_secret_ref";
87
- allowMissingOverride: boolean;
88
- version?: number | "latest" | undefined;
89
- }, {
90
- key: string;
91
- type: "user_secret_ref";
92
- required?: boolean | undefined;
93
- version?: number | "latest" | undefined;
94
- allowMissingOverride?: boolean | undefined;
95
- }>]>;
96
- export declare const envConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
41
+ }, z.core.$strip>]>;
42
+ export declare const envConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
97
43
  type: z.ZodLiteral<"plain">;
98
44
  value: z.ZodString;
99
- }, "strip", z.ZodTypeAny, {
100
- value: string;
101
- type: "plain";
102
- }, {
103
- value: string;
104
- type: "plain";
105
- }>, z.ZodObject<{
45
+ }, z.core.$strip>, z.ZodObject<{
106
46
  type: z.ZodLiteral<"secret_ref">;
107
47
  secretId: z.ZodString;
108
- version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
109
- projectionClass: z.ZodOptional<z.ZodEnum<["unclassified", "class_3_static_lease"]>>;
48
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
49
+ projectionClass: z.ZodOptional<z.ZodEnum<{
50
+ unclassified: "unclassified";
51
+ class_3_static_lease: "class_3_static_lease";
52
+ }>>;
110
53
  projectionAllowlistKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
111
- }, "strip", z.ZodTypeAny, {
112
- type: "secret_ref";
113
- secretId: string;
114
- version?: number | "latest" | undefined;
115
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
116
- projectionAllowlistKey?: string | null | undefined;
117
- }, {
118
- type: "secret_ref";
119
- secretId: string;
120
- version?: number | "latest" | undefined;
121
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
122
- projectionAllowlistKey?: string | null | undefined;
123
- }>, z.ZodObject<{
54
+ }, z.core.$strip>, z.ZodObject<{
124
55
  type: z.ZodLiteral<"user_secret_ref">;
125
56
  key: z.ZodString;
126
- version: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
57
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
127
58
  required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
128
59
  allowMissingOverride: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
129
- }, "strip", z.ZodTypeAny, {
130
- key: string;
131
- required: boolean;
132
- type: "user_secret_ref";
133
- allowMissingOverride: boolean;
134
- version?: number | "latest" | undefined;
135
- }, {
136
- key: string;
137
- type: "user_secret_ref";
138
- required?: boolean | undefined;
139
- version?: number | "latest" | undefined;
140
- allowMissingOverride?: boolean | undefined;
141
- }>]>>;
142
- export declare const createSecretSchema: z.ZodEffects<z.ZodObject<{
60
+ }, z.core.$strip>]>>;
61
+ export declare const createSecretSchema: z.ZodObject<{
143
62
  name: z.ZodString;
144
63
  key: z.ZodOptional<z.ZodString>;
145
- provider: z.ZodOptional<z.ZodEnum<["local_encrypted", "aws_secrets_manager", "gcp_secret_manager", "vault"]>>;
64
+ provider: z.ZodOptional<z.ZodEnum<{
65
+ local_encrypted: "local_encrypted";
66
+ aws_secrets_manager: "aws_secrets_manager";
67
+ gcp_secret_manager: "gcp_secret_manager";
68
+ vault: "vault";
69
+ }>>;
146
70
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
- managedMode: z.ZodOptional<z.ZodEnum<["paperclip_managed", "external_reference"]>>;
71
+ managedMode: z.ZodOptional<z.ZodEnum<{
72
+ paperclip_managed: "paperclip_managed";
73
+ external_reference: "external_reference";
74
+ }>>;
148
75
  value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
76
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
77
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
78
  providerMetadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
152
79
  providerVersionRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
- }, "strip", z.ZodTypeAny, {
154
- name: string;
155
- description?: string | null | undefined;
156
- key?: string | undefined;
157
- value?: string | null | undefined;
158
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
159
- providerConfigId?: string | null | undefined;
160
- managedMode?: "paperclip_managed" | "external_reference" | undefined;
161
- externalRef?: string | null | undefined;
162
- providerMetadata?: Record<string, unknown> | null | undefined;
163
- providerVersionRef?: string | null | undefined;
164
- }, {
165
- name: string;
166
- description?: string | null | undefined;
167
- key?: string | undefined;
168
- value?: string | null | undefined;
169
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
170
- providerConfigId?: string | null | undefined;
171
- managedMode?: "paperclip_managed" | "external_reference" | undefined;
172
- externalRef?: string | null | undefined;
173
- providerMetadata?: Record<string, unknown> | null | undefined;
174
- providerVersionRef?: string | null | undefined;
175
- }>, {
176
- name: string;
177
- description?: string | null | undefined;
178
- key?: string | undefined;
179
- value?: string | null | undefined;
180
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
181
- providerConfigId?: string | null | undefined;
182
- managedMode?: "paperclip_managed" | "external_reference" | undefined;
183
- externalRef?: string | null | undefined;
184
- providerMetadata?: Record<string, unknown> | null | undefined;
185
- providerVersionRef?: string | null | undefined;
186
- }, {
187
- name: string;
188
- description?: string | null | undefined;
189
- key?: string | undefined;
190
- value?: string | null | undefined;
191
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
192
- providerConfigId?: string | null | undefined;
193
- managedMode?: "paperclip_managed" | "external_reference" | undefined;
194
- externalRef?: string | null | undefined;
195
- providerMetadata?: Record<string, unknown> | null | undefined;
196
- providerVersionRef?: string | null | undefined;
197
- }>;
80
+ }, z.core.$strip>;
198
81
  export type CreateSecret = z.infer<typeof createSecretSchema>;
199
- export declare const rotateSecretSchema: z.ZodEffects<z.ZodObject<{
82
+ export declare const rotateSecretSchema: z.ZodObject<{
200
83
  value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
201
84
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
202
85
  providerVersionRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
203
86
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
204
- }, "strip", z.ZodTypeAny, {
205
- value?: string | null | undefined;
206
- providerConfigId?: string | null | undefined;
207
- externalRef?: string | null | undefined;
208
- providerVersionRef?: string | null | undefined;
209
- }, {
210
- value?: string | null | undefined;
211
- providerConfigId?: string | null | undefined;
212
- externalRef?: string | null | undefined;
213
- providerVersionRef?: string | null | undefined;
214
- }>, {
215
- value?: string | null | undefined;
216
- providerConfigId?: string | null | undefined;
217
- externalRef?: string | null | undefined;
218
- providerVersionRef?: string | null | undefined;
219
- }, {
220
- value?: string | null | undefined;
221
- providerConfigId?: string | null | undefined;
222
- externalRef?: string | null | undefined;
223
- providerVersionRef?: string | null | undefined;
224
- }>;
87
+ }, z.core.$strip>;
225
88
  export type RotateSecret = z.infer<typeof rotateSecretSchema>;
226
89
  export declare const updateSecretSchema: z.ZodObject<{
227
90
  name: z.ZodOptional<z.ZodString>;
228
91
  key: z.ZodOptional<z.ZodString>;
229
- status: z.ZodOptional<z.ZodEnum<["active", "disabled", "archived", "deleted"]>>;
92
+ status: z.ZodOptional<z.ZodEnum<{
93
+ active: "active";
94
+ archived: "archived";
95
+ disabled: "disabled";
96
+ deleted: "deleted";
97
+ }>>;
230
98
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
231
99
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
232
100
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
101
  providerMetadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
234
- }, "strip", z.ZodTypeAny, {
235
- description?: string | null | undefined;
236
- key?: string | undefined;
237
- status?: "active" | "archived" | "disabled" | "deleted" | undefined;
238
- name?: string | undefined;
239
- providerConfigId?: string | null | undefined;
240
- externalRef?: string | null | undefined;
241
- providerMetadata?: Record<string, unknown> | null | undefined;
242
- }, {
243
- description?: string | null | undefined;
244
- key?: string | undefined;
245
- status?: "active" | "archived" | "disabled" | "deleted" | undefined;
246
- name?: string | undefined;
247
- providerConfigId?: string | null | undefined;
248
- externalRef?: string | null | undefined;
249
- providerMetadata?: Record<string, unknown> | null | undefined;
250
- }>;
102
+ }, z.core.$strip>;
251
103
  export type UpdateSecret = z.infer<typeof updateSecretSchema>;
252
104
  export declare const secretBindingTargetSchema: z.ZodObject<{
253
- targetType: z.ZodEnum<["agent", "project", "environment", "routine", "plugin", "issue", "run", "tool_connection", "system"]>;
105
+ targetType: z.ZodEnum<{
106
+ project: "project";
107
+ agent: "agent";
108
+ system: "system";
109
+ plugin: "plugin";
110
+ environment: "environment";
111
+ routine: "routine";
112
+ issue: "issue";
113
+ run: "run";
114
+ tool_connection: "tool_connection";
115
+ }>;
254
116
  targetId: z.ZodString;
255
117
  configPath: z.ZodString;
256
- }, "strip", z.ZodTypeAny, {
257
- targetType: "project" | "agent" | "system" | "plugin" | "environment" | "routine" | "issue" | "run" | "tool_connection";
258
- targetId: string;
259
- configPath: string;
260
- }, {
261
- targetType: "project" | "agent" | "system" | "plugin" | "environment" | "routine" | "issue" | "run" | "tool_connection";
262
- targetId: string;
263
- configPath: string;
264
- }>;
118
+ }, z.core.$strip>;
265
119
  export declare const createSecretBindingSchema: z.ZodObject<{
266
- targetType: z.ZodEnum<["agent", "project", "environment", "routine", "plugin", "issue", "run", "tool_connection", "system"]>;
120
+ targetType: z.ZodEnum<{
121
+ project: "project";
122
+ agent: "agent";
123
+ system: "system";
124
+ plugin: "plugin";
125
+ environment: "environment";
126
+ routine: "routine";
127
+ issue: "issue";
128
+ run: "run";
129
+ tool_connection: "tool_connection";
130
+ }>;
267
131
  targetId: z.ZodString;
268
132
  configPath: z.ZodString;
269
- } & {
270
133
  secretId: z.ZodString;
271
- versionSelector: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
134
+ versionSelector: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
272
135
  required: z.ZodDefault<z.ZodBoolean>;
273
136
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
274
- projectionClass: z.ZodOptional<z.ZodEnum<["unclassified", "class_3_static_lease"]>>;
137
+ projectionClass: z.ZodOptional<z.ZodEnum<{
138
+ unclassified: "unclassified";
139
+ class_3_static_lease: "class_3_static_lease";
140
+ }>>;
275
141
  projectionAllowlistKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
276
- }, "strip", z.ZodTypeAny, {
277
- required: boolean;
278
- secretId: string;
279
- targetType: "project" | "agent" | "system" | "plugin" | "environment" | "routine" | "issue" | "run" | "tool_connection";
280
- targetId: string;
281
- configPath: string;
282
- versionSelector: number | "latest";
283
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
284
- projectionAllowlistKey?: string | null | undefined;
285
- label?: string | null | undefined;
286
- }, {
287
- secretId: string;
288
- targetType: "project" | "agent" | "system" | "plugin" | "environment" | "routine" | "issue" | "run" | "tool_connection";
289
- targetId: string;
290
- configPath: string;
291
- required?: boolean | undefined;
292
- projectionClass?: "unclassified" | "class_3_static_lease" | undefined;
293
- projectionAllowlistKey?: string | null | undefined;
294
- versionSelector?: number | "latest" | undefined;
295
- label?: string | null | undefined;
296
- }>;
142
+ }, z.core.$strip>;
297
143
  export type CreateSecretBinding = z.infer<typeof createSecretBindingSchema>;
298
144
  export declare const createUserSecretDefinitionSchema: z.ZodObject<{
299
145
  key: z.ZodString;
300
146
  name: z.ZodString;
301
147
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
302
- status: z.ZodOptional<z.ZodEnum<["active", "disabled", "archived"]>>;
303
- provider: z.ZodOptional<z.ZodEnum<["local_encrypted", "aws_secrets_manager", "gcp_secret_manager", "vault"]>>;
148
+ status: z.ZodOptional<z.ZodEnum<{
149
+ active: "active";
150
+ archived: "archived";
151
+ disabled: "disabled";
152
+ }>>;
153
+ provider: z.ZodOptional<z.ZodEnum<{
154
+ local_encrypted: "local_encrypted";
155
+ aws_secrets_manager: "aws_secrets_manager";
156
+ gcp_secret_manager: "gcp_secret_manager";
157
+ vault: "vault";
158
+ }>>;
304
159
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
305
- managedMode: z.ZodOptional<z.ZodEnum<["paperclip_managed", "external_reference"]>>;
160
+ managedMode: z.ZodOptional<z.ZodEnum<{
161
+ paperclip_managed: "paperclip_managed";
162
+ external_reference: "external_reference";
163
+ }>>;
306
164
  providerMetadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
307
165
  usageGuidance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
308
- }, "strip", z.ZodTypeAny, {
309
- key: string;
310
- name: string;
311
- description?: string | null | undefined;
312
- status?: "active" | "archived" | "disabled" | undefined;
313
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
314
- providerConfigId?: string | null | undefined;
315
- managedMode?: "paperclip_managed" | "external_reference" | undefined;
316
- providerMetadata?: Record<string, unknown> | null | undefined;
317
- usageGuidance?: string | null | undefined;
318
- }, {
319
- key: string;
320
- name: string;
321
- description?: string | null | undefined;
322
- status?: "active" | "archived" | "disabled" | undefined;
323
- provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined;
324
- providerConfigId?: string | null | undefined;
325
- managedMode?: "paperclip_managed" | "external_reference" | undefined;
326
- providerMetadata?: Record<string, unknown> | null | undefined;
327
- usageGuidance?: string | null | undefined;
328
- }>;
166
+ }, z.core.$strip>;
329
167
  export type CreateUserSecretDefinition = z.infer<typeof createUserSecretDefinitionSchema>;
330
168
  export declare const updateUserSecretDefinitionSchema: z.ZodObject<{
331
169
  name: z.ZodOptional<z.ZodString>;
332
170
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
333
- status: z.ZodOptional<z.ZodEnum<["active", "disabled", "archived", "deleted"]>>;
171
+ status: z.ZodOptional<z.ZodEnum<{
172
+ active: "active";
173
+ archived: "archived";
174
+ disabled: "disabled";
175
+ deleted: "deleted";
176
+ }>>;
334
177
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
335
178
  providerMetadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
336
179
  usageGuidance: z.ZodNullable<z.ZodOptional<z.ZodString>>;
337
- }, "strip", z.ZodTypeAny, {
338
- description?: string | null | undefined;
339
- status?: "active" | "archived" | "disabled" | "deleted" | undefined;
340
- name?: string | undefined;
341
- providerConfigId?: string | null | undefined;
342
- providerMetadata?: Record<string, unknown> | null | undefined;
343
- usageGuidance?: string | null | undefined;
344
- }, {
345
- description?: string | null | undefined;
346
- status?: "active" | "archived" | "disabled" | "deleted" | undefined;
347
- name?: string | undefined;
348
- providerConfigId?: string | null | undefined;
349
- providerMetadata?: Record<string, unknown> | null | undefined;
350
- usageGuidance?: string | null | undefined;
351
- }>;
180
+ }, z.core.$strip>;
352
181
  export type UpdateUserSecretDefinition = z.infer<typeof updateUserSecretDefinitionSchema>;
353
- export declare const createUserSecretValueSchema: z.ZodEffects<z.ZodObject<{
182
+ export declare const createUserSecretValueSchema: z.ZodObject<{
354
183
  definitionKey: z.ZodOptional<z.ZodString>;
355
184
  definitionId: z.ZodOptional<z.ZodString>;
356
185
  value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
357
186
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
358
187
  providerVersionRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
359
188
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
360
- }, "strip", z.ZodTypeAny, {
361
- value?: string | null | undefined;
362
- providerConfigId?: string | null | undefined;
363
- externalRef?: string | null | undefined;
364
- providerVersionRef?: string | null | undefined;
365
- definitionKey?: string | undefined;
366
- definitionId?: string | undefined;
367
- }, {
368
- value?: string | null | undefined;
369
- providerConfigId?: string | null | undefined;
370
- externalRef?: string | null | undefined;
371
- providerVersionRef?: string | null | undefined;
372
- definitionKey?: string | undefined;
373
- definitionId?: string | undefined;
374
- }>, {
375
- value?: string | null | undefined;
376
- providerConfigId?: string | null | undefined;
377
- externalRef?: string | null | undefined;
378
- providerVersionRef?: string | null | undefined;
379
- definitionKey?: string | undefined;
380
- definitionId?: string | undefined;
381
- }, {
382
- value?: string | null | undefined;
383
- providerConfigId?: string | null | undefined;
384
- externalRef?: string | null | undefined;
385
- providerVersionRef?: string | null | undefined;
386
- definitionKey?: string | undefined;
387
- definitionId?: string | undefined;
388
- }>;
189
+ }, z.core.$strip>;
389
190
  export type CreateUserSecretValue = z.infer<typeof createUserSecretValueSchema>;
390
191
  export declare const updateUserSecretValueSchema: z.ZodObject<{
391
- status: z.ZodOptional<z.ZodEnum<["active", "disabled", "archived", "deleted"]>>;
192
+ status: z.ZodOptional<z.ZodEnum<{
193
+ active: "active";
194
+ archived: "archived";
195
+ disabled: "disabled";
196
+ deleted: "deleted";
197
+ }>>;
392
198
  value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
393
199
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
394
200
  providerVersionRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
395
201
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
396
- }, "strip", z.ZodTypeAny, {
397
- status?: "active" | "archived" | "disabled" | "deleted" | undefined;
398
- value?: string | null | undefined;
399
- providerConfigId?: string | null | undefined;
400
- externalRef?: string | null | undefined;
401
- providerVersionRef?: string | null | undefined;
402
- }, {
403
- status?: "active" | "archived" | "disabled" | "deleted" | undefined;
404
- value?: string | null | undefined;
405
- providerConfigId?: string | null | undefined;
406
- externalRef?: string | null | undefined;
407
- providerVersionRef?: string | null | undefined;
408
- }>;
202
+ }, z.core.$strip>;
409
203
  export type UpdateUserSecretValue = z.infer<typeof updateUserSecretValueSchema>;
410
- export declare const rotateUserSecretValueSchema: z.ZodEffects<z.ZodObject<{
204
+ export declare const rotateUserSecretValueSchema: z.ZodObject<{
411
205
  value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
412
206
  externalRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
413
207
  providerVersionRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
414
208
  providerConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
415
- }, "strip", z.ZodTypeAny, {
416
- value?: string | null | undefined;
417
- providerConfigId?: string | null | undefined;
418
- externalRef?: string | null | undefined;
419
- providerVersionRef?: string | null | undefined;
420
- }, {
421
- value?: string | null | undefined;
422
- providerConfigId?: string | null | undefined;
423
- externalRef?: string | null | undefined;
424
- providerVersionRef?: string | null | undefined;
425
- }>, {
426
- value?: string | null | undefined;
427
- providerConfigId?: string | null | undefined;
428
- externalRef?: string | null | undefined;
429
- providerVersionRef?: string | null | undefined;
430
- }, {
431
- value?: string | null | undefined;
432
- providerConfigId?: string | null | undefined;
433
- externalRef?: string | null | undefined;
434
- providerVersionRef?: string | null | undefined;
435
- }>;
209
+ }, z.core.$strip>;
436
210
  export type RotateUserSecretValue = z.infer<typeof rotateUserSecretValueSchema>;
437
211
  export declare const createUserSecretDeclarationSchema: z.ZodObject<{
438
- targetType: z.ZodEnum<["agent", "project", "environment", "routine", "plugin", "issue", "run", "tool_connection", "system"]>;
212
+ targetType: z.ZodEnum<{
213
+ project: "project";
214
+ agent: "agent";
215
+ system: "system";
216
+ plugin: "plugin";
217
+ environment: "environment";
218
+ routine: "routine";
219
+ issue: "issue";
220
+ run: "run";
221
+ tool_connection: "tool_connection";
222
+ }>;
439
223
  targetId: z.ZodString;
440
224
  configPath: z.ZodString;
441
- } & {
442
225
  definitionKey: z.ZodString;
443
226
  envKey: z.ZodString;
444
- versionSelector: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"latest">, z.ZodNumber]>>;
227
+ versionSelector: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"latest">, z.ZodNumber]>>;
445
228
  required: z.ZodDefault<z.ZodBoolean>;
446
229
  allowMissingOverride: z.ZodDefault<z.ZodBoolean>;
447
230
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
448
- }, "strip", z.ZodTypeAny, {
449
- required: boolean;
450
- allowMissingOverride: boolean;
451
- targetType: "project" | "agent" | "system" | "plugin" | "environment" | "routine" | "issue" | "run" | "tool_connection";
452
- targetId: string;
453
- configPath: string;
454
- versionSelector: number | "latest";
455
- definitionKey: string;
456
- envKey: string;
457
- label?: string | null | undefined;
458
- }, {
459
- targetType: "project" | "agent" | "system" | "plugin" | "environment" | "routine" | "issue" | "run" | "tool_connection";
460
- targetId: string;
461
- configPath: string;
462
- definitionKey: string;
463
- envKey: string;
464
- required?: boolean | undefined;
465
- allowMissingOverride?: boolean | undefined;
466
- versionSelector?: number | "latest" | undefined;
467
- label?: string | null | undefined;
468
- }>;
231
+ }, z.core.$strip>;
469
232
  export type CreateUserSecretDeclaration = z.infer<typeof createUserSecretDeclarationSchema>;
470
233
  export declare const localEncryptedProviderConfigSchema: z.ZodObject<{
471
234
  backupReminderAcknowledged: z.ZodOptional<z.ZodBoolean>;
472
- }, "strict", z.ZodTypeAny, {
473
- backupReminderAcknowledged?: boolean | undefined;
474
- }, {
475
- backupReminderAcknowledged?: boolean | undefined;
476
- }>;
235
+ }, z.core.$strict>;
477
236
  export declare const awsSecretsManagerProviderConfigSchema: z.ZodObject<{
478
237
  region: z.ZodString;
479
238
  namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -481,73 +240,25 @@ export declare const awsSecretsManagerProviderConfigSchema: z.ZodObject<{
481
240
  kmsKeyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
482
241
  ownerTag: z.ZodNullable<z.ZodOptional<z.ZodString>>;
483
242
  environmentTag: z.ZodNullable<z.ZodOptional<z.ZodString>>;
484
- }, "strict", z.ZodTypeAny, {
485
- region: string;
486
- namespace?: string | null | undefined;
487
- secretNamePrefix?: string | null | undefined;
488
- kmsKeyId?: string | null | undefined;
489
- ownerTag?: string | null | undefined;
490
- environmentTag?: string | null | undefined;
491
- }, {
492
- region: string;
493
- namespace?: string | null | undefined;
494
- secretNamePrefix?: string | null | undefined;
495
- kmsKeyId?: string | null | undefined;
496
- ownerTag?: string | null | undefined;
497
- environmentTag?: string | null | undefined;
498
- }>;
243
+ }, z.core.$strict>;
499
244
  export declare const gcpSecretManagerProviderConfigSchema: z.ZodObject<{
500
245
  projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
501
246
  location: z.ZodNullable<z.ZodOptional<z.ZodString>>;
502
247
  namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
503
248
  secretNamePrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
504
- }, "strict", z.ZodTypeAny, {
505
- namespace?: string | null | undefined;
506
- secretNamePrefix?: string | null | undefined;
507
- projectId?: string | null | undefined;
508
- location?: string | null | undefined;
509
- }, {
510
- namespace?: string | null | undefined;
511
- secretNamePrefix?: string | null | undefined;
512
- projectId?: string | null | undefined;
513
- location?: string | null | undefined;
514
- }>;
249
+ }, z.core.$strict>;
515
250
  export declare const vaultProviderConfigSchema: z.ZodObject<{
516
- address: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, unknown>>>;
251
+ address: z.ZodNullable<z.ZodOptional<z.ZodPreprocess<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>>;
517
252
  namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
518
253
  mountPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
254
  secretPathPrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
520
- }, "strict", z.ZodTypeAny, {
521
- namespace?: string | null | undefined;
522
- address?: string | null | undefined;
523
- mountPath?: string | null | undefined;
524
- secretPathPrefix?: string | null | undefined;
525
- }, {
526
- namespace?: string | null | undefined;
527
- address?: unknown;
528
- mountPath?: string | null | undefined;
529
- secretPathPrefix?: string | null | undefined;
530
- }>;
531
- export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
255
+ }, z.core.$strict>;
256
+ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
532
257
  provider: z.ZodLiteral<"local_encrypted">;
533
258
  config: z.ZodObject<{
534
259
  backupReminderAcknowledged: z.ZodOptional<z.ZodBoolean>;
535
- }, "strict", z.ZodTypeAny, {
536
- backupReminderAcknowledged?: boolean | undefined;
537
- }, {
538
- backupReminderAcknowledged?: boolean | undefined;
539
- }>;
540
- }, "strip", z.ZodTypeAny, {
541
- provider: "local_encrypted";
542
- config: {
543
- backupReminderAcknowledged?: boolean | undefined;
544
- };
545
- }, {
546
- provider: "local_encrypted";
547
- config: {
548
- backupReminderAcknowledged?: boolean | undefined;
549
- };
550
- }>, z.ZodObject<{
260
+ }, z.core.$strict>;
261
+ }, z.core.$strip>, z.ZodObject<{
551
262
  provider: z.ZodLiteral<"aws_secrets_manager">;
552
263
  config: z.ZodObject<{
553
264
  region: z.ZodString;
@@ -556,217 +267,73 @@ export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<
556
267
  kmsKeyId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
557
268
  ownerTag: z.ZodNullable<z.ZodOptional<z.ZodString>>;
558
269
  environmentTag: z.ZodNullable<z.ZodOptional<z.ZodString>>;
559
- }, "strict", z.ZodTypeAny, {
560
- region: string;
561
- namespace?: string | null | undefined;
562
- secretNamePrefix?: string | null | undefined;
563
- kmsKeyId?: string | null | undefined;
564
- ownerTag?: string | null | undefined;
565
- environmentTag?: string | null | undefined;
566
- }, {
567
- region: string;
568
- namespace?: string | null | undefined;
569
- secretNamePrefix?: string | null | undefined;
570
- kmsKeyId?: string | null | undefined;
571
- ownerTag?: string | null | undefined;
572
- environmentTag?: string | null | undefined;
573
- }>;
574
- }, "strip", z.ZodTypeAny, {
575
- provider: "aws_secrets_manager";
576
- config: {
577
- region: string;
578
- namespace?: string | null | undefined;
579
- secretNamePrefix?: string | null | undefined;
580
- kmsKeyId?: string | null | undefined;
581
- ownerTag?: string | null | undefined;
582
- environmentTag?: string | null | undefined;
583
- };
584
- }, {
585
- provider: "aws_secrets_manager";
586
- config: {
587
- region: string;
588
- namespace?: string | null | undefined;
589
- secretNamePrefix?: string | null | undefined;
590
- kmsKeyId?: string | null | undefined;
591
- ownerTag?: string | null | undefined;
592
- environmentTag?: string | null | undefined;
593
- };
594
- }>, z.ZodObject<{
270
+ }, z.core.$strict>;
271
+ }, z.core.$strip>, z.ZodObject<{
595
272
  provider: z.ZodLiteral<"gcp_secret_manager">;
596
273
  config: z.ZodObject<{
597
274
  projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
598
275
  location: z.ZodNullable<z.ZodOptional<z.ZodString>>;
599
276
  namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
600
277
  secretNamePrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
601
- }, "strict", z.ZodTypeAny, {
602
- namespace?: string | null | undefined;
603
- secretNamePrefix?: string | null | undefined;
604
- projectId?: string | null | undefined;
605
- location?: string | null | undefined;
606
- }, {
607
- namespace?: string | null | undefined;
608
- secretNamePrefix?: string | null | undefined;
609
- projectId?: string | null | undefined;
610
- location?: string | null | undefined;
611
- }>;
612
- }, "strip", z.ZodTypeAny, {
613
- provider: "gcp_secret_manager";
614
- config: {
615
- namespace?: string | null | undefined;
616
- secretNamePrefix?: string | null | undefined;
617
- projectId?: string | null | undefined;
618
- location?: string | null | undefined;
619
- };
620
- }, {
621
- provider: "gcp_secret_manager";
622
- config: {
623
- namespace?: string | null | undefined;
624
- secretNamePrefix?: string | null | undefined;
625
- projectId?: string | null | undefined;
626
- location?: string | null | undefined;
627
- };
628
- }>, z.ZodObject<{
278
+ }, z.core.$strict>;
279
+ }, z.core.$strip>, z.ZodObject<{
629
280
  provider: z.ZodLiteral<"vault">;
630
281
  config: z.ZodObject<{
631
- address: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, unknown>>>;
282
+ address: z.ZodNullable<z.ZodOptional<z.ZodPreprocess<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>>;
632
283
  namespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
633
284
  mountPath: z.ZodNullable<z.ZodOptional<z.ZodString>>;
634
285
  secretPathPrefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
635
- }, "strict", z.ZodTypeAny, {
636
- namespace?: string | null | undefined;
637
- address?: string | null | undefined;
638
- mountPath?: string | null | undefined;
639
- secretPathPrefix?: string | null | undefined;
640
- }, {
641
- namespace?: string | null | undefined;
642
- address?: unknown;
643
- mountPath?: string | null | undefined;
644
- secretPathPrefix?: string | null | undefined;
286
+ }, z.core.$strict>;
287
+ }, z.core.$strip>], "provider">;
288
+ export declare const createSecretProviderConfigSchema: z.ZodObject<{
289
+ provider: z.ZodEnum<{
290
+ local_encrypted: "local_encrypted";
291
+ aws_secrets_manager: "aws_secrets_manager";
292
+ gcp_secret_manager: "gcp_secret_manager";
293
+ vault: "vault";
645
294
  }>;
646
- }, "strip", z.ZodTypeAny, {
647
- provider: "vault";
648
- config: {
649
- namespace?: string | null | undefined;
650
- address?: string | null | undefined;
651
- mountPath?: string | null | undefined;
652
- secretPathPrefix?: string | null | undefined;
653
- };
654
- }, {
655
- provider: "vault";
656
- config: {
657
- namespace?: string | null | undefined;
658
- address?: unknown;
659
- mountPath?: string | null | undefined;
660
- secretPathPrefix?: string | null | undefined;
661
- };
662
- }>]>;
663
- export declare const createSecretProviderConfigSchema: z.ZodEffects<z.ZodObject<{
664
- provider: z.ZodEnum<["local_encrypted", "aws_secrets_manager", "gcp_secret_manager", "vault"]>;
665
295
  displayName: z.ZodString;
666
- status: z.ZodOptional<z.ZodEnum<["ready", "warning", "coming_soon", "disabled"]>>;
296
+ status: z.ZodOptional<z.ZodEnum<{
297
+ warning: "warning";
298
+ ready: "ready";
299
+ coming_soon: "coming_soon";
300
+ disabled: "disabled";
301
+ }>>;
667
302
  isDefault: z.ZodOptional<z.ZodBoolean>;
668
303
  config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
669
- }, "strip", z.ZodTypeAny, {
670
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
671
- config: Record<string, unknown>;
672
- displayName: string;
673
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
674
- isDefault?: boolean | undefined;
675
- }, {
676
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
677
- displayName: string;
678
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
679
- config?: Record<string, unknown> | undefined;
680
- isDefault?: boolean | undefined;
681
- }>, {
682
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
683
- config: Record<string, unknown>;
684
- displayName: string;
685
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
686
- isDefault?: boolean | undefined;
687
- }, {
688
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
689
- displayName: string;
690
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
691
- config?: Record<string, unknown> | undefined;
692
- isDefault?: boolean | undefined;
693
- }>;
304
+ }, z.core.$strip>;
694
305
  export type CreateSecretProviderConfig = z.infer<typeof createSecretProviderConfigSchema>;
695
- export declare const updateSecretProviderConfigSchema: z.ZodEffects<z.ZodObject<{
306
+ export declare const updateSecretProviderConfigSchema: z.ZodObject<{
696
307
  displayName: z.ZodOptional<z.ZodString>;
697
- status: z.ZodOptional<z.ZodEnum<["ready", "warning", "coming_soon", "disabled"]>>;
308
+ status: z.ZodOptional<z.ZodEnum<{
309
+ warning: "warning";
310
+ ready: "ready";
311
+ coming_soon: "coming_soon";
312
+ disabled: "disabled";
313
+ }>>;
698
314
  isDefault: z.ZodOptional<z.ZodBoolean>;
699
315
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
700
- }, "strip", z.ZodTypeAny, {
701
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
702
- config?: Record<string, unknown> | undefined;
703
- displayName?: string | undefined;
704
- isDefault?: boolean | undefined;
705
- }, {
706
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
707
- config?: Record<string, unknown> | undefined;
708
- displayName?: string | undefined;
709
- isDefault?: boolean | undefined;
710
- }>, {
711
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
712
- config?: Record<string, unknown> | undefined;
713
- displayName?: string | undefined;
714
- isDefault?: boolean | undefined;
715
- }, {
716
- status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined;
717
- config?: Record<string, unknown> | undefined;
718
- displayName?: string | undefined;
719
- isDefault?: boolean | undefined;
720
- }>;
316
+ }, z.core.$strip>;
721
317
  export type UpdateSecretProviderConfig = z.infer<typeof updateSecretProviderConfigSchema>;
722
318
  export declare const remoteSecretImportPreviewSchema: z.ZodObject<{
723
319
  providerConfigId: z.ZodString;
724
320
  query: z.ZodNullable<z.ZodOptional<z.ZodString>>;
725
321
  nextToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
726
322
  pageSize: z.ZodOptional<z.ZodNumber>;
727
- }, "strip", z.ZodTypeAny, {
728
- providerConfigId: string;
729
- query?: string | null | undefined;
730
- nextToken?: string | null | undefined;
731
- pageSize?: number | undefined;
732
- }, {
733
- providerConfigId: string;
734
- query?: string | null | undefined;
735
- nextToken?: string | null | undefined;
736
- pageSize?: number | undefined;
737
- }>;
323
+ }, z.core.$strip>;
738
324
  export type RemoteSecretImportPreview = z.infer<typeof remoteSecretImportPreviewSchema>;
739
- export declare const secretProviderConfigDiscoveryPreviewSchema: z.ZodEffects<z.ZodObject<{
740
- provider: z.ZodEnum<["local_encrypted", "aws_secrets_manager", "gcp_secret_manager", "vault"]>;
325
+ export declare const secretProviderConfigDiscoveryPreviewSchema: z.ZodObject<{
326
+ provider: z.ZodEnum<{
327
+ local_encrypted: "local_encrypted";
328
+ aws_secrets_manager: "aws_secrets_manager";
329
+ gcp_secret_manager: "gcp_secret_manager";
330
+ vault: "vault";
331
+ }>;
741
332
  config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
742
333
  query: z.ZodNullable<z.ZodOptional<z.ZodString>>;
743
334
  nextToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
744
335
  pageSize: z.ZodOptional<z.ZodNumber>;
745
- }, "strip", z.ZodTypeAny, {
746
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
747
- config: Record<string, unknown>;
748
- query?: string | null | undefined;
749
- nextToken?: string | null | undefined;
750
- pageSize?: number | undefined;
751
- }, {
752
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
753
- config?: Record<string, unknown> | undefined;
754
- query?: string | null | undefined;
755
- nextToken?: string | null | undefined;
756
- pageSize?: number | undefined;
757
- }>, {
758
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
759
- config: Record<string, unknown>;
760
- query?: string | null | undefined;
761
- nextToken?: string | null | undefined;
762
- pageSize?: number | undefined;
763
- }, {
764
- provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault";
765
- config?: Record<string, unknown> | undefined;
766
- query?: string | null | undefined;
767
- nextToken?: string | null | undefined;
768
- pageSize?: number | undefined;
769
- }>;
336
+ }, z.core.$strip>;
770
337
  export type SecretProviderConfigDiscoveryPreview = z.infer<typeof secretProviderConfigDiscoveryPreviewSchema>;
771
338
  export declare const remoteSecretImportSelectionSchema: z.ZodObject<{
772
339
  externalRef: z.ZodString;
@@ -775,21 +342,7 @@ export declare const remoteSecretImportSelectionSchema: z.ZodObject<{
775
342
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
776
343
  providerVersionRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
777
344
  providerMetadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
778
- }, "strip", z.ZodTypeAny, {
779
- externalRef: string;
780
- description?: string | null | undefined;
781
- key?: string | null | undefined;
782
- name?: string | null | undefined;
783
- providerMetadata?: Record<string, unknown> | null | undefined;
784
- providerVersionRef?: string | null | undefined;
785
- }, {
786
- externalRef: string;
787
- description?: string | null | undefined;
788
- key?: string | null | undefined;
789
- name?: string | null | undefined;
790
- providerMetadata?: Record<string, unknown> | null | undefined;
791
- providerVersionRef?: string | null | undefined;
792
- }>;
345
+ }, z.core.$strip>;
793
346
  export declare const remoteSecretImportSchema: z.ZodObject<{
794
347
  providerConfigId: z.ZodString;
795
348
  secrets: z.ZodArray<z.ZodObject<{
@@ -799,42 +352,8 @@ export declare const remoteSecretImportSchema: z.ZodObject<{
799
352
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
800
353
  providerVersionRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
801
354
  providerMetadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
802
- }, "strip", z.ZodTypeAny, {
803
- externalRef: string;
804
- description?: string | null | undefined;
805
- key?: string | null | undefined;
806
- name?: string | null | undefined;
807
- providerMetadata?: Record<string, unknown> | null | undefined;
808
- providerVersionRef?: string | null | undefined;
809
- }, {
810
- externalRef: string;
811
- description?: string | null | undefined;
812
- key?: string | null | undefined;
813
- name?: string | null | undefined;
814
- providerMetadata?: Record<string, unknown> | null | undefined;
815
- providerVersionRef?: string | null | undefined;
816
- }>, "many">;
817
- }, "strip", z.ZodTypeAny, {
818
- secrets: {
819
- externalRef: string;
820
- description?: string | null | undefined;
821
- key?: string | null | undefined;
822
- name?: string | null | undefined;
823
- providerMetadata?: Record<string, unknown> | null | undefined;
824
- providerVersionRef?: string | null | undefined;
825
- }[];
826
- providerConfigId: string;
827
- }, {
828
- secrets: {
829
- externalRef: string;
830
- description?: string | null | undefined;
831
- key?: string | null | undefined;
832
- name?: string | null | undefined;
833
- providerMetadata?: Record<string, unknown> | null | undefined;
834
- providerVersionRef?: string | null | undefined;
835
- }[];
836
- providerConfigId: string;
837
- }>;
355
+ }, z.core.$strip>>;
356
+ }, z.core.$strip>;
838
357
  export type RemoteSecretImportSelection = z.infer<typeof remoteSecretImportSelectionSchema>;
839
358
  export type RemoteSecretImport = z.infer<typeof remoteSecretImportSchema>;
840
359
  //# sourceMappingURL=secret.d.ts.map