@yadsh/dsh-qa-surface 0.6.1 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/README.md +163 -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 +143 -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 +53 -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 +48 -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/settings-extensions/index.js +1 -0
  86. package/lib/client/settings-extensions/index.js.map +1 -1
  87. package/lib/client/settings-extensions/user-session.js +62 -0
  88. package/lib/client/settings-extensions/user-session.js.map +1 -0
  89. package/lib/client/styles.js +31 -0
  90. package/lib/client/styles.js.map +1 -1
  91. package/lib/client/types.js.map +1 -1
  92. package/lib/client.js +9993 -4848
  93. package/lib/client.js.map +1 -1
  94. package/lib/config-resolvers/defaults.js +0 -2
  95. package/lib/config-resolvers/defaults.js.map +1 -1
  96. package/lib/config.js +0 -249
  97. package/lib/config.js.map +1 -1
  98. package/lib/enforcement/skill-policy.js +172 -0
  99. package/lib/enforcement/skill-policy.js.map +1 -0
  100. package/lib/enforcement/tool-grants.js +151 -0
  101. package/lib/enforcement/tool-grants.js.map +1 -0
  102. package/lib/index.js +224 -42
  103. package/lib/index.js.map +1 -1
  104. package/lib/personal-skills/service.js +10 -3
  105. package/lib/personal-skills/service.js.map +1 -1
  106. package/lib/qa-tools/index.js +4 -0
  107. package/lib/qa-tools/index.js.map +1 -1
  108. package/lib/resolve-config.js +0 -2
  109. package/lib/resolve-config.js.map +1 -1
  110. package/lib/secure-session.js +71 -17
  111. package/lib/secure-session.js.map +1 -1
  112. package/lib/typert.host.js +2237 -202
  113. package/lib/typert.remote-client.d.ts +49 -3
  114. package/lib/typert.remote-client.js +1863 -183
  115. package/lib/types/access/capability-catalog.d.ts +37 -0
  116. package/lib/types/access/model.d.ts +60 -0
  117. package/lib/types/access/role-repository.d.ts +32 -0
  118. package/lib/types/access/service.d.ts +57 -0
  119. package/lib/types/access/skill-metadata.d.ts +53 -0
  120. package/lib/types/account-remotes.d.ts +6 -0
  121. package/lib/types/accounts/errors.d.ts +1 -1
  122. package/lib/types/accounts/file.d.ts +16 -5
  123. package/lib/types/accounts/store.d.ts +83 -3
  124. package/lib/types/admin/conversation-log.d.ts +39 -0
  125. package/lib/types/admin/index.d.ts +24 -0
  126. package/lib/types/admin/metrics.d.ts +29 -0
  127. package/lib/types/admin/paging.d.ts +33 -0
  128. package/lib/types/admin/permissions.d.ts +10 -0
  129. package/lib/types/admin/quality-store.d.ts +82 -0
  130. package/lib/types/admin/queue.d.ts +21 -0
  131. package/lib/types/admin/redaction.d.ts +29 -0
  132. package/lib/types/admin/service.d.ts +105 -0
  133. package/lib/types/admin/session-log.d.ts +53 -0
  134. package/lib/types/client/QaSessionController.d.ts +12 -1
  135. package/lib/types/client/QaSurface.d.ts +7 -1
  136. package/lib/types/client/admin/QaAdmin.d.ts +17 -0
  137. package/lib/types/client/admin/format.d.ts +43 -0
  138. package/lib/types/client/admin/pages/Conversations.d.ts +21 -0
  139. package/lib/types/client/admin/pages/Overview.d.ts +13 -0
  140. package/lib/types/client/admin/pages/Quality.d.ts +18 -0
  141. package/lib/types/client/admin/pages/Review.d.ts +15 -0
  142. package/lib/types/client/admin/pages/Users.d.ts +22 -0
  143. package/lib/types/client/admin/routes.d.ts +60 -0
  144. package/lib/types/client/admin/shared.d.ts +53 -0
  145. package/lib/types/client/admin/styles.d.ts +11 -0
  146. package/lib/types/client/components/QaHeader.d.ts +5 -1
  147. package/lib/types/client/components/QaMessage.d.ts +14 -1
  148. package/lib/types/client/create-session.d.ts +2 -0
  149. package/lib/types/client/role/RoleSelector.d.ts +14 -0
  150. package/lib/types/client/session-sources.d.ts +9 -0
  151. package/lib/types/client/settings/sections.d.ts +0 -1
  152. package/lib/types/client/settings-extensions/index.d.ts +2 -0
  153. package/lib/types/client/settings-extensions/user-session.d.ts +59 -0
  154. package/lib/types/client/types.d.ts +39 -2
  155. package/lib/types/enforcement/skill-policy.d.ts +29 -0
  156. package/lib/types/enforcement/tool-grants.d.ts +84 -0
  157. package/lib/types/index.d.ts +62 -14
  158. package/lib/types/qa-tools/index.d.ts +2 -0
  159. package/lib/types/secure-session.d.ts +10 -1
  160. package/lib/types/types.d.ts +568 -5
  161. package/package.json +2 -2
  162. package/lib/client/settings/sections/documents.js +0 -88
  163. package/lib/client/settings/sections/documents.js.map +0 -1
  164. package/lib/documents/artifacts/ids.js +0 -43
  165. package/lib/documents/artifacts/ids.js.map +0 -1
  166. package/lib/documents/artifacts/manifest.js +0 -66
  167. package/lib/documents/artifacts/manifest.js.map +0 -1
  168. package/lib/documents/artifacts/store.js +0 -169
  169. package/lib/documents/artifacts/store.js.map +0 -1
  170. package/lib/documents/capabilities.js +0 -93
  171. package/lib/documents/capabilities.js.map +0 -1
  172. package/lib/documents/config.js +0 -302
  173. package/lib/documents/config.js.map +0 -1
  174. package/lib/documents/defaults.js +0 -78
  175. package/lib/documents/defaults.js.map +0 -1
  176. package/lib/documents/errors.js +0 -101
  177. package/lib/documents/errors.js.map +0 -1
  178. package/lib/documents/index.js +0 -80
  179. package/lib/documents/index.js.map +0 -1
  180. package/lib/documents/inspect/facts.js +0 -161
  181. package/lib/documents/inspect/facts.js.map +0 -1
  182. package/lib/documents/inspect/zip.js +0 -108
  183. package/lib/documents/inspect/zip.js.map +0 -1
  184. package/lib/documents/markdown/directives.js +0 -135
  185. package/lib/documents/markdown/directives.js.map +0 -1
  186. package/lib/documents/markdown/frontmatter.js +0 -35
  187. package/lib/documents/markdown/frontmatter.js.map +0 -1
  188. package/lib/documents/markdown/normalize.js +0 -113
  189. package/lib/documents/markdown/normalize.js.map +0 -1
  190. package/lib/documents/orchestrator/assets.js +0 -243
  191. package/lib/documents/orchestrator/assets.js.map +0 -1
  192. package/lib/documents/orchestrator/convert-document.js +0 -186
  193. package/lib/documents/orchestrator/convert-document.js.map +0 -1
  194. package/lib/documents/orchestrator/create-document.js +0 -292
  195. package/lib/documents/orchestrator/create-document.js.map +0 -1
  196. package/lib/documents/orchestrator/extract-document.js +0 -162
  197. package/lib/documents/orchestrator/extract-document.js.map +0 -1
  198. package/lib/documents/orchestrator/inspect-document.js +0 -89
  199. package/lib/documents/orchestrator/inspect-document.js.map +0 -1
  200. package/lib/documents/orchestrator/runtime-deps.js +0 -59
  201. package/lib/documents/orchestrator/runtime-deps.js.map +0 -1
  202. package/lib/documents/orchestrator/scope.js +0 -132
  203. package/lib/documents/orchestrator/scope.js.map +0 -1
  204. package/lib/documents/providers/docling.js +0 -247
  205. package/lib/documents/providers/docling.js.map +0 -1
  206. package/lib/documents/providers/libreoffice.js +0 -130
  207. package/lib/documents/providers/libreoffice.js.map +0 -1
  208. package/lib/documents/providers/markitdown.js +0 -89
  209. package/lib/documents/providers/markitdown.js.map +0 -1
  210. package/lib/documents/providers/pandoc.js +0 -161
  211. package/lib/documents/providers/pandoc.js.map +0 -1
  212. package/lib/documents/providers/process.js +0 -164
  213. package/lib/documents/providers/process.js.map +0 -1
  214. package/lib/documents/providers/registry.js +0 -152
  215. package/lib/documents/providers/registry.js.map +0 -1
  216. package/lib/documents/providers/shared.js +0 -75
  217. package/lib/documents/providers/shared.js.map +0 -1
  218. package/lib/documents/runtime.js +0 -114
  219. package/lib/documents/runtime.js.map +0 -1
  220. package/lib/documents/security/file-types.js +0 -188
  221. package/lib/documents/security/file-types.js.map +0 -1
  222. package/lib/documents/security/limits.js +0 -78
  223. package/lib/documents/security/limits.js.map +0 -1
  224. package/lib/documents/security/mime.js +0 -43
  225. package/lib/documents/security/mime.js.map +0 -1
  226. package/lib/documents/security/paths.js +0 -133
  227. package/lib/documents/security/paths.js.map +0 -1
  228. package/lib/documents/templates/registry.js +0 -147
  229. package/lib/documents/templates/registry.js.map +0 -1
  230. package/lib/documents/templates/resolver.js +0 -59
  231. package/lib/documents/templates/resolver.js.map +0 -1
  232. package/lib/documents/tools/convert.js +0 -125
  233. package/lib/documents/tools/convert.js.map +0 -1
  234. package/lib/documents/tools/create.js +0 -187
  235. package/lib/documents/tools/create.js.map +0 -1
  236. package/lib/documents/tools/index.js +0 -41
  237. package/lib/documents/tools/index.js.map +0 -1
  238. package/lib/documents/tools/inspect.js +0 -135
  239. package/lib/documents/tools/inspect.js.map +0 -1
  240. package/lib/documents/tools/shared.js +0 -88
  241. package/lib/documents/tools/shared.js.map +0 -1
  242. package/lib/documents/tools/to-markdown.js +0 -125
  243. package/lib/documents/tools/to-markdown.js.map +0 -1
  244. package/lib/documents/types.js +0 -12
  245. package/lib/documents/types.js.map +0 -1
  246. package/lib/types/client/settings/sections/documents.d.ts +0 -13
  247. package/lib/types/documents/artifacts/ids.d.ts +0 -14
  248. package/lib/types/documents/artifacts/manifest.d.ts +0 -32
  249. package/lib/types/documents/artifacts/store.d.ts +0 -67
  250. package/lib/types/documents/capabilities.d.ts +0 -32
  251. package/lib/types/documents/config.d.ts +0 -27
  252. package/lib/types/documents/defaults.d.ts +0 -161
  253. package/lib/types/documents/errors.d.ts +0 -42
  254. package/lib/types/documents/index.d.ts +0 -63
  255. package/lib/types/documents/inspect/facts.d.ts +0 -43
  256. package/lib/types/documents/inspect/zip.d.ts +0 -28
  257. package/lib/types/documents/markdown/directives.d.ts +0 -39
  258. package/lib/types/documents/markdown/frontmatter.d.ts +0 -15
  259. package/lib/types/documents/markdown/normalize.d.ts +0 -30
  260. package/lib/types/documents/orchestrator/assets.d.ts +0 -55
  261. package/lib/types/documents/orchestrator/convert-document.d.ts +0 -25
  262. package/lib/types/documents/orchestrator/create-document.d.ts +0 -18
  263. package/lib/types/documents/orchestrator/extract-document.d.ts +0 -24
  264. package/lib/types/documents/orchestrator/inspect-document.d.ts +0 -12
  265. package/lib/types/documents/orchestrator/runtime-deps.d.ts +0 -43
  266. package/lib/types/documents/orchestrator/scope.d.ts +0 -52
  267. package/lib/types/documents/providers/docling.d.ts +0 -54
  268. package/lib/types/documents/providers/libreoffice.d.ts +0 -40
  269. package/lib/types/documents/providers/markitdown.d.ts +0 -28
  270. package/lib/types/documents/providers/pandoc.d.ts +0 -42
  271. package/lib/types/documents/providers/process.d.ts +0 -54
  272. package/lib/types/documents/providers/registry.d.ts +0 -68
  273. package/lib/types/documents/providers/shared.d.ts +0 -27
  274. package/lib/types/documents/runtime.d.ts +0 -59
  275. package/lib/types/documents/security/file-types.d.ts +0 -39
  276. package/lib/types/documents/security/limits.d.ts +0 -24
  277. package/lib/types/documents/security/mime.d.ts +0 -13
  278. package/lib/types/documents/security/paths.d.ts +0 -38
  279. package/lib/types/documents/templates/registry.d.ts +0 -50
  280. package/lib/types/documents/templates/resolver.d.ts +0 -30
  281. package/lib/types/documents/tools/convert.d.ts +0 -9
  282. package/lib/types/documents/tools/create.d.ts +0 -14
  283. package/lib/types/documents/tools/index.d.ts +0 -33
  284. package/lib/types/documents/tools/inspect.d.ts +0 -9
  285. package/lib/types/documents/tools/shared.d.ts +0 -77
  286. package/lib/types/documents/tools/to-markdown.d.ts +0 -12
  287. 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(),
