]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/Client.hs
[document-export] add CSV export (warning: does not compile yet)
[gargantext.git] / src / Gargantext / Client.hs
1 {-# OPTIONS_GHC -freduction-depth=0 #-}
2 {-# OPTIONS_GHC -O0 #-}
3
4 module Gargantext.Client where
5
6 import Data.Int
7 import Data.Maybe
8 import Data.Map (Map)
9 import Data.Proxy
10 import Data.Text (Text)
11 import Data.Time.Clock
12 import Data.Vector (Vector)
13 import Gargantext.API
14 import Gargantext.API.Admin.Auth.Types hiding (Token)
15 import Gargantext.API.Admin.Orchestrator.Types
16 import Gargantext.API.Count
17 import Gargantext.API.EKG
18 import Gargantext.API.HashedResponse
19 import Gargantext.API.Ngrams as Ngrams
20 import Gargantext.API.Ngrams.NgramsTree
21 import Gargantext.API.Ngrams.List.Types
22 import Gargantext.API.Node
23 import Gargantext.API.Node.Contact
24 import Gargantext.API.Node.Corpus.Export.Types
25 import Gargantext.API.Node.Corpus.New
26 import qualified Gargantext.API.Node.Document.Export.Types as DocumentExport
27 import Gargantext.API.Node.DocumentsFromWriteNodes
28 import Gargantext.API.Node.DocumentUpload
29 import Gargantext.API.Node.File
30 import Gargantext.API.Node.FrameCalcUpload
31 import Gargantext.API.Node.New
32 import Gargantext.API.Node.Share
33 import Gargantext.API.Node.Types
34 import Gargantext.API.Node.Update
35 import Gargantext.API.Public
36 import Gargantext.API.Routes
37 import Gargantext.API.Search
38 import Gargantext.API.Table
39 import Gargantext.Core.Types (NodeTableResult)
40 import Gargantext.Core.Types.Main hiding (Limit, Offset)
41 import Gargantext.Core.Viz.Graph hiding (Node, Version)
42 import Gargantext.Core.Viz.Graph.API
43 import Gargantext.Core.Viz.Phylo.Legacy.LegacyAPI
44 import Gargantext.Core.Viz.Types
45 import Gargantext.Database.Admin.Types.Metrics
46 import Gargantext.Database.Admin.Types.Hyperdata
47 import Gargantext.Database.Admin.Types.Node
48 import Gargantext.Database.Schema.Ngrams
49 import Gargantext.Database.Query.Facet as Facet
50 import Servant.API
51 import Servant.API.Flatten
52 import Servant.Auth.Client
53 import Servant.Client
54 import Servant.Job.Core
55 import Servant.Job.Types
56 import System.Metrics.Json (Sample, Value)
57
58 -- * actual client functions for individual endpoints
59
60 getBackendVersion :: ClientM Text
61 postAuth :: AuthRequest -> ClientM AuthResponse
62
63 -- admin api
64 getRoots :: Token -> ClientM [Node HyperdataUser]
65 putRoots :: Token -> ClientM Int -- not actually implemented in the backend
66 deleteNodes :: Token -> [NodeId] -> ClientM Int
67
68 -- node api
69 getNode :: Token -> NodeId -> ClientM (Node HyperdataAny)
70 renameNode :: Token -> NodeId -> RenameNode -> ClientM [Int]
71 postNode :: Token -> NodeId -> PostNode -> ClientM [NodeId]
72 postNodeAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
73 postNodeAsyncJob :: Token -> NodeId -> JobInput Maybe PostNode -> ClientM (JobStatus 'Safe JobLog)
74 killNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
75 pollNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
76 waitNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
77
78 postNodeFrameCalcAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
79 postNodeFrameCalcAsyncJob :: Token -> NodeId -> JobInput Maybe FrameCalcUpload -> ClientM (JobStatus 'Safe JobLog)
80 killNodeFrameCalcAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
81 pollNodeFrameCalcAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
82 waitNodeFrameCalcAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
83
84 putNode :: Token -> NodeId -> HyperdataAny -> ClientM Int
85
86 postUpdateNodeAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
87 postUpdateNodeAsyncJob :: Token -> NodeId -> JobInput Maybe UpdateNodeParams -> ClientM (JobStatus 'Safe JobLog)
88 killUpdateNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
89 pollUpdateNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
90 waitUpdateNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
91
92 deleteNode :: Token -> NodeId -> ClientM Int
93 getNodeChildren :: Token -> NodeId -> Maybe NodeType -> Maybe Int -> Maybe Int -> ClientM (NodeTableResult HyperdataAny)
94
95 getNodeTable :: Token -> NodeId -> Maybe TabType -> Maybe ListId -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> Maybe Text -> ClientM (HashedResponse FacetTableResult)
96 postNodeTableQuery :: Token -> NodeId -> TableQuery -> ClientM FacetTableResult
97 getNodeTableHash :: Token -> NodeId -> Maybe TabType -> ClientM Text
98
99 getNodeNgramsTable :: Token -> NodeId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
100 putNodeNgramsTablePatch :: Token -> NodeId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
101 postNodeRecomputeNgramsTableScores :: Token -> NodeId -> TabType -> ListId -> ClientM Int
102 getNodeNgramsTableVersion :: Token -> NodeId -> TabType -> ListId -> ClientM Version
103 postNodeUpdateNgramsTableChartsAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
104 postNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
105 killNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
106 pollNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
107 waitNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
108
109 putNodeCategory :: Token -> NodeId -> NodesToCategory -> ClientM [Int]
110 putNodeScore :: Token -> NodeId -> NodesToScore -> ClientM [Int]
111
112 postNodeSearch :: Token -> NodeId -> SearchQuery -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM SearchResult
113
114 postNodeShare :: Token -> NodeId -> ShareNodeParams -> ClientM Int
115
116 postNodePairCorpusAnnuaire :: Token -> NodeId -> AnnuaireId -> Maybe ListId -> ClientM Int
117 getNodePairs :: Token -> NodeId -> ClientM [AnnuaireId]
118 getNodePairings :: Token -> NodeId -> Maybe TabType -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM [FacetDoc]
119
120 getNodeScatterMetrics :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM (HashedResponse Metrics)
121 postNodeScatterMetricsUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
122 getNodeScatterMetricsHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ClientM Text
123 getNodeChart :: Token -> NodeId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
124 postNodeChartUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
125 getNodeChartHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ClientM Text
126 getNodePie :: Token -> NodeId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
127 postNodePieUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
128 getNodePieHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ClientM Text
129 getNodeTree :: Token -> NodeId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ListType -> ClientM (HashedResponse (ChartMetrics (Vector NgramsTree)))
130 postNodeTreeUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> ListType -> ClientM ()
131 getNodeTreeHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ListType -> ClientM Text
132 getNodePhylo :: Token -> NodeId -> Maybe NodeId -> Maybe Int -> Maybe Int -> ClientM SVG
133 putNodePhylo :: Token -> NodeId -> Maybe NodeId -> ClientM NodeId
134
135 putNodeMove :: Token -> NodeId -> ParentId -> ClientM [Int]
136 postNodeUnpublish :: Token -> NodeId -> NodeId -> ClientM Int
137
138 getNodeFile :: Token -> NodeId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
139 postNodeFileAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
140 postNodeFileAsyncJob :: Token -> NodeId -> JobInput Maybe NewWithFile -> ClientM (JobStatus 'Safe JobLog)
141 killNodeFileAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
142 pollNodeFileAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
143 waitNodeFileAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
144
145 postNodeDocumentWriteNodesAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
146 postNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobInput Maybe Params -> ClientM (JobStatus 'Safe JobLog)
147 killNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
148 pollNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
149 waitNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
150
151 postNodeDocumentUploadAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
152 postNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobInput Maybe DocumentUpload -> ClientM (JobStatus 'Safe JobLog)
153 killNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
154 pollNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
155 waitNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
156
157 -- corpus api
158 getCorpus :: Token -> CorpusId -> ClientM (Node HyperdataCorpus)
159 renameCorpus :: Token -> CorpusId -> RenameNode -> ClientM [Int]
160 postCorpus :: Token -> CorpusId -> PostNode -> ClientM [CorpusId]
161 postCorpusAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
162 postCorpusAsyncJob :: Token -> CorpusId -> JobInput Maybe PostNode -> ClientM (JobStatus 'Safe JobLog)
163 killCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
164 pollCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
165 waitCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
166
167 postCorpusFrameCalcAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
168 postCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobInput Maybe FrameCalcUpload -> ClientM (JobStatus 'Safe JobLog)
169 killCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
170 pollCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
171 waitCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
172
173 putCorpus :: Token -> CorpusId -> HyperdataCorpus -> ClientM Int
174
175 postUpdateCorpusAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
176 postUpdateCorpusAsyncJob :: Token -> CorpusId -> JobInput Maybe UpdateNodeParams -> ClientM (JobStatus 'Safe JobLog)
177 killUpdateCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
178 pollUpdateCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
179 waitUpdateCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
180
181 deleteCorpus :: Token -> CorpusId -> ClientM Int
182 getCorpusChildren :: Token -> CorpusId -> Maybe NodeType -> Maybe Int -> Maybe Int -> ClientM (NodeTableResult HyperdataCorpus)
183
184 getCorpusTable :: Token -> CorpusId -> Maybe TabType -> Maybe ListId -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> Maybe Text -> ClientM (HashedResponse FacetTableResult)
185 postCorpusTableQuery :: Token -> CorpusId -> TableQuery -> ClientM FacetTableResult
186 getCorpusTableHash :: Token -> CorpusId -> Maybe TabType -> ClientM Text
187
188 getCorpusNgramsTable :: Token -> CorpusId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
189 putCorpusNgramsTablePatch :: Token -> CorpusId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
190 postCorpusRecomputeNgramsTableScores :: Token -> CorpusId -> TabType -> ListId -> ClientM Int
191 getCorpusNgramsTableVersion :: Token -> CorpusId -> TabType -> ListId -> ClientM Version
192 postCorpusUpdateNgramsTableChartsAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
193 postCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
194 killCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
195 pollCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
196 waitCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
197
198 putCorpusCategory :: Token -> CorpusId -> NodesToCategory -> ClientM [Int]
199 putCorpusScore :: Token -> CorpusId -> NodesToScore -> ClientM [Int]
200
201 postCorpusSearch :: Token -> CorpusId -> SearchQuery -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM SearchResult
202
203 postCorpusShare :: Token -> CorpusId -> ShareNodeParams -> ClientM Int
204
205 postCorpusPairCorpusAnnuaire :: Token -> CorpusId -> AnnuaireId -> Maybe ListId -> ClientM Int
206 getCorpusPairs :: Token -> CorpusId -> ClientM [AnnuaireId]
207 getCorpusPairings :: Token -> CorpusId -> Maybe TabType -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM [FacetDoc]
208
209 getCorpusScatterMetrics :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM (HashedResponse Metrics)
210 postCorpusScatterMetricsUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
211 getCorpusScatterMetricsHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ClientM Text
212 getCorpusChart :: Token -> CorpusId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
213 postCorpusChartUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
214 getCorpusChartHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ClientM Text
215 getCorpusPie :: Token -> CorpusId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
216 postCorpusPieUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
217 getCorpusPieHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ClientM Text
218 getCorpusTree :: Token -> CorpusId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ListType -> ClientM (HashedResponse (ChartMetrics (Vector NgramsTree)))
219 postCorpusTreeUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> ListType -> ClientM ()
220 getCorpusTreeHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ListType -> ClientM Text
221 getCorpusPhylo :: Token -> CorpusId -> Maybe NodeId -> Maybe Int -> Maybe Int -> ClientM SVG
222 putCorpusPhylo :: Token -> CorpusId -> Maybe NodeId -> ClientM NodeId
223
224 putCorpusMove :: Token -> CorpusId -> ParentId -> ClientM [Int]
225 postCorpusUnpublish :: Token -> CorpusId -> CorpusId -> ClientM Int
226
227 getCorpusFile :: Token -> NodeId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
228 postCorpusFileAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
229 postCorpusFileAsyncJob :: Token -> CorpusId -> JobInput Maybe NewWithFile -> ClientM (JobStatus 'Safe JobLog)
230 killCorpusFileAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
231 pollCorpusFileAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
232 waitCorpusFileAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
233
234 postCorpusDocumentWriteNodesAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
235 postCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobInput Maybe Params -> ClientM (JobStatus 'Safe JobLog)
236 killCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
237 pollCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
238 waitCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
239
240 postCorpusDocumentUploadAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
241 postCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobInput Maybe DocumentUpload -> ClientM (JobStatus 'Safe JobLog)
242 killCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
243 pollCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
244 waitCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
245
246 -- corpus node/node API
247 getCorpusNodeNode :: Token -> NodeId -> NodeId -> ClientM (Node HyperdataAny)
248
249 -- corpus export API
250 getCorpusExport :: Token -> CorpusId -> Maybe ListId -> Maybe NgramsType -> ClientM Corpus
251
252 -- annuaire api
253 getAnnuaire :: Token -> AnnuaireId -> ClientM (Node HyperdataAnnuaire)
254 renameAnnuaire :: Token -> AnnuaireId -> RenameNode -> ClientM [Int]
255 postAnnuaire :: Token -> AnnuaireId -> PostNode -> ClientM [AnnuaireId]
256 postAnnuaireAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
257 postAnnuaireAsyncJob :: Token -> AnnuaireId -> JobInput Maybe PostNode -> ClientM (JobStatus 'Safe JobLog)
258 killAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
259 pollAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
260 waitAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
261
262 postAnnuaireFrameCalcAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
263 postAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobInput Maybe FrameCalcUpload -> ClientM (JobStatus 'Safe JobLog)
264 killAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
265 pollAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
266 waitAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
267
268 putAnnuaire :: Token -> AnnuaireId -> HyperdataAnnuaire -> ClientM Int
269
270 postUpdateAnnuaireAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
271 postUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobInput Maybe UpdateNodeParams -> ClientM (JobStatus 'Safe JobLog)
272 killUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
273 pollUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
274 waitUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
275
276 deleteAnnuaire :: Token -> AnnuaireId -> ClientM Int
277 getAnnuaireChildren :: Token -> AnnuaireId -> Maybe NodeType -> Maybe Int -> Maybe Int -> ClientM (NodeTableResult HyperdataAnnuaire)
278
279 getAnnuaireTable :: Token -> AnnuaireId -> Maybe TabType -> Maybe ListId -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> Maybe Text -> ClientM (HashedResponse FacetTableResult)
280 postAnnuaireTableQuery :: Token -> AnnuaireId -> TableQuery -> ClientM FacetTableResult
281 getAnnuaireTableHash :: Token -> AnnuaireId -> Maybe TabType -> ClientM Text
282
283 getAnnuaireNgramsTable :: Token -> AnnuaireId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
284 putAnnuaireNgramsTablePatch :: Token -> AnnuaireId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
285 postAnnuaireRecomputeNgramsTableScores :: Token -> AnnuaireId -> TabType -> ListId -> ClientM Int
286 getAnnuaireNgramsTableVersion :: Token -> AnnuaireId -> TabType -> ListId -> ClientM Version
287 postAnnuaireUpdateNgramsTableChartsAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
288 postAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
289 killAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
290 pollAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
291 waitAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
292
293 putAnnuaireCategory :: Token -> AnnuaireId -> NodesToCategory -> ClientM [Int]
294 putAnnuaireScore :: Token -> AnnuaireId -> NodesToScore -> ClientM [Int]
295
296 postAnnuaireSearch :: Token -> AnnuaireId -> SearchQuery -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM SearchResult
297 postAnnuaireShare :: Token -> AnnuaireId -> ShareNodeParams -> ClientM Int
298
299 postAnnuairePairCorpusAnnuaire :: Token -> AnnuaireId -> AnnuaireId -> Maybe ListId -> ClientM Int
300 getAnnuairePairs :: Token -> AnnuaireId -> ClientM [AnnuaireId]
301 getAnnuairePairings :: Token -> AnnuaireId -> Maybe TabType -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM [FacetDoc]
302
303 getAnnuaireScatterMetrics :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM (HashedResponse Metrics)
304 postAnnuaireScatterMetricsUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
305 getAnnuaireScatterMetricsHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ClientM Text
306 getAnnuaireChart :: Token -> AnnuaireId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
307 postAnnuaireChartUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
308 getAnnuaireChartHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ClientM Text
309 getAnnuairePie :: Token -> AnnuaireId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
310 postAnnuairePieUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
311 getAnnuairePieHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ClientM Text
312 getAnnuaireTree :: Token -> AnnuaireId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ListType -> ClientM (HashedResponse (ChartMetrics (Vector NgramsTree)))
313 postAnnuaireTreeUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ListType -> ClientM ()
314 getAnnuaireTreeHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ListType -> ClientM Text
315 getAnnuairePhylo :: Token -> AnnuaireId -> Maybe NodeId -> Maybe Int -> Maybe Int -> ClientM SVG
316 putAnnuairePhylo :: Token -> AnnuaireId -> Maybe NodeId -> ClientM NodeId
317
318 putAnnuaireMove :: Token -> AnnuaireId -> ParentId -> ClientM [Int]
319 postAnnuaireUnpublish :: Token -> AnnuaireId -> AnnuaireId -> ClientM Int
320
321 getAnnuaireFile :: Token -> AnnuaireId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
322 postAnnuaireFileAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
323 postAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobInput Maybe NewWithFile -> ClientM (JobStatus 'Safe JobLog)
324 killAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
325 pollAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
326 waitAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
327
328 postAnnuaireDocumentWriteNodesAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
329 postAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobInput Maybe Params -> ClientM (JobStatus 'Safe JobLog)
330 killAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
331 pollAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
332 waitAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
333
334 postAnnuaireDocumentUploadAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
335 postAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobInput Maybe DocumentUpload -> ClientM (JobStatus 'Safe JobLog)
336 killAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
337 pollAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
338 waitAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
339
340 -- contact api
341 postAnnuaireContactAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
342 postAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobInput Maybe AddContactParams -> ClientM (JobStatus 'Safe JobLog)
343 killAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
344 pollAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
345 waitAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
346
347 -- contact node/node API
348 getAnnuaireContactNodeNode :: Token -> NodeId -> NodeId -> ClientM (Node HyperdataContact)
349
350 -- document ngrams api
351 getDocumentNgramsTable :: Token -> DocId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
352 putDocumentNgramsTable :: Token -> DocId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
353 postRecomputeDocumentNgramsTableScore :: Token -> DocId -> TabType -> ListId -> ClientM Int
354 getDocumentNgramsTableVersion :: Token -> DocId -> TabType -> ListId -> ClientM Version
355 postDocumentNgramsTableAsync :: Token -> DocId -> ClientM (JobStatus 'Safe JobLog)
356 postDocumentNgramsTableAsyncJob :: Token -> DocId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
357 killDocumentNgramsTableAsyncJob :: Token -> DocId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
358 pollDocumentNgramsTableAsyncJob :: Token -> DocId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
359 waitDocumentNgramsTableAsyncJob :: Token -> DocId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
360
361 -- document export API
362 getDocumentExportJSON :: Token -> DocId -> ClientM DocumentExport.DocumentExport
363 getDocumentExportCSV :: Token -> DocId -> ClientM [DocumentExport.Document]
364
365 -- count api
366 postCountQuery :: Token -> Query -> ClientM Counts
367
368 -- graph api
369 getGraphHyperdata :: Token -> NodeId -> ClientM HyperdataGraphAPI
370 postGraphAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
371 postGraphAsyncJob :: Token -> NodeId -> JobInput Maybe () -> ClientM (JobStatus 'Safe JobLog)
372 killGraphAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
373 pollGraphAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
374 waitGraphAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
375
376 postGraphClone :: Token -> NodeId -> HyperdataGraphAPI -> ClientM NodeId
377 getGraphGexf :: Token -> NodeId -> ClientM (Headers '[Header "Content-Disposition" Text] Graph)
378 getGraphVersions :: Token -> NodeId -> ClientM GraphVersions
379 postGraphRecomputeVersion :: Token -> NodeId -> ClientM Graph
380 getTree :: Token -> NodeId -> [NodeType] -> ClientM (Tree NodeTree)
381 getTreeFirstLevel :: Token -> NodeId -> [NodeType] -> ClientM (Tree NodeTree)
382
383 postNewCorpusWithFormAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
384 postNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobInput Maybe NewWithForm -> ClientM (JobStatus 'Safe JobLog)
385 killNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
386 pollNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
387 waitNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
388
389 postNewCorpusWithQueryAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
390 postNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobInput Maybe WithQuery -> ClientM (JobStatus 'Safe JobLog)
391 killNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
392 pollNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
393 waitNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
394
395 getList :: Token -> NodeId -> ClientM (Headers '[Header "Content-Disposition" Text] (Map NgramsType (Versioned NgramsTableMap)))
396 postListJsonUpdateAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
397 postListJsonUpdateAsyncJob :: Token -> NodeId -> JobInput Maybe WithFile -> ClientM (JobStatus 'Safe JobLog)
398 killListJsonUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
399 pollListJsonUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
400 waitListJsonUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
401
402 postListCsvUpdateAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
403 postListCsvUpdateAsyncJob :: Token -> NodeId -> JobInput Maybe WithTextFile -> ClientM (JobStatus 'Safe JobLog)
404 killListCsvUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
405 pollListCsvUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
406 waitListCsvUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
407
408 getPublicData :: ClientM [PublicData]
409 getPublicNodeFile :: NodeId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
410
411 -- ekg api
412 getMetricsSample :: ClientM Sample
413 getMetricSample :: [Text] -> ClientM Value
414
415 -- * unpacking of client functions to derive all the individual clients
416
417 clientApi :: Client ClientM (Flat GargAPI)
418 clientApi = client (flatten apiGarg)
419
420 getMetricsSample :<|> getMetricSample :<|> _ = client (Proxy :: Proxy (Flat EkgAPI))
421
422 postAuth
423 :<|> getBackendVersion
424 :<|> getRoots
425 :<|> putRoots
426 :<|> deleteNodes
427 :<|> getNode
428 :<|> renameNode
429 :<|> postNode
430 :<|> postNodeAsync
431 :<|> postNodeAsyncJob
432 :<|> killNodeAsyncJob
433 :<|> pollNodeAsyncJob
434 :<|> waitNodeAsyncJob
435 :<|> postNodeFrameCalcAsync
436 :<|> postNodeFrameCalcAsyncJob
437 :<|> killNodeFrameCalcAsyncJob
438 :<|> pollNodeFrameCalcAsyncJob
439 :<|> waitNodeFrameCalcAsyncJob
440 :<|> putNode
441 :<|> postUpdateNodeAsync
442 :<|> postUpdateNodeAsyncJob
443 :<|> killUpdateNodeAsyncJob
444 :<|> pollUpdateNodeAsyncJob
445 :<|> waitUpdateNodeAsyncJob
446 :<|> deleteNode
447 :<|> getNodeChildren
448 :<|> getNodeTable
449 :<|> postNodeTableQuery
450 :<|> getNodeTableHash
451 :<|> getNodeNgramsTable
452 :<|> putNodeNgramsTablePatch
453 :<|> postNodeRecomputeNgramsTableScores
454 :<|> getNodeNgramsTableVersion
455 :<|> postNodeUpdateNgramsTableChartsAsync
456 :<|> postNodeUpdateNgramsTableChartsAsyncJob
457 :<|> killNodeUpdateNgramsTableChartsAsyncJob
458 :<|> pollNodeUpdateNgramsTableChartsAsyncJob
459 :<|> waitNodeUpdateNgramsTableChartsAsyncJob
460 :<|> putNodeCategory
461 :<|> putNodeScore
462 :<|> postNodeSearch
463 :<|> postNodeShare
464 :<|> postNodePairCorpusAnnuaire
465 :<|> getNodePairs
466 :<|> getNodePairings
467 :<|> getNodeScatterMetrics
468 :<|> postNodeScatterMetricsUpdate
469 :<|> getNodeScatterMetricsHash
470 :<|> getNodeChart
471 :<|> postNodeChartUpdate
472 :<|> getNodeChartHash
473 :<|> getNodePie
474 :<|> postNodePieUpdate
475 :<|> getNodePieHash
476 :<|> getNodeTree
477 :<|> postNodeTreeUpdate
478 :<|> getNodeTreeHash
479 :<|> getNodePhylo
480 :<|> putNodePhylo
481 :<|> putNodeMove
482 :<|> postNodeUnpublish
483 :<|> getNodeFile
484 :<|> postNodeFileAsync
485 :<|> postNodeFileAsyncJob
486 :<|> killNodeFileAsyncJob
487 :<|> pollNodeFileAsyncJob
488 :<|> waitNodeFileAsyncJob
489 :<|> postNodeDocumentWriteNodesAsync
490 :<|> postNodeDocumentWriteNodesAsyncJob
491 :<|> killNodeDocumentWriteNodesAsyncJob
492 :<|> pollNodeDocumentWriteNodesAsyncJob
493 :<|> waitNodeDocumentWriteNodesAsyncJob
494 :<|> postNodeDocumentUploadAsync
495 :<|> postNodeDocumentUploadAsyncJob
496 :<|> killNodeDocumentUploadAsyncJob
497 :<|> pollNodeDocumentUploadAsyncJob
498 :<|> waitNodeDocumentUploadAsyncJob
499 :<|> getCorpus
500 :<|> renameCorpus
501 :<|> postCorpus
502 :<|> postCorpusAsync
503 :<|> postCorpusAsyncJob
504 :<|> killCorpusAsyncJob
505 :<|> pollCorpusAsyncJob
506 :<|> waitCorpusAsyncJob
507 :<|> postCorpusFrameCalcAsync
508 :<|> postCorpusFrameCalcAsyncJob
509 :<|> killCorpusFrameCalcAsyncJob
510 :<|> pollCorpusFrameCalcAsyncJob
511 :<|> waitCorpusFrameCalcAsyncJob
512 :<|> putCorpus
513 :<|> postUpdateCorpusAsync
514 :<|> postUpdateCorpusAsyncJob
515 :<|> killUpdateCorpusAsyncJob
516 :<|> pollUpdateCorpusAsyncJob
517 :<|> waitUpdateCorpusAsyncJob
518 :<|> deleteCorpus
519 :<|> getCorpusChildren
520 :<|> getCorpusTable
521 :<|> postCorpusTableQuery
522 :<|> getCorpusTableHash
523 :<|> getCorpusNgramsTable
524 :<|> putCorpusNgramsTablePatch
525 :<|> postCorpusRecomputeNgramsTableScores
526 :<|> getCorpusNgramsTableVersion
527 :<|> postCorpusUpdateNgramsTableChartsAsync
528 :<|> postCorpusUpdateNgramsTableChartsAsyncJob
529 :<|> killCorpusUpdateNgramsTableChartsAsyncJob
530 :<|> pollCorpusUpdateNgramsTableChartsAsyncJob
531 :<|> waitCorpusUpdateNgramsTableChartsAsyncJob
532 :<|> putCorpusCategory
533 :<|> putCorpusScore
534 :<|> postCorpusSearch
535 :<|> postCorpusShare
536 :<|> postCorpusPairCorpusAnnuaire
537 :<|> getCorpusPairs
538 :<|> getCorpusPairings
539 :<|> getCorpusScatterMetrics
540 :<|> postCorpusScatterMetricsUpdate
541 :<|> getCorpusScatterMetricsHash
542 :<|> getCorpusChart
543 :<|> postCorpusChartUpdate
544 :<|> getCorpusChartHash
545 :<|> getCorpusPie
546 :<|> postCorpusPieUpdate
547 :<|> getCorpusPieHash
548 :<|> getCorpusTree
549 :<|> postCorpusTreeUpdate
550 :<|> getCorpusTreeHash
551 :<|> getCorpusPhylo
552 :<|> putCorpusPhylo
553 :<|> putCorpusMove
554 :<|> postCorpusUnpublish
555 :<|> getCorpusFile
556 :<|> postCorpusFileAsync
557 :<|> postCorpusFileAsyncJob
558 :<|> killCorpusFileAsyncJob
559 :<|> pollCorpusFileAsyncJob
560 :<|> waitCorpusFileAsyncJob
561 :<|> postCorpusDocumentWriteNodesAsync
562 :<|> postCorpusDocumentWriteNodesAsyncJob
563 :<|> killCorpusDocumentWriteNodesAsyncJob
564 :<|> pollCorpusDocumentWriteNodesAsyncJob
565 :<|> waitCorpusDocumentWriteNodesAsyncJob
566 :<|> postCorpusDocumentUploadAsync
567 :<|> postCorpusDocumentUploadAsyncJob
568 :<|> killCorpusDocumentUploadAsyncJob
569 :<|> pollCorpusDocumentUploadAsyncJob
570 :<|> waitCorpusDocumentUploadAsyncJob
571 :<|> getCorpusNodeNode
572 :<|> getCorpusExport
573 :<|> getAnnuaire
574 :<|> renameAnnuaire
575 :<|> postAnnuaire
576 :<|> postAnnuaireAsync
577 :<|> postAnnuaireAsyncJob
578 :<|> killAnnuaireAsyncJob
579 :<|> pollAnnuaireAsyncJob
580 :<|> waitAnnuaireAsyncJob
581 :<|> postAnnuaireFrameCalcAsync
582 :<|> postAnnuaireFrameCalcAsyncJob
583 :<|> killAnnuaireFrameCalcAsyncJob
584 :<|> pollAnnuaireFrameCalcAsyncJob
585 :<|> waitAnnuaireFrameCalcAsyncJob
586 :<|> putAnnuaire
587 :<|> postUpdateAnnuaireAsync
588 :<|> postUpdateAnnuaireAsyncJob
589 :<|> killUpdateAnnuaireAsyncJob
590 :<|> pollUpdateAnnuaireAsyncJob
591 :<|> waitUpdateAnnuaireAsyncJob
592 :<|> deleteAnnuaire
593 :<|> getAnnuaireChildren
594 :<|> getAnnuaireTable
595 :<|> postAnnuaireTableQuery
596 :<|> getAnnuaireTableHash
597 :<|> getAnnuaireNgramsTable
598 :<|> putAnnuaireNgramsTablePatch
599 :<|> postAnnuaireRecomputeNgramsTableScores
600 :<|> getAnnuaireNgramsTableVersion
601 :<|> postAnnuaireUpdateNgramsTableChartsAsync
602 :<|> postAnnuaireUpdateNgramsTableChartsAsyncJob
603 :<|> killAnnuaireUpdateNgramsTableChartsAsyncJob
604 :<|> pollAnnuaireUpdateNgramsTableChartsAsyncJob
605 :<|> waitAnnuaireUpdateNgramsTableChartsAsyncJob
606 :<|> putAnnuaireCategory
607 :<|> putAnnuaireScore
608 :<|> postAnnuaireSearch
609 :<|> postAnnuaireShare
610 :<|> postAnnuairePairCorpusAnnuaire
611 :<|> getAnnuairePairs
612 :<|> getAnnuairePairings
613 :<|> getAnnuaireScatterMetrics
614 :<|> postAnnuaireScatterMetricsUpdate
615 :<|> getAnnuaireScatterMetricsHash
616 :<|> getAnnuaireChart
617 :<|> postAnnuaireChartUpdate
618 :<|> getAnnuaireChartHash
619 :<|> getAnnuairePie
620 :<|> postAnnuairePieUpdate
621 :<|> getAnnuairePieHash
622 :<|> getAnnuaireTree
623 :<|> postAnnuaireTreeUpdate
624 :<|> getAnnuaireTreeHash
625 :<|> getAnnuairePhylo
626 :<|> putAnnuairePhylo
627 :<|> putAnnuaireMove
628 :<|> postAnnuaireUnpublish
629 :<|> getAnnuaireFile
630 :<|> postAnnuaireFileAsync
631 :<|> postAnnuaireFileAsyncJob
632 :<|> killAnnuaireFileAsyncJob
633 :<|> pollAnnuaireFileAsyncJob
634 :<|> waitAnnuaireFileAsyncJob
635 :<|> postAnnuaireDocumentWriteNodesAsync
636 :<|> postAnnuaireDocumentWriteNodesAsyncJob
637 :<|> killAnnuaireDocumentWriteNodesAsyncJob
638 :<|> pollAnnuaireDocumentWriteNodesAsyncJob
639 :<|> waitAnnuaireDocumentWriteNodesAsyncJob
640 :<|> postAnnuaireDocumentUploadAsync
641 :<|> postAnnuaireDocumentUploadAsyncJob
642 :<|> killAnnuaireDocumentUploadAsyncJob
643 :<|> pollAnnuaireDocumentUploadAsyncJob
644 :<|> waitAnnuaireDocumentUploadAsyncJob
645 :<|> postAnnuaireContactAsync
646 :<|> postAnnuaireContactAsyncJob
647 :<|> killAnnuaireContactAsyncJob
648 :<|> pollAnnuaireContactAsyncJob
649 :<|> waitAnnuaireContactAsyncJob
650 :<|> getAnnuaireContactNodeNode
651 :<|> getDocumentNgramsTable
652 :<|> putDocumentNgramsTable
653 :<|> postRecomputeDocumentNgramsTableScore
654 :<|> getDocumentNgramsTableVersion
655 :<|> postDocumentNgramsTableAsync
656 :<|> postDocumentNgramsTableAsyncJob
657 :<|> killDocumentNgramsTableAsyncJob
658 :<|> pollDocumentNgramsTableAsyncJob
659 :<|> waitDocumentNgramsTableAsyncJob
660 :<|> getDocumentExportJSON
661 :<|> getDocumentExportCSV
662 :<|> postCountQuery
663 :<|> getGraphHyperdata
664 :<|> postGraphAsync
665 :<|> postGraphAsyncJob
666 :<|> killGraphAsyncJob
667 :<|> pollGraphAsyncJob
668 :<|> waitGraphAsyncJob
669 :<|> postGraphClone
670 :<|> getGraphGexf
671 :<|> getGraphVersions
672 :<|> postGraphRecomputeVersion
673 :<|> getTree
674 :<|> getTreeFirstLevel
675 :<|> postNewCorpusWithFormAsync
676 :<|> postNewCorpusWithFormAsyncJob
677 :<|> killNewCorpusWithFormAsyncJob
678 :<|> pollNewCorpusWithFormAsyncJob
679 :<|> waitNewCorpusWithFormAsyncJob
680 :<|> postNewCorpusWithQueryAsync
681 :<|> postNewCorpusWithQueryAsyncJob
682 :<|> killNewCorpusWithQueryAsyncJob
683 :<|> pollNewCorpusWithQueryAsyncJob
684 :<|> waitNewCorpusWithQueryAsyncJob
685 :<|> getList
686 :<|> postListJsonUpdateAsync
687 :<|> postListJsonUpdateAsyncJob
688 :<|> killListJsonUpdateAsyncJob
689 :<|> pollListJsonUpdateAsyncJob
690 :<|> waitListJsonUpdateAsyncJob
691 :<|> postListCsvUpdateAsync
692 :<|> postListCsvUpdateAsyncJob
693 :<|> killListCsvUpdateAsyncJob
694 :<|> pollListCsvUpdateAsyncJob
695 :<|> waitListCsvUpdateAsyncJob
696 :<|> getPublicData
697 :<|> getPublicNodeFile
698 = clientApi