@paperclipai/shared 2026.824.0 → 2026.825.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/dist/adapter-auth-check-code.d.ts +13 -0
  2. package/dist/adapter-auth-check-code.d.ts.map +1 -0
  3. package/dist/adapter-auth-check-code.js +13 -0
  4. package/dist/adapter-auth-check-code.js.map +1 -0
  5. package/dist/adapter-auth-check-code.test.d.ts +2 -0
  6. package/dist/adapter-auth-check-code.test.d.ts.map +1 -0
  7. package/dist/adapter-auth-check-code.test.js +8 -0
  8. package/dist/adapter-auth-check-code.test.js.map +1 -0
  9. package/dist/company-import-transfer.d.ts +3 -37
  10. package/dist/company-import-transfer.d.ts.map +1 -1
  11. package/dist/config-schema.d.ts +130 -1570
  12. package/dist/config-schema.d.ts.map +1 -1
  13. package/dist/config-schema.js +3 -7
  14. package/dist/config-schema.js.map +1 -1
  15. package/dist/constants.d.ts +3 -2
  16. package/dist/constants.d.ts.map +1 -1
  17. package/dist/constants.js +3 -0
  18. package/dist/constants.js.map +1 -1
  19. package/dist/environment-support.d.ts +1 -1
  20. package/dist/environment-support.d.ts.map +1 -1
  21. package/dist/environment-support.js +3 -2
  22. package/dist/environment-support.js.map +1 -1
  23. package/dist/environment-support.test.js +19 -0
  24. package/dist/environment-support.test.js.map +1 -1
  25. package/dist/feature-catalog.d.ts +7 -17
  26. package/dist/feature-catalog.d.ts.map +1 -1
  27. package/dist/feature-catalog.js +9 -2
  28. package/dist/feature-catalog.js.map +1 -1
  29. package/dist/frontmatter.d.ts +3 -13
  30. package/dist/frontmatter.d.ts.map +1 -1
  31. package/dist/frontmatter.js +2 -2
  32. package/dist/frontmatter.js.map +1 -1
  33. package/dist/index.d.ts +7 -3
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +6 -2
  36. package/dist/index.js.map +1 -1
  37. package/dist/markdown-work-products.d.ts +26 -0
  38. package/dist/markdown-work-products.d.ts.map +1 -0
  39. package/dist/markdown-work-products.js +70 -0
  40. package/dist/markdown-work-products.js.map +1 -0
  41. package/dist/markdown-work-products.test.d.ts +2 -0
  42. package/dist/markdown-work-products.test.d.ts.map +1 -0
  43. package/dist/markdown-work-products.test.js +122 -0
  44. package/dist/markdown-work-products.test.js.map +1 -0
  45. package/dist/node-version.d.ts +6 -0
  46. package/dist/node-version.d.ts.map +1 -0
  47. package/dist/node-version.js +46 -0
  48. package/dist/node-version.js.map +1 -0
  49. package/dist/runtime-exposure/loopback-bind.d.ts +2 -2
  50. package/dist/runtime-exposure/loopback-bind.d.ts.map +1 -1
  51. package/dist/runtime-exposure/loopback-bind.js +3 -3
  52. package/dist/runtime-exposure/loopback-bind.js.map +1 -1
  53. package/dist/runtime-exposure/loopback-bind.test.js +11 -10
  54. package/dist/runtime-exposure/loopback-bind.test.js.map +1 -1
  55. package/dist/settings-visibility.d.ts +62 -0
  56. package/dist/settings-visibility.d.ts.map +1 -0
  57. package/dist/settings-visibility.js +102 -0
  58. package/dist/settings-visibility.js.map +1 -0
  59. package/dist/settings-visibility.test.d.ts +2 -0
  60. package/dist/settings-visibility.test.d.ts.map +1 -0
  61. package/dist/settings-visibility.test.js +51 -0
  62. package/dist/settings-visibility.test.js.map +1 -0
  63. package/dist/telemetry/generated/paperclip-telemetry.d.ts +4 -2
  64. package/dist/telemetry/generated/paperclip-telemetry.d.ts.map +1 -1
  65. package/dist/telemetry/generated/paperclip-telemetry.js +2 -0
  66. package/dist/telemetry/generated/paperclip-telemetry.js.map +1 -1
  67. package/dist/types/environment.d.ts +20 -0
  68. package/dist/types/environment.d.ts.map +1 -1
  69. package/dist/types/index.d.ts +5 -3
  70. package/dist/types/index.d.ts.map +1 -1
  71. package/dist/types/index.js +1 -0
  72. package/dist/types/index.js.map +1 -1
  73. package/dist/types/instance.d.ts +7 -0
  74. package/dist/types/instance.d.ts.map +1 -1
  75. package/dist/types/instance.js.map +1 -1
  76. package/dist/types/issue.d.ts +19 -0
  77. package/dist/types/issue.d.ts.map +1 -1
  78. package/dist/types/plugin.d.ts +34 -4
  79. package/dist/types/plugin.d.ts.map +1 -1
  80. package/dist/types/workspace-operation.d.ts +1 -1
  81. package/dist/types/workspace-operation.d.ts.map +1 -1
  82. package/dist/types/workspace-readiness.d.ts +62 -0
  83. package/dist/types/workspace-readiness.d.ts.map +1 -0
  84. package/dist/types/workspace-readiness.js +28 -0
  85. package/dist/types/workspace-readiness.js.map +1 -0
  86. package/dist/types/workspace-runtime.d.ts +6 -8
  87. package/dist/types/workspace-runtime.d.ts.map +1 -1
  88. package/dist/validators/access.d.ts +143 -277
  89. package/dist/validators/access.d.ts.map +1 -1
  90. package/dist/validators/access.js +5 -5
  91. package/dist/validators/adapter-auth-session.d.ts +50 -97
  92. package/dist/validators/adapter-auth-session.d.ts.map +1 -1
  93. package/dist/validators/adapter-auth-session.js +3 -3
  94. package/dist/validators/adapter-registry.d.ts +8 -40
  95. package/dist/validators/adapter-registry.d.ts.map +1 -1
  96. package/dist/validators/adapter-registry.js +1 -1
  97. package/dist/validators/adapter-registry.js.map +1 -1
  98. package/dist/validators/adapter-skills.d.ts +71 -170
  99. package/dist/validators/adapter-skills.d.ts.map +1 -1
  100. package/dist/validators/adapter-skills.js +3 -3
  101. package/dist/validators/agent.d.ts +412 -4798
  102. package/dist/validators/agent.d.ts.map +1 -1
  103. package/dist/validators/agent.js +13 -13
  104. package/dist/validators/agent.js.map +1 -1
  105. package/dist/validators/app-definition.d.ts +270 -2315
  106. package/dist/validators/app-definition.d.ts.map +1 -1
  107. package/dist/validators/approval.d.ts +15 -36
  108. package/dist/validators/approval.d.ts.map +1 -1
  109. package/dist/validators/approval.js +2 -2
  110. package/dist/validators/artifact.d.ts +162 -893
  111. package/dist/validators/artifact.d.ts.map +1 -1
  112. package/dist/validators/artifact.js +6 -6
  113. package/dist/validators/asset.d.ts +1 -5
  114. package/dist/validators/asset.d.ts.map +1 -1
  115. package/dist/validators/budget.d.ts +19 -43
  116. package/dist/validators/budget.d.ts.map +1 -1
  117. package/dist/validators/budget.js +1 -1
  118. package/dist/validators/claude-setup-token-session.d.ts +61 -181
  119. package/dist/validators/claude-setup-token-session.d.ts.map +1 -1
  120. package/dist/validators/claude-setup-token-session.js +4 -4
  121. package/dist/validators/company-portability.d.ts +318 -3616
  122. package/dist/validators/company-portability.d.ts.map +1 -1
  123. package/dist/validators/company-portability.js +2 -2
  124. package/dist/validators/company-skill.d.ts +722 -2934
  125. package/dist/validators/company-skill.d.ts.map +1 -1
  126. package/dist/validators/company-skill.js +63 -63
  127. package/dist/validators/company.d.ts +162 -289
  128. package/dist/validators/company.d.ts.map +1 -1
  129. package/dist/validators/company.js +4 -3
  130. package/dist/validators/company.js.map +1 -1
  131. package/dist/validators/cost.d.ts +29 -57
  132. package/dist/validators/cost.d.ts.map +1 -1
  133. package/dist/validators/cost.js +5 -5
  134. package/dist/validators/decision-queue.d.ts +60 -108
  135. package/dist/validators/decision-queue.d.ts.map +1 -1
  136. package/dist/validators/decision.d.ts +230 -1884
  137. package/dist/validators/decision.d.ts.map +1 -1
  138. package/dist/validators/decision.js +9 -9
  139. package/dist/validators/document-annotation.d.ts +37 -203
  140. package/dist/validators/document-annotation.d.ts.map +1 -1
  141. package/dist/validators/document-annotation.js +3 -3
  142. package/dist/validators/environment-custom-images.d.ts +79 -173
  143. package/dist/validators/environment-custom-images.d.ts.map +1 -1
  144. package/dist/validators/environment-custom-images.js +14 -11
  145. package/dist/validators/environment-custom-images.js.map +1 -1
  146. package/dist/validators/environment.d.ts +82 -259
  147. package/dist/validators/environment.d.ts.map +1 -1
  148. package/dist/validators/execution-workspace.d.ts +173 -513
  149. package/dist/validators/execution-workspace.d.ts.map +1 -1
  150. package/dist/validators/execution-workspace.js +13 -13
  151. package/dist/validators/execution-workspace.js.map +1 -1
  152. package/dist/validators/external-object.d.ts +55 -27
  153. package/dist/validators/external-object.d.ts.map +1 -1
  154. package/dist/validators/external-object.js +1 -1
  155. package/dist/validators/external-object.js.map +1 -1
  156. package/dist/validators/feedback.d.ts +28 -19
  157. package/dist/validators/feedback.d.ts.map +1 -1
  158. package/dist/validators/feedback.js +1 -1
  159. package/dist/validators/finance.d.ts +69 -74
  160. package/dist/validators/finance.d.ts.map +1 -1
  161. package/dist/validators/finance.js +6 -6
  162. package/dist/validators/folder.d.ts +44 -205
  163. package/dist/validators/folder.d.ts.map +1 -1
  164. package/dist/validators/folder.js +7 -7
  165. package/dist/validators/goal.d.ts +26 -34
  166. package/dist/validators/goal.d.ts.map +1 -1
  167. package/dist/validators/goal.js +4 -3
  168. package/dist/validators/goal.js.map +1 -1
  169. package/dist/validators/inbox-agent-policy.d.ts +12 -16
  170. package/dist/validators/inbox-agent-policy.d.ts.map +1 -1
  171. package/dist/validators/inbox-agent-policy.js +1 -1
  172. package/dist/validators/index.d.ts +2 -2
  173. package/dist/validators/index.d.ts.map +1 -1
  174. package/dist/validators/index.js +2 -2
  175. package/dist/validators/index.js.map +1 -1
  176. package/dist/validators/instance.d.ts +50 -563
  177. package/dist/validators/instance.d.ts.map +1 -1
  178. package/dist/validators/instance.js +16 -6
  179. package/dist/validators/instance.js.map +1 -1
  180. package/dist/validators/instance.test.js +13 -0
  181. package/dist/validators/instance.test.js.map +1 -1
  182. package/dist/validators/issue-tree-control.d.ts +41 -80
  183. package/dist/validators/issue-tree-control.d.ts.map +1 -1
  184. package/dist/validators/issue.d.ts +1772 -12251
  185. package/dist/validators/issue.d.ts.map +1 -1
  186. package/dist/validators/issue.js +150 -84
  187. package/dist/validators/issue.js.map +1 -1
  188. package/dist/validators/onboarding-seed.d.ts +3 -37
  189. package/dist/validators/onboarding-seed.d.ts.map +1 -1
  190. package/dist/validators/partial.d.ts +4 -0
  191. package/dist/validators/partial.d.ts.map +1 -0
  192. package/dist/validators/partial.js +35 -0
  193. package/dist/validators/partial.js.map +1 -0
  194. package/dist/validators/pipeline.d.ts +218 -3882
  195. package/dist/validators/pipeline.d.ts.map +1 -1
  196. package/dist/validators/pipeline.js +11 -11
  197. package/dist/validators/plugin.d.ts +725 -2597
  198. package/dist/validators/plugin.d.ts.map +1 -1
  199. package/dist/validators/plugin.js +38 -6
  200. package/dist/validators/plugin.js.map +1 -1
  201. package/dist/validators/plugin.test.js +54 -10
  202. package/dist/validators/plugin.test.js.map +1 -1
  203. package/dist/validators/project.d.ts +345 -2406
  204. package/dist/validators/project.d.ts.map +1 -1
  205. package/dist/validators/project.js +8 -7
  206. package/dist/validators/project.js.map +1 -1
  207. package/dist/validators/resource-memberships.d.ts +11 -27
  208. package/dist/validators/resource-memberships.d.ts.map +1 -1
  209. package/dist/validators/routine.d.ts +362 -1297
  210. package/dist/validators/routine.d.ts.map +1 -1
  211. package/dist/validators/routine.js +21 -20
  212. package/dist/validators/routine.js.map +1 -1
  213. package/dist/validators/runtime-exposure.d.ts +31 -80
  214. package/dist/validators/runtime-exposure.d.ts.map +1 -1
  215. package/dist/validators/search.d.ts +25 -93
  216. package/dist/validators/search.d.ts.map +1 -1
  217. package/dist/validators/secret.d.ts +174 -655
  218. package/dist/validators/secret.d.ts.map +1 -1
  219. package/dist/validators/secret.js +14 -14
  220. package/dist/validators/secret.js.map +1 -1
  221. package/dist/validators/sidebar-preferences.d.ts +5 -15
  222. package/dist/validators/sidebar-preferences.d.ts.map +1 -1
  223. package/dist/validators/sidebar-preferences.js +1 -1
  224. package/dist/validators/skill-policy.d.ts +184 -561
  225. package/dist/validators/skill-policy.d.ts.map +1 -1
  226. package/dist/validators/skill-policy.js +4 -4
  227. package/dist/validators/smoke-lab.d.ts +53 -37
  228. package/dist/validators/smoke-lab.d.ts.map +1 -1
  229. package/dist/validators/status-card.d.ts +139 -994
  230. package/dist/validators/status-card.d.ts.map +1 -1
  231. package/dist/validators/status-card.js +21 -21
  232. package/dist/validators/status-card.js.map +1 -1
  233. package/dist/validators/summary-slot.d.ts +28 -50
  234. package/dist/validators/summary-slot.d.ts.map +1 -1
  235. package/dist/validators/summary-slot.js +3 -3
  236. package/dist/validators/teams-catalog.d.ts +209 -472
  237. package/dist/validators/teams-catalog.d.ts.map +1 -1
  238. package/dist/validators/text.d.ts +1 -1
  239. package/dist/validators/text.d.ts.map +1 -1
  240. package/dist/validators/tool-access.d.ts +1088 -4670
  241. package/dist/validators/tool-access.d.ts.map +1 -1
  242. package/dist/validators/tool-access.js +96 -95
  243. package/dist/validators/tool-access.js.map +1 -1
  244. package/dist/validators/trust-policy.d.ts +62 -358
  245. package/dist/validators/trust-policy.d.ts.map +1 -1
  246. package/dist/validators/trust-policy.js +12 -12
  247. package/dist/validators/work-product.d.ts +110 -536
  248. package/dist/validators/work-product.d.ts.map +1 -1
  249. package/dist/validators/work-product.js +7 -6
  250. package/dist/validators/work-product.js.map +1 -1
  251. package/dist/validators/workspace-file-resource.d.ts +163 -618
  252. package/dist/validators/workspace-file-resource.d.ts.map +1 -1
  253. package/dist/validators/workspace-file-resource.js +11 -11
  254. package/dist/workspace-commands.d.ts +4 -2
  255. package/dist/workspace-commands.d.ts.map +1 -1
  256. package/dist/workspace-commands.js +9 -1
  257. package/dist/workspace-commands.js.map +1 -1
  258. package/dist/workspace-commands.test.js +45 -0
  259. package/dist/workspace-commands.test.js.map +1 -1
  260. package/dist/worktree-port-registry.d.ts +5 -0
  261. package/dist/worktree-port-registry.d.ts.map +1 -0
  262. package/dist/worktree-port-registry.js +382 -0
  263. package/dist/worktree-port-registry.js.map +1 -0
  264. package/dist/worktree-port-registry.test.d.ts +2 -0
  265. package/dist/worktree-port-registry.test.d.ts.map +1 -0
  266. package/dist/worktree-port-registry.test.js +118 -0
  267. package/dist/worktree-port-registry.test.js.map +1 -0
  268. package/dist/worktree-seed-source.d.ts +43 -0
  269. package/dist/worktree-seed-source.d.ts.map +1 -0
  270. package/dist/worktree-seed-source.js +180 -0
  271. package/dist/worktree-seed-source.js.map +1 -0
  272. package/dist/worktree-seed-source.test.d.ts +2 -0
  273. package/dist/worktree-seed-source.test.d.ts.map +1 -0
  274. package/dist/worktree-seed-source.test.js +166 -0
  275. package/dist/worktree-seed-source.test.js.map +1 -0
  276. package/package.json +6 -3
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
- export declare const connectionMethodDefSchema: z.ZodEffects<z.ZodObject<{
2
+ export declare const connectionMethodDefSchema: z.ZodObject<{
3
3
  key: z.ZodString;
4
- transport: z.ZodEnum<["mcp_remote", "rest_api", "local_stdio"]>;
5
- auth: z.ZodEnum<["oauth", "api_key", "none"]>;
6
- ownershipModes: z.ZodArray<z.ZodEnum<["platform_shared", "platform_provisioned", "customer", "dcr"]>, "many">;
4
+ transport: z.ZodEnum<{
5
+ local_stdio: "local_stdio";
6
+ mcp_remote: "mcp_remote";
7
+ rest_api: "rest_api";
8
+ }>;
9
+ auth: z.ZodEnum<{
10
+ none: "none";
11
+ oauth: "oauth";
12
+ api_key: "api_key";
13
+ }>;
14
+ ownershipModes: z.ZodArray<z.ZodEnum<{
15
+ platform_shared: "platform_shared";
16
+ platform_provisioned: "platform_provisioned";
17
+ customer: "customer";
18
+ dcr: "dcr";
19
+ }>>;
7
20
  whenToUse: z.ZodString;
8
21
  defaults: z.ZodOptional<z.ZodObject<{
9
22
  serverUrl: z.ZodOptional<z.ZodString>;
@@ -13,612 +26,153 @@ export declare const connectionMethodDefSchema: z.ZodEffects<z.ZodObject<{
13
26
  authorizationEndpoint: z.ZodOptional<z.ZodString>;
14
27
  tokenEndpoint: z.ZodOptional<z.ZodString>;
15
28
  metadataUrl: z.ZodOptional<z.ZodString>;
16
- scopesHint: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
- }, "strip", z.ZodTypeAny, {
18
- serverUrl?: string | undefined;
19
- discoveryUrl?: string | null | undefined;
20
- serviceHost?: string | undefined;
21
- templateKey?: string | undefined;
22
- authorizationEndpoint?: string | undefined;
23
- tokenEndpoint?: string | undefined;
24
- metadataUrl?: string | undefined;
25
- scopesHint?: string[] | undefined;
26
- }, {
27
- serverUrl?: string | undefined;
28
- discoveryUrl?: string | null | undefined;
29
- serviceHost?: string | undefined;
30
- templateKey?: string | undefined;
31
- authorizationEndpoint?: string | undefined;
32
- tokenEndpoint?: string | undefined;
33
- metadataUrl?: string | undefined;
34
- scopesHint?: string[] | undefined;
35
- }>>;
36
- tenantFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
29
+ scopesHint: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
+ }, z.core.$strip>>;
31
+ tenantFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
37
32
  key: z.ZodString;
38
33
  label: z.ZodString;
39
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
34
+ type: z.ZodEnum<{
35
+ text: "text";
36
+ textarea: "textarea";
37
+ select: "select";
38
+ datetime: "datetime";
39
+ password: "password";
40
+ checkbox: "checkbox";
41
+ }>;
40
42
  required: z.ZodOptional<z.ZodBoolean>;
41
43
  placeholder: z.ZodOptional<z.ZodString>;
42
44
  helperMd: z.ZodOptional<z.ZodString>;
43
45
  secret: z.ZodOptional<z.ZodBoolean>;
44
46
  prefix: z.ZodOptional<z.ZodString>;
45
- }, "strip", z.ZodTypeAny, {
46
- key: string;
47
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
48
- label: string;
49
- required?: boolean | undefined;
50
- placeholder?: string | undefined;
51
- secret?: boolean | undefined;
52
- prefix?: string | undefined;
53
- helperMd?: string | undefined;
54
- }, {
55
- key: string;
56
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
57
- label: string;
58
- required?: boolean | undefined;
59
- placeholder?: string | undefined;
60
- secret?: boolean | undefined;
61
- prefix?: string | undefined;
62
- helperMd?: string | undefined;
63
- }>, {
64
- key: string;
65
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
66
- label: string;
67
- required?: boolean | undefined;
68
- placeholder?: string | undefined;
69
- secret?: boolean | undefined;
70
- prefix?: string | undefined;
71
- helperMd?: string | undefined;
72
- }, {
73
- key: string;
74
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
75
- label: string;
76
- required?: boolean | undefined;
77
- placeholder?: string | undefined;
78
- secret?: boolean | undefined;
79
- prefix?: string | undefined;
80
- helperMd?: string | undefined;
81
- }>, "many">>;
82
- extensionFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
47
+ }, z.core.$strip>>>;
48
+ extensionFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
49
  key: z.ZodString;
