@ocelescope/api-base 0.0.0
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 +29 -0
- package/dist/index.d.ts +2022 -0
- package/dist/index.js +1980 -0
- package/package.json +51 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2022 @@
|
|
|
1
|
+
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
|
|
3
|
+
//#region src/lib/fetcher.d.ts
|
|
4
|
+
declare const customFetch: <T>(url: string, options: RequestInit) => Promise<T>;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/api/base.d.ts
|
|
7
|
+
type BodyGetComputedValuesInputOcels = {
|
|
8
|
+
[key: string]: string | null;
|
|
9
|
+
};
|
|
10
|
+
type BodyGetComputedValuesInputResources = {
|
|
11
|
+
[key: string]: string | null;
|
|
12
|
+
};
|
|
13
|
+
type BodyGetComputedValuesInput = {
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
interface BodyGetComputedValues {
|
|
17
|
+
input_ocels: BodyGetComputedValuesInputOcels;
|
|
18
|
+
input_resources: BodyGetComputedValuesInputResources;
|
|
19
|
+
input: BodyGetComputedValuesInput;
|
|
20
|
+
}
|
|
21
|
+
type BodyRunPluginInputOcels = {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
type BodyRunPluginInputResources = {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
type BodyRunPluginInput = {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
interface BodyRunPlugin {
|
|
31
|
+
input_ocels: BodyRunPluginInputOcels;
|
|
32
|
+
input_resources: BodyRunPluginInputResources;
|
|
33
|
+
input?: BodyRunPluginInput;
|
|
34
|
+
}
|
|
35
|
+
interface BodyUpload {
|
|
36
|
+
files: Blob[];
|
|
37
|
+
}
|
|
38
|
+
interface BodyUploadPlugin {
|
|
39
|
+
file: Blob;
|
|
40
|
+
}
|
|
41
|
+
interface BodyUploadResource {
|
|
42
|
+
file: Blob;
|
|
43
|
+
}
|
|
44
|
+
interface BooleanAttribute {
|
|
45
|
+
attribute: string;
|
|
46
|
+
type: 'boolean';
|
|
47
|
+
true_count: number;
|
|
48
|
+
false_count: number;
|
|
49
|
+
}
|
|
50
|
+
interface DateAttribute {
|
|
51
|
+
attribute: string;
|
|
52
|
+
type: 'date';
|
|
53
|
+
min: string;
|
|
54
|
+
max: string;
|
|
55
|
+
}
|
|
56
|
+
type DateDistributionItemEntityCount = {
|
|
57
|
+
[key: string]: number;
|
|
58
|
+
};
|
|
59
|
+
interface DateDistributionItem {
|
|
60
|
+
start_timestamp: string;
|
|
61
|
+
end_timestamp: string;
|
|
62
|
+
entity_count: DateDistributionItemEntityCount;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Definition of a default OCEL on the server, for quick access. Supports pre-loading the OCEL on backend init.
|
|
66
|
+
*/
|
|
67
|
+
interface DefaultOCEL {
|
|
68
|
+
key: string;
|
|
69
|
+
name: string;
|
|
70
|
+
version: string;
|
|
71
|
+
file: string;
|
|
72
|
+
url?: string | null;
|
|
73
|
+
preload?: boolean;
|
|
74
|
+
hide?: boolean;
|
|
75
|
+
}
|
|
76
|
+
type DotVisLayoutEngine = typeof DotVisLayoutEngine[keyof typeof DotVisLayoutEngine];
|
|
77
|
+
declare const DotVisLayoutEngine: {
|
|
78
|
+
readonly circo: "circo";
|
|
79
|
+
readonly dot: "dot";
|
|
80
|
+
readonly fdp: "fdp";
|
|
81
|
+
readonly sfdp: "sfdp";
|
|
82
|
+
readonly neato: "neato";
|
|
83
|
+
readonly osage: "osage";
|
|
84
|
+
readonly patchwork: "patchwork";
|
|
85
|
+
readonly twopi: "twopi";
|
|
86
|
+
readonly nop: "nop";
|
|
87
|
+
readonly nop2: "nop2";
|
|
88
|
+
};
|
|
89
|
+
interface DotVis {
|
|
90
|
+
type?: 'dot';
|
|
91
|
+
dot_str: string;
|
|
92
|
+
layout_engine?: DotVisLayoutEngine;
|
|
93
|
+
}
|
|
94
|
+
type E2OCountFilterDirection = typeof E2OCountFilterDirection[keyof typeof E2OCountFilterDirection];
|
|
95
|
+
declare const E2OCountFilterDirection: {
|
|
96
|
+
readonly source: "source";
|
|
97
|
+
readonly target: "target";
|
|
98
|
+
};
|
|
99
|
+
interface E2OCountFilter {
|
|
100
|
+
source: string;
|
|
101
|
+
target: string;
|
|
102
|
+
mode?: 'include' | 'exclude' | null;
|
|
103
|
+
/**
|
|
104
|
+
* @minItems 2
|
|
105
|
+
* @maxItems 2
|
|
106
|
+
*/
|
|
107
|
+
range: [number | null, number | null];
|
|
108
|
+
qualifier?: string | null;
|
|
109
|
+
direction?: E2OCountFilterDirection;
|
|
110
|
+
}
|
|
111
|
+
interface EntityTimeInfo {
|
|
112
|
+
start_time: string;
|
|
113
|
+
end_time: string;
|
|
114
|
+
date_distribution: DateDistributionItem[];
|
|
115
|
+
}
|
|
116
|
+
interface EventAttributeFilter {
|
|
117
|
+
target_type: string;
|
|
118
|
+
attribute: string;
|
|
119
|
+
time_range?: [string | null, string | null] | null;
|
|
120
|
+
number_range?: [number | null, number | null] | null;
|
|
121
|
+
values?: (string | number)[] | null;
|
|
122
|
+
regex?: string | null;
|
|
123
|
+
}
|
|
124
|
+
type EventTypeFilterMode = typeof EventTypeFilterMode[keyof typeof EventTypeFilterMode];
|
|
125
|
+
declare const EventTypeFilterMode: {
|
|
126
|
+
readonly exclude: "exclude";
|
|
127
|
+
readonly include: "include";
|
|
128
|
+
};
|
|
129
|
+
interface EventTypeFilter {
|
|
130
|
+
event_types: string[];
|
|
131
|
+
mode?: EventTypeFilterMode;
|
|
132
|
+
}
|
|
133
|
+
interface FloatAttribute {
|
|
134
|
+
attribute: string;
|
|
135
|
+
type: 'float';
|
|
136
|
+
min: number;
|
|
137
|
+
max: number;
|
|
138
|
+
}
|
|
139
|
+
interface PluginSource {
|
|
140
|
+
task_id: string;
|
|
141
|
+
plugin_name: string;
|
|
142
|
+
method_name: string;
|
|
143
|
+
version: string;
|
|
144
|
+
}
|
|
145
|
+
interface ResourceApi {
|
|
146
|
+
type: string;
|
|
147
|
+
created_at?: string;
|
|
148
|
+
name: string;
|
|
149
|
+
source: PluginSource | null;
|
|
150
|
+
id: string;
|
|
151
|
+
}
|
|
152
|
+
interface Visualization {
|
|
153
|
+
type: string;
|
|
154
|
+
}
|
|
155
|
+
type GraphNodeShape = typeof GraphNodeShape[keyof typeof GraphNodeShape];
|
|
156
|
+
declare const GraphNodeShape: {
|
|
157
|
+
readonly circle: "circle";
|
|
158
|
+
readonly triangle: "triangle";
|
|
159
|
+
readonly rectangle: "rectangle";
|
|
160
|
+
readonly diamond: "diamond";
|
|
161
|
+
readonly hexagon: "hexagon";
|
|
162
|
+
};
|
|
163
|
+
type GraphNodeLabelPos = typeof GraphNodeLabelPos[keyof typeof GraphNodeLabelPos];
|
|
164
|
+
declare const GraphNodeLabelPos: {
|
|
165
|
+
readonly top: "top";
|
|
166
|
+
readonly center: "center";
|
|
167
|
+
readonly bottom: "bottom";
|
|
168
|
+
};
|
|
169
|
+
type GraphNodeLayoutAttrs = {
|
|
170
|
+
[key: string]: string | number | boolean;
|
|
171
|
+
} | null;
|
|
172
|
+
interface GraphNode {
|
|
173
|
+
annotation?: Visualization | null;
|
|
174
|
+
id?: string;
|
|
175
|
+
label?: string | null;
|
|
176
|
+
shape: GraphNodeShape;
|
|
177
|
+
width?: number | null;
|
|
178
|
+
height?: number | null;
|
|
179
|
+
color?: string | null;
|
|
180
|
+
x?: number | null;
|
|
181
|
+
y?: number | null;
|
|
182
|
+
border_color?: string | null;
|
|
183
|
+
label_pos?: GraphNodeLabelPos;
|
|
184
|
+
rank?: 'source' | 'sink' | number | null;
|
|
185
|
+
layout_attrs?: GraphNodeLayoutAttrs;
|
|
186
|
+
}
|
|
187
|
+
type GraphEdgeLayoutAttrs = {
|
|
188
|
+
[key: string]: string | number | boolean;
|
|
189
|
+
} | null;
|
|
190
|
+
interface GraphEdge {
|
|
191
|
+
annotation?: Visualization | null;
|
|
192
|
+
id?: string;
|
|
193
|
+
source: string;
|
|
194
|
+
target: string;
|
|
195
|
+
color?: string | null;
|
|
196
|
+
label?: string | null;
|
|
197
|
+
start_arrow?: 'triangle' | 'circle-triangle' | 'triangle-backcurve' | 'tee' | 'circle' | 'chevron' | 'triangle-tee' | 'triangle-cross' | 'vee' | 'square' | 'diamond' | null;
|
|
198
|
+
end_arrow?: 'triangle' | 'circle-triangle' | 'triangle-backcurve' | 'tee' | 'circle' | 'chevron' | 'triangle-tee' | 'triangle-cross' | 'vee' | 'square' | 'diamond' | null;
|
|
199
|
+
start_label?: string | null;
|
|
200
|
+
end_label?: string | null;
|
|
201
|
+
layout_attrs?: GraphEdgeLayoutAttrs;
|
|
202
|
+
}
|
|
203
|
+
type GraphvizLayoutConfigEngine = typeof GraphvizLayoutConfigEngine[keyof typeof GraphvizLayoutConfigEngine];
|
|
204
|
+
declare const GraphvizLayoutConfigEngine: {
|
|
205
|
+
readonly circo: "circo";
|
|
206
|
+
readonly dot: "dot";
|
|
207
|
+
readonly fdp: "fdp";
|
|
208
|
+
readonly sfdp: "sfdp";
|
|
209
|
+
readonly neato: "neato";
|
|
210
|
+
readonly osage: "osage";
|
|
211
|
+
readonly patchwork: "patchwork";
|
|
212
|
+
readonly twopi: "twopi";
|
|
213
|
+
readonly nop: "nop";
|
|
214
|
+
readonly nop2: "nop2";
|
|
215
|
+
};
|
|
216
|
+
type GraphvizLayoutConfigGraphAttrs = {
|
|
217
|
+
[key: string]: string | number | boolean;
|
|
218
|
+
} | null;
|
|
219
|
+
type GraphvizLayoutConfigNodeAttrs = {
|
|
220
|
+
[key: string]: string | number | boolean;
|
|
221
|
+
} | null;
|
|
222
|
+
type GraphvizLayoutConfigEdgeAttrs = {
|
|
223
|
+
[key: string]: string | number | boolean;
|
|
224
|
+
} | null;
|
|
225
|
+
interface GraphvizLayoutConfig {
|
|
226
|
+
engine?: GraphvizLayoutConfigEngine;
|
|
227
|
+
graphAttrs?: GraphvizLayoutConfigGraphAttrs;
|
|
228
|
+
nodeAttrs?: GraphvizLayoutConfigNodeAttrs;
|
|
229
|
+
edgeAttrs?: GraphvizLayoutConfigEdgeAttrs;
|
|
230
|
+
}
|
|
231
|
+
interface Graph {
|
|
232
|
+
type?: 'graph';
|
|
233
|
+
nodes?: GraphNode[];
|
|
234
|
+
edges?: GraphEdge[];
|
|
235
|
+
layout_config?: GraphvizLayoutConfig;
|
|
236
|
+
}
|
|
237
|
+
type TableColumnDataType = typeof TableColumnDataType[keyof typeof TableColumnDataType];
|
|
238
|
+
declare const TableColumnDataType: {
|
|
239
|
+
readonly string: "string";
|
|
240
|
+
readonly number: "number";
|
|
241
|
+
readonly boolean: "boolean";
|
|
242
|
+
readonly date: "date";
|
|
243
|
+
readonly datetime: "datetime";
|
|
244
|
+
};
|
|
245
|
+
interface TableColumn {
|
|
246
|
+
id: string;
|
|
247
|
+
label?: string | null;
|
|
248
|
+
data_type?: TableColumnDataType;
|
|
249
|
+
sortable?: boolean;
|
|
250
|
+
visible?: boolean;
|
|
251
|
+
}
|
|
252
|
+
type TableRowsItem = {
|
|
253
|
+
[key: string]: unknown;
|
|
254
|
+
};
|
|
255
|
+
interface Table {
|
|
256
|
+
type?: 'table';
|
|
257
|
+
columns: TableColumn[];
|
|
258
|
+
rows: TableRowsItem[];
|
|
259
|
+
}
|
|
260
|
+
interface SVGVis {
|
|
261
|
+
type?: 'svg';
|
|
262
|
+
svg: string;
|
|
263
|
+
}
|
|
264
|
+
type PlotlyData = {
|
|
265
|
+
[key: string]: unknown;
|
|
266
|
+
};
|
|
267
|
+
interface Plotly {
|
|
268
|
+
type?: 'plotly';
|
|
269
|
+
readonly data: PlotlyData;
|
|
270
|
+
}
|
|
271
|
+
interface GetResourceResponse {
|
|
272
|
+
resource: ResourceApi;
|
|
273
|
+
visualization: Graph | Table | SVGVis | DotVis | Plotly | null;
|
|
274
|
+
}
|
|
275
|
+
interface ValidationError {
|
|
276
|
+
loc: (string | number)[];
|
|
277
|
+
msg: string;
|
|
278
|
+
type: string;
|
|
279
|
+
}
|
|
280
|
+
interface HTTPValidationError {
|
|
281
|
+
detail?: ValidationError[];
|
|
282
|
+
}
|
|
283
|
+
interface IntegerAttribute {
|
|
284
|
+
attribute: string;
|
|
285
|
+
type: 'integer';
|
|
286
|
+
min: number;
|
|
287
|
+
max: number;
|
|
288
|
+
}
|
|
289
|
+
interface NominalAttribute {
|
|
290
|
+
attribute: string;
|
|
291
|
+
type: 'nominal';
|
|
292
|
+
num_unique: number;
|
|
293
|
+
}
|
|
294
|
+
type O2OCountFilterDirection = typeof O2OCountFilterDirection[keyof typeof O2OCountFilterDirection];
|
|
295
|
+
declare const O2OCountFilterDirection: {
|
|
296
|
+
readonly source: "source";
|
|
297
|
+
readonly target: "target";
|
|
298
|
+
};
|
|
299
|
+
interface O2OCountFilter {
|
|
300
|
+
source: string;
|
|
301
|
+
target: string;
|
|
302
|
+
mode?: 'include' | 'exclude' | null;
|
|
303
|
+
/**
|
|
304
|
+
* @minItems 2
|
|
305
|
+
* @maxItems 2
|
|
306
|
+
*/
|
|
307
|
+
range: [number | null, number | null];
|
|
308
|
+
qualifier?: string | null;
|
|
309
|
+
direction?: O2OCountFilterDirection;
|
|
310
|
+
}
|
|
311
|
+
interface OCELAnnotation {
|
|
312
|
+
label: string;
|
|
313
|
+
description?: string | null;
|
|
314
|
+
extension?: string | null;
|
|
315
|
+
}
|
|
316
|
+
interface OCELExtensionDescription {
|
|
317
|
+
name: string;
|
|
318
|
+
label: string;
|
|
319
|
+
description: string;
|
|
320
|
+
}
|
|
321
|
+
type ObjectTypeFilterMode = typeof ObjectTypeFilterMode[keyof typeof ObjectTypeFilterMode];
|
|
322
|
+
declare const ObjectTypeFilterMode: {
|
|
323
|
+
readonly exclude: "exclude";
|
|
324
|
+
readonly include: "include";
|
|
325
|
+
};
|
|
326
|
+
interface ObjectTypeFilter {
|
|
327
|
+
object_types: string[];
|
|
328
|
+
mode?: ObjectTypeFilterMode;
|
|
329
|
+
}
|
|
330
|
+
type TimeFrameFilterMode = typeof TimeFrameFilterMode[keyof typeof TimeFrameFilterMode];
|
|
331
|
+
declare const TimeFrameFilterMode: {
|
|
332
|
+
readonly exclude: "exclude";
|
|
333
|
+
readonly include: "include";
|
|
334
|
+
};
|
|
335
|
+
interface TimeFrameFilter {
|
|
336
|
+
/**
|
|
337
|
+
* @minItems 2
|
|
338
|
+
* @maxItems 2
|
|
339
|
+
*/
|
|
340
|
+
time_range: [string | null, string | null];
|
|
341
|
+
mode?: TimeFrameFilterMode;
|
|
342
|
+
}
|
|
343
|
+
interface ObjectAttributeFilter {
|
|
344
|
+
target_type: string;
|
|
345
|
+
attribute: string;
|
|
346
|
+
time_range?: [string | null, string | null] | null;
|
|
347
|
+
number_range?: [number | null, number | null] | null;
|
|
348
|
+
values?: (string | number)[] | null;
|
|
349
|
+
regex?: string | null;
|
|
350
|
+
}
|
|
351
|
+
interface OCELFilter {
|
|
352
|
+
object_types?: ObjectTypeFilter;
|
|
353
|
+
event_type?: EventTypeFilter;
|
|
354
|
+
time_range?: TimeFrameFilter;
|
|
355
|
+
o2o_count?: O2OCountFilter[];
|
|
356
|
+
e2o_count?: E2OCountFilter[];
|
|
357
|
+
event_attributes?: EventAttributeFilter[];
|
|
358
|
+
object_attributes?: ObjectAttributeFilter[];
|
|
359
|
+
}
|
|
360
|
+
interface OCELResult {
|
|
361
|
+
type?: 'ocel';
|
|
362
|
+
is_list: boolean;
|
|
363
|
+
annotation: OCELAnnotation | null;
|
|
364
|
+
}
|
|
365
|
+
type OcelEntityAttributes = {
|
|
366
|
+
[key: string]: unknown;
|
|
367
|
+
};
|
|
368
|
+
type OcelEntityRelations = {
|
|
369
|
+
[key: string]: string[];
|
|
370
|
+
};
|
|
371
|
+
interface OcelEntity {
|
|
372
|
+
id: string;
|
|
373
|
+
timestamp?: string | null;
|
|
374
|
+
attributes: OcelEntityAttributes;
|
|
375
|
+
relations: OcelEntityRelations;
|
|
376
|
+
}
|
|
377
|
+
interface OcelMetadata {
|
|
378
|
+
id: string;
|
|
379
|
+
name: string;
|
|
380
|
+
created_at: string;
|
|
381
|
+
extensions: OCELExtensionDescription[];
|
|
382
|
+
}
|
|
383
|
+
interface PaginatedResponse {
|
|
384
|
+
page: number;
|
|
385
|
+
page_size: number;
|
|
386
|
+
total_pages: number;
|
|
387
|
+
total_items: number;
|
|
388
|
+
items: OcelEntity[];
|
|
389
|
+
}
|
|
390
|
+
interface PaginatedResponseListStr {
|
|
391
|
+
response: string[];
|
|
392
|
+
page: number;
|
|
393
|
+
page_size: number;
|
|
394
|
+
total_items: number;
|
|
395
|
+
readonly total_pages: number;
|
|
396
|
+
}
|
|
397
|
+
interface PluginMeta {
|
|
398
|
+
name: string;
|
|
399
|
+
version: string;
|
|
400
|
+
label: string;
|
|
401
|
+
description: string | null;
|
|
402
|
+
}
|
|
403
|
+
interface ResourceAnnotation {
|
|
404
|
+
label: string;
|
|
405
|
+
description?: string | null;
|
|
406
|
+
}
|
|
407
|
+
interface ResourceResult {
|
|
408
|
+
type?: 'resource';
|
|
409
|
+
resource_type: string;
|
|
410
|
+
is_list: boolean;
|
|
411
|
+
annotation: ResourceAnnotation | null;
|
|
412
|
+
}
|
|
413
|
+
type PluginMethodInputOcels = {
|
|
414
|
+
[key: string]: OCELAnnotation;
|
|
415
|
+
};
|
|
416
|
+
type PluginMethodInputResources = {
|
|
417
|
+
[key: string]: [string, ResourceAnnotation];
|
|
418
|
+
};
|
|
419
|
+
type PluginMethodInputSchema = {
|
|
420
|
+
[key: string]: unknown;
|
|
421
|
+
} | null;
|
|
422
|
+
interface PluginMethod {
|
|
423
|
+
name: string;
|
|
424
|
+
label?: string | null;
|
|
425
|
+
description?: string | null;
|
|
426
|
+
input_ocels?: PluginMethodInputOcels;
|
|
427
|
+
input_resources?: PluginMethodInputResources;
|
|
428
|
+
results?: (OCELResult | ResourceResult)[];
|
|
429
|
+
readonly input_schema: PluginMethodInputSchema;
|
|
430
|
+
}
|
|
431
|
+
interface PluginApi {
|
|
432
|
+
id: string;
|
|
433
|
+
meta: PluginMeta;
|
|
434
|
+
methods: PluginMethod[];
|
|
435
|
+
}
|
|
436
|
+
interface PluginOutput {
|
|
437
|
+
ocel_ids?: string[];
|
|
438
|
+
resource_ids?: string[];
|
|
439
|
+
}
|
|
440
|
+
type TaskState = typeof TaskState[keyof typeof TaskState];
|
|
441
|
+
declare const TaskState: {
|
|
442
|
+
readonly PENDING: "PENDING";
|
|
443
|
+
readonly STARTED: "STARTED";
|
|
444
|
+
readonly SUCCESS: "SUCCESS";
|
|
445
|
+
readonly FAILURE: "FAILURE";
|
|
446
|
+
readonly SKIPPED: "SKIPPED";
|
|
447
|
+
readonly CANCELLED: "CANCELLED";
|
|
448
|
+
};
|
|
449
|
+
interface PluginTaskSummary {
|
|
450
|
+
id: string;
|
|
451
|
+
state: TaskState;
|
|
452
|
+
plugin_id: string;
|
|
453
|
+
method_name: string;
|
|
454
|
+
output: PluginOutput;
|
|
455
|
+
}
|
|
456
|
+
interface RelationCountSummary {
|
|
457
|
+
qualifier: string;
|
|
458
|
+
source: string;
|
|
459
|
+
target: string;
|
|
460
|
+
min_count: number;
|
|
461
|
+
max_count: number;
|
|
462
|
+
sum: number;
|
|
463
|
+
}
|
|
464
|
+
interface ResourceInfo {
|
|
465
|
+
label: string;
|
|
466
|
+
description: string | null;
|
|
467
|
+
}
|
|
468
|
+
type SystemTaskSummaryMetadata = {
|
|
469
|
+
[key: string]: unknown;
|
|
470
|
+
};
|
|
471
|
+
interface SystemTaskSummary {
|
|
472
|
+
id: string;
|
|
473
|
+
state: TaskState;
|
|
474
|
+
name: string;
|
|
475
|
+
metadata: SystemTaskSummaryMetadata;
|
|
476
|
+
}
|
|
477
|
+
type OcelotPaginatedEventsParams = {
|
|
478
|
+
/**
|
|
479
|
+
* Activity name
|
|
480
|
+
*/
|
|
481
|
+
type: string;
|
|
482
|
+
/**
|
|
483
|
+
* @minimum 1
|
|
484
|
+
*/
|
|
485
|
+
page?: number;
|
|
486
|
+
/**
|
|
487
|
+
* @minimum 1
|
|
488
|
+
* @maximum 100
|
|
489
|
+
*/
|
|
490
|
+
page_size?: number;
|
|
491
|
+
sort_by?: string | null;
|
|
492
|
+
ascending?: boolean;
|
|
493
|
+
ocel_id?: string | null;
|
|
494
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
495
|
+
};
|
|
496
|
+
type OcelotPaginatedObjectsParams = {
|
|
497
|
+
/**
|
|
498
|
+
* Object type name
|
|
499
|
+
*/
|
|
500
|
+
type: string;
|
|
501
|
+
/**
|
|
502
|
+
* @minimum 1
|
|
503
|
+
*/
|
|
504
|
+
page?: number;
|
|
505
|
+
/**
|
|
506
|
+
* @minimum 1
|
|
507
|
+
* @maximum 100
|
|
508
|
+
*/
|
|
509
|
+
page_size?: number;
|
|
510
|
+
sort_by?: string | null;
|
|
511
|
+
ascending?: boolean;
|
|
512
|
+
ocel_id?: string | null;
|
|
513
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
514
|
+
};
|
|
515
|
+
type OcelotGetObjectChangesParams = {
|
|
516
|
+
ocel_id?: string | null;
|
|
517
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
518
|
+
};
|
|
519
|
+
type OcelotObjectInfoParams = {
|
|
520
|
+
ocel_id?: string | null;
|
|
521
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
522
|
+
};
|
|
523
|
+
type OcelotEventInfoParams = {
|
|
524
|
+
ocel_id?: string | null;
|
|
525
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
526
|
+
};
|
|
527
|
+
type GetOcelsParams = {
|
|
528
|
+
extension_name?: string | null;
|
|
529
|
+
};
|
|
530
|
+
type SetFiltersParams = {
|
|
531
|
+
ocel_id?: string | null;
|
|
532
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
533
|
+
};
|
|
534
|
+
type DeleteOcelParams = {
|
|
535
|
+
ocel_id: string;
|
|
536
|
+
};
|
|
537
|
+
type RenameOcelParams = {
|
|
538
|
+
new_name: string;
|
|
539
|
+
ocel_id?: string | null;
|
|
540
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
541
|
+
};
|
|
542
|
+
type ObjectAttributesParams = {
|
|
543
|
+
ocel_id?: string | null;
|
|
544
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
545
|
+
};
|
|
546
|
+
type ObjectAttributes200 = {
|
|
547
|
+
[key: string]: (IntegerAttribute | FloatAttribute | BooleanAttribute | DateAttribute | NominalAttribute)[];
|
|
548
|
+
};
|
|
549
|
+
type EventAttributesParams = {
|
|
550
|
+
ocel_id?: string | null;
|
|
551
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
552
|
+
};
|
|
553
|
+
type EventAttributes200 = {
|
|
554
|
+
[key: string]: (IntegerAttribute | FloatAttribute | BooleanAttribute | DateAttribute | NominalAttribute)[];
|
|
555
|
+
};
|
|
556
|
+
type EventCountsParams = {
|
|
557
|
+
ocel_id?: string | null;
|
|
558
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
559
|
+
};
|
|
560
|
+
type EventCounts200 = {
|
|
561
|
+
[key: string]: number;
|
|
562
|
+
};
|
|
563
|
+
type TimeInfoParams = {
|
|
564
|
+
periods?: number | null;
|
|
565
|
+
freq?: string | null;
|
|
566
|
+
ocel_id?: string | null;
|
|
567
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
568
|
+
};
|
|
569
|
+
type ObjectCountsParams = {
|
|
570
|
+
ocel_id?: string | null;
|
|
571
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
572
|
+
};
|
|
573
|
+
type ObjectCounts200 = {
|
|
574
|
+
[key: string]: number;
|
|
575
|
+
};
|
|
576
|
+
type E2oParams = {
|
|
577
|
+
direction?: E2oDirection;
|
|
578
|
+
ocel_id?: string | null;
|
|
579
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
580
|
+
};
|
|
581
|
+
type E2oDirection = typeof E2oDirection[keyof typeof E2oDirection];
|
|
582
|
+
declare const E2oDirection: {
|
|
583
|
+
readonly source: "source";
|
|
584
|
+
readonly target: "target";
|
|
585
|
+
};
|
|
586
|
+
type O2oParams = {
|
|
587
|
+
direction?: O2oDirection;
|
|
588
|
+
ocel_id?: string | null;
|
|
589
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
590
|
+
};
|
|
591
|
+
type O2oDirection = typeof O2oDirection[keyof typeof O2oDirection];
|
|
592
|
+
declare const O2oDirection: {
|
|
593
|
+
readonly source: "source";
|
|
594
|
+
readonly target: "target";
|
|
595
|
+
};
|
|
596
|
+
type EventIdsParams = {
|
|
597
|
+
search?: string | null;
|
|
598
|
+
size?: number;
|
|
599
|
+
page?: number;
|
|
600
|
+
ocel_id?: string | null;
|
|
601
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
602
|
+
};
|
|
603
|
+
type ObjectIdsParams = {
|
|
604
|
+
search?: string | null;
|
|
605
|
+
size?: number;
|
|
606
|
+
page?: number;
|
|
607
|
+
ocel_id?: string | null;
|
|
608
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
609
|
+
};
|
|
610
|
+
type GetFiltersParams = {
|
|
611
|
+
ocel_id?: string | null;
|
|
612
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
613
|
+
};
|
|
614
|
+
type GetExtensionMeta200 = {
|
|
615
|
+
[key: string]: OCELExtensionDescription;
|
|
616
|
+
};
|
|
617
|
+
type GetDefaultOcelParams = {
|
|
618
|
+
only_latest_versions?: boolean;
|
|
619
|
+
only_preloaded?: boolean;
|
|
620
|
+
};
|
|
621
|
+
type ImportDefaultOcelParams = {
|
|
622
|
+
/**
|
|
623
|
+
* Default OCEL key
|
|
624
|
+
*/
|
|
625
|
+
key: string;
|
|
626
|
+
/**
|
|
627
|
+
* Dataset version (optional)
|
|
628
|
+
*/
|
|
629
|
+
version?: string | null;
|
|
630
|
+
};
|
|
631
|
+
type DownloadOcelOcelsDownloadGetParams = {
|
|
632
|
+
ext: DownloadOcelOcelsDownloadGetExt;
|
|
633
|
+
ocel_id?: string | null;
|
|
634
|
+
ocel_version?: 'original' | 'filtered' | null;
|
|
635
|
+
};
|
|
636
|
+
type DownloadOcelOcelsDownloadGetExt = typeof DownloadOcelOcelsDownloadGetExt[keyof typeof DownloadOcelOcelsDownloadGetExt];
|
|
637
|
+
declare const DownloadOcelOcelsDownloadGetExt: {
|
|
638
|
+
readonly xml: ".xml";
|
|
639
|
+
readonly json: ".json";
|
|
640
|
+
readonly sqlite: ".sqlite";
|
|
641
|
+
};
|
|
642
|
+
type GetSystemTasksParams = {
|
|
643
|
+
task_name?: string | null;
|
|
644
|
+
task_ids?: string[] | null;
|
|
645
|
+
only_running?: boolean;
|
|
646
|
+
};
|
|
647
|
+
type GetPluginTasksParams = {
|
|
648
|
+
plugin_id: string | null;
|
|
649
|
+
method_name: string | null;
|
|
650
|
+
only_running?: boolean;
|
|
651
|
+
};
|
|
652
|
+
type ResourcesParams = {
|
|
653
|
+
resource_type?: string | null;
|
|
654
|
+
};
|
|
655
|
+
type GetResourceMeta200 = {
|
|
656
|
+
[key: string]: ResourceInfo;
|
|
657
|
+
};
|
|
658
|
+
type RenameResourceParams = {
|
|
659
|
+
new_name: string;
|
|
660
|
+
};
|
|
661
|
+
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
662
|
+
/**
|
|
663
|
+
* @summary Get Events
|
|
664
|
+
*/
|
|
665
|
+
declare const getOcelotPaginatedEventsUrl: (params: OcelotPaginatedEventsParams) => string;
|
|
666
|
+
declare const ocelotPaginatedEvents: (params: OcelotPaginatedEventsParams, options?: RequestInit) => Promise<PaginatedResponse>;
|
|
667
|
+
declare const getOcelotPaginatedEventsQueryKey: (params?: OcelotPaginatedEventsParams) => readonly ["/api/external/ocelot/events", ...OcelotPaginatedEventsParams[]];
|
|
668
|
+
declare const getOcelotPaginatedEventsQueryOptions: <TData = Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError = HTTPValidationError>(params: OcelotPaginatedEventsParams, options?: {
|
|
669
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError, TData>>;
|
|
670
|
+
request?: SecondParameter<typeof customFetch>;
|
|
671
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError, TData> & {
|
|
672
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
673
|
+
};
|
|
674
|
+
type OcelotPaginatedEventsQueryResult = NonNullable<Awaited<ReturnType<typeof ocelotPaginatedEvents>>>;
|
|
675
|
+
type OcelotPaginatedEventsQueryError = HTTPValidationError;
|
|
676
|
+
declare function useOcelotPaginatedEvents<TData = Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError = HTTPValidationError>(params: OcelotPaginatedEventsParams, options: {
|
|
677
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError, Awaited<ReturnType<typeof ocelotPaginatedEvents>>>, 'initialData'>;
|
|
678
|
+
request?: SecondParameter<typeof customFetch>;
|
|
679
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
680
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
681
|
+
};
|
|
682
|
+
declare function useOcelotPaginatedEvents<TData = Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError = HTTPValidationError>(params: OcelotPaginatedEventsParams, options?: {
|
|
683
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError, Awaited<ReturnType<typeof ocelotPaginatedEvents>>>, 'initialData'>;
|
|
684
|
+
request?: SecondParameter<typeof customFetch>;
|
|
685
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
686
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
687
|
+
};
|
|
688
|
+
declare function useOcelotPaginatedEvents<TData = Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError = HTTPValidationError>(params: OcelotPaginatedEventsParams, options?: {
|
|
689
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedEvents>>, TError, TData>>;
|
|
690
|
+
request?: SecondParameter<typeof customFetch>;
|
|
691
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
692
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
693
|
+
};
|
|
694
|
+
/**
|
|
695
|
+
* @summary Get Objects
|
|
696
|
+
*/
|
|
697
|
+
declare const getOcelotPaginatedObjectsUrl: (params: OcelotPaginatedObjectsParams) => string;
|
|
698
|
+
declare const ocelotPaginatedObjects: (params: OcelotPaginatedObjectsParams, options?: RequestInit) => Promise<PaginatedResponse>;
|
|
699
|
+
declare const getOcelotPaginatedObjectsQueryKey: (params?: OcelotPaginatedObjectsParams) => readonly ["/api/external/ocelot/objects", ...OcelotPaginatedObjectsParams[]];
|
|
700
|
+
declare const getOcelotPaginatedObjectsQueryOptions: <TData = Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError = HTTPValidationError>(params: OcelotPaginatedObjectsParams, options?: {
|
|
701
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError, TData>>;
|
|
702
|
+
request?: SecondParameter<typeof customFetch>;
|
|
703
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError, TData> & {
|
|
704
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
705
|
+
};
|
|
706
|
+
type OcelotPaginatedObjectsQueryResult = NonNullable<Awaited<ReturnType<typeof ocelotPaginatedObjects>>>;
|
|
707
|
+
type OcelotPaginatedObjectsQueryError = HTTPValidationError;
|
|
708
|
+
declare function useOcelotPaginatedObjects<TData = Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError = HTTPValidationError>(params: OcelotPaginatedObjectsParams, options: {
|
|
709
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError, Awaited<ReturnType<typeof ocelotPaginatedObjects>>>, 'initialData'>;
|
|
710
|
+
request?: SecondParameter<typeof customFetch>;
|
|
711
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
712
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
713
|
+
};
|
|
714
|
+
declare function useOcelotPaginatedObjects<TData = Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError = HTTPValidationError>(params: OcelotPaginatedObjectsParams, options?: {
|
|
715
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError, Awaited<ReturnType<typeof ocelotPaginatedObjects>>>, 'initialData'>;
|
|
716
|
+
request?: SecondParameter<typeof customFetch>;
|
|
717
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
718
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
719
|
+
};
|
|
720
|
+
declare function useOcelotPaginatedObjects<TData = Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError = HTTPValidationError>(params: OcelotPaginatedObjectsParams, options?: {
|
|
721
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotPaginatedObjects>>, TError, TData>>;
|
|
722
|
+
request?: SecondParameter<typeof customFetch>;
|
|
723
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
724
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* @summary Get Object Changes
|
|
728
|
+
*/
|
|
729
|
+
declare const getOcelotGetObjectChangesUrl: (objectId: string, params?: OcelotGetObjectChangesParams) => string;
|
|
730
|
+
declare const ocelotGetObjectChanges: (objectId: string, params?: OcelotGetObjectChangesParams, options?: RequestInit) => Promise<unknown>;
|
|
731
|
+
declare const getOcelotGetObjectChangesQueryKey: (objectId: string, params?: OcelotGetObjectChangesParams) => readonly [`/api/external/ocelot/objects/changes/${string}`, ...OcelotGetObjectChangesParams[]];
|
|
732
|
+
declare const getOcelotGetObjectChangesQueryOptions: <TData = Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError = HTTPValidationError>(objectId: string, params?: OcelotGetObjectChangesParams, options?: {
|
|
733
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError, TData>>;
|
|
734
|
+
request?: SecondParameter<typeof customFetch>;
|
|
735
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError, TData> & {
|
|
736
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
737
|
+
};
|
|
738
|
+
type OcelotGetObjectChangesQueryResult = NonNullable<Awaited<ReturnType<typeof ocelotGetObjectChanges>>>;
|
|
739
|
+
type OcelotGetObjectChangesQueryError = HTTPValidationError;
|
|
740
|
+
declare function useOcelotGetObjectChanges<TData = Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError = HTTPValidationError>(objectId: string, params: undefined | OcelotGetObjectChangesParams, options: {
|
|
741
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError, Awaited<ReturnType<typeof ocelotGetObjectChanges>>>, 'initialData'>;
|
|
742
|
+
request?: SecondParameter<typeof customFetch>;
|
|
743
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
744
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
745
|
+
};
|
|
746
|
+
declare function useOcelotGetObjectChanges<TData = Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError = HTTPValidationError>(objectId: string, params?: OcelotGetObjectChangesParams, options?: {
|
|
747
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError, Awaited<ReturnType<typeof ocelotGetObjectChanges>>>, 'initialData'>;
|
|
748
|
+
request?: SecondParameter<typeof customFetch>;
|
|
749
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
750
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
751
|
+
};
|
|
752
|
+
declare function useOcelotGetObjectChanges<TData = Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError = HTTPValidationError>(objectId: string, params?: OcelotGetObjectChangesParams, options?: {
|
|
753
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotGetObjectChanges>>, TError, TData>>;
|
|
754
|
+
request?: SecondParameter<typeof customFetch>;
|
|
755
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
756
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
757
|
+
};
|
|
758
|
+
/**
|
|
759
|
+
* @summary Get Objects Info
|
|
760
|
+
*/
|
|
761
|
+
declare const getOcelotObjectInfoUrl: (params?: OcelotObjectInfoParams) => string;
|
|
762
|
+
declare const ocelotObjectInfo: (params?: OcelotObjectInfoParams, options?: RequestInit) => Promise<string[]>;
|
|
763
|
+
declare const getOcelotObjectInfoQueryKey: (params?: OcelotObjectInfoParams) => readonly ["/api/external/ocelot/objectInfo", ...OcelotObjectInfoParams[]];
|
|
764
|
+
declare const getOcelotObjectInfoQueryOptions: <TData = Awaited<ReturnType<typeof ocelotObjectInfo>>, TError = HTTPValidationError>(params?: OcelotObjectInfoParams, options?: {
|
|
765
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotObjectInfo>>, TError, TData>>;
|
|
766
|
+
request?: SecondParameter<typeof customFetch>;
|
|
767
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof ocelotObjectInfo>>, TError, TData> & {
|
|
768
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
769
|
+
};
|
|
770
|
+
type OcelotObjectInfoQueryResult = NonNullable<Awaited<ReturnType<typeof ocelotObjectInfo>>>;
|
|
771
|
+
type OcelotObjectInfoQueryError = HTTPValidationError;
|
|
772
|
+
declare function useOcelotObjectInfo<TData = Awaited<ReturnType<typeof ocelotObjectInfo>>, TError = HTTPValidationError>(params: undefined | OcelotObjectInfoParams, options: {
|
|
773
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotObjectInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotObjectInfo>>, TError, Awaited<ReturnType<typeof ocelotObjectInfo>>>, 'initialData'>;
|
|
774
|
+
request?: SecondParameter<typeof customFetch>;
|
|
775
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
776
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
777
|
+
};
|
|
778
|
+
declare function useOcelotObjectInfo<TData = Awaited<ReturnType<typeof ocelotObjectInfo>>, TError = HTTPValidationError>(params?: OcelotObjectInfoParams, options?: {
|
|
779
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotObjectInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotObjectInfo>>, TError, Awaited<ReturnType<typeof ocelotObjectInfo>>>, 'initialData'>;
|
|
780
|
+
request?: SecondParameter<typeof customFetch>;
|
|
781
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
782
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
783
|
+
};
|
|
784
|
+
declare function useOcelotObjectInfo<TData = Awaited<ReturnType<typeof ocelotObjectInfo>>, TError = HTTPValidationError>(params?: OcelotObjectInfoParams, options?: {
|
|
785
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotObjectInfo>>, TError, TData>>;
|
|
786
|
+
request?: SecondParameter<typeof customFetch>;
|
|
787
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
788
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
789
|
+
};
|
|
790
|
+
/**
|
|
791
|
+
* @summary Get Event Info
|
|
792
|
+
*/
|
|
793
|
+
declare const getOcelotEventInfoUrl: (params?: OcelotEventInfoParams) => string;
|
|
794
|
+
declare const ocelotEventInfo: (params?: OcelotEventInfoParams, options?: RequestInit) => Promise<string[]>;
|
|
795
|
+
declare const getOcelotEventInfoQueryKey: (params?: OcelotEventInfoParams) => readonly ["/api/external/ocelot/eventInfo", ...OcelotEventInfoParams[]];
|
|
796
|
+
declare const getOcelotEventInfoQueryOptions: <TData = Awaited<ReturnType<typeof ocelotEventInfo>>, TError = HTTPValidationError>(params?: OcelotEventInfoParams, options?: {
|
|
797
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotEventInfo>>, TError, TData>>;
|
|
798
|
+
request?: SecondParameter<typeof customFetch>;
|
|
799
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof ocelotEventInfo>>, TError, TData> & {
|
|
800
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
801
|
+
};
|
|
802
|
+
type OcelotEventInfoQueryResult = NonNullable<Awaited<ReturnType<typeof ocelotEventInfo>>>;
|
|
803
|
+
type OcelotEventInfoQueryError = HTTPValidationError;
|
|
804
|
+
declare function useOcelotEventInfo<TData = Awaited<ReturnType<typeof ocelotEventInfo>>, TError = HTTPValidationError>(params: undefined | OcelotEventInfoParams, options: {
|
|
805
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotEventInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotEventInfo>>, TError, Awaited<ReturnType<typeof ocelotEventInfo>>>, 'initialData'>;
|
|
806
|
+
request?: SecondParameter<typeof customFetch>;
|
|
807
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
808
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
809
|
+
};
|
|
810
|
+
declare function useOcelotEventInfo<TData = Awaited<ReturnType<typeof ocelotEventInfo>>, TError = HTTPValidationError>(params?: OcelotEventInfoParams, options?: {
|
|
811
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotEventInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof ocelotEventInfo>>, TError, Awaited<ReturnType<typeof ocelotEventInfo>>>, 'initialData'>;
|
|
812
|
+
request?: SecondParameter<typeof customFetch>;
|
|
813
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
814
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
815
|
+
};
|
|
816
|
+
declare function useOcelotEventInfo<TData = Awaited<ReturnType<typeof ocelotEventInfo>>, TError = HTTPValidationError>(params?: OcelotEventInfoParams, options?: {
|
|
817
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof ocelotEventInfo>>, TError, TData>>;
|
|
818
|
+
request?: SecondParameter<typeof customFetch>;
|
|
819
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
820
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
821
|
+
};
|
|
822
|
+
/**
|
|
823
|
+
* @summary Upload ocels, resources or tasks
|
|
824
|
+
*/
|
|
825
|
+
declare const getUploadUrl: () => string;
|
|
826
|
+
declare const upload: (bodyUpload: BodyUpload, options?: RequestInit) => Promise<string[]>;
|
|
827
|
+
declare const getUploadMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
828
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
|
|
829
|
+
data: BodyUpload;
|
|
830
|
+
}, TContext>;
|
|
831
|
+
request?: SecondParameter<typeof customFetch>;
|
|
832
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
|
|
833
|
+
data: BodyUpload;
|
|
834
|
+
}, TContext>;
|
|
835
|
+
type UploadMutationResult = NonNullable<Awaited<ReturnType<typeof upload>>>;
|
|
836
|
+
type UploadMutationBody = BodyUpload;
|
|
837
|
+
type UploadMutationError = HTTPValidationError;
|
|
838
|
+
/**
|
|
839
|
+
* @summary Upload ocels, resources or tasks
|
|
840
|
+
*/
|
|
841
|
+
declare const useUpload: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
842
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
|
|
843
|
+
data: BodyUpload;
|
|
844
|
+
}, TContext>;
|
|
845
|
+
request?: SecondParameter<typeof customFetch>;
|
|
846
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof upload>>, TError, {
|
|
847
|
+
data: BodyUpload;
|
|
848
|
+
}, TContext>;
|
|
849
|
+
/**
|
|
850
|
+
* @summary Deletes the Session
|
|
851
|
+
*/
|
|
852
|
+
declare const getLogoutUrl: () => string;
|
|
853
|
+
declare const logout: (options?: RequestInit) => Promise<unknown>;
|
|
854
|
+
declare const getLogoutMutationOptions: <TError = unknown, TContext = unknown>(options?: {
|
|
855
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
|
|
856
|
+
request?: SecondParameter<typeof customFetch>;
|
|
857
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
|
|
858
|
+
type LogoutMutationResult = NonNullable<Awaited<ReturnType<typeof logout>>>;
|
|
859
|
+
type LogoutMutationError = unknown;
|
|
860
|
+
/**
|
|
861
|
+
* @summary Deletes the Session
|
|
862
|
+
*/
|
|
863
|
+
declare const useLogout: <TError = unknown, TContext = unknown>(options?: {
|
|
864
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
|
|
865
|
+
request?: SecondParameter<typeof customFetch>;
|
|
866
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
|
|
867
|
+
/**
|
|
868
|
+
* Returns metadata for all uploaded OCELs along with any OCEL files currently being imported. Includes the ID of the currently active OCEL, if one is selected.
|
|
869
|
+
* @summary List uploaded and uploading OCELs
|
|
870
|
+
*/
|
|
871
|
+
declare const getGetOcelsUrl: (params?: GetOcelsParams) => string;
|
|
872
|
+
declare const getOcels: (params?: GetOcelsParams, options?: RequestInit) => Promise<OcelMetadata[]>;
|
|
873
|
+
declare const getGetOcelsQueryKey: (params?: GetOcelsParams) => readonly ["/api/external/ocels", ...GetOcelsParams[]];
|
|
874
|
+
declare const getGetOcelsQueryOptions: <TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
|
|
875
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
|
|
876
|
+
request?: SecondParameter<typeof customFetch>;
|
|
877
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData> & {
|
|
878
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
879
|
+
};
|
|
880
|
+
type GetOcelsQueryResult = NonNullable<Awaited<ReturnType<typeof getOcels>>>;
|
|
881
|
+
type GetOcelsQueryError = HTTPValidationError;
|
|
882
|
+
declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params: undefined | GetOcelsParams, options: {
|
|
883
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
|
|
884
|
+
request?: SecondParameter<typeof customFetch>;
|
|
885
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
886
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
887
|
+
};
|
|
888
|
+
declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
|
|
889
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
|
|
890
|
+
request?: SecondParameter<typeof customFetch>;
|
|
891
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
892
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
893
|
+
};
|
|
894
|
+
declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
|
|
895
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
|
|
896
|
+
request?: SecondParameter<typeof customFetch>;
|
|
897
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
898
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
899
|
+
};
|
|
900
|
+
/**
|
|
901
|
+
* @summary Set Filter
|
|
902
|
+
*/
|
|
903
|
+
declare const getSetFiltersUrl: (params?: SetFiltersParams) => string;
|
|
904
|
+
declare const setFilters: (oCELFilterNull: OCELFilter | null, params?: SetFiltersParams, options?: RequestInit) => Promise<OCELFilter | null>;
|
|
905
|
+
declare const getSetFiltersMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
906
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setFilters>>, TError, {
|
|
907
|
+
data: OCELFilter | null;
|
|
908
|
+
params?: SetFiltersParams;
|
|
909
|
+
}, TContext>;
|
|
910
|
+
request?: SecondParameter<typeof customFetch>;
|
|
911
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof setFilters>>, TError, {
|
|
912
|
+
data: OCELFilter | null;
|
|
913
|
+
params?: SetFiltersParams;
|
|
914
|
+
}, TContext>;
|
|
915
|
+
type SetFiltersMutationResult = NonNullable<Awaited<ReturnType<typeof setFilters>>>;
|
|
916
|
+
type SetFiltersMutationBody = OCELFilter | null;
|
|
917
|
+
type SetFiltersMutationError = HTTPValidationError;
|
|
918
|
+
/**
|
|
919
|
+
* @summary Set Filter
|
|
920
|
+
*/
|
|
921
|
+
declare const useSetFilters: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
922
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof setFilters>>, TError, {
|
|
923
|
+
data: OCELFilter | null;
|
|
924
|
+
params?: SetFiltersParams;
|
|
925
|
+
}, TContext>;
|
|
926
|
+
request?: SecondParameter<typeof customFetch>;
|
|
927
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof setFilters>>, TError, {
|
|
928
|
+
data: OCELFilter | null;
|
|
929
|
+
params?: SetFiltersParams;
|
|
930
|
+
}, TContext>;
|
|
931
|
+
/**
|
|
932
|
+
* Deletes the uploaded OCEL with the given `ocel_id`. This action is irreversible and removes the OCEL from the session.
|
|
933
|
+
* @summary Delete an uploaded OCEL
|
|
934
|
+
*/
|
|
935
|
+
declare const getDeleteOcelUrl: (params: DeleteOcelParams) => string;
|
|
936
|
+
declare const deleteOcel: (params: DeleteOcelParams, options?: RequestInit) => Promise<unknown>;
|
|
937
|
+
declare const getDeleteOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
938
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
|
|
939
|
+
params: DeleteOcelParams;
|
|
940
|
+
}, TContext>;
|
|
941
|
+
request?: SecondParameter<typeof customFetch>;
|
|
942
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
|
|
943
|
+
params: DeleteOcelParams;
|
|
944
|
+
}, TContext>;
|
|
945
|
+
type DeleteOcelMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOcel>>>;
|
|
946
|
+
type DeleteOcelMutationError = HTTPValidationError;
|
|
947
|
+
/**
|
|
948
|
+
* @summary Delete an uploaded OCEL
|
|
949
|
+
*/
|
|
950
|
+
declare const useDeleteOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
951
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
|
|
952
|
+
params: DeleteOcelParams;
|
|
953
|
+
}, TContext>;
|
|
954
|
+
request?: SecondParameter<typeof customFetch>;
|
|
955
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOcel>>, TError, {
|
|
956
|
+
params: DeleteOcelParams;
|
|
957
|
+
}, TContext>;
|
|
958
|
+
/**
|
|
959
|
+
* Renames the OCEL represented by the given `ApiOcel` object to `new_name`. This updates the display name used in the UI and metadata.
|
|
960
|
+
* @summary Rename an uploaded OCEL
|
|
961
|
+
*/
|
|
962
|
+
declare const getRenameOcelUrl: (params: RenameOcelParams) => string;
|
|
963
|
+
declare const renameOcel: (params: RenameOcelParams, options?: RequestInit) => Promise<unknown>;
|
|
964
|
+
declare const getRenameOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
965
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
|
|
966
|
+
params: RenameOcelParams;
|
|
967
|
+
}, TContext>;
|
|
968
|
+
request?: SecondParameter<typeof customFetch>;
|
|
969
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
|
|
970
|
+
params: RenameOcelParams;
|
|
971
|
+
}, TContext>;
|
|
972
|
+
type RenameOcelMutationResult = NonNullable<Awaited<ReturnType<typeof renameOcel>>>;
|
|
973
|
+
type RenameOcelMutationError = HTTPValidationError;
|
|
974
|
+
/**
|
|
975
|
+
* @summary Rename an uploaded OCEL
|
|
976
|
+
*/
|
|
977
|
+
declare const useRenameOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
978
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
|
|
979
|
+
params: RenameOcelParams;
|
|
980
|
+
}, TContext>;
|
|
981
|
+
request?: SecondParameter<typeof customFetch>;
|
|
982
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameOcel>>, TError, {
|
|
983
|
+
params: RenameOcelParams;
|
|
984
|
+
}, TContext>;
|
|
985
|
+
/**
|
|
986
|
+
* @summary Get Object Attributes
|
|
987
|
+
*/
|
|
988
|
+
declare const getObjectAttributesUrl: (params?: ObjectAttributesParams) => string;
|
|
989
|
+
declare const objectAttributes: (params?: ObjectAttributesParams, options?: RequestInit) => Promise<ObjectAttributes200>;
|
|
990
|
+
declare const getObjectAttributesQueryKey: (params?: ObjectAttributesParams) => readonly ["/api/external/ocels/objects/attributes", ...ObjectAttributesParams[]];
|
|
991
|
+
declare const getObjectAttributesQueryOptions: <TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(params?: ObjectAttributesParams, options?: {
|
|
992
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
|
|
993
|
+
request?: SecondParameter<typeof customFetch>;
|
|
994
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData> & {
|
|
995
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
996
|
+
};
|
|
997
|
+
type ObjectAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof objectAttributes>>>;
|
|
998
|
+
type ObjectAttributesQueryError = HTTPValidationError;
|
|
999
|
+
declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(params: undefined | ObjectAttributesParams, options: {
|
|
1000
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
|
|
1001
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1002
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1003
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1004
|
+
};
|
|
1005
|
+
declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(params?: ObjectAttributesParams, options?: {
|
|
1006
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
|
|
1007
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1008
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1009
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1010
|
+
};
|
|
1011
|
+
declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(params?: ObjectAttributesParams, options?: {
|
|
1012
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
|
|
1013
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1014
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1015
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* @summary Get Event Attributes
|
|
1019
|
+
*/
|
|
1020
|
+
declare const getEventAttributesUrl: (params?: EventAttributesParams) => string;
|
|
1021
|
+
declare const eventAttributes: (params?: EventAttributesParams, options?: RequestInit) => Promise<EventAttributes200>;
|
|
1022
|
+
declare const getEventAttributesQueryKey: (params?: EventAttributesParams) => readonly ["/api/external/ocels/events/attributes", ...EventAttributesParams[]];
|
|
1023
|
+
declare const getEventAttributesQueryOptions: <TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(params?: EventAttributesParams, options?: {
|
|
1024
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
|
|
1025
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1026
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData> & {
|
|
1027
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1028
|
+
};
|
|
1029
|
+
type EventAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof eventAttributes>>>;
|
|
1030
|
+
type EventAttributesQueryError = HTTPValidationError;
|
|
1031
|
+
declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(params: undefined | EventAttributesParams, options: {
|
|
1032
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
|
|
1033
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1034
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1035
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1036
|
+
};
|
|
1037
|
+
declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(params?: EventAttributesParams, options?: {
|
|
1038
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
|
|
1039
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1040
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1041
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1042
|
+
};
|
|
1043
|
+
declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(params?: EventAttributesParams, options?: {
|
|
1044
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
|
|
1045
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1046
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1047
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1048
|
+
};
|
|
1049
|
+
/**
|
|
1050
|
+
* @summary Get Event Counts
|
|
1051
|
+
*/
|
|
1052
|
+
declare const getEventCountsUrl: (params?: EventCountsParams) => string;
|
|
1053
|
+
declare const eventCounts: (params?: EventCountsParams, options?: RequestInit) => Promise<EventCounts200>;
|
|
1054
|
+
declare const getEventCountsQueryKey: (params?: EventCountsParams) => readonly ["/api/external/ocels/events/counts", ...EventCountsParams[]];
|
|
1055
|
+
declare const getEventCountsQueryOptions: <TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(params?: EventCountsParams, options?: {
|
|
1056
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
|
|
1057
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1058
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData> & {
|
|
1059
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1060
|
+
};
|
|
1061
|
+
type EventCountsQueryResult = NonNullable<Awaited<ReturnType<typeof eventCounts>>>;
|
|
1062
|
+
type EventCountsQueryError = HTTPValidationError;
|
|
1063
|
+
declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(params: undefined | EventCountsParams, options: {
|
|
1064
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
|
|
1065
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1066
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1067
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1068
|
+
};
|
|
1069
|
+
declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(params?: EventCountsParams, options?: {
|
|
1070
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
|
|
1071
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1072
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1073
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1074
|
+
};
|
|
1075
|
+
declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(params?: EventCountsParams, options?: {
|
|
1076
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
|
|
1077
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1078
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1079
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* @summary Get Time Info
|
|
1083
|
+
*/
|
|
1084
|
+
declare const getTimeInfoUrl: (params?: TimeInfoParams) => string;
|
|
1085
|
+
declare const timeInfo: (params?: TimeInfoParams, options?: RequestInit) => Promise<EntityTimeInfo>;
|
|
1086
|
+
declare const getTimeInfoQueryKey: (params?: TimeInfoParams) => readonly ["/api/external/ocels/events/time", ...TimeInfoParams[]];
|
|
1087
|
+
declare const getTimeInfoQueryOptions: <TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(params?: TimeInfoParams, options?: {
|
|
1088
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
|
|
1089
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1090
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData> & {
|
|
1091
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1092
|
+
};
|
|
1093
|
+
type TimeInfoQueryResult = NonNullable<Awaited<ReturnType<typeof timeInfo>>>;
|
|
1094
|
+
type TimeInfoQueryError = HTTPValidationError;
|
|
1095
|
+
declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(params: undefined | TimeInfoParams, options: {
|
|
1096
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
|
|
1097
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1098
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1099
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1100
|
+
};
|
|
1101
|
+
declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(params?: TimeInfoParams, options?: {
|
|
1102
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
|
|
1103
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1104
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1105
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1106
|
+
};
|
|
1107
|
+
declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(params?: TimeInfoParams, options?: {
|
|
1108
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
|
|
1109
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1110
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1111
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1112
|
+
};
|
|
1113
|
+
/**
|
|
1114
|
+
* @summary Get Object Counts
|
|
1115
|
+
*/
|
|
1116
|
+
declare const getObjectCountsUrl: (params?: ObjectCountsParams) => string;
|
|
1117
|
+
declare const objectCounts: (params?: ObjectCountsParams, options?: RequestInit) => Promise<ObjectCounts200>;
|
|
1118
|
+
declare const getObjectCountsQueryKey: (params?: ObjectCountsParams) => readonly ["/api/external/ocels/objects/counts", ...ObjectCountsParams[]];
|
|
1119
|
+
declare const getObjectCountsQueryOptions: <TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(params?: ObjectCountsParams, options?: {
|
|
1120
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
|
|
1121
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1122
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData> & {
|
|
1123
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1124
|
+
};
|
|
1125
|
+
type ObjectCountsQueryResult = NonNullable<Awaited<ReturnType<typeof objectCounts>>>;
|
|
1126
|
+
type ObjectCountsQueryError = HTTPValidationError;
|
|
1127
|
+
declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(params: undefined | ObjectCountsParams, options: {
|
|
1128
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
|
|
1129
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1130
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1131
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1132
|
+
};
|
|
1133
|
+
declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(params?: ObjectCountsParams, options?: {
|
|
1134
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
|
|
1135
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1136
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1137
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1138
|
+
};
|
|
1139
|
+
declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(params?: ObjectCountsParams, options?: {
|
|
1140
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
|
|
1141
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1142
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1143
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* @summary Get E2O
|
|
1147
|
+
*/
|
|
1148
|
+
declare const getE2oUrl: (params?: E2oParams) => string;
|
|
1149
|
+
declare const e2o: (params?: E2oParams, options?: RequestInit) => Promise<RelationCountSummary[]>;
|
|
1150
|
+
declare const getE2oQueryKey: (params?: E2oParams) => readonly ["/api/external/ocels/relations/e2o", ...E2oParams[]];
|
|
1151
|
+
declare const getE2oQueryOptions: <TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(params?: E2oParams, options?: {
|
|
1152
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
|
|
1153
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1154
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData> & {
|
|
1155
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1156
|
+
};
|
|
1157
|
+
type E2oQueryResult = NonNullable<Awaited<ReturnType<typeof e2o>>>;
|
|
1158
|
+
type E2oQueryError = HTTPValidationError;
|
|
1159
|
+
declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(params: undefined | E2oParams, options: {
|
|
1160
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
|
|
1161
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1162
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1163
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1164
|
+
};
|
|
1165
|
+
declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(params?: E2oParams, options?: {
|
|
1166
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
|
|
1167
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1168
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1169
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1170
|
+
};
|
|
1171
|
+
declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(params?: E2oParams, options?: {
|
|
1172
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
|
|
1173
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1174
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1175
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1176
|
+
};
|
|
1177
|
+
/**
|
|
1178
|
+
* @summary Get Object Relations
|
|
1179
|
+
*/
|
|
1180
|
+
declare const getO2oUrl: (params?: O2oParams) => string;
|
|
1181
|
+
declare const o2o: (params?: O2oParams, options?: RequestInit) => Promise<RelationCountSummary[]>;
|
|
1182
|
+
declare const getO2oQueryKey: (params?: O2oParams) => readonly ["/api/external/ocels/relations/o2o", ...O2oParams[]];
|
|
1183
|
+
declare const getO2oQueryOptions: <TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(params?: O2oParams, options?: {
|
|
1184
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
|
|
1185
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1186
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData> & {
|
|
1187
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1188
|
+
};
|
|
1189
|
+
type O2oQueryResult = NonNullable<Awaited<ReturnType<typeof o2o>>>;
|
|
1190
|
+
type O2oQueryError = HTTPValidationError;
|
|
1191
|
+
declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(params: undefined | O2oParams, options: {
|
|
1192
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
|
|
1193
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1194
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1195
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1196
|
+
};
|
|
1197
|
+
declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(params?: O2oParams, options?: {
|
|
1198
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
|
|
1199
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1200
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1201
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1202
|
+
};
|
|
1203
|
+
declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(params?: O2oParams, options?: {
|
|
1204
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
|
|
1205
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1206
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1207
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1208
|
+
};
|
|
1209
|
+
/**
|
|
1210
|
+
* @summary Get Event Ids
|
|
1211
|
+
*/
|
|
1212
|
+
declare const getEventIdsUrl: (params?: EventIdsParams) => string;
|
|
1213
|
+
declare const eventIds: (params?: EventIdsParams, options?: RequestInit) => Promise<PaginatedResponseListStr>;
|
|
1214
|
+
declare const getEventIdsQueryKey: (params?: EventIdsParams) => readonly ["/api/external/ocels/events/ids", ...EventIdsParams[]];
|
|
1215
|
+
declare const getEventIdsQueryOptions: <TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(params?: EventIdsParams, options?: {
|
|
1216
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
|
|
1217
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1218
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData> & {
|
|
1219
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1220
|
+
};
|
|
1221
|
+
type EventIdsQueryResult = NonNullable<Awaited<ReturnType<typeof eventIds>>>;
|
|
1222
|
+
type EventIdsQueryError = HTTPValidationError;
|
|
1223
|
+
declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(params: undefined | EventIdsParams, options: {
|
|
1224
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
|
|
1225
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1226
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1227
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1228
|
+
};
|
|
1229
|
+
declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(params?: EventIdsParams, options?: {
|
|
1230
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
|
|
1231
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1232
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1233
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1234
|
+
};
|
|
1235
|
+
declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(params?: EventIdsParams, options?: {
|
|
1236
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
|
|
1237
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1238
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1239
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* @summary Get Object Ids
|
|
1243
|
+
*/
|
|
1244
|
+
declare const getObjectIdsUrl: (params?: ObjectIdsParams) => string;
|
|
1245
|
+
declare const objectIds: (params?: ObjectIdsParams, options?: RequestInit) => Promise<PaginatedResponseListStr>;
|
|
1246
|
+
declare const getObjectIdsQueryKey: (params?: ObjectIdsParams) => readonly ["/api/external/ocels/objects/ids", ...ObjectIdsParams[]];
|
|
1247
|
+
declare const getObjectIdsQueryOptions: <TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(params?: ObjectIdsParams, options?: {
|
|
1248
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
|
|
1249
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1250
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData> & {
|
|
1251
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1252
|
+
};
|
|
1253
|
+
type ObjectIdsQueryResult = NonNullable<Awaited<ReturnType<typeof objectIds>>>;
|
|
1254
|
+
type ObjectIdsQueryError = HTTPValidationError;
|
|
1255
|
+
declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(params: undefined | ObjectIdsParams, options: {
|
|
1256
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
|
|
1257
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1258
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1259
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1260
|
+
};
|
|
1261
|
+
declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(params?: ObjectIdsParams, options?: {
|
|
1262
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
|
|
1263
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1264
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1265
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1266
|
+
};
|
|
1267
|
+
declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(params?: ObjectIdsParams, options?: {
|
|
1268
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
|
|
1269
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1270
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1271
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* @summary Get Filter
|
|
1275
|
+
*/
|
|
1276
|
+
declare const getGetFiltersUrl: (params?: GetFiltersParams) => string;
|
|
1277
|
+
declare const getFilters: (params?: GetFiltersParams, options?: RequestInit) => Promise<OCELFilter | null>;
|
|
1278
|
+
declare const getGetFiltersQueryKey: (params?: GetFiltersParams) => readonly ["/api/external/ocels/filter", ...GetFiltersParams[]];
|
|
1279
|
+
declare const getGetFiltersQueryOptions: <TData = Awaited<ReturnType<typeof getFilters>>, TError = HTTPValidationError>(params?: GetFiltersParams, options?: {
|
|
1280
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFilters>>, TError, TData>>;
|
|
1281
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1282
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getFilters>>, TError, TData> & {
|
|
1283
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1284
|
+
};
|
|
1285
|
+
type GetFiltersQueryResult = NonNullable<Awaited<ReturnType<typeof getFilters>>>;
|
|
1286
|
+
type GetFiltersQueryError = HTTPValidationError;
|
|
1287
|
+
declare function useGetFilters<TData = Awaited<ReturnType<typeof getFilters>>, TError = HTTPValidationError>(params: undefined | GetFiltersParams, options: {
|
|
1288
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFilters>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getFilters>>, TError, Awaited<ReturnType<typeof getFilters>>>, 'initialData'>;
|
|
1289
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1290
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1291
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1292
|
+
};
|
|
1293
|
+
declare function useGetFilters<TData = Awaited<ReturnType<typeof getFilters>>, TError = HTTPValidationError>(params?: GetFiltersParams, options?: {
|
|
1294
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFilters>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getFilters>>, TError, Awaited<ReturnType<typeof getFilters>>>, 'initialData'>;
|
|
1295
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1296
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1297
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1298
|
+
};
|
|
1299
|
+
declare function useGetFilters<TData = Awaited<ReturnType<typeof getFilters>>, TError = HTTPValidationError>(params?: GetFiltersParams, options?: {
|
|
1300
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFilters>>, TError, TData>>;
|
|
1301
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1302
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1303
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* @summary Get Extension Meta
|
|
1307
|
+
*/
|
|
1308
|
+
declare const getGetExtensionMetaUrl: () => string;
|
|
1309
|
+
declare const getExtensionMeta: (options?: RequestInit) => Promise<GetExtensionMeta200>;
|
|
1310
|
+
declare const getGetExtensionMetaQueryKey: () => readonly ["/api/external/ocels/extension/meta"];
|
|
1311
|
+
declare const getGetExtensionMetaQueryOptions: <TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
|
|
1312
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
|
|
1313
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1314
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData> & {
|
|
1315
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1316
|
+
};
|
|
1317
|
+
type GetExtensionMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getExtensionMeta>>>;
|
|
1318
|
+
type GetExtensionMetaQueryError = unknown;
|
|
1319
|
+
declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options: {
|
|
1320
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
|
|
1321
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1322
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1323
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1324
|
+
};
|
|
1325
|
+
declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
|
|
1326
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
|
|
1327
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1328
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1329
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1330
|
+
};
|
|
1331
|
+
declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
|
|
1332
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
|
|
1333
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1334
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1335
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1338
|
+
* @summary Get default OCEL metadata
|
|
1339
|
+
*/
|
|
1340
|
+
declare const getGetDefaultOcelUrl: (params?: GetDefaultOcelParams) => string;
|
|
1341
|
+
declare const getDefaultOcel: (params?: GetDefaultOcelParams, options?: RequestInit) => Promise<DefaultOCEL[]>;
|
|
1342
|
+
declare const getGetDefaultOcelQueryKey: (params?: GetDefaultOcelParams) => readonly ["/api/external/ocels/ocel/default", ...GetDefaultOcelParams[]];
|
|
1343
|
+
declare const getGetDefaultOcelQueryOptions: <TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
|
|
1344
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
|
|
1345
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1346
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData> & {
|
|
1347
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1348
|
+
};
|
|
1349
|
+
type GetDefaultOcelQueryResult = NonNullable<Awaited<ReturnType<typeof getDefaultOcel>>>;
|
|
1350
|
+
type GetDefaultOcelQueryError = HTTPValidationError;
|
|
1351
|
+
declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params: undefined | GetDefaultOcelParams, options: {
|
|
1352
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
|
|
1353
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1354
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1355
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1356
|
+
};
|
|
1357
|
+
declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
|
|
1358
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
|
|
1359
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1360
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1361
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1362
|
+
};
|
|
1363
|
+
declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
|
|
1364
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
|
|
1365
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1366
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1367
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1368
|
+
};
|
|
1369
|
+
/**
|
|
1370
|
+
* @summary Import default OCEL
|
|
1371
|
+
*/
|
|
1372
|
+
declare const getImportDefaultOcelUrl: (params: ImportDefaultOcelParams) => string;
|
|
1373
|
+
declare const importDefaultOcel: (params: ImportDefaultOcelParams, options?: RequestInit) => Promise<unknown>;
|
|
1374
|
+
declare const getImportDefaultOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1375
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
|
|
1376
|
+
params: ImportDefaultOcelParams;
|
|
1377
|
+
}, TContext>;
|
|
1378
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1379
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
|
|
1380
|
+
params: ImportDefaultOcelParams;
|
|
1381
|
+
}, TContext>;
|
|
1382
|
+
type ImportDefaultOcelMutationResult = NonNullable<Awaited<ReturnType<typeof importDefaultOcel>>>;
|
|
1383
|
+
type ImportDefaultOcelMutationError = HTTPValidationError;
|
|
1384
|
+
/**
|
|
1385
|
+
* @summary Import default OCEL
|
|
1386
|
+
*/
|
|
1387
|
+
declare const useImportDefaultOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1388
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
|
|
1389
|
+
params: ImportDefaultOcelParams;
|
|
1390
|
+
}, TContext>;
|
|
1391
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1392
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
|
|
1393
|
+
params: ImportDefaultOcelParams;
|
|
1394
|
+
}, TContext>;
|
|
1395
|
+
/**
|
|
1396
|
+
* @summary Download OCEL including app state
|
|
1397
|
+
*/
|
|
1398
|
+
declare const getDownloadOcelOcelsDownloadGetUrl: (params: DownloadOcelOcelsDownloadGetParams) => string;
|
|
1399
|
+
declare const downloadOcelOcelsDownloadGet: (params: DownloadOcelOcelsDownloadGetParams, options?: RequestInit) => Promise<unknown>;
|
|
1400
|
+
declare const getDownloadOcelOcelsDownloadGetQueryKey: (params?: DownloadOcelOcelsDownloadGetParams) => readonly ["/api/external/ocels/download", ...DownloadOcelOcelsDownloadGetParams[]];
|
|
1401
|
+
declare const getDownloadOcelOcelsDownloadGetQueryOptions: <TData = Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError = HTTPValidationError>(params: DownloadOcelOcelsDownloadGetParams, options?: {
|
|
1402
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError, TData>>;
|
|
1403
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1404
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError, TData> & {
|
|
1405
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1406
|
+
};
|
|
1407
|
+
type DownloadOcelOcelsDownloadGetQueryResult = NonNullable<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>>;
|
|
1408
|
+
type DownloadOcelOcelsDownloadGetQueryError = HTTPValidationError;
|
|
1409
|
+
declare function useDownloadOcelOcelsDownloadGet<TData = Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError = HTTPValidationError>(params: DownloadOcelOcelsDownloadGetParams, options: {
|
|
1410
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError, Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>>, 'initialData'>;
|
|
1411
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1412
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1413
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1414
|
+
};
|
|
1415
|
+
declare function useDownloadOcelOcelsDownloadGet<TData = Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError = HTTPValidationError>(params: DownloadOcelOcelsDownloadGetParams, options?: {
|
|
1416
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError, Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>>, 'initialData'>;
|
|
1417
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1418
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1419
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1420
|
+
};
|
|
1421
|
+
declare function useDownloadOcelOcelsDownloadGet<TData = Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError = HTTPValidationError>(params: DownloadOcelOcelsDownloadGetParams, options?: {
|
|
1422
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOcelOcelsDownloadGet>>, TError, TData>>;
|
|
1423
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1424
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1425
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1426
|
+
};
|
|
1427
|
+
/**
|
|
1428
|
+
* @summary returns all tasks of a session
|
|
1429
|
+
*/
|
|
1430
|
+
declare const getGetSystemTasksUrl: (params?: GetSystemTasksParams) => string;
|
|
1431
|
+
declare const getSystemTasks: (params?: GetSystemTasksParams, options?: RequestInit) => Promise<SystemTaskSummary[]>;
|
|
1432
|
+
declare const getGetSystemTasksQueryKey: (params?: GetSystemTasksParams) => readonly ["/api/external/tasks/system", ...GetSystemTasksParams[]];
|
|
1433
|
+
declare const getGetSystemTasksQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
|
|
1434
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>>;
|
|
1435
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1436
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData> & {
|
|
1437
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1438
|
+
};
|
|
1439
|
+
type GetSystemTasksQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTasks>>>;
|
|
1440
|
+
type GetSystemTasksQueryError = HTTPValidationError;
|
|
1441
|
+
declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params: undefined | GetSystemTasksParams, options: {
|
|
1442
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
|
|
1443
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1444
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1445
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1446
|
+
};
|
|
1447
|
+
declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
|
|
1448
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
|
|
1449
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1450
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1451
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1452
|
+
};
|
|
1453
|
+
declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
|
|
1454
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>>;
|
|
1455
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1456
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1457
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1458
|
+
};
|
|
1459
|
+
/**
|
|
1460
|
+
* @summary returns the task of a given taskId
|
|
1461
|
+
*/
|
|
1462
|
+
declare const getGetSystemTaskUrl: (taskId: string) => string;
|
|
1463
|
+
declare const getSystemTask: (taskId: string, options?: RequestInit) => Promise<SystemTaskSummary>;
|
|
1464
|
+
declare const getGetSystemTaskQueryKey: (taskId: string) => readonly [`/api/external/tasks/system/${string}`];
|
|
1465
|
+
declare const getGetSystemTaskQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
|
|
1466
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>>;
|
|
1467
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1468
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData> & {
|
|
1469
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1470
|
+
};
|
|
1471
|
+
type GetSystemTaskQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTask>>>;
|
|
1472
|
+
type GetSystemTaskQueryError = HTTPValidationError;
|
|
1473
|
+
declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options: {
|
|
1474
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
|
|
1475
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1476
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1477
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1478
|
+
};
|
|
1479
|
+
declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
|
|
1480
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
|
|
1481
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1482
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1483
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1484
|
+
};
|
|
1485
|
+
declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
|
|
1486
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>>;
|
|
1487
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1488
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1489
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1490
|
+
};
|
|
1491
|
+
/**
|
|
1492
|
+
* @summary returns all tasks of a session
|
|
1493
|
+
*/
|
|
1494
|
+
declare const getGetPluginTasksUrl: (params: GetPluginTasksParams) => string;
|
|
1495
|
+
declare const getPluginTasks: (params: GetPluginTasksParams, options?: RequestInit) => Promise<PluginTaskSummary[]>;
|
|
1496
|
+
declare const getGetPluginTasksQueryKey: (params?: GetPluginTasksParams) => readonly ["/api/external/tasks/plugin", ...GetPluginTasksParams[]];
|
|
1497
|
+
declare const getGetPluginTasksQueryOptions: <TData = Awaited<ReturnType<typeof getPluginTasks>>, TError = HTTPValidationError>(params: GetPluginTasksParams, options?: {
|
|
1498
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTasks>>, TError, TData>>;
|
|
1499
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1500
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getPluginTasks>>, TError, TData> & {
|
|
1501
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1502
|
+
};
|
|
1503
|
+
type GetPluginTasksQueryResult = NonNullable<Awaited<ReturnType<typeof getPluginTasks>>>;
|
|
1504
|
+
type GetPluginTasksQueryError = HTTPValidationError;
|
|
1505
|
+
declare function useGetPluginTasks<TData = Awaited<ReturnType<typeof getPluginTasks>>, TError = HTTPValidationError>(params: GetPluginTasksParams, options: {
|
|
1506
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTasks>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginTasks>>, TError, Awaited<ReturnType<typeof getPluginTasks>>>, 'initialData'>;
|
|
1507
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1508
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1509
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1510
|
+
};
|
|
1511
|
+
declare function useGetPluginTasks<TData = Awaited<ReturnType<typeof getPluginTasks>>, TError = HTTPValidationError>(params: GetPluginTasksParams, options?: {
|
|
1512
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTasks>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginTasks>>, TError, Awaited<ReturnType<typeof getPluginTasks>>>, 'initialData'>;
|
|
1513
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1514
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1515
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1516
|
+
};
|
|
1517
|
+
declare function useGetPluginTasks<TData = Awaited<ReturnType<typeof getPluginTasks>>, TError = HTTPValidationError>(params: GetPluginTasksParams, options?: {
|
|
1518
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTasks>>, TError, TData>>;
|
|
1519
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1520
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1521
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1522
|
+
};
|
|
1523
|
+
/**
|
|
1524
|
+
* @summary returns the task of a given taskId
|
|
1525
|
+
*/
|
|
1526
|
+
declare const getGetPluginTaskUrl: (taskId: string) => string;
|
|
1527
|
+
declare const getPluginTask: (taskId: string, options?: RequestInit) => Promise<PluginTaskSummary>;
|
|
1528
|
+
declare const getGetPluginTaskQueryKey: (taskId: string) => readonly [`/api/external/tasks/plugin/${string}`];
|
|
1529
|
+
declare const getGetPluginTaskQueryOptions: <TData = Awaited<ReturnType<typeof getPluginTask>>, TError = HTTPValidationError>(taskId: string, options?: {
|
|
1530
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTask>>, TError, TData>>;
|
|
1531
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1532
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getPluginTask>>, TError, TData> & {
|
|
1533
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1534
|
+
};
|
|
1535
|
+
type GetPluginTaskQueryResult = NonNullable<Awaited<ReturnType<typeof getPluginTask>>>;
|
|
1536
|
+
type GetPluginTaskQueryError = HTTPValidationError;
|
|
1537
|
+
declare function useGetPluginTask<TData = Awaited<ReturnType<typeof getPluginTask>>, TError = HTTPValidationError>(taskId: string, options: {
|
|
1538
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginTask>>, TError, Awaited<ReturnType<typeof getPluginTask>>>, 'initialData'>;
|
|
1539
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1540
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1541
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1542
|
+
};
|
|
1543
|
+
declare function useGetPluginTask<TData = Awaited<ReturnType<typeof getPluginTask>>, TError = HTTPValidationError>(taskId: string, options?: {
|
|
1544
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginTask>>, TError, Awaited<ReturnType<typeof getPluginTask>>>, 'initialData'>;
|
|
1545
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1546
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1547
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1548
|
+
};
|
|
1549
|
+
declare function useGetPluginTask<TData = Awaited<ReturnType<typeof getPluginTask>>, TError = HTTPValidationError>(taskId: string, options?: {
|
|
1550
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginTask>>, TError, TData>>;
|
|
1551
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1552
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1553
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1554
|
+
};
|
|
1555
|
+
/**
|
|
1556
|
+
* @summary Get Plugins
|
|
1557
|
+
*/
|
|
1558
|
+
declare const getPluginsUrl: () => string;
|
|
1559
|
+
declare const plugins: (options?: RequestInit) => Promise<PluginApi[]>;
|
|
1560
|
+
declare const getPluginsQueryKey: () => readonly ["/api/external/plugins"];
|
|
1561
|
+
declare const getPluginsQueryOptions: <TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
|
|
1562
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>>;
|
|
1563
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1564
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData> & {
|
|
1565
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1566
|
+
};
|
|
1567
|
+
type PluginsQueryResult = NonNullable<Awaited<ReturnType<typeof plugins>>>;
|
|
1568
|
+
type PluginsQueryError = unknown;
|
|
1569
|
+
declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options: {
|
|
1570
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
|
|
1571
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1572
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1573
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1574
|
+
};
|
|
1575
|
+
declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
|
|
1576
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
|
|
1577
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1578
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1579
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1580
|
+
};
|
|
1581
|
+
declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
|
|
1582
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>>;
|
|
1583
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1584
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1585
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1586
|
+
};
|
|
1587
|
+
/**
|
|
1588
|
+
* @summary Upload Plugin
|
|
1589
|
+
*/
|
|
1590
|
+
declare const getUploadPluginUrl: () => string;
|
|
1591
|
+
declare const uploadPlugin: (bodyUploadPlugin: BodyUploadPlugin, options?: RequestInit) => Promise<unknown>;
|
|
1592
|
+
declare const getUploadPluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1593
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadPlugin>>, TError, {
|
|
1594
|
+
data: BodyUploadPlugin;
|
|
1595
|
+
}, TContext>;
|
|
1596
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1597
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof uploadPlugin>>, TError, {
|
|
1598
|
+
data: BodyUploadPlugin;
|
|
1599
|
+
}, TContext>;
|
|
1600
|
+
type UploadPluginMutationResult = NonNullable<Awaited<ReturnType<typeof uploadPlugin>>>;
|
|
1601
|
+
type UploadPluginMutationBody = BodyUploadPlugin;
|
|
1602
|
+
type UploadPluginMutationError = HTTPValidationError;
|
|
1603
|
+
/**
|
|
1604
|
+
* @summary Upload Plugin
|
|
1605
|
+
*/
|
|
1606
|
+
declare const useUploadPlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1607
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadPlugin>>, TError, {
|
|
1608
|
+
data: BodyUploadPlugin;
|
|
1609
|
+
}, TContext>;
|
|
1610
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1611
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof uploadPlugin>>, TError, {
|
|
1612
|
+
data: BodyUploadPlugin;
|
|
1613
|
+
}, TContext>;
|
|
1614
|
+
/**
|
|
1615
|
+
* @summary Get Plugin
|
|
1616
|
+
*/
|
|
1617
|
+
declare const getGetPluginUrl: (pluginId: string) => string;
|
|
1618
|
+
declare const getPlugin: (pluginId: string, options?: RequestInit) => Promise<PluginApi | null>;
|
|
1619
|
+
declare const getGetPluginQueryKey: (pluginId: string) => readonly [`/api/external/plugins/${string}`];
|
|
1620
|
+
declare const getGetPluginQueryOptions: <TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
|
|
1621
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>>;
|
|
1622
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1623
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData> & {
|
|
1624
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1625
|
+
};
|
|
1626
|
+
type GetPluginQueryResult = NonNullable<Awaited<ReturnType<typeof getPlugin>>>;
|
|
1627
|
+
type GetPluginQueryError = HTTPValidationError;
|
|
1628
|
+
declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options: {
|
|
1629
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
|
|
1630
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1631
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1632
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1633
|
+
};
|
|
1634
|
+
declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
|
|
1635
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
|
|
1636
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1637
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1638
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1639
|
+
};
|
|
1640
|
+
declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
|
|
1641
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>>;
|
|
1642
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1643
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1644
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1645
|
+
};
|
|
1646
|
+
/**
|
|
1647
|
+
* @summary Delete Plugin
|
|
1648
|
+
*/
|
|
1649
|
+
declare const getDeletePluginUrl: (pluginId: string) => string;
|
|
1650
|
+
declare const deletePlugin: (pluginId: string, options?: RequestInit) => Promise<unknown>;
|
|
1651
|
+
declare const getDeletePluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1652
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
|
|
1653
|
+
pluginId: string;
|
|
1654
|
+
}, TContext>;
|
|
1655
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1656
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
|
|
1657
|
+
pluginId: string;
|
|
1658
|
+
}, TContext>;
|
|
1659
|
+
type DeletePluginMutationResult = NonNullable<Awaited<ReturnType<typeof deletePlugin>>>;
|
|
1660
|
+
type DeletePluginMutationError = HTTPValidationError;
|
|
1661
|
+
/**
|
|
1662
|
+
* @summary Delete Plugin
|
|
1663
|
+
*/
|
|
1664
|
+
declare const useDeletePlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1665
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
|
|
1666
|
+
pluginId: string;
|
|
1667
|
+
}, TContext>;
|
|
1668
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1669
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deletePlugin>>, TError, {
|
|
1670
|
+
pluginId: string;
|
|
1671
|
+
}, TContext>;
|
|
1672
|
+
/**
|
|
1673
|
+
* @summary Get Plugin Method
|
|
1674
|
+
*/
|
|
1675
|
+
declare const getGetPluginMethodUrl: (pluginId: string, methodName: string) => string;
|
|
1676
|
+
declare const getPluginMethod: (pluginId: string, methodName: string, options?: RequestInit) => Promise<PluginMethod | null>;
|
|
1677
|
+
declare const getGetPluginMethodQueryKey: (pluginId: string, methodName: string) => readonly [`/api/external/plugins/${string}/${string}`];
|
|
1678
|
+
declare const getGetPluginMethodQueryOptions: <TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
|
|
1679
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
|
|
1680
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1681
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData> & {
|
|
1682
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1683
|
+
};
|
|
1684
|
+
type GetPluginMethodQueryResult = NonNullable<Awaited<ReturnType<typeof getPluginMethod>>>;
|
|
1685
|
+
type GetPluginMethodQueryError = HTTPValidationError;
|
|
1686
|
+
declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options: {
|
|
1687
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
|
|
1688
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1689
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1690
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1691
|
+
};
|
|
1692
|
+
declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
|
|
1693
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
|
|
1694
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1695
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1696
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1697
|
+
};
|
|
1698
|
+
declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
|
|
1699
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
|
|
1700
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1701
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1702
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1703
|
+
};
|
|
1704
|
+
/**
|
|
1705
|
+
* @summary Run Plugin
|
|
1706
|
+
*/
|
|
1707
|
+
declare const getRunPluginUrl: (pluginId: string, methodName: string) => string;
|
|
1708
|
+
declare const runPlugin: (pluginId: string, methodName: string, bodyRunPlugin: BodyRunPlugin, options?: RequestInit) => Promise<string>;
|
|
1709
|
+
declare const getRunPluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1710
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
|
|
1711
|
+
pluginId: string;
|
|
1712
|
+
methodName: string;
|
|
1713
|
+
data: BodyRunPlugin;
|
|
1714
|
+
}, TContext>;
|
|
1715
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1716
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
|
|
1717
|
+
pluginId: string;
|
|
1718
|
+
methodName: string;
|
|
1719
|
+
data: BodyRunPlugin;
|
|
1720
|
+
}, TContext>;
|
|
1721
|
+
type RunPluginMutationResult = NonNullable<Awaited<ReturnType<typeof runPlugin>>>;
|
|
1722
|
+
type RunPluginMutationBody = BodyRunPlugin;
|
|
1723
|
+
type RunPluginMutationError = HTTPValidationError;
|
|
1724
|
+
/**
|
|
1725
|
+
* @summary Run Plugin
|
|
1726
|
+
*/
|
|
1727
|
+
declare const useRunPlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1728
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
|
|
1729
|
+
pluginId: string;
|
|
1730
|
+
methodName: string;
|
|
1731
|
+
data: BodyRunPlugin;
|
|
1732
|
+
}, TContext>;
|
|
1733
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1734
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof runPlugin>>, TError, {
|
|
1735
|
+
pluginId: string;
|
|
1736
|
+
methodName: string;
|
|
1737
|
+
data: BodyRunPlugin;
|
|
1738
|
+
}, TContext>;
|
|
1739
|
+
/**
|
|
1740
|
+
* @summary Get Computed
|
|
1741
|
+
*/
|
|
1742
|
+
declare const getGetComputedValuesUrl: (pluginId: string, methodName: string, provider: string) => string;
|
|
1743
|
+
declare const getComputedValues: (pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: RequestInit) => Promise<string[]>;
|
|
1744
|
+
declare const getGetComputedValuesMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1745
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, {
|
|
1746
|
+
pluginId: string;
|
|
1747
|
+
methodName: string;
|
|
1748
|
+
provider: string;
|
|
1749
|
+
data: BodyGetComputedValues;
|
|
1750
|
+
}, TContext>;
|
|
1751
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1752
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, {
|
|
1753
|
+
pluginId: string;
|
|
1754
|
+
methodName: string;
|
|
1755
|
+
provider: string;
|
|
1756
|
+
data: BodyGetComputedValues;
|
|
1757
|
+
}, TContext>;
|
|
1758
|
+
type GetComputedValuesMutationResult = NonNullable<Awaited<ReturnType<typeof getComputedValues>>>;
|
|
1759
|
+
type GetComputedValuesMutationBody = BodyGetComputedValues;
|
|
1760
|
+
type GetComputedValuesMutationError = HTTPValidationError;
|
|
1761
|
+
/**
|
|
1762
|
+
* @summary Get Computed
|
|
1763
|
+
*/
|
|
1764
|
+
declare const useGetComputedValues: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1765
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, {
|
|
1766
|
+
pluginId: string;
|
|
1767
|
+
methodName: string;
|
|
1768
|
+
provider: string;
|
|
1769
|
+
data: BodyGetComputedValues;
|
|
1770
|
+
}, TContext>;
|
|
1771
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1772
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof getComputedValues>>, TError, {
|
|
1773
|
+
pluginId: string;
|
|
1774
|
+
methodName: string;
|
|
1775
|
+
provider: string;
|
|
1776
|
+
data: BodyGetComputedValues;
|
|
1777
|
+
}, TContext>;
|
|
1778
|
+
/**
|
|
1779
|
+
* @summary Get Resources
|
|
1780
|
+
*/
|
|
1781
|
+
declare const getResourcesUrl: (params?: ResourcesParams) => string;
|
|
1782
|
+
declare const resources: (params?: ResourcesParams, options?: RequestInit) => Promise<ResourceApi[]>;
|
|
1783
|
+
declare const getResourcesQueryKey: (params?: ResourcesParams) => readonly ["/api/external/resources", ...ResourcesParams[]];
|
|
1784
|
+
declare const getResourcesQueryOptions: <TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
|
|
1785
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>>;
|
|
1786
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1787
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData> & {
|
|
1788
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1789
|
+
};
|
|
1790
|
+
type ResourcesQueryResult = NonNullable<Awaited<ReturnType<typeof resources>>>;
|
|
1791
|
+
type ResourcesQueryError = HTTPValidationError;
|
|
1792
|
+
declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params: undefined | ResourcesParams, options: {
|
|
1793
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
|
|
1794
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1795
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1796
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1797
|
+
};
|
|
1798
|
+
declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
|
|
1799
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
|
|
1800
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1801
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1802
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1803
|
+
};
|
|
1804
|
+
declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
|
|
1805
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>>;
|
|
1806
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1807
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1808
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1809
|
+
};
|
|
1810
|
+
/**
|
|
1811
|
+
* @summary Upload Resource
|
|
1812
|
+
*/
|
|
1813
|
+
declare const getUploadResourceUrl: () => string;
|
|
1814
|
+
declare const uploadResource: (bodyUploadResource: BodyUploadResource, options?: RequestInit) => Promise<unknown>;
|
|
1815
|
+
declare const getUploadResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1816
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
|
|
1817
|
+
data: BodyUploadResource;
|
|
1818
|
+
}, TContext>;
|
|
1819
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1820
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
|
|
1821
|
+
data: BodyUploadResource;
|
|
1822
|
+
}, TContext>;
|
|
1823
|
+
type UploadResourceMutationResult = NonNullable<Awaited<ReturnType<typeof uploadResource>>>;
|
|
1824
|
+
type UploadResourceMutationBody = BodyUploadResource;
|
|
1825
|
+
type UploadResourceMutationError = HTTPValidationError;
|
|
1826
|
+
/**
|
|
1827
|
+
* @summary Upload Resource
|
|
1828
|
+
*/
|
|
1829
|
+
declare const useUploadResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1830
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
|
|
1831
|
+
data: BodyUploadResource;
|
|
1832
|
+
}, TContext>;
|
|
1833
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1834
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof uploadResource>>, TError, {
|
|
1835
|
+
data: BodyUploadResource;
|
|
1836
|
+
}, TContext>;
|
|
1837
|
+
/**
|
|
1838
|
+
* @summary Get Resource Meta
|
|
1839
|
+
*/
|
|
1840
|
+
declare const getGetResourceMetaUrl: () => string;
|
|
1841
|
+
declare const getResourceMeta: (options?: RequestInit) => Promise<GetResourceMeta200>;
|
|
1842
|
+
declare const getGetResourceMetaQueryKey: () => readonly ["/api/external/resources/meta"];
|
|
1843
|
+
declare const getGetResourceMetaQueryOptions: <TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
|
|
1844
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>>;
|
|
1845
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1846
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData> & {
|
|
1847
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1848
|
+
};
|
|
1849
|
+
type GetResourceMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getResourceMeta>>>;
|
|
1850
|
+
type GetResourceMetaQueryError = unknown;
|
|
1851
|
+
declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options: {
|
|
1852
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
|
|
1853
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1854
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1855
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1856
|
+
};
|
|
1857
|
+
declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
|
|
1858
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
|
|
1859
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1860
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1861
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1862
|
+
};
|
|
1863
|
+
declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
|
|
1864
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>>;
|
|
1865
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1866
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1867
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1868
|
+
};
|
|
1869
|
+
/**
|
|
1870
|
+
* @summary Download Resource
|
|
1871
|
+
*/
|
|
1872
|
+
declare const getDownloadResourceUrl: (resourceId: string) => string;
|
|
1873
|
+
declare const downloadResource: (resourceId: string, options?: RequestInit) => Promise<unknown>;
|
|
1874
|
+
declare const getDownloadResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}/download`];
|
|
1875
|
+
declare const getDownloadResourceQueryOptions: <TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
|
|
1876
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>>;
|
|
1877
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1878
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData> & {
|
|
1879
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1880
|
+
};
|
|
1881
|
+
type DownloadResourceQueryResult = NonNullable<Awaited<ReturnType<typeof downloadResource>>>;
|
|
1882
|
+
type DownloadResourceQueryError = HTTPValidationError;
|
|
1883
|
+
declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options: {
|
|
1884
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
|
|
1885
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1886
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1887
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1888
|
+
};
|
|
1889
|
+
declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
|
|
1890
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
|
|
1891
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1892
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1893
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1894
|
+
};
|
|
1895
|
+
declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
|
|
1896
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>>;
|
|
1897
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1898
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1899
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1900
|
+
};
|
|
1901
|
+
/**
|
|
1902
|
+
* @summary Get Resource
|
|
1903
|
+
*/
|
|
1904
|
+
declare const getResourceUrl: (resourceId: string) => string;
|
|
1905
|
+
declare const resource: (resourceId: string, options?: RequestInit) => Promise<GetResourceResponse>;
|
|
1906
|
+
declare const getResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}`];
|
|
1907
|
+
declare const getResourceQueryOptions: <TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
|
|
1908
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>>;
|
|
1909
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1910
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData> & {
|
|
1911
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1912
|
+
};
|
|
1913
|
+
type ResourceQueryResult = NonNullable<Awaited<ReturnType<typeof resource>>>;
|
|
1914
|
+
type ResourceQueryError = HTTPValidationError;
|
|
1915
|
+
declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options: {
|
|
1916
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
|
|
1917
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1918
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1919
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1920
|
+
};
|
|
1921
|
+
declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
|
|
1922
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
|
|
1923
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1924
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1925
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1926
|
+
};
|
|
1927
|
+
declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
|
|
1928
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>>;
|
|
1929
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1930
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1931
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1932
|
+
};
|
|
1933
|
+
/**
|
|
1934
|
+
* @summary Delete Resource
|
|
1935
|
+
*/
|
|
1936
|
+
declare const getDeleteResourceUrl: (resourceId: string) => string;
|
|
1937
|
+
declare const deleteResource: (resourceId: string, options?: RequestInit) => Promise<unknown>;
|
|
1938
|
+
declare const getDeleteResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1939
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
|
|
1940
|
+
resourceId: string;
|
|
1941
|
+
}, TContext>;
|
|
1942
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1943
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
|
|
1944
|
+
resourceId: string;
|
|
1945
|
+
}, TContext>;
|
|
1946
|
+
type DeleteResourceMutationResult = NonNullable<Awaited<ReturnType<typeof deleteResource>>>;
|
|
1947
|
+
type DeleteResourceMutationError = HTTPValidationError;
|
|
1948
|
+
/**
|
|
1949
|
+
* @summary Delete Resource
|
|
1950
|
+
*/
|
|
1951
|
+
declare const useDeleteResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1952
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
|
|
1953
|
+
resourceId: string;
|
|
1954
|
+
}, TContext>;
|
|
1955
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1956
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteResource>>, TError, {
|
|
1957
|
+
resourceId: string;
|
|
1958
|
+
}, TContext>;
|
|
1959
|
+
/**
|
|
1960
|
+
* @summary Rename Resource
|
|
1961
|
+
*/
|
|
1962
|
+
declare const getRenameResourceUrl: (resourceId: string, params: RenameResourceParams) => string;
|
|
1963
|
+
declare const renameResource: (resourceId: string, params: RenameResourceParams, options?: RequestInit) => Promise<unknown>;
|
|
1964
|
+
declare const getRenameResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1965
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
|
|
1966
|
+
resourceId: string;
|
|
1967
|
+
params: RenameResourceParams;
|
|
1968
|
+
}, TContext>;
|
|
1969
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1970
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
|
|
1971
|
+
resourceId: string;
|
|
1972
|
+
params: RenameResourceParams;
|
|
1973
|
+
}, TContext>;
|
|
1974
|
+
type RenameResourceMutationResult = NonNullable<Awaited<ReturnType<typeof renameResource>>>;
|
|
1975
|
+
type RenameResourceMutationError = HTTPValidationError;
|
|
1976
|
+
/**
|
|
1977
|
+
* @summary Rename Resource
|
|
1978
|
+
*/
|
|
1979
|
+
declare const useRenameResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
|
|
1980
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
|
|
1981
|
+
resourceId: string;
|
|
1982
|
+
params: RenameResourceParams;
|
|
1983
|
+
}, TContext>;
|
|
1984
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1985
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameResource>>, TError, {
|
|
1986
|
+
resourceId: string;
|
|
1987
|
+
params: RenameResourceParams;
|
|
1988
|
+
}, TContext>;
|
|
1989
|
+
/**
|
|
1990
|
+
* @summary Sse Endpoint
|
|
1991
|
+
*/
|
|
1992
|
+
declare const getSseEndpointSseGetUrl: () => string;
|
|
1993
|
+
declare const sseEndpointSseGet: (options?: RequestInit) => Promise<unknown>;
|
|
1994
|
+
declare const getSseEndpointSseGetQueryKey: () => readonly ["/api/external/sse"];
|
|
1995
|
+
declare const getSseEndpointSseGetQueryOptions: <TData = Awaited<ReturnType<typeof sseEndpointSseGet>>, TError = unknown>(options?: {
|
|
1996
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof sseEndpointSseGet>>, TError, TData>>;
|
|
1997
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1998
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof sseEndpointSseGet>>, TError, TData> & {
|
|
1999
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2000
|
+
};
|
|
2001
|
+
type SseEndpointSseGetQueryResult = NonNullable<Awaited<ReturnType<typeof sseEndpointSseGet>>>;
|
|
2002
|
+
type SseEndpointSseGetQueryError = unknown;
|
|
2003
|
+
declare function useSseEndpointSseGet<TData = Awaited<ReturnType<typeof sseEndpointSseGet>>, TError = unknown>(options: {
|
|
2004
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof sseEndpointSseGet>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof sseEndpointSseGet>>, TError, Awaited<ReturnType<typeof sseEndpointSseGet>>>, 'initialData'>;
|
|
2005
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2006
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2007
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2008
|
+
};
|
|
2009
|
+
declare function useSseEndpointSseGet<TData = Awaited<ReturnType<typeof sseEndpointSseGet>>, TError = unknown>(options?: {
|
|
2010
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof sseEndpointSseGet>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof sseEndpointSseGet>>, TError, Awaited<ReturnType<typeof sseEndpointSseGet>>>, 'initialData'>;
|
|
2011
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2012
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2013
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2014
|
+
};
|
|
2015
|
+
declare function useSseEndpointSseGet<TData = Awaited<ReturnType<typeof sseEndpointSseGet>>, TError = unknown>(options?: {
|
|
2016
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof sseEndpointSseGet>>, TError, TData>>;
|
|
2017
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2018
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2019
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2020
|
+
};
|
|
2021
|
+
//#endregion
|
|
2022
|
+
export { BodyGetComputedValues, BodyGetComputedValuesInput, BodyGetComputedValuesInputOcels, BodyGetComputedValuesInputResources, BodyRunPlugin, BodyRunPluginInput, BodyRunPluginInputOcels, BodyRunPluginInputResources, BodyUpload, BodyUploadPlugin, BodyUploadResource, BooleanAttribute, DateAttribute, DateDistributionItem, DateDistributionItemEntityCount, DefaultOCEL, DeleteOcelMutationError, DeleteOcelMutationResult, DeleteOcelParams, DeletePluginMutationError, DeletePluginMutationResult, DeleteResourceMutationError, DeleteResourceMutationResult, DotVis, DotVisLayoutEngine, DownloadOcelOcelsDownloadGetExt, DownloadOcelOcelsDownloadGetParams, DownloadOcelOcelsDownloadGetQueryError, DownloadOcelOcelsDownloadGetQueryResult, DownloadResourceQueryError, DownloadResourceQueryResult, E2OCountFilter, E2OCountFilterDirection, E2oDirection, E2oParams, E2oQueryError, E2oQueryResult, EntityTimeInfo, EventAttributeFilter, EventAttributes200, EventAttributesParams, EventAttributesQueryError, EventAttributesQueryResult, EventCounts200, EventCountsParams, EventCountsQueryError, EventCountsQueryResult, EventIdsParams, EventIdsQueryError, EventIdsQueryResult, EventTypeFilter, EventTypeFilterMode, FloatAttribute, GetComputedValuesMutationBody, GetComputedValuesMutationError, GetComputedValuesMutationResult, GetDefaultOcelParams, GetDefaultOcelQueryError, GetDefaultOcelQueryResult, GetExtensionMeta200, GetExtensionMetaQueryError, GetExtensionMetaQueryResult, GetFiltersParams, GetFiltersQueryError, GetFiltersQueryResult, GetOcelsParams, GetOcelsQueryError, GetOcelsQueryResult, GetPluginMethodQueryError, GetPluginMethodQueryResult, GetPluginQueryError, GetPluginQueryResult, GetPluginTaskQueryError, GetPluginTaskQueryResult, GetPluginTasksParams, GetPluginTasksQueryError, GetPluginTasksQueryResult, GetResourceMeta200, GetResourceMetaQueryError, GetResourceMetaQueryResult, GetResourceResponse, GetSystemTaskQueryError, GetSystemTaskQueryResult, GetSystemTasksParams, GetSystemTasksQueryError, GetSystemTasksQueryResult, Graph, GraphEdge, GraphEdgeLayoutAttrs, GraphNode, GraphNodeLabelPos, GraphNodeLayoutAttrs, GraphNodeShape, GraphvizLayoutConfig, GraphvizLayoutConfigEdgeAttrs, GraphvizLayoutConfigEngine, GraphvizLayoutConfigGraphAttrs, GraphvizLayoutConfigNodeAttrs, HTTPValidationError, ImportDefaultOcelMutationError, ImportDefaultOcelMutationResult, ImportDefaultOcelParams, IntegerAttribute, LogoutMutationError, LogoutMutationResult, NominalAttribute, O2OCountFilter, O2OCountFilterDirection, O2oDirection, O2oParams, O2oQueryError, O2oQueryResult, OCELAnnotation, OCELExtensionDescription, OCELFilter, OCELResult, ObjectAttributeFilter, ObjectAttributes200, ObjectAttributesParams, ObjectAttributesQueryError, ObjectAttributesQueryResult, ObjectCounts200, ObjectCountsParams, ObjectCountsQueryError, ObjectCountsQueryResult, ObjectIdsParams, ObjectIdsQueryError, ObjectIdsQueryResult, ObjectTypeFilter, ObjectTypeFilterMode, OcelEntity, OcelEntityAttributes, OcelEntityRelations, OcelMetadata, OcelotEventInfoParams, OcelotEventInfoQueryError, OcelotEventInfoQueryResult, OcelotGetObjectChangesParams, OcelotGetObjectChangesQueryError, OcelotGetObjectChangesQueryResult, OcelotObjectInfoParams, OcelotObjectInfoQueryError, OcelotObjectInfoQueryResult, OcelotPaginatedEventsParams, OcelotPaginatedEventsQueryError, OcelotPaginatedEventsQueryResult, OcelotPaginatedObjectsParams, OcelotPaginatedObjectsQueryError, OcelotPaginatedObjectsQueryResult, PaginatedResponse, PaginatedResponseListStr, Plotly, PlotlyData, PluginApi, PluginMeta, PluginMethod, PluginMethodInputOcels, PluginMethodInputResources, PluginMethodInputSchema, PluginOutput, PluginSource, PluginTaskSummary, PluginsQueryError, PluginsQueryResult, RelationCountSummary, RenameOcelMutationError, RenameOcelMutationResult, RenameOcelParams, RenameResourceMutationError, RenameResourceMutationResult, RenameResourceParams, ResourceAnnotation, ResourceApi, ResourceInfo, ResourceQueryError, ResourceQueryResult, ResourceResult, ResourcesParams, ResourcesQueryError, ResourcesQueryResult, RunPluginMutationBody, RunPluginMutationError, RunPluginMutationResult, SVGVis, SetFiltersMutationBody, SetFiltersMutationError, SetFiltersMutationResult, SetFiltersParams, SseEndpointSseGetQueryError, SseEndpointSseGetQueryResult, SystemTaskSummary, SystemTaskSummaryMetadata, Table, TableColumn, TableColumnDataType, TableRowsItem, TaskState, TimeFrameFilter, TimeFrameFilterMode, TimeInfoParams, TimeInfoQueryError, TimeInfoQueryResult, UploadMutationBody, UploadMutationError, UploadMutationResult, UploadPluginMutationBody, UploadPluginMutationError, UploadPluginMutationResult, UploadResourceMutationBody, UploadResourceMutationError, UploadResourceMutationResult, ValidationError, Visualization, deleteOcel, deletePlugin, deleteResource, downloadOcelOcelsDownloadGet, downloadResource, e2o, eventAttributes, eventCounts, eventIds, getComputedValues, getDefaultOcel, getDeleteOcelMutationOptions, getDeleteOcelUrl, getDeletePluginMutationOptions, getDeletePluginUrl, getDeleteResourceMutationOptions, getDeleteResourceUrl, getDownloadOcelOcelsDownloadGetQueryKey, getDownloadOcelOcelsDownloadGetQueryOptions, getDownloadOcelOcelsDownloadGetUrl, getDownloadResourceQueryKey, getDownloadResourceQueryOptions, getDownloadResourceUrl, getE2oQueryKey, getE2oQueryOptions, getE2oUrl, getEventAttributesQueryKey, getEventAttributesQueryOptions, getEventAttributesUrl, getEventCountsQueryKey, getEventCountsQueryOptions, getEventCountsUrl, getEventIdsQueryKey, getEventIdsQueryOptions, getEventIdsUrl, getExtensionMeta, getFilters, getGetComputedValuesMutationOptions, getGetComputedValuesUrl, getGetDefaultOcelQueryKey, getGetDefaultOcelQueryOptions, getGetDefaultOcelUrl, getGetExtensionMetaQueryKey, getGetExtensionMetaQueryOptions, getGetExtensionMetaUrl, getGetFiltersQueryKey, getGetFiltersQueryOptions, getGetFiltersUrl, getGetOcelsQueryKey, getGetOcelsQueryOptions, getGetOcelsUrl, getGetPluginMethodQueryKey, getGetPluginMethodQueryOptions, getGetPluginMethodUrl, getGetPluginQueryKey, getGetPluginQueryOptions, getGetPluginTaskQueryKey, getGetPluginTaskQueryOptions, getGetPluginTaskUrl, getGetPluginTasksQueryKey, getGetPluginTasksQueryOptions, getGetPluginTasksUrl, getGetPluginUrl, getGetResourceMetaQueryKey, getGetResourceMetaQueryOptions, getGetResourceMetaUrl, getGetSystemTaskQueryKey, getGetSystemTaskQueryOptions, getGetSystemTaskUrl, getGetSystemTasksQueryKey, getGetSystemTasksQueryOptions, getGetSystemTasksUrl, getImportDefaultOcelMutationOptions, getImportDefaultOcelUrl, getLogoutMutationOptions, getLogoutUrl, getO2oQueryKey, getO2oQueryOptions, getO2oUrl, getObjectAttributesQueryKey, getObjectAttributesQueryOptions, getObjectAttributesUrl, getObjectCountsQueryKey, getObjectCountsQueryOptions, getObjectCountsUrl, getObjectIdsQueryKey, getObjectIdsQueryOptions, getObjectIdsUrl, getOcelotEventInfoQueryKey, getOcelotEventInfoQueryOptions, getOcelotEventInfoUrl, getOcelotGetObjectChangesQueryKey, getOcelotGetObjectChangesQueryOptions, getOcelotGetObjectChangesUrl, getOcelotObjectInfoQueryKey, getOcelotObjectInfoQueryOptions, getOcelotObjectInfoUrl, getOcelotPaginatedEventsQueryKey, getOcelotPaginatedEventsQueryOptions, getOcelotPaginatedEventsUrl, getOcelotPaginatedObjectsQueryKey, getOcelotPaginatedObjectsQueryOptions, getOcelotPaginatedObjectsUrl, getOcels, getPlugin, getPluginMethod, getPluginTask, getPluginTasks, getPluginsQueryKey, getPluginsQueryOptions, getPluginsUrl, getRenameOcelMutationOptions, getRenameOcelUrl, getRenameResourceMutationOptions, getRenameResourceUrl, getResourceMeta, getResourceQueryKey, getResourceQueryOptions, getResourceUrl, getResourcesQueryKey, getResourcesQueryOptions, getResourcesUrl, getRunPluginMutationOptions, getRunPluginUrl, getSetFiltersMutationOptions, getSetFiltersUrl, getSseEndpointSseGetQueryKey, getSseEndpointSseGetQueryOptions, getSseEndpointSseGetUrl, getSystemTask, getSystemTasks, getTimeInfoQueryKey, getTimeInfoQueryOptions, getTimeInfoUrl, getUploadMutationOptions, getUploadPluginMutationOptions, getUploadPluginUrl, getUploadResourceMutationOptions, getUploadResourceUrl, getUploadUrl, importDefaultOcel, logout, o2o, objectAttributes, objectCounts, objectIds, ocelotEventInfo, ocelotGetObjectChanges, ocelotObjectInfo, ocelotPaginatedEvents, ocelotPaginatedObjects, plugins, renameOcel, renameResource, resource, resources, runPlugin, setFilters, sseEndpointSseGet, timeInfo, upload, uploadPlugin, uploadResource, useDeleteOcel, useDeletePlugin, useDeleteResource, useDownloadOcelOcelsDownloadGet, useDownloadResource, useE2o, useEventAttributes, useEventCounts, useEventIds, useGetComputedValues, useGetDefaultOcel, useGetExtensionMeta, useGetFilters, useGetOcels, useGetPlugin, useGetPluginMethod, useGetPluginTask, useGetPluginTasks, useGetResourceMeta, useGetSystemTask, useGetSystemTasks, useImportDefaultOcel, useLogout, useO2o, useObjectAttributes, useObjectCounts, useObjectIds, useOcelotEventInfo, useOcelotGetObjectChanges, useOcelotObjectInfo, useOcelotPaginatedEvents, useOcelotPaginatedObjects, usePlugins, useRenameOcel, useRenameResource, useResource, useResources, useRunPlugin, useSetFilters, useSseEndpointSseGet, useTimeInfo, useUpload, useUploadPlugin, useUploadResource };
|