@yadsh/dsh-qa-surface 0.6.1 → 0.7.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 (281) hide show
  1. package/README.md +136 -7
  2. package/capability-policy.json +1 -1
  3. package/lib/access/capability-catalog.js +144 -0
  4. package/lib/access/capability-catalog.js.map +1 -0
  5. package/lib/access/model.js +379 -0
  6. package/lib/access/model.js.map +1 -0
  7. package/lib/access/role-repository.js +195 -0
  8. package/lib/access/role-repository.js.map +1 -0
  9. package/lib/access/service.js +380 -0
  10. package/lib/access/service.js.map +1 -0
  11. package/lib/access/skill-metadata.js +234 -0
  12. package/lib/access/skill-metadata.js.map +1 -0
  13. package/lib/account-remotes.js +20 -10
  14. package/lib/account-remotes.js.map +1 -1
  15. package/lib/accounts/errors.js.map +1 -1
  16. package/lib/accounts/file.js.map +1 -1
  17. package/lib/accounts/store.js +202 -3
  18. package/lib/accounts/store.js.map +1 -1
  19. package/lib/admin/conversation-log.js +256 -0
  20. package/lib/admin/conversation-log.js.map +1 -0
  21. package/lib/admin/index.js +17 -0
  22. package/lib/admin/index.js.map +1 -0
  23. package/lib/admin/metrics.js +103 -0
  24. package/lib/admin/metrics.js.map +1 -0
  25. package/lib/admin/paging.js +23 -0
  26. package/lib/admin/paging.js.map +1 -0
  27. package/lib/admin/permissions.js +50 -0
  28. package/lib/admin/permissions.js.map +1 -0
  29. package/lib/admin/quality-store.js +485 -0
  30. package/lib/admin/quality-store.js.map +1 -0
  31. package/lib/admin/queue.js +107 -0
  32. package/lib/admin/queue.js.map +1 -0
  33. package/lib/admin/redaction.js +45 -0
  34. package/lib/admin/redaction.js.map +1 -0
  35. package/lib/admin/service.js +897 -0
  36. package/lib/admin/service.js.map +1 -0
  37. package/lib/admin/session-log.js +142 -0
  38. package/lib/admin/session-log.js.map +1 -0
  39. package/lib/cli.js +9 -6
  40. package/lib/cli.js.map +1 -1
  41. package/lib/client/QaSessionController.js +28 -2
  42. package/lib/client/QaSessionController.js.map +1 -1
  43. package/lib/client/QaSurface.js +143 -5
  44. package/lib/client/QaSurface.js.map +1 -1
  45. package/lib/client/QaTranscriptAdapter.js +1 -0
  46. package/lib/client/QaTranscriptAdapter.js.map +1 -1
  47. package/lib/client/admin/QaAdmin.js +458 -0
  48. package/lib/client/admin/QaAdmin.js.map +1 -0
  49. package/lib/client/admin/format.js +177 -0
  50. package/lib/client/admin/format.js.map +1 -0
  51. package/lib/client/admin/pages/Conversations.js +114 -0
  52. package/lib/client/admin/pages/Conversations.js.map +1 -0
  53. package/lib/client/admin/pages/Overview.js +24 -0
  54. package/lib/client/admin/pages/Overview.js.map +1 -0
  55. package/lib/client/admin/pages/Quality.js +71 -0
  56. package/lib/client/admin/pages/Quality.js.map +1 -0
  57. package/lib/client/admin/pages/Review.js +93 -0
  58. package/lib/client/admin/pages/Review.js.map +1 -0
  59. package/lib/client/admin/pages/Users.js +95 -0
  60. package/lib/client/admin/pages/Users.js.map +1 -0
  61. package/lib/client/admin/routes.js +127 -0
  62. package/lib/client/admin/routes.js.map +1 -0
  63. package/lib/client/admin/shared.js +91 -0
  64. package/lib/client/admin/shared.js.map +1 -0
  65. package/lib/client/admin/styles.js +111 -0
  66. package/lib/client/admin/styles.js.map +1 -0
  67. package/lib/client/components/QaChangelog.js +35 -0
  68. package/lib/client/components/QaChangelog.js.map +1 -1
  69. package/lib/client/components/QaHeader.js +3 -3
  70. package/lib/client/components/QaHeader.js.map +1 -1
  71. package/lib/client/components/QaMessage.js +61 -2
  72. package/lib/client/components/QaMessage.js.map +1 -1
  73. package/lib/client/create-session.js +1 -1
  74. package/lib/client/create-session.js.map +1 -1
  75. package/lib/client/index.js +33 -1
  76. package/lib/client/index.js.map +1 -1
  77. package/lib/client/role/RoleSelector.js +31 -0
  78. package/lib/client/role/RoleSelector.js.map +1 -0
  79. package/lib/client/session-sources.js +37 -1
  80. package/lib/client/session-sources.js.map +1 -1
  81. package/lib/client/settings/card.js +2 -2
  82. package/lib/client/settings/card.js.map +1 -1
  83. package/lib/client/settings/sections.js +0 -1
  84. package/lib/client/settings/sections.js.map +1 -1
  85. package/lib/client/styles.js +31 -0
  86. package/lib/client/styles.js.map +1 -1
  87. package/lib/client/types.js.map +1 -1
  88. package/lib/client.js +9908 -4857
  89. package/lib/client.js.map +1 -1
  90. package/lib/config-resolvers/defaults.js +0 -2
  91. package/lib/config-resolvers/defaults.js.map +1 -1
  92. package/lib/config.js +0 -249
  93. package/lib/config.js.map +1 -1
  94. package/lib/enforcement/skill-policy.js +172 -0
  95. package/lib/enforcement/skill-policy.js.map +1 -0
  96. package/lib/enforcement/tool-grants.js +151 -0
  97. package/lib/enforcement/tool-grants.js.map +1 -0
  98. package/lib/index.js +224 -42
  99. package/lib/index.js.map +1 -1
  100. package/lib/personal-skills/service.js +10 -3
  101. package/lib/personal-skills/service.js.map +1 -1
  102. package/lib/qa-tools/index.js +4 -0
  103. package/lib/qa-tools/index.js.map +1 -1
  104. package/lib/resolve-config.js +0 -2
  105. package/lib/resolve-config.js.map +1 -1
  106. package/lib/secure-session.js +71 -17
  107. package/lib/secure-session.js.map +1 -1
  108. package/lib/typert.host.js +2237 -202
  109. package/lib/typert.remote-client.d.ts +49 -3
  110. package/lib/typert.remote-client.js +1863 -183
  111. package/lib/types/access/capability-catalog.d.ts +37 -0
  112. package/lib/types/access/model.d.ts +60 -0
  113. package/lib/types/access/role-repository.d.ts +32 -0
  114. package/lib/types/access/service.d.ts +57 -0
  115. package/lib/types/access/skill-metadata.d.ts +53 -0
  116. package/lib/types/account-remotes.d.ts +6 -0
  117. package/lib/types/accounts/errors.d.ts +1 -1
  118. package/lib/types/accounts/file.d.ts +16 -5
  119. package/lib/types/accounts/store.d.ts +83 -3
  120. package/lib/types/admin/conversation-log.d.ts +39 -0
  121. package/lib/types/admin/index.d.ts +24 -0
  122. package/lib/types/admin/metrics.d.ts +29 -0
  123. package/lib/types/admin/paging.d.ts +33 -0
  124. package/lib/types/admin/permissions.d.ts +10 -0
  125. package/lib/types/admin/quality-store.d.ts +82 -0
  126. package/lib/types/admin/queue.d.ts +21 -0
  127. package/lib/types/admin/redaction.d.ts +29 -0
  128. package/lib/types/admin/service.d.ts +105 -0
  129. package/lib/types/admin/session-log.d.ts +53 -0
  130. package/lib/types/client/QaSessionController.d.ts +12 -1
  131. package/lib/types/client/QaSurface.d.ts +7 -1
  132. package/lib/types/client/admin/QaAdmin.d.ts +17 -0
  133. package/lib/types/client/admin/format.d.ts +43 -0
  134. package/lib/types/client/admin/pages/Conversations.d.ts +21 -0
  135. package/lib/types/client/admin/pages/Overview.d.ts +13 -0
  136. package/lib/types/client/admin/pages/Quality.d.ts +18 -0
  137. package/lib/types/client/admin/pages/Review.d.ts +15 -0
  138. package/lib/types/client/admin/pages/Users.d.ts +22 -0
  139. package/lib/types/client/admin/routes.d.ts +50 -0
  140. package/lib/types/client/admin/shared.d.ts +53 -0
  141. package/lib/types/client/admin/styles.d.ts +11 -0
  142. package/lib/types/client/components/QaHeader.d.ts +5 -1
  143. package/lib/types/client/components/QaMessage.d.ts +14 -1
  144. package/lib/types/client/create-session.d.ts +2 -0
  145. package/lib/types/client/role/RoleSelector.d.ts +14 -0
  146. package/lib/types/client/session-sources.d.ts +9 -0
  147. package/lib/types/client/settings/sections.d.ts +0 -1
  148. package/lib/types/client/types.d.ts +39 -2
  149. package/lib/types/enforcement/skill-policy.d.ts +29 -0
  150. package/lib/types/enforcement/tool-grants.d.ts +84 -0
  151. package/lib/types/index.d.ts +62 -14
  152. package/lib/types/qa-tools/index.d.ts +2 -0
  153. package/lib/types/secure-session.d.ts +10 -1
  154. package/lib/types/types.d.ts +568 -5
  155. package/package.json +1 -1
  156. package/lib/client/settings/sections/documents.js +0 -88
  157. package/lib/client/settings/sections/documents.js.map +0 -1
  158. package/lib/documents/artifacts/ids.js +0 -43
  159. package/lib/documents/artifacts/ids.js.map +0 -1
  160. package/lib/documents/artifacts/manifest.js +0 -66
  161. package/lib/documents/artifacts/manifest.js.map +0 -1
  162. package/lib/documents/artifacts/store.js +0 -169
  163. package/lib/documents/artifacts/store.js.map +0 -1
  164. package/lib/documents/capabilities.js +0 -93
  165. package/lib/documents/capabilities.js.map +0 -1
  166. package/lib/documents/config.js +0 -302
  167. package/lib/documents/config.js.map +0 -1
  168. package/lib/documents/defaults.js +0 -78
  169. package/lib/documents/defaults.js.map +0 -1
  170. package/lib/documents/errors.js +0 -101
  171. package/lib/documents/errors.js.map +0 -1
  172. package/lib/documents/index.js +0 -80
  173. package/lib/documents/index.js.map +0 -1
  174. package/lib/documents/inspect/facts.js +0 -161
  175. package/lib/documents/inspect/facts.js.map +0 -1
  176. package/lib/documents/inspect/zip.js +0 -108
  177. package/lib/documents/inspect/zip.js.map +0 -1
  178. package/lib/documents/markdown/directives.js +0 -135
  179. package/lib/documents/markdown/directives.js.map +0 -1
  180. package/lib/documents/markdown/frontmatter.js +0 -35
  181. package/lib/documents/markdown/frontmatter.js.map +0 -1
  182. package/lib/documents/markdown/normalize.js +0 -113
  183. package/lib/documents/markdown/normalize.js.map +0 -1
  184. package/lib/documents/orchestrator/assets.js +0 -243
  185. package/lib/documents/orchestrator/assets.js.map +0 -1
  186. package/lib/documents/orchestrator/convert-document.js +0 -186
  187. package/lib/documents/orchestrator/convert-document.js.map +0 -1
  188. package/lib/documents/orchestrator/create-document.js +0 -292
  189. package/lib/documents/orchestrator/create-document.js.map +0 -1
  190. package/lib/documents/orchestrator/extract-document.js +0 -162
  191. package/lib/documents/orchestrator/extract-document.js.map +0 -1
  192. package/lib/documents/orchestrator/inspect-document.js +0 -89
  193. package/lib/documents/orchestrator/inspect-document.js.map +0 -1
  194. package/lib/documents/orchestrator/runtime-deps.js +0 -59
  195. package/lib/documents/orchestrator/runtime-deps.js.map +0 -1
  196. package/lib/documents/orchestrator/scope.js +0 -132
  197. package/lib/documents/orchestrator/scope.js.map +0 -1
  198. package/lib/documents/providers/docling.js +0 -247
  199. package/lib/documents/providers/docling.js.map +0 -1
  200. package/lib/documents/providers/libreoffice.js +0 -130
  201. package/lib/documents/providers/libreoffice.js.map +0 -1
  202. package/lib/documents/providers/markitdown.js +0 -89
  203. package/lib/documents/providers/markitdown.js.map +0 -1
  204. package/lib/documents/providers/pandoc.js +0 -161
  205. package/lib/documents/providers/pandoc.js.map +0 -1
  206. package/lib/documents/providers/process.js +0 -164
  207. package/lib/documents/providers/process.js.map +0 -1
  208. package/lib/documents/providers/registry.js +0 -152
  209. package/lib/documents/providers/registry.js.map +0 -1
  210. package/lib/documents/providers/shared.js +0 -75
  211. package/lib/documents/providers/shared.js.map +0 -1
  212. package/lib/documents/runtime.js +0 -114
  213. package/lib/documents/runtime.js.map +0 -1
  214. package/lib/documents/security/file-types.js +0 -188
  215. package/lib/documents/security/file-types.js.map +0 -1
  216. package/lib/documents/security/limits.js +0 -78
  217. package/lib/documents/security/limits.js.map +0 -1
  218. package/lib/documents/security/mime.js +0 -43
  219. package/lib/documents/security/mime.js.map +0 -1
  220. package/lib/documents/security/paths.js +0 -133
  221. package/lib/documents/security/paths.js.map +0 -1
  222. package/lib/documents/templates/registry.js +0 -147
  223. package/lib/documents/templates/registry.js.map +0 -1
  224. package/lib/documents/templates/resolver.js +0 -59
  225. package/lib/documents/templates/resolver.js.map +0 -1
  226. package/lib/documents/tools/convert.js +0 -125
  227. package/lib/documents/tools/convert.js.map +0 -1
  228. package/lib/documents/tools/create.js +0 -187
  229. package/lib/documents/tools/create.js.map +0 -1
  230. package/lib/documents/tools/index.js +0 -41
  231. package/lib/documents/tools/index.js.map +0 -1
  232. package/lib/documents/tools/inspect.js +0 -135
  233. package/lib/documents/tools/inspect.js.map +0 -1
  234. package/lib/documents/tools/shared.js +0 -88
  235. package/lib/documents/tools/shared.js.map +0 -1
  236. package/lib/documents/tools/to-markdown.js +0 -125
  237. package/lib/documents/tools/to-markdown.js.map +0 -1
  238. package/lib/documents/types.js +0 -12
  239. package/lib/documents/types.js.map +0 -1
  240. package/lib/types/client/settings/sections/documents.d.ts +0 -13
  241. package/lib/types/documents/artifacts/ids.d.ts +0 -14
  242. package/lib/types/documents/artifacts/manifest.d.ts +0 -32
  243. package/lib/types/documents/artifacts/store.d.ts +0 -67
  244. package/lib/types/documents/capabilities.d.ts +0 -32
  245. package/lib/types/documents/config.d.ts +0 -27
  246. package/lib/types/documents/defaults.d.ts +0 -161
  247. package/lib/types/documents/errors.d.ts +0 -42
  248. package/lib/types/documents/index.d.ts +0 -63
  249. package/lib/types/documents/inspect/facts.d.ts +0 -43
  250. package/lib/types/documents/inspect/zip.d.ts +0 -28
  251. package/lib/types/documents/markdown/directives.d.ts +0 -39
  252. package/lib/types/documents/markdown/frontmatter.d.ts +0 -15
  253. package/lib/types/documents/markdown/normalize.d.ts +0 -30
  254. package/lib/types/documents/orchestrator/assets.d.ts +0 -55
  255. package/lib/types/documents/orchestrator/convert-document.d.ts +0 -25
  256. package/lib/types/documents/orchestrator/create-document.d.ts +0 -18
  257. package/lib/types/documents/orchestrator/extract-document.d.ts +0 -24
  258. package/lib/types/documents/orchestrator/inspect-document.d.ts +0 -12
  259. package/lib/types/documents/orchestrator/runtime-deps.d.ts +0 -43
  260. package/lib/types/documents/orchestrator/scope.d.ts +0 -52
  261. package/lib/types/documents/providers/docling.d.ts +0 -54
  262. package/lib/types/documents/providers/libreoffice.d.ts +0 -40
  263. package/lib/types/documents/providers/markitdown.d.ts +0 -28
  264. package/lib/types/documents/providers/pandoc.d.ts +0 -42
  265. package/lib/types/documents/providers/process.d.ts +0 -54
  266. package/lib/types/documents/providers/registry.d.ts +0 -68
  267. package/lib/types/documents/providers/shared.d.ts +0 -27
  268. package/lib/types/documents/runtime.d.ts +0 -59
  269. package/lib/types/documents/security/file-types.d.ts +0 -39
  270. package/lib/types/documents/security/limits.d.ts +0 -24
  271. package/lib/types/documents/security/mime.d.ts +0 -13
  272. package/lib/types/documents/security/paths.d.ts +0 -38
  273. package/lib/types/documents/templates/registry.d.ts +0 -50
  274. package/lib/types/documents/templates/resolver.d.ts +0 -30
  275. package/lib/types/documents/tools/convert.d.ts +0 -9
  276. package/lib/types/documents/tools/create.d.ts +0 -14
  277. package/lib/types/documents/tools/index.d.ts +0 -33
  278. package/lib/types/documents/tools/inspect.d.ts +0 -9
  279. package/lib/types/documents/tools/shared.d.ts +0 -77
  280. package/lib/types/documents/tools/to-markdown.d.ts +0 -12
  281. package/lib/types/documents/types.d.ts +0 -294
@@ -5,6 +5,335 @@ const QaSourceMetadataValueRemoteCodec$schema = z.union([z.literal(null), z.stri
5
5
  const QaSkillJsonValueRemoteCodec$schema = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema)).readonly()])
6
6
  const QaSkillJsonValueRemoteCodec$schema2 = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema2)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema2)).readonly()])
7
7
  const QaSkillJsonValueRemoteCodec$schema3 = z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => QaSkillJsonValueRemoteCodec$schema3)), z.record(z.string(), z.lazy(() => QaSkillJsonValueRemoteCodec$schema3)).readonly()])
