@gleanwork/api-client 0.13.18 → 0.13.20
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/__tests__/messages.test.js +1 -1
- package/dist/commonjs/__tests__/messages.test.js.map +1 -1
- package/dist/commonjs/__tests__/summarize.test.js +2 -4
- package/dist/commonjs/__tests__/summarize.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/__tests__/messages.test.js +1 -1
- package/dist/esm/__tests__/messages.test.js.map +1 -1
- package/dist/esm/__tests__/summarize.test.js +2 -4
- package/dist/esm/__tests__/summarize.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/__tests__/messages.test.ts +1 -1
- package/src/__tests__/summarize.test.ts +2 -4
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientAnswersList.js","sourceRoot":"","sources":["../../../src/react-query/clientAnswersList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAEL,WAAW,GAEZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAUhD
|
|
1
|
+
{"version":3,"file":"clientAnswersList.js","sourceRoot":"","sources":["../../../src/react-query/clientAnswersList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAEL,WAAW,GAEZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAUhD;;;;;;;GAOG;AACH,MAAM,UAAU,4BAA4B,CAC1C,OAIC;IAMD,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,WAAW,CAAC;QACjB,GAAG,8BAA8B,CAAC,MAAM,EAAE,OAAO,CAAC;QAClD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,4BAA4B;IAC1C,OAAO,CAAC,uBAAuB,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAC5C,OAAkB,EAClB,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,4BAA4B,EAAE;QAC3C,UAAU,EAAE,SAAS,2BAA2B,CAAC,EAC/C,OAAO,EACP,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,cAAc,CACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,WAAW,CAAC,iBAAiB,CAClC,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 ClientGovernanceDataPoliciesDownloadQueryData = string;
|
|
5
|
+
export declare function prefetchClientGovernanceDataPoliciesDownload(queryClient: QueryClient, client$: GleanCore, id: string, options?: RequestOptions): Promise<void>;
|
|
6
|
+
export declare function buildClientGovernanceDataPoliciesDownloadQuery(client$: GleanCore, id: string, options?: RequestOptions): {
|
|
7
|
+
queryKey: QueryKey;
|
|
8
|
+
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataPoliciesDownloadQueryData>;
|
|
9
|
+
};
|
|
10
|
+
export declare function queryKeyClientGovernanceDataPoliciesDownload(id: string): QueryKey;
|
|
11
|
+
//# sourceMappingURL=clientGovernanceDataPoliciesDownload.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesDownload.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesDownload.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,6CAA6C,GAAG,MAAM,CAAC;AAEnE,wBAAgB,4CAA4C,CAC1D,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,8CAA8C,CAC5D,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,6CAA6C,CAAC,CAAC;CAC7D,CAwBA;AAED,wBAAgB,4CAA4C,CAC1D,EAAE,EAAE,MAAM,GACT,QAAQ,CAEV"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { clientGovernanceDataPoliciesDownload } from "../funcs/clientGovernanceDataPoliciesDownload.js";
|
|
5
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
export function prefetchClientGovernanceDataPoliciesDownload(queryClient, client$, id, options) {
|
|
8
|
+
return queryClient.prefetchQuery({
|
|
9
|
+
...buildClientGovernanceDataPoliciesDownloadQuery(client$, id, options),
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export function buildClientGovernanceDataPoliciesDownloadQuery(client$, id, options) {
|
|
13
|
+
return {
|
|
14
|
+
queryKey: queryKeyClientGovernanceDataPoliciesDownload(id),
|
|
15
|
+
queryFn: async function clientGovernanceDataPoliciesDownloadQueryFn(ctx) {
|
|
16
|
+
const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
|
|
17
|
+
const mergedOptions = {
|
|
18
|
+
...options?.fetchOptions,
|
|
19
|
+
...options,
|
|
20
|
+
signal: sig,
|
|
21
|
+
};
|
|
22
|
+
return unwrapAsync(clientGovernanceDataPoliciesDownload(client$, id, mergedOptions));
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function queryKeyClientGovernanceDataPoliciesDownload(id) {
|
|
27
|
+
return ["@gleanwork/api-client", "policies", "download", id];
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=clientGovernanceDataPoliciesDownload.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesDownload.core.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesDownload.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,4CAA4C,CAC1D,WAAwB,EACxB,OAAkB,EAClB,EAAU,EACV,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,8CAA8C,CAC/C,OAAO,EACP,EAAE,EACF,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,OAAkB,EAClB,EAAU,EACV,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,4CAA4C,CAAC,EAAE,CAAC;QAC1D,OAAO,EAAE,KAAK,UAAU,2CAA2C,CACjE,GAAG;YAEH,MAAM,GAAG,GAAG,cAAc,CACxB,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,WAAW,CAAC,oCAAoC,CACrD,OAAO,EACP,EAAE,EACF,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,4CAA4C,CAC1D,EAAU;IAEV,OAAO,CAAC,uBAAuB,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { InvalidateQueryFilters, QueryClient,
|
|
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
|
-
|
|
3
|
+
import { buildClientGovernanceDataPoliciesDownloadQuery, ClientGovernanceDataPoliciesDownloadQueryData, prefetchClientGovernanceDataPoliciesDownload, queryKeyClientGovernanceDataPoliciesDownload } from "./clientGovernanceDataPoliciesDownload.core.js";
|
|
4
|
+
export { buildClientGovernanceDataPoliciesDownloadQuery, type ClientGovernanceDataPoliciesDownloadQueryData, prefetchClientGovernanceDataPoliciesDownload, queryKeyClientGovernanceDataPoliciesDownload, };
|
|
6
5
|
/**
|
|
7
6
|
* Downloads violations CSV for policy
|
|
8
7
|
*
|
|
@@ -17,13 +16,7 @@ export declare function useClientGovernanceDataPoliciesDownload(id: string, opti
|
|
|
17
16
|
* Downloads CSV violations report for a specific policy id. This does not support continuous policies.
|
|
18
17
|
*/
|
|
19
18
|
export declare function useClientGovernanceDataPoliciesDownloadSuspense(id: string, options?: SuspenseQueryHookOptions<ClientGovernanceDataPoliciesDownloadQueryData>): UseSuspenseQueryResult<ClientGovernanceDataPoliciesDownloadQueryData, Error>;
|
|
20
|
-
export declare function prefetchClientGovernanceDataPoliciesDownload(queryClient: QueryClient, client$: GleanCore, id: string): Promise<void>;
|
|
21
19
|
export declare function setClientGovernanceDataPoliciesDownloadData(client: QueryClient, queryKeyBase: [id: string], data: ClientGovernanceDataPoliciesDownloadQueryData): ClientGovernanceDataPoliciesDownloadQueryData | undefined;
|
|
22
20
|
export declare function invalidateClientGovernanceDataPoliciesDownload(client: QueryClient, queryKeyBase: TupleToPrefixes<[id: string]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
23
21
|
export declare function invalidateAllClientGovernanceDataPoliciesDownload(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
24
|
-
export declare function buildClientGovernanceDataPoliciesDownloadQuery(client$: GleanCore, id: string, options?: RequestOptions): {
|
|
25
|
-
queryKey: QueryKey;
|
|
26
|
-
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataPoliciesDownloadQueryData>;
|
|
27
|
-
};
|
|
28
|
-
export declare function queryKeyClientGovernanceDataPoliciesDownload(id: string): QueryKey;
|
|
29
22
|
//# sourceMappingURL=clientGovernanceDataPoliciesDownload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGovernanceDataPoliciesDownload.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesDownload.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesDownload.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesDownload.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,8CAA8C,EAC9C,6CAA6C,EAC7C,4CAA4C,EAC5C,4CAA4C,EAC7C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,8CAA8C,EAC9C,KAAK,6CAA6C,EAClD,4CAA4C,EAC5C,4CAA4C,GAC7C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,uCAAuC,CACrD,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,gBAAgB,CAAC,6CAA6C,CAAC,GACxE,cAAc,CAAC,6CAA6C,EAAE,KAAK,CAAC,CAUtE;AAED;;;;;GAKG;AACH,wBAAgB,+CAA+C,CAC7D,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,wBAAwB,CAChC,6CAA6C,CAC9C,GACA,sBAAsB,CACvB,6CAA6C,EAC7C,KAAK,CACN,CAUA;AAED,wBAAgB,2CAA2C,CACzD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,EAC1B,IAAI,EAAE,6CAA6C,GAClD,6CAA6C,GAAG,SAAS,CAO3D;AAED,wBAAgB,8CAA8C,CAC5D,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,iDAAiD,CAC/D,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import { useQuery, useSuspenseQuery, } from "@tanstack/react-query";
|
|
5
|
-
import { clientGovernanceDataPoliciesDownload } from "../funcs/clientGovernanceDataPoliciesDownload.js";
|
|
6
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
7
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
8
5
|
import { useGleanContext } from "./_context.js";
|
|
6
|
+
import { buildClientGovernanceDataPoliciesDownloadQuery, prefetchClientGovernanceDataPoliciesDownload, queryKeyClientGovernanceDataPoliciesDownload, } from "./clientGovernanceDataPoliciesDownload.core.js";
|
|
7
|
+
export { buildClientGovernanceDataPoliciesDownloadQuery, prefetchClientGovernanceDataPoliciesDownload, queryKeyClientGovernanceDataPoliciesDownload, };
|
|
9
8
|
/**
|
|
10
9
|
* Downloads violations CSV for policy
|
|
11
10
|
*
|
|
@@ -32,11 +31,6 @@ export function useClientGovernanceDataPoliciesDownloadSuspense(id, options) {
|
|
|
32
31
|
...options,
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
|
-
export function prefetchClientGovernanceDataPoliciesDownload(queryClient, client$, id) {
|
|
36
|
-
return queryClient.prefetchQuery({
|
|
37
|
-
...buildClientGovernanceDataPoliciesDownloadQuery(client$, id),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
34
|
export function setClientGovernanceDataPoliciesDownloadData(client, queryKeyBase, data) {
|
|
41
35
|
const key = queryKeyClientGovernanceDataPoliciesDownload(...queryKeyBase);
|
|
42
36
|
return client.setQueryData(key, data);
|
|
@@ -58,20 +52,4 @@ export function invalidateAllClientGovernanceDataPoliciesDownload(client, filter
|
|
|
58
52
|
queryKey: ["@gleanwork/api-client", "policies", "download"],
|
|
59
53
|
});
|
|
60
54
|
}
|
|
61
|
-
export function buildClientGovernanceDataPoliciesDownloadQuery(client$, id, options) {
|
|
62
|
-
return {
|
|
63
|
-
queryKey: queryKeyClientGovernanceDataPoliciesDownload(id),
|
|
64
|
-
queryFn: async function clientGovernanceDataPoliciesDownloadQueryFn(ctx) {
|
|
65
|
-
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
66
|
-
const mergedOptions = {
|
|
67
|
-
...options,
|
|
68
|
-
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
69
|
-
};
|
|
70
|
-
return unwrapAsync(clientGovernanceDataPoliciesDownload(client$, id, mergedOptions));
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
export function queryKeyClientGovernanceDataPoliciesDownload(id) {
|
|
75
|
-
return ["@gleanwork/api-client", "policies", "download", id];
|
|
76
|
-
}
|
|
77
55
|
//# sourceMappingURL=clientGovernanceDataPoliciesDownload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGovernanceDataPoliciesDownload.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesDownload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesDownload.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesDownload.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAGL,QAAQ,EAER,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMhD,OAAO,EACL,8CAA8C,EAE9C,4CAA4C,EAC5C,4CAA4C,GAC7C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,8CAA8C,EAE9C,4CAA4C,EAC5C,4CAA4C,GAC7C,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,uCAAuC,CACrD,EAAU,EACV,OAAyE;IAEzE,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,QAAQ,CAAC;QACd,GAAG,8CAA8C,CAC/C,MAAM,EACN,EAAE,EACF,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,+CAA+C,CAC7D,EAAU,EACV,OAEC;IAKD,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,gBAAgB,CAAC;QACtB,GAAG,8CAA8C,CAC/C,MAAM,EACN,EAAE,EACF,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,2CAA2C,CACzD,MAAmB,EACnB,YAA0B,EAC1B,IAAmD;IAEnD,MAAM,GAAG,GAAG,4CAA4C,CAAC,GAAG,YAAY,CAAC,CAAC;IAE1E,OAAO,MAAM,CAAC,YAAY,CACxB,GAAG,EACH,IAAI,CACL,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,MAAmB,EACnB,YAA2C,EAC3C,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,uBAAuB;YACvB,UAAU;YACV,UAAU;YACV,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,iDAAiD,CAC/D,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,UAAU,EAAE,UAAU,CAAC;KAC5D,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 ClientGovernanceDataPoliciesListQueryData = components.ListDlpReportsResponse;
|
|
6
|
+
export declare function prefetchClientGovernanceDataPoliciesList(queryClient: QueryClient, client$: GleanCore, autoHide?: boolean | undefined, frequency?: string | undefined, options?: RequestOptions): Promise<void>;
|
|
7
|
+
export declare function buildClientGovernanceDataPoliciesListQuery(client$: GleanCore, autoHide?: boolean | undefined, frequency?: string | undefined, options?: RequestOptions): {
|
|
8
|
+
queryKey: QueryKey;
|
|
9
|
+
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataPoliciesListQueryData>;
|
|
10
|
+
};
|
|
11
|
+
export declare function queryKeyClientGovernanceDataPoliciesList(parameters: {
|
|
12
|
+
autoHide?: boolean | undefined;
|
|
13
|
+
frequency?: string | undefined;
|
|
14
|
+
}): QueryKey;
|
|
15
|
+
//# sourceMappingURL=clientGovernanceDataPoliciesList.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesList.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesList.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,yCAAyC,GACnD,UAAU,CAAC,sBAAsB,CAAC;AAEpC,wBAAgB,wCAAwC,CACtD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,EAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CASf;AAED,wBAAgB,0CAA0C,CACxD,OAAO,EAAE,SAAS,EAClB,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,EAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACzD,CAyBA;AAED,wBAAgB,wCAAwC,CACtD,UAAU,EAAE;IACV,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,GACA,QAAQ,CAEV"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { clientGovernanceDataPoliciesList } from "../funcs/clientGovernanceDataPoliciesList.js";
|
|
5
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
export function prefetchClientGovernanceDataPoliciesList(queryClient, client$, autoHide, frequency, options) {
|
|
8
|
+
return queryClient.prefetchQuery({
|
|
9
|
+
...buildClientGovernanceDataPoliciesListQuery(client$, autoHide, frequency, options),
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export function buildClientGovernanceDataPoliciesListQuery(client$, autoHide, frequency, options) {
|
|
13
|
+
return {
|
|
14
|
+
queryKey: queryKeyClientGovernanceDataPoliciesList({ autoHide, frequency }),
|
|
15
|
+
queryFn: async function clientGovernanceDataPoliciesListQueryFn(ctx) {
|
|
16
|
+
const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
|
|
17
|
+
const mergedOptions = {
|
|
18
|
+
...options?.fetchOptions,
|
|
19
|
+
...options,
|
|
20
|
+
signal: sig,
|
|
21
|
+
};
|
|
22
|
+
return unwrapAsync(clientGovernanceDataPoliciesList(client$, autoHide, frequency, mergedOptions));
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function queryKeyClientGovernanceDataPoliciesList(parameters) {
|
|
27
|
+
return ["@gleanwork/api-client", "policies", "list", parameters];
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=clientGovernanceDataPoliciesList.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesList.core.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesList.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C,MAAM,UAAU,wCAAwC,CACtD,WAAwB,EACxB,OAAkB,EAClB,QAA8B,EAC9B,SAA8B,EAC9B,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,0CAA0C,CAC3C,OAAO,EACP,QAAQ,EACR,SAAS,EACT,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,0CAA0C,CACxD,OAAkB,EAClB,QAA8B,EAC9B,SAA8B,EAC9B,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,wCAAwC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;QAC3E,OAAO,EAAE,KAAK,UAAU,uCAAuC,CAC7D,GAAG;YAEH,MAAM,GAAG,GAAG,cAAc,CACxB,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,WAAW,CAAC,gCAAgC,CACjD,OAAO,EACP,QAAQ,EACR,SAAS,EACT,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,UAGC;IAED,OAAO,CAAC,uBAAuB,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AACnE,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { InvalidateQueryFilters, QueryClient,
|
|
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
|
-
|
|
3
|
+
import { buildClientGovernanceDataPoliciesListQuery, ClientGovernanceDataPoliciesListQueryData, prefetchClientGovernanceDataPoliciesList, queryKeyClientGovernanceDataPoliciesList } from "./clientGovernanceDataPoliciesList.core.js";
|
|
4
|
+
export { buildClientGovernanceDataPoliciesListQuery, type ClientGovernanceDataPoliciesListQueryData, prefetchClientGovernanceDataPoliciesList, queryKeyClientGovernanceDataPoliciesList, };
|
|
7
5
|
/**
|
|
8
6
|
* Lists policies
|
|
9
7
|
*
|
|
@@ -18,7 +16,6 @@ export declare function useClientGovernanceDataPoliciesList(autoHide?: boolean |
|
|
|
18
16
|
* Lists policies with filtering.
|
|
19
17
|
*/
|
|
20
18
|
export declare function useClientGovernanceDataPoliciesListSuspense(autoHide?: boolean | undefined, frequency?: string | undefined, options?: SuspenseQueryHookOptions<ClientGovernanceDataPoliciesListQueryData>): UseSuspenseQueryResult<ClientGovernanceDataPoliciesListQueryData, Error>;
|
|
21
|
-
export declare function prefetchClientGovernanceDataPoliciesList(queryClient: QueryClient, client$: GleanCore, autoHide?: boolean | undefined, frequency?: string | undefined): Promise<void>;
|
|
22
19
|
export declare function setClientGovernanceDataPoliciesListData(client: QueryClient, queryKeyBase: [
|
|
23
20
|
parameters: {
|
|
24
21
|
autoHide?: boolean | undefined;
|
|
@@ -32,12 +29,4 @@ export declare function invalidateClientGovernanceDataPoliciesList(client: Query
|
|
|
32
29
|
}
|
|
33
30
|
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
34
31
|
export declare function invalidateAllClientGovernanceDataPoliciesList(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
35
|
-
export declare function buildClientGovernanceDataPoliciesListQuery(client$: GleanCore, autoHide?: boolean | undefined, frequency?: string | undefined, options?: RequestOptions): {
|
|
36
|
-
queryKey: QueryKey;
|
|
37
|
-
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataPoliciesListQueryData>;
|
|
38
|
-
};
|
|
39
|
-
export declare function queryKeyClientGovernanceDataPoliciesList(parameters: {
|
|
40
|
-
autoHide?: boolean | undefined;
|
|
41
|
-
frequency?: string | undefined;
|
|
42
|
-
}): QueryKey;
|
|
43
32
|
//# sourceMappingURL=clientGovernanceDataPoliciesList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGovernanceDataPoliciesList.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesList.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesList.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesList.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,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,EAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,CAAC,EAAE,gBAAgB,CAAC,yCAAyC,CAAC,GACpE,cAAc,CAAC,yCAAyC,EAAE,KAAK,CAAC,CAWlE;AAED;;;;;GAKG;AACH,wBAAgB,2CAA2C,CACzD,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,EAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,CAAC,EAAE,wBAAwB,CAAC,yCAAyC,CAAC,GAC5E,sBAAsB,CAAC,yCAAyC,EAAE,KAAK,CAAC,CAW1E;AAED,wBAAgB,uCAAuC,CACrD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,UAAU,EAAE;QACV,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAChC;CACF,EACD,IAAI,EAAE,yCAAyC,GAC9C,yCAAyC,GAAG,SAAS,CAOvD;AAED,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,UAAU,EAAE;QACX,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAChC;CAAC,CACH,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;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"}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import { useQuery, useSuspenseQuery, } from "@tanstack/react-query";
|
|
5
|
-
import { clientGovernanceDataPoliciesList } from "../funcs/clientGovernanceDataPoliciesList.js";
|
|
6
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
7
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
8
5
|
import { useGleanContext } from "./_context.js";
|
|
6
|
+
import { buildClientGovernanceDataPoliciesListQuery, prefetchClientGovernanceDataPoliciesList, queryKeyClientGovernanceDataPoliciesList, } from "./clientGovernanceDataPoliciesList.core.js";
|
|
7
|
+
export { buildClientGovernanceDataPoliciesListQuery, prefetchClientGovernanceDataPoliciesList, queryKeyClientGovernanceDataPoliciesList, };
|
|
9
8
|
/**
|
|
10
9
|
* Lists policies
|
|
11
10
|
*
|
|
@@ -32,11 +31,6 @@ export function useClientGovernanceDataPoliciesListSuspense(autoHide, frequency,
|
|
|
32
31
|
...options,
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
|
-
export function prefetchClientGovernanceDataPoliciesList(queryClient, client$, autoHide, frequency) {
|
|
36
|
-
return queryClient.prefetchQuery({
|
|
37
|
-
...buildClientGovernanceDataPoliciesListQuery(client$, autoHide, frequency),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
34
|
export function setClientGovernanceDataPoliciesListData(client, queryKeyBase, data) {
|
|
41
35
|
const key = queryKeyClientGovernanceDataPoliciesList(...queryKeyBase);
|
|
42
36
|
return client.setQueryData(key, data);
|
|
@@ -53,20 +47,4 @@ export function invalidateAllClientGovernanceDataPoliciesList(client, filters) {
|
|
|
53
47
|
queryKey: ["@gleanwork/api-client", "policies", "list"],
|
|
54
48
|
});
|
|
55
49
|
}
|
|
56
|
-
export function buildClientGovernanceDataPoliciesListQuery(client$, autoHide, frequency, options) {
|
|
57
|
-
return {
|
|
58
|
-
queryKey: queryKeyClientGovernanceDataPoliciesList({ autoHide, frequency }),
|
|
59
|
-
queryFn: async function clientGovernanceDataPoliciesListQueryFn(ctx) {
|
|
60
|
-
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
61
|
-
const mergedOptions = {
|
|
62
|
-
...options,
|
|
63
|
-
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
64
|
-
};
|
|
65
|
-
return unwrapAsync(clientGovernanceDataPoliciesList(client$, autoHide, frequency, mergedOptions));
|
|
66
|
-
},
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
export function queryKeyClientGovernanceDataPoliciesList(parameters) {
|
|
70
|
-
return ["@gleanwork/api-client", "policies", "list", parameters];
|
|
71
|
-
}
|
|
72
50
|
//# sourceMappingURL=clientGovernanceDataPoliciesList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGovernanceDataPoliciesList.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesList.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAGL,QAAQ,EAER,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMhD,OAAO,EACL,0CAA0C,EAE1C,wCAAwC,EACxC,wCAAwC,GACzC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,0CAA0C,EAE1C,wCAAwC,EACxC,wCAAwC,GACzC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,mCAAmC,CACjD,QAA8B,EAC9B,SAA8B,EAC9B,OAAqE;IAErE,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,QAAQ,CAAC;QACd,GAAG,0CAA0C,CAC3C,MAAM,EACN,QAAQ,EACR,SAAS,EACT,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,2CAA2C,CACzD,QAA8B,EAC9B,SAA8B,EAC9B,OAA6E;IAE7E,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,gBAAgB,CAAC;QACtB,GAAG,0CAA0C,CAC3C,MAAM,EACN,QAAQ,EACR,SAAS,EACT,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,uCAAuC,CACrD,MAAmB,EACnB,YAKC,EACD,IAA+C;IAE/C,MAAM,GAAG,GAAG,wCAAwC,CAAC,GAAG,YAAY,CAAC,CAAC;IAEtE,OAAO,MAAM,CAAC,YAAY,CACxB,GAAG,EACH,IAAI,CACL,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0CAA0C,CACxD,MAAmB,EACnB,YAKC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC;KACzE,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,6CAA6C,CAC3D,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,UAAU,EAAE,MAAM,CAAC;KACxD,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 ClientGovernanceDataPoliciesRetrieveQueryData = components.GetDlpReportResponse;
|
|
6
|
+
export declare function prefetchClientGovernanceDataPoliciesRetrieve(queryClient: QueryClient, client$: GleanCore, id: string, version?: number | undefined, options?: RequestOptions): Promise<void>;
|
|
7
|
+
export declare function buildClientGovernanceDataPoliciesRetrieveQuery(client$: GleanCore, id: string, version?: number | undefined, options?: RequestOptions): {
|
|
8
|
+
queryKey: QueryKey;
|
|
9
|
+
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataPoliciesRetrieveQueryData>;
|
|
10
|
+
};
|
|
11
|
+
export declare function queryKeyClientGovernanceDataPoliciesRetrieve(id: string, parameters: {
|
|
12
|
+
version?: number | undefined;
|
|
13
|
+
}): QueryKey;
|
|
14
|
+
//# sourceMappingURL=clientGovernanceDataPoliciesRetrieve.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesRetrieve.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesRetrieve.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,6CAA6C,GACvD,UAAU,CAAC,oBAAoB,CAAC;AAElC,wBAAgB,4CAA4C,CAC1D,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CASf;AAED,wBAAgB,8CAA8C,CAC5D,OAAO,EAAE,SAAS,EAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,6CAA6C,CAAC,CAAC;CAC7D,CAyBA;AAED,wBAAgB,4CAA4C,CAC1D,EAAE,EAAE,MAAM,EACV,UAAU,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC3C,QAAQ,CAEV"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { clientGovernanceDataPoliciesRetrieve } from "../funcs/clientGovernanceDataPoliciesRetrieve.js";
|
|
5
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
export function prefetchClientGovernanceDataPoliciesRetrieve(queryClient, client$, id, version, options) {
|
|
8
|
+
return queryClient.prefetchQuery({
|
|
9
|
+
...buildClientGovernanceDataPoliciesRetrieveQuery(client$, id, version, options),
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export function buildClientGovernanceDataPoliciesRetrieveQuery(client$, id, version, options) {
|
|
13
|
+
return {
|
|
14
|
+
queryKey: queryKeyClientGovernanceDataPoliciesRetrieve(id, { version }),
|
|
15
|
+
queryFn: async function clientGovernanceDataPoliciesRetrieveQueryFn(ctx) {
|
|
16
|
+
const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
|
|
17
|
+
const mergedOptions = {
|
|
18
|
+
...options?.fetchOptions,
|
|
19
|
+
...options,
|
|
20
|
+
signal: sig,
|
|
21
|
+
};
|
|
22
|
+
return unwrapAsync(clientGovernanceDataPoliciesRetrieve(client$, id, version, mergedOptions));
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function queryKeyClientGovernanceDataPoliciesRetrieve(id, parameters) {
|
|
27
|
+
return ["@gleanwork/api-client", "policies", "retrieve", id, parameters];
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=clientGovernanceDataPoliciesRetrieve.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesRetrieve.core.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesRetrieve.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C,MAAM,UAAU,4CAA4C,CAC1D,WAAwB,EACxB,OAAkB,EAClB,EAAU,EACV,OAA4B,EAC5B,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,8CAA8C,CAC/C,OAAO,EACP,EAAE,EACF,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,OAAkB,EAClB,EAAU,EACV,OAA4B,EAC5B,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,4CAA4C,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;QACvE,OAAO,EAAE,KAAK,UAAU,2CAA2C,CACjE,GAAG;YAEH,MAAM,GAAG,GAAG,cAAc,CACxB,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,WAAW,CAAC,oCAAoC,CACrD,OAAO,EACP,EAAE,EACF,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,4CAA4C,CAC1D,EAAU,EACV,UAA4C;IAE5C,OAAO,CAAC,uBAAuB,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,CAAC,CAAC;AAC3E,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { InvalidateQueryFilters, QueryClient,
|
|
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
|
-
|
|
3
|
+
import { buildClientGovernanceDataPoliciesRetrieveQuery, ClientGovernanceDataPoliciesRetrieveQueryData, prefetchClientGovernanceDataPoliciesRetrieve, queryKeyClientGovernanceDataPoliciesRetrieve } from "./clientGovernanceDataPoliciesRetrieve.core.js";
|
|
4
|
+
export { buildClientGovernanceDataPoliciesRetrieveQuery, type ClientGovernanceDataPoliciesRetrieveQueryData, prefetchClientGovernanceDataPoliciesRetrieve, queryKeyClientGovernanceDataPoliciesRetrieve, };
|
|
7
5
|
/**
|
|
8
6
|
* Gets specified policy
|
|
9
7
|
*
|
|
@@ -18,7 +16,6 @@ export declare function useClientGovernanceDataPoliciesRetrieve(id: string, vers
|
|
|
18
16
|
* Fetches the specified policy version, or the latest if no version is provided.
|
|
19
17
|
*/
|
|
20
18
|
export declare function useClientGovernanceDataPoliciesRetrieveSuspense(id: string, version?: number | undefined, options?: SuspenseQueryHookOptions<ClientGovernanceDataPoliciesRetrieveQueryData>): UseSuspenseQueryResult<ClientGovernanceDataPoliciesRetrieveQueryData, Error>;
|
|
21
|
-
export declare function prefetchClientGovernanceDataPoliciesRetrieve(queryClient: QueryClient, client$: GleanCore, id: string, version?: number | undefined): Promise<void>;
|
|
22
19
|
export declare function setClientGovernanceDataPoliciesRetrieveData(client: QueryClient, queryKeyBase: [id: string, parameters: {
|
|
23
20
|
version?: number | undefined;
|
|
24
21
|
}], data: ClientGovernanceDataPoliciesRetrieveQueryData): ClientGovernanceDataPoliciesRetrieveQueryData | undefined;
|
|
@@ -29,11 +26,4 @@ export declare function invalidateClientGovernanceDataPoliciesRetrieve(client: Q
|
|
|
29
26
|
}
|
|
30
27
|
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
31
28
|
export declare function invalidateAllClientGovernanceDataPoliciesRetrieve(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
32
|
-
export declare function buildClientGovernanceDataPoliciesRetrieveQuery(client$: GleanCore, id: string, version?: number | undefined, options?: RequestOptions): {
|
|
33
|
-
queryKey: QueryKey;
|
|
34
|
-
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataPoliciesRetrieveQueryData>;
|
|
35
|
-
};
|
|
36
|
-
export declare function queryKeyClientGovernanceDataPoliciesRetrieve(id: string, parameters: {
|
|
37
|
-
version?: number | undefined;
|
|
38
|
-
}): QueryKey;
|
|
39
29
|
//# sourceMappingURL=clientGovernanceDataPoliciesRetrieve.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGovernanceDataPoliciesRetrieve.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesRetrieve.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesRetrieve.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesRetrieve.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,8CAA8C,EAC9C,6CAA6C,EAC7C,4CAA4C,EAC5C,4CAA4C,EAC7C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,8CAA8C,EAC9C,KAAK,6CAA6C,EAClD,4CAA4C,EAC5C,4CAA4C,GAC7C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,uCAAuC,CACrD,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,CAAC,EAAE,gBAAgB,CAAC,6CAA6C,CAAC,GACxE,cAAc,CAAC,6CAA6C,EAAE,KAAK,CAAC,CAWtE;AAED;;;;;GAKG;AACH,wBAAgB,+CAA+C,CAC7D,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,CAAC,EAAE,wBAAwB,CAChC,6CAA6C,CAC9C,GACA,sBAAsB,CACvB,6CAA6C,EAC7C,KAAK,CACN,CAWA;AAED,wBAAgB,2CAA2C,CACzD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC,EACxE,IAAI,EAAE,6CAA6C,GAClD,6CAA6C,GAAG,SAAS,CAO3D;AAED,wBAAgB,8CAA8C,CAC5D,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,EAAE,EAAE,MAAM;IAAE,UAAU,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CAAC,CAC3D,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,iDAAiD,CAC/D,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import { useQuery, useSuspenseQuery, } from "@tanstack/react-query";
|
|
5
|
-
import { clientGovernanceDataPoliciesRetrieve } from "../funcs/clientGovernanceDataPoliciesRetrieve.js";
|
|
6
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
7
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
8
5
|
import { useGleanContext } from "./_context.js";
|
|
6
|
+
import { buildClientGovernanceDataPoliciesRetrieveQuery, prefetchClientGovernanceDataPoliciesRetrieve, queryKeyClientGovernanceDataPoliciesRetrieve, } from "./clientGovernanceDataPoliciesRetrieve.core.js";
|
|
7
|
+
export { buildClientGovernanceDataPoliciesRetrieveQuery, prefetchClientGovernanceDataPoliciesRetrieve, queryKeyClientGovernanceDataPoliciesRetrieve, };
|
|
9
8
|
/**
|
|
10
9
|
* Gets specified policy
|
|
11
10
|
*
|
|
@@ -32,11 +31,6 @@ export function useClientGovernanceDataPoliciesRetrieveSuspense(id, version, opt
|
|
|
32
31
|
...options,
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
|
-
export function prefetchClientGovernanceDataPoliciesRetrieve(queryClient, client$, id, version) {
|
|
36
|
-
return queryClient.prefetchQuery({
|
|
37
|
-
...buildClientGovernanceDataPoliciesRetrieveQuery(client$, id, version),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
34
|
export function setClientGovernanceDataPoliciesRetrieveData(client, queryKeyBase, data) {
|
|
41
35
|
const key = queryKeyClientGovernanceDataPoliciesRetrieve(...queryKeyBase);
|
|
42
36
|
return client.setQueryData(key, data);
|
|
@@ -58,20 +52,4 @@ export function invalidateAllClientGovernanceDataPoliciesRetrieve(client, filter
|
|
|
58
52
|
queryKey: ["@gleanwork/api-client", "policies", "retrieve"],
|
|
59
53
|
});
|
|
60
54
|
}
|
|
61
|
-
export function buildClientGovernanceDataPoliciesRetrieveQuery(client$, id, version, options) {
|
|
62
|
-
return {
|
|
63
|
-
queryKey: queryKeyClientGovernanceDataPoliciesRetrieve(id, { version }),
|
|
64
|
-
queryFn: async function clientGovernanceDataPoliciesRetrieveQueryFn(ctx) {
|
|
65
|
-
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
66
|
-
const mergedOptions = {
|
|
67
|
-
...options,
|
|
68
|
-
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
69
|
-
};
|
|
70
|
-
return unwrapAsync(clientGovernanceDataPoliciesRetrieve(client$, id, version, mergedOptions));
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
export function queryKeyClientGovernanceDataPoliciesRetrieve(id, parameters) {
|
|
75
|
-
return ["@gleanwork/api-client", "policies", "retrieve", id, parameters];
|
|
76
|
-
}
|
|
77
55
|
//# sourceMappingURL=clientGovernanceDataPoliciesRetrieve.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGovernanceDataPoliciesRetrieve.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesRetrieve.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataPoliciesRetrieve.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataPoliciesRetrieve.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAGL,QAAQ,EAER,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMhD,OAAO,EACL,8CAA8C,EAE9C,4CAA4C,EAC5C,4CAA4C,GAC7C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,8CAA8C,EAE9C,4CAA4C,EAC5C,4CAA4C,GAC7C,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,uCAAuC,CACrD,EAAU,EACV,OAA4B,EAC5B,OAAyE;IAEzE,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,QAAQ,CAAC;QACd,GAAG,8CAA8C,CAC/C,MAAM,EACN,EAAE,EACF,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,+CAA+C,CAC7D,EAAU,EACV,OAA4B,EAC5B,OAEC;IAKD,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,gBAAgB,CAAC;QACtB,GAAG,8CAA8C,CAC/C,MAAM,EACN,EAAE,EACF,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,2CAA2C,CACzD,MAAmB,EACnB,YAAwE,EACxE,IAAmD;IAEnD,MAAM,GAAG,GAAG,4CAA4C,CAAC,GAAG,YAAY,CAAC,CAAC;IAE1E,OAAO,MAAM,CAAC,YAAY,CACxB,GAAG,EACH,IAAI,CACL,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,MAAmB,EACnB,YAEC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,uBAAuB;YACvB,UAAU;YACV,UAAU;YACV,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,iDAAiD,CAC/D,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,UAAU,EAAE,UAAU,CAAC;KAC5D,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 ClientGovernanceDataReportsDownloadQueryData = string;
|
|
5
|
+
export declare function prefetchClientGovernanceDataReportsDownload(queryClient: QueryClient, client$: GleanCore, id: string, options?: RequestOptions): Promise<void>;
|
|
6
|
+
export declare function buildClientGovernanceDataReportsDownloadQuery(client$: GleanCore, id: string, options?: RequestOptions): {
|
|
7
|
+
queryKey: QueryKey;
|
|
8
|
+
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataReportsDownloadQueryData>;
|
|
9
|
+
};
|
|
10
|
+
export declare function queryKeyClientGovernanceDataReportsDownload(id: string): QueryKey;
|
|
11
|
+
//# sourceMappingURL=clientGovernanceDataReportsDownload.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataReportsDownload.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataReportsDownload.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,4CAA4C,GAAG,MAAM,CAAC;AAElE,wBAAgB,2CAA2C,CACzD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,6CAA6C,CAC3D,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,4CAA4C,CAAC,CAAC;CAC5D,CAwBA;AAED,wBAAgB,2CAA2C,CACzD,EAAE,EAAE,MAAM,GACT,QAAQ,CAEV"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { clientGovernanceDataReportsDownload } from "../funcs/clientGovernanceDataReportsDownload.js";
|
|
5
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
export function prefetchClientGovernanceDataReportsDownload(queryClient, client$, id, options) {
|
|
8
|
+
return queryClient.prefetchQuery({
|
|
9
|
+
...buildClientGovernanceDataReportsDownloadQuery(client$, id, options),
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export function buildClientGovernanceDataReportsDownloadQuery(client$, id, options) {
|
|
13
|
+
return {
|
|
14
|
+
queryKey: queryKeyClientGovernanceDataReportsDownload(id),
|
|
15
|
+
queryFn: async function clientGovernanceDataReportsDownloadQueryFn(ctx) {
|
|
16
|
+
const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
|
|
17
|
+
const mergedOptions = {
|
|
18
|
+
...options?.fetchOptions,
|
|
19
|
+
...options,
|
|
20
|
+
signal: sig,
|
|
21
|
+
};
|
|
22
|
+
return unwrapAsync(clientGovernanceDataReportsDownload(client$, id, mergedOptions));
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function queryKeyClientGovernanceDataReportsDownload(id) {
|
|
27
|
+
return ["@gleanwork/api-client", "reports", "download", id];
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=clientGovernanceDataReportsDownload.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataReportsDownload.core.js","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataReportsDownload.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,2CAA2C,CACzD,WAAwB,EACxB,OAAkB,EAClB,EAAU,EACV,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,6CAA6C,CAC9C,OAAO,EACP,EAAE,EACF,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,6CAA6C,CAC3D,OAAkB,EAClB,EAAU,EACV,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,2CAA2C,CAAC,EAAE,CAAC;QACzD,OAAO,EAAE,KAAK,UAAU,0CAA0C,CAChE,GAAG;YAEH,MAAM,GAAG,GAAG,cAAc,CACxB,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,WAAW,CAAC,mCAAmC,CACpD,OAAO,EACP,EAAE,EACF,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2CAA2C,CACzD,EAAU;IAEV,OAAO,CAAC,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;AAC9D,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { InvalidateQueryFilters, QueryClient,
|
|
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
|
-
|
|
3
|
+
import { buildClientGovernanceDataReportsDownloadQuery, ClientGovernanceDataReportsDownloadQueryData, prefetchClientGovernanceDataReportsDownload, queryKeyClientGovernanceDataReportsDownload } from "./clientGovernanceDataReportsDownload.core.js";
|
|
4
|
+
export { buildClientGovernanceDataReportsDownloadQuery, type ClientGovernanceDataReportsDownloadQueryData, prefetchClientGovernanceDataReportsDownload, queryKeyClientGovernanceDataReportsDownload, };
|
|
6
5
|
/**
|
|
7
6
|
* Downloads violations CSV for report
|
|
8
7
|
*
|
|
@@ -17,13 +16,7 @@ export declare function useClientGovernanceDataReportsDownload(id: string, optio
|
|
|
17
16
|
* Downloads CSV violations report for a specific report id.
|
|
18
17
|
*/
|
|
19
18
|
export declare function useClientGovernanceDataReportsDownloadSuspense(id: string, options?: SuspenseQueryHookOptions<ClientGovernanceDataReportsDownloadQueryData>): UseSuspenseQueryResult<ClientGovernanceDataReportsDownloadQueryData, Error>;
|
|
20
|
-
export declare function prefetchClientGovernanceDataReportsDownload(queryClient: QueryClient, client$: GleanCore, id: string): Promise<void>;
|
|
21
19
|
export declare function setClientGovernanceDataReportsDownloadData(client: QueryClient, queryKeyBase: [id: string], data: ClientGovernanceDataReportsDownloadQueryData): ClientGovernanceDataReportsDownloadQueryData | undefined;
|
|
22
20
|
export declare function invalidateClientGovernanceDataReportsDownload(client: QueryClient, queryKeyBase: TupleToPrefixes<[id: string]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
23
21
|
export declare function invalidateAllClientGovernanceDataReportsDownload(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
24
|
-
export declare function buildClientGovernanceDataReportsDownloadQuery(client$: GleanCore, id: string, options?: RequestOptions): {
|
|
25
|
-
queryKey: QueryKey;
|
|
26
|
-
queryFn: (context: QueryFunctionContext) => Promise<ClientGovernanceDataReportsDownloadQueryData>;
|
|
27
|
-
};
|
|
28
|
-
export declare function queryKeyClientGovernanceDataReportsDownload(id: string): QueryKey;
|
|
29
22
|
//# sourceMappingURL=clientGovernanceDataReportsDownload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientGovernanceDataReportsDownload.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataReportsDownload.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,
|
|
1
|
+
{"version":3,"file":"clientGovernanceDataReportsDownload.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientGovernanceDataReportsDownload.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,6CAA6C,EAC7C,4CAA4C,EAC5C,2CAA2C,EAC3C,2CAA2C,EAC5C,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,6CAA6C,EAC7C,KAAK,4CAA4C,EACjD,2CAA2C,EAC3C,2CAA2C,GAC5C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,sCAAsC,CACpD,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,gBAAgB,CAAC,4CAA4C,CAAC,GACvE,cAAc,CAAC,4CAA4C,EAAE,KAAK,CAAC,CAUrE;AAED;;;;;GAKG;AACH,wBAAgB,8CAA8C,CAC5D,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,wBAAwB,CAChC,4CAA4C,CAC7C,GACA,sBAAsB,CAAC,4CAA4C,EAAE,KAAK,CAAC,CAU7E;AAED,wBAAgB,0CAA0C,CACxD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,EAC1B,IAAI,EAAE,4CAA4C,GACjD,4CAA4C,GAAG,SAAS,CAO1D;AAED,wBAAgB,6CAA6C,CAC3D,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,CAKf;AAED,wBAAgB,gDAAgD,CAC9D,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
|