@orq-ai/node 4.18.0-rc.6 → 4.18.0-rc.8

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 (335) hide show
  1. package/README.md +66 -93
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/components/createmcpgatewayrequest.d.ts +6 -0
  6. package/models/components/createmcpgatewayrequest.d.ts.map +1 -1
  7. package/models/components/createmcpgatewayrequest.js +2 -0
  8. package/models/components/createmcpgatewayrequest.js.map +1 -1
  9. package/models/components/index.d.ts +0 -27
  10. package/models/components/index.d.ts.map +1 -1
  11. package/models/components/index.js +0 -27
  12. package/models/components/index.js.map +1 -1
  13. package/models/components/mcpauthconfig.d.ts +44 -5
  14. package/models/components/mcpauthconfig.d.ts.map +1 -1
  15. package/models/components/mcpauthconfig.js +20 -3
  16. package/models/components/mcpauthconfig.js.map +1 -1
  17. package/models/components/mcpauthconfigoutput.d.ts +31 -4
  18. package/models/components/mcpauthconfigoutput.d.ts.map +1 -1
  19. package/models/components/mcpauthconfigoutput.js +18 -3
  20. package/models/components/mcpauthconfigoutput.js.map +1 -1
  21. package/models/components/mcpgateway.d.ts +5 -0
  22. package/models/components/mcpgateway.d.ts.map +1 -1
  23. package/models/components/mcpgateway.js +2 -0
  24. package/models/components/mcpgateway.js.map +1 -1
  25. package/models/components/mcpoauthconfig.d.ts +17 -1
  26. package/models/components/mcpoauthconfig.d.ts.map +1 -1
  27. package/models/components/mcpoauthconfig.js +2 -0
  28. package/models/components/mcpoauthconfig.js.map +1 -1
  29. package/models/components/mcpoauthconfigoutput.d.ts +15 -1
  30. package/models/components/mcpoauthconfigoutput.d.ts.map +1 -1
  31. package/models/components/mcpoauthconfigoutput.js +2 -0
  32. package/models/components/mcpoauthconfigoutput.js.map +1 -1
  33. package/models/components/reasoningpart.js +1 -1
  34. package/models/components/spansummary.d.ts +5 -0
  35. package/models/components/spansummary.d.ts.map +1 -1
  36. package/models/components/spansummary.js +9 -1
  37. package/models/components/spansummary.js.map +1 -1
  38. package/models/components/updatemcpgatewayrequest.d.ts +6 -0
  39. package/models/components/updatemcpgatewayrequest.d.ts.map +1 -1
  40. package/models/components/updatemcpgatewayrequest.js +2 -0
  41. package/models/components/updatemcpgatewayrequest.js.map +1 -1
  42. package/models/operations/createtool.js +4 -4
  43. package/models/operations/getalltools.js +4 -4
  44. package/models/operations/getv2humanevalsets.js +2 -2
  45. package/models/operations/getv2humanevalsetsid.js +2 -2
  46. package/models/operations/index.d.ts +0 -10
  47. package/models/operations/index.d.ts.map +1 -1
  48. package/models/operations/index.js +0 -10
  49. package/models/operations/index.js.map +1 -1
  50. package/models/operations/listdeploymentversions.js +1 -1
  51. package/models/operations/patchv2humanevalsetsid.js +2 -2
  52. package/models/operations/postv2humanevalsets.js +2 -2
  53. package/models/operations/retrievetool.js +4 -4
  54. package/models/operations/runagent.js +1 -1
  55. package/models/operations/streamrunagent.js +1 -1
  56. package/models/operations/updatetool.js +4 -4
  57. package/package.json +3 -3
  58. package/sdk/sdk.d.ts +0 -3
  59. package/sdk/sdk.d.ts.map +1 -1
  60. package/sdk/sdk.js +0 -4
  61. package/sdk/sdk.js.map +1 -1
  62. package/src/lib/config.ts +2 -2
  63. package/src/models/components/createmcpgatewayrequest.ts +11 -0
  64. package/src/models/components/index.ts +0 -27
  65. package/src/models/components/mcpauthconfig.ts +67 -10
  66. package/src/models/components/mcpauthconfigoutput.ts +57 -8
  67. package/src/models/components/mcpgateway.ts +9 -0
  68. package/src/models/components/mcpoauthconfig.ts +19 -1
  69. package/src/models/components/mcpoauthconfigoutput.ts +17 -1
  70. package/src/models/components/reasoningpart.ts +1 -1
  71. package/src/models/components/spansummary.ts +22 -0
  72. package/src/models/components/updatemcpgatewayrequest.ts +11 -0
  73. package/src/models/operations/createtool.ts +4 -4
  74. package/src/models/operations/getalltools.ts +4 -4
  75. package/src/models/operations/getv2humanevalsets.ts +2 -2
  76. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  77. package/src/models/operations/index.ts +0 -10
  78. package/src/models/operations/listdeploymentversions.ts +1 -1
  79. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  80. package/src/models/operations/postv2humanevalsets.ts +2 -2
  81. package/src/models/operations/retrievetool.ts +4 -4
  82. package/src/models/operations/runagent.ts +1 -1
  83. package/src/models/operations/streamrunagent.ts +1 -1
  84. package/src/models/operations/updatetool.ts +4 -4
  85. package/src/sdk/sdk.ts +0 -6
  86. package/funcs/wikisCreate.d.ts +0 -12
  87. package/funcs/wikisCreate.d.ts.map +0 -1
  88. package/funcs/wikisCreate.js +0 -113
  89. package/funcs/wikisCreate.js.map +0 -1
  90. package/funcs/wikisDelete.d.ts +0 -13
  91. package/funcs/wikisDelete.d.ts.map +0 -1
  92. package/funcs/wikisDelete.js +0 -119
  93. package/funcs/wikisDelete.js.map +0 -1
  94. package/funcs/wikisGet.d.ts +0 -13
  95. package/funcs/wikisGet.d.ts.map +0 -1
  96. package/funcs/wikisGet.js +0 -119
  97. package/funcs/wikisGet.js.map +0 -1
  98. package/funcs/wikisGetPage.d.ts +0 -13
  99. package/funcs/wikisGetPage.d.ts.map +0 -1
  100. package/funcs/wikisGetPage.js +0 -124
  101. package/funcs/wikisGetPage.js.map +0 -1
  102. package/funcs/wikisGetTree.d.ts +0 -13
  103. package/funcs/wikisGetTree.d.ts.map +0 -1
  104. package/funcs/wikisGetTree.js +0 -119
  105. package/funcs/wikisGetTree.js.map +0 -1
  106. package/funcs/wikisInspectRepository.d.ts +0 -12
  107. package/funcs/wikisInspectRepository.d.ts.map +0 -1
  108. package/funcs/wikisInspectRepository.js +0 -113
  109. package/funcs/wikisInspectRepository.js.map +0 -1
  110. package/funcs/wikisList.d.ts +0 -13
  111. package/funcs/wikisList.d.ts.map +0 -1
  112. package/funcs/wikisList.js +0 -122
  113. package/funcs/wikisList.js.map +0 -1
  114. package/funcs/wikisListRuns.d.ts +0 -13
  115. package/funcs/wikisListRuns.d.ts.map +0 -1
  116. package/funcs/wikisListRuns.js +0 -123
  117. package/funcs/wikisListRuns.js.map +0 -1
  118. package/funcs/wikisRefresh.d.ts +0 -13
  119. package/funcs/wikisRefresh.d.ts.map +0 -1
  120. package/funcs/wikisRefresh.js +0 -122
  121. package/funcs/wikisRefresh.js.map +0 -1
  122. package/funcs/wikisSearch.d.ts +0 -13
  123. package/funcs/wikisSearch.d.ts.map +0 -1
  124. package/funcs/wikisSearch.js +0 -124
  125. package/funcs/wikisSearch.js.map +0 -1
  126. package/funcs/wikisUpdate.d.ts +0 -13
  127. package/funcs/wikisUpdate.d.ts.map +0 -1
  128. package/funcs/wikisUpdate.js +0 -120
  129. package/funcs/wikisUpdate.js.map +0 -1
  130. package/funcs/wikisUpdatePage.d.ts +0 -13
  131. package/funcs/wikisUpdatePage.d.ts.map +0 -1
  132. package/funcs/wikisUpdatePage.js +0 -122
  133. package/funcs/wikisUpdatePage.js.map +0 -1
  134. package/models/components/createwikirequest.d.ts +0 -26
  135. package/models/components/createwikirequest.d.ts.map +0 -1
  136. package/models/components/createwikirequest.js +0 -65
  137. package/models/components/createwikirequest.js.map +0 -1
  138. package/models/components/createwikiresponse.d.ts +0 -11
  139. package/models/components/createwikiresponse.d.ts.map +0 -1
  140. package/models/components/createwikiresponse.js +0 -51
  141. package/models/components/createwikiresponse.js.map +0 -1
  142. package/models/components/deletewikiresponse.d.ts +0 -8
  143. package/models/components/deletewikiresponse.d.ts.map +0 -1
  144. package/models/components/deletewikiresponse.js +0 -48
  145. package/models/components/deletewikiresponse.js.map +0 -1
  146. package/models/components/getwikipageresponse.d.ts +0 -11
  147. package/models/components/getwikipageresponse.d.ts.map +0 -1
  148. package/models/components/getwikipageresponse.js +0 -51
  149. package/models/components/getwikipageresponse.js.map +0 -1
  150. package/models/components/getwikiresponse.d.ts +0 -11
  151. package/models/components/getwikiresponse.d.ts.map +0 -1
  152. package/models/components/getwikiresponse.js +0 -51
  153. package/models/components/getwikiresponse.js.map +0 -1
  154. package/models/components/getwikitreeresponse.d.ts +0 -11
  155. package/models/components/getwikitreeresponse.d.ts.map +0 -1
  156. package/models/components/getwikitreeresponse.js +0 -51
  157. package/models/components/getwikitreeresponse.js.map +0 -1
  158. package/models/components/inspectrepositorywikirequest.d.ts +0 -16
  159. package/models/components/inspectrepositorywikirequest.d.ts.map +0 -1
  160. package/models/components/inspectrepositorywikirequest.js +0 -57
  161. package/models/components/inspectrepositorywikirequest.js.map +0 -1
  162. package/models/components/inspectrepositorywikiresponse.d.ts +0 -11
  163. package/models/components/inspectrepositorywikiresponse.d.ts.map +0 -1
  164. package/models/components/inspectrepositorywikiresponse.js +0 -56
  165. package/models/components/inspectrepositorywikiresponse.js.map +0 -1
  166. package/models/components/listwikirunsresponse.d.ts +0 -11
  167. package/models/components/listwikirunsresponse.d.ts.map +0 -1
  168. package/models/components/listwikirunsresponse.js +0 -51
  169. package/models/components/listwikirunsresponse.js.map +0 -1
  170. package/models/components/listwikisresponse.d.ts +0 -12
  171. package/models/components/listwikisresponse.d.ts.map +0 -1
  172. package/models/components/listwikisresponse.js +0 -57
  173. package/models/components/listwikisresponse.js.map +0 -1
  174. package/models/components/mcpenterpriseauthconfig.d.ts +0 -42
  175. package/models/components/mcpenterpriseauthconfig.d.ts.map +0 -1
  176. package/models/components/mcpenterpriseauthconfig.js +0 -60
  177. package/models/components/mcpenterpriseauthconfig.js.map +0 -1
  178. package/models/components/mcpenterpriseauthconfigoutput.d.ts +0 -32
  179. package/models/components/mcpenterpriseauthconfigoutput.d.ts.map +0 -1
  180. package/models/components/mcpenterpriseauthconfigoutput.js +0 -59
  181. package/models/components/mcpenterpriseauthconfigoutput.js.map +0 -1
  182. package/models/components/refreshwikirequest.d.ts +0 -12
  183. package/models/components/refreshwikirequest.d.ts.map +0 -1
  184. package/models/components/refreshwikirequest.js +0 -49
  185. package/models/components/refreshwikirequest.js.map +0 -1
  186. package/models/components/refreshwikiresponse.d.ts +0 -11
  187. package/models/components/refreshwikiresponse.d.ts.map +0 -1
  188. package/models/components/refreshwikiresponse.js +0 -51
  189. package/models/components/refreshwikiresponse.js.map +0 -1
  190. package/models/components/searchwikiresponse.d.ts +0 -11
  191. package/models/components/searchwikiresponse.d.ts.map +0 -1
  192. package/models/components/searchwikiresponse.js +0 -51
  193. package/models/components/searchwikiresponse.js.map +0 -1
  194. package/models/components/updatewikipagerequest.d.ts +0 -16
  195. package/models/components/updatewikipagerequest.d.ts.map +0 -1
  196. package/models/components/updatewikipagerequest.js +0 -56
  197. package/models/components/updatewikipagerequest.js.map +0 -1
  198. package/models/components/updatewikipageresponse.d.ts +0 -11
  199. package/models/components/updatewikipageresponse.d.ts.map +0 -1
  200. package/models/components/updatewikipageresponse.js +0 -51
  201. package/models/components/updatewikipageresponse.js.map +0 -1
  202. package/models/components/updatewikirequest.d.ts +0 -17
  203. package/models/components/updatewikirequest.d.ts.map +0 -1
  204. package/models/components/updatewikirequest.js +0 -58
  205. package/models/components/updatewikirequest.js.map +0 -1
  206. package/models/components/updatewikiresponse.d.ts +0 -11
  207. package/models/components/updatewikiresponse.d.ts.map +0 -1
  208. package/models/components/updatewikiresponse.js +0 -51
  209. package/models/components/updatewikiresponse.js.map +0 -1
  210. package/models/components/wiki.d.ts +0 -29
  211. package/models/components/wiki.d.ts.map +0 -1
  212. package/models/components/wiki.js +0 -88
  213. package/models/components/wiki.js.map +0 -1
  214. package/models/components/wikipage.d.ts +0 -19
  215. package/models/components/wikipage.d.ts.map +0 -1
  216. package/models/components/wikipage.js +0 -68
  217. package/models/components/wikipage.js.map +0 -1
  218. package/models/components/wikirepository.d.ts +0 -25
  219. package/models/components/wikirepository.d.ts.map +0 -1
  220. package/models/components/wikirepository.js +0 -75
  221. package/models/components/wikirepository.js.map +0 -1
  222. package/models/components/wikirun.d.ts +0 -25
  223. package/models/components/wikirun.d.ts.map +0 -1
  224. package/models/components/wikirun.js +0 -79
  225. package/models/components/wikirun.js.map +0 -1
  226. package/models/components/wikirunstats.d.ts +0 -13
  227. package/models/components/wikirunstats.d.ts.map +0 -1
  228. package/models/components/wikirunstats.js +0 -60
  229. package/models/components/wikirunstats.js.map +0 -1
  230. package/models/components/wikisearchhit.d.ts +0 -14
  231. package/models/components/wikisearchhit.d.ts.map +0 -1
  232. package/models/components/wikisearchhit.js +0 -60
  233. package/models/components/wikisearchhit.js.map +0 -1
  234. package/models/components/wikisettings.d.ts +0 -25
  235. package/models/components/wikisettings.d.ts.map +0 -1
  236. package/models/components/wikisettings.js +0 -79
  237. package/models/components/wikisettings.js.map +0 -1
  238. package/models/components/wikitreepage.d.ts +0 -15
  239. package/models/components/wikitreepage.d.ts.map +0 -1
  240. package/models/components/wikitreepage.js +0 -61
  241. package/models/components/wikitreepage.js.map +0 -1
  242. package/models/operations/deletewiki.d.ts +0 -12
  243. package/models/operations/deletewiki.d.ts.map +0 -1
  244. package/models/operations/deletewiki.js +0 -54
  245. package/models/operations/deletewiki.js.map +0 -1
  246. package/models/operations/getwiki.d.ts +0 -12
  247. package/models/operations/getwiki.d.ts.map +0 -1
  248. package/models/operations/getwiki.js +0 -54
  249. package/models/operations/getwiki.js.map +0 -1
  250. package/models/operations/getwikipage.d.ts +0 -16
  251. package/models/operations/getwikipage.d.ts.map +0 -1
  252. package/models/operations/getwikipage.js +0 -57
  253. package/models/operations/getwikipage.js.map +0 -1
  254. package/models/operations/getwikitree.d.ts +0 -12
  255. package/models/operations/getwikitree.d.ts.map +0 -1
  256. package/models/operations/getwikitree.js +0 -54
  257. package/models/operations/getwikitree.js.map +0 -1
  258. package/models/operations/listwikiruns.d.ts +0 -14
  259. package/models/operations/listwikiruns.d.ts.map +0 -1
  260. package/models/operations/listwikiruns.js +0 -55
  261. package/models/operations/listwikiruns.js.map +0 -1
  262. package/models/operations/listwikis.d.ts +0 -22
  263. package/models/operations/listwikis.d.ts.map +0 -1
  264. package/models/operations/listwikis.js +0 -62
  265. package/models/operations/listwikis.js.map +0 -1
  266. package/models/operations/refreshwiki.d.ts +0 -15
  267. package/models/operations/refreshwiki.d.ts.map +0 -1
  268. package/models/operations/refreshwiki.js +0 -57
  269. package/models/operations/refreshwiki.js.map +0 -1
  270. package/models/operations/searchwiki.d.ts +0 -16
  271. package/models/operations/searchwiki.d.ts.map +0 -1
  272. package/models/operations/searchwiki.js +0 -56
  273. package/models/operations/searchwiki.js.map +0 -1
  274. package/models/operations/updatewiki.d.ts +0 -15
  275. package/models/operations/updatewiki.d.ts.map +0 -1
  276. package/models/operations/updatewiki.js +0 -57
  277. package/models/operations/updatewiki.js.map +0 -1
  278. package/models/operations/updatewikipage.d.ts +0 -15
  279. package/models/operations/updatewikipage.d.ts.map +0 -1
  280. package/models/operations/updatewikipage.js +0 -57
  281. package/models/operations/updatewikipage.js.map +0 -1
  282. package/sdk/wikis.d.ts +0 -18
  283. package/sdk/wikis.d.ts.map +0 -1
  284. package/sdk/wikis.js +0 -60
  285. package/sdk/wikis.js.map +0 -1
  286. package/src/funcs/wikisCreate.ts +0 -165
  287. package/src/funcs/wikisDelete.ts +0 -171
  288. package/src/funcs/wikisGet.ts +0 -171
  289. package/src/funcs/wikisGetPage.ts +0 -177
  290. package/src/funcs/wikisGetTree.ts +0 -171
  291. package/src/funcs/wikisInspectRepository.ts +0 -166
  292. package/src/funcs/wikisList.ts +0 -176
  293. package/src/funcs/wikisListRuns.ts +0 -176
  294. package/src/funcs/wikisRefresh.ts +0 -174
  295. package/src/funcs/wikisSearch.ts +0 -177
  296. package/src/funcs/wikisUpdate.ts +0 -172
  297. package/src/funcs/wikisUpdatePage.ts +0 -174
  298. package/src/models/components/createwikirequest.ts +0 -67
  299. package/src/models/components/createwikiresponse.ts +0 -32
  300. package/src/models/components/deletewikiresponse.ts +0 -27
  301. package/src/models/components/getwikipageresponse.ts +0 -32
  302. package/src/models/components/getwikiresponse.ts +0 -32
  303. package/src/models/components/getwikitreeresponse.ts +0 -32
  304. package/src/models/components/inspectrepositorywikirequest.ts +0 -45
  305. package/src/models/components/inspectrepositorywikiresponse.ts +0 -38
  306. package/src/models/components/listwikirunsresponse.ts +0 -32
  307. package/src/models/components/listwikisresponse.ts +0 -39
  308. package/src/models/components/mcpenterpriseauthconfig.ts +0 -72
  309. package/src/models/components/mcpenterpriseauthconfigoutput.ts +0 -62
  310. package/src/models/components/refreshwikirequest.ts +0 -31
  311. package/src/models/components/refreshwikiresponse.ts +0 -32
  312. package/src/models/components/searchwikiresponse.ts +0 -32
  313. package/src/models/components/updatewikipagerequest.ts +0 -42
  314. package/src/models/components/updatewikipageresponse.ts +0 -32
  315. package/src/models/components/updatewikirequest.ts +0 -48
  316. package/src/models/components/updatewikiresponse.ts +0 -32
  317. package/src/models/components/wiki.ts +0 -91
  318. package/src/models/components/wikipage.ts +0 -58
  319. package/src/models/components/wikirepository.ts +0 -72
  320. package/src/models/components/wikirun.ts +0 -71
  321. package/src/models/components/wikirunstats.ts +0 -44
  322. package/src/models/components/wikisearchhit.ts +0 -45
  323. package/src/models/components/wikisettings.ts +0 -76
  324. package/src/models/components/wikitreepage.ts +0 -47
  325. package/src/models/operations/deletewiki.ts +0 -36
  326. package/src/models/operations/getwiki.ts +0 -32
  327. package/src/models/operations/getwikipage.ts +0 -43
  328. package/src/models/operations/getwikitree.ts +0 -36
  329. package/src/models/operations/listwikiruns.ts +0 -39
  330. package/src/models/operations/listwikis.ts +0 -54
  331. package/src/models/operations/refreshwiki.ts +0 -41
  332. package/src/models/operations/searchwiki.ts +0 -42
  333. package/src/models/operations/updatewiki.ts +0 -41
  334. package/src/models/operations/updatewikipage.ts +0 -41
  335. package/src/sdk/wikis.ts +0 -154