84
50
  label: z.ZodString;
85
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
51
+ type: z.ZodEnum<{
52
+ text: "text";
53
+ textarea: "textarea";
54
+ select: "select";
55
+ datetime: "datetime";
56
+ password: "password";
57
+ checkbox: "checkbox";
58
+ }>;
86
59
  required: z.ZodOptional<z.ZodBoolean>;
87
60
  placeholder: z.ZodOptional<z.ZodString>;
88
61
  helperMd: z.ZodOptional<z.ZodString>;
89
62
  secret: z.ZodOptional<z.ZodBoolean>;
90
63
  prefix: z.ZodOptional<z.ZodString>;
91
- }, "strip", z.ZodTypeAny, {
92
- key: string;
93
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
94
- label: string;
95
- required?: boolean | undefined;
96
- placeholder?: string | undefined;
97
- secret?: boolean | undefined;
98
- prefix?: string | undefined;
99
- helperMd?: string | undefined;
100
- }, {
101
- key: string;
102
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
103
- label: string;
104
- required?: boolean | undefined;
105
- placeholder?: string | undefined;
106
- secret?: boolean | undefined;
107
- prefix?: string | undefined;
108
- helperMd?: string | undefined;
109
- }>, {
110
- key: string;
111
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
112
- label: string;
113
- required?: boolean | undefined;
114
- placeholder?: string | undefined;
115
- secret?: boolean | undefined;
116
- prefix?: string | undefined;
117
- helperMd?: string | undefined;
118
- }, {
119
- key: string;
120
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
121
- label: string;
122
- required?: boolean | undefined;
123
- placeholder?: string | undefined;
124
- secret?: boolean | undefined;
125
- prefix?: string | undefined;
126
- helperMd?: string | undefined;
127
- }>, "many">>;
128
- credentialFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
64
+ }, z.core.$strip>>>;
65
+ credentialFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
129
66
  key: z.ZodString;
130
67
  label: z.ZodString;
131
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
68
+ type: z.ZodEnum<{
69
+ text: "text";
70
+ textarea: "textarea";
71
+ select: "select";
72
+ datetime: "datetime";
73
+ password: "password";
74
+ checkbox: "checkbox";
75
+ }>;
132
76
  required: z.ZodOptional<z.ZodBoolean>;
133
77
  placeholder: z.ZodOptional<z.ZodString>;
134
78
  helperMd: z.ZodOptional<z.ZodString>;
135
79
  secret: z.ZodOptional<z.ZodBoolean>;
136
80
  prefix: z.ZodOptional<z.ZodString>;
137
- }, "strip", z.ZodTypeAny, {
138
- key: string;
139
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
140
- label: string;
141
- required?: boolean | undefined;
142
- placeholder?: string | undefined;
143
- secret?: boolean | undefined;
144
- prefix?: string | undefined;
145
- helperMd?: string | undefined;
146
- }, {
147
- key: string;
148
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
149
- label: string;
150
- required?: boolean | undefined;
151
- placeholder?: string | undefined;
152
- secret?: boolean | undefined;
153
- prefix?: string | undefined;
154
- helperMd?: string | undefined;
155
- }>, {
156
- key: string;
157
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
158
- label: string;
159
- required?: boolean | undefined;
160
- placeholder?: string | undefined;
161
- secret?: boolean | undefined;
162
- prefix?: string | undefined;
163
- helperMd?: string | undefined;
164
- }, {
165
- key: string;
166
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
167
- label: string;
168
- required?: boolean | undefined;
169
- placeholder?: string | undefined;
170
- secret?: boolean | undefined;
171
- prefix?: string | undefined;
172
- helperMd?: string | undefined;
173
- }>, "many">>;
81
+ }, z.core.$strip>>>;
174
82
  keyPlacement: z.ZodOptional<z.ZodObject<{
175
- location: z.ZodEnum<["header", "query", "body_json", "env"]>;
83
+ location: z.ZodEnum<{
84
+ env: "env";
85
+ header: "header";
86
+ query: "query";
87
+ body_json: "body_json";
88
+ }>;
176
89
  name: z.ZodString;
177
90
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
- }, "strip", z.ZodTypeAny, {
179
- name: string;
180
- location: "env" | "header" | "query" | "body_json";
181
- prefix?: string | null | undefined;
182
- }, {
183
- name: string;
184
- location: "env" | "header" | "query" | "body_json";
185
- prefix?: string | null | undefined;
186
- }>>;
91
+ }, z.core.$strip>>;
187
92
  guidanceMd: z.ZodString;
188
93
  consoleLinks: z.ZodOptional<z.ZodObject<{
189
94
  register: z.ZodOptional<z.ZodString>;
190
95
  keys: z.ZodOptional<z.ZodString>;
191
96
  settings: z.ZodOptional<z.ZodString>;
192
97
  docs: z.ZodOptional<z.ZodString>;
193
- }, "strip", z.ZodTypeAny, {
194
- settings?: string | undefined;
195
- keys?: string | undefined;
196
- register?: string | undefined;
197
- docs?: string | undefined;
198
- }, {
199
- settings?: string | undefined;
200
- keys?: string | undefined;
201
- register?: string | undefined;
202
- docs?: string | undefined;
203
- }>>;
204
- warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
98
+ }, z.core.$strip>>;
99
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
100
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
101
  key: z.ZodString;
207
102
  label: z.ZodString;
208
103
  whenToUse: z.ZodString;
209
- tenantFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
104
+ tenantFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
210
105
  key: z.ZodString;
211
106
  label: z.ZodString;
212
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
107
+ type: z.ZodEnum<{
108
+ text: "text";
109
+ textarea: "textarea";
110
+ select: "select";
111
+ datetime: "datetime";
112
+ password: "password";
113
+ checkbox: "checkbox";
114
+ }>;
213
115
  required: z.ZodOptional<z.ZodBoolean>;
214
116
  placeholder: z.ZodOptional<z.ZodString>;
215
117
  helperMd: z.ZodOptional<z.ZodString>;
216
118
  secret: z.ZodOptional<z.ZodBoolean>;
217
119
  prefix: z.ZodOptional<z.ZodString>;