8
+ const _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_parameter_0$schema = z.string()
9
+ const _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema = z.object({
10
+ 'config': z.object({
11
+ 'version': z.literal(1).readonly(),
12
+ 'common': z.object({
13
+ 'tools': z.object({
14
+ 'always': z.array(z.string()).readonly(),
15
+ 'skillGrantable': z.array(z.string()).readonly(),
16
+ }).readonly(),
17
+ 'skills': z.array(z.string()).readonly(),
18
+ 'mcpServers': z.array(z.string()).readonly().optional(),
19
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
20
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
21
+ }).readonly(),
22
+ 'subroles': z.array(z.object({
23
+ 'id': z.string().readonly(),
24
+ 'name': z.string().readonly(),
25
+ 'description': z.string().readonly().optional(),
26
+ 'enabled': z.boolean().readonly(),
27
+ 'capabilities': z.object({
28
+ 'tools': z.object({
29
+ 'always': z.array(z.string()).readonly(),
30
+ 'skillGrantable': z.array(z.string()).readonly(),
31
+ }).readonly(),
32
+ 'skills': z.array(z.string()).readonly(),
33
+ 'mcpServers': z.array(z.string()).readonly().optional(),
34
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
35
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
36
+ }).readonly(),
37
+ 'ui': z.object({
38
+ 'icon': z.string().readonly().optional(),
39
+ 'accent': z.string().readonly().optional(),
40
+ }).readonly().optional(),
41
+ })).readonly(),
42
+ 'skillOverrides': z.array(z.object({
43
+ 'skillName': z.string().readonly(),
44
+ 'addToSubroles': z.array(z.string()).readonly().optional(),
45
+ 'removeFromSubroles': z.array(z.string()).readonly().optional(),
46
+ 'forceCommon': z.boolean().readonly().optional(),
47
+ 'disabled': z.boolean().readonly().optional(),
48
+ })).readonly(),
49
+ }).readonly(),
50
+ 'systemRequired': z.object({
51
+ 'tools': z.object({
52
+ 'always': z.array(z.string()).readonly(),
53
+ 'skillGrantable': z.array(z.string()).readonly(),
54
+ }).readonly(),
55
+ 'skills': z.array(z.string()).readonly(),
56
+ 'mcpServers': z.array(z.string()).readonly().optional(),
57
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
58
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
59
+ }).readonly(),
60
+ 'catalog': z.array(z.object({
61
+ 'type': z.union([z.literal("tool"), z.literal("skill")]).readonly(),
62
+ 'id': z.string().readonly(),
63
+ 'title': z.string().readonly(),
64
+ 'description': z.string().readonly().optional(),
65
+ 'source': z.object({
66
+ 'kind': z.union([z.literal("core"), z.literal("plugin"), z.literal("mcp"), z.literal("filesystem"), z.literal("runtime")]).readonly(),
67
+ 'name': z.string().readonly().optional(),
68
+ }).readonly(),
69
+ 'status': z.union([z.literal("available"), z.literal("missing")]).readonly(),
70
+ 'modelInvocable': z.boolean().readonly().optional(),
71
+ 'userInvocable': z.boolean().readonly().optional(),
72
+ })).readonly(),
73
+ 'skills': z.array(z.object({
74
+ 'name': z.string().readonly(),
75
+ 'description': z.string().readonly().optional(),
76
+ 'whenToUse': z.string().readonly().optional(),
77
+ 'source': z.object({
78
+ 'kind': z.union([z.literal("core"), z.literal("plugin"), z.literal("mcp"), z.literal("filesystem"), z.literal("runtime")]).readonly(),
79
+ 'name': z.string().readonly().optional(),
80
+ }).readonly(),
81
+ 'status': z.union([z.literal("available"), z.literal("missing")]).readonly(),
82
+ 'descriptor': z.object({
83
+ 'name': z.string().readonly(),
84
+ 'audience': z.union([z.object({
85
+ 'type': z.literal("unassigned").readonly(),
86
+ }), z.object({
87
+ 'type': z.literal("common").readonly(),
88
+ }), z.object({
89
+ 'type': z.literal("subroles").readonly(),
90
+ 'include': z.array(z.string()).readonly(),
91
+ })]).readonly(),
92
+ 'requiredTools': z.array(z.string()).readonly(),
93
+ 'requireAll': z.boolean().readonly(),
94
+ 'lifecycle': z.literal("session").readonly(),
95
+ 'schemaVersion': z.number().readonly(),
96
+ 'declared': z.boolean().readonly(),
97
+ 'warnings': z.array(z.string()).readonly(),
98
+ }).readonly(),
99
+ 'visibleTo': z.array(z.string()).readonly(),
100
+ 'disabled': z.boolean().readonly(),
101
+ 'forceCommon': z.boolean().readonly(),
102
+ 'overridden': z.boolean().readonly(),
103
+ 'health': z.union([z.literal("blocked"), z.literal("unassigned"), z.literal("healthy"), z.literal("degraded")]).readonly(),
104
+ 'tools': z.array(z.object({
105
+ 'id': z.string().readonly(),
106
+ 'installed': z.boolean().readonly(),
107
+ 'grantableBy': z.array(z.string()).readonly(),
108
+ 'blockedFor': z.array(z.string()).readonly(),
109
+ })).readonly(),
110
+ 'roles': z.array(z.object({
111
+ 'roleId': z.string().readonly(),
112
+ 'visible': z.boolean().readonly(),
113
+ 'declared': z.boolean().readonly(),
114
+ 'addedByAdmin': z.boolean().readonly(),
115
+ 'removedByAdmin': z.boolean().readonly(),
116
+ 'disabled': z.boolean().readonly(),
117
+ 'grantableTools': z.array(z.string()).readonly(),
118
+ 'unavailableTools': z.array(z.string()).readonly(),
119
+ })).readonly(),
120
+ })).readonly(),
121
+ 'users': z.array(z.object({
122
+ 'id': z.string().readonly(),
123
+ 'email': z.string().readonly(),
124
+ 'displayName': z.string().readonly(),
125
+ 'accessRole': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
126
+ 'disabled': z.boolean().readonly(),
127
+ 'access': z.object({
128
+ 'allowedSubroles': z.array(z.string()).readonly(),
129
+ 'defaultSubrole': z.string().readonly(),
130
+ }).readonly(),
131
+ })).readonly(),
132
+ 'audit': z.array(z.object({
133
+ 'timestamp': z.string().readonly(),
134
+ 'actorId': z.string().readonly(),
135
+ 'action': z.union([z.literal("subrole.created"), z.literal("subrole.updated"), z.literal("subrole.deleted"), z.literal("common.updated"), z.literal("assignment.updated"), z.literal("skill.assignment-updated")]).readonly(),
136
+ 'targetId': z.string().readonly().optional(),
137
+ 'before': z.string().readonly().optional(),
138
+ 'after': z.string().readonly().optional(),
139
+ })).readonly(),
140
+ })
141
+ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_0$schema = z.string()
142
+ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1$schema = z.object({
143
+ 'id': z.string().readonly(),
144
+ 'name': z.string().readonly(),
145
+ 'description': z.string().readonly().optional(),
146
+ 'enabled': z.boolean().readonly(),
147
+ 'capabilities': z.object({
148
+ 'tools': z.object({
149
+ 'always': z.array(z.string()).readonly(),
150
+ 'skillGrantable': z.array(z.string()).readonly(),
151
+ }).readonly(),
152
+ 'skills': z.array(z.string()).readonly(),
153
+ 'mcpServers': z.array(z.string()).readonly().optional(),
154
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
155
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
156
+ }).readonly(),
157
+ 'ui': z.object({
158
+ 'icon': z.string().readonly().optional(),
159
+ 'accent': z.string().readonly().optional(),
160
+ }).readonly().optional(),
161
+ })
162
+ const _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema = z.object({
163
+ 'id': z.string().readonly(),
164
+ 'name': z.string().readonly(),
165
+ 'description': z.string().readonly().optional(),
166
+ 'enabled': z.boolean().readonly(),
167
+ 'capabilities': z.object({
168
+ 'tools': z.object({
169
+ 'always': z.array(z.string()).readonly(),
170
+ 'skillGrantable': z.array(z.string()).readonly(),
171
+ }).readonly(),
172
+ 'skills': z.array(z.string()).readonly(),
173
+ 'mcpServers': z.array(z.string()).readonly().optional(),
174
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
175
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
176
+ }).readonly(),
177
+ 'ui': z.object({
178
+ 'icon': z.string().readonly().optional(),
179
+ 'accent': z.string().readonly().optional(),
180
+ }).readonly().optional(),
181
+ })
182
+ const _yadsh_dsh_qa_surface_qaSurface_accessCurrent_parameter_0$schema = z.string()
183
+ const _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema = z.object({
184
+ 'subroles': z.array(z.object({
185
+ 'id': z.string().readonly(),
186
+ 'name': z.string().readonly(),
187
+ 'description': z.string().readonly().optional(),
188
+ 'enabled': z.boolean().readonly(),
189
+ 'capabilities': z.object({
190
+ 'tools': z.object({
191
+ 'always': z.array(z.string()).readonly(),
192
+ 'skillGrantable': z.array(z.string()).readonly(),
193
+ }).readonly(),
194
+ 'skills': z.array(z.string()).readonly(),
195
+ 'mcpServers': z.array(z.string()).readonly().optional(),
196
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
197
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
198
+ }).readonly(),
199
+ 'ui': z.object({
200
+ 'icon': z.string().readonly().optional(),
201
+ 'accent': z.string().readonly().optional(),
202
+ }).readonly().optional(),
203
+ })).readonly(),
204
+ 'defaultSubrole': z.string().readonly(),
205
+ })
206
+ const _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_0$schema = z.string()
207
+ const _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_1$schema = z.string()
208
+ const _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_2$schema = z.union([z.literal(null), z.string()])
209
+ const _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema = z.object({
210
+ 'deleted': z.boolean().readonly(),
211
+ })
212
+ const _yadsh_dsh_qa_surface_qaSurface_accessSession_parameter_0$schema = z.string()
213
+ const _yadsh_dsh_qa_surface_qaSurface_accessSession_parameter_1$schema = z.string()
214
+ const _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema = z.object({
215
+ 'subrole': z.object({
216
+ 'id': z.string().readonly(),
217
+ 'name': z.string().readonly(),
218
+ 'description': z.string().readonly().optional(),
219
+ 'enabled': z.boolean().readonly(),
220
+ 'capabilities': z.object({
221
+ 'tools': z.object({
222
+ 'always': z.array(z.string()).readonly(),
223
+ 'skillGrantable': z.array(z.string()).readonly(),
224
+ }).readonly(),
225
+ 'skills': z.array(z.string()).readonly(),
226
+ 'mcpServers': z.array(z.string()).readonly().optional(),
227
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
228
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
229
+ }).readonly(),
230
+ 'ui': z.object({
231
+ 'icon': z.string().readonly().optional(),
232
+ 'accent': z.string().readonly().optional(),
233
+ }).readonly().optional(),
234
+ }).readonly(),
235
+ 'adminPreview': z.boolean().readonly(),
236
+ })
237
+ const _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_parameter_0$schema = z.string()
238
+ const _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_parameter_1$schema = z.string()
239
+ const _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema = z.array(z.object({
240
+ 'timestamp': z.string().readonly(),
241
+ 'skillName': z.string().readonly(),
242
+ 'origin': z.union([z.literal("user"), z.literal("model"), z.literal("preview")]).readonly(),
243
+ 'outcome': z.union([z.literal("activated"), z.literal("rejected"), z.literal("denied")]).readonly(),
244
+ 'requestedTools': z.array(z.string()).readonly(),
245
+ 'grantedTools': z.array(z.string()).readonly(),
246
+ 'deniedTools': z.array(z.string()).readonly(),
247
+ 'reason': z.string().readonly().optional(),
248
+ }))
249
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_0$schema = z.string()
250
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_1$schema = z.string()
251
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2$schema = z.object({
252
+ 'allowedSubroles': z.array(z.string()).readonly(),
253
+ 'defaultSubrole': z.string().readonly(),
254
+ })
255
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema = z.object({
256
+ 'allowedSubroles': z.array(z.string()).readonly(),
257
+ 'defaultSubrole': z.string().readonly(),
258
+ })
259
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0$schema = z.string()
260
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_1$schema = z.object({
261
+ 'tools': z.object({
262
+ 'always': z.array(z.string()).readonly(),
263
+ 'skillGrantable': z.array(z.string()).readonly(),
264
+ }).readonly(),
265
+ 'skills': z.array(z.string()).readonly(),
266
+ 'mcpServers': z.array(z.string()).readonly().optional(),
267
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
268
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
269
+ })
270
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema = z.object({
271
+ 'tools': z.object({
272
+ 'always': z.array(z.string()).readonly(),
273
+ 'skillGrantable': z.array(z.string()).readonly(),
274
+ }).readonly(),
275
+ 'skills': z.array(z.string()).readonly(),
276
+ 'mcpServers': z.array(z.string()).readonly().optional(),
277
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
278
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
279
+ })
280
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_parameter_0$schema = z.string()
281
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_parameter_1$schema = z.object({
282
+ 'skillName': z.string().readonly(),
283
+ 'addToSubroles': z.array(z.string()).readonly().optional(),
284
+ 'removeFromSubroles': z.array(z.string()).readonly().optional(),
285
+ 'forceCommon': z.boolean().readonly().optional(),
286
+ 'disabled': z.boolean().readonly().optional(),
287
+ })
288
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema = z.array(z.object({
289
+ 'skillName': z.string().readonly(),
290
+ 'addToSubroles': z.array(z.string()).readonly().optional(),
291
+ 'removeFromSubroles': z.array(z.string()).readonly().optional(),
292
+ 'forceCommon': z.boolean().readonly().optional(),
293
+ 'disabled': z.boolean().readonly().optional(),
294
+ }))
295
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_0$schema = z.string()
296
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_1$schema = z.string()
297
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2$schema = z.object({
298
+ 'id': z.string().readonly(),
299
+ 'name': z.string().readonly(),
300
+ 'description': z.string().readonly().optional(),
301
+ 'enabled': z.boolean().readonly(),
302
+ 'capabilities': z.object({
303
+ 'tools': z.object({
304
+ 'always': z.array(z.string()).readonly(),
305
+ 'skillGrantable': z.array(z.string()).readonly(),
306
+ }).readonly(),
307
+ 'skills': z.array(z.string()).readonly(),
308
+ 'mcpServers': z.array(z.string()).readonly().optional(),
309
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
310
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
311
+ }).readonly(),
312
+ 'ui': z.object({
313
+ 'icon': z.string().readonly().optional(),
314
+ 'accent': z.string().readonly().optional(),
315
+ }).readonly().optional(),
316
+ })
317
+ const _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema = z.object({
318
+ 'id': z.string().readonly(),
319
+ 'name': z.string().readonly(),
320
+ 'description': z.string().readonly().optional(),
321
+ 'enabled': z.boolean().readonly(),
322
+ 'capabilities': z.object({
323
+ 'tools': z.object({
324
+ 'always': z.array(z.string()).readonly(),
325
+ 'skillGrantable': z.array(z.string()).readonly(),
326
+ }).readonly(),
327
+ 'skills': z.array(z.string()).readonly(),
328
+ 'mcpServers': z.array(z.string()).readonly().optional(),
329
+ 'knowledgeSources': z.array(z.string()).readonly().optional(),
330
+ 'promptAdditions': z.array(z.string()).readonly().optional(),
331
+ }).readonly(),
332
+ 'ui': z.object({
333
+ 'icon': z.string().readonly().optional(),
334
+ 'accent': z.string().readonly().optional(),
335
+ }).readonly().optional(),
336
+ })
8
337
  const _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_0$schema = z.string()
9
338
  const _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_1$schema = z.array(z.string())
