@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.
- package/README.md +3 -3
- package/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/dist/commonjs/__tests__/clientchat.test.js +0 -1344
- package/dist/commonjs/__tests__/clientchat.test.js.map +1 -1
- package/dist/commonjs/funcs/clientAnswersList.d.ts +2 -0
- package/dist/commonjs/funcs/clientAnswersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientAnswersList.js +2 -0
- package/dist/commonjs/funcs/clientAnswersList.js.map +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesDownload.js +2 -2
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesDownload.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/sdks.js +2 -2
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/models/components/answer.d.ts +0 -3
- package/dist/commonjs/models/components/answer.d.ts.map +1 -1
- package/dist/commonjs/models/components/answer.js +0 -3
- package/dist/commonjs/models/components/answer.js.map +1 -1
- package/dist/commonjs/models/components/dlpfindingfilter.d.ts +2 -0
- package/dist/commonjs/models/components/dlpfindingfilter.d.ts.map +1 -1
- package/dist/commonjs/models/components/dlpfindingfilter.js +2 -0
- package/dist/commonjs/models/components/dlpfindingfilter.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +0 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +0 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/insightsoverviewresponse.d.ts +12 -0
- package/dist/commonjs/models/components/insightsoverviewresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/insightsoverviewresponse.js +14 -0
- package/dist/commonjs/models/components/insightsoverviewresponse.js.map +1 -1
- package/dist/commonjs/models/components/meeting.d.ts +25 -0
- package/dist/commonjs/models/components/meeting.d.ts.map +1 -1
- package/dist/commonjs/models/components/meeting.js +10 -0
- package/dist/commonjs/models/components/meeting.js.map +1 -1
- package/dist/commonjs/models/components/structuredresult.d.ts +0 -3
- package/dist/commonjs/models/components/structuredresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/structuredresult.js +0 -3
- package/dist/commonjs/models/components/structuredresult.js.map +1 -1
- package/dist/commonjs/react-query/_types.d.ts +7 -0
- package/dist/commonjs/react-query/_types.d.ts.map +1 -1
- package/dist/commonjs/react-query/_types.js +11 -0
- package/dist/commonjs/react-query/_types.js.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRetrieve.core.d.ts +14 -0
- package/dist/commonjs/react-query/clientAgentsRetrieve.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRetrieve.core.js +34 -0
- package/dist/commonjs/react-query/clientAgentsRetrieve.core.js.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRetrieve.d.ts +3 -13
- package/dist/commonjs/react-query/clientAgentsRetrieve.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRetrieve.js +8 -30
- package/dist/commonjs/react-query/clientAgentsRetrieve.js.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.d.ts +14 -0
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.js +40 -0
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.core.js.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.d.ts +3 -13
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.js +8 -36
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.js.map +1 -1
- package/dist/commonjs/react-query/clientAnswersList.d.ts +2 -0
- package/dist/commonjs/react-query/clientAnswersList.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientAnswersList.js +2 -0
- package/dist/commonjs/react-query/clientAnswersList.js.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.d.ts +11 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.js +34 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.core.js.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.d.ts +3 -10
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.js +8 -30
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.js.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.d.ts +15 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.js +34 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.core.js.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.d.ts +3 -14
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.js +8 -30
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.js.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts +14 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.js +34 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.core.js.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.d.ts +3 -13
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.js +8 -30
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.js.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.d.ts +11 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.js +34 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.core.js.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.d.ts +3 -10
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.js +8 -30
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.js.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.d.ts +12 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.js +34 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.core.js.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.d.ts +3 -11
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.js +8 -30
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.js.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts +14 -0
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js +36 -0
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js.map +1 -0
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts +3 -13
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.js +8 -32
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.js.map +1 -1
- package/dist/commonjs/react-query/clientToolsList.core.d.ts +14 -0
- package/dist/commonjs/react-query/clientToolsList.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientToolsList.core.js +34 -0
- package/dist/commonjs/react-query/clientToolsList.core.js.map +1 -0
- package/dist/commonjs/react-query/clientToolsList.d.ts +3 -13
- package/dist/commonjs/react-query/clientToolsList.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientToolsList.js +8 -30
- package/dist/commonjs/react-query/clientToolsList.js.map +1 -1
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.d.ts +11 -0
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.js +34 -0
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.core.js.map +1 -0
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.d.ts +3 -10
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.d.ts.map +1 -1
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.js +8 -30
- package/dist/commonjs/react-query/governanceDownloadfindingsexport.js.map +1 -1
- package/dist/commonjs/react-query/governanceListfindingsexports.core.d.ts +12 -0
- package/dist/commonjs/react-query/governanceListfindingsexports.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/governanceListfindingsexports.core.js +34 -0
- package/dist/commonjs/react-query/governanceListfindingsexports.core.js.map +1 -0
- package/dist/commonjs/react-query/governanceListfindingsexports.d.ts +3 -11
- package/dist/commonjs/react-query/governanceListfindingsexports.d.ts.map +1 -1
- package/dist/commonjs/react-query/governanceListfindingsexports.js +8 -30
- package/dist/commonjs/react-query/governanceListfindingsexports.js.map +1 -1
- package/dist/commonjs/sdk/answers.d.ts +2 -0
- package/dist/commonjs/sdk/answers.d.ts.map +1 -1
- package/dist/commonjs/sdk/answers.js +2 -0
- package/dist/commonjs/sdk/answers.js.map +1 -1
- package/dist/esm/__tests__/clientchat.test.js +0 -1344
- package/dist/esm/__tests__/clientchat.test.js.map +1 -1
- package/dist/esm/funcs/clientAnswersList.d.ts +2 -0
- package/dist/esm/funcs/clientAnswersList.d.ts.map +1 -1
- package/dist/esm/funcs/clientAnswersList.js +2 -0
- package/dist/esm/funcs/clientAnswersList.js.map +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesDownload.js +2 -2
- package/dist/esm/funcs/clientGovernanceDataPoliciesDownload.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/sdks.js +2 -2
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/models/components/answer.d.ts +0 -3
- package/dist/esm/models/components/answer.d.ts.map +1 -1
- package/dist/esm/models/components/answer.js +0 -3
- package/dist/esm/models/components/answer.js.map +1 -1
- package/dist/esm/models/components/dlpfindingfilter.d.ts +2 -0
- package/dist/esm/models/components/dlpfindingfilter.d.ts.map +1 -1
- package/dist/esm/models/components/dlpfindingfilter.js +2 -0
- package/dist/esm/models/components/dlpfindingfilter.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +0 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +0 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/insightsoverviewresponse.d.ts +12 -0
- package/dist/esm/models/components/insightsoverviewresponse.d.ts.map +1 -1
- package/dist/esm/models/components/insightsoverviewresponse.js +14 -0
- package/dist/esm/models/components/insightsoverviewresponse.js.map +1 -1
- package/dist/esm/models/components/meeting.d.ts +25 -0
- package/dist/esm/models/components/meeting.d.ts.map +1 -1
- package/dist/esm/models/components/meeting.js +10 -0
- package/dist/esm/models/components/meeting.js.map +1 -1
- package/dist/esm/models/components/structuredresult.d.ts +0 -3
- package/dist/esm/models/components/structuredresult.d.ts.map +1 -1
- package/dist/esm/models/components/structuredresult.js +0 -3
- package/dist/esm/models/components/structuredresult.js.map +1 -1
- package/dist/esm/react-query/_types.d.ts +7 -0
- package/dist/esm/react-query/_types.d.ts.map +1 -1
- package/dist/esm/react-query/_types.js +10 -1
- package/dist/esm/react-query/_types.js.map +1 -1
- package/dist/esm/react-query/clientAgentsRetrieve.core.d.ts +14 -0
- package/dist/esm/react-query/clientAgentsRetrieve.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientAgentsRetrieve.core.js +29 -0
- package/dist/esm/react-query/clientAgentsRetrieve.core.js.map +1 -0
- package/dist/esm/react-query/clientAgentsRetrieve.d.ts +3 -13
- package/dist/esm/react-query/clientAgentsRetrieve.d.ts.map +1 -1
- package/dist/esm/react-query/clientAgentsRetrieve.js +2 -24
- package/dist/esm/react-query/clientAgentsRetrieve.js.map +1 -1
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.d.ts +14 -0
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.js +35 -0
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.core.js.map +1 -0
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.d.ts +3 -13
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.d.ts.map +1 -1
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.js +2 -30
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.js.map +1 -1
- package/dist/esm/react-query/clientAnswersList.d.ts +2 -0
- package/dist/esm/react-query/clientAnswersList.d.ts.map +1 -1
- package/dist/esm/react-query/clientAnswersList.js +2 -0
- package/dist/esm/react-query/clientAnswersList.js.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.d.ts +11 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.js +29 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.core.js.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.d.ts +3 -10
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.d.ts.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.js +2 -24
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.js.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.d.ts +15 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.js +29 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.core.js.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.d.ts +3 -14
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.d.ts.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.js +2 -24
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.js.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts +14 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.js +29 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.core.js.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.d.ts +3 -13
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.d.ts.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.js +2 -24
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.js.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.d.ts +11 -0
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.js +29 -0
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.core.js.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.d.ts +3 -10
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.d.ts.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.js +2 -24
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.js.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.d.ts +12 -0
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.js +29 -0
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.core.js.map +1 -0
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.d.ts +3 -11
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.d.ts.map +1 -1
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.js +2 -24
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.js.map +1 -1
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts +14 -0
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js +31 -0
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.js.map +1 -0
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts +3 -13
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts.map +1 -1
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.js +2 -26
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.js.map +1 -1
- package/dist/esm/react-query/clientToolsList.core.d.ts +14 -0
- package/dist/esm/react-query/clientToolsList.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientToolsList.core.js +29 -0
- package/dist/esm/react-query/clientToolsList.core.js.map +1 -0
- package/dist/esm/react-query/clientToolsList.d.ts +3 -13
- package/dist/esm/react-query/clientToolsList.d.ts.map +1 -1
- package/dist/esm/react-query/clientToolsList.js +2 -24
- package/dist/esm/react-query/clientToolsList.js.map +1 -1
- package/dist/esm/react-query/governanceDownloadfindingsexport.core.d.ts +11 -0
- package/dist/esm/react-query/governanceDownloadfindingsexport.core.d.ts.map +1 -0
- package/dist/esm/react-query/governanceDownloadfindingsexport.core.js +29 -0
- package/dist/esm/react-query/governanceDownloadfindingsexport.core.js.map +1 -0
- package/dist/esm/react-query/governanceDownloadfindingsexport.d.ts +3 -10
- package/dist/esm/react-query/governanceDownloadfindingsexport.d.ts.map +1 -1
- package/dist/esm/react-query/governanceDownloadfindingsexport.js +2 -24
- package/dist/esm/react-query/governanceDownloadfindingsexport.js.map +1 -1
- package/dist/esm/react-query/governanceListfindingsexports.core.d.ts +12 -0
- package/dist/esm/react-query/governanceListfindingsexports.core.d.ts.map +1 -0
- package/dist/esm/react-query/governanceListfindingsexports.core.js +29 -0
- package/dist/esm/react-query/governanceListfindingsexports.core.js.map +1 -0
- package/dist/esm/react-query/governanceListfindingsexports.d.ts +3 -11
- package/dist/esm/react-query/governanceListfindingsexports.d.ts.map +1 -1
- package/dist/esm/react-query/governanceListfindingsexports.js +2 -24
- package/dist/esm/react-query/governanceListfindingsexports.js.map +1 -1
- package/dist/esm/sdk/answers.d.ts +2 -0
- package/dist/esm/sdk/answers.d.ts.map +1 -1
- package/dist/esm/sdk/answers.js +2 -0
- package/dist/esm/sdk/answers.js.map +1 -1
- package/examples/package-lock.json +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/__tests__/clientchat.test.ts +0 -1365
- package/src/funcs/clientAnswersList.ts +2 -0
- package/src/funcs/clientGovernanceDataPoliciesDownload.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -2
- package/src/models/components/answer.ts +0 -10
- package/src/models/components/dlpfindingfilter.ts +4 -0
- package/src/models/components/index.ts +0 -1
- package/src/models/components/insightsoverviewresponse.ts +26 -0
- package/src/models/components/meeting.ts +35 -0
- package/src/models/components/structuredresult.ts +0 -10
- package/src/react-query/_types.ts +13 -0
- package/src/react-query/clientAgentsRetrieve.core.ts +77 -0
- package/src/react-query/clientAgentsRetrieve.ts +12 -64
- package/src/react-query/clientAgentsRetrieveSchemas.core.ts +83 -0
- package/src/react-query/clientAgentsRetrieveSchemas.ts +12 -70
- package/src/react-query/clientAnswersList.ts +2 -0
- package/src/react-query/clientGovernanceDataPoliciesDownload.core.ts +71 -0
- package/src/react-query/clientGovernanceDataPoliciesDownload.ts +12 -58
- package/src/react-query/clientGovernanceDataPoliciesList.core.ts +80 -0
- package/src/react-query/clientGovernanceDataPoliciesList.ts +12 -67
- package/src/react-query/clientGovernanceDataPoliciesRetrieve.core.ts +78 -0
- package/src/react-query/clientGovernanceDataPoliciesRetrieve.ts +12 -65
- package/src/react-query/clientGovernanceDataReportsDownload.core.ts +71 -0
- package/src/react-query/clientGovernanceDataReportsDownload.ts +12 -58
- package/src/react-query/clientGovernanceDataReportsStatus.core.ts +73 -0
- package/src/react-query/clientGovernanceDataReportsStatus.ts +12 -60
- package/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.core.ts +76 -0
- package/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts +12 -63
- package/src/react-query/clientToolsList.core.ts +70 -0
- package/src/react-query/clientToolsList.ts +12 -57
- package/src/react-query/governanceDownloadfindingsexport.core.ts +69 -0
- package/src/react-query/governanceDownloadfindingsexport.ts +12 -56
- package/src/react-query/governanceListfindingsexports.core.ts +67 -0
- package/src/react-query/governanceListfindingsexports.ts +12 -54
- package/src/sdk/answers.ts +2 -0
- package/dist/commonjs/models/components/answerboard.d.ts +0 -69
- package/dist/commonjs/models/components/answerboard.d.ts.map +0 -1
- package/dist/commonjs/models/components/answerboard.js +0 -92
- package/dist/commonjs/models/components/answerboard.js.map +0 -1
- package/dist/esm/models/components/answerboard.d.ts +0 -69
- package/dist/esm/models/components/answerboard.d.ts.map +0 -1
- package/dist/esm/models/components/answerboard.js +0 -54
- package/dist/esm/models/components/answerboard.js.map +0 -1
- package/src/models/components/answerboard.ts +0 -149
|
@@ -5,26 +5,29 @@
|
|
|
5
5
|
import {
|
|
6
6
|
InvalidateQueryFilters,
|
|
7
7
|
QueryClient,
|
|
8
|
-
QueryFunctionContext,
|
|
9
|
-
QueryKey,
|
|
10
8
|
useQuery,
|
|
11
9
|
UseQueryResult,
|
|
12
10
|
useSuspenseQuery,
|
|
13
11
|
UseSuspenseQueryResult,
|
|
14
12
|
} from "@tanstack/react-query";
|
|
15
|
-
import { GleanCore } from "../core.js";
|
|
16
|
-
import { clientGovernanceDataReportsDownload } from "../funcs/clientGovernanceDataReportsDownload.js";
|
|
17
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
18
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
19
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
20
13
|
import { useGleanContext } from "./_context.js";
|
|
21
14
|
import {
|
|
22
15
|
QueryHookOptions,
|
|
23
16
|
SuspenseQueryHookOptions,
|
|
24
17
|
TupleToPrefixes,
|
|
25
18
|
} from "./_types.js";
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
import {
|
|
20
|
+
buildClientGovernanceDataReportsDownloadQuery,
|
|
21
|
+
ClientGovernanceDataReportsDownloadQueryData,
|
|
22
|
+
prefetchClientGovernanceDataReportsDownload,
|
|
23
|
+
queryKeyClientGovernanceDataReportsDownload,
|
|
24
|
+
} from "./clientGovernanceDataReportsDownload.core.js";
|
|
25
|
+
export {
|
|
26
|
+
buildClientGovernanceDataReportsDownloadQuery,
|
|
27
|
+
type ClientGovernanceDataReportsDownloadQueryData,
|
|
28
|
+
prefetchClientGovernanceDataReportsDownload,
|
|
29
|
+
queryKeyClientGovernanceDataReportsDownload,
|
|
30
|
+
};
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
* Downloads violations CSV for report
|
|
@@ -70,19 +73,6 @@ export function useClientGovernanceDataReportsDownloadSuspense(
|
|
|
70
73
|
});
|
|
71
74
|
}
|
|
72
75
|
|
|
73
|
-
export function prefetchClientGovernanceDataReportsDownload(
|
|
74
|
-
queryClient: QueryClient,
|
|
75
|
-
client$: GleanCore,
|
|
76
|
-
id: string,
|
|
77
|
-
): Promise<void> {
|
|
78
|
-
return queryClient.prefetchQuery({
|
|
79
|
-
...buildClientGovernanceDataReportsDownloadQuery(
|
|
80
|
-
client$,
|
|
81
|
-
id,
|
|
82
|
-
),
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
76
|
export function setClientGovernanceDataReportsDownloadData(
|
|
87
77
|
client: QueryClient,
|
|
88
78
|
queryKeyBase: [id: string],
|
|
@@ -116,39 +106,3 @@ export function invalidateAllClientGovernanceDataReportsDownload(
|
|
|
116
106
|
queryKey: ["@gleanwork/api-client", "reports", "download"],
|
|
117
107
|
});
|
|
118
108
|
}
|
|
119
|
-
|
|
120
|
-
export function buildClientGovernanceDataReportsDownloadQuery(
|
|
121
|
-
client$: GleanCore,
|
|
122
|
-
id: string,
|
|
123
|
-
options?: RequestOptions,
|
|
124
|
-
): {
|
|
125
|
-
queryKey: QueryKey;
|
|
126
|
-
queryFn: (
|
|
127
|
-
context: QueryFunctionContext,
|
|
128
|
-
) => Promise<ClientGovernanceDataReportsDownloadQueryData>;
|
|
129
|
-
} {
|
|
130
|
-
return {
|
|
131
|
-
queryKey: queryKeyClientGovernanceDataReportsDownload(id),
|
|
132
|
-
queryFn: async function clientGovernanceDataReportsDownloadQueryFn(
|
|
133
|
-
ctx,
|
|
134
|
-
): Promise<ClientGovernanceDataReportsDownloadQueryData> {
|
|
135
|
-
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
136
|
-
const mergedOptions = {
|
|
137
|
-
...options,
|
|
138
|
-
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
return unwrapAsync(clientGovernanceDataReportsDownload(
|
|
142
|
-
client$,
|
|
143
|
-
id,
|
|
144
|
-
mergedOptions,
|
|
145
|
-
));
|
|
146
|
-
},
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export function queryKeyClientGovernanceDataReportsDownload(
|
|
151
|
-
id: string,
|
|
152
|
-
): QueryKey {
|
|
153
|
-
return ["@gleanwork/api-client", "reports", "download", id];
|
|
154
|
-
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
QueryClient,
|
|
7
|
+
QueryFunctionContext,
|
|
8
|
+
QueryKey,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { GleanCore } from "../core.js";
|
|
11
|
+
import { clientGovernanceDataReportsStatus } from "../funcs/clientGovernanceDataReportsStatus.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
16
|
+
export type ClientGovernanceDataReportsStatusQueryData =
|
|
17
|
+
components.ReportStatusResponse;
|
|
18
|
+
|
|
19
|
+
export function prefetchClientGovernanceDataReportsStatus(
|
|
20
|
+
queryClient: QueryClient,
|
|
21
|
+
client$: GleanCore,
|
|
22
|
+
id: string,
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): Promise<void> {
|
|
25
|
+
return queryClient.prefetchQuery({
|
|
26
|
+
...buildClientGovernanceDataReportsStatusQuery(
|
|
27
|
+
client$,
|
|
28
|
+
id,
|
|
29
|
+
options,
|
|
30
|
+
),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function buildClientGovernanceDataReportsStatusQuery(
|
|
35
|
+
client$: GleanCore,
|
|
36
|
+
id: string,
|
|
37
|
+
options?: RequestOptions,
|
|
38
|
+
): {
|
|
39
|
+
queryKey: QueryKey;
|
|
40
|
+
queryFn: (
|
|
41
|
+
context: QueryFunctionContext,
|
|
42
|
+
) => Promise<ClientGovernanceDataReportsStatusQueryData>;
|
|
43
|
+
} {
|
|
44
|
+
return {
|
|
45
|
+
queryKey: queryKeyClientGovernanceDataReportsStatus(id),
|
|
46
|
+
queryFn: async function clientGovernanceDataReportsStatusQueryFn(
|
|
47
|
+
ctx,
|
|
48
|
+
): Promise<ClientGovernanceDataReportsStatusQueryData> {
|
|
49
|
+
const sig = combineSignals(
|
|
50
|
+
ctx.signal,
|
|
51
|
+
options?.signal,
|
|
52
|
+
options?.fetchOptions?.signal,
|
|
53
|
+
);
|
|
54
|
+
const mergedOptions = {
|
|
55
|
+
...options?.fetchOptions,
|
|
56
|
+
...options,
|
|
57
|
+
signal: sig,
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
return unwrapAsync(clientGovernanceDataReportsStatus(
|
|
61
|
+
client$,
|
|
62
|
+
id,
|
|
63
|
+
mergedOptions,
|
|
64
|
+
));
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function queryKeyClientGovernanceDataReportsStatus(
|
|
70
|
+
id: string,
|
|
71
|
+
): QueryKey {
|
|
72
|
+
return ["@gleanwork/api-client", "reports", "status", id];
|
|
73
|
+
}
|
|
@@ -5,28 +5,29 @@
|
|
|
5
5
|
import {
|
|
6
6
|
InvalidateQueryFilters,
|
|
7
7
|
QueryClient,
|
|
8
|
-
QueryFunctionContext,
|
|
9
|
-
QueryKey,
|
|
10
8
|
useQuery,
|
|
11
9
|
UseQueryResult,
|
|
12
10
|
useSuspenseQuery,
|
|
13
11
|
UseSuspenseQueryResult,
|
|
14
12
|
} from "@tanstack/react-query";
|
|
15
|
-
import { GleanCore } from "../core.js";
|
|
16
|
-
import { clientGovernanceDataReportsStatus } from "../funcs/clientGovernanceDataReportsStatus.js";
|
|
17
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
18
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
19
|
-
import * as components from "../models/components/index.js";
|
|
20
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
21
13
|
import { useGleanContext } from "./_context.js";
|
|
22
14
|
import {
|
|
23
15
|
QueryHookOptions,
|
|
24
16
|
SuspenseQueryHookOptions,
|
|
25
17
|
TupleToPrefixes,
|
|
26
18
|
} from "./_types.js";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
import {
|
|
20
|
+
buildClientGovernanceDataReportsStatusQuery,
|
|
21
|
+
ClientGovernanceDataReportsStatusQueryData,
|
|
22
|
+
prefetchClientGovernanceDataReportsStatus,
|
|
23
|
+
queryKeyClientGovernanceDataReportsStatus,
|
|
24
|
+
} from "./clientGovernanceDataReportsStatus.core.js";
|
|
25
|
+
export {
|
|
26
|
+
buildClientGovernanceDataReportsStatusQuery,
|
|
27
|
+
type ClientGovernanceDataReportsStatusQueryData,
|
|
28
|
+
prefetchClientGovernanceDataReportsStatus,
|
|
29
|
+
queryKeyClientGovernanceDataReportsStatus,
|
|
30
|
+
};
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* Fetches report run status
|
|
@@ -72,19 +73,6 @@ export function useClientGovernanceDataReportsStatusSuspense(
|
|
|
72
73
|
});
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
export function prefetchClientGovernanceDataReportsStatus(
|
|
76
|
-
queryClient: QueryClient,
|
|
77
|
-
client$: GleanCore,
|
|
78
|
-
id: string,
|
|
79
|
-
): Promise<void> {
|
|
80
|
-
return queryClient.prefetchQuery({
|
|
81
|
-
...buildClientGovernanceDataReportsStatusQuery(
|
|
82
|
-
client$,
|
|
83
|
-
id,
|
|
84
|
-
),
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
|
|
88
76
|
export function setClientGovernanceDataReportsStatusData(
|
|
89
77
|
client: QueryClient,
|
|
90
78
|
queryKeyBase: [id: string],
|
|
@@ -118,39 +106,3 @@ export function invalidateAllClientGovernanceDataReportsStatus(
|
|
|
118
106
|
queryKey: ["@gleanwork/api-client", "reports", "status"],
|
|
119
107
|
});
|
|
120
108
|
}
|
|
121
|
-
|
|
122
|
-
export function buildClientGovernanceDataReportsStatusQuery(
|
|
123
|
-
client$: GleanCore,
|
|
124
|
-
id: string,
|
|
125
|
-
options?: RequestOptions,
|
|
126
|
-
): {
|
|
127
|
-
queryKey: QueryKey;
|
|
128
|
-
queryFn: (
|
|
129
|
-
context: QueryFunctionContext,
|
|
130
|
-
) => Promise<ClientGovernanceDataReportsStatusQueryData>;
|
|
131
|
-
} {
|
|
132
|
-
return {
|
|
133
|
-
queryKey: queryKeyClientGovernanceDataReportsStatus(id),
|
|
134
|
-
queryFn: async function clientGovernanceDataReportsStatusQueryFn(
|
|
135
|
-
ctx,
|
|
136
|
-
): Promise<ClientGovernanceDataReportsStatusQueryData> {
|
|
137
|
-
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
138
|
-
const mergedOptions = {
|
|
139
|
-
...options,
|
|
140
|
-
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
return unwrapAsync(clientGovernanceDataReportsStatus(
|
|
144
|
-
client$,
|
|
145
|
-
id,
|
|
146
|
-
mergedOptions,
|
|
147
|
-
));
|
|
148
|
-
},
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export function queryKeyClientGovernanceDataReportsStatus(
|
|
153
|
-
id: string,
|
|
154
|
-
): QueryKey {
|
|
155
|
-
return ["@gleanwork/api-client", "reports", "status", id];
|
|
156
|
-
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
QueryClient,
|
|
7
|
+
QueryFunctionContext,
|
|
8
|
+
QueryKey,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { GleanCore } from "../core.js";
|
|
11
|
+
import { clientGovernanceDocumentsVisibilityoverridesList } from "../funcs/clientGovernanceDocumentsVisibilityoverridesList.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
16
|
+
export type ClientGovernanceDocumentsVisibilityoverridesListQueryData =
|
|
17
|
+
components.GetDocumentVisibilityOverridesResponse;
|
|
18
|
+
|
|
19
|
+
export function prefetchClientGovernanceDocumentsVisibilityoverridesList(
|
|
20
|
+
queryClient: QueryClient,
|
|
21
|
+
client$: GleanCore,
|
|
22
|
+
docIds?: Array<string> | undefined,
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): Promise<void> {
|
|
25
|
+
return queryClient.prefetchQuery({
|
|
26
|
+
...buildClientGovernanceDocumentsVisibilityoverridesListQuery(
|
|
27
|
+
client$,
|
|
28
|
+
docIds,
|
|
29
|
+
options,
|
|
30
|
+
),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function buildClientGovernanceDocumentsVisibilityoverridesListQuery(
|
|
35
|
+
client$: GleanCore,
|
|
36
|
+
docIds?: Array<string> | undefined,
|
|
37
|
+
options?: RequestOptions,
|
|
38
|
+
): {
|
|
39
|
+
queryKey: QueryKey;
|
|
40
|
+
queryFn: (
|
|
41
|
+
context: QueryFunctionContext,
|
|
42
|
+
) => Promise<ClientGovernanceDocumentsVisibilityoverridesListQueryData>;
|
|
43
|
+
} {
|
|
44
|
+
return {
|
|
45
|
+
queryKey: queryKeyClientGovernanceDocumentsVisibilityoverridesList({
|
|
46
|
+
docIds,
|
|
47
|
+
}),
|
|
48
|
+
queryFn:
|
|
49
|
+
async function clientGovernanceDocumentsVisibilityoverridesListQueryFn(
|
|
50
|
+
ctx,
|
|
51
|
+
): Promise<ClientGovernanceDocumentsVisibilityoverridesListQueryData> {
|
|
52
|
+
const sig = combineSignals(
|
|
53
|
+
ctx.signal,
|
|
54
|
+
options?.signal,
|
|
55
|
+
options?.fetchOptions?.signal,
|
|
56
|
+
);
|
|
57
|
+
const mergedOptions = {
|
|
58
|
+
...options?.fetchOptions,
|
|
59
|
+
...options,
|
|
60
|
+
signal: sig,
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
return unwrapAsync(clientGovernanceDocumentsVisibilityoverridesList(
|
|
64
|
+
client$,
|
|
65
|
+
docIds,
|
|
66
|
+
mergedOptions,
|
|
67
|
+
));
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function queryKeyClientGovernanceDocumentsVisibilityoverridesList(
|
|
73
|
+
parameters: { docIds?: Array<string> | undefined },
|
|
74
|
+
): QueryKey {
|
|
75
|
+
return ["@gleanwork/api-client", "visibilityoverrides", "list", parameters];
|
|
76
|
+
}
|
|
@@ -5,28 +5,29 @@
|
|
|
5
5
|
import {
|
|
6
6
|
InvalidateQueryFilters,
|
|
7
7
|
QueryClient,
|
|
8
|
-
QueryFunctionContext,
|
|
9
|
-
QueryKey,
|
|
10
8
|
useQuery,
|
|
11
9
|
UseQueryResult,
|
|
12
10
|
useSuspenseQuery,
|
|
13
11
|
UseSuspenseQueryResult,
|
|
14
12
|
} from "@tanstack/react-query";
|
|
15
|
-
import { GleanCore } from "../core.js";
|
|
16
|
-
import { clientGovernanceDocumentsVisibilityoverridesList } from "../funcs/clientGovernanceDocumentsVisibilityoverridesList.js";
|
|
17
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
18
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
19
|
-
import * as components from "../models/components/index.js";
|
|
20
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
21
13
|
import { useGleanContext } from "./_context.js";
|
|
22
14
|
import {
|
|
23
15
|
QueryHookOptions,
|
|
24
16
|
SuspenseQueryHookOptions,
|
|
25
17
|
TupleToPrefixes,
|
|
26
18
|
} from "./_types.js";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
import {
|
|
20
|
+
buildClientGovernanceDocumentsVisibilityoverridesListQuery,
|
|
21
|
+
ClientGovernanceDocumentsVisibilityoverridesListQueryData,
|
|
22
|
+
prefetchClientGovernanceDocumentsVisibilityoverridesList,
|
|
23
|
+
queryKeyClientGovernanceDocumentsVisibilityoverridesList,
|
|
24
|
+
} from "./clientGovernanceDocumentsVisibilityoverridesList.core.js";
|
|
25
|
+
export {
|
|
26
|
+
buildClientGovernanceDocumentsVisibilityoverridesListQuery,
|
|
27
|
+
type ClientGovernanceDocumentsVisibilityoverridesListQueryData,
|
|
28
|
+
prefetchClientGovernanceDocumentsVisibilityoverridesList,
|
|
29
|
+
queryKeyClientGovernanceDocumentsVisibilityoverridesList,
|
|
30
|
+
};
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* Fetches documents visibility
|
|
@@ -80,19 +81,6 @@ export function useClientGovernanceDocumentsVisibilityoverridesListSuspense(
|
|
|
80
81
|
});
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
export function prefetchClientGovernanceDocumentsVisibilityoverridesList(
|
|
84
|
-
queryClient: QueryClient,
|
|
85
|
-
client$: GleanCore,
|
|
86
|
-
docIds?: Array<string> | undefined,
|
|
87
|
-
): Promise<void> {
|
|
88
|
-
return queryClient.prefetchQuery({
|
|
89
|
-
...buildClientGovernanceDocumentsVisibilityoverridesListQuery(
|
|
90
|
-
client$,
|
|
91
|
-
docIds,
|
|
92
|
-
),
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
|
|
96
84
|
export function setClientGovernanceDocumentsVisibilityoverridesListData(
|
|
97
85
|
client: QueryClient,
|
|
98
86
|
queryKeyBase: [parameters: { docIds?: Array<string> | undefined }],
|
|
@@ -134,42 +122,3 @@ export function invalidateAllClientGovernanceDocumentsVisibilityoverridesList(
|
|
|
134
122
|
queryKey: ["@gleanwork/api-client", "visibilityoverrides", "list"],
|
|
135
123
|
});
|
|
136
124
|
}
|
|
137
|
-
|
|
138
|
-
export function buildClientGovernanceDocumentsVisibilityoverridesListQuery(
|
|
139
|
-
client$: GleanCore,
|
|
140
|
-
docIds?: Array<string> | undefined,
|
|
141
|
-
options?: RequestOptions,
|
|
142
|
-
): {
|
|
143
|
-
queryKey: QueryKey;
|
|
144
|
-
queryFn: (
|
|
145
|
-
context: QueryFunctionContext,
|
|
146
|
-
) => Promise<ClientGovernanceDocumentsVisibilityoverridesListQueryData>;
|
|
147
|
-
} {
|
|
148
|
-
return {
|
|
149
|
-
queryKey: queryKeyClientGovernanceDocumentsVisibilityoverridesList({
|
|
150
|
-
docIds,
|
|
151
|
-
}),
|
|
152
|
-
queryFn:
|
|
153
|
-
async function clientGovernanceDocumentsVisibilityoverridesListQueryFn(
|
|
154
|
-
ctx,
|
|
155
|
-
): Promise<ClientGovernanceDocumentsVisibilityoverridesListQueryData> {
|
|
156
|
-
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
157
|
-
const mergedOptions = {
|
|
158
|
-
...options,
|
|
159
|
-
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
return unwrapAsync(clientGovernanceDocumentsVisibilityoverridesList(
|
|
163
|
-
client$,
|
|
164
|
-
docIds,
|
|
165
|
-
mergedOptions,
|
|
166
|
-
));
|
|
167
|
-
},
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export function queryKeyClientGovernanceDocumentsVisibilityoverridesList(
|
|
172
|
-
parameters: { docIds?: Array<string> | undefined },
|
|
173
|
-
): QueryKey {
|
|
174
|
-
return ["@gleanwork/api-client", "visibilityoverrides", "list", parameters];
|
|
175
|
-
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
QueryClient,
|
|
7
|
+
QueryFunctionContext,
|
|
8
|
+
QueryKey,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { GleanCore } from "../core.js";
|
|
11
|
+
import { clientToolsList } from "../funcs/clientToolsList.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
16
|
+
export type ClientToolsListQueryData = components.ToolsListResponse;
|
|
17
|
+
|
|
18
|
+
export function prefetchClientToolsList(
|
|
19
|
+
queryClient: QueryClient,
|
|
20
|
+
client$: GleanCore,
|
|
21
|
+
toolNames?: Array<string> | undefined,
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): Promise<void> {
|
|
24
|
+
return queryClient.prefetchQuery({
|
|
25
|
+
...buildClientToolsListQuery(
|
|
26
|
+
client$,
|
|
27
|
+
toolNames,
|
|
28
|
+
options,
|
|
29
|
+
),
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function buildClientToolsListQuery(
|
|
34
|
+
client$: GleanCore,
|
|
35
|
+
toolNames?: Array<string> | undefined,
|
|
36
|
+
options?: RequestOptions,
|
|
37
|
+
): {
|
|
38
|
+
queryKey: QueryKey;
|
|
39
|
+
queryFn: (context: QueryFunctionContext) => Promise<ClientToolsListQueryData>;
|
|
40
|
+
} {
|
|
41
|
+
return {
|
|
42
|
+
queryKey: queryKeyClientToolsList({ toolNames }),
|
|
43
|
+
queryFn: async function clientToolsListQueryFn(
|
|
44
|
+
ctx,
|
|
45
|
+
): Promise<ClientToolsListQueryData> {
|
|
46
|
+
const sig = combineSignals(
|
|
47
|
+
ctx.signal,
|
|
48
|
+
options?.signal,
|
|
49
|
+
options?.fetchOptions?.signal,
|
|
50
|
+
);
|
|
51
|
+
const mergedOptions = {
|
|
52
|
+
...options?.fetchOptions,
|
|
53
|
+
...options,
|
|
54
|
+
signal: sig,
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
return unwrapAsync(clientToolsList(
|
|
58
|
+
client$,
|
|
59
|
+
toolNames,
|
|
60
|
+
mergedOptions,
|
|
61
|
+
));
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function queryKeyClientToolsList(
|
|
67
|
+
parameters: { toolNames?: Array<string> | undefined },
|
|
68
|
+
): QueryKey {
|
|
69
|
+
return ["@gleanwork/api-client", "tools", "list", parameters];
|
|
70
|
+
}
|
|
@@ -5,27 +5,29 @@
|
|
|
5
5
|
import {
|
|
6
6
|
InvalidateQueryFilters,
|
|
7
7
|
QueryClient,
|
|
8
|
-
QueryFunctionContext,
|
|
9
|
-
QueryKey,
|
|
10
8
|
useQuery,
|
|
11
9
|
UseQueryResult,
|
|
12
10
|
useSuspenseQuery,
|
|
13
11
|
UseSuspenseQueryResult,
|
|
14
12
|
} from "@tanstack/react-query";
|
|
15
|
-
import { GleanCore } from "../core.js";
|
|
16
|
-
import { clientToolsList } from "../funcs/clientToolsList.js";
|
|
17
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
18
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
19
|
-
import * as components from "../models/components/index.js";
|
|
20
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
21
13
|
import { useGleanContext } from "./_context.js";
|
|
22
14
|
import {
|
|
23
15
|
QueryHookOptions,
|
|
24
16
|
SuspenseQueryHookOptions,
|
|
25
17
|
TupleToPrefixes,
|
|
26
18
|
} from "./_types.js";
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
import {
|
|
20
|
+
buildClientToolsListQuery,
|
|
21
|
+
ClientToolsListQueryData,
|
|
22
|
+
prefetchClientToolsList,
|
|
23
|
+
queryKeyClientToolsList,
|
|
24
|
+
} from "./clientToolsList.core.js";
|
|
25
|
+
export {
|
|
26
|
+
buildClientToolsListQuery,
|
|
27
|
+
type ClientToolsListQueryData,
|
|
28
|
+
prefetchClientToolsList,
|
|
29
|
+
queryKeyClientToolsList,
|
|
30
|
+
};
|
|
29
31
|
|
|
30
32
|
/**
|
|
31
33
|
* List available tools
|
|
@@ -69,19 +71,6 @@ export function useClientToolsListSuspense(
|
|
|
69
71
|
});
|
|
70
72
|
}
|
|
71
73
|
|
|
72
|
-
export function prefetchClientToolsList(
|
|
73
|
-
queryClient: QueryClient,
|
|
74
|
-
client$: GleanCore,
|
|
75
|
-
toolNames?: Array<string> | undefined,
|
|
76
|
-
): Promise<void> {
|
|
77
|
-
return queryClient.prefetchQuery({
|
|
78
|
-
...buildClientToolsListQuery(
|
|
79
|
-
client$,
|
|
80
|
-
toolNames,
|
|
81
|
-
),
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
|
|
85
74
|
export function setClientToolsListData(
|
|
86
75
|
client: QueryClient,
|
|
87
76
|
queryKeyBase: [parameters: { toolNames?: Array<string> | undefined }],
|
|
@@ -114,37 +103,3 @@ export function invalidateAllClientToolsList(
|
|
|
114
103
|
queryKey: ["@gleanwork/api-client", "tools", "list"],
|
|
115
104
|
});
|
|
116
105
|
}
|
|
117
|
-
|
|
118
|
-
export function buildClientToolsListQuery(
|
|
119
|
-
client$: GleanCore,
|
|
120
|
-
toolNames?: Array<string> | undefined,
|
|
121
|
-
options?: RequestOptions,
|
|
122
|
-
): {
|
|
123
|
-
queryKey: QueryKey;
|
|
124
|
-
queryFn: (context: QueryFunctionContext) => Promise<ClientToolsListQueryData>;
|
|
125
|
-
} {
|
|
126
|
-
return {
|
|
127
|
-
queryKey: queryKeyClientToolsList({ toolNames }),
|
|
128
|
-
queryFn: async function clientToolsListQueryFn(
|
|
129
|
-
ctx,
|
|
130
|
-
): Promise<ClientToolsListQueryData> {
|
|
131
|
-
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
132
|
-
const mergedOptions = {
|
|
133
|
-
...options,
|
|
134
|
-
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
return unwrapAsync(clientToolsList(
|
|
138
|
-
client$,
|
|
139
|
-
toolNames,
|
|
140
|
-
mergedOptions,
|
|
141
|
-
));
|
|
142
|
-
},
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export function queryKeyClientToolsList(
|
|
147
|
-
parameters: { toolNames?: Array<string> | undefined },
|
|
148
|
-
): QueryKey {
|
|
149
|
-
return ["@gleanwork/api-client", "tools", "list", parameters];
|
|
150
|
-
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
QueryClient,
|
|
7
|
+
QueryFunctionContext,
|
|
8
|
+
QueryKey,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { GleanCore } from "../core.js";
|
|
11
|
+
import { governanceDownloadfindingsexport } from "../funcs/governanceDownloadfindingsexport.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
15
|
+
export type GovernanceDownloadfindingsexportQueryData = string;
|
|
16
|
+
|
|
17
|
+
export function prefetchGovernanceDownloadfindingsexport(
|
|
18
|
+
queryClient: QueryClient,
|
|
19
|
+
client$: GleanCore,
|
|
20
|
+
id: string,
|
|
21
|
+
options?: RequestOptions,
|
|
22
|
+
): Promise<void> {
|
|
23
|
+
return queryClient.prefetchQuery({
|
|
24
|
+
...buildGovernanceDownloadfindingsexportQuery(
|
|
25
|
+
client$,
|
|
26
|
+
id,
|
|
27
|
+
options,
|
|
28
|
+
),
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function buildGovernanceDownloadfindingsexportQuery(
|
|
33
|
+
client$: GleanCore,
|
|
34
|
+
id: string,
|
|
35
|
+
options?: RequestOptions,
|
|
36
|
+
): {
|
|
37
|
+
queryKey: QueryKey;
|
|
38
|
+
queryFn: (
|
|
39
|
+
context: QueryFunctionContext,
|
|
40
|
+
) => Promise<GovernanceDownloadfindingsexportQueryData>;
|
|
41
|
+
} {
|
|
42
|
+
return {
|
|
43
|
+
queryKey: queryKeyGovernanceDownloadfindingsexport(id),
|
|
44
|
+
queryFn: async function governanceDownloadfindingsexportQueryFn(
|
|
45
|
+
ctx,
|
|
46
|
+
): Promise<GovernanceDownloadfindingsexportQueryData> {
|
|
47
|
+
const sig = combineSignals(
|
|
48
|
+
ctx.signal,
|
|
49
|
+
options?.signal,
|
|
50
|
+
options?.fetchOptions?.signal,
|
|
51
|
+
);
|
|
52
|
+
const mergedOptions = {
|
|
53
|
+
...options?.fetchOptions,
|
|
54
|
+
...options,
|
|
55
|
+
signal: sig,
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
return unwrapAsync(governanceDownloadfindingsexport(
|
|
59
|
+
client$,
|
|
60
|
+
id,
|
|
61
|
+
mergedOptions,
|
|
62
|
+
));
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function queryKeyGovernanceDownloadfindingsexport(id: string): QueryKey {
|
|
68
|
+
return ["@gleanwork/api-client", "Governance", "downloadfindingsexport", id];
|
|
69
|
+
}
|