218
- }, "strip", z.ZodTypeAny, {
219
- key: string;
220
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
221
- label: string;
222
- required?: boolean | undefined;
223
- placeholder?: string | undefined;
224
- secret?: boolean | undefined;
225
- prefix?: string | undefined;
226
- helperMd?: string | undefined;
227
- }, {
228
- key: string;
229
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
230
- label: string;
231
- required?: boolean | undefined;
232
- placeholder?: string | undefined;
233
- secret?: boolean | undefined;
234
- prefix?: string | undefined;
235
- helperMd?: string | undefined;
236
- }>, {
237
- key: string;
238
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
239
- label: string;
240
- required?: boolean | undefined;
241
- placeholder?: string | undefined;
242
- secret?: boolean | undefined;
243
- prefix?: string | undefined;
244
- helperMd?: string | undefined;
245
- }, {
246
- key: string;
247
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
248
- label: string;
249
- required?: boolean | undefined;
250
- placeholder?: string | undefined;
251
- secret?: boolean | undefined;
252
- prefix?: string | undefined;
253
- helperMd?: string | undefined;
254
- }>, "many">>;
255
- }, "strip", z.ZodTypeAny, {
256
- key: string;
257
- label: string;
258
- whenToUse: string;
259
- tenantFields?: {
260
- key: string;
261
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
262
- label: string;
263
- required?: boolean | undefined;
264
- placeholder?: string | undefined;
265
- secret?: boolean | undefined;
266
- prefix?: string | undefined;
267
- helperMd?: string | undefined;
268
- }[] | undefined;
269
- }, {
270
- key: string;
271
- label: string;
272
- whenToUse: string;
273
- tenantFields?: {
274
- key: string;
275
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
276
- label: string;
277
- required?: boolean | undefined;
278
- placeholder?: string | undefined;
279
- secret?: boolean | undefined;
280
- prefix?: string | undefined;
281
- helperMd?: string | undefined;
282
- }[] | undefined;
283
- }>, "many">>;
284
- riskTier: z.ZodEnum<["S1", "S2", "S3", "S4"]>;
285
- requiredResourceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
286
- }, "strip", z.ZodTypeAny, {
287
- key: string;
288
- auth: "none" | "oauth" | "api_key";
289
- transport: "local_stdio" | "mcp_remote" | "rest_api";
290
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
291
- whenToUse: string;
292
- guidanceMd: string;
293
- riskTier: "S1" | "S2" | "S3" | "S4";
294
- warnings?: string[] | undefined;
295
- defaults?: {
296
- serverUrl?: string | undefined;
297
- discoveryUrl?: string | null | undefined;
298
- serviceHost?: string | undefined;
299
- templateKey?: string | undefined;
300
- authorizationEndpoint?: string | undefined;
301
- tokenEndpoint?: string | undefined;
302
- metadataUrl?: string | undefined;
303
- scopesHint?: string[] | undefined;
304
- } | undefined;
305
- tenantFields?: {
306
- key: string;
307
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
308
- label: string;
309
- required?: boolean | undefined;
310
- placeholder?: string | undefined;
311
- secret?: boolean | undefined;
312
- prefix?: string | undefined;
313
- helperMd?: string | undefined;
314
- }[] | undefined;
315
- extensionFields?: {
316
- key: string;
317
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
318
- label: string;
319
- required?: boolean | undefined;
320
- placeholder?: string | undefined;
321
- secret?: boolean | undefined;
322
- prefix?: string | undefined;
323
- helperMd?: string | undefined;
324
- }[] | undefined;
325
- credentialFields?: {
326
- key: string;
327
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
328
- label: string;
329
- required?: boolean | undefined;
330
- placeholder?: string | undefined;
331
- secret?: boolean | undefined;
332
- prefix?: string | undefined;
333
- helperMd?: string | undefined;
334
- }[] | undefined;
335
- keyPlacement?: {
336
- name: string;
337
- location: "env" | "header" | "query" | "body_json";
338
- prefix?: string | null | undefined;
339
- } | undefined;
340
- consoleLinks?: {
341
- settings?: string | undefined;
342
- keys?: string | undefined;
343
- register?: string | undefined;
344
- docs?: string | undefined;
345
- } | undefined;
346
- variants?: {
347
- key: string;
348
- label: string;
349
- whenToUse: string;
350
- tenantFields?: {
351
- key: string;
352
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
353
- label: string;
354
- required?: boolean | undefined;
355
- placeholder?: string | undefined;
356
- secret?: boolean | undefined;
357
- prefix?: string | undefined;
358
- helperMd?: string | undefined;
359
- }[] | undefined;
360
- }[] | undefined;
361
- requiredResourceFilters?: string[] | undefined;
362
- }, {
363
- key: string;
364
- auth: "none" | "oauth" | "api_key";
365
- transport: "local_stdio" | "mcp_remote" | "rest_api";
366
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
367
- whenToUse: string;
368
- guidanceMd: string;
369
- riskTier: "S1" | "S2" | "S3" | "S4";
370
- warnings?: string[] | undefined;
371
- defaults?: {
372
- serverUrl?: string | undefined;
373
- discoveryUrl?: string | null | undefined;
374
- serviceHost?: string | undefined;
375
- templateKey?: string | undefined;
376
- authorizationEndpoint?: string | undefined;
377
- tokenEndpoint?: string | undefined;
378
- metadataUrl?: string | undefined;
379
- scopesHint?: string[] | undefined;
380
- } | undefined;
381
- tenantFields?: {
382
- key: string;
383
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
384
- label: string;
385
- required?: boolean | undefined;
386
- placeholder?: string | undefined;
387
- secret?: boolean | undefined;
388
- prefix?: string | undefined;
389
- helperMd?: string | undefined;
390
- }[] | undefined;
391
- extensionFields?: {
392
- key: string;
393
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
394
- label: string;
395
- required?: boolean | undefined;
396
- placeholder?: string | undefined;
397
- secret?: boolean | undefined;
398
- prefix?: string | undefined;
399
- helperMd?: string | undefined;
400
- }[] | undefined;
401
- credentialFields?: {
402
- key: string;
403
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
404
- label: string;
405
- required?: boolean | undefined;
406
- placeholder?: string | undefined;
407
- secret?: boolean | undefined;
408
- prefix?: string | undefined;
409
- helperMd?: string | undefined;
410
- }[] | undefined;
411
- keyPlacement?: {
412
- name: string;
413
- location: "env" | "header" | "query" | "body_json";
414
- prefix?: string | null | undefined;
415
- } | undefined;
416
- consoleLinks?: {
417
- settings?: string | undefined;
418
- keys?: string | undefined;
419
- register?: string | undefined;
420
- docs?: string | undefined;
421
- } | undefined;
422
- variants?: {
423
- key: string;
424
- label: string;
425
- whenToUse: string;
426
- tenantFields?: {
427
- key: string;
428
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
429
- label: string;
430
- required?: boolean | undefined;
431
- placeholder?: string | undefined;
432
- secret?: boolean | undefined;
433
- prefix?: string | undefined;
434
- helperMd?: string | undefined;
435
- }[] | undefined;
436
- }[] | undefined;
437
- requiredResourceFilters?: string[] | undefined;
438
- }>, {
439
- key: string;
440
- auth: "none" | "oauth" | "api_key";
441
- transport: "local_stdio" | "mcp_remote" | "rest_api";
442
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
443
- whenToUse: string;
444
- guidanceMd: string;
445
- riskTier: "S1" | "S2" | "S3" | "S4";
446
- warnings?: string[] | undefined;
447
- defaults?: {
448
- serverUrl?: string | undefined;
449
- discoveryUrl?: string | null | undefined;
450
- serviceHost?: string | undefined;
451
- templateKey?: string | undefined;
452
- authorizationEndpoint?: string | undefined;
453
- tokenEndpoint?: string | undefined;
454
- metadataUrl?: string | undefined;
455
- scopesHint?: string[] | undefined;
456
- } | undefined;
457
- tenantFields?: {
458
- key: string;
459
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
460
- label: string;
461
- required?: boolean | undefined;
462
- placeholder?: string | undefined;
463
- secret?: boolean | undefined;
464
- prefix?: string | undefined;
465
- helperMd?: string | undefined;
466
- }[] | undefined;
467
- extensionFields?: {
468
- key: string;
469
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
470
- label: string;
471
- required?: boolean | undefined;
472
- placeholder?: string | undefined;
473
- secret?: boolean | undefined;
474
- prefix?: string | undefined;
475
- helperMd?: string | undefined;
476
- }[] | undefined;
477
- credentialFields?: {
478
- key: string;
479
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
480
- label: string;
481
- required?: boolean | undefined;
482
- placeholder?: string | undefined;
483
- secret?: boolean | undefined;
484
- prefix?: string | undefined;
485
- helperMd?: string | undefined;
486
- }[] | undefined;
487
- keyPlacement?: {
488
- name: string;
489
- location: "env" | "header" | "query" | "body_json";
490
- prefix?: string | null | undefined;
491
- } | undefined;
492
- consoleLinks?: {
493
- settings?: string | undefined;
494
- keys?: string | undefined;
495
- register?: string | undefined;
496
- docs?: string | undefined;
497
- } | undefined;
498
- variants?: {
499
- key: string;
500
- label: string;
501
- whenToUse: string;
502
- tenantFields?: {
503
- key: string;
504
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
505
- label: string;
506
- required?: boolean | undefined;
507
- placeholder?: string | undefined;
508
- secret?: boolean | undefined;
509
- prefix?: string | undefined;
510
- helperMd?: string | undefined;
511
- }[] | undefined;
512
- }[] | undefined;
513
- requiredResourceFilters?: string[] | undefined;
514
- }, {
515
- key: string;
516
- auth: "none" | "oauth" | "api_key";
517
- transport: "local_stdio" | "mcp_remote" | "rest_api";
518
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
519
- whenToUse: string;
520
- guidanceMd: string;
521
- riskTier: "S1" | "S2" | "S3" | "S4";
522
- warnings?: string[] | undefined;
523
- defaults?: {
524
- serverUrl?: string | undefined;
525
- discoveryUrl?: string | null | undefined;
526
- serviceHost?: string | undefined;
527
- templateKey?: string | undefined;
528
- authorizationEndpoint?: string | undefined;
529
- tokenEndpoint?: string | undefined;
530
- metadataUrl?: string | undefined;
531
- scopesHint?: string[] | undefined;
532
- } | undefined;
533
- tenantFields?: {
534
- key: string;
535
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
536
- label: string;
537
- required?: boolean | undefined;
538
- placeholder?: string | undefined;
539
- secret?: boolean | undefined;
540
- prefix?: string | undefined;
541
- helperMd?: string | undefined;
542
- }[] | undefined;
543
- extensionFields?: {
544
- key: string;
545
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
546
- label: string;
547
- required?: boolean | undefined;
548
- placeholder?: string | undefined;
549
- secret?: boolean | undefined;
550
- prefix?: string | undefined;
551
- helperMd?: string | undefined;
552
- }[] | undefined;
553
- credentialFields?: {
554
- key: string;
555
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
556
- label: string;
557
- required?: boolean | undefined;
558
- placeholder?: string | undefined;
559
- secret?: boolean | undefined;
560
- prefix?: string | undefined;
561
- helperMd?: string | undefined;
562
- }[] | undefined;
563
- keyPlacement?: {
564
- name: string;
565
- location: "env" | "header" | "query" | "body_json";
566
- prefix?: string | null | undefined;
567
- } | undefined;
568
- consoleLinks?: {
569
- settings?: string | undefined;
570
- keys?: string | undefined;
571
- register?: string | undefined;
572
- docs?: string | undefined;
573
- } | undefined;
574
- variants?: {
575
- key: string;
576
- label: string;
577
- whenToUse: string;
578
- tenantFields?: {
579
- key: string;
580
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
581
- label: string;
582
- required?: boolean | undefined;
583
- placeholder?: string | undefined;
584
- secret?: boolean | undefined;
585
- prefix?: string | undefined;
586
- helperMd?: string | undefined;
587
- }[] | undefined;
588
- }[] | undefined;
589
- requiredResourceFilters?: string[] | undefined;
590
- }>;
120
+ }, z.core.$strip>>>;
121
+ }, z.core.$strip>>>;
122
+ riskTier: z.ZodEnum<{
123
+ S1: "S1";
124
+ S2: "S2";
125
+ S3: "S3";
126
+ S4: "S4";
127
+ }>;
128
+ requiredResourceFilters: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
+ }, z.core.$strip>;
591
130
  export declare const appDefinitionSchema: z.ZodObject<{
592
131
  schemaVersion: z.ZodLiteral<1>;
593
132
  slug: z.ZodString;
594
133
  name: z.ZodString;
595
134
  description: z.ZodString;
596
- categories: z.ZodArray<z.ZodEnum<["ai", "analytics", "commerce", "communication", "content", "data", "developer", "productivity", "other"]>, "many">;
135
+ categories: z.ZodArray<z.ZodEnum<{
136
+ content: "content";
137
+ data: "data";
138
+ ai: "ai";
139
+ analytics: "analytics";
140
+ commerce: "commerce";
141
+ communication: "communication";
142
+ developer: "developer";
143
+ productivity: "productivity";
144
+ other: "other";
145
+ }>>;
597
146
  featured: z.ZodOptional<z.ZodBoolean>;
598
147
  branding: z.ZodObject<{
599
148
  logoUrl: z.ZodString;
600
149
  darkLogoUrl: z.ZodOptional<z.ZodString>;
601
150
  backgroundColor: z.ZodOptional<z.ZodString>;
602
151
  accentColor: z.ZodOptional<z.ZodString>;
603
- }, "strip", z.ZodTypeAny, {
604
- logoUrl: string;
605
- darkLogoUrl?: string | undefined;
606
- backgroundColor?: string | undefined;
607
- accentColor?: string | undefined;
608
- }, {
609
- logoUrl: string;
610
- darkLogoUrl?: string | undefined;
611
- backgroundColor?: string | undefined;
612
- accentColor?: string | undefined;
613
- }>;
614
- urlPatterns: z.ZodArray<z.ZodString, "many">;
152
+ }, z.core.$strip>;
153
+ urlPatterns: z.ZodArray<z.ZodString>;
615
154
  docsUrl: z.ZodOptional<z.ZodString>;
