@gleanwork/api-client 0.13.18 → 0.13.19

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 (323) hide show
  1. package/README.md +3 -3
  2. package/_speakeasy/.github/action-inputs-config.json +53 -0
  3. package/_speakeasy/.github/action-security-config.json +88 -0
  4. package/dist/commonjs/__tests__/clientchat.test.js +0 -1344
  5. package/dist/commonjs/__tests__/clientchat.test.js.map +1 -1
  6. package/dist/commonjs/funcs/clientAnswersList.d.ts +2 -0
  7. package/dist/commonjs/funcs/clientAnswersList.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/clientAnswersList.js +2 -0
  9. package/dist/commonjs/funcs/clientAnswersList.js.map +1 -1
  10. package/dist/commonjs/funcs/clientGovernanceDataPoliciesDownload.js +2 -2
  11. package/dist/commonjs/funcs/clientGovernanceDataPoliciesDownload.js.map +1 -1
  12. package/dist/commonjs/lib/config.d.ts +3 -3
  13. package/dist/commonjs/lib/config.js +3 -3
  14. package/dist/commonjs/lib/sdks.js +2 -2
  15. package/dist/commonjs/lib/sdks.js.map +1 -1
  16. package/dist/commonjs/models/components/answer.d.ts +0 -3
  17. package/dist/commonjs/models/components/answer.d.ts.map +1 -1
  18. package/dist/commonjs/models/components/answer.js +0 -3
  19. package/dist/commonjs/models/components/answer.js.map +1 -1
  20. package/dist/commonjs/models/components/dlpfindingfilter.d.ts +2 -0
  21. package/dist/commonjs/models/components/dlpfindingfilter.d.ts.map +1 -1
  22. package/dist/commonjs/models/components/dlpfindingfilter.js +2 -0
  23. package/dist/commonjs/models/components/dlpfindingfilter.js.map +1 -1
  24. package/dist/commonjs/models/components/index.d.ts +0 -1
  25. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  26. package/dist/commonjs/models/components/index.js +0 -1
  27. package/dist/commonjs/models/components/index.js.map +1 -1
  28. package/dist/commonjs/models/components/insightsoverviewresponse.d.ts +12 -0
  29. package/dist/commonjs/models/components/insightsoverviewresponse.d.ts.map +1 -1
  30. package/dist/commonjs/models/components/insightsoverviewresponse.js +14 -0
  31. package/dist/commonjs/models/components/insightsoverviewresponse.js.map +1 -1
  32. package/dist/commonjs/models/components/meeting.d.ts +25 -0
  33. package/dist/commonjs/models/components/meeting.d.ts.map +1 -1
  34. package/dist/commonjs/models/components/meeting.js +10 -0
  35. package/dist/commonjs/models/components/meeting.js.map +1 -1
  36. package/dist/commonjs/models/components/structuredresult.d.ts +0 -3
  37. package/dist/commonjs/models/components/structuredresult.d.ts.map +1 -1
  38. package/dist/commonjs/models/components/structuredresult.js +0 -3
  39. package/dist/commonjs/models/components/structuredresult.js.map +1 -1
  40. package/dist/commonjs/react-query/_types.d.ts +7 -0
  41. package/dist/commonjs/react-query/_types.d.ts.map +1 -1
  42. package/dist/commonjs/react-query/_types.js +11 -0
  43. package/dist/commonjs/react-query/_types.js.map +1 -1
  44. package/dist/commonjs/react-query/clientAgentsRetrieve.core.d.ts +14 -0
  45. package/dist/commonjs/react-query/clientAgentsRetrieve.core.d.ts.map +1 -0
  46. package/dist/commonjs/react-query/clientAgentsRetrieve.core.js +34 -0
  47. package/dist/commonjs/react-query/clientAgentsRetrieve.core.js.map +1 -0
  48. package/dist/commonjs/react-query/clientAgentsRetrieve.d.ts +3 -13
  49. package/dist/commonjs/react-query/clientAgentsRetrieve.d.ts.map +1 -1
  50. package/dist/commonjs/react-query/clientAgentsRetrieve.js +8 -30
  51. package/dist/commonjs/react-query/clientAgentsRetrieve.js.map +1 -1
  52. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.d.ts +14 -0
  53. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.d.ts.map +1 -0
  54. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.js +40 -0
  55. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.js.map +1 -0
  56. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.d.ts +3 -13
  57. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.d.ts.map +1 -1
  58. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.js +8 -36
  59. package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.js.map +1 -1
  60. package/dist/commonjs/react-query/clientAnswersList.d.ts +2 -0
  61. package/dist/commonjs/react-query/clientAnswersList.d.ts.map +1 -1
  62. package/dist/commonjs/react-query/clientAnswersList.js +2 -0
  63. package/dist/commonjs/react-query/clientAnswersList.js.map +1 -1
  64. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.d.ts +11 -0
  65. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.d.ts.map +1 -0
  66. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.js +34 -0
  67. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.js.map +1 -0
  68. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.d.ts +3 -10
  69. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.d.ts.map +1 -1
  70. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.js +8 -30
  71. package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.js.map +1 -1
  72. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.d.ts +15 -0
  73. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.d.ts.map +1 -0
  74. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.js +34 -0
  75. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.js.map +1 -0
  76. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.d.ts +3 -14
  77. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.d.ts.map +1 -1
  78. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.js +8 -30
  79. package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.js.map +1 -1
  80. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts +14 -0
  81. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts.map +1 -0
  82. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.js +34 -0
  83. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.js.map +1 -0
  84. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.d.ts +3 -13
  85. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.d.ts.map +1 -1
  86. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.js +8 -30
  87. package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.js.map +1 -1
  88. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.d.ts +11 -0
  89. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.d.ts.map +1 -0
  90. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.js +34 -0
  91. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.js.map +1 -0
  92. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.d.ts +3 -10
  93. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.d.ts.map +1 -1
  94. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.js +8 -30
  95. package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.js.map +1 -1
  96. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.d.ts +12 -0
  97. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.d.ts.map +1 -0
  98. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.js +34 -0
  99. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.js.map +1 -0
  100. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.d.ts +3 -11
  101. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.d.ts.map +1 -1
  102. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.js +8 -30
  103. package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.js.map +1 -1
  104. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts +14 -0
  105. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts.map +1 -0
  106. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js +36 -0
  107. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js.map +1 -0
  108. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts +3 -13
  109. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts.map +1 -1
  110. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.js +8 -32
  111. package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.js.map +1 -1
  112. package/dist/commonjs/react-query/clientToolsList.core.d.ts +14 -0
  113. package/dist/commonjs/react-query/clientToolsList.core.d.ts.map +1 -0
  114. package/dist/commonjs/react-query/clientToolsList.core.js +34 -0
  115. package/dist/commonjs/react-query/clientToolsList.core.js.map +1 -0
  116. package/dist/commonjs/react-query/clientToolsList.d.ts +3 -13
  117. package/dist/commonjs/react-query/clientToolsList.d.ts.map +1 -1
  118. package/dist/commonjs/react-query/clientToolsList.js +8 -30
  119. package/dist/commonjs/react-query/clientToolsList.js.map +1 -1
  120. package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.d.ts +11 -0
  121. package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.d.ts.map +1 -0
  122. package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.js +34 -0
  123. package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.js.map +1 -0
  124. package/dist/commonjs/react-query/governanceDownloadfindingsexport.d.ts +3 -10
  125. package/dist/commonjs/react-query/governanceDownloadfindingsexport.d.ts.map +1 -1
  126. package/dist/commonjs/react-query/governanceDownloadfindingsexport.js +8 -30
  127. package/dist/commonjs/react-query/governanceDownloadfindingsexport.js.map +1 -1
  128. package/dist/commonjs/react-query/governanceListfindingsexports.core.d.ts +12 -0
  129. package/dist/commonjs/react-query/governanceListfindingsexports.core.d.ts.map +1 -0
  130. package/dist/commonjs/react-query/governanceListfindingsexports.core.js +34 -0
  131. package/dist/commonjs/react-query/governanceListfindingsexports.core.js.map +1 -0
  132. package/dist/commonjs/react-query/governanceListfindingsexports.d.ts +3 -11
  133. package/dist/commonjs/react-query/governanceListfindingsexports.d.ts.map +1 -1
  134. package/dist/commonjs/react-query/governanceListfindingsexports.js +8 -30
  135. package/dist/commonjs/react-query/governanceListfindingsexports.js.map +1 -1
  136. package/dist/commonjs/sdk/answers.d.ts +2 -0
  137. package/dist/commonjs/sdk/answers.d.ts.map +1 -1
  138. package/dist/commonjs/sdk/answers.js +2 -0
  139. package/dist/commonjs/sdk/answers.js.map +1 -1
  140. package/dist/esm/__tests__/clientchat.test.js +0 -1344
  141. package/dist/esm/__tests__/clientchat.test.js.map +1 -1
  142. package/dist/esm/funcs/clientAnswersList.d.ts +2 -0
  143. package/dist/esm/funcs/clientAnswersList.d.ts.map +1 -1
  144. package/dist/esm/funcs/clientAnswersList.js +2 -0
  145. package/dist/esm/funcs/clientAnswersList.js.map +1 -1
  146. package/dist/esm/funcs/clientGovernanceDataPoliciesDownload.js +2 -2
  147. package/dist/esm/funcs/clientGovernanceDataPoliciesDownload.js.map +1 -1
  148. package/dist/esm/lib/config.d.ts +3 -3
  149. package/dist/esm/lib/config.js +3 -3
  150. package/dist/esm/lib/sdks.js +2 -2
  151. package/dist/esm/lib/sdks.js.map +1 -1
  152. package/dist/esm/models/components/answer.d.ts +0 -3
  153. package/dist/esm/models/components/answer.d.ts.map +1 -1
  154. package/dist/esm/models/components/answer.js +0 -3
  155. package/dist/esm/models/components/answer.js.map +1 -1
  156. package/dist/esm/models/components/dlpfindingfilter.d.ts +2 -0
  157. package/dist/esm/models/components/dlpfindingfilter.d.ts.map +1 -1
  158. package/dist/esm/models/components/dlpfindingfilter.js +2 -0
  159. package/dist/esm/models/components/dlpfindingfilter.js.map +1 -1
  160. package/dist/esm/models/components/index.d.ts +0 -1
  161. package/dist/esm/models/components/index.d.ts.map +1 -1
  162. package/dist/esm/models/components/index.js +0 -1
  163. package/dist/esm/models/components/index.js.map +1 -1
  164. package/dist/esm/models/components/insightsoverviewresponse.d.ts +12 -0
  165. package/dist/esm/models/components/insightsoverviewresponse.d.ts.map +1 -1
  166. package/dist/esm/models/components/insightsoverviewresponse.js +14 -0
  167. package/dist/esm/models/components/insightsoverviewresponse.js.map +1 -1
  168. package/dist/esm/models/components/meeting.d.ts +25 -0
  169. package/dist/esm/models/components/meeting.d.ts.map +1 -1
  170. package/dist/esm/models/components/meeting.js +10 -0
  171. package/dist/esm/models/components/meeting.js.map +1 -1
  172. package/dist/esm/models/components/structuredresult.d.ts +0 -3
  173. package/dist/esm/models/components/structuredresult.d.ts.map +1 -1
  174. package/dist/esm/models/components/structuredresult.js +0 -3
  175. package/dist/esm/models/components/structuredresult.js.map +1 -1
  176. package/dist/esm/react-query/_types.d.ts +7 -0
  177. package/dist/esm/react-query/_types.d.ts.map +1 -1
  178. package/dist/esm/react-query/_types.js +10 -1
  179. package/dist/esm/react-query/_types.js.map +1 -1
  180. package/dist/esm/react-query/clientAgentsRetrieve.core.d.ts +14 -0
  181. package/dist/esm/react-query/clientAgentsRetrieve.core.d.ts.map +1 -0
  182. package/dist/esm/react-query/clientAgentsRetrieve.core.js +29 -0
  183. package/dist/esm/react-query/clientAgentsRetrieve.core.js.map +1 -0
  184. package/dist/esm/react-query/clientAgentsRetrieve.d.ts +3 -13
  185. package/dist/esm/react-query/clientAgentsRetrieve.d.ts.map +1 -1
  186. package/dist/esm/react-query/clientAgentsRetrieve.js +2 -24
  187. package/dist/esm/react-query/clientAgentsRetrieve.js.map +1 -1
  188. package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.d.ts +14 -0
  189. package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.d.ts.map +1 -0
  190. package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.js +35 -0
  191. package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.js.map +1 -0
  192. package/dist/esm/react-query/clientAgentsRetrieveSchemas.d.ts +3 -13
  193. package/dist/esm/react-query/clientAgentsRetrieveSchemas.d.ts.map +1 -1
  194. package/dist/esm/react-query/clientAgentsRetrieveSchemas.js +2 -30
  195. package/dist/esm/react-query/clientAgentsRetrieveSchemas.js.map +1 -1
  196. package/dist/esm/react-query/clientAnswersList.d.ts +2 -0
  197. package/dist/esm/react-query/clientAnswersList.d.ts.map +1 -1
  198. package/dist/esm/react-query/clientAnswersList.js +2 -0
  199. package/dist/esm/react-query/clientAnswersList.js.map +1 -1
  200. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.d.ts +11 -0
  201. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.d.ts.map +1 -0
  202. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.js +29 -0
  203. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.js.map +1 -0
  204. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.d.ts +3 -10
  205. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.d.ts.map +1 -1
  206. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.js +2 -24
  207. package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.js.map +1 -1
  208. package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.d.ts +15 -0
  209. package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.d.ts.map +1 -0
  210. package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.js +29 -0
  211. package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.js.map +1 -0
  212. package/dist/esm/react-query/clientGovernanceDataPoliciesList.d.ts +3 -14
  213. package/dist/esm/react-query/clientGovernanceDataPoliciesList.d.ts.map +1 -1
  214. package/dist/esm/react-query/clientGovernanceDataPoliciesList.js +2 -24
  215. package/dist/esm/react-query/clientGovernanceDataPoliciesList.js.map +1 -1
  216. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts +14 -0
  217. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts.map +1 -0
  218. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.js +29 -0
  219. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.js.map +1 -0
  220. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.d.ts +3 -13
  221. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.d.ts.map +1 -1
  222. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.js +2 -24
  223. package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.js.map +1 -1
  224. package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.d.ts +11 -0
  225. package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.d.ts.map +1 -0
  226. package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.js +29 -0
  227. package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.js.map +1 -0
  228. package/dist/esm/react-query/clientGovernanceDataReportsDownload.d.ts +3 -10
  229. package/dist/esm/react-query/clientGovernanceDataReportsDownload.d.ts.map +1 -1
  230. package/dist/esm/react-query/clientGovernanceDataReportsDownload.js +2 -24
  231. package/dist/esm/react-query/clientGovernanceDataReportsDownload.js.map +1 -1
  232. package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.d.ts +12 -0
  233. package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.d.ts.map +1 -0
  234. package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.js +29 -0
  235. package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.js.map +1 -0
  236. package/dist/esm/react-query/clientGovernanceDataReportsStatus.d.ts +3 -11
  237. package/dist/esm/react-query/clientGovernanceDataReportsStatus.d.ts.map +1 -1
  238. package/dist/esm/react-query/clientGovernanceDataReportsStatus.js +2 -24
  239. package/dist/esm/react-query/clientGovernanceDataReportsStatus.js.map +1 -1
  240. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts +14 -0
  241. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts.map +1 -0
  242. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js +31 -0
  243. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js.map +1 -0
  244. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts +3 -13
  245. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts.map +1 -1
  246. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.js +2 -26
  247. package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.js.map +1 -1
  248. package/dist/esm/react-query/clientToolsList.core.d.ts +14 -0
  249. package/dist/esm/react-query/clientToolsList.core.d.ts.map +1 -0
  250. package/dist/esm/react-query/clientToolsList.core.js +29 -0
  251. package/dist/esm/react-query/clientToolsList.core.js.map +1 -0
  252. package/dist/esm/react-query/clientToolsList.d.ts +3 -13
  253. package/dist/esm/react-query/clientToolsList.d.ts.map +1 -1
  254. package/dist/esm/react-query/clientToolsList.js +2 -24
  255. package/dist/esm/react-query/clientToolsList.js.map +1 -1
  256. package/dist/esm/react-query/governanceDownloadfindingsexport.core.d.ts +11 -0
  257. package/dist/esm/react-query/governanceDownloadfindingsexport.core.d.ts.map +1 -0
  258. package/dist/esm/react-query/governanceDownloadfindingsexport.core.js +29 -0
  259. package/dist/esm/react-query/governanceDownloadfindingsexport.core.js.map +1 -0
  260. package/dist/esm/react-query/governanceDownloadfindingsexport.d.ts +3 -10
  261. package/dist/esm/react-query/governanceDownloadfindingsexport.d.ts.map +1 -1
  262. package/dist/esm/react-query/governanceDownloadfindingsexport.js +2 -24
  263. package/dist/esm/react-query/governanceDownloadfindingsexport.js.map +1 -1
  264. package/dist/esm/react-query/governanceListfindingsexports.core.d.ts +12 -0
  265. package/dist/esm/react-query/governanceListfindingsexports.core.d.ts.map +1 -0
  266. package/dist/esm/react-query/governanceListfindingsexports.core.js +29 -0
  267. package/dist/esm/react-query/governanceListfindingsexports.core.js.map +1 -0
  268. package/dist/esm/react-query/governanceListfindingsexports.d.ts +3 -11
  269. package/dist/esm/react-query/governanceListfindingsexports.d.ts.map +1 -1
  270. package/dist/esm/react-query/governanceListfindingsexports.js +2 -24
  271. package/dist/esm/react-query/governanceListfindingsexports.js.map +1 -1
  272. package/dist/esm/sdk/answers.d.ts +2 -0
  273. package/dist/esm/sdk/answers.d.ts.map +1 -1
  274. package/dist/esm/sdk/answers.js +2 -0
  275. package/dist/esm/sdk/answers.js.map +1 -1
  276. package/examples/package-lock.json +2 -2
  277. package/jsr.json +1 -1
  278. package/package.json +2 -2
  279. package/src/__tests__/clientchat.test.ts +0 -1365
  280. package/src/funcs/clientAnswersList.ts +2 -0
  281. package/src/funcs/clientGovernanceDataPoliciesDownload.ts +2 -2
  282. package/src/lib/config.ts +3 -3
  283. package/src/lib/sdks.ts +2 -2
  284. package/src/models/components/answer.ts +0 -10
  285. package/src/models/components/dlpfindingfilter.ts +4 -0
  286. package/src/models/components/index.ts +0 -1
  287. package/src/models/components/insightsoverviewresponse.ts +26 -0
  288. package/src/models/components/meeting.ts +35 -0
  289. package/src/models/components/structuredresult.ts +0 -10
  290. package/src/react-query/_types.ts +13 -0
  291. package/src/react-query/clientAgentsRetrieve.core.ts +77 -0
  292. package/src/react-query/clientAgentsRetrieve.ts +12 -64
  293. package/src/react-query/clientAgentsRetrieveSchemas.core.ts +83 -0
  294. package/src/react-query/clientAgentsRetrieveSchemas.ts +12 -70
  295. package/src/react-query/clientAnswersList.ts +2 -0
  296. package/src/react-query/clientGovernanceDataPoliciesDownload.core.ts +71 -0
  297. package/src/react-query/clientGovernanceDataPoliciesDownload.ts +12 -58
  298. package/src/react-query/clientGovernanceDataPoliciesList.core.ts +80 -0
  299. package/src/react-query/clientGovernanceDataPoliciesList.ts +12 -67
  300. package/src/react-query/clientGovernanceDataPoliciesRetrieve.core.ts +78 -0
  301. package/src/react-query/clientGovernanceDataPoliciesRetrieve.ts +12 -65
  302. package/src/react-query/clientGovernanceDataReportsDownload.core.ts +71 -0
  303. package/src/react-query/clientGovernanceDataReportsDownload.ts +12 -58
  304. package/src/react-query/clientGovernanceDataReportsStatus.core.ts +73 -0
  305. package/src/react-query/clientGovernanceDataReportsStatus.ts +12 -60
  306. package/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.ts +76 -0
  307. package/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts +12 -63
  308. package/src/react-query/clientToolsList.core.ts +70 -0
  309. package/src/react-query/clientToolsList.ts +12 -57
  310. package/src/react-query/governanceDownloadfindingsexport.core.ts +69 -0
  311. package/src/react-query/governanceDownloadfindingsexport.ts +12 -56
  312. package/src/react-query/governanceListfindingsexports.core.ts +67 -0
  313. package/src/react-query/governanceListfindingsexports.ts +12 -54
  314. package/src/sdk/answers.ts +2 -0
  315. package/dist/commonjs/models/components/answerboard.d.ts +0 -69
  316. package/dist/commonjs/models/components/answerboard.d.ts.map +0 -1
  317. package/dist/commonjs/models/components/answerboard.js +0 -92
  318. package/dist/commonjs/models/components/answerboard.js.map +0 -1
  319. package/dist/esm/models/components/answerboard.d.ts +0 -69
  320. package/dist/esm/models/components/answerboard.d.ts.map +0 -1
  321. package/dist/esm/models/components/answerboard.js +0 -54
  322. package/dist/esm/models/components/answerboard.js.map +0 -1
  323. package/src/models/components/answerboard.ts +0 -149
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientToolsList.core.js","sourceRoot":"","sources":["../../../src/react-query/clientToolsList.core.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAeH,0DAaC;AAED,8DA+BC;AAED,0DAIC;AA3DD,oEAA8D;AAC9D,wDAAsD;AAGtD,0CAA6C;AAG7C,SAAgB,uBAAuB,CACrC,WAAwB,EACxB,OAAkB,EAClB,SAAqC,EACrC,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,yBAAyB,CAC1B,OAAO,EACP,SAAS,EACT,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,yBAAyB,CACvC,OAAkB,EAClB,SAAqC,EACrC,OAAwB;IAKxB,OAAO;QACL,QAAQ,EAAE,uBAAuB,CAAC,EAAE,SAAS,EAAE,CAAC;QAChD,OAAO,EAAE,KAAK,UAAU,sBAAsB,CAC5C,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EACxB,GAAG,CAAC,MAAM,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B,CAAC;YACF,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO,EAAE,YAAY;gBACxB,GAAG,OAAO;gBACV,MAAM,EAAE,GAAG;aACZ,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,oCAAe,EAChC,OAAO,EACP,SAAS,EACT,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,uBAAuB,CACrC,UAAqD;IAErD,OAAO,CAAC,uBAAuB,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAChE,CAAC"}
@@ -1,9 +1,7 @@
1
- import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
2
- import { GleanCore } from "../core.js";
3
- import { RequestOptions } from "../lib/sdks.js";
4
- import * as components from "../models/components/index.js";
1
+ import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
5
2
  import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