10
339
  const _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema = z.object({
@@ -28,7 +357,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema = z.object({
28
357
  'id': z.string().readonly(),
29
358
  'email': z.string().readonly(),
30
359
  'displayName': z.string().readonly(),
31
- 'role': z.union([z.literal("user"), z.literal("admin")]).readonly(),
360
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
32
361
  'createdAt': z.string().readonly(),
33
362
  'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
34
363
  'disabled': z.boolean().readonly(),
@@ -59,7 +388,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema = z.object(
59
388
  'id': z.string().readonly(),
60
389
  'email': z.string().readonly(),
61
390
  'displayName': z.string().readonly(),
62
- 'role': z.union([z.literal("user"), z.literal("admin")]).readonly(),
391
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
63
392
  'createdAt': z.string().readonly(),
64
393
  'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
65
394
  'disabled': z.boolean().readonly(),
@@ -88,7 +417,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema = z.ob
88
417
  'id': z.string().readonly(),
89
418
  'email': z.string().readonly(),
90
419
  'displayName': z.string().readonly(),
91
- 'role': z.union([z.literal("user"), z.literal("admin")]).readonly(),
420
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
92
421
  'createdAt': z.string().readonly(),
93
422
  'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
94
423
  'disabled': z.boolean().readonly(),
@@ -118,7 +447,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema = z.o
118
447
  'id': z.string().readonly(),
119
448
  'email': z.string().readonly(),
120
449
  'displayName': z.string().readonly(),
121
- 'role': z.union([z.literal("user"), z.literal("admin")]).readonly(),
450
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
122
451
  'createdAt': z.string().readonly(),
123
452
  'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
124
453
  'disabled': z.boolean().readonly(),
@@ -145,7 +474,7 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema = z.union([z.
145
474
  'id': z.string().readonly(),
146
475
  'email': z.string().readonly(),
147
476
  'displayName': z.string().readonly(),
148
- 'role': z.union([z.literal("user"), z.literal("admin")]).readonly(),
477
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
149
478
  'createdAt': z.string().readonly(),
150
479
  'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
151
480
  'disabled': z.boolean().readonly(),
@@ -164,10 +493,486 @@ const _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema = z.union([z.
164
493
  }).readonly(),
165
494
  }).readonly(),
166
495
  })])
496
+ const _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_0$schema = z.string()
497
+ const _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_1$schema = z.object({
498
+ 'actorId': z.union([z.literal(null), z.string()]).readonly().optional(),
499
+ 'action': z.union([z.literal(null), z.literal("subrole.created"), z.literal("subrole.updated"), z.literal("subrole.deleted"), z.literal("user.created"), z.literal("user.updated"), z.literal("user.enabled"), z.literal("user.disabled"), z.literal("authorization.changed"), z.literal("subrole.assignment.changed"), z.literal("common_capabilities.updated"), z.literal("conversation.reviewed"), z.literal("review.updated"), z.literal("review.queued"), z.literal("admin.settings.updated")]).readonly().optional(),
500
+ 'from': z.union([z.literal(null), z.string()]).readonly().optional(),
501
+ 'to': z.union([z.literal(null), z.string()]).readonly().optional(),
502
+ })
503
+ const _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_2$schema = z.union([z.literal(null), z.string()])
504
+ const _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_3$schema = z.union([z.literal(null), z.number()])
505
+ const _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema = z.object({
506
+ 'items': z.array(z.object({
507
+ 'id': z.string().readonly(),
508
+ 'timestamp': z.string().readonly(),
509
+ 'actorId': z.string().readonly(),
510
+ 'action': z.union([z.literal("subrole.created"), z.literal("subrole.updated"), z.literal("subrole.deleted"), z.literal("user.created"), z.literal("user.updated"), z.literal("user.enabled"), z.literal("user.disabled"), z.literal("authorization.changed"), z.literal("subrole.assignment.changed"), z.literal("common_capabilities.updated"), z.literal("conversation.reviewed"), z.literal("review.updated"), z.literal("review.queued"), z.literal("admin.settings.updated")]).readonly(),
511
+ 'targetType': z.string().readonly().optional(),
512
+ 'targetId': z.string().readonly().optional(),
513
+ 'before': z.string().readonly().optional(),
514
+ 'after': z.string().readonly().optional(),
515
+ })).readonly(),
516
+ 'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
517
+ 'total': z.number().readonly(),
518
+ })
519
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversation_parameter_0$schema = z.string()
520
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversation_parameter_1$schema = z.string()
521
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema = z.object({
522
+ 'conversationId': z.string().readonly(),
523
+ 'summary': z.object({
524
+ 'conversationId': z.string().readonly(),
525
+ 'userId': z.string().readonly(),
526
+ 'displayName': z.string().readonly(),
527
+ 'subroleId': z.string().readonly(),
528
+ 'createdAt': z.string().readonly(),
529
+ 'updatedAt': z.string().readonly(),
530
+ 'title': z.string().readonly().optional(),
531
+ 'messageCount': z.number().readonly(),
532
+ 'positiveFeedback': z.number().readonly(),
533
+ 'negativeFeedback': z.number().readonly(),
534
+ 'reviewStatus': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
535
+ }).readonly(),
536
+ 'runtime': z.object({
537
+ 'subroleId': z.string().readonly(),
538
+ 'adminPreview': z.boolean().readonly(),
539
+ 'model': z.string().readonly().optional(),
540
+ 'provider': z.string().readonly().optional(),
541
+ 'agentPreset': z.string().readonly().optional(),
542
+ 'effectiveTools': z.array(z.string()).readonly().optional(),
543
+ 'effectiveSkills': z.array(z.string()).readonly().optional(),
544
+ 'loadedSkills': z.array(z.string()).readonly().optional(),
545
+ 'transcriptUnavailable': z.union([z.literal("storage-unavailable"), z.literal("not-found"), z.literal("unreadable")]).readonly().optional(),
546
+ }).readonly(),
547
+ 'messages': z.array(z.object({
548
+ 'id': z.string().readonly(),
549
+ 'seq': z.number().readonly(),
550
+ 'role': z.union([z.literal("user"), z.literal("assistant"), z.literal("system")]).readonly(),
551
+ 'text': z.string().readonly(),
552
+ 'time': z.number().readonly(),
553
+ 'model': z.string().readonly().optional(),
554
+ 'provider': z.string().readonly().optional(),
555
+ 'usage': z.object({
556
+ 'inputTokens': z.number().readonly(),
557
+ 'outputTokens': z.number().readonly(),
558
+ 'totalTokens': z.number().readonly().optional(),
559
+ }).readonly().optional(),
560
+ 'interrupted': z.boolean().readonly().optional(),
561
+ 'toolCalls': z.array(z.object({
562
+ 'callId': z.string().readonly(),
563
+ 'name': z.string().readonly(),
564
+ 'arguments': z.string().readonly(),
565
+ 'result': z.string().readonly().optional(),
566
+ 'error': z.string().readonly().optional(),
567
+ 'time': z.number().readonly().optional(),
568
+ 'durationMs': z.number().readonly().optional(),
569
+ })).readonly().optional(),
570
+ 'feedback': z.array(z.object({
571
+ 'id': z.string().readonly(),
572
+ 'conversationId': z.string().readonly(),
573
+ 'messageId': z.string().readonly(),
574
+ 'userId': z.string().readonly(),
575
+ 'rating': z.union([z.literal("positive"), z.literal("negative")]).readonly(),
576
+ 'reasons': z.array(z.union([z.literal("other"), z.literal("incorrect"), z.literal("instruction_not_followed"), z.literal("missing_information"), z.literal("outdated_information"), z.literal("tool_issue"), z.literal("too_verbose"), z.literal("too_short")])).readonly().optional(),
577
+ 'comment': z.string().readonly().optional(),
578
+ 'createdAt': z.string().readonly(),
579
+ 'updatedAt': z.string().readonly().optional(),
580
+ })).readonly().optional(),
581
+ 'reviews': z.array(z.object({
582
+ 'id': z.string().readonly(),
583
+ 'conversationId': z.string().readonly(),
584
+ 'messageId': z.string().readonly().optional(),
585
+ 'reviewerId': z.string().readonly(),
586
+ 'status': z.union([z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
587
+ 'issues': z.array(z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")])).readonly(),
588
+ 'severity': z.union([z.literal("critical"), z.literal("minor"), z.literal("major")]).readonly(),
589
+ 'notes': z.string().readonly().optional(),
590
+ 'target': z.union([z.literal("tool"), z.literal("skill"), z.literal("model"), z.literal("prompt"), z.literal("knowledge"), z.literal("role"), z.literal("product_ux"), z.literal("user_misunderstanding"), z.literal("unknown")]).readonly().optional(),
591
+ 'suggestedAction': z.string().readonly().optional(),
592
+ 'createdAt': z.string().readonly(),
593
+ 'updatedAt': z.string().readonly().optional(),
594
+ })).readonly().optional(),
595
+ })).readonly(),
596
+ 'reviews': z.array(z.object({
597
+ 'id': z.string().readonly(),
598
+ 'conversationId': z.string().readonly(),
599
+ 'messageId': z.string().readonly().optional(),
600
+ 'reviewerId': z.string().readonly(),
601
+ 'status': z.union([z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
602
+ 'issues': z.array(z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")])).readonly(),
603
+ 'severity': z.union([z.literal("critical"), z.literal("minor"), z.literal("major")]).readonly(),
604
+ 'notes': z.string().readonly().optional(),
605
+ 'target': z.union([z.literal("tool"), z.literal("skill"), z.literal("model"), z.literal("prompt"), z.literal("knowledge"), z.literal("role"), z.literal("product_ux"), z.literal("user_misunderstanding"), z.literal("unknown")]).readonly().optional(),
606
+ 'suggestedAction': z.string().readonly().optional(),
607
+ 'createdAt': z.string().readonly(),
608
+ 'updatedAt': z.string().readonly().optional(),
609
+ })).readonly(),
610
+ 'queueItems': z.array(z.object({
611
+ 'conversationId': z.string().readonly(),
612
+ 'messageId': z.string().readonly().optional(),
613
+ 'reason': z.union([z.literal("negative_feedback"), z.literal("manual"), z.literal("tool_failure"), z.literal("automatic")]).readonly(),
614
+ 'priority': z.union([z.literal("low"), z.literal("normal"), z.literal("high")]).readonly(),
615
+ 'status': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
616
+ 'assignedReviewerId': z.string().readonly().optional(),
617
+ 'raisedAt': z.string().readonly(),
618
+ 'reviewerId': z.string().readonly().optional(),
619
+ 'reviewId': z.string().readonly().optional(),
620
+ 'feedbackId': z.string().readonly().optional(),
621
+ })).readonly(),
622
+ })
623
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_0$schema = z.string()
624
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_1$schema = z.object({
625
+ 'userId': z.union([z.literal(null), z.string()]).readonly().optional(),
626
+ 'subroleId': z.union([z.literal(null), z.string()]).readonly().optional(),
627
+ 'from': z.union([z.literal(null), z.string()]).readonly().optional(),
628
+ 'to': z.union([z.literal(null), z.string()]).readonly().optional(),
629
+ 'rating': z.union([z.literal(null), z.literal("positive"), z.literal("negative")]).readonly().optional(),
630
+ 'reviewStatus': z.union([z.literal(null), z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly().optional(),
631
+ 'search': z.union([z.literal(null), z.string()]).readonly().optional(),
632
+ })
633
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_2$schema = z.union([z.literal(null), z.string()])
634
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_3$schema = z.union([z.literal(null), z.number()])
635
+ const _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema = z.object({
636
+ 'items': z.array(z.object({
637
+ 'conversationId': z.string().readonly(),
638
+ 'userId': z.string().readonly(),
639
+ 'displayName': z.string().readonly(),
640
+ 'subroleId': z.string().readonly(),
641
+ 'createdAt': z.string().readonly(),
642
+ 'updatedAt': z.string().readonly(),
643
+ 'title': z.string().readonly().optional(),
644
+ 'messageCount': z.number().readonly(),
645
+ 'positiveFeedback': z.number().readonly(),
646
+ 'negativeFeedback': z.number().readonly(),
647
+ 'reviewStatus': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
648
+ })).readonly(),
649
+ 'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
650
+ 'total': z.number().readonly(),
651
+ })
652
+ const _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_0$schema = z.string()
653
+ const _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_1$schema = z.object({
654
+ 'rating': z.union([z.literal(null), z.literal("positive"), z.literal("negative")]).readonly().optional(),
655
+ 'userId': z.union([z.literal(null), z.string()]).readonly().optional(),
656
+ 'subroleId': z.union([z.literal(null), z.string()]).readonly().optional(),
657
+ 'reason': z.union([z.literal(null), z.literal("other"), z.literal("incorrect"), z.literal("instruction_not_followed"), z.literal("missing_information"), z.literal("outdated_information"), z.literal("tool_issue"), z.literal("too_verbose"), z.literal("too_short")]).readonly().optional(),
658
+ 'from': z.union([z.literal(null), z.string()]).readonly().optional(),
659
+ 'to': z.union([z.literal(null), z.string()]).readonly().optional(),
660
+ 'reviewStatus': z.union([z.literal(null), z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly().optional(),
661
+ })
662
+ const _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_2$schema = z.union([z.literal(null), z.string()])
663
+ const _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_3$schema = z.union([z.literal(null), z.number()])
664
+ const _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema = z.object({
665
+ 'items': z.array(z.object({
666
+ 'displayName': z.string().readonly(),
667
+ 'subroleId': z.string().readonly(),
668
+ 'conversationTitle': z.string().readonly().optional(),
669
+ 'reviewStatus': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
670
+ 'id': z.string().readonly(),
671
+ 'conversationId': z.string().readonly(),
672
+ 'messageId': z.string().readonly(),
673
+ 'userId': z.string().readonly(),
674
+ 'rating': z.union([z.literal("positive"), z.literal("negative")]).readonly(),
675
+ 'reasons': z.array(z.union([z.literal("other"), z.literal("incorrect"), z.literal("instruction_not_followed"), z.literal("missing_information"), z.literal("outdated_information"), z.literal("tool_issue"), z.literal("too_verbose"), z.literal("too_short")])).readonly().optional(),
676
+ 'comment': z.string().readonly().optional(),
677
+ 'createdAt': z.string().readonly(),
678
+ 'updatedAt': z.string().readonly().optional(),
679
+ })).readonly(),
680
+ 'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
681
+ 'total': z.number().readonly(),
682
+ })
683
+ const _yadsh_dsh_qa_surface_qaSurface_adminMetrics_parameter_0$schema = z.string()
684
+ const _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema = z.object({
685
+ 'conversations': z.number().readonly(),
686
+ 'activeUsers': z.number().readonly(),
687
+ 'assistantMessages': z.number().readonly(),
688
+ 'ratedMessages': z.number().readonly(),
689
+ 'positiveRatings': z.number().readonly(),
690
+ 'negativeRatings': z.number().readonly(),
691
+ 'ratingRate': z.union([z.literal(null), z.number()]).readonly(),
692
+ 'positiveRate': z.union([z.literal(null), z.number()]).readonly(),
693
+ 'unreviewedNegatives': z.number().readonly(),
694
+ 'reviewedItems': z.number().readonly(),
695
+ 'issues': z.array(z.object({
696
+ 'issue': z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")]).readonly(),
697
+ 'count': z.number().readonly(),
698
+ })).readonly(),
699
+ 'bySubrole': z.array(z.object({
700
+ 'key': z.string().readonly(),
701
+ 'label': z.string().readonly(),
702
+ 'rated': z.number().readonly(),
703
+ 'positive': z.number().readonly(),
704
+ 'negative': z.number().readonly(),
705
+ 'positiveRate': z.union([z.literal(null), z.number()]).readonly(),
706
+ })).readonly(),
707
+ 'trend': z.array(z.object({
708
+ 'date': z.string().readonly(),
709
+ 'rated': z.number().readonly(),
710
+ 'positive': z.number().readonly(),
711
+ 'negative': z.number().readonly(),
712
+ })).readonly(),
713
+ })
714
+ const _yadsh_dsh_qa_surface_qaSurface_adminOverview_parameter_0$schema = z.string()
715
+ const _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema = z.object({
716
+ 'metrics': z.object({
717
+ 'conversations': z.number().readonly(),
718
+ 'activeUsers': z.number().readonly(),
719
+ 'assistantMessages': z.number().readonly(),
720
+ 'ratedMessages': z.number().readonly(),
721
+ 'positiveRatings': z.number().readonly(),
722
+ 'negativeRatings': z.number().readonly(),
723
+ 'ratingRate': z.union([z.literal(null), z.number()]).readonly(),
724
+ 'positiveRate': z.union([z.literal(null), z.number()]).readonly(),
725
+ 'unreviewedNegatives': z.number().readonly(),
726
+ 'reviewedItems': z.number().readonly(),
727
+ 'issues': z.array(z.object({
728
+ 'issue': z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")]).readonly(),
729
+ 'count': z.number().readonly(),
730
+ })).readonly(),
731
+ 'bySubrole': z.array(z.object({
732
+ 'key': z.string().readonly(),
733
+ 'label': z.string().readonly(),
734
+ 'rated': z.number().readonly(),
735
+ 'positive': z.number().readonly(),
736
+ 'negative': z.number().readonly(),
737
+ 'positiveRate': z.union([z.literal(null), z.number()]).readonly(),
738
+ })).readonly(),
739
+ 'trend': z.array(z.object({
740
+ 'date': z.string().readonly(),
741
+ 'rated': z.number().readonly(),
742
+ 'positive': z.number().readonly(),
743
+ 'negative': z.number().readonly(),
744
+ })).readonly(),
745
+ }).readonly(),
746
+ 'alerts': z.array(z.object({
747
+ 'level': z.union([z.literal("critical"), z.literal("warning"), z.literal("info")]).readonly(),
748
+ 'code': z.union([z.literal("unreviewed-negatives"), z.literal("subrole-satisfaction"), z.literal("recurring-reason")]).readonly(),
749
+ 'count': z.number().readonly(),
750
+ 'subject': z.string().readonly().optional(),
751
+ 'rate': z.number().readonly().optional(),
752
+ })).readonly(),
753
+ 'recentFeedback': z.array(z.object({
754
+ 'displayName': z.string().readonly(),
755
+ 'subroleId': z.string().readonly(),
756
+ 'conversationTitle': z.string().readonly().optional(),
757
+ 'reviewStatus': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
758
+ 'id': z.string().readonly(),
759
+ 'conversationId': z.string().readonly(),
760
+ 'messageId': z.string().readonly(),
761
+ 'userId': z.string().readonly(),
762
+ 'rating': z.union([z.literal("positive"), z.literal("negative")]).readonly(),
763
+ 'reasons': z.array(z.union([z.literal("other"), z.literal("incorrect"), z.literal("instruction_not_followed"), z.literal("missing_information"), z.literal("outdated_information"), z.literal("tool_issue"), z.literal("too_verbose"), z.literal("too_short")])).readonly().optional(),
764
+ 'comment': z.string().readonly().optional(),
765
+ 'createdAt': z.string().readonly(),
766
+ 'updatedAt': z.string().readonly().optional(),
767
+ })).readonly(),
768
+ 'queue': z.array(z.object({
769
+ 'displayName': z.string().readonly(),
770
+ 'subroleId': z.string().readonly(),
771
+ 'title': z.string().readonly().optional(),
772
+ 'raisedAtLabel': z.string().readonly(),
773
+ 'issueSummary': z.array(z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")])).readonly().optional(),
774
+ 'severity': z.union([z.literal("critical"), z.literal("minor"), z.literal("major")]).readonly().optional(),
775
+ 'conversationId': z.string().readonly(),
776
+ 'messageId': z.string().readonly().optional(),
777
+ 'reason': z.union([z.literal("negative_feedback"), z.literal("manual"), z.literal("tool_failure"), z.literal("automatic")]).readonly(),
778
+ 'priority': z.union([z.literal("low"), z.literal("normal"), z.literal("high")]).readonly(),
779
+ 'status': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
780
+ 'assignedReviewerId': z.string().readonly().optional(),
781
+ 'raisedAt': z.string().readonly(),
782
+ 'reviewerId': z.string().readonly().optional(),
783
+ 'reviewId': z.string().readonly().optional(),
784
+ 'feedbackId': z.string().readonly().optional(),
785
+ })).readonly(),
786
+ })
787
+ const _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_0$schema = z.string()
788
+ const _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_1$schema = z.string()
789
+ const _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_2$schema = z.union([z.literal(null), z.string()])
790
+ const _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema = z.object({
791
+ 'conversationId': z.string().readonly(),
792
+ 'messageId': z.string().readonly().optional(),
793
+ 'reason': z.union([z.literal("negative_feedback"), z.literal("manual"), z.literal("tool_failure"), z.literal("automatic")]).readonly(),
794
+ 'priority': z.union([z.literal("low"), z.literal("normal"), z.literal("high")]).readonly(),
795
+ 'status': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
796
+ 'assignedReviewerId': z.string().readonly().optional(),
797
+ 'raisedAt': z.string().readonly(),
798
+ 'reviewerId': z.string().readonly().optional(),
799
+ 'reviewId': z.string().readonly().optional(),
800
+ 'feedbackId': z.string().readonly().optional(),
801
+ })
802
+ const _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_0$schema = z.string()
803
+ const _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_1$schema = z.string()
804
+ const _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_2$schema = z.string()
805
+ const _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_3$schema = z.object({
806
+ 'rating': z.union([z.literal("positive"), z.literal("negative")]).readonly(),
807
+ 'reasons': z.array(z.union([z.literal("other"), z.literal("incorrect"), z.literal("instruction_not_followed"), z.literal("missing_information"), z.literal("outdated_information"), z.literal("tool_issue"), z.literal("too_verbose"), z.literal("too_short")])).readonly().optional(),
808
+ 'comment': z.string().readonly().optional(),
809
+ })
810
+ const _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema = z.object({
811
+ 'id': z.string().readonly(),
812
+ 'conversationId': z.string().readonly(),
813
+ 'messageId': z.string().readonly(),
814
+ 'userId': z.string().readonly(),
815
+ 'rating': z.union([z.literal("positive"), z.literal("negative")]).readonly(),
816
+ 'reasons': z.array(z.union([z.literal("other"), z.literal("incorrect"), z.literal("instruction_not_followed"), z.literal("missing_information"), z.literal("outdated_information"), z.literal("tool_issue"), z.literal("too_verbose"), z.literal("too_short")])).readonly().optional(),
817
+ 'comment': z.string().readonly().optional(),
818
+ 'createdAt': z.string().readonly(),
819
+ 'updatedAt': z.string().readonly().optional(),
820
+ })
821
+ const _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_0$schema = z.string()
822
+ const _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_1$schema = z.union([z.literal(null), z.string()])
823
+ const _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_2$schema = z.union([z.literal(null), z.number()])
824
+ const _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema = z.object({
825
+ 'items': z.array(z.object({
826
+ 'displayName': z.string().readonly(),
827
+ 'subroleId': z.string().readonly(),
828
+ 'title': z.string().readonly().optional(),
829
+ 'raisedAtLabel': z.string().readonly(),
830
+ 'issueSummary': z.array(z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")])).readonly().optional(),
831
+ 'severity': z.union([z.literal("critical"), z.literal("minor"), z.literal("major")]).readonly().optional(),
832
+ 'conversationId': z.string().readonly(),
833
+ 'messageId': z.string().readonly().optional(),
834
+ 'reason': z.union([z.literal("negative_feedback"), z.literal("manual"), z.literal("tool_failure"), z.literal("automatic")]).readonly(),
835
+ 'priority': z.union([z.literal("low"), z.literal("normal"), z.literal("high")]).readonly(),
836
+ 'status': z.union([z.literal("unreviewed"), z.literal("in_review"), z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
837
+ 'assignedReviewerId': z.string().readonly().optional(),
838
+ 'raisedAt': z.string().readonly(),
839
+ 'reviewerId': z.string().readonly().optional(),
840
+ 'reviewId': z.string().readonly().optional(),
841
+ 'feedbackId': z.string().readonly().optional(),
842
+ })).readonly(),
843
+ 'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
844
+ 'total': z.number().readonly(),
845
+ })
846
+ const _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_parameter_0$schema = z.string()
847
+ const _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_parameter_1$schema = z.object({
848
+ 'conversationId': z.string().readonly(),
849
+ 'messageId': z.string().readonly().optional(),
850
+ 'status': z.union([z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
851
+ 'issues': z.array(z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")])).readonly(),
852
+ 'severity': z.union([z.literal("critical"), z.literal("minor"), z.literal("major")]).readonly(),
853
+ 'notes': z.string().readonly().optional(),
854
+ 'target': z.union([z.literal("tool"), z.literal("skill"), z.literal("model"), z.literal("prompt"), z.literal("knowledge"), z.literal("role"), z.literal("product_ux"), z.literal("user_misunderstanding"), z.literal("unknown")]).readonly().optional(),
855
+ 'suggestedAction': z.string().readonly().optional(),
856
+ })
857
+ const _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema = z.object({
858
+ 'id': z.string().readonly(),
859
+ 'conversationId': z.string().readonly(),
860
+ 'messageId': z.string().readonly().optional(),
861
+ 'reviewerId': z.string().readonly(),
862
+ 'status': z.union([z.literal("reviewed"), z.literal("needs_followup")]).readonly(),
863
+ 'issues': z.array(z.union([z.literal("answer.incorrect"), z.literal("answer.incomplete"), z.literal("answer.hallucination"), z.literal("answer.request_not_followed"), z.literal("answer.poor_formatting"), z.literal("answer.communication"), z.literal("context.missing_conversation"), z.literal("context.missing_knowledge"), z.literal("context.outdated_knowledge"), z.literal("tool.wrong_selection"), z.literal("tool.should_have_been_used"), z.literal("tool.bad_arguments"), z.literal("tool.failure"), z.literal("tool.unavailable"), z.literal("skill.missing"), z.literal("skill.wrong"), z.literal("skill.not_followed"), z.literal("skill.prompt_policy"), z.literal("access.missing_capability"), z.literal("access.excessive_capability"), z.literal("other")])).readonly(),
864
+ 'severity': z.union([z.literal("critical"), z.literal("minor"), z.literal("major")]).readonly(),
865
+ 'notes': z.string().readonly().optional(),
866
+ 'target': z.union([z.literal("tool"), z.literal("skill"), z.literal("model"), z.literal("prompt"), z.literal("knowledge"), z.literal("role"), z.literal("product_ux"), z.literal("user_misunderstanding"), z.literal("unknown")]).readonly().optional(),
867
+ 'suggestedAction': z.string().readonly().optional(),
868
+ 'createdAt': z.string().readonly(),
869
+ 'updatedAt': z.string().readonly().optional(),
870
+ })
871
+ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_0$schema = z.string()
872
+ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_1$schema = z.string()
873
+ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2$schema = z.object({
874
+ 'role': z.union([z.literal(null), z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly().optional(),
875
+ 'disabled': z.union([z.literal(null), z.literal(false), z.literal(true)]).readonly().optional(),
876
+ 'access': z.union([z.literal(null), z.object({
877
+ 'allowedSubroles': z.array(z.string()).readonly(),
878
+ 'defaultSubrole': z.string().readonly(),
879
+ })]).readonly().optional(),
880
+ })
881
+ const _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema = z.object({
882
+ 'user': z.object({
883
+ 'conversations': z.number().readonly(),
884
+ 'feedbackGiven': z.number().readonly(),
885
+ 'id': z.string().readonly(),
886
+ 'email': z.string().readonly(),
887
+ 'displayName': z.string().readonly(),
888
+ 'fullName': z.string().readonly(),
889
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
890
+ 'disabled': z.boolean().readonly(),
891
+ 'createdAt': z.string().readonly(),
892
+ 'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
893
+ 'access': z.object({
894
+ 'allowedSubroles': z.array(z.string()).readonly(),
895
+ 'defaultSubrole': z.string().readonly(),
896
+ }).readonly(),
897
+ }).readonly(),
898
+ 'effective': z.array(z.object({
899
+ 'subroleId': z.string().readonly(),
900
+ 'name': z.string().readonly(),
901
+ 'tools': z.number().readonly(),
902
+ 'skills': z.number().readonly(),
903
+ })).readonly(),
904
+ 'activity': z.object({
905
+ 'conversations': z.number().readonly(),
906
+ 'messages': z.number().readonly(),
907
+ 'positiveRatings': z.number().readonly(),
908
+ 'negativeRatings': z.number().readonly(),
909
+ }).readonly(),
910
+ })
911
+ const _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_0$schema = z.string()
912
+ const _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_1$schema = z.string()
913
+ const _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema = z.object({
914
+ 'user': z.object({
915
+ 'conversations': z.number().readonly(),
916
+ 'feedbackGiven': z.number().readonly(),
917
+ 'id': z.string().readonly(),
918
+ 'email': z.string().readonly(),
919
+ 'displayName': z.string().readonly(),
920
+ 'fullName': z.string().readonly(),
921
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
922
+ 'disabled': z.boolean().readonly(),
923
+ 'createdAt': z.string().readonly(),
924
+ 'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
925
+ 'access': z.object({
926
+ 'allowedSubroles': z.array(z.string()).readonly(),
927
+ 'defaultSubrole': z.string().readonly(),
928
+ }).readonly(),
929
+ }).readonly(),
930
+ 'effective': z.array(z.object({
931
+ 'subroleId': z.string().readonly(),
932
+ 'name': z.string().readonly(),
933
+ 'tools': z.number().readonly(),
934
+ 'skills': z.number().readonly(),
935
+ })).readonly(),
936
+ 'activity': z.object({
937
+ 'conversations': z.number().readonly(),
938
+ 'messages': z.number().readonly(),
939
+ 'positiveRatings': z.number().readonly(),
940
+ 'negativeRatings': z.number().readonly(),
941
+ }).readonly(),
942
+ })
943
+ const _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_0$schema = z.string()
944
+ const _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_1$schema = z.object({
945
+ 'search': z.union([z.literal(null), z.string()]).readonly().optional(),
946
+ 'status': z.union([z.literal(null), z.literal("active"), z.literal("disabled")]).readonly().optional(),
947
+ 'role': z.union([z.literal(null), z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly().optional(),
948
+ 'subroleId': z.union([z.literal(null), z.string()]).readonly().optional(),
949
+ })
950
+ const _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_2$schema = z.union([z.literal(null), z.string()])
951
+ const _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_3$schema = z.union([z.literal(null), z.number()])
952
+ const _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema = z.object({
953
+ 'items': z.array(z.object({
954
+ 'conversations': z.number().readonly(),
955
+ 'feedbackGiven': z.number().readonly(),
956
+ 'id': z.string().readonly(),
957
+ 'email': z.string().readonly(),
958
+ 'displayName': z.string().readonly(),
959
+ 'fullName': z.string().readonly(),
960
+ 'role': z.union([z.literal("user"), z.literal("reviewer"), z.literal("admin")]).readonly(),
961
+ 'disabled': z.boolean().readonly(),
962
+ 'createdAt': z.string().readonly(),
963
+ 'lastLoginAt': z.union([z.literal(null), z.string()]).readonly(),
964
+ 'access': z.object({
965
+ 'allowedSubroles': z.array(z.string()).readonly(),
966
+ 'defaultSubrole': z.string().readonly(),
967
+ }).readonly(),
968
+ })).readonly(),
969
+ 'nextCursor': z.union([z.literal(null), z.string()]).readonly(),
970
+ 'total': z.number().readonly(),
971
+ })
167
972
  const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_0$schema = z.string()
168
973
  const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_1$schema = z.string()
169
974
  const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_2$schema = z.string()
170
- const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_3$schema = z.union([z.literal("allowed-once"), z.literal("rejected")])
975
+ const _yadsh_dsh_qa_surface_qaSurface_answerApproval_parameter_3$schema = z.union([z.literal("rejected"), z.literal("allowed-once")])
171
976
  const _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema = z.boolean()
172
977
  const _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_0$schema = z.string()
173
978
  const _yadsh_dsh_qa_surface_qaSurface_answerQuestion_parameter_1$schema = z.string()
@@ -183,6 +988,8 @@ const _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_1$schema = z.stri
183
988
  const _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_parameter_2$schema = z.string()
184
989
  const _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema = z.boolean()
185
990
  const _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_0$schema = z.string()
991
+ const _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_1$schema = z.union([z.literal(null), z.string()])
992
+ const _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_2$schema = z.boolean()
186
993
  const _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema = z.string()
187
994
  const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
188
995
  'enabled': z.boolean().readonly(),
@@ -334,78 +1141,6 @@ const _yadsh_dsh_qa_surface_qaSurface_describe_result$schema = z.object({
334
1141
  'maxFileBytes': z.number().readonly(),
335
1142
  'maxPending': z.number().readonly(),
336
1143
  'extensions': z.array(z.string()).readonly(),
337
- }).readonly(),
338
- 'documents': z.object({
339
- 'enabled': z.boolean().readonly(),
340
- 'storage': z.object({
341
- 'root': z.union([z.literal(null), z.string()]).readonly(),
342
- 'retainSource': z.boolean().readonly(),
343
- 'retainInputs': z.boolean().readonly(),
344
- 'allowedInputRoots': z.array(z.string()).readonly(),
345
- }).readonly(),
346
- 'templates': z.object({
347
- 'root': z.union([z.literal(null), z.string()]).readonly(),
348
- 'default': z.string().readonly(),
349
- }).readonly(),
350
- 'create': z.object({
351
- 'defaultPdfMode': z.union([z.literal("office"), z.literal("typst"), z.literal("auto")]).readonly(),
352
- 'allowFormats': z.array(z.union([z.literal("docx"), z.literal("pdf")])).readonly(),
353
- 'allowRawMarkup': z.boolean().readonly(),
354
- 'toc': z.boolean().readonly(),
355
- }).readonly(),
356
- 'extraction': z.object({
357
- 'defaultMode': z.union([z.literal("auto"), z.literal("fast"), z.literal("accurate")]).readonly(),
358
- 'ocr': z.union([z.literal("auto"), z.literal("off"), z.literal("force")]).readonly(),
359
- 'ocrLanguages': z.array(z.string()).readonly(),
360
- 'extractImages': z.boolean().readonly(),
361
- 'extractTables': z.boolean().readonly(),
362
- 'preservePageMarkers': z.boolean().readonly(),
363
- 'allowFallback': z.boolean().readonly(),
364
- 'maxInlineChars': z.number().readonly(),
365
- }).readonly(),
366
- 'docling': z.object({
367
- 'enabled': z.boolean().readonly(),
368
- 'baseUrl': z.string().readonly(),
369
- 'timeoutMs': z.number().readonly(),
370
- }).readonly(),
371
- 'pandoc': z.object({
372
- 'executable': z.string().readonly(),
373
- 'timeoutMs': z.number().readonly(),
374
- }).readonly(),
375
- 'libreoffice': z.object({
376
- 'executable': z.string().readonly(),
377
- 'timeoutMs': z.number().readonly(),
378
- }).readonly(),
379
- 'typst': z.object({
380
- 'enabled': z.boolean().readonly(),
381
- 'executable': z.string().readonly(),
382
- 'timeoutMs': z.number().readonly(),
383
- }).readonly(),
384
- 'markitdown': z.object({
385
- 'enabled': z.boolean().readonly(),
386
- 'executable': z.string().readonly(),
387
- 'timeoutMs': z.number().readonly(),
388
- }).readonly(),
389
- 'workers': z.object({
390
- 'renderConcurrency': z.number().readonly(),
391
- 'extractionConcurrency': z.number().readonly(),
392
- 'ocrConcurrency': z.number().readonly(),
393
- }).readonly(),
394
- 'retention': z.object({
395
- 'enabled': z.boolean().readonly(),
396
- 'maxAgeDays': z.number().readonly(),
397
- 'cleanupIntervalHours': z.number().readonly(),
398
- }).readonly(),
399
- 'limits': z.object({
400
- 'maxInputBytes': z.number().readonly(),
401
- 'maxMarkdownChars': z.number().readonly(),
402
- 'maxPages': z.number().readonly(),
403
- 'maxExtractedImages': z.number().readonly(),
404
- 'maxAssetBytes': z.number().readonly(),
405
- 'maxResponseBytes': z.number().readonly(),
406
- 'maxExtractedMarkdownBytes': z.number().readonly(),
407
- 'allowedAssetMimeTypes': z.array(z.string()).readonly(),
408
- }).readonly(),
409
1144
  }).readonly(),
410
1145
  })
411
1146
  const _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_parameter_0$schema = z.string()
@@ -488,7 +1223,7 @@ const _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema = z.object({
488
1223
  'valid': z.boolean().readonly(),
489
1224
  'diagnostics': z.array(z.object({
490
1225
  'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
491
- 'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
1226
+ 'severity': z.union([z.literal("warning"), z.literal("error")]).readonly(),
492
1227
  'field': z.union([z.literal(null), z.string()]).readonly(),
493
1228
  'detail': z.union([z.literal(null), z.string()]).readonly(),
494
1229
  })).readonly(),
@@ -513,7 +1248,7 @@ const _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema = z.object({
513
1248
  'valid': z.boolean().readonly(),
514
1249
  'diagnostics': z.array(z.object({
515
1250
  'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
516
- 'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
1251
+ 'severity': z.union([z.literal("warning"), z.literal("error")]).readonly(),
517
1252
  'field': z.union([z.literal(null), z.string()]).readonly(),
518
1253
  'detail': z.union([z.literal(null), z.string()]).readonly(),
519
1254
  })).readonly(),
@@ -534,7 +1269,7 @@ const _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema = z.object({
534
1269
  'valid': z.boolean().readonly(),
535
1270
  'diagnostics': z.array(z.object({
536
1271
  'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
537
- 'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
1272
+ 'severity': z.union([z.literal("warning"), z.literal("error")]).readonly(),
538
1273
  'field': z.union([z.literal(null), z.string()]).readonly(),
539
1274
  'detail': z.union([z.literal(null), z.string()]).readonly(),
540
1275
  })).readonly(),
@@ -585,7 +1320,7 @@ const _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema = z.object({
585
1320
  'valid': z.boolean().readonly(),
586
1321
  'diagnostics': z.array(z.object({
587
1322
  'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
588
- 'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
1323
+ 'severity': z.union([z.literal("warning"), z.literal("error")]).readonly(),
589
1324
  'field': z.union([z.literal(null), z.string()]).readonly(),
590
1325
  'detail': z.union([z.literal(null), z.string()]).readonly(),
591
1326
  })).readonly(),
@@ -608,7 +1343,7 @@ const _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema = z.object({
608
1343
  'preview': z.string().readonly(),
609
1344
  'diagnostics': z.array(z.object({
610
1345
  'code': z.union([z.literal("name-required"), z.literal("name-invalid"), z.literal("name-mismatch"), z.literal("description-required"), z.literal("description-too-long"), z.literal("when-to-use-too-long"), z.literal("field-type-invalid"), z.literal("invocation-never"), z.literal("invocation-invalid"), z.literal("invocation-legacy-key"), z.literal("allowed-tools-invalid"), z.literal("tool-name-invalid"), z.literal("tool-unavailable"), z.literal("tools-too-many"), z.literal("file-too-large"), z.literal("frontmatter-missing"), z.literal("skill-file-missing"), z.literal("frontmatter-invalid"), z.literal("unknown-field"), z.literal("resource-unsupported")]).readonly(),
611
- 'severity': z.union([z.literal("error"), z.literal("warning")]).readonly(),
1346
+ 'severity': z.union([z.literal("warning"), z.literal("error")]).readonly(),
612
1347
  'field': z.union([z.literal(null), z.string()]).readonly(),
613
1348
  'detail': z.union([z.literal(null), z.string()]).readonly(),
614
1349
  })).readonly(),
@@ -621,7 +1356,7 @@ const _yadsh_dsh_qa_surface_qaSurface_sources_result$schema = z.array(z.object({
621
1356
  'turn': z.number().readonly(),
622
1357
  'sources': z.array(z.object({
623
1358
  'id': z.string().readonly(),
624
- 'kind': z.union([z.literal("file"), z.literal("code"), z.literal("web"), z.literal("jira"), z.literal("confluence"), z.literal("knowledge"), z.literal("other")]).readonly(),
1359
+ 'kind': z.union([z.literal("other"), z.literal("knowledge"), z.literal("file"), z.literal("code"), z.literal("web"), z.literal("jira"), z.literal("confluence")]).readonly(),
625
1360
  'title': z.string().readonly(),
626
1361
  'uri': z.string().readonly().optional(),
627
1362
  'path': z.string().readonly().optional(),
@@ -651,7 +1386,7 @@ const _yadsh_dsh_qa_surface_qaSurface_sources_result$schema = z.array(z.object({
651
1386
  })).readonly(),
652
1387
  'discovered': z.array(z.object({
653
1388
  'id': z.string().readonly(),
654
- 'kind': z.union([z.literal("file"), z.literal("code"), z.literal("web"), z.literal("jira"), z.literal("confluence"), z.literal("knowledge"), z.literal("other")]).readonly(),
1389
+ 'kind': z.union([z.literal("other"), z.literal("knowledge"), z.literal("file"), z.literal("code"), z.literal("web"), z.literal("jira"), z.literal("confluence")]).readonly(),
655
1390
  'title': z.string().readonly(),
656
1391
  'uri': z.string().readonly().optional(),
657
1392
  'path': z.string().readonly().optional(),
@@ -694,10 +1429,10 @@ export const TYPERT = {
694
1429
  ],
695
1430
  invocations: [
696
1431
  {
697
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions',
1432
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessAdminSnapshot',
698
1433
  service: 'qaSurface',
699
1434
  namespace: 'qaSurface',
700
- method: 'accountsClaimSessions',
1435
+ method: 'accessAdminSnapshot',
701
1436
  invocation: { kind: 'direct' },
702
1437
  parameters: [
703
1438
  {
@@ -706,30 +1441,390 @@ export const TYPERT = {
706
1441
  source: 'json',
707
1442
  codec: {
708
1443
  mode: 'strict',
709
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:token',
710
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_0$schema,
711
- },
712
- },
713
- {
714
- name: 'sessionIds',
715
- wire: 'sessionIds',
716
- source: 'json',
717
- codec: {
718
- mode: 'strict',
719
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:sessionIds',
720
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_1$schema,
1444
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessAdminSnapshot:token',
1445
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_parameter_0$schema,
721
1446
  },
722
1447
  },
723
1448
  ],
724
1449
  result: {
725
1450
  mode: 'strict',
726
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaClaimResult',
727
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
1451
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccessAdminSnapshot',
1452
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema,
728
1453
  },
729
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":399,"column":3},
1454
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":625,"column":9},
730
1455
  },
731
1456
  {
732
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership',
1457
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessCreateSubrole',
1458
+ service: 'qaSurface',
1459
+ namespace: 'qaSurface',
1460
+ method: 'accessCreateSubrole',
1461
+ invocation: { kind: 'direct' },
1462
+ parameters: [
1463
+ {
1464
+ name: 'token',
1465
+ wire: 'token',
1466
+ source: 'json',
1467
+ codec: {
1468
+ mode: 'strict',
1469
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessCreateSubrole:token',
1470
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_0$schema,
1471
+ },
1472
+ },
1473
+ {
1474
+ name: 'input',
1475
+ wire: 'input',
1476
+ source: 'json',
1477
+ codec: {
1478
+ mode: 'strict',
1479
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1480
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1$schema,
1481
+ },
1482
+ },
1483
+ ],
1484
+ result: {
1485
+ mode: 'strict',
1486
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1487
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema,
1488
+ },
1489
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":636,"column":3},
1490
+ },
1491
+ {
1492
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessCurrent',
1493
+ service: 'qaSurface',
1494
+ namespace: 'qaSurface',
1495
+ method: 'accessCurrent',
1496
+ invocation: { kind: 'direct' },
1497
+ parameters: [
1498
+ {
1499
+ name: 'token',
1500
+ wire: 'token',
1501
+ source: 'json',
1502
+ codec: {
1503
+ mode: 'strict',
1504
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessCurrent:token',
1505
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_parameter_0$schema,
1506
+ },
1507
+ },
1508
+ ],
1509
+ result: {
1510
+ mode: 'strict',
1511
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaCurrentAccess',
1512
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema,
1513
+ },
1514
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":610,"column":3},
1515
+ },
1516
+ {
1517
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole',
1518
+ service: 'qaSurface',
1519
+ namespace: 'qaSurface',
1520
+ method: 'accessDeleteSubrole',
1521
+ invocation: { kind: 'direct' },
1522
+ parameters: [
1523
+ {
1524
+ name: 'token',
1525
+ wire: 'token',
1526
+ source: 'json',
1527
+ codec: {
1528
+ mode: 'strict',
1529
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:token',
1530
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_0$schema,
1531
+ },
1532
+ },
1533
+ {
1534
+ name: 'id',
1535
+ wire: 'id',
1536
+ source: 'json',
1537
+ codec: {
1538
+ mode: 'strict',
1539
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:id',
1540
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_1$schema,
1541
+ },
1542
+ },
1543
+ {
1544
+ name: 'replacementId',
1545
+ wire: 'replacementId',
1546
+ source: 'json',
1547
+ codec: {
1548
+ mode: 'strict',
1549
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:replacementId',
1550
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_2$schema,
1551
+ },
1552
+ },
1553
+ ],
1554
+ result: {
1555
+ mode: 'strict',
1556
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:result',
1557
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema,
1558
+ },
1559
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":650,"column":3},
1560
+ },
1561
+ {
1562
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessSession',
1563
+ service: 'qaSurface',
1564
+ namespace: 'qaSurface',
1565
+ method: 'accessSession',
1566
+ invocation: { kind: 'direct' },
1567
+ parameters: [
1568
+ {
1569
+ name: 'token',
1570
+ wire: 'token',
1571
+ source: 'json',
1572
+ codec: {
1573
+ mode: 'strict',
1574
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSession:token',
1575
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_parameter_0$schema,
1576
+ },
1577
+ },
1578
+ {
1579
+ name: 'sessionId',
1580
+ wire: 'sessionId',
1581
+ source: 'json',
1582
+ codec: {
1583
+ mode: 'strict',
1584
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSession:sessionId',
1585
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_parameter_1$schema,
1586
+ },
1587
+ },
1588
+ ],
1589
+ result: {
1590
+ mode: 'strict',
1591
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSessionAccess',
1592
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema,
1593
+ },
1594
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":616,"column":3},
1595
+ },
1596
+ {
1597
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations',
1598
+ service: 'qaSurface',
1599
+ namespace: 'qaSurface',
1600
+ method: 'accessSkillActivations',
1601
+ invocation: { kind: 'direct' },
1602
+ parameters: [
1603
+ {
1604
+ name: 'token',
1605
+ wire: 'token',
1606
+ source: 'json',
1607
+ codec: {
1608
+ mode: 'strict',
1609
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:token',
1610
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_parameter_0$schema,
1611
+ },
1612
+ },
1613
+ {
1614
+ name: 'sessionId',
1615
+ wire: 'sessionId',
1616
+ source: 'json',
1617
+ codec: {
1618
+ mode: 'strict',
1619
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:sessionId',
1620
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_parameter_1$schema,
1621
+ },
1622
+ },
1623
+ ],
1624
+ result: {
1625
+ mode: 'strict',
1626
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:result',
1627
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema,
1628
+ },
1629
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":695,"column":3},
1630
+ },
1631
+ {
1632
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment',
1633
+ service: 'qaSurface',
1634
+ namespace: 'qaSurface',
1635
+ method: 'accessUpdateAssignment',
1636
+ invocation: { kind: 'direct' },
1637
+ parameters: [
1638
+ {
1639
+ name: 'token',
1640
+ wire: 'token',
1641
+ source: 'json',
1642
+ codec: {
1643
+ mode: 'strict',
1644
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment:token',
1645
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_0$schema,
1646
+ },
1647
+ },
1648
+ {
1649
+ name: 'userId',
1650
+ wire: 'userId',
1651
+ source: 'json',
1652
+ codec: {
1653
+ mode: 'strict',
1654
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment:userId',
1655
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_1$schema,
1656
+ },
1657
+ },
1658
+ {
1659
+ name: 'input',
1660
+ wire: 'input',
1661
+ source: 'json',
1662
+ codec: {
1663
+ mode: 'strict',
1664
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
1665
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2$schema,
1666
+ },
1667
+ },
1668
+ ],
1669
+ result: {
1670
+ mode: 'strict',
1671
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
1672
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema,
1673
+ },
1674
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":672,"column":3},
1675
+ },
1676
+ {
1677
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateCommon',
1678
+ service: 'qaSurface',
1679
+ namespace: 'qaSurface',
1680
+ method: 'accessUpdateCommon',
1681
+ invocation: { kind: 'direct' },
1682
+ parameters: [
1683
+ {
1684
+ name: 'token',
1685
+ wire: 'token',
1686
+ source: 'json',
1687
+ codec: {
1688
+ mode: 'strict',
1689
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateCommon:token',
1690
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0$schema,
1691
+ },
1692
+ },
1693
+ {
1694
+ name: 'input',
1695
+ wire: 'input',
1696
+ source: 'json',
1697
+ codec: {
1698
+ mode: 'strict',
1699
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaCapabilitySelection',
1700
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_1$schema,
1701
+ },
1702
+ },
1703
+ ],
1704
+ result: {
1705
+ mode: 'strict',
1706
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaCapabilitySelection',
1707
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema,
1708
+ },
1709
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":662,"column":3},
1710
+ },
1711
+ {
1712
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride',
1713
+ service: 'qaSurface',
1714
+ namespace: 'qaSurface',
1715
+ method: 'accessUpdateSkillOverride',
1716
+ invocation: { kind: 'direct' },
1717
+ parameters: [
1718
+ {
1719
+ name: 'token',
1720
+ wire: 'token',
1721
+ source: 'json',
1722
+ codec: {
1723
+ mode: 'strict',
1724
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride:token',
1725
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_parameter_0$schema,
1726
+ },
1727
+ },
1728
+ {
1729
+ name: 'input',
1730
+ wire: 'input',
1731
+ source: 'json',
1732
+ codec: {
1733
+ mode: 'strict',
1734
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillAssignmentOverride',
1735
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_parameter_1$schema,
1736
+ },
1737
+ },
1738
+ ],
1739
+ result: {
1740
+ mode: 'strict',
1741
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride:result',
1742
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema,
1743
+ },
1744
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":684,"column":3},
1745
+ },
1746
+ {
1747
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole',
1748
+ service: 'qaSurface',
1749
+ namespace: 'qaSurface',
1750
+ method: 'accessUpdateSubrole',
1751
+ invocation: { kind: 'direct' },
1752
+ parameters: [
1753
+ {
1754
+ name: 'token',
1755
+ wire: 'token',
1756
+ source: 'json',
1757
+ codec: {
1758
+ mode: 'strict',
1759
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole:token',
1760
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_0$schema,
1761
+ },
1762
+ },
1763
+ {
1764
+ name: 'id',
1765
+ wire: 'id',
1766
+ source: 'json',
1767
+ codec: {
1768
+ mode: 'strict',
1769
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole:id',
1770
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_1$schema,
1771
+ },
1772
+ },
1773
+ {
1774
+ name: 'input',
1775
+ wire: 'input',
1776
+ source: 'json',
1777
+ codec: {
1778
+ mode: 'strict',
1779
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1780
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2$schema,
1781
+ },
1782
+ },
1783
+ ],
1784
+ result: {
1785
+ mode: 'strict',
1786
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1787
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema,
1788
+ },
1789
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":643,"column":3},
1790
+ },
1791
+ {
1792
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions',
1793
+ service: 'qaSurface',
1794
+ namespace: 'qaSurface',
1795
+ method: 'accountsClaimSessions',
1796
+ invocation: { kind: 'direct' },
1797
+ parameters: [
1798
+ {
1799
+ name: 'token',
1800
+ wire: 'token',
1801
+ source: 'json',
1802
+ codec: {
1803
+ mode: 'strict',
1804
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:token',
1805
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_0$schema,
1806
+ },
1807
+ },
1808
+ {
1809
+ name: 'sessionIds',
1810
+ wire: 'sessionIds',
1811
+ source: 'json',
1812
+ codec: {
1813
+ mode: 'strict',
1814
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:sessionIds',
1815
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_1$schema,
1816
+ },
1817
+ },
1818
+ ],
1819
+ result: {
1820
+ mode: 'strict',
1821
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaClaimResult',
1822
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
1823
+ },
1824
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":444,"column":3},
1825
+ },
1826
+ {
1827
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership',
733
1828
  service: 'qaSurface',
734
1829
  namespace: 'qaSurface',
735
1830
  method: 'accountsListOwnership',
@@ -741,58 +1836,303 @@ export const TYPERT = {
741
1836
  source: 'json',
742
1837
  codec: {
743
1838
  mode: 'strict',
744
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:token',
745
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_parameter_0$schema,
1839
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:token',
1840
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_parameter_0$schema,
1841
+ },
1842
+ },
1843
+ ],
1844
+ result: {
1845
+ mode: 'strict',
1846
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:result',
1847
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
1848
+ },
1849
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":463,"column":3},
1850
+ },
1851
+ {
1852
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin',
1853
+ service: 'qaSurface',
1854
+ namespace: 'qaSurface',
1855
+ method: 'accountsLogin',
1856
+ invocation: { kind: 'direct' },
1857
+ parameters: [
1858
+ {
1859
+ name: 'email',
1860
+ wire: 'email',
1861
+ source: 'json',
1862
+ codec: {
1863
+ mode: 'strict',
1864
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:email',
1865
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_0$schema,
1866
+ },
1867
+ },
1868
+ {
1869
+ name: 'password',
1870
+ wire: 'password',
1871
+ source: 'json',
1872
+ codec: {
1873
+ mode: 'strict',
1874
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:password',
1875
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_1$schema,
1876
+ },
1877
+ },
1878
+ ],
1879
+ result: {
1880
+ mode: 'strict',
1881
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1882
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
1883
+ },
1884
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":432,"column":3},
1885
+ },
1886
+ {
1887
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions',
1888
+ service: 'qaSurface',
1889
+ namespace: 'qaSurface',
1890
+ method: 'accountsOwnedSessions',
1891
+ invocation: { kind: 'direct' },
1892
+ parameters: [
1893
+ {
1894
+ name: 'token',
1895
+ wire: 'token',
1896
+ source: 'json',
1897
+ codec: {
1898
+ mode: 'strict',
1899
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:token',
1900
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_parameter_0$schema,
1901
+ },
1902
+ },
1903
+ ],
1904
+ result: {
1905
+ mode: 'strict',
1906
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
1907
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
1908
+ },
1909
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":453,"column":3},
1910
+ },
1911
+ {
1912
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister',
1913
+ service: 'qaSurface',
1914
+ namespace: 'qaSurface',
1915
+ method: 'accountsRegister',
1916
+ invocation: { kind: 'direct' },
1917
+ parameters: [
1918
+ {
1919
+ name: 'email',
1920
+ wire: 'email',
1921
+ source: 'json',
1922
+ codec: {
1923
+ mode: 'strict',
1924
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:email',
1925
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_0$schema,
1926
+ },
1927
+ },
1928
+ {
1929
+ name: 'password',
1930
+ wire: 'password',
1931
+ source: 'json',
1932
+ codec: {
1933
+ mode: 'strict',
1934
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:password',
1935
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_1$schema,
1936
+ },
1937
+ },
1938
+ ],
1939
+ result: {
1940
+ mode: 'strict',
1941
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1942
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
1943
+ },
1944
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":427,"column":3},
1945
+ },
1946
+ {
1947
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile',
1948
+ service: 'qaSurface',
1949
+ namespace: 'qaSurface',
1950
+ method: 'accountsUpdateProfile',
1951
+ invocation: { kind: 'direct' },
1952
+ parameters: [
1953
+ {
1954
+ name: 'token',
1955
+ wire: 'token',
1956
+ source: 'json',
1957
+ codec: {
1958
+ mode: 'strict',
1959
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile:token',
1960
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_0$schema,
1961
+ },
1962
+ },
1963
+ {
1964
+ name: 'input',
1965
+ wire: 'input',
1966
+ source: 'json',
1967
+ codec: {
1968
+ mode: 'strict',
1969
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountProfileInput',
1970
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_1$schema,
1971
+ },
1972
+ },
1973
+ ],
1974
+ result: {
1975
+ mode: 'strict',
1976
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
1977
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
1978
+ },
1979
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":476,"column":3},
1980
+ },
1981
+ {
1982
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters',
1983
+ service: 'qaSurface',
1984
+ namespace: 'qaSurface',
1985
+ method: 'accountsUpdateStarters',
1986
+ invocation: { kind: 'direct' },
1987
+ parameters: [
1988
+ {
1989
+ name: 'token',
1990
+ wire: 'token',
1991
+ source: 'json',
1992
+ codec: {
1993
+ mode: 'strict',
1994
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters:token',
1995
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_0$schema,
1996
+ },
1997
+ },
1998
+ {
1999
+ name: 'input',
2000
+ wire: 'input',
2001
+ source: 'json',
2002
+ codec: {
2003
+ mode: 'strict',
2004
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountStartersInput',
2005
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_1$schema,
2006
+ },
2007
+ },
2008
+ ],
2009
+ result: {
2010
+ mode: 'strict',
2011
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
2012
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
2013
+ },
2014
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":489,"column":3},
2015
+ },
2016
+ {
2017
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami',
2018
+ service: 'qaSurface',
2019
+ namespace: 'qaSurface',
2020
+ method: 'accountsWhoami',
2021
+ invocation: { kind: 'direct' },
2022
+ parameters: [
2023
+ {
2024
+ name: 'token',
2025
+ wire: 'token',
2026
+ source: 'json',
2027
+ codec: {
2028
+ mode: 'strict',
2029
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami:token',
2030
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_parameter_0$schema,
2031
+ },
2032
+ },
2033
+ ],
2034
+ result: {
2035
+ mode: 'strict',
2036
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaWhoamiResult',
2037
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
2038
+ },
2039
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":438,"column":3},
2040
+ },
2041
+ {
2042
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminAudit',
2043
+ service: 'qaSurface',
2044
+ namespace: 'qaSurface',
2045
+ method: 'adminAudit',
2046
+ invocation: { kind: 'direct' },
2047
+ parameters: [
2048
+ {
2049
+ name: 'token',
2050
+ wire: 'token',
2051
+ source: 'json',
2052
+ codec: {
2053
+ mode: 'strict',
2054
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminAudit:token',
2055
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_0$schema,
2056
+ },
2057
+ },
2058
+ {
2059
+ name: 'query',
2060
+ wire: 'query',
2061
+ source: 'json',
2062
+ codec: {
2063
+ mode: 'strict',
2064
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAuditQuery',
2065
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_1$schema,
2066
+ },
2067
+ },
2068
+ {
2069
+ name: 'cursor',
2070
+ wire: 'cursor',
2071
+ source: 'json',
2072
+ codec: {
2073
+ mode: 'strict',
2074
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminAudit:cursor',
2075
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_2$schema,
2076
+ },
2077
+ },
2078
+ {
2079
+ name: 'limit',
2080
+ wire: 'limit',
2081
+ source: 'json',
2082
+ codec: {
2083
+ mode: 'strict',
2084
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminAudit:limit',
2085
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_3$schema,
746
2086
  },
747
2087
  },
748
2088
  ],
749
2089
  result: {
750
2090
  mode: 'strict',
751
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:result',
752
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
2091
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2092
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema,
753
2093
  },
754
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":418,"column":3},
2094
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":847,"column":3},
755
2095
  },
756
2096
  {
757
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin',
2097
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminConversation',
758
2098
  service: 'qaSurface',
759
2099
  namespace: 'qaSurface',
760
- method: 'accountsLogin',
2100
+ method: 'adminConversation',
761
2101
  invocation: { kind: 'direct' },
762
2102
  parameters: [
763
2103
  {
764
- name: 'email',
765
- wire: 'email',
2104
+ name: 'token',
2105
+ wire: 'token',
766
2106
  source: 'json',
767
2107
  codec: {
768
2108
  mode: 'strict',
769
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:email',
770
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_0$schema,
2109
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversation:token',
2110
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_parameter_0$schema,
771
2111
  },
772
2112
  },
773
2113
  {
774
- name: 'password',
775
- wire: 'password',
2114
+ name: 'conversationId',
2115
+ wire: 'conversationId',
776
2116
  source: 'json',
777
2117
  codec: {
778
2118
  mode: 'strict',
779
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:password',
780
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_1$schema,
2119
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversation:conversationId',
2120
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_parameter_1$schema,
781
2121
  },
782
2122
  },
783
2123
  ],
784
2124
  result: {
785
2125
  mode: 'strict',
786
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
787
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
2126
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationDetail',
2127
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema,
788
2128
  },
789
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":387,"column":3},
2129
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":764,"column":3},
790
2130
  },
791
2131
  {
792
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions',
2132
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminConversations',
793
2133
  service: 'qaSurface',
794
2134
  namespace: 'qaSurface',
795
- method: 'accountsOwnedSessions',
2135
+ method: 'adminConversations',
796
2136
  invocation: { kind: 'direct' },
797
2137
  parameters: [
798
2138
  {
@@ -801,58 +2141,338 @@ export const TYPERT = {
801
2141
  source: 'json',
802
2142
  codec: {
803
2143
  mode: 'strict',
804
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:token',
805
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_parameter_0$schema,
2144
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversations:token',
2145
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_0$schema,
2146
+ },
2147
+ },
2148
+ {
2149
+ name: 'query',
2150
+ wire: 'query',
2151
+ source: 'json',
2152
+ codec: {
2153
+ mode: 'strict',
2154
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationQuery',
2155
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_1$schema,
2156
+ },
2157
+ },
2158
+ {
2159
+ name: 'cursor',
2160
+ wire: 'cursor',
2161
+ source: 'json',
2162
+ codec: {
2163
+ mode: 'strict',
2164
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversations:cursor',
2165
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_2$schema,
2166
+ },
2167
+ },
2168
+ {
2169
+ name: 'limit',
2170
+ wire: 'limit',
2171
+ source: 'json',
2172
+ codec: {
2173
+ mode: 'strict',
2174
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversations:limit',
2175
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_3$schema,
806
2176
  },
807
2177
  },
808
2178
  ],
809
2179
  result: {
810
2180
  mode: 'strict',
811
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
812
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
2181
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2182
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema,
813
2183
  },
814
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":408,"column":3},
2184
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":746,"column":3},
815
2185
  },
816
2186
  {
817
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister',
2187
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback',
818
2188
  service: 'qaSurface',
819
2189
  namespace: 'qaSurface',
820
- method: 'accountsRegister',
2190
+ method: 'adminFeedback',
821
2191
  invocation: { kind: 'direct' },
822
2192
  parameters: [
823
2193
  {
824
- name: 'email',
825
- wire: 'email',
2194
+ name: 'token',
2195
+ wire: 'token',
2196
+ source: 'json',
2197
+ codec: {
2198
+ mode: 'strict',
2199
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback:token',
2200
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_0$schema,
2201
+ },
2202
+ },
2203
+ {
2204
+ name: 'query',
2205
+ wire: 'query',
2206
+ source: 'json',
2207
+ codec: {
2208
+ mode: 'strict',
2209
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaFeedbackQuery',
2210
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_1$schema,
2211
+ },
2212
+ },
2213
+ {
2214
+ name: 'cursor',
2215
+ wire: 'cursor',
2216
+ source: 'json',
2217
+ codec: {
2218
+ mode: 'strict',
2219
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback:cursor',
2220
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_2$schema,
2221
+ },
2222
+ },
2223
+ {
2224
+ name: 'limit',
2225
+ wire: 'limit',
2226
+ source: 'json',
2227
+ codec: {
2228
+ mode: 'strict',
2229
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback:limit',
2230
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_3$schema,
2231
+ },
2232
+ },
2233
+ ],
2234
+ result: {
2235
+ mode: 'strict',
2236
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2237
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema,
2238
+ },
2239
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":774,"column":3},
2240
+ },
2241
+ {
2242
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminMetrics',
2243
+ service: 'qaSurface',
2244
+ namespace: 'qaSurface',
2245
+ method: 'adminMetrics',
2246
+ invocation: { kind: 'direct' },
2247
+ parameters: [
2248
+ {
2249
+ name: 'token',
2250
+ wire: 'token',
2251
+ source: 'json',
2252
+ codec: {
2253
+ mode: 'strict',
2254
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminMetrics:token',
2255
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_parameter_0$schema,
2256
+ },
2257
+ },
2258
+ ],
2259
+ result: {
2260
+ mode: 'strict',
2261
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaQualityMetrics',
2262
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema,
2263
+ },
2264
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":842,"column":3},
2265
+ },
2266
+ {
2267
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminOverview',
2268
+ service: 'qaSurface',
2269
+ namespace: 'qaSurface',
2270
+ method: 'adminOverview',
2271
+ invocation: { kind: 'direct' },
2272
+ parameters: [
2273
+ {
2274
+ name: 'token',
2275
+ wire: 'token',
2276
+ source: 'json',
2277
+ codec: {
2278
+ mode: 'strict',
2279
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminOverview:token',
2280
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminOverview_parameter_0$schema,
2281
+ },
2282
+ },
2283
+ ],
2284
+ result: {
2285
+ mode: 'strict',
2286
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminOverview',
2287
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema,
2288
+ },
2289
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":712,"column":3},
2290
+ },
2291
+ {
2292
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation',
2293
+ service: 'qaSurface',
2294
+ namespace: 'qaSurface',
2295
+ method: 'adminQueueConversation',
2296
+ invocation: { kind: 'direct' },
2297
+ parameters: [
2298
+ {
2299
+ name: 'token',
2300
+ wire: 'token',
2301
+ source: 'json',
2302
+ codec: {
2303
+ mode: 'strict',
2304
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation:token',
2305
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_0$schema,
2306
+ },
2307
+ },
2308
+ {
2309
+ name: 'conversationId',
2310
+ wire: 'conversationId',
2311
+ source: 'json',
2312
+ codec: {
2313
+ mode: 'strict',
2314
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation:conversationId',
2315
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_1$schema,
2316
+ },
2317
+ },
2318
+ {
2319
+ name: 'messageId',
2320
+ wire: 'messageId',
2321
+ source: 'json',
2322
+ codec: {
2323
+ mode: 'strict',
2324
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation:messageId',
2325
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_2$schema,
2326
+ },
2327
+ },
2328
+ ],
2329
+ result: {
2330
+ mode: 'strict',
2331
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaReviewQueueItem',
2332
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema,
2333
+ },
2334
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":819,"column":3},
2335
+ },
2336
+ {
2337
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage',
2338
+ service: 'qaSurface',
2339
+ namespace: 'qaSurface',
2340
+ method: 'adminRateMessage',
2341
+ invocation: { kind: 'direct' },
2342
+ parameters: [
2343
+ {
2344
+ name: 'token',
2345
+ wire: 'token',
2346
+ source: 'json',
2347
+ codec: {
2348
+ mode: 'strict',
2349
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage:token',
2350
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_0$schema,
2351
+ },
2352
+ },
2353
+ {
2354
+ name: 'conversationId',
2355
+ wire: 'conversationId',
2356
+ source: 'json',
2357
+ codec: {
2358
+ mode: 'strict',
2359
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage:conversationId',
2360
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_1$schema,
2361
+ },
2362
+ },
2363
+ {
2364
+ name: 'messageId',
2365
+ wire: 'messageId',
2366
+ source: 'json',
2367
+ codec: {
2368
+ mode: 'strict',
2369
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage:messageId',
2370
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_2$schema,
2371
+ },
2372
+ },
2373
+ {
2374
+ name: 'input',
2375
+ wire: 'input',
2376
+ source: 'json',
2377
+ codec: {
2378
+ mode: 'strict',
2379
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaMessageFeedbackInput',
2380
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_3$schema,
2381
+ },
2382
+ },
2383
+ ],
2384
+ result: {
2385
+ mode: 'strict',
2386
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaMessageFeedback',
2387
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema,
2388
+ },
2389
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":795,"column":3},
2390
+ },
2391
+ {
2392
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue',
2393
+ service: 'qaSurface',
2394
+ namespace: 'qaSurface',
2395
+ method: 'adminReviewQueue',
2396
+ invocation: { kind: 'direct' },
2397
+ parameters: [
2398
+ {
2399
+ name: 'token',
2400
+ wire: 'token',
2401
+ source: 'json',
2402
+ codec: {
2403
+ mode: 'strict',
2404
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue:token',
2405
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_0$schema,
2406
+ },
2407
+ },
2408
+ {
2409
+ name: 'cursor',
2410
+ wire: 'cursor',
2411
+ source: 'json',
2412
+ codec: {
2413
+ mode: 'strict',
2414
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue:cursor',
2415
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_1$schema,
2416
+ },
2417
+ },
2418
+ {
2419
+ name: 'limit',
2420
+ wire: 'limit',
2421
+ source: 'json',
2422
+ codec: {
2423
+ mode: 'strict',
2424
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue:limit',
2425
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_2$schema,
2426
+ },
2427
+ },
2428
+ ],
2429
+ result: {
2430
+ mode: 'strict',
2431
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2432
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema,
2433
+ },
2434
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":807,"column":3},
2435
+ },
2436
+ {
2437
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminSaveReview',
2438
+ service: 'qaSurface',
2439
+ namespace: 'qaSurface',
2440
+ method: 'adminSaveReview',
2441
+ invocation: { kind: 'direct' },
2442
+ parameters: [
2443
+ {
2444
+ name: 'token',
2445
+ wire: 'token',
826
2446
  source: 'json',
827
2447
  codec: {
828
2448
  mode: 'strict',
829
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:email',
830
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_0$schema,
2449
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminSaveReview:token',
2450
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_parameter_0$schema,
831
2451
  },
832
2452
  },
833
2453
  {
834
- name: 'password',
835
- wire: 'password',
2454
+ name: 'input',
2455
+ wire: 'input',
836
2456
  source: 'json',
837
2457
  codec: {
838
2458
  mode: 'strict',
839
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:password',
840
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_1$schema,
2459
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationReviewInput',
2460
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_parameter_1$schema,
841
2461
  },
842
2462
  },
843
2463
  ],
844
2464
  result: {
845
2465
  mode: 'strict',
846
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
847
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
2466
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationReview',
2467
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema,
848
2468
  },
849
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":382,"column":3},
2469
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":834,"column":3},
850
2470
  },
851
2471
  {
852
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile',
2472
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser',
853
2473
  service: 'qaSurface',
854
2474
  namespace: 'qaSurface',
855
- method: 'accountsUpdateProfile',
2475
+ method: 'adminUpdateUser',
856
2476
  invocation: { kind: 'direct' },
857
2477
  parameters: [
858
2478
  {
@@ -861,33 +2481,43 @@ export const TYPERT = {
861
2481
  source: 'json',
862
2482
  codec: {
863
2483
  mode: 'strict',
864
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile:token',
865
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_0$schema,
2484
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser:token',
2485
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_0$schema,
866
2486
  },
867
2487
  },
868
2488
  {
869
- name: 'input',
870
- wire: 'input',
2489
+ name: 'userId',
2490
+ wire: 'userId',
871
2491
  source: 'json',
872
2492
  codec: {
873
2493
  mode: 'strict',
874
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountProfileInput',
875
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_1$schema,
2494
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser:userId',
2495
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_1$schema,
2496
+ },
2497
+ },
2498
+ {
2499
+ name: 'update',
2500
+ wire: 'update',
2501
+ source: 'json',
2502
+ codec: {
2503
+ mode: 'strict',
2504
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
2505
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2$schema,
876
2506
  },
877
2507
  },
878
2508
  ],
879
2509
  result: {
880
2510
  mode: 'strict',
881
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
882
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
2511
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2512
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema,
883
2513
  },
884
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":431,"column":3},
2514
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":735,"column":3},
885
2515
  },
886
2516
  {
887
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters',
2517
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminUser',
888
2518
  service: 'qaSurface',
889
2519
  namespace: 'qaSurface',
890
- method: 'accountsUpdateStarters',
2520
+ method: 'adminUser',
891
2521
  invocation: { kind: 'direct' },
892
2522
  parameters: [
893
2523
  {
@@ -896,33 +2526,33 @@ export const TYPERT = {
896
2526
  source: 'json',
897
2527
  codec: {
898
2528
  mode: 'strict',
899
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters:token',
900
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_0$schema,
2529
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUser:token',
2530
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_0$schema,
901
2531
  },
902
2532
  },
903
2533
  {
904
- name: 'input',
905
- wire: 'input',
2534
+ name: 'userId',
2535
+ wire: 'userId',
906
2536
  source: 'json',
907
2537
  codec: {
908
2538
  mode: 'strict',
909
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountStartersInput',
910
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_1$schema,
2539
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUser:userId',
2540
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_1$schema,
911
2541
  },
912
2542
  },
913
2543
  ],
914
2544
  result: {
915
2545
  mode: 'strict',
916
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
917
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
2546
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2547
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema,
918
2548
  },
919
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":444,"column":3},
2549
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":729,"column":3},
920
2550
  },
921
2551
  {
922
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami',
2552
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminUsers',
923
2553
  service: 'qaSurface',
924
2554
  namespace: 'qaSurface',
925
- method: 'accountsWhoami',
2555
+ method: 'adminUsers',
926
2556
  invocation: { kind: 'direct' },
927
2557
  parameters: [
928
2558
  {
@@ -931,17 +2561,47 @@ export const TYPERT = {
931
2561
  source: 'json',
932
2562
  codec: {
933
2563
  mode: 'strict',
934
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami:token',
935
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_parameter_0$schema,
2564
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUsers:token',
2565
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_0$schema,
2566
+ },
2567
+ },
2568
+ {
2569
+ name: 'query',
2570
+ wire: 'query',
2571
+ source: 'json',
2572
+ codec: {
2573
+ mode: 'strict',
2574
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserQuery',
2575
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_1$schema,
2576
+ },
2577
+ },
2578
+ {
2579
+ name: 'cursor',
2580
+ wire: 'cursor',
2581
+ source: 'json',
2582
+ codec: {
2583
+ mode: 'strict',
2584
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUsers:cursor',
2585
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_2$schema,
2586
+ },
2587
+ },
2588
+ {
2589
+ name: 'limit',
2590
+ wire: 'limit',
2591
+ source: 'json',
2592
+ codec: {
2593
+ mode: 'strict',
2594
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUsers:limit',
2595
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_3$schema,
936
2596
  },
937
2597
  },
938
2598
  ],
939
2599
  result: {
940
2600
  mode: 'strict',
941
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaWhoamiResult',
942
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
2601
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2602
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema,
943
2603
  },
944
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":393,"column":3},
2604
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":717,"column":3},
945
2605
  },
946
2606
  {
947
2607
  id: '@yadsh/dsh-qa-surface#qaSurface/answerApproval',
@@ -996,7 +2656,7 @@ export const TYPERT = {
996
2656
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:result',
997
2657
  schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
998
2658
  },
999
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":619,"column":9},
2659
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":923,"column":9},
1000
2660
  },
1001
2661
  {
1002
2662
  id: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion',
@@ -1051,7 +2711,7 @@ export const TYPERT = {
1051
2711
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:result',
1052
2712
  schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
1053
2713
  },
1054
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":648,"column":9},
2714
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":952,"column":9},
1055
2715
  },
1056
2716
  {
1057
2717
  id: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion',
@@ -1096,7 +2756,7 @@ export const TYPERT = {
1096
2756
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:result',
1097
2757
  schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
1098
2758
  },
1099
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":660,"column":9},
2759
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":964,"column":9},
1100
2760
  },
1101
2761
  {
1102
2762
  id: '@yadsh/dsh-qa-surface#qaSurface/createSession',
@@ -1115,13 +2775,33 @@ export const TYPERT = {
1115
2775
  schema: _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_0$schema,
1116
2776
  },
1117
2777
  },
2778
+ {
2779
+ name: 'subroleId',
2780
+ wire: 'subroleId',
2781
+ source: 'json',
2782
+ codec: {
2783
+ mode: 'strict',
2784
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:subroleId',
2785
+ schema: _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_1$schema,
2786
+ },
2787
+ },
2788
+ {
2789
+ name: 'adminPreview',
2790
+ wire: 'adminPreview',
2791
+ source: 'json',
2792
+ codec: {
2793
+ mode: 'strict',
2794
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:adminPreview',
2795
+ schema: _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_2$schema,
2796
+ },
2797
+ },
1118
2798
  ],
1119
2799
  result: {
1120
2800
  mode: 'strict',
1121
2801
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:result',
1122
2802
  schema: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
1123
2803
  },
1124
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":469,"column":9},
2804
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":514,"column":9},
1125
2805
  },
1126
2806
  {
1127
2807
  id: '@yadsh/dsh-qa-surface#qaSurface/describe',
@@ -1136,7 +2816,7 @@ export const TYPERT = {
1136
2816
  typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
1137
2817
  schema: _yadsh_dsh_qa_surface_qaSurface_describe_result$schema,
1138
2818
  },
1139
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":459,"column":3},
2819
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":504,"column":3},
1140
2820
  },
1141
2821
  {
1142
2822
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals',
@@ -1171,7 +2851,7 @@ export const TYPERT = {
1171
2851
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals:result',
1172
2852
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
1173
2853
  },
1174
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":605,"column":9},
2854
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":909,"column":9},
1175
2855
  },
1176
2856
  {
1177
2857
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions',
@@ -1206,7 +2886,7 @@ export const TYPERT = {
1206
2886
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions:result',
1207
2887
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
1208
2888
  },
1209
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":634,"column":9},
2889
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":938,"column":9},
1210
2890
  },
1211
2891
  {
1212
2892
  id: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile',
@@ -1251,7 +2931,7 @@ export const TYPERT = {
1251
2931
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSourceFilePreview',
1252
2932
  schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
1253
2933
  },
1254
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":679,"column":9},
2934
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":983,"column":9},
1255
2935
  },
1256
2936
  {
1257
2937
  id: '@yadsh/dsh-qa-surface#qaSurface/secureSession',
@@ -1286,7 +2966,7 @@ export const TYPERT = {
1286
2966
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaLockdownProof',
1287
2967
  schema: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
1288
2968
  },
1289
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":556,"column":9},
2969
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":860,"column":9},
1290
2970
  },
1291
2971
  {
1292
2972
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsCreate',
@@ -1321,7 +3001,7 @@ export const TYPERT = {
1321
3001
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
1322
3002
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
1323
3003
  },
1324
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":733,"column":3},
3004
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1037,"column":3},
1325
3005
  },
1326
3006
  {
1327
3007
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsGet',
@@ -1356,7 +3036,7 @@ export const TYPERT = {
1356
3036
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
1357
3037
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
1358
3038
  },
1359
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":727,"column":3},
3039
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1031,"column":3},
1360
3040
  },
1361
3041
  {
1362
3042
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsList',
@@ -1381,7 +3061,7 @@ export const TYPERT = {
1381
3061
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsList:result',
1382
3062
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
1383
3063
  },
1384
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":721,"column":3},
3064
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1025,"column":3},
1385
3065
  },
1386
3066
  {
1387
3067
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove',
@@ -1426,7 +3106,7 @@ export const TYPERT = {
1426
3106
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillRemoval',
1427
3107
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
1428
3108
  },
1429
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":752,"column":3},
3109
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1056,"column":3},
1430
3110
  },
1431
3111
  {
1432
3112
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsTools',
@@ -1451,7 +3131,7 @@ export const TYPERT = {
1451
3131
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsTools:result',
1452
3132
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
1453
3133
  },
1454
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":778,"column":3},
3134
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1082,"column":3},
1455
3135
  },
1456
3136
  {
1457
3137
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsUpdate',
@@ -1496,7 +3176,7 @@ export const TYPERT = {
1496
3176
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
1497
3177
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
1498
3178
  },
1499
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":742,"column":3},
3179
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1046,"column":3},
1500
3180
  },
1501
3181
  {
1502
3182
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsValidate',
@@ -1541,7 +3221,7 @@ export const TYPERT = {
1541
3221
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillValidation',
1542
3222
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
1543
3223
  },
1544
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":765,"column":3},
3224
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1069,"column":3},
1545
3225
  },
1546
3226
  {
1547
3227
  id: '@yadsh/dsh-qa-surface#qaSurface/sources',
@@ -1576,7 +3256,7 @@ export const TYPERT = {
1576
3256
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/sources:result',
1577
3257
  schema: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
1578
3258
  },
1579
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":592,"column":9},
3259
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":896,"column":9},
1580
3260
  },
1581
3261
  ],
1582
3262
  model: {
@@ -1679,10 +3359,145 @@ export const TYPERT = {
1679
3359
  {
1680
3360
  "kind": "method",
1681
3361
  "name": "createSession",
1682
- "signature": "@Remote(\"createSession\") async createSession(token: string): Promise<string>",
3362
+ "signature": "@Remote(\"createSession\") async createSession( token: string, subroleId: string | null, adminPreview: boolean, ): Promise<string>",
1683
3363
  "summary": "Create a QA session from Host-owned inputs.",
1684
3364
  "jsDoc": "/**\n * Create a QA session from Host-owned inputs. With account workspaces on,\n * cwd is `<configured workspace>/.qa-users/<account UUID>` and the child is\n * intentionally not registered or attached as another DSH workspace.\n */"
1685
3365
  },
3366
+ {
3367
+ "kind": "method",
3368
+ "name": "accessCurrent",
3369
+ "signature": "@Remote(\"accessCurrent\") accessCurrent(token: string): QaCurrentAccess",
3370
+ "summary": "The selector model for the signed-in user; admin grants are irrelevant.",
3371
+ "jsDoc": "/** The selector model for the signed-in user; admin grants are irrelevant. */"
3372
+ },
3373
+ {
3374
+ "kind": "method",
3375
+ "name": "accessSession",
3376
+ "signature": "@Remote(\"accessSession\") accessSession(token: string, sessionId: string): QaSessionAccess",
3377
+ "summary": "The immutable role pinned to an existing session.",
3378
+ "jsDoc": "/** The immutable role pinned to an existing session. */"
3379
+ },
3380
+ {
3381
+ "kind": "method",
3382
+ "name": "accessAdminSnapshot",
3383
+ "signature": "@Remote(\"accessAdminSnapshot\") async accessAdminSnapshot(token: string): Promise<QaAccessAdminSnapshot>",
3384
+ "summary": "Complete administrator projection; authorization is checked before discovery.",
3385
+ "jsDoc": "/** Complete administrator projection; authorization is checked before discovery. */"
3386
+ },
3387
+ {
3388
+ "kind": "method",
3389
+ "name": "accessCreateSubrole",
3390
+ "signature": "@Remote(\"accessCreateSubrole\") accessCreateSubrole(token: string, input: QaSubrole): QaSubrole"
3391
+ },
3392
+ {
3393
+ "kind": "method",
3394
+ "name": "accessUpdateSubrole",
3395
+ "signature": "@Remote(\"accessUpdateSubrole\") accessUpdateSubrole(token: string, id: string, input: QaSubrole): QaSubrole"
3396
+ },
3397
+ {
3398
+ "kind": "method",
3399
+ "name": "accessDeleteSubrole",
3400
+ "signature": "@Remote(\"accessDeleteSubrole\") accessDeleteSubrole( token: string, id: string, replacementId: string | null, ): { readonly deleted: boolean }"
3401
+ },
3402
+ {
3403
+ "kind": "method",
3404
+ "name": "accessUpdateCommon",
3405
+ "signature": "@Remote(\"accessUpdateCommon\") accessUpdateCommon( token: string, input: QaCapabilitySelection, ): QaCapabilitySelection"
3406
+ },
3407
+ {
3408
+ "kind": "method",
3409
+ "name": "accessUpdateAssignment",
3410
+ "signature": "@Remote(\"accessUpdateAssignment\") accessUpdateAssignment( token: string, userId: string, input: QaUserAccess, ): QaUserAccess"
3411
+ },
3412
+ {
3413
+ "kind": "method",
3414
+ "name": "accessUpdateSkillOverride",
3415
+ "signature": "@Remote(\"accessUpdateSkillOverride\") accessUpdateSkillOverride( token: string, input: QaSkillAssignmentOverride, ): readonly QaSkillAssignmentOverride[]",
3416
+ "summary": "Layer one administrator assignment over what a SKILL.md declares.",
3417
+ "jsDoc": "/** Layer one administrator assignment over what a SKILL.md declares. */"
3418
+ },
3419
+ {
3420
+ "kind": "method",
3421
+ "name": "accessSkillActivations",
3422
+ "signature": "@Remote(\"accessSkillActivations\") accessSkillActivations( token: string, sessionId: string, ): readonly QaSkillActivationRecord[]",
3423
+ "summary": "What each skill activation actually granted in this session.",
3424
+ "jsDoc": "/** What each skill activation actually granted in this session. */"
3425
+ },
3426
+ {
3427
+ "kind": "method",
3428
+ "name": "adminOverview",
3429
+ "signature": "@Remote(\"adminOverview\") adminOverview(token: string): Promise<QaAdminOverview>",
3430
+ "summary": "Counters, attention lines and the newest quality signals.",
3431
+ "jsDoc": "/** Counters, attention lines and the newest quality signals. */"
3432
+ },
3433
+ {
3434
+ "kind": "method",
3435
+ "name": "adminUsers",
3436
+ "signature": "@Remote(\"adminUsers\") adminUsers( token: string, query: QaUserQuery, cursor: string | null, limit: number | null, ): Promise<QaAdminPage<QaAdminUserRow>>"
3437
+ },
3438
+ {
3439
+ "kind": "method",
3440
+ "name": "adminUser",
3441
+ "signature": "@Remote(\"adminUser\") adminUser(token: string, userId: string): Promise<QaAdminUserDetail>"
3442
+ },
3443
+ {
3444
+ "kind": "method",
3445
+ "name": "adminUpdateUser",
3446
+ "signature": "@Remote(\"adminUpdateUser\") adminUpdateUser( token: string, userId: string, update: QaAdminUserUpdate, ): Promise<QaAdminUserDetail>",
3447
+ "summary": "Authorization role, status and subrole assignment of one account.",
3448
+ "jsDoc": "/** Authorization role, status and subrole assignment of one account. */"
3449
+ },
3450
+ {
3451
+ "kind": "method",
3452
+ "name": "adminConversations",
3453
+ "signature": "@Remote(\"adminConversations\") adminConversations( token: string, query: QaConversationQuery, cursor: string | null, limit: number | null, ): Promise<QaAdminPage<QaConversationSummary>>"
3454
+ },
3455
+ {
3456
+ "kind": "method",
3457
+ "name": "adminConversation",
3458
+ "signature": "@Remote(\"adminConversation\") adminConversation( token: string, conversationId: string, ): Promise<QaConversationDetail>",
3459
+ "summary": "One conversation with its messages, tool calls and review state.",
3460
+ "jsDoc": "/** One conversation with its messages, tool calls and review state. */"
3461
+ },
3462
+ {
3463
+ "kind": "method",
3464
+ "name": "adminFeedback",
3465
+ "signature": "@Remote(\"adminFeedback\") adminFeedback( token: string, query: QaFeedbackQuery, cursor: string | null, limit: number | null, ): Promise<QaAdminPage<QaFeedbackRow>>"
3466
+ },
3467
+ {
3468
+ "kind": "method",
3469
+ "name": "adminRateMessage",
3470
+ "signature": "@Remote(\"adminRateMessage\") adminRateMessage( token: string, conversationId: string, messageId: string, input: QaMessageFeedbackInput, ): QaMessageFeedback",
3471
+ "summary": "Rate one of the caller's own assistant messages.",
3472
+ "jsDoc": "/**\n * Rate one of the caller's own assistant messages. The token names the only\n * ratable conversation, exactly as the self-service profile write does.\n */"
3473
+ },
3474
+ {
3475
+ "kind": "method",
3476
+ "name": "adminReviewQueue",
3477
+ "signature": "@Remote(\"adminReviewQueue\") adminReviewQueue( token: string, cursor: string | null, limit: number | null, ): Promise<QaAdminPage<QaReviewQueueRow>>"
3478
+ },
3479
+ {
3480
+ "kind": "method",
3481
+ "name": "adminQueueConversation",
3482
+ "signature": "@Remote(\"adminQueueConversation\") adminQueueConversation( token: string, conversationId: string, messageId: string | null, ): QaReviewQueueItem",
3483
+ "summary": "Park a conversation for review without rating it.",
3484
+ "jsDoc": "/** Park a conversation for review without rating it. */"
3485
+ },
3486
+ {
3487
+ "kind": "method",
3488
+ "name": "adminSaveReview",
3489
+ "signature": "@Remote(\"adminSaveReview\") adminSaveReview( token: string, input: QaConversationReviewInput, ): QaConversationReview"
3490
+ },
3491
+ {
3492
+ "kind": "method",
3493
+ "name": "adminMetrics",
3494
+ "signature": "@Remote(\"adminMetrics\") adminMetrics(token: string): Promise<QaQualityMetrics>"
3495
+ },
3496
+ {
3497
+ "kind": "method",
3498
+ "name": "adminAudit",
3499
+ "signature": "@Remote(\"adminAudit\") adminAudit( token: string, query: QaAuditQuery, cursor: string | null, limit: number | null, ): Promise<QaAdminPage<QaAdminAuditEvent>>"
3500
+ },
1686
3501
  {
1687
3502
  "kind": "method",
1688
3503
  "name": "secureSession",
@@ -1791,20 +3606,20 @@ export const TYPERT = {
1791
3606
  ],
1792
3607
  "types": [
1793
3608
  {
1794
- "name": "CreateFormat",
1795
- "declaration": "export type CreateFormat = \"docx\" | \"pdf\";"
3609
+ "name": "QaAccessAdminSnapshot",
3610
+ "declaration": "export interface QaAccessAdminSnapshot {\n readonly config: QaCapabilityConfig;\n readonly systemRequired: QaCapabilitySelection;\n readonly catalog: readonly QaCapabilityDescriptor[];\n readonly skills: readonly QaSkillAccess[];\n readonly users: readonly QaAccessUser[];\n readonly audit: readonly QaAccessAuditEvent[];\n}"
1796
3611
  },
1797
3612
  {
1798
- "name": "ExtractionMode",
1799
- "declaration": "export type ExtractionMode = \"auto\" | \"fast\" | \"accurate\";"
3613
+ "name": "QaAccessAuditAction",
3614
+ "declaration": "export type QaAccessAuditAction = \"subrole.created\" | \"subrole.updated\" | \"subrole.deleted\" | \"common.updated\" | \"assignment.updated\" | \"skill.assignment-updated\";"
1800
3615
  },
1801
3616
  {
1802
- "name": "OcrMode",
1803
- "declaration": "export type OcrMode = \"auto\" | \"off\" | \"force\";"
3617
+ "name": "QaAccessAuditEvent",
3618
+ "declaration": "export interface QaAccessAuditEvent {\n readonly timestamp: string;\n readonly actorId: string;\n readonly action: QaAccessAuditAction;\n readonly targetId?: string;\n readonly before?: string;\n readonly after?: string;\n}"
1804
3619
  },
1805
3620
  {
1806
- "name": "PdfMode",
1807
- "declaration": "export type PdfMode = \"office\" | \"typst\" | \"auto\";"
3621
+ "name": "QaAccessUser",
3622
+ "declaration": "export interface QaAccessUser {\n readonly id: string;\n readonly email: string;\n readonly displayName: string;\n readonly accessRole: QaAccountRole;\n readonly disabled: boolean;\n readonly access: QaUserAccess;\n}"
1808
3623
  },
1809
3624
  {
1810
3625
  "name": "QaAccountIdentityField",
@@ -1820,7 +3635,7 @@ export const TYPERT = {
1820
3635
  },
1821
3636
  {
1822
3637
  "name": "QaAccountRole",
1823
- "declaration": "export type QaAccountRole = \"user\" | \"admin\";"
3638
+ "declaration": "export type QaAccountRole = \"user\" | \"reviewer\" | \"admin\";"
1824
3639
  },
1825
3640
  {
1826
3641
  "name": "QaAccountSession",
@@ -1842,6 +3657,38 @@ export const TYPERT = {
1842
3657
  "name": "QaAccountUserPublic",
1843
3658
  "declaration": "export interface QaAccountUserPublic {\n readonly id: string;\n readonly email: string;\n readonly displayName: string;\n readonly role: QaAccountRole;\n readonly createdAt: string;\n readonly lastLoginAt: string | null;\n readonly disabled: boolean;\n readonly profile: QaAccountProfile;\n readonly starters: QaAccountStarters;\n}"
1844
3659
  },
3660
+ {
3661
+ "name": "QaAdminAccountRow",
3662
+ "declaration": "export interface QaAdminAccountRow {\n readonly id: string;\n readonly email: string;\n readonly displayName: string;\n readonly fullName: string;\n readonly role: QaAccountRole;\n readonly disabled: boolean;\n readonly createdAt: string;\n readonly lastLoginAt: string | null;\n readonly access: QaUserAccess;\n}"
3663
+ },
3664
+ {
3665
+ "name": "QaAdminAuditAction",
3666
+ "declaration": "export type QaAdminAuditAction = \"user.created\" | \"user.updated\" | \"user.enabled\" | \"user.disabled\" | \"authorization.changed\" | \"subrole.assignment.changed\" | \"subrole.created\" | \"subrole.updated\" | \"subrole.deleted\" | \"common_capabilities.updated\" | \"conversation.reviewed\" | \"review.updated\" | \"review.queued\" | \"admin.settings.updated\";"
3667
+ },
3668
+ {
3669
+ "name": "QaAdminAuditEvent",
3670
+ "declaration": "export interface QaAdminAuditEvent {\n readonly id: string;\n readonly timestamp: string;\n readonly actorId: string;\n readonly action: QaAdminAuditAction;\n readonly targetType?: string;\n readonly targetId?: string;\n readonly before?: string;\n readonly after?: string;\n}"
3671
+ },
3672
+ {
3673
+ "name": "QaAdminOverview",
3674
+ "declaration": "export interface QaAdminOverview {\n readonly metrics: QaQualityMetrics;\n readonly alerts: readonly QaOverviewAlert[];\n readonly recentFeedback: readonly QaFeedbackRow[];\n readonly queue: readonly QaReviewQueueRow[];\n}"
3675
+ },
3676
+ {
3677
+ "name": "QaAdminPage",
3678
+ "declaration": "export interface QaAdminPage<T> {\n readonly items: readonly T[];\n readonly nextCursor: string | null;\n readonly total: number;\n}"
3679
+ },
3680
+ {
3681
+ "name": "QaAdminUserDetail",
3682
+ "declaration": "export interface QaAdminUserDetail {\n readonly user: QaAdminUserRow;\n readonly effective: readonly { readonly subroleId: string; readonly name: string; readonly tools: number; readonly skills: number; }[];\n readonly activity: { readonly conversations: number; readonly messages: number; readonly positiveRatings: number; readonly negativeRatings: number; };\n}"
3683
+ },
3684
+ {
3685
+ "name": "QaAdminUserRow",
3686
+ "declaration": "export interface QaAdminUserRow extends QaAdminAccountRow {\n readonly conversations: number;\n readonly feedbackGiven: number;\n}"
3687
+ },
3688
+ {
3689
+ "name": "QaAdminUserUpdate",
3690
+ "declaration": "export interface QaAdminUserUpdate {\n readonly role?: QaAccountRole | null;\n readonly disabled?: boolean | null;\n readonly access?: QaUserAccess | null;\n}"
3691
+ },
1845
3692
  {
1846
3693
  "name": "QaApprovalDecision",
1847
3694
  "declaration": "export type QaApprovalDecision = \"allowed-once\" | \"rejected\";"
@@ -1854,14 +3701,102 @@ export const TYPERT = {
1854
3701
  "name": "QaApprovalPolicy",
1855
3702
  "declaration": "export type QaApprovalPolicy = \"never\";"
1856
3703
  },
3704
+ {
3705
+ "name": "QaAuditQuery",
3706
+ "declaration": "export interface QaAuditQuery {\n readonly actorId?: string | null;\n readonly action?: QaAdminAuditAction | null;\n readonly from?: string | null;\n readonly to?: string | null;\n}"
3707
+ },
3708
+ {
3709
+ "name": "QaCapabilityConfig",
3710
+ "declaration": "export interface QaCapabilityConfig {\n readonly version: 1;\n readonly common: QaCapabilitySelection;\n readonly subroles: readonly QaSubrole[];\n readonly skillOverrides: readonly QaSkillAssignmentOverride[];\n}"
3711
+ },
3712
+ {
3713
+ "name": "QaCapabilityDescriptor",
3714
+ "declaration": "export interface QaCapabilityDescriptor {\n readonly type: \"tool\" | \"skill\";\n readonly id: string;\n readonly title: string;\n readonly description?: string;\n readonly source: { readonly kind: QaCapabilitySourceKind; readonly name?: string; };\n readonly status: \"available\" | \"missing\";\n readonly modelInvocable?: boolean;\n readonly userInvocable?: boolean;\n}"
3715
+ },
3716
+ {
3717
+ "name": "QaCapabilitySelection",
3718
+ "declaration": "export interface QaCapabilitySelection {\n readonly tools: QaToolSelection;\n readonly skills: readonly string[];\n readonly mcpServers?: readonly string[];\n readonly knowledgeSources?: readonly string[];\n readonly promptAdditions?: readonly string[];\n}"
3719
+ },
3720
+ {
3721
+ "name": "QaCapabilitySourceKind",
3722
+ "declaration": "export type QaCapabilitySourceKind = \"core\" | \"plugin\" | \"mcp\" | \"filesystem\" | \"runtime\";"
3723
+ },
1857
3724
  {
1858
3725
  "name": "QaClaimResult",
1859
3726
  "declaration": "export interface QaClaimResult {\n readonly claimed: number;\n readonly conflicts: readonly string[];\n}"
1860
3727
  },
3728
+ {
3729
+ "name": "QaConversationDetail",
3730
+ "declaration": "export interface QaConversationDetail {\n readonly conversationId: string;\n readonly summary: QaConversationSummary;\n readonly runtime: QaConversationRuntime;\n readonly messages: readonly QaConversationMessage[];\n readonly reviews: readonly QaConversationReview[];\n readonly queueItems: readonly QaReviewQueueItem[];\n}"
3731
+ },
3732
+ {
3733
+ "name": "QaConversationMessage",
3734
+ "declaration": "export interface QaConversationMessage {\n readonly id: string;\n readonly seq: number;\n readonly role: \"user\" | \"assistant\" | \"system\";\n readonly text: string;\n readonly time: number;\n readonly model?: string;\n readonly provider?: string;\n readonly usage?: QaMessageUsage;\n readonly interrupted?: boolean;\n readonly toolCalls?: readonly QaConversationToolCall[];\n readonly feedback?: readonly QaMessageFeedback[];\n readonly reviews?: readonly QaConversationReview[];\n}"
3735
+ },
3736
+ {
3737
+ "name": "QaConversationQuery",
3738
+ "declaration": "export interface QaConversationQuery {\n readonly userId?: string | null;\n readonly subroleId?: string | null;\n readonly from?: string | null;\n readonly to?: string | null;\n readonly rating?: QaFeedbackRating | null;\n readonly reviewStatus?: QaReviewStatus | null;\n readonly search?: string | null;\n}"
3739
+ },
3740
+ {
3741
+ "name": "QaConversationReview",
3742
+ "declaration": "export interface QaConversationReview {\n readonly id: string;\n readonly conversationId: string;\n readonly messageId?: string;\n readonly reviewerId: string;\n readonly status: \"reviewed\" | \"needs_followup\";\n readonly issues: readonly QaQualityIssueType[];\n readonly severity: QaQualitySeverity;\n readonly notes?: string;\n readonly target?: QaRemediationTarget;\n readonly suggestedAction?: string;\n readonly createdAt: string;\n readonly updatedAt?: string;\n}"
3743
+ },
3744
+ {
3745
+ "name": "QaConversationReviewInput",
3746
+ "declaration": "export interface QaConversationReviewInput {\n readonly conversationId: string;\n readonly messageId?: string;\n readonly status: \"reviewed\" | \"needs_followup\";\n readonly issues: readonly QaQualityIssueType[];\n readonly severity: QaQualitySeverity;\n readonly notes?: string;\n readonly target?: QaRemediationTarget;\n readonly suggestedAction?: string;\n}"
3747
+ },
3748
+ {
3749
+ "name": "QaConversationRuntime",
3750
+ "declaration": "export interface QaConversationRuntime {\n readonly subroleId: string;\n readonly adminPreview: boolean;\n readonly model?: string;\n readonly provider?: string;\n readonly agentPreset?: string;\n readonly effectiveTools?: readonly string[];\n readonly effectiveSkills?: readonly string[];\n readonly loadedSkills?: readonly string[];\n readonly transcriptUnavailable?: QaTranscriptUnavailableReason;\n}"
3751
+ },
3752
+ {
3753
+ "name": "QaConversationSummary",
3754
+ "declaration": "export interface QaConversationSummary {\n readonly conversationId: string;\n readonly userId: string;\n readonly displayName: string;\n readonly subroleId: string;\n readonly createdAt: string;\n readonly updatedAt: string;\n readonly title?: string;\n readonly messageCount: number;\n readonly positiveFeedback: number;\n readonly negativeFeedback: number;\n readonly reviewStatus: QaReviewStatus;\n}"
3755
+ },
3756
+ {
3757
+ "name": "QaConversationToolCall",
3758
+ "declaration": "export interface QaConversationToolCall {\n readonly callId: string;\n readonly name: string;\n readonly arguments: string;\n readonly result?: string;\n readonly error?: string;\n readonly time?: number;\n readonly durationMs?: number;\n}"
3759
+ },
3760
+ {
3761
+ "name": "QaCurrentAccess",
3762
+ "declaration": "export interface QaCurrentAccess {\n readonly subroles: readonly QaSubrole[];\n readonly defaultSubrole: string;\n}"
3763
+ },
3764
+ {
3765
+ "name": "QaFeedbackQuery",
3766
+ "declaration": "export interface QaFeedbackQuery {\n readonly rating?: QaFeedbackRating | null;\n readonly userId?: string | null;\n readonly subroleId?: string | null;\n readonly reason?: QaFeedbackReason | null;\n readonly from?: string | null;\n readonly to?: string | null;\n readonly reviewStatus?: QaReviewStatus | null;\n}"
3767
+ },
3768
+ {
3769
+ "name": "QaFeedbackRating",
3770
+ "declaration": "export type QaFeedbackRating = \"positive\" | \"negative\";"
3771
+ },
3772
+ {
3773
+ "name": "QaFeedbackReason",
3774
+ "declaration": "export type QaFeedbackReason = \"incorrect\" | \"instruction_not_followed\" | \"missing_information\" | \"outdated_information\" | \"tool_issue\" | \"too_verbose\" | \"too_short\" | \"other\";"
3775
+ },
3776
+ {
3777
+ "name": "QaFeedbackRow",
3778
+ "declaration": "export interface QaFeedbackRow extends QaMessageFeedback {\n readonly displayName: string;\n readonly subroleId: string;\n readonly conversationTitle?: string;\n readonly reviewStatus: QaReviewStatus;\n}"
3779
+ },
1861
3780
  {
1862
3781
  "name": "QaLockdownProof",
1863
3782
  "declaration": "export interface QaLockdownProof {\n readonly sessionId: string;\n readonly enabled: boolean;\n readonly agentPresetMatches: boolean;\n readonly workspaceMatches: boolean;\n readonly modelMatches: boolean;\n readonly sandboxModeMatches: boolean;\n readonly approvalIsNever: boolean;\n readonly permissionPreset: string;\n readonly toolPolicyLoaded: boolean;\n readonly toolAllowList: readonly string[];\n}"
1864
3783
  },
3784
+ {
3785
+ "name": "QaMessageFeedback",
3786
+ "declaration": "export interface QaMessageFeedback {\n readonly id: string;\n readonly conversationId: string;\n readonly messageId: string;\n readonly userId: string;\n readonly rating: QaFeedbackRating;\n readonly reasons?: readonly QaFeedbackReason[];\n readonly comment?: string;\n readonly createdAt: string;\n readonly updatedAt?: string;\n}"
3787
+ },
3788
+ {
3789
+ "name": "QaMessageFeedbackInput",
3790
+ "declaration": "export interface QaMessageFeedbackInput {\n readonly rating: QaFeedbackRating;\n readonly reasons?: readonly QaFeedbackReason[];\n readonly comment?: string;\n}"
3791
+ },
3792
+ {
3793
+ "name": "QaMessageUsage",
3794
+ "declaration": "export interface QaMessageUsage {\n readonly inputTokens: number;\n readonly outputTokens: number;\n readonly totalTokens?: number;\n}"
3795
+ },
3796
+ {
3797
+ "name": "QaOverviewAlert",
3798
+ "declaration": "export interface QaOverviewAlert {\n readonly level: \"critical\" | \"warning\" | \"info\";\n readonly code: \"unreviewed-negatives\" | \"subrole-satisfaction\" | \"recurring-reason\";\n readonly count: number;\n readonly subject?: string;\n readonly rate?: number;\n}"
3799
+ },
1865
3800
  {
1866
3801
  "name": "QaOwnershipEntry",
1867
3802
  "declaration": "export interface QaOwnershipEntry {\n readonly sessionId: string;\n readonly userId: string;\n readonly displayName: string;\n readonly claimedAt: string;\n}"
@@ -1886,6 +3821,30 @@ export const TYPERT = {
1886
3821
  "name": "QaPrincipal",
1887
3822
  "declaration": "export interface QaPrincipal {\n readonly userId: string;\n}"
1888
3823
  },
3824
+ {
3825
+ "name": "QaQualityIssueCount",
3826
+ "declaration": "export interface QaQualityIssueCount {\n readonly issue: QaQualityIssueType;\n readonly count: number;\n}"
3827
+ },
3828
+ {
3829
+ "name": "QaQualityIssueType",
3830
+ "declaration": "export type QaQualityIssueType = \"answer.incorrect\" | \"answer.incomplete\" | \"answer.hallucination\" | \"answer.request_not_followed\" | \"answer.poor_formatting\" | \"answer.communication\" | \"context.missing_conversation\" | \"context.missing_knowledge\" | \"context.outdated_knowledge\" | \"tool.wrong_selection\" | \"tool.should_have_been_used\" | \"tool.bad_arguments\" | \"tool.failure\" | \"tool.unavailable\" | \"skill.missing\" | \"skill.wrong\" | \"skill.not_followed\" | \"skill.prompt_policy\" | \"access.missing_capability\" | \"access.excessive_capability\" | \"other\";"
3831
+ },
3832
+ {
3833
+ "name": "QaQualityMetrics",
3834
+ "declaration": "export interface QaQualityMetrics {\n readonly conversations: number;\n readonly activeUsers: number;\n readonly assistantMessages: number;\n readonly ratedMessages: number;\n readonly positiveRatings: number;\n readonly negativeRatings: number;\n readonly ratingRate: number | null;\n readonly positiveRate: number | null;\n readonly unreviewedNegatives: number;\n readonly reviewedItems: number;\n readonly issues: readonly QaQualityIssueCount[];\n readonly bySubrole: readonly QaQualityRatingBreakdown[];\n readonly trend: readonly QaQualityTrendPoint[];\n}"
3835
+ },
3836
+ {
3837
+ "name": "QaQualityRatingBreakdown",
3838
+ "declaration": "export interface QaQualityRatingBreakdown {\n readonly key: string;\n readonly label: string;\n readonly rated: number;\n readonly positive: number;\n readonly negative: number;\n readonly positiveRate: number | null;\n}"
3839
+ },
3840
+ {
3841
+ "name": "QaQualitySeverity",
3842
+ "declaration": "export type QaQualitySeverity = \"minor\" | \"major\" | \"critical\";"
3843
+ },
3844
+ {
3845
+ "name": "QaQualityTrendPoint",
3846
+ "declaration": "export interface QaQualityTrendPoint {\n readonly date: string;\n readonly rated: number;\n readonly positive: number;\n readonly negative: number;\n}"
3847
+ },
1889
3848
  {
1890
3849
  "name": "QaQuestionAnswerItem",
1891
3850
  "declaration": "export interface QaQuestionAnswerItem {\n readonly id: string;\n readonly selected: readonly string[];\n readonly custom?: string;\n}"
@@ -1894,14 +3853,66 @@ export const TYPERT = {
1894
3853
  "name": "QaQuestionInteraction",
1895
3854
  "declaration": "export type QaQuestionInteraction = \"unsupported\" | \"interactive\";"
1896
3855
  },
3856
+ {
3857
+ "name": "QaRemediationTarget",
3858
+ "declaration": "export type QaRemediationTarget = \"prompt\" | \"skill\" | \"tool\" | \"knowledge\" | \"role\" | \"model\" | \"product_ux\" | \"user_misunderstanding\" | \"unknown\";"
3859
+ },
3860
+ {
3861
+ "name": "QaReviewPriority",
3862
+ "declaration": "export type QaReviewPriority = \"low\" | \"normal\" | \"high\";"
3863
+ },
3864
+ {
3865
+ "name": "QaReviewQueueItem",
3866
+ "declaration": "export interface QaReviewQueueItem {\n readonly conversationId: string;\n readonly messageId?: string;\n readonly reason: QaReviewReason;\n readonly priority: QaReviewPriority;\n readonly status: QaReviewStatus;\n readonly assignedReviewerId?: string;\n readonly raisedAt: string;\n readonly reviewerId?: string;\n readonly reviewId?: string;\n readonly feedbackId?: string;\n}"
3867
+ },
3868
+ {
3869
+ "name": "QaReviewQueueRow",
3870
+ "declaration": "export interface QaReviewQueueRow extends QaReviewQueueItem {\n readonly displayName: string;\n readonly subroleId: string;\n readonly title?: string;\n readonly raisedAtLabel: string;\n readonly issueSummary?: readonly QaQualityIssueType[];\n readonly severity?: QaQualitySeverity;\n}"
3871
+ },
3872
+ {
3873
+ "name": "QaReviewReason",
3874
+ "declaration": "export type QaReviewReason = \"negative_feedback\" | \"manual\" | \"tool_failure\" | \"automatic\";"
3875
+ },
3876
+ {
3877
+ "name": "QaReviewStatus",
3878
+ "declaration": "export type QaReviewStatus = \"unreviewed\" | \"in_review\" | \"reviewed\" | \"needs_followup\";"
3879
+ },
1897
3880
  {
1898
3881
  "name": "QaSandboxMode",
1899
3882
  "declaration": "export type QaSandboxMode = \"read-only\" | \"workspace-write\";"
1900
3883
  },
3884
+ {
3885
+ "name": "QaSessionAccess",
3886
+ "declaration": "export interface QaSessionAccess {\n readonly subrole: QaSubrole;\n readonly adminPreview: boolean;\n}"
3887
+ },
1901
3888
  {
1902
3889
  "name": "QaSessionPolicy",
1903
3890
  "declaration": "export type QaSessionPolicy = \"browser-persistent\" | \"new-on-load\" | \"fixed\";"
1904
3891
  },
3892
+ {
3893
+ "name": "QaSkillAccess",
3894
+ "declaration": "export interface QaSkillAccess {\n readonly name: string;\n readonly description?: string;\n readonly whenToUse?: string;\n readonly source: QaCapabilityDescriptor[\"source\"];\n readonly status: \"available\" | \"missing\";\n readonly descriptor: QaSkillDescriptor;\n readonly visibleTo: readonly string[];\n readonly disabled: boolean;\n readonly forceCommon: boolean;\n readonly overridden: boolean;\n readonly health: QaSkillHealth;\n readonly tools: readonly { readonly id: string; readonly installed: boolean; readonly grantableBy: readonly string[]; readonly blockedFor: readonly string[]; }[];\n readonly roles: readonly QaSkillRoleGrant[];\n}"
3895
+ },
3896
+ {
3897
+ "name": "QaSkillActivationOrigin",
3898
+ "declaration": "export type QaSkillActivationOrigin = \"model\" | \"user\" | \"preview\";"
3899
+ },
3900
+ {
3901
+ "name": "QaSkillActivationRecord",
3902
+ "declaration": "export interface QaSkillActivationRecord {\n readonly timestamp: string;\n readonly skillName: string;\n readonly origin: QaSkillActivationOrigin;\n readonly outcome: \"activated\" | \"rejected\" | \"denied\";\n readonly requestedTools: readonly string[];\n readonly grantedTools: readonly string[];\n readonly deniedTools: readonly string[];\n readonly reason?: string;\n}"
3903
+ },
3904
+ {
3905
+ "name": "QaSkillAssignmentOverride",
3906
+ "declaration": "export interface QaSkillAssignmentOverride {\n readonly skillName: string;\n readonly addToSubroles?: readonly string[];\n readonly removeFromSubroles?: readonly string[];\n readonly forceCommon?: boolean;\n readonly disabled?: boolean;\n}"
3907
+ },
3908
+ {
3909
+ "name": "QaSkillAudience",
3910
+ "declaration": "export type QaSkillAudience = { readonly type: \"unassigned\"; } | { readonly type: \"common\"; } | { readonly type: \"subroles\"; readonly include: readonly string[]; };"
3911
+ },
3912
+ {
3913
+ "name": "QaSkillDescriptor",
3914
+ "declaration": "export interface QaSkillDescriptor {\n readonly name: string;\n readonly audience: QaSkillAudience;\n readonly requiredTools: readonly string[];\n readonly requireAll: boolean;\n readonly lifecycle: \"session\";\n readonly schemaVersion: number;\n readonly declared: boolean;\n readonly warnings: readonly string[];\n}"
3915
+ },
1905
3916
  {
1906
3917
  "name": "QaSkillDiagnostic",
1907
3918
  "declaration": "export interface QaSkillDiagnostic {\n readonly code: QaSkillDiagnosticCode;\n readonly severity: \"error\" | \"warning\";\n readonly field: string | null;\n readonly detail: string | null;\n}"
@@ -1918,6 +3929,10 @@ export const TYPERT = {
1918
3929
  "name": "QaSkillDraftInput",
1919
3930
  "declaration": "export interface QaSkillDraftInput {\n readonly name: string;\n readonly description: string;\n readonly whenToUse: string | null;\n readonly modelInvocable: boolean;\n readonly userInvocable: boolean;\n readonly allowedTools: readonly string[];\n readonly body: string;\n readonly expectedRevision: string | null;\n}"
1920
3931
  },
3932
+ {
3933
+ "name": "QaSkillHealth",
3934
+ "declaration": "export type QaSkillHealth = \"healthy\" | \"degraded\" | \"blocked\" | \"unassigned\";"
3935
+ },
1921
3936
  {
1922
3937
  "name": "QaSkillJsonValue",
1923
3938
  "declaration": "export type QaSkillJsonValue = string | number | boolean | null | readonly QaSkillJsonValue[] | { readonly [key: string]: QaSkillJsonValue; };"
@@ -1926,6 +3941,10 @@ export const TYPERT = {
1926
3941
  "name": "QaSkillRemoval",
1927
3942
  "declaration": "export interface QaSkillRemoval {\n readonly name: string;\n readonly trashed: boolean;\n}"
1928
3943
  },
3944
+ {
3945
+ "name": "QaSkillRoleGrant",
3946
+ "declaration": "export interface QaSkillRoleGrant {\n readonly roleId: string;\n readonly visible: boolean;\n readonly declared: boolean;\n readonly addedByAdmin: boolean;\n readonly removedByAdmin: boolean;\n readonly disabled: boolean;\n readonly grantableTools: readonly string[];\n readonly unavailableTools: readonly string[];\n}"
3947
+ },
1929
3948
  {
1930
3949
  "name": "QaSkillSummary",
1931
3950
  "declaration": "export interface QaSkillSummary {\n readonly name: string;\n readonly description: string;\n readonly whenToUse: string | null;\n readonly modelInvocable: boolean;\n readonly userInvocable: boolean;\n readonly allowedTools: readonly string[];\n readonly unavailableTools: readonly string[];\n readonly resourceCount: number;\n readonly valid: boolean;\n readonly diagnostics: readonly QaSkillDiagnostic[];\n readonly updatedAt: string | null;\n readonly revision: string;\n}"
@@ -1970,6 +3989,10 @@ export const TYPERT = {
1970
3989
  "name": "QaSourceReference",
1971
3990
  "declaration": "export interface QaSourceReference {\n readonly id: string;\n readonly kind: QaSourceKind;\n readonly title: string;\n readonly uri?: string;\n readonly path?: string;\n readonly snippet?: string;\n readonly locations: readonly QaSourceLocation[];\n readonly evidence: QaSourceEvidence;\n readonly origins: readonly QaSourceOrigin[];\n readonly score: number;\n readonly metadata?: QaSourceMetadata;\n}"
1972
3991
  },
3992
+ {
3993
+ "name": "QaSubrole",
3994
+ "declaration": "export interface QaSubrole {\n readonly id: string;\n readonly name: string;\n readonly description?: string;\n readonly enabled: boolean;\n readonly capabilities: QaCapabilitySelection;\n readonly ui?: { readonly icon?: string; readonly accent?: string; };\n}"
3995
+ },
1973
3996
  {
1974
3997
  "name": "QaToolActivationMode",
1975
3998
  "declaration": "export type QaToolActivationMode = \"all\";"
@@ -1978,21 +4001,33 @@ export const TYPERT = {
1978
4001
  "name": "QaToolPolicyMode",
1979
4002
  "declaration": "export type QaToolPolicyMode = \"allow-list\";"
1980
4003
  },
4004
+ {
4005
+ "name": "QaToolSelection",
4006
+ "declaration": "export interface QaToolSelection {\n readonly always: readonly string[];\n readonly skillGrantable: readonly string[];\n}"
4007
+ },
4008
+ {
4009
+ "name": "QaTranscriptUnavailableReason",
4010
+ "declaration": "export type QaTranscriptUnavailableReason = \"storage-unavailable\" | \"not-found\" | \"unreadable\";"
4011
+ },
1981
4012
  {
1982
4013
  "name": "QaTurnSources",
1983
4014
  "declaration": "export interface QaTurnSources {\n readonly version: 1;\n readonly sessionId: string;\n readonly turn: number;\n readonly sources: readonly QaSourceReference[];\n readonly discovered?: readonly QaSourceReference[];\n readonly complete: boolean;\n readonly incompleteOrigins?: readonly { readonly subagentRunId?: string; readonly provider?: string; readonly reason: string; }[];\n}"
1984
4015
  },
1985
4016
  {
1986
- "name": "QaWhoamiResult",
1987
- "declaration": "export type QaWhoamiResult = { readonly authenticated: false; } | { readonly authenticated: true; readonly user: QaAccountUserPublic; };"
4017
+ "name": "QaUserAccess",
4018
+ "declaration": "export interface QaUserAccess {\n readonly allowedSubroles: readonly string[];\n readonly defaultSubrole: string;\n}"
1988
4019
  },
1989
4020
  {
1990
- "name": "ResolvedQaDocumentsConfig",
1991
- "declaration": "export interface ResolvedQaDocumentsConfig {\n readonly enabled: boolean;\n readonly storage: { readonly root: string | null; readonly retainSource: boolean; readonly retainInputs: boolean; readonly allowedInputRoots: readonly string[]; };\n readonly templates: { readonly root: string | null; readonly default: string; };\n readonly create: { readonly defaultPdfMode: PdfMode; readonly allowFormats: readonly CreateFormat[]; readonly allowRawMarkup: boolean; readonly toc: boolean; };\n readonly extraction: { readonly defaultMode: ExtractionMode; readonly ocr: OcrMode; readonly ocrLanguages: readonly string[]; readonly extractImages: boolean; readonly extractTables: boolean; readonly preservePageMarkers: boolean; readonly allowFallback: boolean; readonly maxInlineChars: number; };\n readonly docling: { readonly enabled: boolean; readonly baseUrl: string; readonly timeoutMs: number; };\n readonly pandoc: { readonly executable: string; readonly timeoutMs: number; };\n readonly libreoffice: { readonly executable: string; readonly timeoutMs: number; };\n readonly typst: { readonly enabled: boolean; readonly executable: string; readonly timeoutMs: number; };\n readonly markitdown: { readonly enabled: boolean; readonly executable: string; readonly timeoutMs: number; };\n readonly workers: { readonly renderConcurrency: number; readonly extractionConcurrency: number; readonly ocrConcurrency: number; };\n readonly retention: { readonly enabled: boolean; readonly maxAgeDays: number; readonly cleanupIntervalHours: number; };\n readonly limits: { readonly maxInputBytes: number; readonly maxMarkdownChars: number; readonly maxPages: number; readonly maxExtractedImages: number; readonly maxAssetBytes: number; readonly maxResponseBytes: number; readonly maxExtractedMarkdownBytes: number; readonly allowedAssetMimeTypes: readonly string[]; };\n}"
4021
+ "name": "QaUserQuery",
4022
+ "declaration": "export interface QaUserQuery {\n readonly search?: string | null;\n readonly status?: \"active\" | \"disabled\" | null;\n readonly role?: QaAccountRole | null;\n readonly subroleId?: string | null;\n}"
4023
+ },
4024
+ {
4025
+ "name": "QaWhoamiResult",
4026
+ "declaration": "export type QaWhoamiResult = { readonly authenticated: false; } | { readonly authenticated: true; readonly user: QaAccountUserPublic; };"
1992
4027
  },
1993
4028
  {
1994
4029
  "name": "ResolvedQaSurfaceConfig",
1995
- "declaration": "export interface ResolvedQaSurfaceConfig {\n readonly enabled: boolean;\n readonly route: { readonly path: string; readonly matchChildren: boolean; };\n readonly branding: { readonly title: string; readonly subtitle: string; readonly welcomeMessage: string; readonly placeholder: string; readonly logoUrl: string | null; readonly disclaimer: string; };\n readonly session: { readonly policy: QaSessionPolicy; readonly storageKey: string; readonly cwd: string | null; readonly workspaceId: string | null; readonly fixedSessionId: string | null; readonly agentPreset: string | null; readonly provider: string | null; readonly model: string | null; readonly reasoningEffort: string | null; };\n readonly ui: { readonly showHeader: boolean; readonly showReset: boolean; readonly showStop: boolean; readonly showTimestamps: boolean; readonly showToolActivity: boolean; readonly showReasoning: boolean; readonly renderMarkdown: boolean; readonly minContentWidth: number; readonly showSessionList: boolean; readonly subagentCodenames: boolean; };\n readonly suggestedQuestions: readonly string[];\n readonly thinkingPhrases: readonly string[];\n readonly interaction: { readonly approvals: QaApprovalInteraction; readonly questions: QaQuestionInteraction; };\n readonly lockdown: { readonly enabled: boolean; readonly enforceFixedAgentPreset: boolean; readonly enforceFixedWorkspace: boolean; readonly enforceFixedModel: boolean; readonly sandboxMode: QaSandboxMode; readonly approvalPolicy: QaApprovalPolicy; readonly permissionPreset: string; readonly allowPermissionChanges: false; readonly allowSlashCommands: false; readonly allowSettingsMutation: false; readonly allowSessionReset: boolean; readonly allowSessionRename: false; readonly allowSessionDelete: false; readonly allowArbitrarySessionOpen: false; readonly toolPolicy: { readonly mode: QaToolPolicyMode; readonly allow: readonly string[]; }; readonly sharedReadOnlyRoots: readonly string[]; };\n readonly embedding: { readonly frameAncestors: string | null; };\n readonly accounts: { readonly enabled: boolean; readonly allowRegistration: boolean; readonly sessionTtlDays: number; readonly showOtherUsersChats: boolean; readonly perUserWorkspace: boolean; readonly profile: { readonly enabled: boolean; readonly inject: boolean; readonly identities: readonly QaAccountIdentityField[]; readonly instructionsMaxLength: number; }; readonly starters: { readonly enabled: boolean; }; skills: { readonly enabled: boolean; readonly relativeRoot: string; readonly watch: boolean; readonly maxSkillBytes: number; readonly allowResourceEditing: boolean; }; };\n readonly entry: { readonly redirectNonLoopback: boolean; readonly cookieBootstrap: boolean; };\n readonly tools: { readonly dynamicActivation: boolean; readonly activationSkill: string; readonly activationMode: QaToolActivationMode; readonly activationPresets: readonly string[]; };\n readonly sources: { readonly enabled: boolean; readonly collect: { readonly parentAgent: boolean; readonly subagents: boolean; readonly persistTurnEvent: boolean; }; readonly display: { readonly sidebar: boolean; readonly footer: boolean; readonly groupByKind: boolean; readonly showDiscovered: boolean; readonly showOriginBadges: boolean; readonly maxInitiallyVisiblePerGroup: number; }; readonly webSearch: { readonly promoteSearchResultsWithoutFetch: boolean; readonly maxPromotedPerSearch: number; }; readonly dedupe: { readonly normalizeUrls: boolean; readonly stripTrackingParams: boolean; readonly mergeFileRanges: boolean; }; readonly filePreview: { readonly enabled: boolean; readonly markdownRenderedByDefault: boolean; readonly allowRawToggle: boolean; readonly maxBytes: number; readonly maxMarkdownRenderBytes: number; }; readonly subagents: { readonly inheritSources: boolean; readonly enableReportToolFallback: boolean; readonly markIncompleteOpaqueRuns: boolean; readonly validateReportedSources: boolean; }; readonly legacy: { readonly parseAssistantSourcesBlock: boolean; }; };\n readonly attachments: { readonly textFiles: boolean; readonly pastedTextLines: number; readonly maxFileBytes: number; readonly maxPending: number; readonly extensions: readonly string[]; };\n readonly documents: ResolvedQaDocumentsConfig;\n}"
4030
+ "declaration": "export interface ResolvedQaSurfaceConfig {\n readonly enabled: boolean;\n readonly route: { readonly path: string; readonly matchChildren: boolean; };\n readonly branding: { readonly title: string; readonly subtitle: string; readonly welcomeMessage: string; readonly placeholder: string; readonly logoUrl: string | null; readonly disclaimer: string; };\n readonly session: { readonly policy: QaSessionPolicy; readonly storageKey: string; readonly cwd: string | null; readonly workspaceId: string | null; readonly fixedSessionId: string | null; readonly agentPreset: string | null; readonly provider: string | null; readonly model: string | null; readonly reasoningEffort: string | null; };\n readonly ui: { readonly showHeader: boolean; readonly showReset: boolean; readonly showStop: boolean; readonly showTimestamps: boolean; readonly showToolActivity: boolean; readonly showReasoning: boolean; readonly renderMarkdown: boolean; readonly minContentWidth: number; readonly showSessionList: boolean; readonly subagentCodenames: boolean; };\n readonly suggestedQuestions: readonly string[];\n readonly thinkingPhrases: readonly string[];\n readonly interaction: { readonly approvals: QaApprovalInteraction; readonly questions: QaQuestionInteraction; };\n readonly lockdown: { readonly enabled: boolean; readonly enforceFixedAgentPreset: boolean; readonly enforceFixedWorkspace: boolean; readonly enforceFixedModel: boolean; readonly sandboxMode: QaSandboxMode; readonly approvalPolicy: QaApprovalPolicy; readonly permissionPreset: string; readonly allowPermissionChanges: false; readonly allowSlashCommands: false; readonly allowSettingsMutation: false; readonly allowSessionReset: boolean; readonly allowSessionRename: false; readonly allowSessionDelete: false; readonly allowArbitrarySessionOpen: false; readonly toolPolicy: { readonly mode: QaToolPolicyMode; readonly allow: readonly string[]; }; readonly sharedReadOnlyRoots: readonly string[]; };\n readonly embedding: { readonly frameAncestors: string | null; };\n readonly accounts: { readonly enabled: boolean; readonly allowRegistration: boolean; readonly sessionTtlDays: number; readonly showOtherUsersChats: boolean; readonly perUserWorkspace: boolean; readonly profile: { readonly enabled: boolean; readonly inject: boolean; readonly identities: readonly QaAccountIdentityField[]; readonly instructionsMaxLength: number; }; readonly starters: { readonly enabled: boolean; }; skills: { readonly enabled: boolean; readonly relativeRoot: string; readonly watch: boolean; readonly maxSkillBytes: number; readonly allowResourceEditing: boolean; }; };\n readonly entry: { readonly redirectNonLoopback: boolean; readonly cookieBootstrap: boolean; };\n readonly tools: { readonly dynamicActivation: boolean; readonly activationSkill: string; readonly activationMode: QaToolActivationMode; readonly activationPresets: readonly string[]; };\n readonly sources: { readonly enabled: boolean; readonly collect: { readonly parentAgent: boolean; readonly subagents: boolean; readonly persistTurnEvent: boolean; }; readonly display: { readonly sidebar: boolean; readonly footer: boolean; readonly groupByKind: boolean; readonly showDiscovered: boolean; readonly showOriginBadges: boolean; readonly maxInitiallyVisiblePerGroup: number; }; readonly webSearch: { readonly promoteSearchResultsWithoutFetch: boolean; readonly maxPromotedPerSearch: number; }; readonly dedupe: { readonly normalizeUrls: boolean; readonly stripTrackingParams: boolean; readonly mergeFileRanges: boolean; }; readonly filePreview: { readonly enabled: boolean; readonly markdownRenderedByDefault: boolean; readonly allowRawToggle: boolean; readonly maxBytes: number; readonly maxMarkdownRenderBytes: number; }; readonly subagents: { readonly inheritSources: boolean; readonly enableReportToolFallback: boolean; readonly markIncompleteOpaqueRuns: boolean; readonly validateReportedSources: boolean; }; readonly legacy: { readonly parseAssistantSourcesBlock: boolean; }; };\n readonly attachments: { readonly textFiles: boolean; readonly pastedTextLines: number; readonly maxFileBytes: number; readonly maxPending: number; readonly extensions: readonly string[]; };\n}"
1996
4031
  }
1997
4032
  ]
1998
4033
  }