616
- redirectConstraints: z.ZodOptional<z.ZodEnum<["https-or-loopback-http"]>>;
617
- methods: z.ZodArray<z.ZodEffects<z.ZodObject<{
155
+ redirectConstraints: z.ZodOptional<z.ZodEnum<{
156
+ "https-or-loopback-http": "https-or-loopback-http";
157
+ }>>;
158
+ methods: z.ZodArray<z.ZodObject<{
618
159
  key: z.ZodString;
619
- transport: z.ZodEnum<["mcp_remote", "rest_api", "local_stdio"]>;
620
- auth: z.ZodEnum<["oauth", "api_key", "none"]>;
621
- ownershipModes: z.ZodArray<z.ZodEnum<["platform_shared", "platform_provisioned", "customer", "dcr"]>, "many">;
160
+ transport: z.ZodEnum<{
161
+ local_stdio: "local_stdio";
162
+ mcp_remote: "mcp_remote";
163
+ rest_api: "rest_api";
164
+ }>;
165
+ auth: z.ZodEnum<{
166
+ none: "none";
167
+ oauth: "oauth";
168
+ api_key: "api_key";
169
+ }>;
170
+ ownershipModes: z.ZodArray<z.ZodEnum<{
171
+ platform_shared: "platform_shared";
172
+ platform_provisioned: "platform_provisioned";
173
+ customer: "customer";
174
+ dcr: "dcr";
175
+ }>>;
622
176
  whenToUse: z.ZodString;
623
177
  defaults: z.ZodOptional<z.ZodObject<{
624
178
  serverUrl: z.ZodOptional<z.ZodString>;
@@ -628,853 +182,166 @@ export declare const appDefinitionSchema: z.ZodObject<{
628
182
  authorizationEndpoint: z.ZodOptional<z.ZodString>;
629
183
  tokenEndpoint: z.ZodOptional<z.ZodString>;
630
184
  metadataUrl: z.ZodOptional<z.ZodString>;
631
- scopesHint: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
632
- }, "strip", z.ZodTypeAny, {
633
- serverUrl?: string | undefined;
634
- discoveryUrl?: string | null | undefined;
635
- serviceHost?: string | undefined;
636
- templateKey?: string | undefined;
637
- authorizationEndpoint?: string | undefined;
638
- tokenEndpoint?: string | undefined;
639
- metadataUrl?: string | undefined;
640
- scopesHint?: string[] | undefined;
641
- }, {
642
- serverUrl?: string | undefined;
643
- discoveryUrl?: string | null | undefined;
644
- serviceHost?: string | undefined;
645
- templateKey?: string | undefined;
646
- authorizationEndpoint?: string | undefined;
647
- tokenEndpoint?: string | undefined;
648
- metadataUrl?: string | undefined;
649
- scopesHint?: string[] | undefined;
650
- }>>;
651
- tenantFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
185
+ scopesHint: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
+ }, z.core.$strip>>;
187
+ tenantFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
652
188
  key: z.ZodString;
653
189
  label: z.ZodString;
654
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
190
+ type: z.ZodEnum<{
191
+ text: "text";
192
+ textarea: "textarea";
193
+ select: "select";
194
+ datetime: "datetime";
195
+ password: "password";
196
+ checkbox: "checkbox";
197
+ }>;
655
198
  required: z.ZodOptional<z.ZodBoolean>;
656
199
  placeholder: z.ZodOptional<z.ZodString>;
657
200
  helperMd: z.ZodOptional<z.ZodString>;
658
201
  secret: z.ZodOptional<z.ZodBoolean>;
659
202
  prefix: z.ZodOptional<z.ZodString>;
660
- }, "strip", z.ZodTypeAny, {
661
- key: string;
662
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
663
- label: string;
664
- required?: boolean | undefined;
665
- placeholder?: string | undefined;
666
- secret?: boolean | undefined;
667
- prefix?: string | undefined;
668
- helperMd?: string | undefined;
669
- }, {
670
- key: string;
671
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
672
- label: string;
673
- required?: boolean | undefined;
674
- placeholder?: string | undefined;
675
- secret?: boolean | undefined;
676
- prefix?: string | undefined;
677
- helperMd?: string | undefined;
678
- }>, {
679
- key: string;
680
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
681
- label: string;
682
- required?: boolean | undefined;
683
- placeholder?: string | undefined;
684
- secret?: boolean | undefined;
685
- prefix?: string | undefined;
686
- helperMd?: string | undefined;
687
- }, {
688
- key: string;
689
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
690
- label: string;
691
- required?: boolean | undefined;
692
- placeholder?: string | undefined;
693
- secret?: boolean | undefined;
694
- prefix?: string | undefined;
695
- helperMd?: string | undefined;
696
- }>, "many">>;
697
- extensionFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
203
+ }, z.core.$strip>>>;
204
+ extensionFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
698
205
  key: z.ZodString;
699
206
  label: z.ZodString;
700
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
207
+ type: z.ZodEnum<{
208
+ text: "text";
209
+ textarea: "textarea";
210
+ select: "select";
211
+ datetime: "datetime";
212
+ password: "password";
213
+ checkbox: "checkbox";
214
+ }>;
701
215
  required: z.ZodOptional<z.ZodBoolean>;
702
216
  placeholder: z.ZodOptional<z.ZodString>;
703
217
  helperMd: z.ZodOptional<z.ZodString>;
704
218
  secret: z.ZodOptional<z.ZodBoolean>;
705
219
  prefix: z.ZodOptional<z.ZodString>;
706
- }, "strip", z.ZodTypeAny, {
707
- key: string;
708
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
709
- label: string;
710
- required?: boolean | undefined;
711
- placeholder?: string | undefined;
712
- secret?: boolean | undefined;
713
- prefix?: string | undefined;
714
- helperMd?: string | undefined;
715
- }, {
716
- key: string;
717
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
718
- label: string;
719
- required?: boolean | undefined;
720
- placeholder?: string | undefined;
721
- secret?: boolean | undefined;
722
- prefix?: string | undefined;
723
- helperMd?: string | undefined;
724
- }>, {
725
- key: string;
726
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
727
- label: string;
728
- required?: boolean | undefined;
729
- placeholder?: string | undefined;
730
- secret?: boolean | undefined;
731
- prefix?: string | undefined;
732
- helperMd?: string | undefined;
733
- }, {
734
- key: string;
735
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
736
- label: string;
737
- required?: boolean | undefined;
738
- placeholder?: string | undefined;
739
- secret?: boolean | undefined;
740
- prefix?: string | undefined;
741
- helperMd?: string | undefined;
742
- }>, "many">>;
743
- credentialFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
220
+ }, z.core.$strip>>>;
221
+ credentialFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
744
222
  key: z.ZodString;
745
223
  label: z.ZodString;
746
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
224
+ type: z.ZodEnum<{
225
+ text: "text";
226
+ textarea: "textarea";
227
+ select: "select";
228
+ datetime: "datetime";
229
+ password: "password";
230
+ checkbox: "checkbox";
231
+ }>;
747
232
  required: z.ZodOptional<z.ZodBoolean>;
748
233
  placeholder: z.ZodOptional<z.ZodString>;
749
234
  helperMd: z.ZodOptional<z.ZodString>;
750
235
  secret: z.ZodOptional<z.ZodBoolean>;
751
236
  prefix: z.ZodOptional<z.ZodString>;
752
- }, "strip", z.ZodTypeAny, {
753
- key: string;
754
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
755
- label: string;
756
- required?: boolean | undefined;
757
- placeholder?: string | undefined;
758
- secret?: boolean | undefined;
759
- prefix?: string | undefined;
760
- helperMd?: string | undefined;
761
- }, {
762
- key: string;
763
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
764
- label: string;
765
- required?: boolean | undefined;
766
- placeholder?: string | undefined;
767
- secret?: boolean | undefined;
768
- prefix?: string | undefined;
769
- helperMd?: string | undefined;
770
- }>, {
771
- key: string;
772
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
773
- label: string;
774
- required?: boolean | undefined;
775
- placeholder?: string | undefined;
776
- secret?: boolean | undefined;
777
- prefix?: string | undefined;
778
- helperMd?: string | undefined;
779
- }, {
780
- key: string;
781
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
782
- label: string;
783
- required?: boolean | undefined;
784
- placeholder?: string | undefined;
785
- secret?: boolean | undefined;
786
- prefix?: string | undefined;
787
- helperMd?: string | undefined;
788
- }>, "many">>;
237
+ }, z.core.$strip>>>;
789
238
  keyPlacement: z.ZodOptional<z.ZodObject<{
790
- location: z.ZodEnum<["header", "query", "body_json", "env"]>;
239
+ location: z.ZodEnum<{
240
+ env: "env";
241
+ header: "header";
242
+ query: "query";
243
+ body_json: "body_json";
244
+ }>;
791
245
  name: z.ZodString;
792
246
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
793
- }, "strip", z.ZodTypeAny, {
794
- name: string;
795
- location: "env" | "header" | "query" | "body_json";
796
- prefix?: string | null | undefined;
797
- }, {
798
- name: string;
799
- location: "env" | "header" | "query" | "body_json";
800
- prefix?: string | null | undefined;
801
- }>>;
247
+ }, z.core.$strip>>;
802
248
  guidanceMd: z.ZodString;
803
249
  consoleLinks: z.ZodOptional<z.ZodObject<{
804
250
  register: z.ZodOptional<z.ZodString>;
805
251
  keys: z.ZodOptional<z.ZodString>;
806
252
  settings: z.ZodOptional<z.ZodString>;
807
253
  docs: z.ZodOptional<z.ZodString>;
808
- }, "strip", z.ZodTypeAny, {
809
- settings?: string | undefined;
810
- keys?: string | undefined;
811
- register?: string | undefined;
812
- docs?: string | undefined;
813
- }, {
814
- settings?: string | undefined;
815
- keys?: string | undefined;
816
- register?: string | undefined;
817
- docs?: string | undefined;
818
- }>>;
819
- warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
254
+ }, z.core.$strip>>;
255
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
820
256
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
821
257
  key: z.ZodString;
822
258
  label: z.ZodString;
823
259
  whenToUse: z.ZodString;
824
- tenantFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
260
+ tenantFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
825
261
  key: z.ZodString;
826
262
  label: z.ZodString;
827
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
263
+ type: z.ZodEnum<{
264
+ text: "text";
265
+ textarea: "textarea";
266
+ select: "select";
267
+ datetime: "datetime";
268
+ password: "password";
269
+ checkbox: "checkbox";
270
+ }>;
828
271
  required: z.ZodOptional<z.ZodBoolean>;
829
272
  placeholder: z.ZodOptional<z.ZodString>;
830
273
  helperMd: z.ZodOptional<z.ZodString>;
831
274
  secret: z.ZodOptional<z.ZodBoolean>;
832
275
  prefix: z.ZodOptional<z.ZodString>;
