@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meeting.js","sourceRoot":"","sources":["../../../../src/models/components/meeting.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,+BAA+B,EAE/B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"meeting.js","sourceRoot":"","sources":["../../../../src/models/components/meeting.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,+BAA+B,EAE/B,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAgChC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAChC,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SACzE,QAAQ,EAAE;IACb,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,M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,EAAE;IACpE,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAEH,MAAM,UAAU,aAAa,CAAC,OAAgB;IAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AACD,MAAM,UAAU,eAAe,CAC7B,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
import { Answer, Answer$Outbound } from "./answer.js";
|
|
6
|
-
import { AnswerBoard, AnswerBoard$Outbound } from "./answerboard.js";
|
|
7
6
|
import { AppResult, AppResult$Outbound } from "./appresult.js";
|
|
8
7
|
import { ChatMetadata, ChatMetadata$Outbound } from "./chatmetadata.js";
|
|
9
8
|
import { Code, Code$Outbound } from "./code.js";
|
|
@@ -71,7 +70,6 @@ export type StructuredResult = {
|
|
|
71
70
|
meeting?: Meeting | undefined;
|
|
72
71
|
app?: AppResult | undefined;
|
|
73
72
|
collection?: Collection | undefined;
|
|
74
|
-
answerBoard?: AnswerBoard | undefined;
|
|
75
73
|
code?: Code | undefined;
|
|
76
74
|
shortcut?: Shortcut | undefined;
|
|
77
75
|
querySuggestions?: QuerySuggestionList | undefined;
|
|
@@ -128,7 +126,6 @@ export type StructuredResult$Outbound = {
|
|
|
128
126
|
meeting?: Meeting$Outbound | undefined;
|
|
129
127
|
app?: AppResult$Outbound | undefined;
|
|
130
128
|
collection?: Collection$Outbound | undefined;
|
|
131
|
-
answerBoard?: AnswerBoard$Outbound | undefined;
|
|
132
129
|
code?: Code$Outbound | undefined;
|
|
133
130
|
shortcut?: Shortcut$Outbound | undefined;
|
|
134
131
|
querySuggestions?: QuerySuggestionList$Outbound | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structuredresult.d.ts","sourceRoot":"","sources":["../../../../src/models/components/structuredresult.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"structuredresult.d.ts","sourceRoot":"","sources":["../../../../src/models/components/structuredresult.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO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C,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC7C,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACzC,gBAAgB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAC5D,IAAI,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACzC,gBAAgB,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC;IAChE,eAAe,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACvD,cAAc,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,SAAS,CAAC;IAC3D,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CA0BhB,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AACD,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
6
|
import { Answer$inboundSchema, Answer$outboundSchema, } from "./answer.js";
|
|
7
|
-
import { AnswerBoard$inboundSchema, AnswerBoard$outboundSchema, } from "./answerboard.js";
|
|
8
7
|
import { AppResult$inboundSchema, AppResult$outboundSchema, } from "./appresult.js";
|
|
9
8
|
import { ChatMetadata$inboundSchema, ChatMetadata$outboundSchema, } from "./chatmetadata.js";
|
|
10
9
|
import { Code$inboundSchema, Code$outboundSchema, } from "./code.js";
|
|
@@ -71,7 +70,6 @@ export const StructuredResult$inboundSchema = z.object({
|
|
|
71
70
|
meeting: z.lazy(() => Meeting$inboundSchema).optional(),
|
|
72
71
|
app: AppResult$inboundSchema.optional(),
|
|
73
72
|
collection: z.lazy(() => Collection$inboundSchema).optional(),
|
|
74
|
-
answerBoard: z.lazy(() => AnswerBoard$inboundSchema).optional(),
|
|
75
73
|
code: z.lazy(() => Code$inboundSchema).optional(),
|
|
76
74
|
shortcut: z.lazy(() => Shortcut$inboundSchema).optional(),
|
|
77
75
|
querySuggestions: z.lazy(() => QuerySuggestionList$inboundSchema).optional(),
|
|
@@ -98,7 +96,6 @@ export const StructuredResult$outboundSchema = z.object({
|
|
|
98
96
|
meeting: z.lazy(() => Meeting$outboundSchema).optional(),
|
|
99
97
|
app: AppResult$outboundSchema.optional(),
|
|
100
98
|
collection: z.lazy(() => Collection$outboundSchema).optional(),
|
|
101
|
-
answerBoard: z.lazy(() => AnswerBoard$outboundSchema).optional(),
|
|
102
99
|
code: z.lazy(() => Code$outboundSchema).optional(),
|
|
103
100
|
shortcut: z.lazy(() => Shortcut$outboundSchema).optional(),
|
|
104
101
|
querySuggestions: z.lazy(() => QuerySuggestionList$outboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structuredresult.js","sourceRoot":"","sources":["../../../../src/models/components/structuredresult.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,oBAAoB,EAEpB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEL,
|
|
1
|
+
{"version":3,"file":"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AEH,MAAM,UAAU,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,+BAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,wBAAwB,CACtC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -23,5 +23,12 @@ export type SuspenseInfiniteQueryHookOptions<Data extends PageIterator<unknown,
|
|
|
23
23
|
initialPageParam?: Data["~next"];
|
|
24
24
|
};
|
|
25
25
|
export type MutationHookOptions<Data = unknown, Err = Error, Variables = unknown> = Omit<UseMutationOptions<Data, Err, Variables>, "mutationKey" | "mutationFn" | keyof RequestOptions> & RequestOptions;
|
|
26
|
+
/**
|
|
27
|
+
* Removes non-serializable properties (functions and symbols) from a PageIterator for SSR hydration.
|
|
28
|
+
* React Server Components cannot serialize functions or Symbol properties across the server/client boundary.
|
|
29
|
+
*/
|
|
30
|
+
export declare function pageIteratorToJSON<T extends {
|
|
31
|
+
"~next"?: unknown;
|
|
32
|
+
}>(page: T): T;
|
|
26
33
|
export {};
|
|
27
34
|
//# sourceMappingURL=_types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/react-query/_types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,8BAA8B,EAC9B,SAAS,EACT,QAAQ,EACR,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACxB,MAAM,uB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AAO,CAAC,CAAA;CAAE,CAAC;AAEzC,MAAM,MAAM,mBAAmB,CAC7B,IAAI,GAAG,OAAO,EACd,GAAG,GAAG,KAAK,EACX,SAAS,GAAG,OAAO,IAEjB,IAAI,CACJ,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC,EACxC,aAAa,GAAG,YAAY,GAAG,MAAM,cAAc,CACpD,GACC,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/react-query/_types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,8BAA8B,EAC9B,SAAS,EACT,QAAQ,EACR,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAG/B,UAAU,uBAAuB,CAC/B,YAAY,GAAG,OAAO,EACtB,MAAM,GAAG,YAAY,EACrB,KAAK,GAAG,YAAY,EACpB,SAAS,SAAS,QAAQ,GAAG,QAAQ,EACrC,UAAU,GAAG,OAAO,CACpB,SACA,SAAS,CACP,4BAA4B,CAC1B,YAAY,EACZ,MAAM,EACN,KAAK,EACL,SAAS,EACT,UAAU,CACX,EACD,UAAU,CACX;IAED;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAGD,UAAU,4BAA4B,CACpC,YAAY,GAAG,OAAO,EACtB,MAAM,GAAG,YAAY,EACrB,KAAK,GAAG,YAAY,EACpB,SAAS,SAAS,QAAQ,GAAG,QAAQ,EACrC,UAAU,GAAG,OAAO,CACpB,SACA,oBAAoB,CAClB,YAAY,EACZ,MAAM,EACN,KAAK,EACL,YAAY,CAAC,YAAY,EAAE,UAAU,CAAC,EACtC,SAAS,EACT,UAAU,CACX,EACD,8BAA8B,C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AI,CAAC,OAAO,CAAC,CACd,EACC,UAAU,GACV,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,sBAAsB,GACtB,kBAAkB,GAClB,MAAM,cAAc,CACvB,GACC,cAAc,GACd;IAAE,gBAAgB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAEzC,MAAM,MAAM,gCAAgC,CAC1C,IAAI,SAAS,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,IAEzC,IAAI,CACJ,+BAA+B,CAC7B,IAAI,EACJ,KAAK,EACL,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,EACjC,QAAQ,EACR,IAAI,CAAC,OAAO,CAAC,CACd,EACC,UAAU,GACV,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,sBAAsB,GACtB,kBAAkB,GAClB,MAAM,cAAc,CACvB,GACC,cAAc,GACd;IAAE,gBAAgB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAEzC,MAAM,MAAM,mBAAmB,CAC7B,IAAI,GAAG,OAAO,EACd,GAAG,GAAG,KAAK,EACX,SAAS,GAAG,OAAO,IAEjB,IAAI,CACJ,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC,EACxC,aAAa,GAAG,YAAY,GAAG,MAAM,cAAc,CACpD,GACC,cAAc,CAAC;AAEnB;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,EAChE,IAAI,EAAE,CAAC,GACN,CAAC,CAKH"}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Removes non-serializable properties (functions and symbols) from a PageIterator for SSR hydration.
|
|
6
|
+
* React Server Components cannot serialize functions or Symbol properties across the server/client boundary.
|
|
7
|
+
*/
|
|
8
|
+
export function pageIteratorToJSON(page) {
|
|
9
|
+
const { next: _, ...rest } = page;
|
|
10
|
+
// Symbol properties are copied by spread but can't be serialized for RSC
|
|
11
|
+
delete rest[Symbol.asyncIterator];
|
|
12
|
+
return rest;
|
|
13
|
+
}
|
|
5
14
|
//# sourceMappingURL=_types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/react-query/_types.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
1
|
+
{"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/react-query/_types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAiKH;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAChC,IAAO;IAEP,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,IAA8B,CAAC;IAC5D,yEAAyE;IACzE,OAAQ,IAAgC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAC/D,OAAO,IAAS,CAAC;AACnB,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 ClientAgentsRetrieveQueryData = components.Agent;
|
|
6
|
+
export declare function prefetchClientAgentsRetrieve(queryClient: QueryClient, client$: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<void>;
|
|
7
|
+
export declare function buildClientAgentsRetrieveQuery(client$: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): {
|
|
8
|
+
queryKey: QueryKey;
|
|
9
|
+
queryFn: (context: QueryFunctionContext) => Promise<ClientAgentsRetrieveQueryData>;
|
|
10
|
+
};
|
|
11
|
+
export declare function queryKeyClientAgentsRetrieve(agentId: string, parameters: {
|
|
12
|
+
timezoneOffset?: number | undefined;
|
|
13
|
+
}): QueryKey;
|
|
14
|
+
//# sourceMappingURL=clientAgentsRetrieve.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieve.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieve.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,6BAA6B,GAAG,UAAU,CAAC,KAAK,CAAC;AAE7D,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CASf;AAED,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC7C,CAyBA;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,MAAM,EACf,UAAU,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAClD,QAAQ,CAEV"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { clientAgentsRetrieve } from "../funcs/clientAgentsRetrieve.js";
|
|
5
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
export function prefetchClientAgentsRetrieve(queryClient, client$, agentId, timezoneOffset, options) {
|
|
8
|
+
return queryClient.prefetchQuery({
|
|
9
|
+
...buildClientAgentsRetrieveQuery(client$, agentId, timezoneOffset, options),
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export function buildClientAgentsRetrieveQuery(client$, agentId, timezoneOffset, options) {
|
|
13
|
+
return {
|
|
14
|
+
queryKey: queryKeyClientAgentsRetrieve(agentId, { timezoneOffset }),
|
|
15
|
+
queryFn: async function clientAgentsRetrieveQueryFn(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(clientAgentsRetrieve(client$, agentId, timezoneOffset, mergedOptions));
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function queryKeyClientAgentsRetrieve(agentId, parameters) {
|
|
27
|
+
return ["@gleanwork/api-client", "agents", "retrieve", agentId, parameters];
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=clientAgentsRetrieve.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieve.core.js","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieve.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,4BAA4B,CAC1C,WAAwB,EACxB,OAAkB,EAClB,OAAe,EACf,cAAmC,EACnC,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,8BAA8B,CAC/B,OAAO,EACP,OAAO,EACP,cAAc,EACd,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,8BAA8B,CAC5C,OAAkB,EAClB,OAAe,EACf,cAAmC,EACnC,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,4BAA4B,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,CAAC;QACnE,OAAO,EAAE,KAAK,UAAU,2BAA2B,CACjD,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,oBAAoB,CACrC,OAAO,EACP,OAAO,EACP,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,4BAA4B,CAC1C,OAAe,EACf,UAAmD;IAEnD,OAAO,CAAC,uBAAuB,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;AAC9E,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 { buildClientAgentsRetrieveQuery, ClientAgentsRetrieveQueryData, prefetchClientAgentsRetrieve, queryKeyClientAgentsRetrieve } from "./clientAgentsRetrieve.core.js";
|
|
4
|
+
export { buildClientAgentsRetrieveQuery, type ClientAgentsRetrieveQueryData, prefetchClientAgentsRetrieve, queryKeyClientAgentsRetrieve, };
|
|
7
5
|
/**
|
|
8
6
|
* Retrieve an agent
|
|
9
7
|
*
|
|
@@ -18,7 +16,6 @@ export declare function useClientAgentsRetrieve(agentId: string, timezoneOffset?
|
|
|
18
16
|
* Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
|
|
19
17
|
*/
|
|
20
18
|
export declare function useClientAgentsRetrieveSuspense(agentId: string, timezoneOffset?: number | undefined, options?: SuspenseQueryHookOptions<ClientAgentsRetrieveQueryData>): UseSuspenseQueryResult<ClientAgentsRetrieveQueryData, Error>;
|
|
21
|
-
export declare function prefetchClientAgentsRetrieve(queryClient: QueryClient, client$: GleanCore, agentId: string, timezoneOffset?: number | undefined): Promise<void>;
|
|
22
19
|
export declare function setClientAgentsRetrieveData(client: QueryClient, queryKeyBase: [
|
|
23
20
|
agentId: string,
|
|
24
21
|
parameters: {
|
|
@@ -32,11 +29,4 @@ export declare function invalidateClientAgentsRetrieve(client: QueryClient, quer
|
|
|
32
29
|
}
|
|
33
30
|
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
34
31
|
export declare function invalidateAllClientAgentsRetrieve(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
35
|
-
export declare function buildClientAgentsRetrieveQuery(client$: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): {
|
|
36
|
-
queryKey: QueryKey;
|
|
37
|
-
queryFn: (context: QueryFunctionContext) => Promise<ClientAgentsRetrieveQueryData>;
|
|
38
|
-
};
|
|
39
|
-
export declare function queryKeyClientAgentsRetrieve(agentId: string, parameters: {
|
|
40
|
-
timezoneOffset?: number | undefined;
|
|
41
|
-
}): QueryKey;
|
|
42
32
|
//# sourceMappingURL=clientAgentsRetrieve.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientAgentsRetrieve.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieve.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieve.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieve.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,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,8BAA8B,EAC9B,KAAK,6BAA6B,EAClC,4BAA4B,EAC5B,4BAA4B,GAC7B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,GACxD,cAAc,CAAC,6BAA6B,EAAE,KAAK,CAAC,CAWtD;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,wBAAwB,CAAC,6BAA6B,CAAC,GAChE,sBAAsB,CAAC,6BAA6B,EAAE,KAAK,CAAC,CAW9D;AAED,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,OAAO,EAAE,MAAM;IACf,UAAU,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CACpD,EACD,IAAI,EAAE,6BAA6B,GAClC,6BAA6B,GAAG,SAAS,CAI3C;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,OAAO,EAAE,MAAM;IAAE,UAAU,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CAAC,CACvE,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,iCAAiC,CAC/C,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 { clientAgentsRetrieve } from "../funcs/clientAgentsRetrieve.js";
|
|
6
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
7
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
8
5
|
import { useGleanContext } from "./_context.js";
|
|
6
|
+
import { buildClientAgentsRetrieveQuery, prefetchClientAgentsRetrieve, queryKeyClientAgentsRetrieve, } from "./clientAgentsRetrieve.core.js";
|
|
7
|
+
export { buildClientAgentsRetrieveQuery, prefetchClientAgentsRetrieve, queryKeyClientAgentsRetrieve, };
|
|
9
8
|
/**
|
|
10
9
|
* Retrieve an agent
|
|
11
10
|
*
|
|
@@ -32,11 +31,6 @@ export function useClientAgentsRetrieveSuspense(agentId, timezoneOffset, options
|
|
|
32
31
|
...options,
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
|
-
export function prefetchClientAgentsRetrieve(queryClient, client$, agentId, timezoneOffset) {
|
|
36
|
-
return queryClient.prefetchQuery({
|
|
37
|
-
...buildClientAgentsRetrieveQuery(client$, agentId, timezoneOffset),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
34
|
export function setClientAgentsRetrieveData(client, queryKeyBase, data) {
|
|
41
35
|
const key = queryKeyClientAgentsRetrieve(...queryKeyBase);
|
|
42
36
|
return client.setQueryData(key, data);
|
|
@@ -53,20 +47,4 @@ export function invalidateAllClientAgentsRetrieve(client, filters) {
|
|
|
53
47
|
queryKey: ["@gleanwork/api-client", "agents", "retrieve"],
|
|
54
48
|
});
|
|
55
49
|
}
|
|
56
|
-
export function buildClientAgentsRetrieveQuery(client$, agentId, timezoneOffset, options) {
|
|
57
|
-
return {
|
|
58
|
-
queryKey: queryKeyClientAgentsRetrieve(agentId, { timezoneOffset }),
|
|
59
|
-
queryFn: async function clientAgentsRetrieveQueryFn(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(clientAgentsRetrieve(client$, agentId, timezoneOffset, mergedOptions));
|
|
66
|
-
},
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
export function queryKeyClientAgentsRetrieve(agentId, parameters) {
|
|
70
|
-
return ["@gleanwork/api-client", "agents", "retrieve", agentId, parameters];
|
|
71
|
-
}
|
|
72
50
|
//# sourceMappingURL=clientAgentsRetrieve.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientAgentsRetrieve.js","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieve.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieve.js","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieve.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,8BAA8B,EAE9B,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,8BAA8B,EAE9B,4BAA4B,EAC5B,4BAA4B,GAC7B,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CACrC,OAAe,EACf,cAAmC,EACnC,OAAyD;IAEzD,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,QAAQ,CAAC;QACd,GAAG,8BAA8B,CAC/B,MAAM,EACN,OAAO,EACP,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,+BAA+B,CAC7C,OAAe,EACf,cAAmC,EACnC,OAAiE;IAEjE,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,gBAAgB,CAAC;QACtB,GAAG,8BAA8B,CAC/B,MAAM,EACN,OAAO,EACP,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,MAAmB,EACnB,YAGC,EACD,IAAmC;IAEnC,MAAM,GAAG,GAAG,4BAA4B,CAAC,GAAG,YAAY,CAAC,CAAC;IAE1D,OAAO,MAAM,CAAC,YAAY,CAAgC,GAAG,EAAE,IAAI,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,8BAA8B,CAC5C,MAAmB,EACnB,YAEC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,YAAY,CAAC;KAC3E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,iCAAiC,CAC/C,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,QAAQ,EAAE,UAAU,CAAC;KAC1D,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 ClientAgentsRetrieveSchemasQueryData = components.AgentSchemas;
|
|
6
|
+
export declare function prefetchClientAgentsRetrieveSchemas(queryClient: QueryClient, client$: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<void>;
|
|
7
|
+
export declare function buildClientAgentsRetrieveSchemasQuery(client$: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): {
|
|
8
|
+
queryKey: QueryKey;
|
|
9
|
+
queryFn: (context: QueryFunctionContext) => Promise<ClientAgentsRetrieveSchemasQueryData>;
|
|
10
|
+
};
|
|
11
|
+
export declare function queryKeyClientAgentsRetrieveSchemas(agentId: string, parameters: {
|
|
12
|
+
timezoneOffset?: number | undefined;
|
|
13
|
+
}): QueryKey;
|
|
14
|
+
//# sourceMappingURL=clientAgentsRetrieveSchemas.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieveSchemas.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieveSchemas.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,oCAAoC,GAAG,UAAU,CAAC,YAAY,CAAC;AAE3E,wBAAgB,mCAAmC,CACjD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CASf;AAED,wBAAgB,qCAAqC,CACnD,OAAO,EAAE,SAAS,EAClB,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,oCAAoC,CAAC,CAAC;CACpD,CAyBA;AAED,wBAAgB,mCAAmC,CACjD,OAAO,EAAE,MAAM,EACf,UAAU,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAClD,QAAQ,CAQV"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { clientAgentsRetrieveSchemas } from "../funcs/clientAgentsRetrieveSchemas.js";
|
|
5
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
export function prefetchClientAgentsRetrieveSchemas(queryClient, client$, agentId, timezoneOffset, options) {
|
|
8
|
+
return queryClient.prefetchQuery({
|
|
9
|
+
...buildClientAgentsRetrieveSchemasQuery(client$, agentId, timezoneOffset, options),
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
export function buildClientAgentsRetrieveSchemasQuery(client$, agentId, timezoneOffset, options) {
|
|
13
|
+
return {
|
|
14
|
+
queryKey: queryKeyClientAgentsRetrieveSchemas(agentId, { timezoneOffset }),
|
|
15
|
+
queryFn: async function clientAgentsRetrieveSchemasQueryFn(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(clientAgentsRetrieveSchemas(client$, agentId, timezoneOffset, mergedOptions));
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function queryKeyClientAgentsRetrieveSchemas(agentId, parameters) {
|
|
27
|
+
return [
|
|
28
|
+
"@gleanwork/api-client",
|
|
29
|
+
"agents",
|
|
30
|
+
"retrieveSchemas",
|
|
31
|
+
agentId,
|
|
32
|
+
parameters,
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=clientAgentsRetrieveSchemas.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieveSchemas.core.js","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieveSchemas.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,mCAAmC,CACjD,WAAwB,EACxB,OAAkB,EAClB,OAAe,EACf,cAAmC,EACnC,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,qCAAqC,CACtC,OAAO,EACP,OAAO,EACP,cAAc,EACd,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,qCAAqC,CACnD,OAAkB,EAClB,OAAe,EACf,cAAmC,EACnC,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,mCAAmC,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,CAAC;QAC1E,OAAO,EAAE,KAAK,UAAU,kCAAkC,CACxD,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,2BAA2B,CAC5C,OAAO,EACP,OAAO,EACP,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mCAAmC,CACjD,OAAe,EACf,UAAmD;IAEnD,OAAO;QACL,uBAAuB;QACvB,QAAQ;QACR,iBAAiB;QACjB,OAAO;QACP,UAAU;KACX,CAAC;AACJ,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 { buildClientAgentsRetrieveSchemasQuery, ClientAgentsRetrieveSchemasQueryData, prefetchClientAgentsRetrieveSchemas, queryKeyClientAgentsRetrieveSchemas } from "./clientAgentsRetrieveSchemas.core.js";
|
|
4
|
+
export { buildClientAgentsRetrieveSchemasQuery, type ClientAgentsRetrieveSchemasQueryData, prefetchClientAgentsRetrieveSchemas, queryKeyClientAgentsRetrieveSchemas, };
|
|
7
5
|
/**
|
|
8
6
|
* List an agent's schemas
|
|
9
7
|
*
|
|
@@ -18,7 +16,6 @@ export declare function useClientAgentsRetrieveSchemas(agentId: string, timezone
|
|
|
18
16
|
* Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
|
|
19
17
|
*/
|
|
20
18
|
export declare function useClientAgentsRetrieveSchemasSuspense(agentId: string, timezoneOffset?: number | undefined, options?: SuspenseQueryHookOptions<ClientAgentsRetrieveSchemasQueryData>): UseSuspenseQueryResult<ClientAgentsRetrieveSchemasQueryData, Error>;
|
|
21
|
-
export declare function prefetchClientAgentsRetrieveSchemas(queryClient: QueryClient, client$: GleanCore, agentId: string, timezoneOffset?: number | undefined): Promise<void>;
|
|
22
19
|
export declare function setClientAgentsRetrieveSchemasData(client: QueryClient, queryKeyBase: [
|
|
23
20
|
agentId: string,
|
|
24
21
|
parameters: {
|
|
@@ -32,11 +29,4 @@ export declare function invalidateClientAgentsRetrieveSchemas(client: QueryClien
|
|
|
32
29
|
}
|
|
33
30
|
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
34
31
|
export declare function invalidateAllClientAgentsRetrieveSchemas(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
35
|
-
export declare function buildClientAgentsRetrieveSchemasQuery(client$: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): {
|
|
36
|
-
queryKey: QueryKey;
|
|
37
|
-
queryFn: (context: QueryFunctionContext) => Promise<ClientAgentsRetrieveSchemasQueryData>;
|
|
38
|
-
};
|
|
39
|
-
export declare function queryKeyClientAgentsRetrieveSchemas(agentId: string, parameters: {
|
|
40
|
-
timezoneOffset?: number | undefined;
|
|
41
|
-
}): QueryKey;
|
|
42
32
|
//# sourceMappingURL=clientAgentsRetrieveSchemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientAgentsRetrieveSchemas.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieveSchemas.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieveSchemas.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieveSchemas.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,qCAAqC,EACrC,oCAAoC,EACpC,mCAAmC,EACnC,mCAAmC,EACpC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,qCAAqC,EACrC,KAAK,oCAAoC,EACzC,mCAAmC,EACnC,mCAAmC,GACpC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC,oCAAoC,CAAC,GAC/D,cAAc,CAAC,oCAAoC,EAAE,KAAK,CAAC,CAW7D;AAED;;;;;GAKG;AACH,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,wBAAwB,CAAC,oCAAoC,CAAC,GACvE,sBAAsB,CAAC,oCAAoC,EAAE,KAAK,CAAC,CAWrE;AAED,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,OAAO,EAAE,MAAM;IACf,UAAU,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CACpD,EACD,IAAI,EAAE,oCAAoC,GACzC,oCAAoC,GAAG,SAAS,CAIlD;AAED,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,OAAO,EAAE,MAAM;IAAE,UAAU,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CAAC,CACvE,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,wCAAwC,CACtD,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 { clientAgentsRetrieveSchemas } from "../funcs/clientAgentsRetrieveSchemas.js";
|
|
6
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
7
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
8
5
|
import { useGleanContext } from "./_context.js";
|
|
6
|
+
import { buildClientAgentsRetrieveSchemasQuery, prefetchClientAgentsRetrieveSchemas, queryKeyClientAgentsRetrieveSchemas, } from "./clientAgentsRetrieveSchemas.core.js";
|
|
7
|
+
export { buildClientAgentsRetrieveSchemasQuery, prefetchClientAgentsRetrieveSchemas, queryKeyClientAgentsRetrieveSchemas, };
|
|
9
8
|
/**
|
|
10
9
|
* List an agent's schemas
|
|
11
10
|
*
|
|
@@ -32,11 +31,6 @@ export function useClientAgentsRetrieveSchemasSuspense(agentId, timezoneOffset,
|
|
|
32
31
|
...options,
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
|
-
export function prefetchClientAgentsRetrieveSchemas(queryClient, client$, agentId, timezoneOffset) {
|
|
36
|
-
return queryClient.prefetchQuery({
|
|
37
|
-
...buildClientAgentsRetrieveSchemasQuery(client$, agentId, timezoneOffset),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
34
|
export function setClientAgentsRetrieveSchemasData(client, queryKeyBase, data) {
|
|
41
35
|
const key = queryKeyClientAgentsRetrieveSchemas(...queryKeyBase);
|
|
42
36
|
return client.setQueryData(key, data);
|
|
@@ -58,26 +52,4 @@ export function invalidateAllClientAgentsRetrieveSchemas(client, filters) {
|
|
|
58
52
|
queryKey: ["@gleanwork/api-client", "agents", "retrieveSchemas"],
|
|
59
53
|
});
|
|
60
54
|
}
|
|
61
|
-
export function buildClientAgentsRetrieveSchemasQuery(client$, agentId, timezoneOffset, options) {
|
|
62
|
-
return {
|
|
63
|
-
queryKey: queryKeyClientAgentsRetrieveSchemas(agentId, { timezoneOffset }),
|
|
64
|
-
queryFn: async function clientAgentsRetrieveSchemasQueryFn(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(clientAgentsRetrieveSchemas(client$, agentId, timezoneOffset, mergedOptions));
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
export function queryKeyClientAgentsRetrieveSchemas(agentId, parameters) {
|
|
75
|
-
return [
|
|
76
|
-
"@gleanwork/api-client",
|
|
77
|
-
"agents",
|
|
78
|
-
"retrieveSchemas",
|
|
79
|
-
agentId,
|
|
80
|
-
parameters,
|
|
81
|
-
];
|
|
82
|
-
}
|
|
83
55
|
//# sourceMappingURL=clientAgentsRetrieveSchemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientAgentsRetrieveSchemas.js","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieveSchemas.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"clientAgentsRetrieveSchemas.js","sourceRoot":"","sources":["../../../src/react-query/clientAgentsRetrieveSchemas.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,qCAAqC,EAErC,mCAAmC,EACnC,mCAAmC,GACpC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,qCAAqC,EAErC,mCAAmC,EACnC,mCAAmC,GACpC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,8BAA8B,CAC5C,OAAe,EACf,cAAmC,EACnC,OAAgE;IAEhE,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,QAAQ,CAAC;QACd,GAAG,qCAAqC,CACtC,MAAM,EACN,OAAO,EACP,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,sCAAsC,CACpD,OAAe,EACf,cAAmC,EACnC,OAAwE;IAExE,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,OAAO,gBAAgB,CAAC;QACtB,GAAG,qCAAqC,CACtC,MAAM,EACN,OAAO,EACP,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,MAAmB,EACnB,YAGC,EACD,IAA0C;IAE1C,MAAM,GAAG,GAAG,mCAAmC,CAAC,GAAG,YAAY,CAAC,CAAC;IAEjE,OAAO,MAAM,CAAC,YAAY,CAAuC,GAAG,EAAE,IAAI,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,qCAAqC,CACnD,MAAmB,EACnB,YAEC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,uBAAuB;YACvB,QAAQ;YACR,iBAAiB;YACjB,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,uBAAuB,EAAE,QAAQ,EAAE,iBAAiB,CAAC;KACjE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -13,6 +13,8 @@ export type ClientAnswersListMutationData = components.ListAnswersResponse;
|
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* List Answers created by the current user.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
16
18
|
*/
|
|
17
19
|
export declare function useClientAnswersListMutation(options?: MutationHookOptions<ClientAnswersListMutationData, Error, ClientAnswersListMutationVariables>): UseMutationResult<ClientAnswersListMutationData, Error, ClientAnswersListMutationVariables>;
|
|
18
20
|
export declare function mutationKeyClientAnswersList(): MutationKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientAnswersList.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientAnswersList.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAA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kC,KAC1C,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC7C,CA0BA"}
|
|
@@ -11,6 +11,8 @@ import { useGleanContext } from "./_context.js";
|
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
13
|
* List Answers created by the current user.
|
|
14
|
+
*
|
|
15
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
14
16
|
*/
|
|
15
17
|
export function useClientAnswersListMutation(options) {
|
|
16
18
|
const client = useGleanContext();
|
|
@@ -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"}
|