@@ -1,32 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import { Wiki, Wiki$inboundSchema } from "./wiki.js";
10
-
11
- export type GetWikiResponse = {
12
- wiki?: Wiki | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const GetWikiResponse$inboundSchema: z.ZodType<
17
- GetWikiResponse,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- wiki: Wiki$inboundSchema.optional(),
22
- });
23
-
24
- export function getWikiResponseFromJSON(
25
- jsonString: string,
26
- ): SafeParseResult<GetWikiResponse, SDKValidationError> {
27
- return safeParse(
28
- jsonString,
29
- (x) => GetWikiResponse$inboundSchema.parse(JSON.parse(x)),
30
- `Failed to parse 'GetWikiResponse' from JSON`,
31
- );
32
- }
@@ -1,32 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import { WikiTreePage, WikiTreePage$inboundSchema } from "./wikitreepage.js";
10
-
11
- export type GetWikiTreeResponse = {
12
- pages?: Array<WikiTreePage> | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const GetWikiTreeResponse$inboundSchema: z.ZodType<
17
- GetWikiTreeResponse,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- pages: z.array(WikiTreePage$inboundSchema).optional(),
22
- });
23
-
24
- export function getWikiTreeResponseFromJSON(
25
- jsonString: string,
26
- ): SafeParseResult<GetWikiTreeResponse, SDKValidationError> {
27
- return safeParse(
28
- jsonString,
29
- (x) => GetWikiTreeResponse$inboundSchema.parse(JSON.parse(x)),
30
- `Failed to parse 'GetWikiTreeResponse' from JSON`,
31
- );
32
- }
@@ -1,45 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
-
8
- export type InspectRepositoryWikiRequest = {
9
- scmConnectionId?: string | undefined;
10
- repositoryUrl?: string | undefined;
11
- branch?: string | undefined;
12
- };
13
-
14
- /** @internal */
15
- export type InspectRepositoryWikiRequest$Outbound = {
16
- scm_connection_id?: string | undefined;
17
- repository_url?: string | undefined;
18
- branch?: string | undefined;
19
- };
20
-
21
- /** @internal */
22
- export const InspectRepositoryWikiRequest$outboundSchema: z.ZodType<
23
- InspectRepositoryWikiRequest$Outbound,
24
- z.ZodTypeDef,
25
- InspectRepositoryWikiRequest
26
- > = z.object({
27
- scmConnectionId: z.string().optional(),
28
- repositoryUrl: z.string().optional(),
29
- branch: z.string().optional(),
30
- }).transform((v) => {
31
- return remap$(v, {
32
- scmConnectionId: "scm_connection_id",
33
- repositoryUrl: "repository_url",
34
- });
35
- });
36
-
37
- export function inspectRepositoryWikiRequestToJSON(
38
- inspectRepositoryWikiRequest: InspectRepositoryWikiRequest,
39
- ): string {
40
- return JSON.stringify(
41
- InspectRepositoryWikiRequest$outboundSchema.parse(
42
- inspectRepositoryWikiRequest,
43
- ),
44
- );
45
- }
@@ -1,38 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
-
11
- export type InspectRepositoryWikiResponse = {
12
- available?: boolean | undefined;
13
- pageCount?: number | undefined;
14
- };
15
-
16
- /** @internal */
17
- export const InspectRepositoryWikiResponse$inboundSchema: z.ZodType<
18
- InspectRepositoryWikiResponse,
19
- z.ZodTypeDef,
20
- unknown
21
- > = z.object({
22
- available: z.boolean().optional(),
23
- page_count: z.number().int().optional(),
24
- }).transform((v) => {
25
- return remap$(v, {
26
- "page_count": "pageCount",
27
- });
28
- });
29
-
30
- export function inspectRepositoryWikiResponseFromJSON(
31
- jsonString: string,
32
- ): SafeParseResult<InspectRepositoryWikiResponse, SDKValidationError> {
33
- return safeParse(
34
- jsonString,
35
- (x) => InspectRepositoryWikiResponse$inboundSchema.parse(JSON.parse(x)),
36
- `Failed to parse 'InspectRepositoryWikiResponse' from JSON`,
37
- );
38
- }
@@ -1,32 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import { WikiRun, WikiRun$inboundSchema } from "./wikirun.js";
10
-
11
- export type ListWikiRunsResponse = {
12
- data?: Array<WikiRun> | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const ListWikiRunsResponse$inboundSchema: z.ZodType<
17
- ListWikiRunsResponse,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- data: z.array(WikiRun$inboundSchema).optional(),
22
- });
23
-
24
- export function listWikiRunsResponseFromJSON(
25
- jsonString: string,
26
- ): SafeParseResult<ListWikiRunsResponse, SDKValidationError> {
27
- return safeParse(
28
- jsonString,
29
- (x) => ListWikiRunsResponse$inboundSchema.parse(JSON.parse(x)),
30
- `Failed to parse 'ListWikiRunsResponse' from JSON`,
31
- );
32
- }
@@ -1,39 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
- import { Wiki, Wiki$inboundSchema } from "./wiki.js";
11
-
12
- export type ListWikisResponse = {
13
- data?: Array<Wiki> | undefined;
14
- hasMore?: boolean | undefined;
15
- };
16
-
17
- /** @internal */
18
- export const ListWikisResponse$inboundSchema: z.ZodType<
19
- ListWikisResponse,
20
- z.ZodTypeDef,
21
- unknown
22
- > = z.object({
23
- data: z.array(Wiki$inboundSchema).optional(),
24
- has_more: z.boolean().optional(),
25
- }).transform((v) => {
26
- return remap$(v, {
27
- "has_more": "hasMore",
28
- });
29
- });
30
-
31
- export function listWikisResponseFromJSON(
32
- jsonString: string,
33
- ): SafeParseResult<ListWikisResponse, SDKValidationError> {
34
- return safeParse(
35
- jsonString,
36
- (x) => ListWikisResponse$inboundSchema.parse(JSON.parse(x)),
37
- `Failed to parse 'ListWikisResponse' from JSON`,
38
- );
39
- }
@@ -1,72 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
-
8
- /**
9
- * McpEnterpriseAuthConfig is the client orq registered at the upstream's authorization
10
- *
11
- * @remarks
12
- * server for enterprise-managed authorization (ID-JAG). Access policy lives in the
13
- * workspace's SSO identity provider; users must sign in through SSO to use the server.
14
- */
15
- export type McpEnterpriseAuthConfig = {
16
- /**
17
- * RFC 9728 resource identifier the tokens are bound to; defaults to the connection URL.
18
- */
19
- resource?: string | undefined;
20
- /**
21
- * OAuth client identifier registered at the upstream authorization server.
22
- */
23
- clientId?: string | undefined;
24
- /**
25
- * OAuth client secret; accepted on write and never returned.
26
- */
27
- clientSecret?: string | undefined;
28
- /**
29
- * Redacted preview of `client_secret`, returned in its place.
30
- */
31
- maskedValue?: string | undefined;
32
- /**
33
- * Scopes requested when redeeming the identity assertion grant.
34
- */
35
- scopes?: Array<string> | undefined;
36
- };
37
-
38
- /** @internal */
39
- export type McpEnterpriseAuthConfig$Outbound = {
40
- resource?: string | undefined;
41
- client_id?: string | undefined;
42
- client_secret?: string | undefined;
43
- masked_value?: string | undefined;
44
- scopes?: Array<string> | undefined;
45
- };
46
-
47
- /** @internal */
48
- export const McpEnterpriseAuthConfig$outboundSchema: z.ZodType<
49
- McpEnterpriseAuthConfig$Outbound,
50
- z.ZodTypeDef,
51
- McpEnterpriseAuthConfig
52
- > = z.object({
53
- resource: z.string().optional(),
54
- clientId: z.string().optional(),
55
- clientSecret: z.string().optional(),
56
- maskedValue: z.string().optional(),
57
- scopes: z.array(z.string()).optional(),
58
- }).transform((v) => {
59
- return remap$(v, {
60
- clientId: "client_id",
61
- clientSecret: "client_secret",
62
- maskedValue: "masked_value",
63
- });
64
- });
65
-
66
- export function mcpEnterpriseAuthConfigToJSON(
67
- mcpEnterpriseAuthConfig: McpEnterpriseAuthConfig,
68
- ): string {
69
- return JSON.stringify(
70
- McpEnterpriseAuthConfig$outboundSchema.parse(mcpEnterpriseAuthConfig),
71
- );
72
- }
@@ -1,62 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
-
11
- /**
12
- * McpEnterpriseAuthConfig is the client orq registered at the upstream's authorization
13
- *
14
- * @remarks
15
- * server for enterprise-managed authorization (ID-JAG). Access policy lives in the
16
- * workspace's SSO identity provider; users must sign in through SSO to use the server.
17
- */
18
- export type McpEnterpriseAuthConfigOutput = {
19
- /**
20
- * RFC 9728 resource identifier the tokens are bound to; defaults to the connection URL.
21
- */
22
- resource?: string | undefined;
23
- /**
24
- * OAuth client identifier registered at the upstream authorization server.
25
- */
26
- clientId?: string | undefined;
27
- /**
28
- * Redacted preview of `client_secret`, returned in its place.
29
- */
30
- maskedValue?: string | undefined;
31
- /**
32
- * Scopes requested when redeeming the identity assertion grant.
33
- */
34
- scopes?: Array<string> | undefined;
35
- };
36
-
37
- /** @internal */
38
- export const McpEnterpriseAuthConfigOutput$inboundSchema: z.ZodType<
39
- McpEnterpriseAuthConfigOutput,
40
- z.ZodTypeDef,
41
- unknown
42
- > = z.object({
43
- resource: z.string().optional(),
44
- client_id: z.string().optional(),
45
- masked_value: z.string().optional(),
46
- scopes: z.array(z.string()).optional(),
47
- }).transform((v) => {
48
- return remap$(v, {
49
- "client_id": "clientId",
50
- "masked_value": "maskedValue",
51
- });
52
- });
53
-
54
- export function mcpEnterpriseAuthConfigOutputFromJSON(
55
- jsonString: string,
56
- ): SafeParseResult<McpEnterpriseAuthConfigOutput, SDKValidationError> {
57
- return safeParse(
58
- jsonString,
59
- (x) => McpEnterpriseAuthConfigOutput$inboundSchema.parse(JSON.parse(x)),
60
- `Failed to parse 'McpEnterpriseAuthConfigOutput' from JSON`,
61
- );
62
- }
@@ -1,31 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
-
7
- export type RefreshWikiRequest = {
8
- full?: boolean | undefined;
9
- };
10
-
11
- /** @internal */
12
- export type RefreshWikiRequest$Outbound = {
13
- full?: boolean | undefined;
14
- };
15
-
16
- /** @internal */
17
- export const RefreshWikiRequest$outboundSchema: z.ZodType<
18
- RefreshWikiRequest$Outbound,
19
- z.ZodTypeDef,
20
- RefreshWikiRequest
21
- > = z.object({
22
- full: z.boolean().optional(),
23
- });
24
-
25
- export function refreshWikiRequestToJSON(
26
- refreshWikiRequest: RefreshWikiRequest,
27
- ): string {
28
- return JSON.stringify(
29
- RefreshWikiRequest$outboundSchema.parse(refreshWikiRequest),
30
- );
31
- }
@@ -1,32 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import { WikiRun, WikiRun$inboundSchema } from "./wikirun.js";
10
-
11
- export type RefreshWikiResponse = {
12
- run?: WikiRun | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const RefreshWikiResponse$inboundSchema: z.ZodType<
17
- RefreshWikiResponse,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- run: WikiRun$inboundSchema.optional(),
22
- });
23
-
24
- export function refreshWikiResponseFromJSON(
25
- jsonString: string,
26
- ): SafeParseResult<RefreshWikiResponse, SDKValidationError> {
27
- return safeParse(
28
- jsonString,
29
- (x) => RefreshWikiResponse$inboundSchema.parse(JSON.parse(x)),
30
- `Failed to parse 'RefreshWikiResponse' from JSON`,
31
- );
32
- }
@@ -1,32 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import { WikiSearchHit, WikiSearchHit$inboundSchema } from "./wikisearchhit.js";
10
-
11
- export type SearchWikiResponse = {
12
- hits?: Array<WikiSearchHit> | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const SearchWikiResponse$inboundSchema: z.ZodType<
17
- SearchWikiResponse,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- hits: z.array(WikiSearchHit$inboundSchema).optional(),
22
- });
23
-
24
- export function searchWikiResponseFromJSON(
25
- jsonString: string,
26
- ): SafeParseResult<SearchWikiResponse, SDKValidationError> {
27
- return safeParse(
28
- jsonString,
29
- (x) => SearchWikiResponse$inboundSchema.parse(JSON.parse(x)),
30
- `Failed to parse 'SearchWikiResponse' from JSON`,
31
- );
32
- }
@@ -1,42 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
-
8
- export type UpdateWikiPageRequest = {
9
- path?: string | undefined;
10
- markdown?: string | undefined;
11
- expectedContentHash?: string | undefined;
12
- };
13
-
14
- /** @internal */
15
- export type UpdateWikiPageRequest$Outbound = {
16
- path?: string | undefined;
17
- markdown?: string | undefined;
18
- expected_content_hash?: string | undefined;
19
- };
20
-
21
- /** @internal */
22
- export const UpdateWikiPageRequest$outboundSchema: z.ZodType<
23
- UpdateWikiPageRequest$Outbound,
24
- z.ZodTypeDef,
25
- UpdateWikiPageRequest
26
- > = z.object({
27
- path: z.string().optional(),
28
- markdown: z.string().optional(),
29
- expectedContentHash: z.string().optional(),
30
- }).transform((v) => {
31
- return remap$(v, {
32
- expectedContentHash: "expected_content_hash",
33
- });
34
- });
35
-
36
- export function updateWikiPageRequestToJSON(
37
- updateWikiPageRequest: UpdateWikiPageRequest,
38
- ): string {
39
- return JSON.stringify(
40
- UpdateWikiPageRequest$outboundSchema.parse(updateWikiPageRequest),
41
- );
42
- }
@@ -1,32 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import { WikiPage, WikiPage$inboundSchema } from "./wikipage.js";
10
-
11
- export type UpdateWikiPageResponse = {
12
- page?: WikiPage | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const UpdateWikiPageResponse$inboundSchema: z.ZodType<
17
- UpdateWikiPageResponse,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- page: WikiPage$inboundSchema.optional(),
22
- });
23
-
24
- export function updateWikiPageResponseFromJSON(
25
- jsonString: string,
26
- ): SafeParseResult<UpdateWikiPageResponse, SDKValidationError> {
27
- return safeParse(
28
- jsonString,
29
- (x) => UpdateWikiPageResponse$inboundSchema.parse(JSON.parse(x)),
30
- `Failed to parse 'UpdateWikiPageResponse' from JSON`,
31
- );
32
- }
@@ -1,48 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import {
8
- WikiSettings,
9
- WikiSettings$Outbound,
10
- WikiSettings$outboundSchema,
11
- } from "./wikisettings.js";
12
-
13
- export type UpdateWikiRequest = {
14
- displayName?: string | undefined;
15
- scmConnectionId?: string | undefined;
16
- settings?: WikiSettings | undefined;
17
- };
18
-
19
- /** @internal */
20
- export type UpdateWikiRequest$Outbound = {
21
- display_name?: string | undefined;
22
- scm_connection_id?: string | undefined;
23
- settings?: WikiSettings$Outbound | undefined;
24
- };
25
-
26
- /** @internal */
27
- export const UpdateWikiRequest$outboundSchema: z.ZodType<
28
- UpdateWikiRequest$Outbound,
29
- z.ZodTypeDef,
30
- UpdateWikiRequest
31
- > = z.object({
32
- displayName: z.string().optional(),
33
- scmConnectionId: z.string().optional(),
34
- settings: WikiSettings$outboundSchema.optional(),
35
- }).transform((v) => {
36
- return remap$(v, {
37
- displayName: "display_name",
38
- scmConnectionId: "scm_connection_id",
39
- });
40
- });
41
-
42
- export function updateWikiRequestToJSON(
43
- updateWikiRequest: UpdateWikiRequest,
44
- ): string {
45
- return JSON.stringify(
46
- UpdateWikiRequest$outboundSchema.parse(updateWikiRequest),
47
- );
48
- }
@@ -1,32 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import { Wiki, Wiki$inboundSchema } from "./wiki.js";
10
-
11
- export type UpdateWikiResponse = {
12
- wiki?: Wiki | undefined;
13
- };
14
-
15
- /** @internal */
16
- export const UpdateWikiResponse$inboundSchema: z.ZodType<
17
- UpdateWikiResponse,
18
- z.ZodTypeDef,
19
- unknown
20
- > = z.object({
21
- wiki: Wiki$inboundSchema.optional(),
22
- });
23
-
24
- export function updateWikiResponseFromJSON(
25
- jsonString: string,
26
- ): SafeParseResult<UpdateWikiResponse, SDKValidationError> {
27
- return safeParse(
28
- jsonString,
29
- (x) => UpdateWikiResponse$inboundSchema.parse(JSON.parse(x)),
30
- `Failed to parse 'UpdateWikiResponse' from JSON`,
31
- );
32
- }