833
- }, "strip", z.ZodTypeAny, {
834
- key: string;
835
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
836
- label: string;
837
- required?: boolean | undefined;
838
- placeholder?: string | undefined;
839
- secret?: boolean | undefined;
840
- prefix?: string | undefined;
841
- helperMd?: string | undefined;
842
- }, {
843
- key: string;
844
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
845
- label: string;
846
- required?: boolean | undefined;
847
- placeholder?: string | undefined;
848
- secret?: boolean | undefined;
849
- prefix?: string | undefined;
850
- helperMd?: string | undefined;
851
- }>, {
852
- key: string;
853
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
854
- label: string;
855
- required?: boolean | undefined;
856
- placeholder?: string | undefined;
857
- secret?: boolean | undefined;
858
- prefix?: string | undefined;
859
- helperMd?: string | undefined;
860
- }, {
861
- key: string;
862
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
863
- label: string;
864
- required?: boolean | undefined;
865
- placeholder?: string | undefined;
866
- secret?: boolean | undefined;
867
- prefix?: string | undefined;
868
- helperMd?: string | undefined;
869
- }>, "many">>;
870
- }, "strip", z.ZodTypeAny, {
871
- key: string;
872
- label: string;
873
- whenToUse: string;
874
- tenantFields?: {
875
- key: string;
876
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
877
- label: string;
878
- required?: boolean | undefined;
879
- placeholder?: string | undefined;
880
- secret?: boolean | undefined;
881
- prefix?: string | undefined;
882
- helperMd?: string | undefined;
883
- }[] | undefined;
884
- }, {
885
- key: string;
886
- label: string;
887
- whenToUse: string;
888
- tenantFields?: {
889
- key: string;
890
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
891
- label: string;
892
- required?: boolean | undefined;
893
- placeholder?: string | undefined;
894
- secret?: boolean | undefined;
895
- prefix?: string | undefined;
896
- helperMd?: string | undefined;
897
- }[] | undefined;
898
- }>, "many">>;
899
- riskTier: z.ZodEnum<["S1", "S2", "S3", "S4"]>;
900
- requiredResourceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
901
- }, "strip", z.ZodTypeAny, {
902
- key: string;
903
- auth: "none" | "oauth" | "api_key";
904
- transport: "local_stdio" | "mcp_remote" | "rest_api";
905
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
906
- whenToUse: string;
907
- guidanceMd: string;
908
- riskTier: "S1" | "S2" | "S3" | "S4";
909
- warnings?: string[] | undefined;
910
- defaults?: {
911
- serverUrl?: string | undefined;
912
- discoveryUrl?: string | null | undefined;
913
- serviceHost?: string | undefined;
914
- templateKey?: string | undefined;
915
- authorizationEndpoint?: string | undefined;
916
- tokenEndpoint?: string | undefined;
917
- metadataUrl?: string | undefined;
918
- scopesHint?: string[] | undefined;
919
- } | undefined;
920
- tenantFields?: {
921
- key: string;
922
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
923
- label: string;
924
- required?: boolean | undefined;
925
- placeholder?: string | undefined;
926
- secret?: boolean | undefined;
927
- prefix?: string | undefined;
928
- helperMd?: string | undefined;
929
- }[] | undefined;
930
- extensionFields?: {
931
- key: string;
932
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
933
- label: string;
934
- required?: boolean | undefined;
935
- placeholder?: string | undefined;
936
- secret?: boolean | undefined;
937
- prefix?: string | undefined;
938
- helperMd?: string | undefined;
939
- }[] | undefined;
940
- credentialFields?: {
941
- key: string;
942
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
943
- label: string;
944
- required?: boolean | undefined;
945
- placeholder?: string | undefined;
946
- secret?: boolean | undefined;
947
- prefix?: string | undefined;
948
- helperMd?: string | undefined;
949
- }[] | undefined;
950
- keyPlacement?: {
951
- name: string;
952
- location: "env" | "header" | "query" | "body_json";
953
- prefix?: string | null | undefined;
954
- } | undefined;
955
- consoleLinks?: {
956
- settings?: string | undefined;
957
- keys?: string | undefined;
958
- register?: string | undefined;
959
- docs?: string | undefined;
960
- } | undefined;
961
- variants?: {
962
- key: string;
963
- label: string;
964
- whenToUse: string;
965
- tenantFields?: {
966
- key: string;
967
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
968
- label: string;
969
- required?: boolean | undefined;
970
- placeholder?: string | undefined;
971
- secret?: boolean | undefined;
972
- prefix?: string | undefined;
973
- helperMd?: string | undefined;
974
- }[] | undefined;
975
- }[] | undefined;
976
- requiredResourceFilters?: string[] | undefined;
977
- }, {
978
- key: string;
979
- auth: "none" | "oauth" | "api_key";
980
- transport: "local_stdio" | "mcp_remote" | "rest_api";
981
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
982
- whenToUse: string;
983
- guidanceMd: string;
984
- riskTier: "S1" | "S2" | "S3" | "S4";
985
- warnings?: string[] | undefined;
986
- defaults?: {
987
- serverUrl?: string | undefined;
988
- discoveryUrl?: string | null | undefined;
989
- serviceHost?: string | undefined;
990
- templateKey?: string | undefined;
991
- authorizationEndpoint?: string | undefined;
992
- tokenEndpoint?: string | undefined;
993
- metadataUrl?: string | undefined;
994
- scopesHint?: string[] | undefined;
995
- } | undefined;
996
- tenantFields?: {
997
- key: string;
998
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
999
- label: string;
1000
- required?: boolean | undefined;
1001
- placeholder?: string | undefined;
1002
- secret?: boolean | undefined;
1003
- prefix?: string | undefined;
1004
- helperMd?: string | undefined;
1005
- }[] | undefined;
1006
- extensionFields?: {
1007
- key: string;
1008
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1009
- label: string;
1010
- required?: boolean | undefined;
1011
- placeholder?: string | undefined;
1012
- secret?: boolean | undefined;
1013
- prefix?: string | undefined;
1014
- helperMd?: string | undefined;
1015
- }[] | undefined;
1016
- credentialFields?: {
1017
- key: string;
1018
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1019
- label: string;
1020
- required?: boolean | undefined;
1021
- placeholder?: string | undefined;
1022
- secret?: boolean | undefined;
1023
- prefix?: string | undefined;
1024
- helperMd?: string | undefined;
1025
- }[] | undefined;
1026
- keyPlacement?: {
1027
- name: string;
1028
- location: "env" | "header" | "query" | "body_json";
1029
- prefix?: string | null | undefined;
1030
- } | undefined;
1031
- consoleLinks?: {
1032
- settings?: string | undefined;
1033
- keys?: string | undefined;
1034
- register?: string | undefined;
1035
- docs?: string | undefined;
1036
- } | undefined;
1037
- variants?: {
1038
- key: string;
1039
- label: string;
1040
- whenToUse: string;
1041
- tenantFields?: {
1042
- key: string;
1043
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1044
- label: string;
1045
- required?: boolean | undefined;
1046
- placeholder?: string | undefined;
1047
- secret?: boolean | undefined;
1048
- prefix?: string | undefined;
1049
- helperMd?: string | undefined;
1050
- }[] | undefined;
1051
- }[] | undefined;
1052
- requiredResourceFilters?: string[] | undefined;
1053
- }>, {
1054
- key: string;
1055
- auth: "none" | "oauth" | "api_key";
1056
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1057
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1058
- whenToUse: string;
1059
- guidanceMd: string;
1060
- riskTier: "S1" | "S2" | "S3" | "S4";
1061
- warnings?: string[] | undefined;
1062
- defaults?: {
1063
- serverUrl?: string | undefined;
1064
- discoveryUrl?: string | null | undefined;
1065
- serviceHost?: string | undefined;
1066
- templateKey?: string | undefined;
1067
- authorizationEndpoint?: string | undefined;
1068
- tokenEndpoint?: string | undefined;
1069
- metadataUrl?: string | undefined;
1070
- scopesHint?: string[] | undefined;
1071
- } | undefined;
1072
- tenantFields?: {
1073
- key: string;
1074
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1075
- label: string;
1076
- required?: boolean | undefined;
1077
- placeholder?: string | undefined;
1078
- secret?: boolean | undefined;
1079
- prefix?: string | undefined;
1080
- helperMd?: string | undefined;
1081
- }[] | undefined;
1082
- extensionFields?: {
1083
- key: string;
1084
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1085
- label: string;
1086
- required?: boolean | undefined;
1087
- placeholder?: string | undefined;
1088
- secret?: boolean | undefined;
1089
- prefix?: string | undefined;
1090
- helperMd?: string | undefined;
1091
- }[] | undefined;
1092
- credentialFields?: {
1093
- key: string;
1094
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1095
- label: string;
1096
- required?: boolean | undefined;
1097
- placeholder?: string | undefined;
1098
- secret?: boolean | undefined;
1099
- prefix?: string | undefined;
1100
- helperMd?: string | undefined;
1101
- }[] | undefined;
1102
- keyPlacement?: {
1103
- name: string;
1104
- location: "env" | "header" | "query" | "body_json";
1105
- prefix?: string | null | undefined;
1106
- } | undefined;
1107
- consoleLinks?: {
1108
- settings?: string | undefined;
1109
- keys?: string | undefined;
1110
- register?: string | undefined;
1111
- docs?: string | undefined;
1112
- } | undefined;
1113
- variants?: {
1114
- key: string;
1115
- label: string;
1116
- whenToUse: string;
1117
- tenantFields?: {
1118
- key: string;
1119
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1120
- label: string;
1121
- required?: boolean | undefined;
1122
- placeholder?: string | undefined;
1123
- secret?: boolean | undefined;
1124
- prefix?: string | undefined;
1125
- helperMd?: string | undefined;
1126
- }[] | undefined;
1127
- }[] | undefined;
1128
- requiredResourceFilters?: string[] | undefined;
1129
- }, {
1130
- key: string;
1131
- auth: "none" | "oauth" | "api_key";
1132
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1133
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1134
- whenToUse: string;
1135
- guidanceMd: string;
1136
- riskTier: "S1" | "S2" | "S3" | "S4";
1137
- warnings?: string[] | undefined;
1138
- defaults?: {
1139
- serverUrl?: string | undefined;
1140
- discoveryUrl?: string | null | undefined;
1141
- serviceHost?: string | undefined;
1142
- templateKey?: string | undefined;
1143
- authorizationEndpoint?: string | undefined;
1144
- tokenEndpoint?: string | undefined;
1145
- metadataUrl?: string | undefined;
1146
- scopesHint?: string[] | undefined;
1147
- } | undefined;
1148
- tenantFields?: {
1149
- key: string;
1150
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1151
- label: string;
1152
- required?: boolean | undefined;
1153
- placeholder?: string | undefined;
1154
- secret?: boolean | undefined;
1155
- prefix?: string | undefined;
1156
- helperMd?: string | undefined;
1157
- }[] | undefined;
1158
- extensionFields?: {
1159
- key: string;
1160
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1161
- label: string;
1162
- required?: boolean | undefined;
1163
- placeholder?: string | undefined;
1164
- secret?: boolean | undefined;
1165
- prefix?: string | undefined;
1166
- helperMd?: string | undefined;
1167
- }[] | undefined;
1168
- credentialFields?: {
1169
- key: string;
1170
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1171
- label: string;
1172
- required?: boolean | undefined;
1173
- placeholder?: string | undefined;
1174
- secret?: boolean | undefined;
1175
- prefix?: string | undefined;
1176
- helperMd?: string | undefined;
1177
- }[] | undefined;
1178
- keyPlacement?: {
1179
- name: string;
1180
- location: "env" | "header" | "query" | "body_json";
1181
- prefix?: string | null | undefined;
1182
- } | undefined;
1183
- consoleLinks?: {
1184
- settings?: string | undefined;
1185
- keys?: string | undefined;
1186
- register?: string | undefined;
1187
- docs?: string | undefined;
1188
- } | undefined;
1189
- variants?: {
1190
- key: string;
1191
- label: string;
1192
- whenToUse: string;
1193
- tenantFields?: {
1194
- key: string;
1195
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1196
- label: string;
1197
- required?: boolean | undefined;
1198
- placeholder?: string | undefined;
1199
- secret?: boolean | undefined;
1200
- prefix?: string | undefined;
1201
- helperMd?: string | undefined;
1202
- }[] | undefined;
1203
- }[] | undefined;
1204
- requiredResourceFilters?: string[] | undefined;
1205
- }>, "many">;
276
+ }, z.core.$strip>>>;
277
+ }, z.core.$strip>>>;
278
+ riskTier: z.ZodEnum<{
279
+ S1: "S1";
280
+ S2: "S2";
281
+ S3: "S3";
282
+ S4: "S4";
283
+ }>;
284
+ requiredResourceFilters: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
+ }, z.core.$strip>>;
1206
286
  suggestable: z.ZodOptional<z.ZodBoolean>;
1207
287
  availability: z.ZodOptional<z.ZodObject<{
1208
288
  available: z.ZodBoolean;
1209
289
  reason: z.ZodOptional<z.ZodString>;
1210
290
  robotEmail: z.ZodOptional<z.ZodString>;
1211
- }, "strip", z.ZodTypeAny, {
1212
- available: boolean;
1213
- reason?: string | undefined;
1214
- robotEmail?: string | undefined;
1215
- }, {
1216
- available: boolean;
1217
- reason?: string | undefined;
1218
- robotEmail?: string | undefined;
1219
- }>>;
291
+ }, z.core.$strip>>;
1220
292
  ownershipAvailability: z.ZodOptional<z.ZodObject<{
1221
293
  platform_shared: z.ZodOptional<z.ZodBoolean>;
1222
294
  platform_provisioned: z.ZodOptional<z.ZodBoolean>;
1223
295
  customer: z.ZodOptional<z.ZodBoolean>;
1224
296
  dcr: z.ZodOptional<z.ZodBoolean>;
1225
- }, "strip", z.ZodTypeAny, {
1226
- platform_shared?: boolean | undefined;
1227
- platform_provisioned?: boolean | undefined;
1228
- customer?: boolean | undefined;
1229
- dcr?: boolean | undefined;
1230
- }, {
1231
- platform_shared?: boolean | undefined;
1232
- platform_provisioned?: boolean | undefined;
1233
- customer?: boolean | undefined;
1234
- dcr?: boolean | undefined;
1235
- }>>;
1236
- }, "strip", z.ZodTypeAny, {
1237
- description: string;
1238
- name: string;
1239
- slug: string;
1240
- urlPatterns: string[];
1241
- categories: ("content" | "ai" | "analytics" | "commerce" | "communication" | "data" | "developer" | "productivity" | "other")[];
1242
- schemaVersion: 1;
1243
- branding: {
1244
- logoUrl: string;
1245
- darkLogoUrl?: string | undefined;
1246
- backgroundColor?: string | undefined;
1247
- accentColor?: string | undefined;
1248
- };
1249
- methods: {
1250
- key: string;
1251
- auth: "none" | "oauth" | "api_key";
1252
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1253
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1254
- whenToUse: string;
1255
- guidanceMd: string;
1256
- riskTier: "S1" | "S2" | "S3" | "S4";
1257
- warnings?: string[] | undefined;
1258
- defaults?: {
1259
- serverUrl?: string | undefined;
1260
- discoveryUrl?: string | null | undefined;
1261
- serviceHost?: string | undefined;
1262
- templateKey?: string | undefined;
1263
- authorizationEndpoint?: string | undefined;
1264
- tokenEndpoint?: string | undefined;
1265
- metadataUrl?: string | undefined;
1266
- scopesHint?: string[] | undefined;
1267
- } | undefined;
1268
- tenantFields?: {
1269
- key: string;
1270
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1271
- label: string;
1272
- required?: boolean | undefined;
1273
- placeholder?: string | undefined;
1274
- secret?: boolean | undefined;
1275
- prefix?: string | undefined;
1276
- helperMd?: string | undefined;
1277
- }[] | undefined;
1278
- extensionFields?: {
1279
- key: string;
1280
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1281
- label: string;
1282
- required?: boolean | undefined;
1283
- placeholder?: string | undefined;
1284
- secret?: boolean | undefined;
1285
- prefix?: string | undefined;
1286
- helperMd?: string | undefined;
1287
- }[] | undefined;
1288
- credentialFields?: {
1289
- key: string;
1290
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1291
- label: string;
1292
- required?: boolean | undefined;
1293
- placeholder?: string | undefined;
1294
- secret?: boolean | undefined;
1295
- prefix?: string | undefined;
1296
- helperMd?: string | undefined;
1297
- }[] | undefined;
1298
- keyPlacement?: {
1299
- name: string;
1300
- location: "env" | "header" | "query" | "body_json";
1301
- prefix?: string | null | undefined;
1302
- } | undefined;
1303
- consoleLinks?: {
1304
- settings?: string | undefined;
1305
- keys?: string | undefined;
1306
- register?: string | undefined;
1307
- docs?: string | undefined;
1308
- } | undefined;
1309
- variants?: {
1310
- key: string;
1311
- label: string;
1312
- whenToUse: string;
1313
- tenantFields?: {
1314
- key: string;
1315
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1316
- label: string;
1317
- required?: boolean | undefined;
1318
- placeholder?: string | undefined;
1319
- secret?: boolean | undefined;
1320
- prefix?: string | undefined;
1321
- helperMd?: string | undefined;
1322
- }[] | undefined;
1323
- }[] | undefined;
1324
- requiredResourceFilters?: string[] | undefined;
1325
- }[];
1326
- featured?: boolean | undefined;
1327
- docsUrl?: string | undefined;
1328
- redirectConstraints?: "https-or-loopback-http" | undefined;
1329
- suggestable?: boolean | undefined;
1330
- availability?: {
1331
- available: boolean;
1332
- reason?: string | undefined;
1333
- robotEmail?: string | undefined;
1334
- } | undefined;
1335
- ownershipAvailability?: {
1336
- platform_shared?: boolean | undefined;
1337
- platform_provisioned?: boolean | undefined;
1338
- customer?: boolean | undefined;
1339
- dcr?: boolean | undefined;
1340
- } | undefined;
1341
- }, {
1342
- description: string;
1343
- name: string;
1344
- slug: string;
1345
- urlPatterns: string[];
1346
- categories: ("content" | "ai" | "analytics" | "commerce" | "communication" | "data" | "developer" | "productivity" | "other")[];
1347
- schemaVersion: 1;
1348
- branding: {
1349
- logoUrl: string;
1350
- darkLogoUrl?: string | undefined;
1351
- backgroundColor?: string | undefined;
1352
- accentColor?: string | undefined;
1353
- };
1354
- methods: {
1355
- key: string;
1356
- auth: "none" | "oauth" | "api_key";
1357
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1358
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1359
- whenToUse: string;
1360
- guidanceMd: string;
1361
- riskTier: "S1" | "S2" | "S3" | "S4";
1362
- warnings?: string[] | undefined;
1363
- defaults?: {
1364
- serverUrl?: string | undefined;
1365
- discoveryUrl?: string | null | undefined;
1366
- serviceHost?: string | undefined;
1367
- templateKey?: string | undefined;
1368
- authorizationEndpoint?: string | undefined;
1369
- tokenEndpoint?: string | undefined;
1370
- metadataUrl?: string | undefined;
1371
- scopesHint?: string[] | undefined;
1372
- } | undefined;
1373
- tenantFields?: {
1374
- key: string;
1375
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1376
- label: string;
1377
- required?: boolean | undefined;
1378
- placeholder?: string | undefined;
1379
- secret?: boolean | undefined;
1380
- prefix?: string | undefined;
1381
- helperMd?: string | undefined;
1382
- }[] | undefined;
1383
- extensionFields?: {
1384
- key: string;
1385
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1386
- label: string;
1387
- required?: boolean | undefined;
1388
- placeholder?: string | undefined;
1389
- secret?: boolean | undefined;
1390
- prefix?: string | undefined;
1391
- helperMd?: string | undefined;
1392
- }[] | undefined;
1393
- credentialFields?: {
1394
- key: string;
1395
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1396
- label: string;
1397
- required?: boolean | undefined;
1398
- placeholder?: string | undefined;
1399
- secret?: boolean | undefined;
1400
- prefix?: string | undefined;
1401
- helperMd?: string | undefined;
1402
- }[] | undefined;
1403
- keyPlacement?: {
1404
- name: string;
1405
- location: "env" | "header" | "query" | "body_json";
1406
- prefix?: string | null | undefined;
1407
- } | undefined;
1408
- consoleLinks?: {
1409
- settings?: string | undefined;
1410
- keys?: string | undefined;
1411
- register?: string | undefined;
1412
- docs?: string | undefined;
1413
- } | undefined;
1414
- variants?: {
1415
- key: string;
1416
- label: string;
1417
- whenToUse: string;
1418
- tenantFields?: {
1419
- key: string;
1420
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1421
- label: string;
1422
- required?: boolean | undefined;
1423
- placeholder?: string | undefined;
1424
- secret?: boolean | undefined;
1425
- prefix?: string | undefined;
1426
- helperMd?: string | undefined;
1427
- }[] | undefined;
1428
- }[] | undefined;
1429
- requiredResourceFilters?: string[] | undefined;
1430
- }[];
1431
- featured?: boolean | undefined;
1432
- docsUrl?: string | undefined;
1433
- redirectConstraints?: "https-or-loopback-http" | undefined;
1434
- suggestable?: boolean | undefined;
1435
- availability?: {
1436
- available: boolean;
1437
- reason?: string | undefined;
1438
- robotEmail?: string | undefined;
1439
- } | undefined;
1440
- ownershipAvailability?: {
1441
- platform_shared?: boolean | undefined;
1442
- platform_provisioned?: boolean | undefined;
1443
- customer?: boolean | undefined;
1444
- dcr?: boolean | undefined;
1445
- } | undefined;
1446
- }>;
1447
- export declare const appDefinitionsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
297
+ }, z.core.$strip>>;
298
+ }, z.core.$strip>;
299
+ export declare const appDefinitionsSchema: z.ZodArray<z.ZodObject<{
1448
300
  schemaVersion: z.ZodLiteral<1>;
1449
301
  slug: z.ZodString;
1450
302
  name: z.ZodString;
1451
303
  description: z.ZodString;
1452
- categories: z.ZodArray<z.ZodEnum<["ai", "analytics", "commerce", "communication", "content", "data", "developer", "productivity", "other"]>, "many">;
304
+ categories: z.ZodArray<z.ZodEnum<{
305
+ content: "content";
306
+ data: "data";
307
+ ai: "ai";
308
+ analytics: "analytics";
309
+ commerce: "commerce";
310
+ communication: "communication";
311
+ developer: "developer";
312
+ productivity: "productivity";
313
+ other: "other";
314
+ }>>;
1453
315
  featured: z.ZodOptional<z.ZodBoolean>;
1454
316
  branding: z.ZodObject<{
1455
317
  logoUrl: z.ZodString;
1456
318
  darkLogoUrl: z.ZodOptional<z.ZodString>;
1457
319
  backgroundColor: z.ZodOptional<z.ZodString>;
1458
320
  accentColor: z.ZodOptional<z.ZodString>;
1459
- }, "strip", z.ZodTypeAny, {
1460
- logoUrl: string;
1461
- darkLogoUrl?: string | undefined;
1462
- backgroundColor?: string | undefined;
1463
- accentColor?: string | undefined;
1464
- }, {
1465
- logoUrl: string;
1466
- darkLogoUrl?: string | undefined;
1467
- backgroundColor?: string | undefined;
1468
- accentColor?: string | undefined;
1469
- }>;
1470
- urlPatterns: z.ZodArray<z.ZodString, "many">;
321
+ }, z.core.$strip>;
322
+ urlPatterns: z.ZodArray<z.ZodString>;
1471
323
  docsUrl: z.ZodOptional<z.ZodString>;