@@ -691,10 +1426,10 @@ export const TYPERT_REMOTE = {
691
1426
  package: '@yadsh/dsh-qa-surface',
692
1427
  descriptors: [
693
1428
  {
694
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions',
1429
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessAdminSnapshot',
695
1430
  service: 'qaSurface',
696
1431
  namespace: 'qaSurface',
697
- method: 'accountsClaimSessions',
1432
+ method: 'accessAdminSnapshot',
698
1433
  invocation: { kind: 'direct' },
699
1434
  parameters: [
700
1435
  {
@@ -703,30 +1438,390 @@ export const TYPERT_REMOTE = {
703
1438
  source: 'json',
704
1439
  codec: {
705
1440
  mode: 'strict',
706
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:token',
707
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_0$schema,
708
- },
709
- },
710
- {
711
- name: 'sessionIds',
712
- wire: 'sessionIds',
713
- source: 'json',
714
- codec: {
715
- mode: 'strict',
716
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:sessionIds',
717
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_1$schema,
1441
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessAdminSnapshot:token',
1442
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_parameter_0$schema,
718
1443
  },
719
1444
  },
720
1445
  ],
721
1446
  result: {
722
1447
  mode: 'strict',
723
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaClaimResult',
724
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
1448
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccessAdminSnapshot',
1449
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessAdminSnapshot_result$schema,
725
1450
  },
726
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":399,"column":3},
1451
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":625,"column":9},
727
1452
  },
728
1453
  {
729
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership',
1454
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessCreateSubrole',
1455
+ service: 'qaSurface',
1456
+ namespace: 'qaSurface',
1457
+ method: 'accessCreateSubrole',
1458
+ invocation: { kind: 'direct' },
1459
+ parameters: [
1460
+ {
1461
+ name: 'token',
1462
+ wire: 'token',
1463
+ source: 'json',
1464
+ codec: {
1465
+ mode: 'strict',
1466
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessCreateSubrole:token',
1467
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_0$schema,
1468
+ },
1469
+ },
1470
+ {
1471
+ name: 'input',
1472
+ wire: 'input',
1473
+ source: 'json',
1474
+ codec: {
1475
+ mode: 'strict',
1476
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1477
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_parameter_1$schema,
1478
+ },
1479
+ },
1480
+ ],
1481
+ result: {
1482
+ mode: 'strict',
1483
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1484
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCreateSubrole_result$schema,
1485
+ },
1486
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":636,"column":3},
1487
+ },
1488
+ {
1489
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessCurrent',
1490
+ service: 'qaSurface',
1491
+ namespace: 'qaSurface',
1492
+ method: 'accessCurrent',
1493
+ invocation: { kind: 'direct' },
1494
+ parameters: [
1495
+ {
1496
+ name: 'token',
1497
+ wire: 'token',
1498
+ source: 'json',
1499
+ codec: {
1500
+ mode: 'strict',
1501
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessCurrent:token',
1502
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_parameter_0$schema,
1503
+ },
1504
+ },
1505
+ ],
1506
+ result: {
1507
+ mode: 'strict',
1508
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaCurrentAccess',
1509
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessCurrent_result$schema,
1510
+ },
1511
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":610,"column":3},
1512
+ },
1513
+ {
1514
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole',
1515
+ service: 'qaSurface',
1516
+ namespace: 'qaSurface',
1517
+ method: 'accessDeleteSubrole',
1518
+ invocation: { kind: 'direct' },
1519
+ parameters: [
1520
+ {
1521
+ name: 'token',
1522
+ wire: 'token',
1523
+ source: 'json',
1524
+ codec: {
1525
+ mode: 'strict',
1526
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:token',
1527
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_0$schema,
1528
+ },
1529
+ },
1530
+ {
1531
+ name: 'id',
1532
+ wire: 'id',
1533
+ source: 'json',
1534
+ codec: {
1535
+ mode: 'strict',
1536
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:id',
1537
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_1$schema,
1538
+ },
1539
+ },
1540
+ {
1541
+ name: 'replacementId',
1542
+ wire: 'replacementId',
1543
+ source: 'json',
1544
+ codec: {
1545
+ mode: 'strict',
1546
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:replacementId',
1547
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_parameter_2$schema,
1548
+ },
1549
+ },
1550
+ ],
1551
+ result: {
1552
+ mode: 'strict',
1553
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessDeleteSubrole:result',
1554
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessDeleteSubrole_result$schema,
1555
+ },
1556
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":650,"column":3},
1557
+ },
1558
+ {
1559
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessSession',
1560
+ service: 'qaSurface',
1561
+ namespace: 'qaSurface',
1562
+ method: 'accessSession',
1563
+ invocation: { kind: 'direct' },
1564
+ parameters: [
1565
+ {
1566
+ name: 'token',
1567
+ wire: 'token',
1568
+ source: 'json',
1569
+ codec: {
1570
+ mode: 'strict',
1571
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSession:token',
1572
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_parameter_0$schema,
1573
+ },
1574
+ },
1575
+ {
1576
+ name: 'sessionId',
1577
+ wire: 'sessionId',
1578
+ source: 'json',
1579
+ codec: {
1580
+ mode: 'strict',
1581
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSession:sessionId',
1582
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_parameter_1$schema,
1583
+ },
1584
+ },
1585
+ ],
1586
+ result: {
1587
+ mode: 'strict',
1588
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSessionAccess',
1589
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSession_result$schema,
1590
+ },
1591
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":616,"column":3},
1592
+ },
1593
+ {
1594
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations',
1595
+ service: 'qaSurface',
1596
+ namespace: 'qaSurface',
1597
+ method: 'accessSkillActivations',
1598
+ invocation: { kind: 'direct' },
1599
+ parameters: [
1600
+ {
1601
+ name: 'token',
1602
+ wire: 'token',
1603
+ source: 'json',
1604
+ codec: {
1605
+ mode: 'strict',
1606
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:token',
1607
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_parameter_0$schema,
1608
+ },
1609
+ },
1610
+ {
1611
+ name: 'sessionId',
1612
+ wire: 'sessionId',
1613
+ source: 'json',
1614
+ codec: {
1615
+ mode: 'strict',
1616
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:sessionId',
1617
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_parameter_1$schema,
1618
+ },
1619
+ },
1620
+ ],
1621
+ result: {
1622
+ mode: 'strict',
1623
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessSkillActivations:result',
1624
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessSkillActivations_result$schema,
1625
+ },
1626
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":695,"column":3},
1627
+ },
1628
+ {
1629
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment',
1630
+ service: 'qaSurface',
1631
+ namespace: 'qaSurface',
1632
+ method: 'accessUpdateAssignment',
1633
+ invocation: { kind: 'direct' },
1634
+ parameters: [
1635
+ {
1636
+ name: 'token',
1637
+ wire: 'token',
1638
+ source: 'json',
1639
+ codec: {
1640
+ mode: 'strict',
1641
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment:token',
1642
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_0$schema,
1643
+ },
1644
+ },
1645
+ {
1646
+ name: 'userId',
1647
+ wire: 'userId',
1648
+ source: 'json',
1649
+ codec: {
1650
+ mode: 'strict',
1651
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateAssignment:userId',
1652
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_1$schema,
1653
+ },
1654
+ },
1655
+ {
1656
+ name: 'input',
1657
+ wire: 'input',
1658
+ source: 'json',
1659
+ codec: {
1660
+ mode: 'strict',
1661
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
1662
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_parameter_2$schema,
1663
+ },
1664
+ },
1665
+ ],
1666
+ result: {
1667
+ mode: 'strict',
1668
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserAccess',
1669
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateAssignment_result$schema,
1670
+ },
1671
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":672,"column":3},
1672
+ },
1673
+ {
1674
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateCommon',
1675
+ service: 'qaSurface',
1676
+ namespace: 'qaSurface',
1677
+ method: 'accessUpdateCommon',
1678
+ invocation: { kind: 'direct' },
1679
+ parameters: [
1680
+ {
1681
+ name: 'token',
1682
+ wire: 'token',
1683
+ source: 'json',
1684
+ codec: {
1685
+ mode: 'strict',
1686
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateCommon:token',
1687
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_0$schema,
1688
+ },
1689
+ },
1690
+ {
1691
+ name: 'input',
1692
+ wire: 'input',
1693
+ source: 'json',
1694
+ codec: {
1695
+ mode: 'strict',
1696
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaCapabilitySelection',
1697
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_parameter_1$schema,
1698
+ },
1699
+ },
1700
+ ],
1701
+ result: {
1702
+ mode: 'strict',
1703
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaCapabilitySelection',
1704
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateCommon_result$schema,
1705
+ },
1706
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":662,"column":3},
1707
+ },
1708
+ {
1709
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride',
1710
+ service: 'qaSurface',
1711
+ namespace: 'qaSurface',
1712
+ method: 'accessUpdateSkillOverride',
1713
+ invocation: { kind: 'direct' },
1714
+ parameters: [
1715
+ {
1716
+ name: 'token',
1717
+ wire: 'token',
1718
+ source: 'json',
1719
+ codec: {
1720
+ mode: 'strict',
1721
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride:token',
1722
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_parameter_0$schema,
1723
+ },
1724
+ },
1725
+ {
1726
+ name: 'input',
1727
+ wire: 'input',
1728
+ source: 'json',
1729
+ codec: {
1730
+ mode: 'strict',
1731
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillAssignmentOverride',
1732
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_parameter_1$schema,
1733
+ },
1734
+ },
1735
+ ],
1736
+ result: {
1737
+ mode: 'strict',
1738
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSkillOverride:result',
1739
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSkillOverride_result$schema,
1740
+ },
1741
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":684,"column":3},
1742
+ },
1743
+ {
1744
+ id: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole',
1745
+ service: 'qaSurface',
1746
+ namespace: 'qaSurface',
1747
+ method: 'accessUpdateSubrole',
1748
+ invocation: { kind: 'direct' },
1749
+ parameters: [
1750
+ {
1751
+ name: 'token',
1752
+ wire: 'token',
1753
+ source: 'json',
1754
+ codec: {
1755
+ mode: 'strict',
1756
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole:token',
1757
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_0$schema,
1758
+ },
1759
+ },
1760
+ {
1761
+ name: 'id',
1762
+ wire: 'id',
1763
+ source: 'json',
1764
+ codec: {
1765
+ mode: 'strict',
1766
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accessUpdateSubrole:id',
1767
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_1$schema,
1768
+ },
1769
+ },
1770
+ {
1771
+ name: 'input',
1772
+ wire: 'input',
1773
+ source: 'json',
1774
+ codec: {
1775
+ mode: 'strict',
1776
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1777
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_parameter_2$schema,
1778
+ },
1779
+ },
1780
+ ],
1781
+ result: {
1782
+ mode: 'strict',
1783
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaSubrole',
1784
+ schema: _yadsh_dsh_qa_surface_qaSurface_accessUpdateSubrole_result$schema,
1785
+ },
1786
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":643,"column":3},
1787
+ },
1788
+ {
1789
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions',
1790
+ service: 'qaSurface',
1791
+ namespace: 'qaSurface',
1792
+ method: 'accountsClaimSessions',
1793
+ invocation: { kind: 'direct' },
1794
+ parameters: [
1795
+ {
1796
+ name: 'token',
1797
+ wire: 'token',
1798
+ source: 'json',
1799
+ codec: {
1800
+ mode: 'strict',
1801
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:token',
1802
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_0$schema,
1803
+ },
1804
+ },
1805
+ {
1806
+ name: 'sessionIds',
1807
+ wire: 'sessionIds',
1808
+ source: 'json',
1809
+ codec: {
1810
+ mode: 'strict',
1811
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsClaimSessions:sessionIds',
1812
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_parameter_1$schema,
1813
+ },
1814
+ },
1815
+ ],
1816
+ result: {
1817
+ mode: 'strict',
1818
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaClaimResult',
1819
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsClaimSessions_result$schema,
1820
+ },
1821
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":444,"column":3},
1822
+ },
1823
+ {
1824
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership',
730
1825
  service: 'qaSurface',
731
1826
  namespace: 'qaSurface',
732
1827
  method: 'accountsListOwnership',
@@ -738,58 +1833,413 @@ export const TYPERT_REMOTE = {
738
1833
  source: 'json',
739
1834
  codec: {
740
1835
  mode: 'strict',
741
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:token',
742
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_parameter_0$schema,
1836
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:token',
1837
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_parameter_0$schema,
1838
+ },
1839
+ },
1840
+ ],
1841
+ result: {
1842
+ mode: 'strict',
1843
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:result',
1844
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
1845
+ },
1846
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":463,"column":3},
1847
+ },
1848
+ {
1849
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin',
1850
+ service: 'qaSurface',
1851
+ namespace: 'qaSurface',
1852
+ method: 'accountsLogin',
1853
+ invocation: { kind: 'direct' },
1854
+ parameters: [
1855
+ {
1856
+ name: 'email',
1857
+ wire: 'email',
1858
+ source: 'json',
1859
+ codec: {
1860
+ mode: 'strict',
1861
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:email',
1862
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_0$schema,
1863
+ },
1864
+ },
1865
+ {
1866
+ name: 'password',
1867
+ wire: 'password',
1868
+ source: 'json',
1869
+ codec: {
1870
+ mode: 'strict',
1871
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:password',
1872
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_1$schema,
1873
+ },
1874
+ },
1875
+ ],
1876
+ result: {
1877
+ mode: 'strict',
1878
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1879
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
1880
+ },
1881
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":432,"column":3},
1882
+ },
1883
+ {
1884
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions',
1885
+ service: 'qaSurface',
1886
+ namespace: 'qaSurface',
1887
+ method: 'accountsOwnedSessions',
1888
+ invocation: { kind: 'direct' },
1889
+ parameters: [
1890
+ {
1891
+ name: 'token',
1892
+ wire: 'token',
1893
+ source: 'json',
1894
+ codec: {
1895
+ mode: 'strict',
1896
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:token',
1897
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_parameter_0$schema,
1898
+ },
1899
+ },
1900
+ ],
1901
+ result: {
1902
+ mode: 'strict',
1903
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
1904
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
1905
+ },
1906
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":453,"column":3},
1907
+ },
1908
+ {
1909
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister',
1910
+ service: 'qaSurface',
1911
+ namespace: 'qaSurface',
1912
+ method: 'accountsRegister',
1913
+ invocation: { kind: 'direct' },
1914
+ parameters: [
1915
+ {
1916
+ name: 'email',
1917
+ wire: 'email',
1918
+ source: 'json',
1919
+ codec: {
1920
+ mode: 'strict',
1921
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:email',
1922
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_0$schema,
1923
+ },
1924
+ },
1925
+ {
1926
+ name: 'password',
1927
+ wire: 'password',
1928
+ source: 'json',
1929
+ codec: {
1930
+ mode: 'strict',
1931
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:password',
1932
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_1$schema,
1933
+ },
1934
+ },
1935
+ ],
1936
+ result: {
1937
+ mode: 'strict',
1938
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
1939
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
1940
+ },
1941
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":427,"column":3},
1942
+ },
1943
+ {
1944
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile',
1945
+ service: 'qaSurface',
1946
+ namespace: 'qaSurface',
1947
+ method: 'accountsUpdateProfile',
1948
+ invocation: { kind: 'direct' },
1949
+ parameters: [
1950
+ {
1951
+ name: 'token',
1952
+ wire: 'token',
1953
+ source: 'json',
1954
+ codec: {
1955
+ mode: 'strict',
1956
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile:token',
1957
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_0$schema,
1958
+ },
1959
+ },
1960
+ {
1961
+ name: 'input',
1962
+ wire: 'input',
1963
+ source: 'json',
1964
+ codec: {
1965
+ mode: 'strict',
1966
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountProfileInput',
1967
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_1$schema,
1968
+ },
1969
+ },
1970
+ ],
1971
+ result: {
1972
+ mode: 'strict',
1973
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
1974
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
1975
+ },
1976
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":476,"column":3},
1977
+ },
1978
+ {
1979
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters',
1980
+ service: 'qaSurface',
1981
+ namespace: 'qaSurface',
1982
+ method: 'accountsUpdateStarters',
1983
+ invocation: { kind: 'direct' },
1984
+ parameters: [
1985
+ {
1986
+ name: 'token',
1987
+ wire: 'token',
1988
+ source: 'json',
1989
+ codec: {
1990
+ mode: 'strict',
1991
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters:token',
1992
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_0$schema,
1993
+ },
1994
+ },
1995
+ {
1996
+ name: 'input',
1997
+ wire: 'input',
1998
+ source: 'json',
1999
+ codec: {
2000
+ mode: 'strict',
2001
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountStartersInput',
2002
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_1$schema,
2003
+ },
2004
+ },
2005
+ ],
2006
+ result: {
2007
+ mode: 'strict',
2008
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
2009
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
2010
+ },
2011
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":489,"column":3},
2012
+ },
2013
+ {
2014
+ id: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami',
2015
+ service: 'qaSurface',
2016
+ namespace: 'qaSurface',
2017
+ method: 'accountsWhoami',
2018
+ invocation: { kind: 'direct' },
2019
+ parameters: [
2020
+ {
2021
+ name: 'token',
2022
+ wire: 'token',
2023
+ source: 'json',
2024
+ codec: {
2025
+ mode: 'strict',
2026
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami:token',
2027
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_parameter_0$schema,
2028
+ },
2029
+ },
2030
+ ],
2031
+ result: {
2032
+ mode: 'strict',
2033
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaWhoamiResult',
2034
+ schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
2035
+ },
2036
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":438,"column":3},
2037
+ },
2038
+ {
2039
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminAudit',
2040
+ service: 'qaSurface',
2041
+ namespace: 'qaSurface',
2042
+ method: 'adminAudit',
2043
+ invocation: { kind: 'direct' },
2044
+ parameters: [
2045
+ {
2046
+ name: 'token',
2047
+ wire: 'token',
2048
+ source: 'json',
2049
+ codec: {
2050
+ mode: 'strict',
2051
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminAudit:token',
2052
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_0$schema,
2053
+ },
2054
+ },
2055
+ {
2056
+ name: 'query',
2057
+ wire: 'query',
2058
+ source: 'json',
2059
+ codec: {
2060
+ mode: 'strict',
2061
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAuditQuery',
2062
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_1$schema,
2063
+ },
2064
+ },
2065
+ {
2066
+ name: 'cursor',
2067
+ wire: 'cursor',
2068
+ source: 'json',
2069
+ codec: {
2070
+ mode: 'strict',
2071
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminAudit:cursor',
2072
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_2$schema,
2073
+ },
2074
+ },
2075
+ {
2076
+ name: 'limit',
2077
+ wire: 'limit',
2078
+ source: 'json',
2079
+ codec: {
2080
+ mode: 'strict',
2081
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminAudit:limit',
2082
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_parameter_3$schema,
2083
+ },
2084
+ },
2085
+ ],
2086
+ result: {
2087
+ mode: 'strict',
2088
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2089
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminAudit_result$schema,
2090
+ },
2091
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":847,"column":3},
2092
+ },
2093
+ {
2094
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminConversation',
2095
+ service: 'qaSurface',
2096
+ namespace: 'qaSurface',
2097
+ method: 'adminConversation',
2098
+ invocation: { kind: 'direct' },
2099
+ parameters: [
2100
+ {
2101
+ name: 'token',
2102
+ wire: 'token',
2103
+ source: 'json',
2104
+ codec: {
2105
+ mode: 'strict',
2106
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversation:token',
2107
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_parameter_0$schema,
2108
+ },
2109
+ },
2110
+ {
2111
+ name: 'conversationId',
2112
+ wire: 'conversationId',
2113
+ source: 'json',
2114
+ codec: {
2115
+ mode: 'strict',
2116
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversation:conversationId',
2117
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_parameter_1$schema,
2118
+ },
2119
+ },
2120
+ ],
2121
+ result: {
2122
+ mode: 'strict',
2123
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationDetail',
2124
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversation_result$schema,
2125
+ },
2126
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":764,"column":3},
2127
+ },
2128
+ {
2129
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminConversations',
2130
+ service: 'qaSurface',
2131
+ namespace: 'qaSurface',
2132
+ method: 'adminConversations',
2133
+ invocation: { kind: 'direct' },
2134
+ parameters: [
2135
+ {
2136
+ name: 'token',
2137
+ wire: 'token',
2138
+ source: 'json',
2139
+ codec: {
2140
+ mode: 'strict',
2141
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversations:token',
2142
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_0$schema,
2143
+ },
2144
+ },
2145
+ {
2146
+ name: 'query',
2147
+ wire: 'query',
2148
+ source: 'json',
2149
+ codec: {
2150
+ mode: 'strict',
2151
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationQuery',
2152
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_1$schema,
2153
+ },
2154
+ },
2155
+ {
2156
+ name: 'cursor',
2157
+ wire: 'cursor',
2158
+ source: 'json',
2159
+ codec: {
2160
+ mode: 'strict',
2161
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversations:cursor',
2162
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_2$schema,
2163
+ },
2164
+ },
2165
+ {
2166
+ name: 'limit',
2167
+ wire: 'limit',
2168
+ source: 'json',
2169
+ codec: {
2170
+ mode: 'strict',
2171
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminConversations:limit',
2172
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_parameter_3$schema,
743
2173
  },
744
2174
  },
745
2175
  ],
746
2176
  result: {
747
2177
  mode: 'strict',
748
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsListOwnership:result',
749
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsListOwnership_result$schema,
2178
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2179
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminConversations_result$schema,
750
2180
  },
751
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":418,"column":3},
2181
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":746,"column":3},
752
2182
  },
753
2183
  {
754
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin',
2184
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback',
755
2185
  service: 'qaSurface',
756
2186
  namespace: 'qaSurface',
757
- method: 'accountsLogin',
2187
+ method: 'adminFeedback',
758
2188
  invocation: { kind: 'direct' },
759
2189
  parameters: [
760
2190
  {
761
- name: 'email',
762
- wire: 'email',
2191
+ name: 'token',
2192
+ wire: 'token',
763
2193
  source: 'json',
764
2194
  codec: {
765
2195
  mode: 'strict',
766
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:email',
767
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_0$schema,
2196
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback:token',
2197
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_0$schema,
768
2198
  },
769
2199
  },
770
2200
  {
771
- name: 'password',
772
- wire: 'password',
2201
+ name: 'query',
2202
+ wire: 'query',
773
2203
  source: 'json',
774
2204
  codec: {
775
2205
  mode: 'strict',
776
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsLogin:password',
777
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_parameter_1$schema,
2206
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaFeedbackQuery',
2207
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_1$schema,
2208
+ },
2209
+ },
2210
+ {
2211
+ name: 'cursor',
2212
+ wire: 'cursor',
2213
+ source: 'json',
2214
+ codec: {
2215
+ mode: 'strict',
2216
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback:cursor',
2217
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_2$schema,
2218
+ },
2219
+ },
2220
+ {
2221
+ name: 'limit',
2222
+ wire: 'limit',
2223
+ source: 'json',
2224
+ codec: {
2225
+ mode: 'strict',
2226
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminFeedback:limit',
2227
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_parameter_3$schema,
778
2228
  },
779
2229
  },
780
2230
  ],
781
2231
  result: {
782
2232
  mode: 'strict',
783
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
784
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsLogin_result$schema,
2233
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2234
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminFeedback_result$schema,
785
2235
  },
786
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":387,"column":3},
2236
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":774,"column":3},
787
2237
  },
788
2238
  {
789
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions',
2239
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminMetrics',
790
2240
  service: 'qaSurface',
791
2241
  namespace: 'qaSurface',
792
- method: 'accountsOwnedSessions',
2242
+ method: 'adminMetrics',
793
2243
  invocation: { kind: 'direct' },
794
2244
  parameters: [
795
2245
  {
@@ -798,58 +2248,93 @@ export const TYPERT_REMOTE = {
798
2248
  source: 'json',
799
2249
  codec: {
800
2250
  mode: 'strict',
801
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:token',
802
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_parameter_0$schema,
2251
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminMetrics:token',
2252
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_parameter_0$schema,
803
2253
  },
804
2254
  },
805
2255
  ],
806
2256
  result: {
807
2257
  mode: 'strict',
808
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsOwnedSessions:result',
809
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsOwnedSessions_result$schema,
2258
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaQualityMetrics',
2259
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminMetrics_result$schema,
810
2260
  },
811
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":408,"column":3},
2261
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":842,"column":3},
812
2262
  },
813
2263
  {
814
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister',
2264
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminOverview',
815
2265
  service: 'qaSurface',
816
2266
  namespace: 'qaSurface',
817
- method: 'accountsRegister',
2267
+ method: 'adminOverview',
818
2268
  invocation: { kind: 'direct' },
819
2269
  parameters: [
820
2270
  {
821
- name: 'email',
822
- wire: 'email',
2271
+ name: 'token',
2272
+ wire: 'token',
823
2273
  source: 'json',
824
2274
  codec: {
825
2275
  mode: 'strict',
826
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:email',
827
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_0$schema,
2276
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminOverview:token',
2277
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminOverview_parameter_0$schema,
828
2278
  },
829
2279
  },
2280
+ ],
2281
+ result: {
2282
+ mode: 'strict',
2283
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminOverview',
2284
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminOverview_result$schema,
2285
+ },
2286
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":712,"column":3},
2287
+ },
2288
+ {
2289
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation',
2290
+ service: 'qaSurface',
2291
+ namespace: 'qaSurface',
2292
+ method: 'adminQueueConversation',
2293
+ invocation: { kind: 'direct' },
2294
+ parameters: [
830
2295
  {
831
- name: 'password',
832
- wire: 'password',
2296
+ name: 'token',
2297
+ wire: 'token',
833
2298
  source: 'json',
834
2299
  codec: {
835
2300
  mode: 'strict',
836
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsRegister:password',
837
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_parameter_1$schema,
2301
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation:token',
2302
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_0$schema,
2303
+ },
2304
+ },
2305
+ {
2306
+ name: 'conversationId',
2307
+ wire: 'conversationId',
2308
+ source: 'json',
2309
+ codec: {
2310
+ mode: 'strict',
2311
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation:conversationId',
2312
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_1$schema,
2313
+ },
2314
+ },
2315
+ {
2316
+ name: 'messageId',
2317
+ wire: 'messageId',
2318
+ source: 'json',
2319
+ codec: {
2320
+ mode: 'strict',
2321
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminQueueConversation:messageId',
2322
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_parameter_2$schema,
838
2323
  },
839
2324
  },
840
2325
  ],
841
2326
  result: {
842
2327
  mode: 'strict',
843
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountSession',
844
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsRegister_result$schema,
2328
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaReviewQueueItem',
2329
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminQueueConversation_result$schema,
845
2330
  },
846
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":382,"column":3},
2331
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":819,"column":3},
847
2332
  },
848
2333
  {
849
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile',
2334
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage',
850
2335
  service: 'qaSurface',
851
2336
  namespace: 'qaSurface',
852
- method: 'accountsUpdateProfile',
2337
+ method: 'adminRateMessage',
853
2338
  invocation: { kind: 'direct' },
854
2339
  parameters: [
855
2340
  {
@@ -858,8 +2343,28 @@ export const TYPERT_REMOTE = {
858
2343
  source: 'json',
859
2344
  codec: {
860
2345
  mode: 'strict',
861
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateProfile:token',
862
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_0$schema,
2346
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage:token',
2347
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_0$schema,
2348
+ },
2349
+ },
2350
+ {
2351
+ name: 'conversationId',
2352
+ wire: 'conversationId',
2353
+ source: 'json',
2354
+ codec: {
2355
+ mode: 'strict',
2356
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage:conversationId',
2357
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_1$schema,
2358
+ },
2359
+ },
2360
+ {
2361
+ name: 'messageId',
2362
+ wire: 'messageId',
2363
+ source: 'json',
2364
+ codec: {
2365
+ mode: 'strict',
2366
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminRateMessage:messageId',
2367
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_2$schema,
863
2368
  },
864
2369
  },
865
2370
  {
@@ -868,23 +2373,23 @@ export const TYPERT_REMOTE = {
868
2373
  source: 'json',
869
2374
  codec: {
870
2375
  mode: 'strict',
871
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountProfileInput',
872
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_parameter_1$schema,
2376
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaMessageFeedbackInput',
2377
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_parameter_3$schema,
873
2378
  },
874
2379
  },
875
2380
  ],
876
2381
  result: {
877
2382
  mode: 'strict',
878
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
879
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateProfile_result$schema,
2383
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaMessageFeedback',
2384
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminRateMessage_result$schema,
880
2385
  },
881
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":431,"column":3},
2386
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":795,"column":3},
882
2387
  },
883
2388
  {
884
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters',
2389
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue',
885
2390
  service: 'qaSurface',
886
2391
  namespace: 'qaSurface',
887
- method: 'accountsUpdateStarters',
2392
+ method: 'adminReviewQueue',
888
2393
  invocation: { kind: 'direct' },
889
2394
  parameters: [
890
2395
  {
@@ -893,8 +2398,53 @@ export const TYPERT_REMOTE = {
893
2398
  source: 'json',
894
2399
  codec: {
895
2400
  mode: 'strict',
896
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsUpdateStarters:token',
897
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_0$schema,
2401
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue:token',
2402
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_0$schema,
2403
+ },
2404
+ },
2405
+ {
2406
+ name: 'cursor',
2407
+ wire: 'cursor',
2408
+ source: 'json',
2409
+ codec: {
2410
+ mode: 'strict',
2411
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue:cursor',
2412
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_1$schema,
2413
+ },
2414
+ },
2415
+ {
2416
+ name: 'limit',
2417
+ wire: 'limit',
2418
+ source: 'json',
2419
+ codec: {
2420
+ mode: 'strict',
2421
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminReviewQueue:limit',
2422
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_parameter_2$schema,
2423
+ },
2424
+ },
2425
+ ],
2426
+ result: {
2427
+ mode: 'strict',
2428
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2429
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminReviewQueue_result$schema,
2430
+ },
2431
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":807,"column":3},
2432
+ },
2433
+ {
2434
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminSaveReview',
2435
+ service: 'qaSurface',
2436
+ namespace: 'qaSurface',
2437
+ method: 'adminSaveReview',
2438
+ invocation: { kind: 'direct' },
2439
+ parameters: [
2440
+ {
2441
+ name: 'token',
2442
+ wire: 'token',
2443
+ source: 'json',
2444
+ codec: {
2445
+ mode: 'strict',
2446
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminSaveReview:token',
2447
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_parameter_0$schema,
898
2448
  },
899
2449
  },
900
2450
  {
@@ -903,23 +2453,23 @@ export const TYPERT_REMOTE = {
903
2453
  source: 'json',
904
2454
  codec: {
905
2455
  mode: 'strict',
906
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountStartersInput',
907
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_parameter_1$schema,
2456
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationReviewInput',
2457
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_parameter_1$schema,
908
2458
  },
909
2459
  },
910
2460
  ],
911
2461
  result: {
912
2462
  mode: 'strict',
913
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaAccountUserPublic',
914
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsUpdateStarters_result$schema,
2463
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaConversationReview',
2464
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminSaveReview_result$schema,
915
2465
  },
916
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":444,"column":3},
2466
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":834,"column":3},
917
2467
  },
918
2468
  {
919
- id: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami',
2469
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser',
920
2470
  service: 'qaSurface',
921
2471
  namespace: 'qaSurface',
922
- method: 'accountsWhoami',
2472
+ method: 'adminUpdateUser',
923
2473
  invocation: { kind: 'direct' },
924
2474
  parameters: [
925
2475
  {
@@ -928,17 +2478,127 @@ export const TYPERT_REMOTE = {
928
2478
  source: 'json',
929
2479
  codec: {
930
2480
  mode: 'strict',
931
- typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/accountsWhoami:token',
932
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_parameter_0$schema,
2481
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser:token',
2482
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_0$schema,
2483
+ },
2484
+ },
2485
+ {
2486
+ name: 'userId',
2487
+ wire: 'userId',
2488
+ source: 'json',
2489
+ codec: {
2490
+ mode: 'strict',
2491
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUpdateUser:userId',
2492
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_1$schema,
2493
+ },
2494
+ },
2495
+ {
2496
+ name: 'update',
2497
+ wire: 'update',
2498
+ source: 'json',
2499
+ codec: {
2500
+ mode: 'strict',
2501
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserUpdate',
2502
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_parameter_2$schema,
933
2503
  },
934
2504
  },
935
2505
  ],
936
2506
  result: {
937
2507
  mode: 'strict',
938
- typeSymbol: '@yadsh/dsh-qa-surface/types#QaWhoamiResult',
939
- schema: _yadsh_dsh_qa_surface_qaSurface_accountsWhoami_result$schema,
2508
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2509
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUpdateUser_result$schema,
2510
+ },
2511
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":735,"column":3},
2512
+ },
2513
+ {
2514
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminUser',
2515
+ service: 'qaSurface',
2516
+ namespace: 'qaSurface',
2517
+ method: 'adminUser',
2518
+ invocation: { kind: 'direct' },
2519
+ parameters: [
2520
+ {
2521
+ name: 'token',
2522
+ wire: 'token',
2523
+ source: 'json',
2524
+ codec: {
2525
+ mode: 'strict',
2526
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUser:token',
2527
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_0$schema,
2528
+ },
2529
+ },
2530
+ {
2531
+ name: 'userId',
2532
+ wire: 'userId',
2533
+ source: 'json',
2534
+ codec: {
2535
+ mode: 'strict',
2536
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUser:userId',
2537
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_parameter_1$schema,
2538
+ },
2539
+ },
2540
+ ],
2541
+ result: {
2542
+ mode: 'strict',
2543
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminUserDetail',
2544
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUser_result$schema,
2545
+ },
2546
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":729,"column":3},
2547
+ },
2548
+ {
2549
+ id: '@yadsh/dsh-qa-surface#qaSurface/adminUsers',
2550
+ service: 'qaSurface',
2551
+ namespace: 'qaSurface',
2552
+ method: 'adminUsers',
2553
+ invocation: { kind: 'direct' },
2554
+ parameters: [
2555
+ {
2556
+ name: 'token',
2557
+ wire: 'token',
2558
+ source: 'json',
2559
+ codec: {
2560
+ mode: 'strict',
2561
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUsers:token',
2562
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_0$schema,
2563
+ },
2564
+ },
2565
+ {
2566
+ name: 'query',
2567
+ wire: 'query',
2568
+ source: 'json',
2569
+ codec: {
2570
+ mode: 'strict',
2571
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaUserQuery',
2572
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_1$schema,
2573
+ },
2574
+ },
2575
+ {
2576
+ name: 'cursor',
2577
+ wire: 'cursor',
2578
+ source: 'json',
2579
+ codec: {
2580
+ mode: 'strict',
2581
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUsers:cursor',
2582
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_2$schema,
2583
+ },
2584
+ },
2585
+ {
2586
+ name: 'limit',
2587
+ wire: 'limit',
2588
+ source: 'json',
2589
+ codec: {
2590
+ mode: 'strict',
2591
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/adminUsers:limit',
2592
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_parameter_3$schema,
2593
+ },
2594
+ },
2595
+ ],
2596
+ result: {
2597
+ mode: 'strict',
2598
+ typeSymbol: '@yadsh/dsh-qa-surface/types#QaAdminPage',
2599
+ schema: _yadsh_dsh_qa_surface_qaSurface_adminUsers_result$schema,
940
2600
  },
941
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":393,"column":3},
2601
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":717,"column":3},
942
2602
  },
943
2603
  {
944
2604
  id: '@yadsh/dsh-qa-surface#qaSurface/answerApproval',
@@ -993,7 +2653,7 @@ export const TYPERT_REMOTE = {
993
2653
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerApproval:result',
994
2654
  schema: _yadsh_dsh_qa_surface_qaSurface_answerApproval_result$schema,
995
2655
  },
996
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":619,"column":9},
2656
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":923,"column":9},
997
2657
  },
998
2658
  {
999
2659
  id: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion',
@@ -1048,7 +2708,7 @@ export const TYPERT_REMOTE = {
1048
2708
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/answerQuestion:result',
1049
2709
  schema: _yadsh_dsh_qa_surface_qaSurface_answerQuestion_result$schema,
1050
2710
  },
1051
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":648,"column":9},
2711
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":952,"column":9},
1052
2712
  },
1053
2713
  {
1054
2714
  id: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion',
@@ -1093,7 +2753,7 @@ export const TYPERT_REMOTE = {
1093
2753
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/cancelQuestion:result',
1094
2754
  schema: _yadsh_dsh_qa_surface_qaSurface_cancelQuestion_result$schema,
1095
2755
  },
1096
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":660,"column":9},
2756
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":964,"column":9},
1097
2757
  },
1098
2758
  {
1099
2759
  id: '@yadsh/dsh-qa-surface#qaSurface/createSession',
@@ -1112,13 +2772,33 @@ export const TYPERT_REMOTE = {
1112
2772
  schema: _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_0$schema,
1113
2773
  },
1114
2774
  },
2775
+ {
2776
+ name: 'subroleId',
2777
+ wire: 'subroleId',
2778
+ source: 'json',
2779
+ codec: {
2780
+ mode: 'strict',
2781
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:subroleId',
2782
+ schema: _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_1$schema,
2783
+ },
2784
+ },
2785
+ {
2786
+ name: 'adminPreview',
2787
+ wire: 'adminPreview',
2788
+ source: 'json',
2789
+ codec: {
2790
+ mode: 'strict',
2791
+ typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:adminPreview',
2792
+ schema: _yadsh_dsh_qa_surface_qaSurface_createSession_parameter_2$schema,
2793
+ },
2794
+ },
1115
2795
  ],
1116
2796
  result: {
1117
2797
  mode: 'strict',
1118
2798
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/createSession:result',
1119
2799
  schema: _yadsh_dsh_qa_surface_qaSurface_createSession_result$schema,
1120
2800
  },
1121
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":469,"column":9},
2801
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":514,"column":9},
1122
2802
  },
1123
2803
  {
1124
2804
  id: '@yadsh/dsh-qa-surface#qaSurface/describe',
@@ -1133,7 +2813,7 @@ export const TYPERT_REMOTE = {
1133
2813
  typeSymbol: '@yadsh/dsh-qa-surface/types#ResolvedQaSurfaceConfig',
1134
2814
  schema: _yadsh_dsh_qa_surface_qaSurface_describe_result$schema,
1135
2815
  },
1136
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":459,"column":3},
2816
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":504,"column":3},
1137
2817
  },
1138
2818
  {
1139
2819
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals',
@@ -1168,7 +2848,7 @@ export const TYPERT_REMOTE = {
1168
2848
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingApprovals:result',
1169
2849
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingApprovals_result$schema,
1170
2850
  },
1171
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":605,"column":9},
2851
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":909,"column":9},
1172
2852
  },
1173
2853
  {
1174
2854
  id: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions',
@@ -1203,7 +2883,7 @@ export const TYPERT_REMOTE = {
1203
2883
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/pendingQuestions:result',
1204
2884
  schema: _yadsh_dsh_qa_surface_qaSurface_pendingQuestions_result$schema,
1205
2885
  },
1206
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":634,"column":9},
2886
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":938,"column":9},
1207
2887
  },
1208
2888
  {
1209
2889
  id: '@yadsh/dsh-qa-surface#qaSurface/readSourceFile',
@@ -1248,7 +2928,7 @@ export const TYPERT_REMOTE = {
1248
2928
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSourceFilePreview',
1249
2929
  schema: _yadsh_dsh_qa_surface_qaSurface_readSourceFile_result$schema,
1250
2930
  },
1251
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":679,"column":9},
2931
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":983,"column":9},
1252
2932
  },
1253
2933
  {
1254
2934
  id: '@yadsh/dsh-qa-surface#qaSurface/secureSession',
@@ -1283,7 +2963,7 @@ export const TYPERT_REMOTE = {
1283
2963
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaLockdownProof',
1284
2964
  schema: _yadsh_dsh_qa_surface_qaSurface_secureSession_result$schema,
1285
2965
  },
1286
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":556,"column":9},
2966
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":860,"column":9},
1287
2967
  },
1288
2968
  {
1289
2969
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsCreate',
@@ -1318,7 +2998,7 @@ export const TYPERT_REMOTE = {
1318
2998
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
1319
2999
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsCreate_result$schema,
1320
3000
  },
1321
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":733,"column":3},
3001
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1037,"column":3},
1322
3002
  },
1323
3003
  {
1324
3004
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsGet',
@@ -1353,7 +3033,7 @@ export const TYPERT_REMOTE = {
1353
3033
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
1354
3034
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsGet_result$schema,
1355
3035
  },
1356
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":727,"column":3},
3036
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1031,"column":3},
1357
3037
  },
1358
3038
  {
1359
3039
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsList',
@@ -1378,7 +3058,7 @@ export const TYPERT_REMOTE = {
1378
3058
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsList:result',
1379
3059
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsList_result$schema,
1380
3060
  },
1381
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":721,"column":3},
3061
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1025,"column":3},
1382
3062
  },
1383
3063
  {
1384
3064
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsRemove',
@@ -1423,7 +3103,7 @@ export const TYPERT_REMOTE = {
1423
3103
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillRemoval',
1424
3104
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsRemove_result$schema,
1425
3105
  },
1426
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":752,"column":3},
3106
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1056,"column":3},
1427
3107
  },
1428
3108
  {
1429
3109
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsTools',
@@ -1448,7 +3128,7 @@ export const TYPERT_REMOTE = {
1448
3128
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/skillsTools:result',
1449
3129
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsTools_result$schema,
1450
3130
  },
1451
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":778,"column":3},
3131
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1082,"column":3},
1452
3132
  },
1453
3133
  {
1454
3134
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsUpdate',
@@ -1493,7 +3173,7 @@ export const TYPERT_REMOTE = {
1493
3173
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillDocument',
1494
3174
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsUpdate_result$schema,
1495
3175
  },
1496
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":742,"column":3},
3176
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1046,"column":3},
1497
3177
  },
1498
3178
  {
1499
3179
  id: '@yadsh/dsh-qa-surface#qaSurface/skillsValidate',
@@ -1538,7 +3218,7 @@ export const TYPERT_REMOTE = {
1538
3218
  typeSymbol: '@yadsh/dsh-qa-surface/types#QaSkillValidation',
1539
3219
  schema: _yadsh_dsh_qa_surface_qaSurface_skillsValidate_result$schema,
1540
3220
  },
1541
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":765,"column":3},
3221
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":1069,"column":3},
1542
3222
  },
1543
3223
  {
1544
3224
  id: '@yadsh/dsh-qa-surface#qaSurface/sources',
@@ -1573,7 +3253,7 @@ export const TYPERT_REMOTE = {
1573
3253
  typeSymbol: '@yadsh/dsh-qa-surface#qaSurface/sources:result',
1574
3254
  schema: _yadsh_dsh_qa_surface_qaSurface_sources_result$schema,
1575
3255
  },
1576
- sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":592,"column":9},
3256
+ sourceLocation: {"file":"packages/dsh-qa-surface/src/index.ts","line":896,"column":9},
1577
3257
  },
1578
3258
  ],
1579
3259
  }