6
- export type ClientToolsListQueryData = components.ToolsListResponse;
3
+ import { buildClientToolsListQuery, ClientToolsListQueryData, prefetchClientToolsList, queryKeyClientToolsList } from "./clientToolsList.core.js";
4
+ export { buildClientToolsListQuery, type ClientToolsListQueryData, prefetchClientToolsList, queryKeyClientToolsList, };
7
5
  /**
8
6
  * List available tools
9
7
  *
@@ -18,7 +16,6 @@ export declare function useClientToolsList(toolNames?: Array<string> | undefined
18
16
  * Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned.
19
17
  */
20
18
  export declare function useClientToolsListSuspense(toolNames?: Array<string> | undefined, options?: SuspenseQueryHookOptions<ClientToolsListQueryData>): UseSuspenseQueryResult<ClientToolsListQueryData, Error>;
21
- export declare function prefetchClientToolsList(queryClient: QueryClient, client$: GleanCore, toolNames?: Array<string> | undefined): Promise<void>;
22
19
  export declare function setClientToolsListData(client: QueryClient, queryKeyBase: [parameters: {
23
20
  toolNames?: Array<string> | undefined;
24
21
  }], data: ClientToolsListQueryData): ClientToolsListQueryData | undefined;
@@ -28,11 +25,4 @@ export declare function invalidateClientToolsList(client: QueryClient, queryKeyB
28
25
  }