1472
- redirectConstraints: z.ZodOptional<z.ZodEnum<["https-or-loopback-http"]>>;
1473
- methods: z.ZodArray<z.ZodEffects<z.ZodObject<{
324
+ redirectConstraints: z.ZodOptional<z.ZodEnum<{
325
+ "https-or-loopback-http": "https-or-loopback-http";
326
+ }>>;
327
+ methods: z.ZodArray<z.ZodObject<{
1474
328
  key: z.ZodString;
1475
- transport: z.ZodEnum<["mcp_remote", "rest_api", "local_stdio"]>;
1476
- auth: z.ZodEnum<["oauth", "api_key", "none"]>;
1477
- ownershipModes: z.ZodArray<z.ZodEnum<["platform_shared", "platform_provisioned", "customer", "dcr"]>, "many">;
329
+ transport: z.ZodEnum<{
330
+ local_stdio: "local_stdio";
331
+ mcp_remote: "mcp_remote";
332
+ rest_api: "rest_api";
333
+ }>;
334
+ auth: z.ZodEnum<{
335
+ none: "none";
336
+ oauth: "oauth";
337
+ api_key: "api_key";
338
+ }>;
339
+ ownershipModes: z.ZodArray<z.ZodEnum<{
340
+ platform_shared: "platform_shared";
341
+ platform_provisioned: "platform_provisioned";
342
+ customer: "customer";
343
+ dcr: "dcr";
344
+ }>>;
1478
345
  whenToUse: z.ZodString;
1479
346
  defaults: z.ZodOptional<z.ZodObject<{
1480
347
  serverUrl: z.ZodOptional<z.ZodString>;
@@ -1484,1030 +351,118 @@ export declare const appDefinitionsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
1484
351
  authorizationEndpoint: z.ZodOptional<z.ZodString>;
1485
352
  tokenEndpoint: z.ZodOptional<z.ZodString>;
1486
353
  metadataUrl: z.ZodOptional<z.ZodString>;
1487
- scopesHint: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1488
- }, "strip", z.ZodTypeAny, {
1489
- serverUrl?: string | undefined;
1490
- discoveryUrl?: string | null | undefined;
1491
- serviceHost?: string | undefined;
1492
- templateKey?: string | undefined;
1493
- authorizationEndpoint?: string | undefined;
1494
- tokenEndpoint?: string | undefined;
1495
- metadataUrl?: string | undefined;
1496
- scopesHint?: string[] | undefined;
1497
- }, {
1498
- serverUrl?: string | undefined;
1499
- discoveryUrl?: string | null | undefined;
1500
- serviceHost?: string | undefined;
1501
- templateKey?: string | undefined;
1502
- authorizationEndpoint?: string | undefined;
1503
- tokenEndpoint?: string | undefined;
1504
- metadataUrl?: string | undefined;
1505
- scopesHint?: string[] | undefined;
1506
- }>>;
1507
- tenantFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
354
+ scopesHint: z.ZodOptional<z.ZodArray<z.ZodString>>;
355
+ }, z.core.$strip>>;
356
+ tenantFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1508
357
  key: z.ZodString;
1509
358
  label: z.ZodString;
1510
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
359
+ type: z.ZodEnum<{
360
+ text: "text";
361
+ textarea: "textarea";
362
+ select: "select";
363
+ datetime: "datetime";
364
+ password: "password";
365
+ checkbox: "checkbox";
366
+ }>;
1511
367
  required: z.ZodOptional<z.ZodBoolean>;
1512
368
  placeholder: z.ZodOptional<z.ZodString>;
1513
369
  helperMd: z.ZodOptional<z.ZodString>;
1514
370
  secret: z.ZodOptional<z.ZodBoolean>;
1515
371
  prefix: z.ZodOptional<z.ZodString>;
1516
- }, "strip", z.ZodTypeAny, {
1517
- key: string;
1518
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1519
- label: string;
1520
- required?: boolean | undefined;
1521
- placeholder?: string | undefined;
1522
- secret?: boolean | undefined;
1523
- prefix?: string | undefined;
1524
- helperMd?: string | undefined;
1525
- }, {
1526
- key: string;
1527
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1528
- label: string;
1529
- required?: boolean | undefined;
1530
- placeholder?: string | undefined;
1531
- secret?: boolean | undefined;
1532
- prefix?: string | undefined;
1533
- helperMd?: string | undefined;
1534
- }>, {
1535
- key: string;
1536
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1537
- label: string;
1538
- required?: boolean | undefined;
1539
- placeholder?: string | undefined;
1540
- secret?: boolean | undefined;
1541
- prefix?: string | undefined;
1542
- helperMd?: string | undefined;
1543
- }, {
1544
- key: string;
1545
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1546
- label: string;
1547
- required?: boolean | undefined;
1548
- placeholder?: string | undefined;
1549
- secret?: boolean | undefined;
1550
- prefix?: string | undefined;
1551
- helperMd?: string | undefined;
1552
- }>, "many">>;
1553
- extensionFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
372
+ }, z.core.$strip>>>;
373
+ extensionFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1554
374
  key: z.ZodString;
1555
375
  label: z.ZodString;
1556
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
376
+ type: z.ZodEnum<{
377
+ text: "text";
378
+ textarea: "textarea";
379
+ select: "select";
380
+ datetime: "datetime";
381
+ password: "password";
382
+ checkbox: "checkbox";
383
+ }>;
1557
384
  required: z.ZodOptional<z.ZodBoolean>;
1558
385
  placeholder: z.ZodOptional<z.ZodString>;
1559
386
  helperMd: z.ZodOptional<z.ZodString>;
1560
387
  secret: z.ZodOptional<z.ZodBoolean>;
1561
388
  prefix: z.ZodOptional<z.ZodString>;
1562
- }, "strip", z.ZodTypeAny, {
1563
- key: string;
1564
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1565
- label: string;
1566
- required?: boolean | undefined;
1567
- placeholder?: string | undefined;
1568
- secret?: boolean | undefined;
1569
- prefix?: string | undefined;
1570
- helperMd?: string | undefined;
1571
- }, {
1572
- key: string;
1573
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1574
- label: string;
1575
- required?: boolean | undefined;
1576
- placeholder?: string | undefined;
1577
- secret?: boolean | undefined;
1578
- prefix?: string | undefined;
1579
- helperMd?: string | undefined;
1580
- }>, {
1581
- key: string;
1582
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1583
- label: string;
1584
- required?: boolean | undefined;
1585
- placeholder?: string | undefined;
1586
- secret?: boolean | undefined;
1587
- prefix?: string | undefined;
1588
- helperMd?: string | undefined;
1589
- }, {
1590
- key: string;
1591
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1592
- label: string;
1593
- required?: boolean | undefined;
1594
- placeholder?: string | undefined;
1595
- secret?: boolean | undefined;
1596
- prefix?: string | undefined;
1597
- helperMd?: string | undefined;
1598
- }>, "many">>;
1599
- credentialFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
389
+ }, z.core.$strip>>>;
390
+ credentialFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1600
391
  key: z.ZodString;
1601
392
  label: z.ZodString;
1602
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
393
+ type: z.ZodEnum<{
394
+ text: "text";
395
+ textarea: "textarea";
396
+ select: "select";
397
+ datetime: "datetime";
398
+ password: "password";
399
+ checkbox: "checkbox";
400
+ }>;
1603
401
  required: z.ZodOptional<z.ZodBoolean>;
1604
402
  placeholder: z.ZodOptional<z.ZodString>;
1605
403
  helperMd: z.ZodOptional<z.ZodString>;
1606
404
  secret: z.ZodOptional<z.ZodBoolean>;
1607
405
  prefix: z.ZodOptional<z.ZodString>;
1608
- }, "strip", z.ZodTypeAny, {
1609
- key: string;
1610
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1611
- label: string;
1612
- required?: boolean | undefined;
1613
- placeholder?: string | undefined;
1614
- secret?: boolean | undefined;
1615
- prefix?: string | undefined;
1616
- helperMd?: string | undefined;
1617
- }, {
1618
- key: string;
1619
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1620
- label: string;
1621
- required?: boolean | undefined;
1622
- placeholder?: string | undefined;
1623
- secret?: boolean | undefined;
1624
- prefix?: string | undefined;
1625
- helperMd?: string | undefined;
1626
- }>, {
1627
- key: string;
1628
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1629
- label: string;
1630
- required?: boolean | undefined;
1631
- placeholder?: string | undefined;
1632
- secret?: boolean | undefined;
1633
- prefix?: string | undefined;
1634
- helperMd?: string | undefined;
1635
- }, {
1636
- key: string;
1637
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1638
- label: string;
1639
- required?: boolean | undefined;
1640
- placeholder?: string | undefined;
1641
- secret?: boolean | undefined;
1642
- prefix?: string | undefined;
1643
- helperMd?: string | undefined;
1644
- }>, "many">>;
406
+ }, z.core.$strip>>>;
1645
407
  keyPlacement: z.ZodOptional<z.ZodObject<{
1646
- location: z.ZodEnum<["header", "query", "body_json", "env"]>;
408
+ location: z.ZodEnum<{
409
+ env: "env";
410
+ header: "header";
411
+ query: "query";
412
+ body_json: "body_json";
413
+ }>;
1647
414
  name: z.ZodString;
1648
415
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1649
- }, "strip", z.ZodTypeAny, {
1650
- name: string;
1651
- location: "env" | "header" | "query" | "body_json";
1652
- prefix?: string | null | undefined;
1653
- }, {
1654
- name: string;
1655
- location: "env" | "header" | "query" | "body_json";
1656
- prefix?: string | null | undefined;
1657
- }>>;
416
+ }, z.core.$strip>>;
1658
417
  guidanceMd: z.ZodString;
1659
418
  consoleLinks: z.ZodOptional<z.ZodObject<{
1660
419
  register: z.ZodOptional<z.ZodString>;
1661
420
  keys: z.ZodOptional<z.ZodString>;
1662
421
  settings: z.ZodOptional<z.ZodString>;
1663
422
  docs: z.ZodOptional<z.ZodString>;
1664
- }, "strip", z.ZodTypeAny, {
1665
- settings?: string | undefined;
1666
- keys?: string | undefined;
1667
- register?: string | undefined;
1668
- docs?: string | undefined;
1669
- }, {
1670
- settings?: string | undefined;
1671
- keys?: string | undefined;
1672
- register?: string | undefined;
1673
- docs?: string | undefined;
1674
- }>>;
1675
- warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
423
+ }, z.core.$strip>>;
424
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1676
425
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1677
426
  key: z.ZodString;
1678
427
  label: z.ZodString;
1679
428
  whenToUse: z.ZodString;
1680
- tenantFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
429
+ tenantFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1681
430
  key: z.ZodString;
1682
431
  label: z.ZodString;
1683
- type: z.ZodEnum<["text", "password", "textarea", "datetime", "select", "checkbox"]>;
432
+ type: z.ZodEnum<{
433
+ text: "text";
434
+ textarea: "textarea";
435
+ select: "select";
436
+ datetime: "datetime";
437
+ password: "password";
438
+ checkbox: "checkbox";
439
+ }>;
1684
440
  required: z.ZodOptional<z.ZodBoolean>;
1685
441
  placeholder: z.ZodOptional<z.ZodString>;
1686
442
  helperMd: z.ZodOptional<z.ZodString>;
1687
443
  secret: z.ZodOptional<z.ZodBoolean>;
1688
444
  prefix: z.ZodOptional<z.ZodString>;
1689
- }, "strip", z.ZodTypeAny, {
1690
- key: string;
1691
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1692
- label: string;
1693
- required?: boolean | undefined;
1694
- placeholder?: string | undefined;
1695
- secret?: boolean | undefined;
1696
- prefix?: string | undefined;
1697
- helperMd?: string | undefined;
1698
- }, {
1699
- key: string;
1700
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1701
- label: string;
1702
- required?: boolean | undefined;
1703
- placeholder?: string | undefined;
1704
- secret?: boolean | undefined;
1705
- prefix?: string | undefined;
1706
- helperMd?: string | undefined;
1707
- }>, {
1708
- key: string;
1709
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1710
- label: string;
1711
- required?: boolean | undefined;
1712
- placeholder?: string | undefined;
1713
- secret?: boolean | undefined;
1714
- prefix?: string | undefined;
1715
- helperMd?: string | undefined;
1716
- }, {
1717
- key: string;
1718
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1719
- label: string;
1720
- required?: boolean | undefined;
1721
- placeholder?: string | undefined;
1722
- secret?: boolean | undefined;
1723
- prefix?: string | undefined;
1724
- helperMd?: string | undefined;
1725
- }>, "many">>;
1726
- }, "strip", z.ZodTypeAny, {
1727
- key: string;
1728
- label: string;
1729
- whenToUse: string;
1730
- tenantFields?: {
1731
- key: string;
1732
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1733
- label: string;
1734
- required?: boolean | undefined;
1735
- placeholder?: string | undefined;
1736
- secret?: boolean | undefined;
1737
- prefix?: string | undefined;
1738
- helperMd?: string | undefined;
1739
- }[] | undefined;
1740
- }, {
1741
- key: string;
1742
- label: string;
1743
- whenToUse: string;
1744
- tenantFields?: {
1745
- key: string;
1746
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1747
- label: string;
1748
- required?: boolean | undefined;
1749
- placeholder?: string | undefined;
1750
- secret?: boolean | undefined;
1751
- prefix?: string | undefined;
1752
- helperMd?: string | undefined;
1753
- }[] | undefined;
1754
- }>, "many">>;
1755
- riskTier: z.ZodEnum<["S1", "S2", "S3", "S4"]>;
1756
- requiredResourceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1757
- }, "strip", z.ZodTypeAny, {
1758
- key: string;
1759
- auth: "none" | "oauth" | "api_key";
1760
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1761
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1762
- whenToUse: string;
1763
- guidanceMd: string;
1764
- riskTier: "S1" | "S2" | "S3" | "S4";
1765
- warnings?: string[] | undefined;
1766
- defaults?: {
1767
- serverUrl?: string | undefined;
1768
- discoveryUrl?: string | null | undefined;
1769
- serviceHost?: string | undefined;
1770
- templateKey?: string | undefined;
1771
- authorizationEndpoint?: string | undefined;
1772
- tokenEndpoint?: string | undefined;
1773
- metadataUrl?: string | undefined;
1774
- scopesHint?: string[] | undefined;
1775
- } | undefined;
1776
- tenantFields?: {
1777
- key: string;
1778
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1779
- label: string;
1780
- required?: boolean | undefined;
1781
- placeholder?: string | undefined;
1782
- secret?: boolean | undefined;
1783
- prefix?: string | undefined;
1784
- helperMd?: string | undefined;
1785
- }[] | undefined;
1786
- extensionFields?: {
1787
- key: string;
1788
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1789
- label: string;
1790
- required?: boolean | undefined;
1791
- placeholder?: string | undefined;
1792
- secret?: boolean | undefined;
1793
- prefix?: string | undefined;
1794
- helperMd?: string | undefined;
1795
- }[] | undefined;
1796
- credentialFields?: {
1797
- key: string;
1798
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1799
- label: string;
1800
- required?: boolean | undefined;
1801
- placeholder?: string | undefined;
1802
- secret?: boolean | undefined;
1803
- prefix?: string | undefined;
1804
- helperMd?: string | undefined;
1805
- }[] | undefined;
1806
- keyPlacement?: {
1807
- name: string;
1808
- location: "env" | "header" | "query" | "body_json";
1809
- prefix?: string | null | undefined;
1810
- } | undefined;
1811
- consoleLinks?: {
1812
- settings?: string | undefined;
1813
- keys?: string | undefined;
1814
- register?: string | undefined;
1815
- docs?: string | undefined;
1816
- } | undefined;
1817
- variants?: {
1818
- key: string;
1819
- label: string;
1820
- whenToUse: string;
1821
- tenantFields?: {
1822
- key: string;
1823
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1824
- label: string;
1825
- required?: boolean | undefined;
1826
- placeholder?: string | undefined;
1827
- secret?: boolean | undefined;
1828
- prefix?: string | undefined;
1829
- helperMd?: string | undefined;
1830
- }[] | undefined;
1831
- }[] | undefined;
1832
- requiredResourceFilters?: string[] | undefined;
1833
- }, {
1834
- key: string;
1835
- auth: "none" | "oauth" | "api_key";
1836
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1837
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1838
- whenToUse: string;
1839
- guidanceMd: string;
1840
- riskTier: "S1" | "S2" | "S3" | "S4";
1841
- warnings?: string[] | undefined;
1842
- defaults?: {
1843
- serverUrl?: string | undefined;
1844
- discoveryUrl?: string | null | undefined;
1845
- serviceHost?: string | undefined;
1846
- templateKey?: string | undefined;
1847
- authorizationEndpoint?: string | undefined;
1848
- tokenEndpoint?: string | undefined;
1849
- metadataUrl?: string | undefined;
1850
- scopesHint?: string[] | undefined;
1851
- } | undefined;
1852
- tenantFields?: {
1853
- key: string;
1854
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1855
- label: string;
1856
- required?: boolean | undefined;
1857
- placeholder?: string | undefined;
1858
- secret?: boolean | undefined;
1859
- prefix?: string | undefined;
1860
- helperMd?: string | undefined;
1861
- }[] | undefined;
1862
- extensionFields?: {
1863
- key: string;
1864
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1865
- label: string;
1866
- required?: boolean | undefined;
1867
- placeholder?: string | undefined;
1868
- secret?: boolean | undefined;
1869
- prefix?: string | undefined;
1870
- helperMd?: string | undefined;
1871
- }[] | undefined;
1872
- credentialFields?: {
1873
- key: string;
1874
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1875
- label: string;
1876
- required?: boolean | undefined;
1877
- placeholder?: string | undefined;
1878
- secret?: boolean | undefined;
1879
- prefix?: string | undefined;
1880
- helperMd?: string | undefined;
1881
- }[] | undefined;
1882
- keyPlacement?: {
1883
- name: string;
1884
- location: "env" | "header" | "query" | "body_json";
1885
- prefix?: string | null | undefined;
1886
- } | undefined;
1887
- consoleLinks?: {
1888
- settings?: string | undefined;
1889
- keys?: string | undefined;
1890
- register?: string | undefined;
1891
- docs?: string | undefined;
1892
- } | undefined;
1893
- variants?: {
1894
- key: string;
1895
- label: string;
1896
- whenToUse: string;
1897
- tenantFields?: {
1898
- key: string;
1899
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1900
- label: string;
1901
- required?: boolean | undefined;
1902
- placeholder?: string | undefined;
1903
- secret?: boolean | undefined;
1904
- prefix?: string | undefined;
1905
- helperMd?: string | undefined;
1906
- }[] | undefined;
1907
- }[] | undefined;
1908
- requiredResourceFilters?: string[] | undefined;
1909
- }>, {
1910
- key: string;
1911
- auth: "none" | "oauth" | "api_key";
1912
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1913
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1914
- whenToUse: string;
1915
- guidanceMd: string;
1916
- riskTier: "S1" | "S2" | "S3" | "S4";
1917
- warnings?: string[] | undefined;
1918
- defaults?: {
1919
- serverUrl?: string | undefined;
1920
- discoveryUrl?: string | null | undefined;
1921
- serviceHost?: string | undefined;
1922
- templateKey?: string | undefined;
1923
- authorizationEndpoint?: string | undefined;
1924
- tokenEndpoint?: string | undefined;
1925
- metadataUrl?: string | undefined;
1926
- scopesHint?: string[] | undefined;
1927
- } | undefined;
1928
- tenantFields?: {
1929
- key: string;
1930
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1931
- label: string;
1932
- required?: boolean | undefined;
1933
- placeholder?: string | undefined;
1934
- secret?: boolean | undefined;
1935
- prefix?: string | undefined;
1936
- helperMd?: string | undefined;
1937
- }[] | undefined;
1938
- extensionFields?: {
1939
- key: string;
1940
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1941
- label: string;
1942
- required?: boolean | undefined;
1943
- placeholder?: string | undefined;
1944
- secret?: boolean | undefined;
1945
- prefix?: string | undefined;
1946
- helperMd?: string | undefined;
1947
- }[] | undefined;
1948
- credentialFields?: {
1949
- key: string;
1950
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1951
- label: string;
1952
- required?: boolean | undefined;
1953
- placeholder?: string | undefined;
1954
- secret?: boolean | undefined;
1955
- prefix?: string | undefined;
1956
- helperMd?: string | undefined;
1957
- }[] | undefined;
1958
- keyPlacement?: {
1959
- name: string;
1960
- location: "env" | "header" | "query" | "body_json";
1961
- prefix?: string | null | undefined;
1962
- } | undefined;
1963
- consoleLinks?: {
1964
- settings?: string | undefined;
1965
- keys?: string | undefined;
1966
- register?: string | undefined;
1967
- docs?: string | undefined;
1968
- } | undefined;
1969
- variants?: {
1970
- key: string;
1971
- label: string;
1972
- whenToUse: string;
1973
- tenantFields?: {
1974
- key: string;
1975
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
1976
- label: string;
1977
- required?: boolean | undefined;
1978
- placeholder?: string | undefined;
1979
- secret?: boolean | undefined;
1980
- prefix?: string | undefined;
1981
- helperMd?: string | undefined;
1982
- }[] | undefined;
1983
- }[] | undefined;
1984
- requiredResourceFilters?: string[] | undefined;
1985
- }, {
1986
- key: string;
1987
- auth: "none" | "oauth" | "api_key";
1988
- transport: "local_stdio" | "mcp_remote" | "rest_api";
1989
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
1990
- whenToUse: string;
1991
- guidanceMd: string;
1992
- riskTier: "S1" | "S2" | "S3" | "S4";
1993
- warnings?: string[] | undefined;
1994
- defaults?: {
1995
- serverUrl?: string | undefined;
1996
- discoveryUrl?: string | null | undefined;
1997
- serviceHost?: string | undefined;
1998
- templateKey?: string | undefined;
1999
- authorizationEndpoint?: string | undefined;
2000
- tokenEndpoint?: string | undefined;
2001
- metadataUrl?: string | undefined;
2002
- scopesHint?: string[] | undefined;
2003
- } | undefined;
2004
- tenantFields?: {
2005
- key: string;
2006
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2007
- label: string;
2008
- required?: boolean | undefined;
2009
- placeholder?: string | undefined;
2010
- secret?: boolean | undefined;
2011
- prefix?: string | undefined;
2012
- helperMd?: string | undefined;
2013
- }[] | undefined;
2014
- extensionFields?: {
2015
- key: string;
2016
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2017
- label: string;
2018
- required?: boolean | undefined;
2019
- placeholder?: string | undefined;
2020
- secret?: boolean | undefined;
2021
- prefix?: string | undefined;
2022
- helperMd?: string | undefined;
2023
- }[] | undefined;
2024
- credentialFields?: {
2025
- key: string;
2026
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2027
- label: string;
2028
- required?: boolean | undefined;
2029
- placeholder?: string | undefined;
2030
- secret?: boolean | undefined;
2031
- prefix?: string | undefined;
2032
- helperMd?: string | undefined;
2033
- }[] | undefined;
2034
- keyPlacement?: {
2035
- name: string;
2036
- location: "env" | "header" | "query" | "body_json";
2037
- prefix?: string | null | undefined;
2038
- } | undefined;
2039
- consoleLinks?: {
2040
- settings?: string | undefined;
2041
- keys?: string | undefined;
2042
- register?: string | undefined;
2043
- docs?: string | undefined;
2044
- } | undefined;
2045
- variants?: {
2046
- key: string;
2047
- label: string;
2048
- whenToUse: string;
2049
- tenantFields?: {
2050
- key: string;
2051
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2052
- label: string;
2053
- required?: boolean | undefined;
2054
- placeholder?: string | undefined;
2055
- secret?: boolean | undefined;
2056
- prefix?: string | undefined;
2057
- helperMd?: string | undefined;
2058
- }[] | undefined;
2059
- }[] | undefined;
2060
- requiredResourceFilters?: string[] | undefined;
2061
- }>, "many">;
445
+ }, z.core.$strip>>>;
446
+ }, z.core.$strip>>>;
447
+ riskTier: z.ZodEnum<{
448
+ S1: "S1";
449
+ S2: "S2";
450
+ S3: "S3";
451
+ S4: "S4";
452
+ }>;
453
+ requiredResourceFilters: z.ZodOptional<z.ZodArray<z.ZodString>>;
454
+ }, z.core.$strip>>;
2062
455
  suggestable: z.ZodOptional<z.ZodBoolean>;