29
26
  ]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
30
27
  export declare function invalidateAllClientToolsList(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
31
- export declare function buildClientToolsListQuery(client$: GleanCore, toolNames?: Array<string> | undefined, options?: RequestOptions): {
32
- queryKey: QueryKey;
33
- queryFn: (context: QueryFunctionContext) => Promise<ClientToolsListQueryData>;
34
- };
35
- export declare function queryKeyClientToolsList(parameters: {
36
- toolNames?: Array<string> | undefined;
37
- }): QueryKey;
38
28
  //# sourceMappingURL=clientToolsList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"clientToolsList.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientToolsList.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EAER,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,g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AAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,SAAS,EAClB,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,wBAAwB,CAAC,CAAC;CAC/E,CAmBA;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE;IAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;CAAE,GACpD,QAAQ,CAEV"}
1
+ {"version":3,"file":"clientToolsList.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientToolsList.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,yBAAyB,EACzB,KAAK,wBAAwB,EAC7B,uBAAuB,EACvB,uBAAuB,GACxB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,EACrC,OAAO,CAAC,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,GACnD,cAAc,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAUjD;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,EACrC,OAAO,CAAC,EAAE,wBAAwB,CAAC,wBAAwB,CAAC,GAC3D,sBAAsB,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAUzD;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,UAAU,EAAE;IAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;CAAE,CAAC,EACrE,IAAI,EAAE,wBAAwB,GAC7B,wBAAwB,GAAG,SAAS,CAItC;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,UAAU,EAAE;QAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;KAAE;CAAC,CACxD,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -3,19 +3,18 @@
3
3
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.queryKeyClientToolsList = exports.prefetchClientToolsList = exports.buildClientToolsListQuery = void 0;
6
7
  exports.useClientToolsList = useClientToolsList;
7
8
  exports.useClientToolsListSuspense = useClientToolsListSuspense;
8
- exports.prefetchClientToolsList = prefetchClientToolsList;
9
9
  exports.setClientToolsListData = setClientToolsListData;
10
10
  exports.invalidateClientToolsList = invalidateClientToolsList;
11
11
  exports.invalidateAllClientToolsList = invalidateAllClientToolsList;
12
- exports.buildClientToolsListQuery = buildClientToolsListQuery;
13
- exports.queryKeyClientToolsList = queryKeyClientToolsList;
14
12
  const react_query_1 = require("@tanstack/react-query");
15
- const clientToolsList_js_1 = require("../funcs/clientToolsList.js");
16
- const primitives_js_1 = require("../lib/primitives.js");
17
- const fp_js_1 = require("../types/fp.js");
18
13
  const _context_js_1 = require("./_context.js");
14
+ const clientToolsList_core_js_1 = require("./clientToolsList.core.js");
15
+ Object.defineProperty(exports, "buildClientToolsListQuery", { enumerable: true, get: function () { return clientToolsList_core_js_1.buildClientToolsListQuery; } });
16
+ Object.defineProperty(exports, "prefetchClientToolsList", { enumerable: true, get: function () { return clientToolsList_core_js_1.prefetchClientToolsList; } });
17
+ Object.defineProperty(exports, "queryKeyClientToolsList", { enumerable: true, get: function () { return clientToolsList_core_js_1.queryKeyClientToolsList; } });
19
18
  /**
20
19
  * List available tools
21
20
  *
@@ -25,7 +24,7 @@ const _context_js_1 = require("./_context.js");
25
24
  function useClientToolsList(toolNames, options) {
26
25
  const client = (0, _context_js_1.useGleanContext)();
27
26
  return (0, react_query_1.useQuery)({
28
- ...buildClientToolsListQuery(client, toolNames, options),
27
+ ...(0, clientToolsList_core_js_1.buildClientToolsListQuery)(client, toolNames, options),
29
28
  ...options,
30
29
  });
31
30
  }
@@ -38,17 +37,12 @@ function useClientToolsList(toolNames, options) {
38
37
  function useClientToolsListSuspense(toolNames, options) {
39
38
  const client = (0, _context_js_1.useGleanContext)();
40
39
  return (0, react_query_1.useSuspenseQuery)({
41
- ...buildClientToolsListQuery(client, toolNames, options),
40
+ ...(0, clientToolsList_core_js_1.buildClientToolsListQuery)(client, toolNames, options),
42
41
  ...options,
43
42
  });
44
43
  }
45
- function prefetchClientToolsList(queryClient, client$, toolNames) {
46
- return queryClient.prefetchQuery({
47
- ...buildClientToolsListQuery(client$, toolNames),
48
- });
49
- }
50
44
  function setClientToolsListData(client, queryKeyBase, data) {
51
- const key = queryKeyClientToolsList(...queryKeyBase);
45
+ const key = (0, clientToolsList_core_js_1.queryKeyClientToolsList)(...queryKeyBase);
52
46
  return client.setQueryData(key, data);
53
47
  }
54
48
  function invalidateClientToolsList(client, queryKeyBase, filters) {
@@ -63,20 +57,4 @@ function invalidateAllClientToolsList(client, filters) {
63
57
  queryKey: ["@gleanwork/api-client", "tools", "list"],
64
58
  });
65
59
  }
66
- function buildClientToolsListQuery(client$, toolNames, options) {
67
- return {
68
- queryKey: queryKeyClientToolsList({ toolNames }),
69
- queryFn: async function clientToolsListQueryFn(ctx) {
70
- const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
71
- const mergedOptions = {
72
- ...options,
73
- fetchOptions: { ...options?.fetchOptions, signal: sig },
74
- };
75
- return (0, fp_js_1.unwrapAsync)((0, clientToolsList_js_1.clientToolsList)(client$, toolNames, mergedOptions));
76
- },
77
- };
78
- }
79
- function queryKeyClientToolsList(parameters) {
80
- return ["@gleanwork/api-client", "tools", "list", parameters];
81
- }
82
60
  //# sourceMappingURL=clientToolsList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"clientToolsList.js","sourceRoot":"","sources":["../../../src/react-query/clientToolsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAiCH,gDAaC;AAQD,gEAaC;AAED,0DAWC;AAED,wDAQC;AAED,8DAWC;AAED,oEAQC;AAED,8DA0BC;AAED,0DAIC;AAjJD,uDAS+B;AAE/B,oEAA8D;AAC9D,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAAgD;AAShD;;;;;GAKG;AACH,SAAgB,kBAAkB,CAChC,SAAqC,EACrC,OAAoD;IAEpD,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,yBAAyB,CAC1B,MAAM,EACN,SAAS,EACT,OAAO,CACR;QACD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AO,EAAE,KAAK,UAAU,sBAAsB,CAC5C,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EAAC,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO;gBACV,YAAY,EAAE,EAAE,GAAG,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,oCAAe,EAChC,OAAO,EACP,SAAS,EACT,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,uBAAuB,CACrC,UAAqD;IAErD,OAAO,CAAC,uBAAuB,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAChE,CAAC"}
1
+ {"version":3,"file":"clientToolsList.js","sourceRoot":"","sources":["../../../src/react-query/clientToolsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAmCH,gDAaC;AAQD,gEAaC;AAED,wDAQC;AAED,8DAWC;AAED,oEAQC;AApGD,uDAO+B;AAC/B,+CAAgD;AAMhD,uEAKmC;AAEjC,0GANA,mDAAyB,OAMA;AAEzB,wGANA,iDAAuB,OAMA;AACvB,wGANA,iDAAuB,OAMA;AAGzB;;;;;GAKG;AACH,SAAgB,kBAAkB,CAChC,SAAqC,EACrC,OAAoD;IAEpD,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,IAAA,mDAAyB,EAC1B,MAAM,EACN,SAAS,EACT,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,0BAA0B,CACxC,SAAqC,EACrC,OAA4D;IAE5D,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,IAAA,mDAAyB,EAC1B,MAAM,EACN,SAAS,EACT,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,sBAAsB,CACpC,MAAmB,EACnB,YAAqE,EACrE,IAA8B;IAE9B,MAAM,GAAG,GAAG,IAAA,iDAAuB,EAAC,GAAG,YAAY,CAAC,CAAC;IAErD,OAAO,MAAM,CAAC,YAAY,CAA2B,GAAG,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yBAAyB,CACvC,MAAmB,EACnB,YAEC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC;KACtE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,4BAA4B,CAC1C,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,OAAO,EAAE,MAAM,CAAC;KACrD,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { QueryClient, QueryFunctionContext, QueryKey } from "@tanstack/react-query";
2
+ import { GleanCore } from "../core.js";
3
+ import { RequestOptions } from "../lib/sdks.js";
4
+ export type GovernanceDownloadfindingsexportQueryData = string;
5
+ export declare function prefetchGovernanceDownloadfindingsexport(queryClient: QueryClient, client$: GleanCore, id: string, options?: RequestOptions): Promise<void>;
6
+ export declare function buildGovernanceDownloadfindingsexportQuery(client$: GleanCore, id: string, options?: RequestOptions): {
7
+ queryKey: QueryKey;
8
+ queryFn: (context: QueryFunctionContext) => Promise<GovernanceDownloadfindingsexportQueryData>;
9
+ };
10
+ export declare function queryKeyGovernanceDownloadfindingsexport(id: string): QueryKey;
11
+ //# sourceMappingURL=governanceDownloadfindingsexport.core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"governanceDownloadfindingsexport.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/governanceDownloadfindingsexport.core.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,MAAM,MAAM,yCAAyC,GAAG,MAAM,CAAC;AAE/D,wBAAgB,wCAAwC,CACtD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,0CAA0C,CACxD,OAAO,EAAE,SAAS,EAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACzD,CAwBA;AAED,wBAAgB,wCAAwC,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,CAE7E"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.prefetchGovernanceDownloadfindingsexport = prefetchGovernanceDownloadfindingsexport;
7
+ exports.buildGovernanceDownloadfindingsexportQuery = buildGovernanceDownloadfindingsexportQuery;
8
+ exports.queryKeyGovernanceDownloadfindingsexport = queryKeyGovernanceDownloadfindingsexport;
9
+ const governanceDownloadfindingsexport_js_1 = require("../funcs/governanceDownloadfindingsexport.js");
10
+ const primitives_js_1 = require("../lib/primitives.js");
11
+ const fp_js_1 = require("../types/fp.js");
12
+ function prefetchGovernanceDownloadfindingsexport(queryClient, client$, id, options) {
13
+ return queryClient.prefetchQuery({
14
+ ...buildGovernanceDownloadfindingsexportQuery(client$, id, options),
15
+ });
16
+ }
17
+ function buildGovernanceDownloadfindingsexportQuery(client$, id, options) {
18
+ return {
19
+ queryKey: queryKeyGovernanceDownloadfindingsexport(id),
20
+ queryFn: async function governanceDownloadfindingsexportQueryFn(ctx) {
21
+ const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.signal, options?.fetchOptions?.signal);
22
+ const mergedOptions = {
23
+ ...options?.fetchOptions,
24
+ ...options,
25
+ signal: sig,
26
+ };
27
+ return (0, fp_js_1.unwrapAsync)((0, governanceDownloadfindingsexport_js_1.governanceDownloadfindingsexport)(client$, id, mergedOptions));
28
+ },
29
+ };
30
+ }
31
+ function queryKeyGovernanceDownloadfindingsexport(id) {
32
+ return ["@gleanwork/api-client", "Governance", "downloadfindingsexport", id];
33
+ }
34
+ //# sourceMappingURL=governanceDownloadfindingsexport.core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"governanceDownloadfindingsexport.core.js","sourceRoot":"","sources":["../../../src/react-query/governanceDownloadfindingsexport.core.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAcH,4FAaC;AAED,gGAiCC;AAED,4FAEC;AA1DD,sGAAgG;AAChG,wDAAsD;AAEtD,0CAA6C;AAG7C,SAAgB,wCAAwC,CACtD,WAAwB,EACxB,OAAkB,EAClB,EAAU,EACV,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,0CAA0C,CAC3C,OAAO,EACP,EAAE,EACF,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,0CAA0C,CACxD,OAAkB,EAClB,EAAU,EACV,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,wCAAwC,CAAC,EAAE,CAAC;QACtD,OAAO,EAAE,KAAK,UAAU,uCAAuC,CAC7D,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EACxB,GAAG,CAAC,MAAM,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B,CAAC;YACF,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO,EAAE,YAAY;gBACxB,GAAG,OAAO;gBACV,MAAM,EAAE,GAAG;aACZ,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,sEAAgC,EACjD,OAAO,EACP,EAAE,EACF,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,wCAAwC,CAAC,EAAU;IACjE,OAAO,CAAC,uBAAuB,EAAE,YAAY,EAAE,wBAAwB,EAAE,EAAE,CAAC,CAAC;AAC/E,CAAC"}
@@ -1,8 +1,7 @@
1
- import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
2
- import { GleanCore } from "../core.js";
3
- import { RequestOptions } from "../lib/sdks.js";
1
+ import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
4
2
  import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
5
- export type GovernanceDownloadfindingsexportQueryData = string;
3
+ import { buildGovernanceDownloadfindingsexportQuery, GovernanceDownloadfindingsexportQueryData, prefetchGovernanceDownloadfindingsexport, queryKeyGovernanceDownloadfindingsexport } from "./governanceDownloadfindingsexport.core.js";
4
+ export { buildGovernanceDownloadfindingsexportQuery, type GovernanceDownloadfindingsexportQueryData, prefetchGovernanceDownloadfindingsexport, queryKeyGovernanceDownloadfindingsexport, };
6
5
  /**
7
6
  * Downloads findings export
8
7
  *
@@ -17,13 +16,7 @@ export declare function useGovernanceDownloadfindingsexport(id: string, options?
17
16
  * Downloads a DLP findings export as a CSV file.
18
17
  */
19
18
  export declare function useGovernanceDownloadfindingsexportSuspense(id: string, options?: SuspenseQueryHookOptions<GovernanceDownloadfindingsexportQueryData>): UseSuspenseQueryResult<GovernanceDownloadfindingsexportQueryData, Error>;
20
- export declare function prefetchGovernanceDownloadfindingsexport(queryClient: QueryClient, client$: GleanCore, id: string): Promise<void>;
21
19
  export declare function setGovernanceDownloadfindingsexportData(client: QueryClient, queryKeyBase: [id: string], data: GovernanceDownloadfindingsexportQueryData): GovernanceDownloadfindingsexportQueryData | undefined;
22
20
  export declare function invalidateGovernanceDownloadfindingsexport(client: QueryClient, queryKeyBase: TupleToPrefixes<[id: string]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
23
21
  export declare function invalidateAllGovernanceDownloadfindingsexport(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
24
- export declare function buildGovernanceDownloadfindingsexportQuery(client$: GleanCore, id: string, options?: RequestOptions): {
25
- queryKey: QueryKey;
26
- queryFn: (context: QueryFunctionContext) => Promise<GovernanceDownloadfindingsexportQueryData>;
27
- };
28
- export declare function queryKeyGovernanceDownloadfindingsexport(id: string): QueryKey;
29
22
  //# sourceMappingURL=governanceDownloadfindingsexport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"governanceDownloadfindingsexport.d.ts","sourceRoot":"","sources":["../../../src/react-query/governanceDownloadfindingsexport.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EAER,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,yCAAyC,GAAG,MAAM,CAAC;AAE/D;;;;;GAKG;AACH,wBAAgB,mCAAmC,CACjD,EAAE,EAAE,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E,EAAE,MAAM,GAAG,QAAQ,CAE7E"}
1
+ {"version":3,"file":"governanceDownloadfindingsexport.d.ts","sourceRoot":"","sources":["../../../src/react-query/governanceDownloadfindingsexport.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,0CAA0C,EAC1C,yCAAyC,EACzC,wCAAwC,EACxC,wCAAwC,EACzC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,0CAA0C,EAC1C,KAAK,yCAAyC,EAC9C,wCAAwC,EACxC,wCAAwC,GACzC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,mCAAmC,CACjD,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,gBAAgB,CAAC,yCAAyC,CAAC,GACpE,cAAc,CAAC,yCAAyC,EAAE,KAAK,CAAC,CAUlE;AAED;;;;;GAKG;AACH,wBAAgB,2CAA2C,CACzD,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,wBAAwB,CAAC,yCAAyC,CAAC,GAC5E,sBAAsB,CAAC,yCAAyC,EAAE,KAAK,CAAC,CAU1E;AAED,wBAAgB,uCAAuC,CACrD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,EAC1B,IAAI,EAAE,yCAAyC,GAC9C,yCAAyC,GAAG,SAAS,CAOvD;AAED,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,EAC3C,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,6CAA6C,CAC3D,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -3,19 +3,18 @@
3
3
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.queryKeyGovernanceDownloadfindingsexport = exports.prefetchGovernanceDownloadfindingsexport = exports.buildGovernanceDownloadfindingsexportQuery = void 0;
6
7
  exports.useGovernanceDownloadfindingsexport = useGovernanceDownloadfindingsexport;
7
8
  exports.useGovernanceDownloadfindingsexportSuspense = useGovernanceDownloadfindingsexportSuspense;
8
- exports.prefetchGovernanceDownloadfindingsexport = prefetchGovernanceDownloadfindingsexport;
9
9
  exports.setGovernanceDownloadfindingsexportData = setGovernanceDownloadfindingsexportData;
10
10
  exports.invalidateGovernanceDownloadfindingsexport = invalidateGovernanceDownloadfindingsexport;
11
11
  exports.invalidateAllGovernanceDownloadfindingsexport = invalidateAllGovernanceDownloadfindingsexport;
12
- exports.buildGovernanceDownloadfindingsexportQuery = buildGovernanceDownloadfindingsexportQuery;
13
- exports.queryKeyGovernanceDownloadfindingsexport = queryKeyGovernanceDownloadfindingsexport;
14
12
  const react_query_1 = require("@tanstack/react-query");
15
- const governanceDownloadfindingsexport_js_1 = require("../funcs/governanceDownloadfindingsexport.js");
16
- const primitives_js_1 = require("../lib/primitives.js");
17
- const fp_js_1 = require("../types/fp.js");
18
13
  const _context_js_1 = require("./_context.js");
14
+ const governanceDownloadfindingsexport_core_js_1 = require("./governanceDownloadfindingsexport.core.js");
15
+ Object.defineProperty(exports, "buildGovernanceDownloadfindingsexportQuery", { enumerable: true, get: function () { return governanceDownloadfindingsexport_core_js_1.buildGovernanceDownloadfindingsexportQuery; } });
16
+ Object.defineProperty(exports, "prefetchGovernanceDownloadfindingsexport", { enumerable: true, get: function () { return governanceDownloadfindingsexport_core_js_1.prefetchGovernanceDownloadfindingsexport; } });
17
+ Object.defineProperty(exports, "queryKeyGovernanceDownloadfindingsexport", { enumerable: true, get: function () { return governanceDownloadfindingsexport_core_js_1.queryKeyGovernanceDownloadfindingsexport; } });
19
18
  /**
20
19
  * Downloads findings export
21
20
  *
@@ -25,7 +24,7 @@ const _context_js_1 = require("./_context.js");
25
24
  function useGovernanceDownloadfindingsexport(id, options) {
26
25
  const client = (0, _context_js_1.useGleanContext)();
27
26
  return (0, react_query_1.useQuery)({
28
- ...buildGovernanceDownloadfindingsexportQuery(client, id, options),
27
+ ...(0, governanceDownloadfindingsexport_core_js_1.buildGovernanceDownloadfindingsexportQuery)(client, id, options),
29
28
  ...options,
30
29
  });
31
30
  }
@@ -38,17 +37,12 @@ function useGovernanceDownloadfindingsexport(id, options) {
38
37
  function useGovernanceDownloadfindingsexportSuspense(id, options) {
39
38
  const client = (0, _context_js_1.useGleanContext)();
40
39
  return (0, react_query_1.useSuspenseQuery)({
41
- ...buildGovernanceDownloadfindingsexportQuery(client, id, options),
40
+ ...(0, governanceDownloadfindingsexport_core_js_1.buildGovernanceDownloadfindingsexportQuery)(client, id, options),
42
41
  ...options,
43
42
  });
44
43
  }
45
- function prefetchGovernanceDownloadfindingsexport(queryClient, client$, id) {
46
- return queryClient.prefetchQuery({
47
- ...buildGovernanceDownloadfindingsexportQuery(client$, id),
48
- });
49
- }
50
44
  function setGovernanceDownloadfindingsexportData(client, queryKeyBase, data) {
51
- const key = queryKeyGovernanceDownloadfindingsexport(...queryKeyBase);
45
+ const key = (0, governanceDownloadfindingsexport_core_js_1.queryKeyGovernanceDownloadfindingsexport)(...queryKeyBase);
52
46
  return client.setQueryData(key, data);
53
47
  }
54
48
  function invalidateGovernanceDownloadfindingsexport(client, queryKeyBase, filters) {
@@ -68,20 +62,4 @@ function invalidateAllGovernanceDownloadfindingsexport(client, filters) {
68
62
  queryKey: ["@gleanwork/api-client", "Governance", "downloadfindingsexport"],
69
63
  });
70
64
  }
71
- function buildGovernanceDownloadfindingsexportQuery(client$, id, options) {
72
- return {
73
- queryKey: queryKeyGovernanceDownloadfindingsexport(id),
74
- queryFn: async function governanceDownloadfindingsexportQueryFn(ctx) {
75
- const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
76
- const mergedOptions = {
77
- ...options,
78
- fetchOptions: { ...options?.fetchOptions, signal: sig },
79
- };
80
- return (0, fp_js_1.unwrapAsync)((0, governanceDownloadfindingsexport_js_1.governanceDownloadfindingsexport)(client$, id, mergedOptions));
81
- },
82
- };
83
- }
84
- function queryKeyGovernanceDownloadfindingsexport(id) {
85
- return ["@gleanwork/api-client", "Governance", "downloadfindingsexport", id];
86
- }
87
65
  //# sourceMappingURL=governanceDownloadfindingsexport.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"governanceDownloadfindingsexport.js","sourceRoot":"","sources":["../../../src/react-query/governanceDownloadfindingsexport.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAgCH,kFAaC;AAQD,kGAaC;AAED,4FAWC;AAED,0FAWC;AAED,gGAcC;AAED,sGAQC;AAED,gGA4BC;AAED,4FAEC;AAtJD,uDAS+B;AAE/B,sGAAgG;AAChG,wDAAsD;AAEtD,0CAA6C;AAC7C,+CAAgD;AAShD;;;;;GAKG;AACH,SAAgB,mCAAmC,CACjD,EAAU,EACV,OAAqE;IAErE,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,0CAA0C,CAC3C,MAAM,EACN,EAAE,EACF,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,2CAA2C,CACzD,EAAU,EACV,OAA6E;IAE7E,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,0CAA0C,CAC3C,MAAM,EAC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EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,sEAAgC,EACjD,OAAO,EACP,EAAE,EACF,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,wCAAwC,CAAC,EAAU;IACjE,OAAO,CAAC,uBAAuB,EAAE,YAAY,EAAE,wBAAwB,EAAE,EAAE,CAAC,CAAC;AAC/E,CAAC"}
1
+ {"version":3,"file":"governanceDownloadfindingsexport.js","sourceRoot":"","sources":["../../../src/react-query/governanceDownloadfindingsexport.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAmCH,kFAaC;AAQD,kGAaC;AAED,0FAWC;AAED,gGAcC;AAED,sGAQC;AA1GD,uDAO+B;AAC/B,+CAAgD;AAMhD,yGAKoD;AAElD,2HANA,qFAA0C,OAMA;AAE1C,yHANA,mFAAwC,OAMA;AACxC,yHANA,mFAAwC,OAMA;AAG1C;;;;;GAKG;AACH,SAAgB,mCAAmC,CACjD,EAAU,EACV,OAAqE;IAErE,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,IAAA,qFAA0C,EAC3C,MAAM,EACN,EAAE,EACF,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,2CAA2C,CACzD,EAAU,EACV,OAA6E;IAE7E,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,IAAA,qFAA0C,EAC3C,MAAM,EACN,EAAE,EACF,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,uCAAuC,CACrD,MAAmB,EACnB,YAA0B,EAC1B,IAA+C;IAE/C,MAAM,GAAG,GAAG,IAAA,mFAAwC,EAAC,GAAG,YAAY,CAAC,CAAC;IAEtE,OAAO,MAAM,CAAC,YAAY,CACxB,GAAG,EACH,IAAI,CACL,CAAC;AACJ,CAAC;AAED,SAAgB,0CAA0C,CACxD,MAAmB,EACnB,YAA2C,EAC3C,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,uBAAuB;YACvB,YAAY;YACZ,wBAAwB;YACxB,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,6CAA6C,CAC3D,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,YAAY,EAAE,wBAAwB,CAAC;KAC5E,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { QueryClient, QueryFunctionContext, QueryKey } from "@tanstack/react-query";
2
+ import { GleanCore } from "../core.js";
3
+ import { RequestOptions } from "../lib/sdks.js";
4
+ import * as components from "../models/components/index.js";
5
+ export type GovernanceListfindingsexportsQueryData = components.ListDlpFindingsExportsResponse;
6
+ export declare function prefetchGovernanceListfindingsexports(queryClient: QueryClient, client$: GleanCore, options?: RequestOptions): Promise<void>;
7
+ export declare function buildGovernanceListfindingsexportsQuery(client$: GleanCore, options?: RequestOptions): {
8
+ queryKey: QueryKey;
9
+ queryFn: (context: QueryFunctionContext) => Promise<GovernanceListfindingsexportsQueryData>;
10
+ };
11
+ export declare function queryKeyGovernanceListfindingsexports(): QueryKey;
12
+ //# sourceMappingURL=governanceListfindingsexports.core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"governanceListfindingsexports.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/governanceListfindingsexports.core.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,MAAM,MAAM,sCAAsC,GAChD,UAAU,CAAC,8BAA8B,CAAC;AAE5C,wBAAgB,qCAAqC,CACnD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAOf;AAED,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,SAAS,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACtD,CAuBA;AAED,wBAAgB,qCAAqC,IAAI,QAAQ,CAEhE"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.prefetchGovernanceListfindingsexports = prefetchGovernanceListfindingsexports;
7
+ exports.buildGovernanceListfindingsexportsQuery = buildGovernanceListfindingsexportsQuery;
8
+ exports.queryKeyGovernanceListfindingsexports = queryKeyGovernanceListfindingsexports;
9
+ const governanceListfindingsexports_js_1 = require("../funcs/governanceListfindingsexports.js");
10
+ const primitives_js_1 = require("../lib/primitives.js");
11
+ const fp_js_1 = require("../types/fp.js");
12
+ function prefetchGovernanceListfindingsexports(queryClient, client$, options) {
13
+ return queryClient.prefetchQuery({
14
+ ...buildGovernanceListfindingsexportsQuery(client$, options),
15
+ });
16
+ }
17
+ function buildGovernanceListfindingsexportsQuery(client$, options) {
18
+ return {
19
+ queryKey: queryKeyGovernanceListfindingsexports(),
20
+ queryFn: async function governanceListfindingsexportsQueryFn(ctx) {
21
+ const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.signal, options?.fetchOptions?.signal);
22
+ const mergedOptions = {
23
+ ...options?.fetchOptions,
24
+ ...options,
25
+ signal: sig,
26
+ };
27
+ return (0, fp_js_1.unwrapAsync)((0, governanceListfindingsexports_js_1.governanceListfindingsexports)(client$, mergedOptions));
28
+ },
29
+ };
30
+ }
31
+ function queryKeyGovernanceListfindingsexports() {
32
+ return ["@gleanwork/api-client", "Governance", "listfindingsexports"];
33
+ }
34
+ //# sourceMappingURL=governanceListfindingsexports.core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"governanceListfindingsexports.core.js","sourceRoot":"","sources":["../../../src/react-query/governanceListfindingsexports.core.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAgBH,sFAWC;AAED,0FA+BC;AAED,sFAEC;AAxDD,gGAA0F;AAC1F,wDAAsD;AAGtD,0CAA6C;AAI7C,SAAgB,qCAAqC,CACnD,WAAwB,EACxB,OAAkB,EAClB,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,uCAAuC,CACxC,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,uCAAuC,CACrD,OAAkB,EAClB,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,qCAAqC,EAAE;QACjD,OAAO,EAAE,KAAK,UAAU,oCAAoC,CAC1D,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EACxB,GAAG,CAAC,MAAM,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B,CAAC;YACF,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO,EAAE,YAAY;gBACxB,GAAG,OAAO;gBACV,MAAM,EAAE,GAAG;aACZ,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,gEAA6B,EAC9C,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC;IACnD,OAAO,CAAC,uBAAuB,EAAE,YAAY,EAAE,qBAAqB,CAAC,CAAC;AACxE,CAAC"}
@@ -1,9 +1,7 @@
1
- import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
2
- import { GleanCore } from "../core.js";
3
- import { RequestOptions } from "../lib/sdks.js";
4
- import * as components from "../models/components/index.js";
1
+ import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
5
2
  import { QueryHookOptions, SuspenseQueryHookOptions } from "./_types.js";
6
- export type GovernanceListfindingsexportsQueryData = components.ListDlpFindingsExportsResponse;
3
+ import { buildGovernanceListfindingsexportsQuery, GovernanceListfindingsexportsQueryData, prefetchGovernanceListfindingsexports, queryKeyGovernanceListfindingsexports } from "./governanceListfindingsexports.core.js";
4
+ export { buildGovernanceListfindingsexportsQuery, type GovernanceListfindingsexportsQueryData, prefetchGovernanceListfindingsexports, queryKeyGovernanceListfindingsexports, };
7
5
  /**
8
6
  * Lists findings exports
9
7
  *
@@ -18,12 +16,6 @@ export declare function useGovernanceListfindingsexports(options?: QueryHookOpti
18
16
  * Lists all DLP findings exports.
19
17
  */
20
18
  export declare function useGovernanceListfindingsexportsSuspense(options?: SuspenseQueryHookOptions<GovernanceListfindingsexportsQueryData>): UseSuspenseQueryResult<GovernanceListfindingsexportsQueryData, Error>;
21
- export declare function prefetchGovernanceListfindingsexports(queryClient: QueryClient, client$: GleanCore): Promise<void>;
22
19
  export declare function setGovernanceListfindingsexportsData(client: QueryClient, data: GovernanceListfindingsexportsQueryData): GovernanceListfindingsexportsQueryData | undefined;
23
20
  export declare function invalidateAllGovernanceListfindingsexports(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
24
- export declare function buildGovernanceListfindingsexportsQuery(client$: GleanCore, options?: RequestOptions): {
25
- queryKey: QueryKey;
26
- queryFn: (context: QueryFunctionContext) => Promise<GovernanceListfindingsexportsQueryData>;
27
- };
28
- export declare function queryKeyGovernanceListfindingsexports(): QueryKey;
29
21
  //# sourceMappingURL=governanceListfindingsexports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"governanceListfindingsexports.d.ts","sourceRoot":"","sources":["../../../src/react-query/governanceListfindingsexports.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EAER,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEzE,MAAM,MAAM,sCAAsC,GAChD,UAAU,CAAC,8BAA8B,CAAC;AAE5C;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,CAAC,EAAE,gBAAgB,CAAC,sCAAsC,CAAC,GACjE,cAAc,CAAC,sCAAsC,EAAE,KAAK,CAAC,CAS/D;AAED;;;;;GAKG;AACH,wBAAgB,wCAAwC,CACtD,OAAO,CAAC,EAAE,wBAAwB,CAAC,sCAAsC,CAAC,GACzE,sBAAsB,CAAC,sCAAsC,EAAE,KAAK,CAAC,CASvE;AAED,wBAAgB,qCAAqC,CACnD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,GACjB,OAAO,CAAC,IAAI,CAAC,CAMf;AAED,wBAAgB,oCAAoC,CAClD,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE,sCAAsC,GAC3C,sCAAsC,GAAG,SAAS,CAIpD;AAED,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,SAAS,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACtD,CAkBA;AAED,wBAAgB,qCAAqC,IAAI,QAAQ,CAEhE"}
1
+ {"version":3,"file":"governanceListfindingsexports.d.ts","sourceRoot":"","sources":["../../../src/react-query/governanceListfindingsexports.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EACL,uCAAuC,EACvC,sCAAsC,EACtC,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,uCAAuC,EACvC,KAAK,sCAAsC,EAC3C,qCAAqC,EACrC,qCAAqC,GACtC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,CAAC,EAAE,gBAAgB,CAAC,sCAAsC,CAAC,GACjE,cAAc,CAAC,sCAAsC,EAAE,KAAK,CAAC,CAS/D;AAED;;;;;GAKG;AACH,wBAAgB,wCAAwC,CACtD,OAAO,CAAC,EAAE,wBAAwB,CAAC,sCAAsC,CAAC,GACzE,sBAAsB,CAAC,sCAAsC,EAAE,KAAK,CAAC,CASvE;AAED,wBAAgB,oCAAoC,CAClD,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE,sCAAsC,GAC3C,sCAAsC,GAAG,SAAS,CAIpD;AAED,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -3,18 +3,17 @@
3
3
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.queryKeyGovernanceListfindingsexports = exports.prefetchGovernanceListfindingsexports = exports.buildGovernanceListfindingsexportsQuery = void 0;
6
7
  exports.useGovernanceListfindingsexports = useGovernanceListfindingsexports;
7
8
  exports.useGovernanceListfindingsexportsSuspense = useGovernanceListfindingsexportsSuspense;
8
- exports.prefetchGovernanceListfindingsexports = prefetchGovernanceListfindingsexports;
9
9
  exports.setGovernanceListfindingsexportsData = setGovernanceListfindingsexportsData;
10
10
  exports.invalidateAllGovernanceListfindingsexports = invalidateAllGovernanceListfindingsexports;
11
- exports.buildGovernanceListfindingsexportsQuery = buildGovernanceListfindingsexportsQuery;
12
- exports.queryKeyGovernanceListfindingsexports = queryKeyGovernanceListfindingsexports;
13
11
  const react_query_1 = require("@tanstack/react-query");
14
- const governanceListfindingsexports_js_1 = require("../funcs/governanceListfindingsexports.js");
15
- const primitives_js_1 = require("../lib/primitives.js");
16
- const fp_js_1 = require("../types/fp.js");
17
12
  const _context_js_1 = require("./_context.js");
13
+ const governanceListfindingsexports_core_js_1 = require("./governanceListfindingsexports.core.js");
14
+ Object.defineProperty(exports, "buildGovernanceListfindingsexportsQuery", { enumerable: true, get: function () { return governanceListfindingsexports_core_js_1.buildGovernanceListfindingsexportsQuery; } });
15
+ Object.defineProperty(exports, "prefetchGovernanceListfindingsexports", { enumerable: true, get: function () { return governanceListfindingsexports_core_js_1.prefetchGovernanceListfindingsexports; } });
16
+ Object.defineProperty(exports, "queryKeyGovernanceListfindingsexports", { enumerable: true, get: function () { return governanceListfindingsexports_core_js_1.queryKeyGovernanceListfindingsexports; } });
18
17
  /**
19
18
  * Lists findings exports
20
19
  *
@@ -24,7 +23,7 @@ const _context_js_1 = require("./_context.js");
24
23
  function useGovernanceListfindingsexports(options) {
25
24
  const client = (0, _context_js_1.useGleanContext)();
26
25
  return (0, react_query_1.useQuery)({
27
- ...buildGovernanceListfindingsexportsQuery(client, options),
26
+ ...(0, governanceListfindingsexports_core_js_1.buildGovernanceListfindingsexportsQuery)(client, options),
28
27
  ...options,
29
28
  });
30
29
  }
@@ -37,17 +36,12 @@ function useGovernanceListfindingsexports(options) {
37
36
  function useGovernanceListfindingsexportsSuspense(options) {
38
37
  const client = (0, _context_js_1.useGleanContext)();
39
38
  return (0, react_query_1.useSuspenseQuery)({
40
- ...buildGovernanceListfindingsexportsQuery(client, options),
39
+ ...(0, governanceListfindingsexports_core_js_1.buildGovernanceListfindingsexportsQuery)(client, options),
41
40
  ...options,
42
41
  });
43
42
  }
44
- function prefetchGovernanceListfindingsexports(queryClient, client$) {
45
- return queryClient.prefetchQuery({
46
- ...buildGovernanceListfindingsexportsQuery(client$),
47
- });
48
- }
49
43
  function setGovernanceListfindingsexportsData(client, data) {
50
- const key = queryKeyGovernanceListfindingsexports();
44
+ const key = (0, governanceListfindingsexports_core_js_1.queryKeyGovernanceListfindingsexports)();
51
45
  return client.setQueryData(key, data);
52
46
  }
53
47
  function invalidateAllGovernanceListfindingsexports(client, filters) {
@@ -56,20 +50,4 @@ function invalidateAllGovernanceListfindingsexports(client, filters) {
56
50
  queryKey: ["@gleanwork/api-client", "Governance", "listfindingsexports"],
57
51
  });
58
52
  }
59
- function buildGovernanceListfindingsexportsQuery(client$, options) {
60
- return {
61
- queryKey: queryKeyGovernanceListfindingsexports(),
62
- queryFn: async function governanceListfindingsexportsQueryFn(ctx) {
63
- const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
64
- const mergedOptions = {
65
- ...options,
66
- fetchOptions: { ...options?.fetchOptions, signal: sig },
67
- };
68
- return (0, fp_js_1.unwrapAsync)((0, governanceListfindingsexports_js_1.governanceListfindingsexports)(client$, mergedOptions));
69
- },
70
- };
71
- }
72
- function queryKeyGovernanceListfindingsexports() {
73
- return ["@gleanwork/api-client", "Governance", "listfindingsexports"];
74
- }
75
53
  //# sourceMappingURL=governanceListfindingsexports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"governanceListfindingsexports.js","sourceRoot":"","sources":["../../../src/react-query/governanceListfindingsexports.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA8BH,4EAWC;AAQD,4FAWC;AAED,sFASC;AAED,oFAOC;AAED,gGAQC;AAED,0FA0BC;AAED,sFAEC;AAxHD,uDAS+B;AAE/B,gGAA0F;AAC1F,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAAgD;AAMhD;;;;;GAKG;AACH,SAAgB,gCAAgC,CAC9C,OAAkE;IAElE,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,uCAAuC,CACxC,MAAM,EACN,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,wCAAwC,CACtD,OAA0E;IAE1E,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,uCAAuC,CACxC,MAAM,EACN,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,qCAAqC,CACnD,WAAwB,EACxB,OAAkB;IAElB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,uCAAuC,CACxC,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,oCAAoC,CAClD,MAAmB,EACnB,IAA4C;IAE5C,MAAM,GAAG,GAAG,qCAAqC,EAAE,CAAC;IAEpD,OAAO,MAAM,CAAC,YAAY,CAAyC,GAAG,EAAE,IAAI,CAAC,CAAC;AAChF,CAAC;AAED,SAAgB,0CAA0C,CACxD,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,YAAY,EAAE,qBAAqB,CAAC;KACzE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,uCAAuC,CACrD,OAAkB,EAClB,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,qCAAqC,EAAE;QACjD,OAAO,EAAE,KAAK,UAAU,oCAAoC,CAC1D,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EAAC,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO;gBACV,YAAY,EAAE,EAAE,GAAG,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,gEAA6B,EAC9C,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC;IACnD,OAAO,CAAC,uBAAuB,EAAE,YAAY,EAAE,qBAAqB,CAAC,CAAC;AACxE,CAAC"}
1
+ {"version":3,"file":"governanceListfindingsexports.js","sourceRoot":"","sources":["../../../src/react-query/governanceListfindingsexports.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA+BH,4EAWC;AAQD,4FAWC;AAED,oFAOC;AAED,gGAQC;AA9ED,uDAO+B;AAC/B,+CAAgD;AAEhD,mGAKiD;AAE/C,wHANA,+EAAuC,OAMA;AAEvC,sHANA,6EAAqC,OAMA;AACrC,sHANA,6EAAqC,OAMA;AAGvC;;;;;GAKG;AACH,SAAgB,gCAAgC,CAC9C,OAAkE;IAElE,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,IAAA,+EAAuC,EACxC,MAAM,EACN,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,wCAAwC,CACtD,OAA0E;IAE1E,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,IAAA,+EAAuC,EACxC,MAAM,EACN,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,oCAAoC,CAClD,MAAmB,EACnB,IAA4C;IAE5C,MAAM,GAAG,GAAG,IAAA,6EAAqC,GAAE,CAAC;IAEpD,OAAO,MAAM,CAAC,YAAY,CAAyC,GAAG,EAAE,IAAI,CAAC,CAAC;AAChF,CAAC;AAED,SAAgB,0CAA0C,CACxD,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,YAAY,EAAE,qBAAqB,CAAC;KACzE,CAAC,CAAC;AACL,CAAC"}
@@ -34,6 +34,8 @@ export declare class Answers extends ClientSDK {
34
34
  *
35
35
  * @remarks
36
36
  * List Answers created by the current user.
37
+ *
38
+ * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
37
39
  */
38
40
  list(request: components.ListAnswersRequest, options?: RequestOptions): Promise<components.ListAnswersResponse>;
39
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"answers.d.ts","sourceRoot":"","sources":["../../../src/sdk/answers.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,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AO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAQxC;;;;;;;OAOG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAO3C"}
@@ -53,6 +53,8 @@ class Answers extends sdks_js_1.ClientSDK {
53
53
  *
54
54
  * @remarks
55
55
  * List Answers created by the current user.
56
+ *
57
+ * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
56
58
  */
57
59
  async list(request, options) {
58
60
  return (0, fp_js_1.unwrapAsync)((0, clientAnswersList_js_1.clientAnswersList)(this, request, options));
@@ -1 +1 @@
1
- {"version":3,"file":"answers.js","sourceRoot":"","sources":["../../../src/sdk/answers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4EAAsE;AACtE,4EAAsE;AACtE,wEAAkE;AAClE,gFAA0E;AAC1E,4EAAsE;AACtE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAqC,EACrC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAAsC,EACtC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wCAAiB,EAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AArFD,0BAqFC"}
1
+ {"version":3,"file":"answers.js","sourceRoot":"","sources":["../../../src/sdk/answers.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4EAAsE;AACtE,4EAAsE;AACtE,wEAAkE;AAClE,gFAA0E;AAC1E,4EAAsE;AACtE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,OAAQ,SAAQ,mBAAS;IACpC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAqC,EACrC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAoC,EACpC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,IAAI,CACR,OAAsC,EACtC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wCAAiB,EAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAvFD,0BAuFC"}