2063
456
  availability: z.ZodOptional<z.ZodObject<{
2064
457
  available: z.ZodBoolean;
2065
458
  reason: z.ZodOptional<z.ZodString>;
2066
459
  robotEmail: z.ZodOptional<z.ZodString>;
2067
- }, "strip", z.ZodTypeAny, {
2068
- available: boolean;
2069
- reason?: string | undefined;
2070
- robotEmail?: string | undefined;
2071
- }, {
2072
- available: boolean;
2073
- reason?: string | undefined;
2074
- robotEmail?: string | undefined;
2075
- }>>;
460
+ }, z.core.$strip>>;
2076
461
  ownershipAvailability: z.ZodOptional<z.ZodObject<{
2077
462
  platform_shared: z.ZodOptional<z.ZodBoolean>;
2078
463
  platform_provisioned: z.ZodOptional<z.ZodBoolean>;
2079
464
  customer: z.ZodOptional<z.ZodBoolean>;
2080
465
  dcr: z.ZodOptional<z.ZodBoolean>;
2081
- }, "strip", z.ZodTypeAny, {
2082
- platform_shared?: boolean | undefined;
2083
- platform_provisioned?: boolean | undefined;
2084
- customer?: boolean | undefined;
2085
- dcr?: boolean | undefined;
2086
- }, {
2087
- platform_shared?: boolean | undefined;
2088
- platform_provisioned?: boolean | undefined;
2089
- customer?: boolean | undefined;
2090
- dcr?: boolean | undefined;
2091
- }>>;
2092
- }, "strip", z.ZodTypeAny, {
2093
- description: string;
2094
- name: string;
2095
- slug: string;
2096
- urlPatterns: string[];
2097
- categories: ("content" | "ai" | "analytics" | "commerce" | "communication" | "data" | "developer" | "productivity" | "other")[];
2098
- schemaVersion: 1;
2099
- branding: {
2100
- logoUrl: string;
2101
- darkLogoUrl?: string | undefined;
2102
- backgroundColor?: string | undefined;
2103
- accentColor?: string | undefined;
2104
- };
2105
- methods: {
2106
- key: string;
2107
- auth: "none" | "oauth" | "api_key";
2108
- transport: "local_stdio" | "mcp_remote" | "rest_api";
2109
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
2110
- whenToUse: string;
2111
- guidanceMd: string;
2112
- riskTier: "S1" | "S2" | "S3" | "S4";
2113
- warnings?: string[] | undefined;
2114
- defaults?: {
2115
- serverUrl?: string | undefined;
2116
- discoveryUrl?: string | null | undefined;
2117
- serviceHost?: string | undefined;
2118
- templateKey?: string | undefined;
2119
- authorizationEndpoint?: string | undefined;
2120
- tokenEndpoint?: string | undefined;
2121
- metadataUrl?: string | undefined;
2122
- scopesHint?: string[] | undefined;
2123
- } | undefined;
2124
- tenantFields?: {
2125
- key: string;
2126
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2127
- label: string;
2128
- required?: boolean | undefined;
2129
- placeholder?: string | undefined;
2130
- secret?: boolean | undefined;
2131
- prefix?: string | undefined;
2132
- helperMd?: string | undefined;
2133
- }[] | undefined;
2134
- extensionFields?: {
2135
- key: string;
2136
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2137
- label: string;
2138
- required?: boolean | undefined;
2139
- placeholder?: string | undefined;
2140
- secret?: boolean | undefined;
2141
- prefix?: string | undefined;
2142
- helperMd?: string | undefined;
2143
- }[] | undefined;
2144
- credentialFields?: {
2145
- key: string;
2146
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2147
- label: string;
2148
- required?: boolean | undefined;
2149
- placeholder?: string | undefined;
2150
- secret?: boolean | undefined;
2151
- prefix?: string | undefined;
2152
- helperMd?: string | undefined;
2153
- }[] | undefined;
2154
- keyPlacement?: {
2155
- name: string;
2156
- location: "env" | "header" | "query" | "body_json";
2157
- prefix?: string | null | undefined;
2158
- } | undefined;
2159
- consoleLinks?: {
2160
- settings?: string | undefined;
2161
- keys?: string | undefined;
2162
- register?: string | undefined;
2163
- docs?: string | undefined;
2164
- } | undefined;
2165
- variants?: {
2166
- key: string;
2167
- label: string;
2168
- whenToUse: string;
2169
- tenantFields?: {
2170
- key: string;
2171
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2172
- label: string;
2173
- required?: boolean | undefined;
2174
- placeholder?: string | undefined;
2175
- secret?: boolean | undefined;
2176
- prefix?: string | undefined;
2177
- helperMd?: string | undefined;
2178
- }[] | undefined;
2179
- }[] | undefined;
2180
- requiredResourceFilters?: string[] | undefined;
2181
- }[];
2182
- featured?: boolean | undefined;
2183
- docsUrl?: string | undefined;
2184
- redirectConstraints?: "https-or-loopback-http" | undefined;
2185
- suggestable?: boolean | undefined;
2186
- availability?: {
2187
- available: boolean;
2188
- reason?: string | undefined;
2189
- robotEmail?: string | undefined;
2190
- } | undefined;
2191
- ownershipAvailability?: {
2192
- platform_shared?: boolean | undefined;
2193
- platform_provisioned?: boolean | undefined;
2194
- customer?: boolean | undefined;
2195
- dcr?: boolean | undefined;
2196
- } | undefined;
2197
- }, {
2198
- description: string;
2199
- name: string;
2200
- slug: string;
2201
- urlPatterns: string[];
2202
- categories: ("content" | "ai" | "analytics" | "commerce" | "communication" | "data" | "developer" | "productivity" | "other")[];
2203
- schemaVersion: 1;
2204
- branding: {
2205
- logoUrl: string;
2206
- darkLogoUrl?: string | undefined;
2207
- backgroundColor?: string | undefined;
2208
- accentColor?: string | undefined;
2209
- };
2210
- methods: {
2211
- key: string;
2212
- auth: "none" | "oauth" | "api_key";
2213
- transport: "local_stdio" | "mcp_remote" | "rest_api";
2214
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
2215
- whenToUse: string;
2216
- guidanceMd: string;
2217
- riskTier: "S1" | "S2" | "S3" | "S4";
2218
- warnings?: string[] | undefined;
2219
- defaults?: {
2220
- serverUrl?: string | undefined;
2221
- discoveryUrl?: string | null | undefined;
2222
- serviceHost?: string | undefined;
2223
- templateKey?: string | undefined;
2224
- authorizationEndpoint?: string | undefined;
2225
- tokenEndpoint?: string | undefined;
2226
- metadataUrl?: string | undefined;
2227
- scopesHint?: string[] | undefined;
2228
- } | undefined;
2229
- tenantFields?: {
2230
- key: string;
2231
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2232
- label: string;
2233
- required?: boolean | undefined;
2234
- placeholder?: string | undefined;
2235
- secret?: boolean | undefined;
2236
- prefix?: string | undefined;
2237
- helperMd?: string | undefined;
2238
- }[] | undefined;
2239
- extensionFields?: {
2240
- key: string;
2241
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2242
- label: string;
2243
- required?: boolean | undefined;
2244
- placeholder?: string | undefined;
2245
- secret?: boolean | undefined;
2246
- prefix?: string | undefined;
2247
- helperMd?: string | undefined;
2248
- }[] | undefined;
2249
- credentialFields?: {
2250
- key: string;
2251
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2252
- label: string;
2253
- required?: boolean | undefined;
2254
- placeholder?: string | undefined;
2255
- secret?: boolean | undefined;
2256
- prefix?: string | undefined;
2257
- helperMd?: string | undefined;
2258
- }[] | undefined;
2259
- keyPlacement?: {
2260
- name: string;
2261
- location: "env" | "header" | "query" | "body_json";
2262
- prefix?: string | null | undefined;
2263
- } | undefined;
2264
- consoleLinks?: {
2265
- settings?: string | undefined;
2266
- keys?: string | undefined;
2267
- register?: string | undefined;
2268
- docs?: string | undefined;
2269
- } | undefined;
2270
- variants?: {
2271
- key: string;
2272
- label: string;
2273
- whenToUse: string;
2274
- tenantFields?: {
2275
- key: string;
2276
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2277
- label: string;
2278
- required?: boolean | undefined;
2279
- placeholder?: string | undefined;
2280
- secret?: boolean | undefined;
2281
- prefix?: string | undefined;
2282
- helperMd?: string | undefined;
2283
- }[] | undefined;
2284
- }[] | undefined;
2285
- requiredResourceFilters?: string[] | undefined;
2286
- }[];
2287
- featured?: boolean | undefined;
2288
- docsUrl?: string | undefined;
2289
- redirectConstraints?: "https-or-loopback-http" | undefined;
2290
- suggestable?: boolean | undefined;
2291
- availability?: {
2292
- available: boolean;
2293
- reason?: string | undefined;
2294
- robotEmail?: string | undefined;
2295
- } | undefined;
2296
- ownershipAvailability?: {
2297
- platform_shared?: boolean | undefined;
2298
- platform_provisioned?: boolean | undefined;
2299
- customer?: boolean | undefined;
2300
- dcr?: boolean | undefined;
2301
- } | undefined;
2302
- }>, "many">, {
2303
- description: string;
2304
- name: string;
2305
- slug: string;
2306
- urlPatterns: string[];
2307
- categories: ("content" | "ai" | "analytics" | "commerce" | "communication" | "data" | "developer" | "productivity" | "other")[];
2308
- schemaVersion: 1;
2309
- branding: {
2310
- logoUrl: string;
2311
- darkLogoUrl?: string | undefined;
2312
- backgroundColor?: string | undefined;
2313
- accentColor?: string | undefined;
2314
- };
2315
- methods: {
2316
- key: string;
2317
- auth: "none" | "oauth" | "api_key";
2318
- transport: "local_stdio" | "mcp_remote" | "rest_api";
2319
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
2320
- whenToUse: string;
2321
- guidanceMd: string;
2322
- riskTier: "S1" | "S2" | "S3" | "S4";
2323
- warnings?: string[] | undefined;
2324
- defaults?: {
2325
- serverUrl?: string | undefined;
2326
- discoveryUrl?: string | null | undefined;
2327
- serviceHost?: string | undefined;
2328
- templateKey?: string | undefined;
2329
- authorizationEndpoint?: string | undefined;
2330
- tokenEndpoint?: string | undefined;
2331
- metadataUrl?: string | undefined;
2332
- scopesHint?: string[] | undefined;
2333
- } | undefined;
2334
- tenantFields?: {
2335
- key: string;
2336
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2337
- label: string;
2338
- required?: boolean | undefined;
2339
- placeholder?: string | undefined;
2340
- secret?: boolean | undefined;
2341
- prefix?: string | undefined;
2342
- helperMd?: string | undefined;
2343
- }[] | undefined;
2344
- extensionFields?: {
2345
- key: string;
2346
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2347
- label: string;
2348
- required?: boolean | undefined;
2349
- placeholder?: string | undefined;
2350
- secret?: boolean | undefined;
2351
- prefix?: string | undefined;
2352
- helperMd?: string | undefined;
2353
- }[] | undefined;
2354
- credentialFields?: {
2355
- key: string;
2356
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2357
- label: string;
2358
- required?: boolean | undefined;
2359
- placeholder?: string | undefined;
2360
- secret?: boolean | undefined;
2361
- prefix?: string | undefined;
2362
- helperMd?: string | undefined;
2363
- }[] | undefined;
2364
- keyPlacement?: {
2365
- name: string;
2366
- location: "env" | "header" | "query" | "body_json";
2367
- prefix?: string | null | undefined;
2368
- } | undefined;
2369
- consoleLinks?: {
2370
- settings?: string | undefined;
2371
- keys?: string | undefined;
2372
- register?: string | undefined;
2373
- docs?: string | undefined;
2374
- } | undefined;
2375
- variants?: {
2376
- key: string;
2377
- label: string;
2378
- whenToUse: string;
2379
- tenantFields?: {
2380
- key: string;
2381
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2382
- label: string;
2383
- required?: boolean | undefined;
2384
- placeholder?: string | undefined;
2385
- secret?: boolean | undefined;
2386
- prefix?: string | undefined;
2387
- helperMd?: string | undefined;
2388
- }[] | undefined;
2389
- }[] | undefined;
2390
- requiredResourceFilters?: string[] | undefined;
2391
- }[];
2392
- featured?: boolean | undefined;
2393
- docsUrl?: string | undefined;
2394
- redirectConstraints?: "https-or-loopback-http" | undefined;
2395
- suggestable?: boolean | undefined;
2396
- availability?: {
2397
- available: boolean;
2398
- reason?: string | undefined;
2399
- robotEmail?: string | undefined;
2400
- } | undefined;
2401
- ownershipAvailability?: {
2402
- platform_shared?: boolean | undefined;
2403
- platform_provisioned?: boolean | undefined;
2404
- customer?: boolean | undefined;
2405
- dcr?: boolean | undefined;
2406
- } | undefined;
2407
- }[], {
2408
- description: string;
2409
- name: string;
2410
- slug: string;
2411
- urlPatterns: string[];
2412
- categories: ("content" | "ai" | "analytics" | "commerce" | "communication" | "data" | "developer" | "productivity" | "other")[];
2413
- schemaVersion: 1;
2414
- branding: {
2415
- logoUrl: string;
2416
- darkLogoUrl?: string | undefined;
2417
- backgroundColor?: string | undefined;
2418
- accentColor?: string | undefined;
2419
- };
2420
- methods: {
2421
- key: string;
2422
- auth: "none" | "oauth" | "api_key";
2423
- transport: "local_stdio" | "mcp_remote" | "rest_api";
2424
- ownershipModes: ("platform_shared" | "platform_provisioned" | "customer" | "dcr")[];
2425
- whenToUse: string;
2426
- guidanceMd: string;
2427
- riskTier: "S1" | "S2" | "S3" | "S4";
2428
- warnings?: string[] | undefined;
2429
- defaults?: {
2430
- serverUrl?: string | undefined;
2431
- discoveryUrl?: string | null | undefined;
2432
- serviceHost?: string | undefined;
2433
- templateKey?: string | undefined;
2434
- authorizationEndpoint?: string | undefined;
2435
- tokenEndpoint?: string | undefined;
2436
- metadataUrl?: string | undefined;
2437
- scopesHint?: string[] | undefined;
2438
- } | undefined;
2439
- tenantFields?: {
2440
- key: string;
2441
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2442
- label: string;
2443
- required?: boolean | undefined;
2444
- placeholder?: string | undefined;
2445
- secret?: boolean | undefined;
2446
- prefix?: string | undefined;
2447
- helperMd?: string | undefined;
2448
- }[] | undefined;
2449
- extensionFields?: {
2450
- key: string;
2451
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2452
- label: string;
2453
- required?: boolean | undefined;
2454
- placeholder?: string | undefined;
2455
- secret?: boolean | undefined;
2456
- prefix?: string | undefined;
2457
- helperMd?: string | undefined;
2458
- }[] | undefined;
2459
- credentialFields?: {
2460
- key: string;
2461
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2462
- label: string;
2463
- required?: boolean | undefined;
2464
- placeholder?: string | undefined;
2465
- secret?: boolean | undefined;
2466
- prefix?: string | undefined;
2467
- helperMd?: string | undefined;
2468
- }[] | undefined;
2469
- keyPlacement?: {
2470
- name: string;
2471
- location: "env" | "header" | "query" | "body_json";
2472
- prefix?: string | null | undefined;
2473
- } | undefined;
2474
- consoleLinks?: {
2475
- settings?: string | undefined;
2476
- keys?: string | undefined;
2477
- register?: string | undefined;
2478
- docs?: string | undefined;
2479
- } | undefined;
2480
- variants?: {
2481
- key: string;
2482
- label: string;
2483
- whenToUse: string;
2484
- tenantFields?: {
2485
- key: string;
2486
- type: "text" | "textarea" | "select" | "datetime" | "password" | "checkbox";
2487
- label: string;
2488
- required?: boolean | undefined;
2489
- placeholder?: string | undefined;
2490
- secret?: boolean | undefined;
2491
- prefix?: string | undefined;
2492
- helperMd?: string | undefined;
2493
- }[] | undefined;
2494
- }[] | undefined;
2495
- requiredResourceFilters?: string[] | undefined;
2496
- }[];
2497
- featured?: boolean | undefined;
2498
- docsUrl?: string | undefined;
2499
- redirectConstraints?: "https-or-loopback-http" | undefined;
2500
- suggestable?: boolean | undefined;
2501
- availability?: {
2502
- available: boolean;
2503
- reason?: string | undefined;
2504
- robotEmail?: string | undefined;
2505
- } | undefined;
2506
- ownershipAvailability?: {
2507
- platform_shared?: boolean | undefined;
2508
- platform_provisioned?: boolean | undefined;
2509
- customer?: boolean | undefined;
2510
- dcr?: boolean | undefined;
2511
- } | undefined;
2512
- }[]>;
466
+ }, z.core.$strip>>;
467
+ }, z.core.$strip>>;
2513
468
  //# sourceMappingURL=app-definition.d.ts.map