@ocelescope/api-base 0.1.0 → 0.5.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +1727 -1425
  2. package/dist/index.js +1156 -943
  3. package/package.json +11 -11
package/dist/index.d.ts CHANGED
@@ -1,27 +1,9 @@
1
1
  import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
2
2
  import { AxiosRequestConfig } from "axios";
3
-
4
3
  //#region src/lib/fetcher.d.ts
5
4
  declare const customFetch: <T>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<T>;
6
5
  //#endregion
7
- //#region src/api/base.d.ts
8
- type ValueType = typeof ValueType[keyof typeof ValueType];
9
- declare const ValueType: {
10
- readonly empty: "empty";
11
- readonly string: "string";
12
- readonly bool: "bool";
13
- readonly int: "int";
14
- readonly float: "float";
15
- readonly date: "date";
16
- };
17
- interface AggregatedAttribute {
18
- name: string;
19
- min: string | number;
20
- max: string | number;
21
- distinct_values: number;
22
- type: ValueType;
23
- entity_type_names: string[];
24
- }
6
+ //#region src/api/base/index.d.ts
25
7
  interface BodyDownloadPluginResults {
26
8
  indices: number[];
27
9
  }
@@ -77,26 +59,6 @@ interface CreateDiscoveryTaskBody {
77
59
  parameters?: CreateDiscoveryTaskBodyParameters;
78
60
  filters?: FilterEnvelope[];
79
61
  }
80
- type DateDistributionItemEntityCount = {
81
- [key: string]: number;
82
- };
83
- interface DateDistributionItem {
84
- start_timestamp: string;
85
- end_timestamp: string;
86
- entity_count: DateDistributionItemEntityCount;
87
- }
88
- /**
89
- * Definition of a default OCEL on the server, for quick access. Supports pre-loading the OCEL on backend init.
90
- */
91
- interface DefaultOCEL {
92
- key: string;
93
- name: string;
94
- version: string;
95
- file: string;
96
- url?: string | null;
97
- preload?: boolean;
98
- hide?: boolean;
99
- }
100
62
  type DiscoveryFilterSchemaJsonSchema = {
101
63
  [key: string]: unknown;
102
64
  };
@@ -112,6 +74,8 @@ interface DiscoveryVariant {
112
74
  resourceType: string;
113
75
  inputSchema: DiscoveryVariantInputSchema;
114
76
  description?: string | null;
77
+ pluginId?: string | null;
78
+ enabled?: boolean;
115
79
  }
116
80
  interface DiscoveryMethodMeta {
117
81
  name: string;
@@ -128,15 +92,15 @@ declare const TaskState: {
128
92
  };
129
93
  /**
130
94
  * Base class for all frontend visualizations.
131
-
132
- A visualization is a JSON-serializable object that a `Resource.visualize()` method
133
- can return so the frontend can render the resource.
134
-
135
- Every visualization has a `type` discriminator. Concrete subclasses set `type`
136
- to a fixed literal value (for example `"table"` or `"plotly"`).
137
-
138
- Attributes:
139
- type: Discriminator used by the frontend to select the renderer.
95
+ *
96
+ * A visualization is a JSON-serializable object that a `Resource.visualize()` method
97
+ * can return so the frontend can render the resource.
98
+ *
99
+ * Every visualization has a `type` discriminator. Concrete subclasses set `type`
100
+ * to a fixed literal value (for example `"table"` or `"plotly"`).
101
+ *
102
+ * Attributes:
103
+ * type: Discriminator used by the frontend to select the renderer.
140
104
  */
141
105
  interface Visualization {
142
106
  type: string;
@@ -149,18 +113,23 @@ declare const GraphNodeShape: {
149
113
  readonly diamond: "diamond";
150
114
  readonly hexagon: "hexagon";
151
115
  };
116
+ type NodeStyleInnerSymbol = typeof NodeStyleInnerSymbol[keyof typeof NodeStyleInnerSymbol] | null;
117
+ declare const NodeStyleInnerSymbol: {
118
+ readonly triangle: "triangle";
119
+ readonly square: "square";
120
+ };
152
121
  /**
153
122
  * Visual style options for a `GraphNode`.
154
-
155
- Attributes:
156
- double_border: Renders a second border inside the node (e.g. final-marking places).
157
- inner_symbol: Optional symbol rendered inside the node shape.
158
- initial_tokens: Optional initial token count rendered inside a place node.
159
- final_tokens: Optional final token count rendered inside a place node.
123
+ *
124
+ * Attributes:
125
+ * double_border: Renders a second border inside the node (e.g. final-marking places).
126
+ * inner_symbol: Optional symbol rendered inside the node shape.
127
+ * initial_tokens: Optional initial token count rendered inside a place node.
128
+ * final_tokens: Optional final token count rendered inside a place node.
160
129
  */
161
130
  interface NodeStyle {
162
131
  double_border?: boolean;
163
- inner_symbol?: 'triangle' | 'square' | null;
132
+ inner_symbol?: NodeStyleInnerSymbol;
164
133
  initial_tokens?: number | null;
165
134
  final_tokens?: number | null;
166
135
  }
@@ -175,25 +144,25 @@ type GraphNodeLayoutAttrs = {
175
144
  } | null;
176
145
  /**
177
146
  * A node in a `Graph` visualization.
178
-
179
- A node defines its identity and visual appearance (shape, label, colors, size).
180
- Layout coordinates (`x`, `y`) are typically filled by the layouting step, not
181
- by the resource author.
182
-
183
- Attributes:
184
- id: Unique node id. Defaults to a generated UUID string.
185
- label: Optional label shown near the node.
186
- shape: Node shape identifier.
187
- width: Optional node width.
188
- height: Optional node height.
189
- color: Optional fill color (for example hex).
190
- x: Optional x-coordinate after layouting.
191
- y: Optional y-coordinate after layouting.
192
- border_color: Optional border/stroke color.
193
- style: Visual style options.
194
- label_pos: Label position relative to the node.
195
- rank: Optional layout constraint (source/sink or numeric rank).
196
- annotation: Optional attached visualization.
147
+ *
148
+ * A node defines its identity and visual appearance (shape, label, colors, size).
149
+ * Layout coordinates (`x`, `y`) are typically filled by the layouting step, not
150
+ * by the resource author.
151
+ *
152
+ * Attributes:
153
+ * id: Unique node id. Defaults to a generated UUID string.
154
+ * label: Optional label shown near the node.
155
+ * shape: Node shape identifier.
156
+ * width: Optional node width.
157
+ * height: Optional node height.
158
+ * color: Optional fill color (for example hex).
159
+ * x: Optional x-coordinate after layouting.
160
+ * y: Optional y-coordinate after layouting.
161
+ * border_color: Optional border/stroke color.
162
+ * style: Visual style options.
163
+ * label_pos: Label position relative to the node.
164
+ * rank: Optional layout constraint (source/sink or numeric rank).
165
+ * annotation: Optional attached visualization.
197
166
  */
198
167
  interface GraphNode {
199
168
  annotation?: Visualization | null;
@@ -213,35 +182,63 @@ interface GraphNode {
213
182
  }
214
183
  /**
215
184
  * Visual style options for a `GraphEdge`.
216
-
217
- Attributes:
218
- dashed: Renders the edge as a dashed line.
219
- bold: Renders the edge as a bold line.
185
+ *
186
+ * Attributes:
187
+ * dashed: Renders the edge as a dashed line.
188
+ * bold: Renders the edge as a bold line.
220
189
  */
221
190
  interface EdgeStyle {
222
191
  dashed?: boolean;
223
192
  bold?: boolean;
224
193
  }
194
+ type GraphEdgeStartArrow = typeof GraphEdgeStartArrow[keyof typeof GraphEdgeStartArrow] | null;
195
+ declare const GraphEdgeStartArrow: {
196
+ readonly triangle: "triangle";
197
+ readonly 'circle-triangle': "circle-triangle";
198
+ readonly 'triangle-backcurve': "triangle-backcurve";
199
+ readonly tee: "tee";
200
+ readonly circle: "circle";
201
+ readonly chevron: "chevron";
202
+ readonly 'triangle-tee': "triangle-tee";
203
+ readonly 'triangle-cross': "triangle-cross";
204
+ readonly vee: "vee";
205
+ readonly square: "square";
206
+ readonly diamond: "diamond";
207
+ };
208
+ type GraphEdgeEndArrow = typeof GraphEdgeEndArrow[keyof typeof GraphEdgeEndArrow] | null;
209
+ declare const GraphEdgeEndArrow: {
210
+ readonly triangle: "triangle";
211
+ readonly 'circle-triangle': "circle-triangle";
212
+ readonly 'triangle-backcurve': "triangle-backcurve";
213
+ readonly tee: "tee";
214
+ readonly circle: "circle";
215
+ readonly chevron: "chevron";
216
+ readonly 'triangle-tee': "triangle-tee";
217
+ readonly 'triangle-cross': "triangle-cross";
218
+ readonly vee: "vee";
219
+ readonly square: "square";
220
+ readonly diamond: "diamond";
221
+ };
225
222
  type GraphEdgeLayoutAttrs = {
226
223
  [key: string]: string | number | boolean;
227
224
  } | null;
228
225
  /**
229
226
  * A directed edge in a `Graph` visualization.
230
-
231
- An edge connects `source` -> `target` and can carry labels and arrowhead styles.
232
-
233
- Attributes:
234
- id: Unique edge id. Defaults to a generated UUID string.
235
- source: Source node id.
236
- target: Target node id.
237
- color: Optional edge color.
238
- label: Optional label shown along the edge.
239
- style: Visual style options.
240
- start_arrow: Optional arrowhead style at the start of the edge.
241
- end_arrow: Optional arrowhead style at the end of the edge.
242
- start_label: Optional label shown near the source.
243
- end_label: Optional label shown near the target.
244
- annotation: Optional attached visualization.
227
+ *
228
+ * An edge connects `source` -> `target` and can carry labels and arrowhead styles.
229
+ *
230
+ * Attributes:
231
+ * id: Unique edge id. Defaults to a generated UUID string.
232
+ * source: Source node id.
233
+ * target: Target node id.
234
+ * color: Optional edge color.
235
+ * label: Optional label shown along the edge.
236
+ * style: Visual style options.
237
+ * start_arrow: Optional arrowhead style at the start of the edge.
238
+ * end_arrow: Optional arrowhead style at the end of the edge.
239
+ * start_label: Optional label shown near the source.
240
+ * end_label: Optional label shown near the target.
241
+ * annotation: Optional attached visualization.
245
242
  */
246
243
  interface GraphEdge {
247
244
  annotation?: Visualization | null;
@@ -251,8 +248,8 @@ interface GraphEdge {
251
248
  color?: string | null;
252
249
  label?: string | null;
253
250
  style?: EdgeStyle;
254
- start_arrow?: 'triangle' | 'circle-triangle' | 'triangle-backcurve' | 'tee' | 'circle' | 'chevron' | 'triangle-tee' | 'triangle-cross' | 'vee' | 'square' | 'diamond' | null;
255
- end_arrow?: 'triangle' | 'circle-triangle' | 'triangle-backcurve' | 'tee' | 'circle' | 'chevron' | 'triangle-tee' | 'triangle-cross' | 'vee' | 'square' | 'diamond' | null;
251
+ start_arrow?: GraphEdgeStartArrow;
252
+ end_arrow?: GraphEdgeEndArrow;
256
253
  start_label?: string | null;
257
254
  end_label?: string | null;
258
255
  layout_attrs?: GraphEdgeLayoutAttrs;
@@ -291,12 +288,12 @@ type ElkLayoutConfigOptions = {
291
288
  } | null;
292
289
  /**
293
290
  * ELK-based layout configuration for a `Graph` visualization.
294
-
295
- Attributes:
296
- options: Additional ELK layout options passed directly to the renderer.
297
- Keys and values mirror the ELK option format (e.g. ``{"elk.algorithm": "force"}``).
298
-
299
- For all available options see https://eclipse.dev/elk/reference/options.html.
291
+ *
292
+ * Attributes:
293
+ * options: Additional ELK layout options passed directly to the renderer.
294
+ * Keys and values mirror the ELK option format (e.g. ``{"elk.algorithm": "force"}``).
295
+ *
296
+ * For all available options see https://eclipse.dev/elk/reference/options.html.
300
297
  */
301
298
  interface ElkLayoutConfig {
302
299
  type?: 'elk';
@@ -304,15 +301,15 @@ interface ElkLayoutConfig {
304
301
  }
305
302
  /**
306
303
  * Graph visualization composed of nodes and directed edges.
307
-
308
- This visualization is meant for model-like structures (for example Petri nets
309
- or directly-follows graphs). Layout is performed by the frontend renderer (ELK).
310
-
311
- Attributes:
312
- type: Fixed discriminator `"graph"`.
313
- nodes: List of nodes.
314
- edges: List of edges.
315
- layout_config: Layout hints consumed by the renderer.
304
+ *
305
+ * This visualization is meant for model-like structures (for example Petri nets
306
+ * or directly-follows graphs). Layout is performed by the frontend renderer (ELK).
307
+ *
308
+ * Attributes:
309
+ * type: Fixed discriminator `"graph"`.
310
+ * nodes: List of nodes.
311
+ * edges: List of edges.
312
+ * layout_config: Layout hints consumed by the renderer.
316
313
  */
317
314
  interface Graph {
318
315
  type?: 'graph';
@@ -330,13 +327,13 @@ declare const TableColumnDataType: {
330
327
  };
331
328
  /**
332
329
  * Column definition for a `Table` visualization.
333
-
334
- Attributes:
335
- id: Column id (used as key in each row dict).
336
- label: Optional human-readable column label.
337
- data_type: Column data type (for example `"string"` or `"number"`).
338
- sortable: Whether the column can be sorted in the frontend.
339
- visible: Whether the column is visible by default.
330
+ *
331
+ * Attributes:
332
+ * id: Column id (used as key in each row dict).
333
+ * label: Optional human-readable column label.
334
+ * data_type: Column data type (for example `"string"` or `"number"`).
335
+ * sortable: Whether the column can be sorted in the frontend.
336
+ * visible: Whether the column is visible by default.
340
337
  */
341
338
  interface TableColumn {
342
339
  id: string;
@@ -350,13 +347,13 @@ type TableRowsItem = {
350
347
  };
351
348
  /**
352
349
  * Tabular visualization with typed columns and row data.
353
-
354
- Rows are dictionaries keyed by `TableColumn.id`.
355
-
356
- Attributes:
357
- type: Fixed discriminator `"table"`.
358
- columns: Column definitions.
359
- rows: List of row dicts.
350
+ *
351
+ * Rows are dictionaries keyed by `TableColumn.id`.
352
+ *
353
+ * Attributes:
354
+ * type: Fixed discriminator `"table"`.
355
+ * columns: Column definitions.
356
+ * rows: List of row dicts.
360
357
  */
361
358
  interface Table {
362
359
  type?: 'table';
@@ -365,13 +362,13 @@ interface Table {
365
362
  }
366
363
  /**
367
364
  * SVG visualization.
368
-
369
- Use this visualization when you want full control over the rendered output
370
- by providing raw SVG markup.
371
-
372
- Attributes:
373
- type: Fixed discriminator `"svg"`.
374
- svg: SVG markup as a string.
365
+ *
366
+ * Use this visualization when you want full control over the rendered output
367
+ * by providing raw SVG markup.
368
+ *
369
+ * Attributes:
370
+ * type: Fixed discriminator `"svg"`.
371
+ * svg: SVG markup as a string.
375
372
  */
376
373
  interface SVGVis {
377
374
  type?: 'svg';
@@ -392,15 +389,15 @@ declare const DotVisLayoutEngine: {
392
389
  };
393
390
  /**
394
391
  * Graphviz DOT visualization.
395
-
396
- This visualization stores a raw DOT source string plus the selected layout engine.
397
- It is useful when you already have DOT output (for example from `graphviz.Digraph`)
398
- and want to render it directly.
399
-
400
- Attributes:
401
- type: Fixed discriminator `"dot"`.
402
- dot_str: The DOT source string.
403
- layout_engine: Graphviz layout engine used for layouting.
392
+ *
393
+ * This visualization stores a raw DOT source string plus the selected layout engine.
394
+ * It is useful when you already have DOT output (for example from `graphviz.Digraph`)
395
+ * and want to render it directly.
396
+ *
397
+ * Attributes:
398
+ * type: Fixed discriminator `"dot"`.
399
+ * dot_str: The DOT source string.
400
+ * layout_engine: Graphviz layout engine used for layouting.
404
401
  */
405
402
  interface DotVis {
406
403
  type?: 'dot';
@@ -412,20 +409,20 @@ type PlotlyData = {
412
409
  };
413
410
  /**
414
411
  * Plotly visualization.
415
-
416
- This visualization wraps a Plotly `Figure`. The figure is stored internally as a
417
- private attribute and is exposed through the `figure` property.
418
-
419
- The JSON-serializable representation is provided by the computed `data` field,
420
- which serializes the figure to Plotly JSON.
421
-
422
- Attributes:
423
- type: Fixed discriminator `"plotly"`.
424
- figure: Wrapped Plotly figure (available as a property).
425
-
426
- Notes:
427
- The figure is stored in a Pydantic private attribute (`_figure`).
428
- The `data` field is computed from `figure` using Plotly JSON serialization.
412
+ *
413
+ * This visualization wraps a Plotly `Figure`. The figure is stored internally as a
414
+ * private attribute and is exposed through the `figure` property.
415
+ *
416
+ * The JSON-serializable representation is provided by the computed `data` field,
417
+ * which serializes the figure to Plotly JSON.
418
+ *
419
+ * Attributes:
420
+ * type: Fixed discriminator `"plotly"`.
421
+ * figure: Wrapped Plotly figure (available as a property).
422
+ *
423
+ * Notes:
424
+ * The figure is stored in a Pydantic private attribute (`_figure`).
425
+ * The `data` field is computed from `figure` using Plotly JSON serialization.
429
426
  */
430
427
  interface Plotly {
431
428
  type?: 'plotly';
@@ -436,11 +433,6 @@ interface DiscoveryTaskSummary {
436
433
  state: TaskState;
437
434
  visualization: Graph | Table | SVGVis | DotVis | Plotly | null;
438
435
  }
439
- interface EntityTimeInfo {
440
- start_time: string;
441
- end_time: string;
442
- date_distribution: DateDistributionItem[];
443
- }
444
436
  interface PluginSource {
445
437
  task_id: string;
446
438
  plugin_name: string;
@@ -473,28 +465,23 @@ interface HTTPValidationError {
473
465
  }
474
466
  /**
475
467
  * UI annotation metadata for an `OCEL`-typed parameter or result.
476
-
477
- In addition to the base `Annotation` fields, this annotation may specify an
478
- OCEL extension. To keep the annotation JSON-serializable and stable for
479
- frontend consumption, the constructor accepts an `OCELExtension` class and
480
- coerces it to its class name (a string).
481
-
482
- Attributes:
483
- label: Human-readable label to display in the UI.
484
- description: Optional longer text shown in the UI to explain the OCEL.
485
- extension: Optional extension identifier. If constructed with an
486
- `OCELExtension` class, it is coerced to that class' name.
468
+ *
469
+ * In addition to the base `Annotation` fields, this annotation may specify an
470
+ * OCEL extension. To keep the annotation JSON-serializable and stable for
471
+ * frontend consumption, the constructor accepts an `OCELExtension` class and
472
+ * coerces it to its class name (a string).
473
+ *
474
+ * Attributes:
475
+ * label: Human-readable label to display in the UI.
476
+ * description: Optional longer text shown in the UI to explain the OCEL.
477
+ * extension: Optional extension identifier. If constructed with an
478
+ * `OCELExtension` class, it is coerced to that class' name.
487
479
  */
488
480
  interface OCELAnnotation {
489
481
  label: string;
490
482
  description?: string | null;
491
483
  extension?: string | null;
492
484
  }
493
- interface OCELExtensionDescription {
494
- name: string;
495
- label: string;
496
- description: string;
497
- }
498
485
  type OCELOutputActivityCount = {
499
486
  [key: string]: number;
500
487
  };
@@ -512,60 +499,6 @@ interface OCELResult {
512
499
  is_list: boolean;
513
500
  annotation: OCELAnnotation | null;
514
501
  }
515
- interface OcelMetadata {
516
- id: string;
517
- name: string;
518
- created_at: string;
519
- extensions: OCELExtensionDescription[];
520
- filter_applied: boolean | null;
521
- }
522
- interface PaginatedResponseListAggregatedAttribute {
523
- response: AggregatedAttribute[];
524
- page: number;
525
- page_size: number;
526
- total_items: number;
527
- readonly total_pages: number;
528
- }
529
- /**
530
- * Summary statistics for relationship multiplicities in O2O or E2O relations.
531
-
532
- Captures, for each combination of source type, target type and qualifier,
533
- how many related items occur per source instance.
534
-
535
- Attributes:
536
- qualifier: The relation qualifier (empty string when none applies).
537
- qualifiers: The qualifiers aggregated under a (source, target) pair. For
538
- aggregated rows (``with_qualifier=False``) this lists every qualifier;
539
- for per-qualifier rows it is the single-element list ``[qualifier]``.
540
- source: The source object or event type.
541
- target: The target object or event type.
542
- min_count: The minimum number of related items for any source instance.
543
- max_count: The maximum number of related items for any source instance.
544
- sum: The total number of relation occurrences across all instances.
545
- */
546
- interface RelationCountSummary {
547
- qualifier: string;
548
- qualifiers?: string[];
549
- source: string;
550
- target: string;
551
- min_count: number;
552
- max_count: number;
553
- sum: number;
554
- }
555
- interface PaginatedResponseListRelationCountSummary {
556
- response: RelationCountSummary[];
557
- page: number;
558
- page_size: number;
559
- total_items: number;
560
- readonly total_pages: number;
561
- }
562
- interface PaginatedResponseListStr {
563
- response: string[];
564
- page: number;
565
- page_size: number;
566
- total_items: number;
567
- readonly total_pages: number;
568
- }
569
502
  interface PluginMeta {
570
503
  name: string;
571
504
  version: string;
@@ -574,13 +507,13 @@ interface PluginMeta {
574
507
  }
575
508
  /**
576
509
  * UI annotation metadata for a `Resource`-typed parameter or result.
577
-
578
- This annotation is used to provide frontend-facing text (label/description)
579
- for resources.
580
-
581
- Attributes:
582
- label: Human-readable label to display in the UI.
583
- description: Optional longer text shown in the UI to explain the resource.
510
+ *
511
+ * This annotation is used to provide frontend-facing text (label/description)
512
+ * for resources.
513
+ *
514
+ * Attributes:
515
+ * label: Human-readable label to display in the UI.
516
+ * description: Optional longer text shown in the UI to explain the resource.
584
517
  */
585
518
  interface ResourceAnnotation {
586
519
  label: string;
@@ -615,32 +548,12 @@ interface PluginApi {
615
548
  meta: PluginMeta;
616
549
  methods: PluginMethod[];
617
550
  }
618
- interface QuantityInfo {
619
- item_types: string[];
620
- total_object_count: number;
621
- total_event_count: number;
622
- object_types: string[];
623
- activities: string[];
624
- }
625
- /**
626
- * A distinct (source, target, qualifier) combination of a relation.
627
-
628
- Attributes:
629
- source: The source object or event type.
630
- target: The target object or event type.
631
- qualifier: The relation qualifier (empty string when none applies).
632
- */
633
- interface RelationCombination {
634
- source: string;
635
- target: string;
636
- qualifier: string;
637
- }
638
551
  /**
639
552
  * Abstract base class for resources.
640
-
641
- Attributes:
642
- label: Optional human-readable label for this resource class.
643
- description: Optional human-readable description for this resource class.
553
+ *
554
+ * Attributes:
555
+ * label: Optional human-readable label for this resource class.
556
+ * description: Optional human-readable description for this resource class.
644
557
  */
645
558
  interface Resource {
646
559
  readonly _ocelescope_resource_type: string;
@@ -668,1743 +581,2132 @@ interface SystemTaskSummary {
668
581
  name: string;
669
582
  metadata: SystemTaskSummaryMetadata;
670
583
  }
671
- interface TypedAttribute {
672
- name: string;
673
- min: string | number;
674
- max: string | number;
675
- distinct_values: number;
676
- type: ValueType;
677
- entity_type: string;
678
- }
679
- type GetOcelsParams = {
680
- extension_name?: string | null;
681
- };
682
- type GetDefaultOcelParams = {
683
- only_latest_versions?: boolean;
684
- only_preloaded?: boolean;
685
- };
686
- type ImportDefaultOcelParams = {
687
- /**
688
- * Default OCEL key
689
- */
690
- key: string;
691
- /**
692
- * Dataset version (optional)
693
- */
694
- version?: string | null;
584
+ type GetSystemTasksParams = {
585
+ task_names?: string[] | null;
586
+ task_ids?: string[] | null;
587
+ only_running?: boolean;
695
588
  };
696
- type GetExtensionMeta200 = {
697
- [key: string]: OCELExtensionDescription;
589
+ type ResourcesParams = {
590
+ resource_type?: string | null;
698
591
  };
699
- type GetOcelParams = {
700
- ocel_version?: 'original' | 'filtered' | null;
592
+ type GetResourceMeta200 = {
593
+ [key: string]: ResourceInfo;
701
594
  };
702
- type RenameOcelParams = {
595
+ type RenameResourceParams = {
703
596
  new_name: string;
704
- ocel_version?: 'original' | 'filtered' | null;
705
- };
706
- type AggregatedAttributesParams = {
707
- /**
708
- * @minimum 1
709
- */
710
- page?: number;
711
- page_size?: number;
712
- entity_type?: AggregatedAttributesEntityType;
713
- attribute_names?: string[] | null;
714
- entity_names?: string[] | null;
715
- ocel_version?: 'original' | 'filtered' | null;
716
- };
717
- type AggregatedAttributesEntityType = typeof AggregatedAttributesEntityType[keyof typeof AggregatedAttributesEntityType];
718
- declare const AggregatedAttributesEntityType: {
719
- readonly events: "events";
720
- readonly objects: "objects";
721
597
  };
722
- type AttributeNamesParams = {
723
- entity_type?: 'events' | 'objects' | null;
724
- ocel_version?: 'original' | 'filtered' | null;
598
+ type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
599
+ /**
600
+ * @summary Upload logs, plugins, or resources
601
+ */
602
+ declare const upload: (bodyUpload: BodyUpload, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
603
+ declare const getUploadMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
604
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
605
+ data: BodyUpload;
606
+ }, TContext>;
607
+ request?: SecondParameter$1<typeof customFetch>;
608
+ }) => UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
609
+ data: BodyUpload;
610
+ }, TContext>;
611
+ type UploadMutationResult = NonNullable<Awaited<ReturnType<typeof upload>>>;
612
+ type UploadMutationBody = BodyUpload;
613
+ type UploadMutationError = HTTPValidationError;
614
+ /**
615
+ * @summary Upload logs, plugins, or resources
616
+ */
617
+ declare const useUpload: <TError = HTTPValidationError, TContext = unknown>(options?: {
618
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
619
+ data: BodyUpload;
620
+ }, TContext>;
621
+ request?: SecondParameter$1<typeof customFetch>;
622
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof upload>>, TError, {
623
+ data: BodyUpload;
624
+ }, TContext>;
625
+ /**
626
+ * @summary Deletes the Session
627
+ */
628
+ declare const logout: (options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
629
+ declare const getLogoutMutationOptions: <TError = unknown, TContext = unknown>(options?: {
630
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
631
+ request?: SecondParameter$1<typeof customFetch>;
632
+ }) => UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
633
+ type LogoutMutationResult = NonNullable<Awaited<ReturnType<typeof logout>>>;
634
+ type LogoutMutationError = unknown;
635
+ /**
636
+ * @summary Deletes the Session
637
+ */
638
+ declare const useLogout: <TError = unknown, TContext = unknown>(options?: {
639
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
640
+ request?: SecondParameter$1<typeof customFetch>;
641
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
642
+ /**
643
+ * @summary Create a discovery task
644
+ */
645
+ declare const createDiscoveryTask: (ocelId: string, createDiscoveryTaskBody: CreateDiscoveryTaskBody, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<string>;
646
+ declare const getCreateDiscoveryTaskMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
647
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
648
+ ocelId: string;
649
+ data: CreateDiscoveryTaskBody;
650
+ }, TContext>;
651
+ request?: SecondParameter$1<typeof customFetch>;
652
+ }) => UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
653
+ ocelId: string;
654
+ data: CreateDiscoveryTaskBody;
655
+ }, TContext>;
656
+ type CreateDiscoveryTaskMutationResult = NonNullable<Awaited<ReturnType<typeof createDiscoveryTask>>>;
657
+ type CreateDiscoveryTaskMutationBody = CreateDiscoveryTaskBody;
658
+ type CreateDiscoveryTaskMutationError = HTTPValidationError;
659
+ /**
660
+ * @summary Create a discovery task
661
+ */
662
+ declare const useCreateDiscoveryTask: <TError = HTTPValidationError, TContext = unknown>(options?: {
663
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
664
+ ocelId: string;
665
+ data: CreateDiscoveryTaskBody;
666
+ }, TContext>;
667
+ request?: SecondParameter$1<typeof customFetch>;
668
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
669
+ ocelId: string;
670
+ data: CreateDiscoveryTaskBody;
671
+ }, TContext>;
672
+ /**
673
+ * @summary Get Discovery Task
674
+ */
675
+ declare const discoveryTask: (taskId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryTaskSummary>;
676
+ declare const getDiscoveryTaskQueryKey: (taskId: string) => readonly [`/api/external/discovery/tasks/${string}`];
677
+ declare const getDiscoveryTaskQueryOptions: <TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
678
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>>;
679
+ request?: SecondParameter$1<typeof customFetch>;
680
+ }) => UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData> & {
681
+ queryKey: DataTag<QueryKey, TData, TError>;
725
682
  };
726
- type ObjectAttributesParams = {
727
- attribute_names?: string[];
728
- names?: string[] | null;
729
- ocel_version?: 'original' | 'filtered' | null;
683
+ type DiscoveryTaskQueryResult = NonNullable<Awaited<ReturnType<typeof discoveryTask>>>;
684
+ type DiscoveryTaskQueryError = HTTPValidationError;
685
+ declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options: {
686
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, Awaited<ReturnType<typeof discoveryTask>>>, 'initialData'>;
687
+ request?: SecondParameter$1<typeof customFetch>;
688
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
689
+ queryKey: DataTag<QueryKey, TData, TError>;
730
690
  };
731
- type ObjectTypesParams = {
732
- ocel_version?: 'original' | 'filtered' | null;
691
+ declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
692
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, Awaited<ReturnType<typeof discoveryTask>>>, 'initialData'>;
693
+ request?: SecondParameter$1<typeof customFetch>;
694
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
695
+ queryKey: DataTag<QueryKey, TData, TError>;
733
696
  };
734
- type EventAttributesParams = {
735
- attribute_names?: string[];
736
- names?: string[] | null;
737
- ocel_version?: 'original' | 'filtered' | null;
697
+ declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
698
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>>;
699
+ request?: SecondParameter$1<typeof customFetch>;
700
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
701
+ queryKey: DataTag<QueryKey, TData, TError>;
738
702
  };
739
- type EventCountsParams = {
740
- ocel_version?: 'original' | 'filtered' | null;
741
- };
742
- type EventCounts200 = {
743
- [key: string]: number;
744
- };
745
- type ActivitiesParams = {
746
- ocel_version?: 'original' | 'filtered' | null;
747
- };
748
- type TimeInfoParams = {
749
- periods?: number | null;
750
- freq?: string | null;
751
- ocel_version?: 'original' | 'filtered' | null;
752
- };
753
- type ObjectCountsParams = {
754
- ocel_version?: 'original' | 'filtered' | null;
755
- };
756
- type ObjectCounts200 = {
757
- [key: string]: number;
758
- };
759
- type E2oParams = {
760
- direction?: E2oDirection;
761
- source_types?: string[] | null;
762
- target_types?: string[] | null;
763
- qualifiers?: string[] | null;
764
- sort_by?: 'source' | 'target' | 'qualifier' | null;
765
- order?: E2oOrder;
766
- page?: number | null;
767
- page_size?: number | null;
768
- with_qualifier?: boolean;
769
- ocel_version?: 'original' | 'filtered' | null;
770
- };
771
- type E2oDirection = typeof E2oDirection[keyof typeof E2oDirection];
772
- declare const E2oDirection: {
773
- readonly source: "source";
774
- readonly target: "target";
775
- };
776
- type E2oOrder = typeof E2oOrder[keyof typeof E2oOrder];
777
- declare const E2oOrder: {
778
- readonly asc: "asc";
779
- readonly desc: "desc";
780
- };
781
- type O2oParams = {
782
- direction?: O2oDirection;
783
- source_types?: string[] | null;
784
- target_types?: string[] | null;
785
- qualifiers?: string[] | null;
786
- sort_by?: 'source' | 'target' | 'qualifier' | null;
787
- order?: O2oOrder;
788
- page?: number | null;
789
- page_size?: number | null;
790
- with_qualifier?: boolean;
791
- ocel_version?: 'original' | 'filtered' | null;
792
- };
793
- type O2oDirection = typeof O2oDirection[keyof typeof O2oDirection];
794
- declare const O2oDirection: {
795
- readonly source: "source";
796
- readonly target: "target";
797
- };
798
- type O2oOrder = typeof O2oOrder[keyof typeof O2oOrder];
799
- declare const O2oOrder: {
800
- readonly asc: "asc";
801
- readonly desc: "desc";
802
- };
803
- type E2oCombinationsParams = {
804
- direction?: E2oCombinationsDirection;
805
- ocel_version?: 'original' | 'filtered' | null;
806
- };
807
- type E2oCombinationsDirection = typeof E2oCombinationsDirection[keyof typeof E2oCombinationsDirection];
808
- declare const E2oCombinationsDirection: {
809
- readonly source: "source";
810
- readonly target: "target";
811
- };
812
- type O2oCombinationsParams = {
813
- direction?: O2oCombinationsDirection;
814
- ocel_version?: 'original' | 'filtered' | null;
815
- };
816
- type O2oCombinationsDirection = typeof O2oCombinationsDirection[keyof typeof O2oCombinationsDirection];
817
- declare const O2oCombinationsDirection: {
818
- readonly source: "source";
819
- readonly target: "target";
820
- };
821
- type EventIdsParams = {
822
- search?: string | null;
823
- size?: number;
824
- page?: number;
825
- ocel_version?: 'original' | 'filtered' | null;
826
- };
827
- type ObjectIdsParams = {
828
- search?: string | null;
829
- size?: number;
830
- page?: number;
831
- ocel_version?: 'original' | 'filtered' | null;
832
- };
833
- type QuantityInfoParams = {
834
- ocel_version?: 'original' | 'filtered' | null;
835
- };
836
- type DownloadOCELParams = {
837
- ext?: DownloadOCELExt;
838
- ocel_version?: 'original' | 'filtered' | null;
839
- };
840
- type DownloadOCELExt = typeof DownloadOCELExt[keyof typeof DownloadOCELExt];
841
- declare const DownloadOCELExt: {
842
- readonly xml: ".xml";
843
- readonly json: ".json";
844
- readonly sqlite: ".sqlite";
845
- };
846
- type DownloadFlatLogParams = {
847
- object_type_name: string;
848
- ocel_version?: 'original' | 'filtered' | null;
849
- };
850
- type GetSystemTasksParams = {
851
- task_names?: string[] | null;
852
- task_ids?: string[] | null;
853
- only_running?: boolean;
854
- };
855
- type ResourcesParams = {
856
- resource_type?: string | null;
857
- };
858
- type GetResourceMeta200 = {
859
- [key: string]: ResourceInfo;
860
- };
861
- type RenameResourceParams = {
862
- new_name: string;
863
- };
864
- type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
865
703
  /**
866
- * @summary Upload ocels, resources or tasks
704
+ * @summary Save Discovery
867
705
  */
868
- declare const upload: (bodyUpload: BodyUpload, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
869
- declare const getUploadMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
870
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
871
- data: BodyUpload;
706
+ declare const saveDiscovery: (taskId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
707
+ declare const getSaveDiscoveryMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
708
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
709
+ taskId: string;
872
710
  }, TContext>;
873
- request?: SecondParameter<typeof customFetch>;
874
- }) => UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
875
- data: BodyUpload;
711
+ request?: SecondParameter$1<typeof customFetch>;
712
+ }) => UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
713
+ taskId: string;
876
714
  }, TContext>;
877
- type UploadMutationResult = NonNullable<Awaited<ReturnType<typeof upload>>>;
878
- type UploadMutationBody = BodyUpload;
879
- type UploadMutationError = HTTPValidationError;
715
+ type SaveDiscoveryMutationResult = NonNullable<Awaited<ReturnType<typeof saveDiscovery>>>;
716
+ type SaveDiscoveryMutationError = HTTPValidationError;
880
717
  /**
881
- * @summary Upload ocels, resources or tasks
882
- */
883
- declare const useUpload: <TError = HTTPValidationError, TContext = unknown>(options?: {
884
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
885
- data: BodyUpload;
718
+ * @summary Save Discovery
719
+ */
720
+ declare const useSaveDiscovery: <TError = HTTPValidationError, TContext = unknown>(options?: {
721
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
722
+ taskId: string;
886
723
  }, TContext>;
887
- request?: SecondParameter<typeof customFetch>;
888
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof upload>>, TError, {
889
- data: BodyUpload;
724
+ request?: SecondParameter$1<typeof customFetch>;
725
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
726
+ taskId: string;
890
727
  }, TContext>;
891
728
  /**
892
- * @summary Deletes the Session
893
- */
894
- declare const logout: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
895
- declare const getLogoutMutationOptions: <TError = unknown, TContext = unknown>(options?: {
896
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
897
- request?: SecondParameter<typeof customFetch>;
898
- }) => UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
899
- type LogoutMutationResult = NonNullable<Awaited<ReturnType<typeof logout>>>;
900
- type LogoutMutationError = unknown;
901
- /**
902
- * @summary Deletes the Session
903
- */
904
- declare const useLogout: <TError = unknown, TContext = unknown>(options?: {
905
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
906
- request?: SecondParameter<typeof customFetch>;
907
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
908
- /**
909
- * 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.
910
- * @summary List uploaded and uploading OCELs
729
+ * @summary List filters available to discovery tasks
911
730
  */
912
- declare const getOcels: (params?: GetOcelsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<OcelMetadata[]>;
913
- declare const getGetOcelsQueryKey: (params?: GetOcelsParams) => readonly ["/api/external/ocels", ...GetOcelsParams[]];
914
- declare const getGetOcelsQueryOptions: <TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
915
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
916
- request?: SecondParameter<typeof customFetch>;
917
- }) => UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData> & {
731
+ declare const listDiscoveryFilters: (options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryFilterSchema[]>;
732
+ declare const getListDiscoveryFiltersQueryKey: () => readonly ["/api/external/discovery/filters"];
733
+ declare const getListDiscoveryFiltersQueryOptions: <TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
734
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>>;
735
+ request?: SecondParameter$1<typeof customFetch>;
736
+ }) => UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData> & {
918
737
  queryKey: DataTag<QueryKey, TData, TError>;
919
738
  };
920
- type GetOcelsQueryResult = NonNullable<Awaited<ReturnType<typeof getOcels>>>;
921
- type GetOcelsQueryError = HTTPValidationError;
922
- declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params: undefined | GetOcelsParams, options: {
923
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
924
- request?: SecondParameter<typeof customFetch>;
739
+ type ListDiscoveryFiltersQueryResult = NonNullable<Awaited<ReturnType<typeof listDiscoveryFilters>>>;
740
+ type ListDiscoveryFiltersQueryError = unknown;
741
+ declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options: {
742
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, Awaited<ReturnType<typeof listDiscoveryFilters>>>, 'initialData'>;
743
+ request?: SecondParameter$1<typeof customFetch>;
925
744
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
926
745
  queryKey: DataTag<QueryKey, TData, TError>;
927
746
  };
928
- declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
929
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
930
- request?: SecondParameter<typeof customFetch>;
747
+ declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
748
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, Awaited<ReturnType<typeof listDiscoveryFilters>>>, 'initialData'>;
749
+ request?: SecondParameter$1<typeof customFetch>;
931
750
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
932
751
  queryKey: DataTag<QueryKey, TData, TError>;
933
752
  };
934
- declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
935
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
936
- request?: SecondParameter<typeof customFetch>;
753
+ declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
754
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>>;
755
+ request?: SecondParameter$1<typeof customFetch>;
937
756
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
938
757
  queryKey: DataTag<QueryKey, TData, TError>;
939
758
  };
940
759
  /**
941
- * @summary Get default OCEL metadata
760
+ * @summary List discovery methods
942
761
  */
943
- declare const getDefaultOcel: (params?: GetDefaultOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DefaultOCEL[]>;
944
- declare const getGetDefaultOcelQueryKey: (params?: GetDefaultOcelParams) => readonly ["/api/external/ocels/default", ...GetDefaultOcelParams[]];
945
- declare const getGetDefaultOcelQueryOptions: <TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
946
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
947
- request?: SecondParameter<typeof customFetch>;
948
- }) => UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData> & {
762
+ declare const listDiscoveryMethods: (options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryMethodMeta[]>;
763
+ declare const getListDiscoveryMethodsQueryKey: () => readonly ["/api/external/discovery/methods"];
764
+ declare const getListDiscoveryMethodsQueryOptions: <TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
765
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>>;
766
+ request?: SecondParameter$1<typeof customFetch>;
767
+ }) => UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData> & {
949
768
  queryKey: DataTag<QueryKey, TData, TError>;
950
769
  };
951
- type GetDefaultOcelQueryResult = NonNullable<Awaited<ReturnType<typeof getDefaultOcel>>>;
952
- type GetDefaultOcelQueryError = HTTPValidationError;
953
- declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params: undefined | GetDefaultOcelParams, options: {
954
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
955
- request?: SecondParameter<typeof customFetch>;
770
+ type ListDiscoveryMethodsQueryResult = NonNullable<Awaited<ReturnType<typeof listDiscoveryMethods>>>;
771
+ type ListDiscoveryMethodsQueryError = unknown;
772
+ declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options: {
773
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, Awaited<ReturnType<typeof listDiscoveryMethods>>>, 'initialData'>;
774
+ request?: SecondParameter$1<typeof customFetch>;
956
775
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
957
776
  queryKey: DataTag<QueryKey, TData, TError>;
958
777
  };
959
- declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
960
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
961
- request?: SecondParameter<typeof customFetch>;
778
+ declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
779
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, Awaited<ReturnType<typeof listDiscoveryMethods>>>, 'initialData'>;
780
+ request?: SecondParameter$1<typeof customFetch>;
962
781
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
963
782
  queryKey: DataTag<QueryKey, TData, TError>;
964
783
  };
965
- declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
966
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
967
- request?: SecondParameter<typeof customFetch>;
784
+ declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
785
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>>;
786
+ request?: SecondParameter$1<typeof customFetch>;
968
787
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
969
788
  queryKey: DataTag<QueryKey, TData, TError>;
970
789
  };
971
790
  /**
972
- * @summary Import default OCEL
791
+ * @summary Disable a discovery method
973
792
  */
974
- declare const importDefaultOcel: (params: ImportDefaultOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
975
- declare const getImportDefaultOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
976
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
977
- params: ImportDefaultOcelParams;
793
+ declare const disableDiscoveryMethod: (methodId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
794
+ declare const getDisableDiscoveryMethodMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
795
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof disableDiscoveryMethod>>, TError, {
796
+ methodId: string;
978
797
  }, TContext>;
979
- request?: SecondParameter<typeof customFetch>;
980
- }) => UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
981
- params: ImportDefaultOcelParams;
798
+ request?: SecondParameter$1<typeof customFetch>;
799
+ }) => UseMutationOptions<Awaited<ReturnType<typeof disableDiscoveryMethod>>, TError, {
800
+ methodId: string;
982
801
  }, TContext>;
983
- type ImportDefaultOcelMutationResult = NonNullable<Awaited<ReturnType<typeof importDefaultOcel>>>;
984
- type ImportDefaultOcelMutationError = HTTPValidationError;
802
+ type DisableDiscoveryMethodMutationResult = NonNullable<Awaited<ReturnType<typeof disableDiscoveryMethod>>>;
803
+ type DisableDiscoveryMethodMutationError = HTTPValidationError;
985
804
  /**
986
- * @summary Import default OCEL
987
- */
988
- declare const useImportDefaultOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
989
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
990
- params: ImportDefaultOcelParams;
805
+ * @summary Disable a discovery method
806
+ */
807
+ declare const useDisableDiscoveryMethod: <TError = HTTPValidationError, TContext = unknown>(options?: {
808
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof disableDiscoveryMethod>>, TError, {
809
+ methodId: string;
991
810
  }, TContext>;
992
- request?: SecondParameter<typeof customFetch>;
993
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
994
- params: ImportDefaultOcelParams;
811
+ request?: SecondParameter$1<typeof customFetch>;
812
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof disableDiscoveryMethod>>, TError, {
813
+ methodId: string;
995
814
  }, TContext>;
996
815
  /**
997
- * @summary Get Extension Meta
816
+ * @summary Enable a discovery method
998
817
  */
999
- declare const getExtensionMeta: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<GetExtensionMeta200>;
1000
- declare const getGetExtensionMetaQueryKey: () => readonly ["/api/external/ocels/extension/meta"];
1001
- declare const getGetExtensionMetaQueryOptions: <TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1002
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
1003
- request?: SecondParameter<typeof customFetch>;
1004
- }) => UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData> & {
818
+ declare const enableDiscoveryMethod: (methodId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
819
+ declare const getEnableDiscoveryMethodMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
820
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof enableDiscoveryMethod>>, TError, {
821
+ methodId: string;
822
+ }, TContext>;
823
+ request?: SecondParameter$1<typeof customFetch>;
824
+ }) => UseMutationOptions<Awaited<ReturnType<typeof enableDiscoveryMethod>>, TError, {
825
+ methodId: string;
826
+ }, TContext>;
827
+ type EnableDiscoveryMethodMutationResult = NonNullable<Awaited<ReturnType<typeof enableDiscoveryMethod>>>;
828
+ type EnableDiscoveryMethodMutationError = HTTPValidationError;
829
+ /**
830
+ * @summary Enable a discovery method
831
+ */
832
+ declare const useEnableDiscoveryMethod: <TError = HTTPValidationError, TContext = unknown>(options?: {
833
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof enableDiscoveryMethod>>, TError, {
834
+ methodId: string;
835
+ }, TContext>;
836
+ request?: SecondParameter$1<typeof customFetch>;
837
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof enableDiscoveryMethod>>, TError, {
838
+ methodId: string;
839
+ }, TContext>;
840
+ /**
841
+ * @summary returns all tasks of a session
842
+ */
843
+ declare const getSystemTasks: (params?: GetSystemTasksParams, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<SystemTaskSummary[]>;
844
+ declare const getGetSystemTasksQueryKey: (params?: GetSystemTasksParams) => readonly ["/api/external/tasks/system", ...GetSystemTasksParams[]];
845
+ declare const getGetSystemTasksQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
846
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>>;
847
+ request?: SecondParameter$1<typeof customFetch>;
848
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData> & {
1005
849
  queryKey: DataTag<QueryKey, TData, TError>;
1006
850
  };
1007
- type GetExtensionMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getExtensionMeta>>>;
1008
- type GetExtensionMetaQueryError = unknown;
1009
- declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options: {
1010
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
1011
- request?: SecondParameter<typeof customFetch>;
851
+ type GetSystemTasksQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTasks>>>;
852
+ type GetSystemTasksQueryError = HTTPValidationError;
853
+ declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params: undefined | GetSystemTasksParams, options: {
854
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
855
+ request?: SecondParameter$1<typeof customFetch>;
1012
856
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1013
857
  queryKey: DataTag<QueryKey, TData, TError>;
1014
858
  };
1015
- declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1016
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
1017
- request?: SecondParameter<typeof customFetch>;
859
+ declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
860
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
861
+ request?: SecondParameter$1<typeof customFetch>;
1018
862
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1019
863
  queryKey: DataTag<QueryKey, TData, TError>;
1020
864
  };
1021
- declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1022
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
1023
- request?: SecondParameter<typeof customFetch>;
865
+ declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
866
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>>;
867
+ request?: SecondParameter$1<typeof customFetch>;
1024
868
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1025
869
  queryKey: DataTag<QueryKey, TData, TError>;
1026
870
  };
1027
871
  /**
1028
- * @summary Get general information about a OCEL
872
+ * @summary returns the task of a given taskId
1029
873
  */
1030
- declare const getOcel: (ocelId: string | null, params?: GetOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<OcelMetadata>;
1031
- declare const getGetOcelQueryKey: (ocelId: string | null, params?: GetOcelParams) => readonly [`/api/external/ocels/${string}`, ...GetOcelParams[]];
1032
- declare const getGetOcelQueryOptions: <TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params?: GetOcelParams, options?: {
1033
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>>;
1034
- request?: SecondParameter<typeof customFetch>;
1035
- }) => UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData> & {
1036
- queryKey: DataTag<QueryKey, TData, TError>;
874
+ declare const getSystemTask: (taskId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<SystemTaskSummary>;
875
+ declare const getGetSystemTaskQueryKey: (taskId: string) => readonly [`/api/external/tasks/system/${string}`];
876
+ declare const getGetSystemTaskQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
877
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>>;
878
+ request?: SecondParameter$1<typeof customFetch>;
879
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData> & {
880
+ queryKey: DataTag<QueryKey, TData, TError>;
1037
881
  };
1038
- type GetOcelQueryResult = NonNullable<Awaited<ReturnType<typeof getOcel>>>;
1039
- type GetOcelQueryError = HTTPValidationError;
1040
- declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | GetOcelParams, options: {
1041
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOcel>>, TError, Awaited<ReturnType<typeof getOcel>>>, 'initialData'>;
1042
- request?: SecondParameter<typeof customFetch>;
882
+ type GetSystemTaskQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTask>>>;
883
+ type GetSystemTaskQueryError = HTTPValidationError;
884
+ declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options: {
885
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
886
+ request?: SecondParameter$1<typeof customFetch>;
1043
887
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1044
888
  queryKey: DataTag<QueryKey, TData, TError>;
1045
889
  };
1046
- declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params?: GetOcelParams, options?: {
1047
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOcel>>, TError, Awaited<ReturnType<typeof getOcel>>>, 'initialData'>;
1048
- request?: SecondParameter<typeof customFetch>;
890
+ declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
891
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
892
+ request?: SecondParameter$1<typeof customFetch>;
1049
893
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1050
894
  queryKey: DataTag<QueryKey, TData, TError>;
1051
895
  };
1052
- declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params?: GetOcelParams, options?: {
1053
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>>;
1054
- request?: SecondParameter<typeof customFetch>;
896
+ declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
897
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>>;
898
+ request?: SecondParameter$1<typeof customFetch>;
1055
899
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1056
900
  queryKey: DataTag<QueryKey, TData, TError>;
1057
901
  };
1058
902
  /**
1059
- * Deletes the uploaded OCEL with the given `ocel_id`. This action is irreversible and removes the OCEL from the session.
1060
- * @summary Delete an uploaded OCEL
1061
- */
1062
- declare const deleteOcel: (ocelId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1063
- declare const getDeleteOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1064
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1065
- ocelId: string;
1066
- }, TContext>;
1067
- request?: SecondParameter<typeof customFetch>;
1068
- }) => UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1069
- ocelId: string;
1070
- }, TContext>;
1071
- type DeleteOcelMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOcel>>>;
1072
- type DeleteOcelMutationError = HTTPValidationError;
1073
- /**
1074
- * @summary Delete an uploaded OCEL
1075
- */
1076
- declare const useDeleteOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
1077
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1078
- ocelId: string;
1079
- }, TContext>;
1080
- request?: SecondParameter<typeof customFetch>;
1081
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1082
- ocelId: string;
1083
- }, TContext>;
1084
- /**
1085
- * Renames the OCEL represented by the given `ApiOcel` object to `new_name`. This updates the display name used in the UI and metadata.
1086
- * @summary Rename an uploaded OCEL
1087
- */
1088
- declare const renameOcel: (ocelId: string | null, params: RenameOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1089
- declare const getRenameOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1090
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
1091
- ocelId: string | null;
1092
- params: RenameOcelParams;
1093
- }, TContext>;
1094
- request?: SecondParameter<typeof customFetch>;
1095
- }) => UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
1096
- ocelId: string | null;
1097
- params: RenameOcelParams;
1098
- }, TContext>;
1099
- type RenameOcelMutationResult = NonNullable<Awaited<ReturnType<typeof renameOcel>>>;
1100
- type RenameOcelMutationError = HTTPValidationError;
1101
- /**
1102
- * @summary Rename an uploaded OCEL
1103
- */
1104
- declare const useRenameOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
1105
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
1106
- ocelId: string | null;
1107
- params: RenameOcelParams;
1108
- }, TContext>;
1109
- request?: SecondParameter<typeof customFetch>;
1110
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameOcel>>, TError, {
1111
- ocelId: string | null;
1112
- params: RenameOcelParams;
1113
- }, TContext>;
1114
- /**
1115
- * @summary Get Aggr Object Attributes
903
+ * @summary Get Plugins
1116
904
  */
1117
- declare const aggregatedAttributes: (ocelId: string | null, params?: AggregatedAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListAggregatedAttribute>;
1118
- declare const getAggregatedAttributesQueryKey: (ocelId: string | null, params?: AggregatedAttributesParams) => readonly [`/api/external/ocels/${string}/attributes`, ...AggregatedAttributesParams[]];
1119
- declare const getAggregatedAttributesQueryOptions: <TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
1120
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>>;
1121
- request?: SecondParameter<typeof customFetch>;
1122
- }) => UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData> & {
905
+ declare const plugins: (options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<PluginApi[]>;
906
+ declare const getPluginsQueryKey: () => readonly ["/api/external/plugins"];
907
+ declare const getPluginsQueryOptions: <TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
908
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>>;
909
+ request?: SecondParameter$1<typeof customFetch>;
910
+ }) => UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData> & {
1123
911
  queryKey: DataTag<QueryKey, TData, TError>;
1124
912
  };
1125
- type AggregatedAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof aggregatedAttributes>>>;
1126
- type AggregatedAttributesQueryError = HTTPValidationError;
1127
- declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | AggregatedAttributesParams, options: {
1128
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, Awaited<ReturnType<typeof aggregatedAttributes>>>, 'initialData'>;
1129
- request?: SecondParameter<typeof customFetch>;
913
+ type PluginsQueryResult = NonNullable<Awaited<ReturnType<typeof plugins>>>;
914
+ type PluginsQueryError = unknown;
915
+ declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options: {
916
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
917
+ request?: SecondParameter$1<typeof customFetch>;
1130
918
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1131
919
  queryKey: DataTag<QueryKey, TData, TError>;
1132
920
  };
1133
- declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
1134
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, Awaited<ReturnType<typeof aggregatedAttributes>>>, 'initialData'>;
1135
- request?: SecondParameter<typeof customFetch>;
921
+ declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
922
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
923
+ request?: SecondParameter$1<typeof customFetch>;
1136
924
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1137
925
  queryKey: DataTag<QueryKey, TData, TError>;
1138
926
  };
1139
- declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
1140
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>>;
1141
- request?: SecondParameter<typeof customFetch>;
927
+ declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
928
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>>;
929
+ request?: SecondParameter$1<typeof customFetch>;
1142
930
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1143
931
  queryKey: DataTag<QueryKey, TData, TError>;
1144
932
  };
1145
933
  /**
1146
- * @summary Get Attribute Names
934
+ * @summary Get Plugin
1147
935
  */
1148
- declare const attributeNames: (ocelId: string | null, params?: AttributeNamesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
1149
- declare const getAttributeNamesQueryKey: (ocelId: string | null, params?: AttributeNamesParams) => readonly [`/api/external/ocels/${string}/attribute/names`, ...AttributeNamesParams[]];
1150
- declare const getAttributeNamesQueryOptions: <TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params?: AttributeNamesParams, options?: {
1151
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>>;
1152
- request?: SecondParameter<typeof customFetch>;
1153
- }) => UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData> & {
936
+ declare const getPlugin: (pluginId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<PluginApi | null>;
937
+ declare const getGetPluginQueryKey: (pluginId: string) => readonly [`/api/external/plugins/${string}`];
938
+ declare const getGetPluginQueryOptions: <TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
939
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>>;
940
+ request?: SecondParameter$1<typeof customFetch>;
941
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData> & {
1154
942
  queryKey: DataTag<QueryKey, TData, TError>;
1155
943
  };
1156
- type AttributeNamesQueryResult = NonNullable<Awaited<ReturnType<typeof attributeNames>>>;
1157
- type AttributeNamesQueryError = HTTPValidationError;
1158
- declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | AttributeNamesParams, options: {
1159
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof attributeNames>>, TError, Awaited<ReturnType<typeof attributeNames>>>, 'initialData'>;
1160
- request?: SecondParameter<typeof customFetch>;
944
+ type GetPluginQueryResult = NonNullable<Awaited<ReturnType<typeof getPlugin>>>;
945
+ type GetPluginQueryError = HTTPValidationError;
946
+ declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options: {
947
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
948
+ request?: SecondParameter$1<typeof customFetch>;
1161
949
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1162
950
  queryKey: DataTag<QueryKey, TData, TError>;
1163
951
  };
1164
- declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params?: AttributeNamesParams, options?: {
1165
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof attributeNames>>, TError, Awaited<ReturnType<typeof attributeNames>>>, 'initialData'>;
1166
- request?: SecondParameter<typeof customFetch>;
952
+ declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
953
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
954
+ request?: SecondParameter$1<typeof customFetch>;
1167
955
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1168
956
  queryKey: DataTag<QueryKey, TData, TError>;
1169
957
  };
1170
- declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params?: AttributeNamesParams, options?: {
1171
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>>;
1172
- request?: SecondParameter<typeof customFetch>;
958
+ declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
959
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>>;
960
+ request?: SecondParameter$1<typeof customFetch>;
1173
961
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1174
962
  queryKey: DataTag<QueryKey, TData, TError>;
1175
963
  };
1176
964
  /**
1177
- * @summary Get Object Attributes
965
+ * @summary Delete Plugin
1178
966
  */
1179
- declare const objectAttributes: (ocelId: string | null, params?: ObjectAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<TypedAttribute[]>;
1180
- declare const getObjectAttributesQueryKey: (ocelId: string | null, params?: ObjectAttributesParams) => readonly [`/api/external/ocels/${string}/objects/attributes`, ...ObjectAttributesParams[]];
1181
- declare const getObjectAttributesQueryOptions: <TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
1182
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
1183
- request?: SecondParameter<typeof customFetch>;
1184
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData> & {
1185
- queryKey: DataTag<QueryKey, TData, TError>;
1186
- };
1187
- type ObjectAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof objectAttributes>>>;
1188
- type ObjectAttributesQueryError = HTTPValidationError;
1189
- declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectAttributesParams, options: {
1190
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
1191
- request?: SecondParameter<typeof customFetch>;
1192
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1193
- queryKey: DataTag<QueryKey, TData, TError>;
1194
- };
1195
- declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
1196
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
1197
- request?: SecondParameter<typeof customFetch>;
1198
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1199
- queryKey: DataTag<QueryKey, TData, TError>;
1200
- };
1201
- declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
1202
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
1203
- request?: SecondParameter<typeof customFetch>;
1204
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1205
- queryKey: DataTag<QueryKey, TData, TError>;
1206
- };
967
+ declare const deletePlugin: (pluginId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
968
+ declare const getDeletePluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
969
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
970
+ pluginId: string;
971
+ }, TContext>;
972
+ request?: SecondParameter$1<typeof customFetch>;
973
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
974
+ pluginId: string;
975
+ }, TContext>;
976
+ type DeletePluginMutationResult = NonNullable<Awaited<ReturnType<typeof deletePlugin>>>;
977
+ type DeletePluginMutationError = HTTPValidationError;
1207
978
  /**
1208
- * @summary Get Object Types
979
+ * @summary Delete Plugin
1209
980
  */
1210
- declare const objectTypes: (ocelId: string | null, params?: ObjectTypesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
1211
- declare const getObjectTypesQueryKey: (ocelId: string | null, params?: ObjectTypesParams) => readonly [`/api/external/ocels/${string}/objects/types`, ...ObjectTypesParams[]];
1212
- declare const getObjectTypesQueryOptions: <TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectTypesParams, options?: {
1213
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>>;
1214
- request?: SecondParameter<typeof customFetch>;
1215
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData> & {
1216
- queryKey: DataTag<QueryKey, TData, TError>;
1217
- };
1218
- type ObjectTypesQueryResult = NonNullable<Awaited<ReturnType<typeof objectTypes>>>;
1219
- type ObjectTypesQueryError = HTTPValidationError;
1220
- declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectTypesParams, options: {
1221
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectTypes>>, TError, Awaited<ReturnType<typeof objectTypes>>>, 'initialData'>;
1222
- request?: SecondParameter<typeof customFetch>;
1223
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1224
- queryKey: DataTag<QueryKey, TData, TError>;
1225
- };
1226
- declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectTypesParams, options?: {
1227
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectTypes>>, TError, Awaited<ReturnType<typeof objectTypes>>>, 'initialData'>;
1228
- request?: SecondParameter<typeof customFetch>;
1229
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1230
- queryKey: DataTag<QueryKey, TData, TError>;
1231
- };
1232
- declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectTypesParams, options?: {
1233
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>>;
1234
- request?: SecondParameter<typeof customFetch>;
1235
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1236
- queryKey: DataTag<QueryKey, TData, TError>;
1237
- };
981
+ declare const useDeletePlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
982
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
983
+ pluginId: string;
984
+ }, TContext>;
985
+ request?: SecondParameter$1<typeof customFetch>;
986
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deletePlugin>>, TError, {
987
+ pluginId: string;
988
+ }, TContext>;
1238
989
  /**
1239
- * @summary Get Event Attributes
990
+ * @summary Get Plugin Method
1240
991
  */
1241
- declare const eventAttributes: (ocelId: string | null, params?: EventAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<TypedAttribute[]>;
1242
- declare const getEventAttributesQueryKey: (ocelId: string | null, params?: EventAttributesParams) => readonly [`/api/external/ocels/${string}/events/attributes`, ...EventAttributesParams[]];
1243
- declare const getEventAttributesQueryOptions: <TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventAttributesParams, options?: {
1244
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
1245
- request?: SecondParameter<typeof customFetch>;
1246
- }) => UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData> & {
992
+ declare const getPluginMethod: (pluginId: string, methodName: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<PluginMethod | null>;
993
+ declare const getGetPluginMethodQueryKey: (pluginId: string, methodName: string) => readonly [`/api/external/plugins/${string}/${string}`];
994
+ declare const getGetPluginMethodQueryOptions: <TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
995
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
996
+ request?: SecondParameter$1<typeof customFetch>;
997
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData> & {
1247
998
  queryKey: DataTag<QueryKey, TData, TError>;
1248
999
  };
1249
- type EventAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof eventAttributes>>>;
1250
- type EventAttributesQueryError = HTTPValidationError;
1251
- declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | EventAttributesParams, options: {
1252
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
1253
- request?: SecondParameter<typeof customFetch>;
1000
+ type GetPluginMethodQueryResult = NonNullable<Awaited<ReturnType<typeof getPluginMethod>>>;
1001
+ type GetPluginMethodQueryError = HTTPValidationError;
1002
+ declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options: {
1003
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
1004
+ request?: SecondParameter$1<typeof customFetch>;
1254
1005
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1255
1006
  queryKey: DataTag<QueryKey, TData, TError>;
1256
1007
  };
1257
- declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventAttributesParams, options?: {
1258
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
1259
- request?: SecondParameter<typeof customFetch>;
1008
+ declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1009
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
1010
+ request?: SecondParameter$1<typeof customFetch>;
1260
1011
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1261
1012
  queryKey: DataTag<QueryKey, TData, TError>;
1262
1013
  };
1263
- declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventAttributesParams, options?: {
1264
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
1265
- request?: SecondParameter<typeof customFetch>;
1014
+ declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1015
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
1016
+ request?: SecondParameter$1<typeof customFetch>;
1266
1017
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1267
1018
  queryKey: DataTag<QueryKey, TData, TError>;
1268
1019
  };
1269
1020
  /**
1270
- * @summary Get Event Counts
1021
+ * @summary Run Plugin
1271
1022
  */
1272
- declare const eventCounts: (ocelId: string | null, params?: EventCountsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<EventCounts200>;
1273
- declare const getEventCountsQueryKey: (ocelId: string | null, params?: EventCountsParams) => readonly [`/api/external/ocels/${string}/events/counts`, ...EventCountsParams[]];
1274
- declare const getEventCountsQueryOptions: <TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventCountsParams, options?: {
1275
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
1276
- request?: SecondParameter<typeof customFetch>;
1277
- }) => UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData> & {
1023
+ declare const runPlugin: (pluginId: string, methodName: string, bodyRunPlugin: BodyRunPlugin, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<string>;
1024
+ declare const getRunPluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1025
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
1026
+ pluginId: string;
1027
+ methodName: string;
1028
+ data: BodyRunPlugin;
1029
+ }, TContext>;
1030
+ request?: SecondParameter$1<typeof customFetch>;
1031
+ }) => UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
1032
+ pluginId: string;
1033
+ methodName: string;
1034
+ data: BodyRunPlugin;
1035
+ }, TContext>;
1036
+ type RunPluginMutationResult = NonNullable<Awaited<ReturnType<typeof runPlugin>>>;
1037
+ type RunPluginMutationBody = BodyRunPlugin;
1038
+ type RunPluginMutationError = HTTPValidationError;
1039
+ /**
1040
+ * @summary Run Plugin
1041
+ */
1042
+ declare const useRunPlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
1043
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
1044
+ pluginId: string;
1045
+ methodName: string;
1046
+ data: BodyRunPlugin;
1047
+ }, TContext>;
1048
+ request?: SecondParameter$1<typeof customFetch>;
1049
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof runPlugin>>, TError, {
1050
+ pluginId: string;
1051
+ methodName: string;
1052
+ data: BodyRunPlugin;
1053
+ }, TContext>;
1054
+ /**
1055
+ * @summary Get Plugin Result
1056
+ */
1057
+ declare const pluginResult: (pluginId: string, methodName: string, taskId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<(OCELOutput | ResourceOutput)[] | null>;
1058
+ declare const getPluginResultQueryKey: (pluginId: string, methodName: string, taskId: string) => readonly [`/api/external/plugins/${string}/${string}/result/${string}`];
1059
+ declare const getPluginResultQueryOptions: <TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
1060
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>>;
1061
+ request?: SecondParameter$1<typeof customFetch>;
1062
+ }) => UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData> & {
1278
1063
  queryKey: DataTag<QueryKey, TData, TError>;
1279
1064
  };
1280
- type EventCountsQueryResult = NonNullable<Awaited<ReturnType<typeof eventCounts>>>;
1281
- type EventCountsQueryError = HTTPValidationError;
1282
- declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | EventCountsParams, options: {
1283
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
1284
- request?: SecondParameter<typeof customFetch>;
1065
+ type PluginResultQueryResult = NonNullable<Awaited<ReturnType<typeof pluginResult>>>;
1066
+ type PluginResultQueryError = HTTPValidationError;
1067
+ declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options: {
1068
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof pluginResult>>, TError, Awaited<ReturnType<typeof pluginResult>>>, 'initialData'>;
1069
+ request?: SecondParameter$1<typeof customFetch>;
1285
1070
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1286
1071
  queryKey: DataTag<QueryKey, TData, TError>;
1287
1072
  };
1288
- declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventCountsParams, options?: {
1289
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
1290
- request?: SecondParameter<typeof customFetch>;
1073
+ declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
1074
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof pluginResult>>, TError, Awaited<ReturnType<typeof pluginResult>>>, 'initialData'>;
1075
+ request?: SecondParameter$1<typeof customFetch>;
1291
1076
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1292
1077
  queryKey: DataTag<QueryKey, TData, TError>;
1293
1078
  };
1294
- declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventCountsParams, options?: {
1295
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
1296
- request?: SecondParameter<typeof customFetch>;
1079
+ declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
1080
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>>;
1081
+ request?: SecondParameter$1<typeof customFetch>;
1297
1082
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1298
1083
  queryKey: DataTag<QueryKey, TData, TError>;
1299
1084
  };
1300
1085
  /**
1301
- * @summary Get Activities
1086
+ * Save the selected results into the session as OCELs / resources.
1087
+ * @summary Save Plugin Results
1302
1088
  */
1303
- declare const activities: (ocelId: string | null, params?: ActivitiesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
1304
- declare const getActivitiesQueryKey: (ocelId: string | null, params?: ActivitiesParams) => readonly [`/api/external/ocels/${string}/events/activityNames`, ...ActivitiesParams[]];
1305
- declare const getActivitiesQueryOptions: <TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params?: ActivitiesParams, options?: {
1306
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>>;
1307
- request?: SecondParameter<typeof customFetch>;
1308
- }) => UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData> & {
1089
+ declare const savePluginResults: (pluginId: string, methodName: string, taskId: string, bodySavePluginResults: BodySavePluginResults, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<SavedResults>;
1090
+ declare const getSavePluginResultsMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1091
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
1092
+ pluginId: string;
1093
+ methodName: string;
1094
+ taskId: string;
1095
+ data: BodySavePluginResults;
1096
+ }, TContext>;
1097
+ request?: SecondParameter$1<typeof customFetch>;
1098
+ }) => UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
1099
+ pluginId: string;
1100
+ methodName: string;
1101
+ taskId: string;
1102
+ data: BodySavePluginResults;
1103
+ }, TContext>;
1104
+ type SavePluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof savePluginResults>>>;
1105
+ type SavePluginResultsMutationBody = BodySavePluginResults;
1106
+ type SavePluginResultsMutationError = HTTPValidationError;
1107
+ /**
1108
+ * @summary Save Plugin Results
1109
+ */
1110
+ declare const useSavePluginResults: <TError = HTTPValidationError, TContext = unknown>(options?: {
1111
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
1112
+ pluginId: string;
1113
+ methodName: string;
1114
+ taskId: string;
1115
+ data: BodySavePluginResults;
1116
+ }, TContext>;
1117
+ request?: SecondParameter$1<typeof customFetch>;
1118
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof savePluginResults>>, TError, {
1119
+ pluginId: string;
1120
+ methodName: string;
1121
+ taskId: string;
1122
+ data: BodySavePluginResults;
1123
+ }, TContext>;
1124
+ /**
1125
+ * Bundle the selected results into a zip for download.
1126
+ * @summary Download Plugin Results
1127
+ */
1128
+ declare const downloadPluginResults: (pluginId: string, methodName: string, taskId: string, bodyDownloadPluginResults: BodyDownloadPluginResults, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1129
+ declare const getDownloadPluginResultsMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1130
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
1131
+ pluginId: string;
1132
+ methodName: string;
1133
+ taskId: string;
1134
+ data: BodyDownloadPluginResults;
1135
+ }, TContext>;
1136
+ request?: SecondParameter$1<typeof customFetch>;
1137
+ }) => UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
1138
+ pluginId: string;
1139
+ methodName: string;
1140
+ taskId: string;
1141
+ data: BodyDownloadPluginResults;
1142
+ }, TContext>;
1143
+ type DownloadPluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof downloadPluginResults>>>;
1144
+ type DownloadPluginResultsMutationBody = BodyDownloadPluginResults;
1145
+ type DownloadPluginResultsMutationError = HTTPValidationError;
1146
+ /**
1147
+ * @summary Download Plugin Results
1148
+ */
1149
+ declare const useDownloadPluginResults: <TError = HTTPValidationError, TContext = unknown>(options?: {
1150
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
1151
+ pluginId: string;
1152
+ methodName: string;
1153
+ taskId: string;
1154
+ data: BodyDownloadPluginResults;
1155
+ }, TContext>;
1156
+ request?: SecondParameter$1<typeof customFetch>;
1157
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
1158
+ pluginId: string;
1159
+ methodName: string;
1160
+ taskId: string;
1161
+ data: BodyDownloadPluginResults;
1162
+ }, TContext>;
1163
+ /**
1164
+ * @summary Get Computed
1165
+ */
1166
+ declare const getComputedValues: (pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
1167
+ declare const getGetComputedValuesQueryKey: (pluginId: string, methodName: string, provider: string, bodyGetComputedValues?: BodyGetComputedValues) => readonly ["POST", `/api/external/plugins/${string}/${string}/computed/${string}`, BodyGetComputedValues | undefined];
1168
+ declare const getGetComputedValuesQueryOptions: <TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
1169
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>>;
1170
+ request?: SecondParameter$1<typeof customFetch>;
1171
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData> & {
1309
1172
  queryKey: DataTag<QueryKey, TData, TError>;
1310
1173
  };
1311
- type ActivitiesQueryResult = NonNullable<Awaited<ReturnType<typeof activities>>>;
1312
- type ActivitiesQueryError = HTTPValidationError;
1313
- declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ActivitiesParams, options: {
1314
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof activities>>, TError, Awaited<ReturnType<typeof activities>>>, 'initialData'>;
1315
- request?: SecondParameter<typeof customFetch>;
1174
+ type GetComputedValuesQueryResult = NonNullable<Awaited<ReturnType<typeof getComputedValues>>>;
1175
+ type GetComputedValuesQueryError = HTTPValidationError;
1176
+ declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options: {
1177
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, Awaited<ReturnType<typeof getComputedValues>>>, 'initialData'>;
1178
+ request?: SecondParameter$1<typeof customFetch>;
1316
1179
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1317
1180
  queryKey: DataTag<QueryKey, TData, TError>;
1318
1181
  };
1319
- declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params?: ActivitiesParams, options?: {
1320
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof activities>>, TError, Awaited<ReturnType<typeof activities>>>, 'initialData'>;
1321
- request?: SecondParameter<typeof customFetch>;
1182
+ declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
1183
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, Awaited<ReturnType<typeof getComputedValues>>>, 'initialData'>;
1184
+ request?: SecondParameter$1<typeof customFetch>;
1322
1185
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1323
1186
  queryKey: DataTag<QueryKey, TData, TError>;
1324
1187
  };
1325
- declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params?: ActivitiesParams, options?: {
1326
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>>;
1327
- request?: SecondParameter<typeof customFetch>;
1188
+ declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
1189
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>>;
1190
+ request?: SecondParameter$1<typeof customFetch>;
1328
1191
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1329
1192
  queryKey: DataTag<QueryKey, TData, TError>;
1330
1193
  };
1331
1194
  /**
1332
- * @summary Get Time Info
1195
+ * @summary Get Resources
1333
1196
  */
1334
- declare const timeInfo: (ocelId: string | null, params?: TimeInfoParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<EntityTimeInfo>;
1335
- declare const getTimeInfoQueryKey: (ocelId: string | null, params?: TimeInfoParams) => readonly [`/api/external/ocels/${string}/events/time`, ...TimeInfoParams[]];
1336
- declare const getTimeInfoQueryOptions: <TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: TimeInfoParams, options?: {
1337
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
1338
- request?: SecondParameter<typeof customFetch>;
1339
- }) => UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData> & {
1197
+ declare const resources: (params?: ResourcesParams, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<ResourceApi[]>;
1198
+ declare const getResourcesQueryKey: (params?: ResourcesParams) => readonly ["/api/external/resources", ...ResourcesParams[]];
1199
+ declare const getResourcesQueryOptions: <TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
1200
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>>;
1201
+ request?: SecondParameter$1<typeof customFetch>;
1202
+ }) => UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData> & {
1340
1203
  queryKey: DataTag<QueryKey, TData, TError>;
1341
1204
  };
1342
- type TimeInfoQueryResult = NonNullable<Awaited<ReturnType<typeof timeInfo>>>;
1343
- type TimeInfoQueryError = HTTPValidationError;
1344
- declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | TimeInfoParams, options: {
1345
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
1346
- request?: SecondParameter<typeof customFetch>;
1205
+ type ResourcesQueryResult = NonNullable<Awaited<ReturnType<typeof resources>>>;
1206
+ type ResourcesQueryError = HTTPValidationError;
1207
+ declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params: undefined | ResourcesParams, options: {
1208
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
1209
+ request?: SecondParameter$1<typeof customFetch>;
1347
1210
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1348
1211
  queryKey: DataTag<QueryKey, TData, TError>;
1349
1212
  };
1350
- declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: TimeInfoParams, options?: {
1351
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
1352
- request?: SecondParameter<typeof customFetch>;
1213
+ declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
1214
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
1215
+ request?: SecondParameter$1<typeof customFetch>;
1353
1216
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1354
1217
  queryKey: DataTag<QueryKey, TData, TError>;
1355
1218
  };
1356
- declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: TimeInfoParams, options?: {
1357
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
1358
- request?: SecondParameter<typeof customFetch>;
1219
+ declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
1220
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>>;
1221
+ request?: SecondParameter$1<typeof customFetch>;
1359
1222
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1360
1223
  queryKey: DataTag<QueryKey, TData, TError>;
1361
1224
  };
1362
1225
  /**
1363
- * @summary Get Object Counts
1226
+ * @summary Upload Resource
1364
1227
  */
1365
- declare const objectCounts: (ocelId: string | null, params?: ObjectCountsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<ObjectCounts200>;
1366
- declare const getObjectCountsQueryKey: (ocelId: string | null, params?: ObjectCountsParams) => readonly [`/api/external/ocels/${string}/objects/counts`, ...ObjectCountsParams[]];
1367
- declare const getObjectCountsQueryOptions: <TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectCountsParams, options?: {
1368
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
1369
- request?: SecondParameter<typeof customFetch>;
1370
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData> & {
1228
+ declare const uploadResource: (bodyUploadResource: BodyUploadResource, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1229
+ declare const getUploadResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1230
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
1231
+ data: BodyUploadResource;
1232
+ }, TContext>;
1233
+ request?: SecondParameter$1<typeof customFetch>;
1234
+ }) => UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
1235
+ data: BodyUploadResource;
1236
+ }, TContext>;
1237
+ type UploadResourceMutationResult = NonNullable<Awaited<ReturnType<typeof uploadResource>>>;
1238
+ type UploadResourceMutationBody = BodyUploadResource;
1239
+ type UploadResourceMutationError = HTTPValidationError;
1240
+ /**
1241
+ * @summary Upload Resource
1242
+ */
1243
+ declare const useUploadResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
1244
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
1245
+ data: BodyUploadResource;
1246
+ }, TContext>;
1247
+ request?: SecondParameter$1<typeof customFetch>;
1248
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof uploadResource>>, TError, {
1249
+ data: BodyUploadResource;
1250
+ }, TContext>;
1251
+ /**
1252
+ * @summary Get Resource Meta
1253
+ */
1254
+ declare const getResourceMeta: (options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<GetResourceMeta200>;
1255
+ declare const getGetResourceMetaQueryKey: () => readonly ["/api/external/resources/meta"];
1256
+ declare const getGetResourceMetaQueryOptions: <TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
1257
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>>;
1258
+ request?: SecondParameter$1<typeof customFetch>;
1259
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData> & {
1371
1260
  queryKey: DataTag<QueryKey, TData, TError>;
1372
1261
  };
1373
- type ObjectCountsQueryResult = NonNullable<Awaited<ReturnType<typeof objectCounts>>>;
1374
- type ObjectCountsQueryError = HTTPValidationError;
1375
- declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectCountsParams, options: {
1376
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
1377
- request?: SecondParameter<typeof customFetch>;
1262
+ type GetResourceMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getResourceMeta>>>;
1263
+ type GetResourceMetaQueryError = unknown;
1264
+ declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options: {
1265
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
1266
+ request?: SecondParameter$1<typeof customFetch>;
1378
1267
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1379
1268
  queryKey: DataTag<QueryKey, TData, TError>;
1380
1269
  };
1381
- declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectCountsParams, options?: {
1382
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
1383
- request?: SecondParameter<typeof customFetch>;
1270
+ declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
1271
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
1272
+ request?: SecondParameter$1<typeof customFetch>;
1384
1273
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1385
1274
  queryKey: DataTag<QueryKey, TData, TError>;
1386
1275
  };
1387
- declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectCountsParams, options?: {
1388
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
1389
- request?: SecondParameter<typeof customFetch>;
1276
+ declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
1277
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>>;
1278
+ request?: SecondParameter$1<typeof customFetch>;
1390
1279
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1391
1280
  queryKey: DataTag<QueryKey, TData, TError>;
1392
1281
  };
1393
1282
  /**
1394
- * @summary Get E2O
1283
+ * @summary Download Resource
1395
1284
  */
1396
- declare const e2o: (ocelId: string | null, params?: E2oParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListRelationCountSummary>;
1397
- declare const getE2oQueryKey: (ocelId: string | null, params?: E2oParams) => readonly [`/api/external/ocels/${string}/relations/e2o`, ...E2oParams[]];
1398
- declare const getE2oQueryOptions: <TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oParams, options?: {
1399
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
1400
- request?: SecondParameter<typeof customFetch>;
1401
- }) => UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData> & {
1285
+ declare const downloadResource: (resourceId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1286
+ declare const getDownloadResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}/download`];
1287
+ declare const getDownloadResourceQueryOptions: <TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
1288
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>>;
1289
+ request?: SecondParameter$1<typeof customFetch>;
1290
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData> & {
1402
1291
  queryKey: DataTag<QueryKey, TData, TError>;
1403
1292
  };
1404
- type E2oQueryResult = NonNullable<Awaited<ReturnType<typeof e2o>>>;
1405
- type E2oQueryError = HTTPValidationError;
1406
- declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | E2oParams, options: {
1407
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
1408
- request?: SecondParameter<typeof customFetch>;
1293
+ type DownloadResourceQueryResult = NonNullable<Awaited<ReturnType<typeof downloadResource>>>;
1294
+ type DownloadResourceQueryError = HTTPValidationError;
1295
+ declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options: {
1296
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
1297
+ request?: SecondParameter$1<typeof customFetch>;
1409
1298
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1410
1299
  queryKey: DataTag<QueryKey, TData, TError>;
1411
1300
  };
1412
- declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oParams, options?: {
1413
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
1414
- request?: SecondParameter<typeof customFetch>;
1301
+ declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
1302
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
1303
+ request?: SecondParameter$1<typeof customFetch>;
1415
1304
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1416
1305
  queryKey: DataTag<QueryKey, TData, TError>;
1417
1306
  };
1418
- declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oParams, options?: {
1419
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
1420
- request?: SecondParameter<typeof customFetch>;
1307
+ declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
1308
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>>;
1309
+ request?: SecondParameter$1<typeof customFetch>;
1421
1310
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1422
1311
  queryKey: DataTag<QueryKey, TData, TError>;
1423
1312
  };
1424
1313
  /**
1425
- * @summary Get Object Relations
1314
+ * @summary Download Resource As Pnml
1426
1315
  */
1427
- declare const o2o: (ocelId: string | null, params?: O2oParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListRelationCountSummary>;
1428
- declare const getO2oQueryKey: (ocelId: string | null, params?: O2oParams) => readonly [`/api/external/ocels/${string}/relations/o2o`, ...O2oParams[]];
1429
- declare const getO2oQueryOptions: <TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oParams, options?: {
1430
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
1431
- request?: SecondParameter<typeof customFetch>;
1432
- }) => UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData> & {
1316
+ declare const downloadResourceAsPnml: (resourceId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1317
+ declare const getDownloadResourceAsPnmlQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}/download/pnml`];
1318
+ declare const getDownloadResourceAsPnmlQueryOptions: <TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
1319
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>>;
1320
+ request?: SecondParameter$1<typeof customFetch>;
1321
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData> & {
1433
1322
  queryKey: DataTag<QueryKey, TData, TError>;
1434
1323
  };
1435
- type O2oQueryResult = NonNullable<Awaited<ReturnType<typeof o2o>>>;
1436
- type O2oQueryError = HTTPValidationError;
1437
- declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | O2oParams, options: {
1438
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
1439
- request?: SecondParameter<typeof customFetch>;
1324
+ type DownloadResourceAsPnmlQueryResult = NonNullable<Awaited<ReturnType<typeof downloadResourceAsPnml>>>;
1325
+ type DownloadResourceAsPnmlQueryError = HTTPValidationError;
1326
+ declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options: {
1327
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, Awaited<ReturnType<typeof downloadResourceAsPnml>>>, 'initialData'>;
1328
+ request?: SecondParameter$1<typeof customFetch>;
1440
1329
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1441
1330
  queryKey: DataTag<QueryKey, TData, TError>;
1442
1331
  };
1443
- declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oParams, options?: {
1444
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
1445
- request?: SecondParameter<typeof customFetch>;
1332
+ declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
1333
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, Awaited<ReturnType<typeof downloadResourceAsPnml>>>, 'initialData'>;
1334
+ request?: SecondParameter$1<typeof customFetch>;
1446
1335
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1447
1336
  queryKey: DataTag<QueryKey, TData, TError>;
1448
1337
  };
1449
- declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oParams, options?: {
1450
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
1451
- request?: SecondParameter<typeof customFetch>;
1338
+ declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
1339
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>>;
1340
+ request?: SecondParameter$1<typeof customFetch>;
1452
1341
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1453
1342
  queryKey: DataTag<QueryKey, TData, TError>;
1454
1343
  };
1455
1344
  /**
1456
- * @summary Get E2O Combinations
1345
+ * @summary Get Resource
1457
1346
  */
1458
- declare const e2oCombinations: (ocelId: string | null, params?: E2oCombinationsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCombination[]>;
1459
- declare const getE2oCombinationsQueryKey: (ocelId: string | null, params?: E2oCombinationsParams) => readonly [`/api/external/ocels/${string}/relations/e2o/combinations`, ...E2oCombinationsParams[]];
1460
- declare const getE2oCombinationsQueryOptions: <TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
1461
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>>;
1462
- request?: SecondParameter<typeof customFetch>;
1463
- }) => UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData> & {
1347
+ declare const resource: (resourceId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<GetResourceResponse>;
1348
+ declare const getResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}`];
1349
+ declare const getResourceQueryOptions: <TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
1350
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>>;
1351
+ request?: SecondParameter$1<typeof customFetch>;
1352
+ }) => UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData> & {
1464
1353
  queryKey: DataTag<QueryKey, TData, TError>;
1465
1354
  };
1466
- type E2oCombinationsQueryResult = NonNullable<Awaited<ReturnType<typeof e2oCombinations>>>;
1467
- type E2oCombinationsQueryError = HTTPValidationError;
1468
- declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | E2oCombinationsParams, options: {
1469
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, Awaited<ReturnType<typeof e2oCombinations>>>, 'initialData'>;
1470
- request?: SecondParameter<typeof customFetch>;
1355
+ type ResourceQueryResult = NonNullable<Awaited<ReturnType<typeof resource>>>;
1356
+ type ResourceQueryError = HTTPValidationError;
1357
+ declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options: {
1358
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
1359
+ request?: SecondParameter$1<typeof customFetch>;
1471
1360
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1472
1361
  queryKey: DataTag<QueryKey, TData, TError>;
1473
1362
  };
1474
- declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
1475
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, Awaited<ReturnType<typeof e2oCombinations>>>, 'initialData'>;
1476
- request?: SecondParameter<typeof customFetch>;
1363
+ declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
1364
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
1365
+ request?: SecondParameter$1<typeof customFetch>;
1477
1366
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1478
1367
  queryKey: DataTag<QueryKey, TData, TError>;
1479
1368
  };
1480
- declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
1481
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>>;
1482
- request?: SecondParameter<typeof customFetch>;
1369
+ declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
1370
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>>;
1371
+ request?: SecondParameter$1<typeof customFetch>;
1483
1372
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1484
1373
  queryKey: DataTag<QueryKey, TData, TError>;
1485
1374
  };
1486
1375
  /**
1487
- * @summary Get O2O Combinations
1376
+ * @summary Delete Resource
1488
1377
  */
1489
- declare const o2oCombinations: (ocelId: string | null, params?: O2oCombinationsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCombination[]>;
1490
- declare const getO2oCombinationsQueryKey: (ocelId: string | null, params?: O2oCombinationsParams) => readonly [`/api/external/ocels/${string}/relations/o2o/combinations`, ...O2oCombinationsParams[]];
1491
- declare const getO2oCombinationsQueryOptions: <TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
1492
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>>;
1493
- request?: SecondParameter<typeof customFetch>;
1494
- }) => UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData> & {
1495
- queryKey: DataTag<QueryKey, TData, TError>;
1378
+ declare const deleteResource: (resourceId: string, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1379
+ declare const getDeleteResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1380
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
1381
+ resourceId: string;
1382
+ }, TContext>;
1383
+ request?: SecondParameter$1<typeof customFetch>;
1384
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
1385
+ resourceId: string;
1386
+ }, TContext>;
1387
+ type DeleteResourceMutationResult = NonNullable<Awaited<ReturnType<typeof deleteResource>>>;
1388
+ type DeleteResourceMutationError = HTTPValidationError;
1389
+ /**
1390
+ * @summary Delete Resource
1391
+ */
1392
+ declare const useDeleteResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
1393
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
1394
+ resourceId: string;
1395
+ }, TContext>;
1396
+ request?: SecondParameter$1<typeof customFetch>;
1397
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteResource>>, TError, {
1398
+ resourceId: string;
1399
+ }, TContext>;
1400
+ /**
1401
+ * @summary Rename Resource
1402
+ */
1403
+ declare const renameResource: (resourceId: string, params: RenameResourceParams, options?: SecondParameter$1<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1404
+ declare const getRenameResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1405
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
1406
+ resourceId: string;
1407
+ params: RenameResourceParams;
1408
+ }, TContext>;
1409
+ request?: SecondParameter$1<typeof customFetch>;
1410
+ }) => UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
1411
+ resourceId: string;
1412
+ params: RenameResourceParams;
1413
+ }, TContext>;
1414
+ type RenameResourceMutationResult = NonNullable<Awaited<ReturnType<typeof renameResource>>>;
1415
+ type RenameResourceMutationError = HTTPValidationError;
1416
+ /**
1417
+ * @summary Rename Resource
1418
+ */
1419
+ declare const useRenameResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
1420
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
1421
+ resourceId: string;
1422
+ params: RenameResourceParams;
1423
+ }, TContext>;
1424
+ request?: SecondParameter$1<typeof customFetch>;
1425
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameResource>>, TError, {
1426
+ resourceId: string;
1427
+ params: RenameResourceParams;
1428
+ }, TContext>;
1429
+ //#endregion
1430
+ //#region src/api/ocel/index.d.ts
1431
+ type ValueType = typeof ValueType[keyof typeof ValueType];
1432
+ declare const ValueType: {
1433
+ readonly empty: "empty";
1434
+ readonly string: "string";
1435
+ readonly bool: "bool";
1436
+ readonly int: "int";
1437
+ readonly float: "float";
1438
+ readonly date: "date";
1439
+ };
1440
+ /**
1441
+ * An attribute summarized across every entity type that carries it.
1442
+ */
1443
+ interface AggregatedAttribute {
1444
+ name: string;
1445
+ min: string | number;
1446
+ max: string | number;
1447
+ distinct_values: number;
1448
+ type: ValueType;
1449
+ entity_type_names: string[];
1450
+ }
1451
+ type DateDistributionItemEntityCount = {
1452
+ [key: string]: number;
1453
+ };
1454
+ interface DateDistributionItem {
1455
+ start_timestamp: string;
1456
+ end_timestamp: string;
1457
+ entity_count: DateDistributionItemEntityCount;
1458
+ }
1459
+ /**
1460
+ * Definition of a default OCEL on the server, for quick access. Supports pre-loading the OCEL on backend init.
1461
+ */
1462
+ interface DefaultOCEL {
1463
+ key: string;
1464
+ name: string;
1465
+ version: string;
1466
+ file: string;
1467
+ url?: string | null;
1468
+ preload?: boolean;
1469
+ hide?: boolean;
1470
+ }
1471
+ interface EntityTimeInfo {
1472
+ start_time: string;
1473
+ end_time: string;
1474
+ date_distribution: DateDistributionItem[];
1475
+ }
1476
+ type ValidationErrorCtx$1 = {
1477
+ [key: string]: unknown;
1478
+ };
1479
+ interface ValidationError$1 {
1480
+ loc: (string | number)[];
1481
+ msg: string;
1482
+ type: string;
1483
+ input?: unknown;
1484
+ ctx?: ValidationErrorCtx$1;
1485
+ }
1486
+ interface HTTPValidationError$1 {
1487
+ detail?: ValidationError$1[];
1488
+ }
1489
+ interface OCELExtensionDescription {
1490
+ name: string;
1491
+ label: string;
1492
+ description: string;
1493
+ }
1494
+ /**
1495
+ * A single object variant: a distinct activity sequence objects of a type follow.
1496
+ *
1497
+ * Attributes:
1498
+ * variant_id: Identifier of the variant
1499
+ * (``<object_type>_<hash of the activity sequence>``). It depends only
1500
+ * on the sequence, so it stays the same across filtered views of a log.
1501
+ * activities: The ordered activity sequence that defines the variant.
1502
+ * event_count: Number of events in the variant (length of ``activities``).
1503
+ * case_count: Number of objects (cases) that follow this variant.
1504
+ */
1505
+ interface ObjectVariant {
1506
+ variant_id: string;
1507
+ activities: string[];
1508
+ event_count: number;
1509
+ case_count: number;
1510
+ }
1511
+ /**
1512
+ * All variants of a single object type together with the totals across them.
1513
+ *
1514
+ * Attributes:
1515
+ * variants: The distinct variants, sorted by frequency (descending).
1516
+ * case_count: Total number of cases (objects) of the object type.
1517
+ * event_count: Total number of events across all cases of the object type.
1518
+ */
1519
+ interface ObjectTypeVariants {
1520
+ variants: ObjectVariant[];
1521
+ case_count: number;
1522
+ event_count: number;
1523
+ }
1524
+ interface OcelMetadata {
1525
+ id: string;
1526
+ name: string;
1527
+ created_at: string;
1528
+ extensions: OCELExtensionDescription[];
1529
+ filter_applied: boolean | null;
1530
+ }
1531
+ interface PaginatedResponseListAggregatedAttribute {
1532
+ response: AggregatedAttribute[];
1533
+ page: number;
1534
+ page_size: number;
1535
+ total_items: number;
1536
+ readonly total_pages: number;
1537
+ }
1538
+ /**
1539
+ * Summary statistics for relationship multiplicities in O2O or E2O relations.
1540
+ *
1541
+ * For each (source type, target type[, qualifier]) combination, captures how many
1542
+ * related items occur per source instance.
1543
+ *
1544
+ * Attributes:
1545
+ * qualifier: The relation qualifier (empty string when none applies).
1546
+ * qualifiers: The qualifiers aggregated under a (source, target) pair. For
1547
+ * aggregated rows (``with_qualifier=False``) this lists every qualifier;
1548
+ * for per-qualifier rows it is the single-element list ``[qualifier]``.
1549
+ * source: The source object or event type.
1550
+ * target: The target object or event type.
1551
+ * min_count: The minimum number of related items for any source instance.
1552
+ * max_count: The maximum number of related items for any source instance.
1553
+ * sum: The total number of relation occurrences across all instances.
1554
+ */
1555
+ interface RelationCountSummary {
1556
+ qualifier: string;
1557
+ qualifiers?: string[];
1558
+ source: string;
1559
+ target: string;
1560
+ min_count: number;
1561
+ max_count: number;
1562
+ sum: number;
1563
+ }
1564
+ interface PaginatedResponseListRelationCountSummary {
1565
+ response: RelationCountSummary[];
1566
+ page: number;
1567
+ page_size: number;
1568
+ total_items: number;
1569
+ readonly total_pages: number;
1570
+ }
1571
+ interface PaginatedResponseListStr {
1572
+ response: string[];
1573
+ page: number;
1574
+ page_size: number;
1575
+ total_items: number;
1576
+ readonly total_pages: number;
1577
+ }
1578
+ interface QuantityInfo {
1579
+ item_types: string[];
1580
+ total_object_count: number;
1581
+ total_event_count: number;
1582
+ object_types: string[];
1583
+ activities: string[];
1584
+ }
1585
+ /**
1586
+ * A distinct (source, target, qualifier) combination of a relation.
1587
+ *
1588
+ * Attributes:
1589
+ * source: The source object or event type.
1590
+ * target: The target object or event type.
1591
+ * qualifier: The relation qualifier (empty string when none applies).
1592
+ */
1593
+ interface RelationCombination {
1594
+ source: string;
1595
+ target: string;
1596
+ qualifier: string;
1597
+ }
1598
+ /**
1599
+ * An attribute summarized for a single entity type (activity / object type).
1600
+ */
1601
+ interface TypedAttribute {
1602
+ name: string;
1603
+ min: string | number;
1604
+ max: string | number;
1605
+ distinct_values: number;
1606
+ type: ValueType;
1607
+ entity_type: string;
1608
+ }
1609
+ type GetOcelsParams = {
1610
+ extension_name?: string | null;
1611
+ };
1612
+ type GetDefaultOcelParams = {
1613
+ only_latest_versions?: boolean;
1614
+ only_preloaded?: boolean;
1615
+ };
1616
+ type ImportDefaultOcelParams = {
1617
+ /**
1618
+ * Default OCEL key
1619
+ */
1620
+ key: string;
1621
+ /**
1622
+ * Dataset version (optional)
1623
+ */
1624
+ version?: string | null;
1625
+ };
1626
+ type GetExtensionMeta200 = {
1627
+ [key: string]: OCELExtensionDescription;
1628
+ };
1629
+ type RenameOcelParams = {
1630
+ new_name: string;
1631
+ };
1632
+ type AggregatedAttributesParams = {
1633
+ /**
1634
+ * @minimum 1
1635
+ */
1636
+ page?: number;
1637
+ page_size?: number;
1638
+ entity_type?: AggregatedAttributesEntityType;
1639
+ attribute_names?: string[] | null;
1640
+ entity_names?: string[] | null;
1641
+ drop_constant?: boolean;
1642
+ ocel_version?: AggregatedAttributesOcelVersion;
1643
+ };
1644
+ type AggregatedAttributesEntityType = typeof AggregatedAttributesEntityType[keyof typeof AggregatedAttributesEntityType];
1645
+ declare const AggregatedAttributesEntityType: {
1646
+ readonly events: "events";
1647
+ readonly objects: "objects";
1648
+ };
1649
+ type AggregatedAttributesOcelVersion = typeof AggregatedAttributesOcelVersion[keyof typeof AggregatedAttributesOcelVersion] | null;
1650
+ declare const AggregatedAttributesOcelVersion: {
1651
+ readonly original: "original";
1652
+ readonly filtered: "filtered";
1653
+ };
1654
+ type ObjectAttributesParams = {
1655
+ attribute_names?: string[];
1656
+ names?: string[] | null;
1657
+ ocel_version?: ObjectAttributesOcelVersion;
1658
+ };
1659
+ type ObjectAttributesOcelVersion = typeof ObjectAttributesOcelVersion[keyof typeof ObjectAttributesOcelVersion] | null;
1660
+ declare const ObjectAttributesOcelVersion: {
1661
+ readonly original: "original";
1662
+ readonly filtered: "filtered";
1663
+ };
1664
+ type EventAttributesParams = {
1665
+ attribute_names?: string[];
1666
+ names?: string[] | null;
1667
+ ocel_version?: EventAttributesOcelVersion;
1668
+ };
1669
+ type EventAttributesOcelVersion = typeof EventAttributesOcelVersion[keyof typeof EventAttributesOcelVersion] | null;
1670
+ declare const EventAttributesOcelVersion: {
1671
+ readonly original: "original";
1672
+ readonly filtered: "filtered";
1673
+ };
1674
+ type AttributeNamesParams = {
1675
+ entity_type?: AttributeNamesEntityType;
1676
+ ocel_version?: AttributeNamesOcelVersion;
1677
+ };
1678
+ type AttributeNamesEntityType = typeof AttributeNamesEntityType[keyof typeof AttributeNamesEntityType] | null;
1679
+ declare const AttributeNamesEntityType: {
1680
+ readonly events: "events";
1681
+ readonly objects: "objects";
1682
+ };
1683
+ type AttributeNamesOcelVersion = typeof AttributeNamesOcelVersion[keyof typeof AttributeNamesOcelVersion] | null;
1684
+ declare const AttributeNamesOcelVersion: {
1685
+ readonly original: "original";
1686
+ readonly filtered: "filtered";
1687
+ };
1688
+ type ObjectTypesParams = {
1689
+ ocel_version?: ObjectTypesOcelVersion;
1690
+ };
1691
+ type ObjectTypesOcelVersion = typeof ObjectTypesOcelVersion[keyof typeof ObjectTypesOcelVersion] | null;
1692
+ declare const ObjectTypesOcelVersion: {
1693
+ readonly original: "original";
1694
+ readonly filtered: "filtered";
1695
+ };
1696
+ type ObjectCountsParams = {
1697
+ ocel_version?: ObjectCountsOcelVersion;
1698
+ };
1699
+ type ObjectCountsOcelVersion = typeof ObjectCountsOcelVersion[keyof typeof ObjectCountsOcelVersion] | null;
1700
+ declare const ObjectCountsOcelVersion: {
1701
+ readonly original: "original";
1702
+ readonly filtered: "filtered";
1703
+ };
1704
+ type ObjectCounts200 = {
1705
+ [key: string]: number;
1706
+ };
1707
+ type ObjectIdsParams = {
1708
+ search?: string | null;
1709
+ size?: number;
1710
+ page?: number;
1711
+ ocel_version?: ObjectIdsOcelVersion;
1712
+ };
1713
+ type ObjectIdsOcelVersion = typeof ObjectIdsOcelVersion[keyof typeof ObjectIdsOcelVersion] | null;
1714
+ declare const ObjectIdsOcelVersion: {
1715
+ readonly original: "original";
1716
+ readonly filtered: "filtered";
1717
+ };
1718
+ type ObjectVariantsParams = {
1719
+ object_type: string;
1720
+ ocel_version?: ObjectVariantsOcelVersion;
1721
+ };
1722
+ type ObjectVariantsOcelVersion = typeof ObjectVariantsOcelVersion[keyof typeof ObjectVariantsOcelVersion] | null;
1723
+ declare const ObjectVariantsOcelVersion: {
1724
+ readonly original: "original";
1725
+ readonly filtered: "filtered";
1726
+ };
1727
+ type ActivitiesParams = {
1728
+ ocel_version?: ActivitiesOcelVersion;
1729
+ };
1730
+ type ActivitiesOcelVersion = typeof ActivitiesOcelVersion[keyof typeof ActivitiesOcelVersion] | null;
1731
+ declare const ActivitiesOcelVersion: {
1732
+ readonly original: "original";
1733
+ readonly filtered: "filtered";
1734
+ };
1735
+ type EventCountsParams = {
1736
+ ocel_version?: EventCountsOcelVersion;
1737
+ };
1738
+ type EventCountsOcelVersion = typeof EventCountsOcelVersion[keyof typeof EventCountsOcelVersion] | null;
1739
+ declare const EventCountsOcelVersion: {
1740
+ readonly original: "original";
1741
+ readonly filtered: "filtered";
1742
+ };
1743
+ type EventCounts200 = {
1744
+ [key: string]: number;
1745
+ };
1746
+ type EventIdsParams = {
1747
+ search?: string | null;
1748
+ size?: number;
1749
+ page?: number;
1750
+ ocel_version?: EventIdsOcelVersion;
1751
+ };
1752
+ type EventIdsOcelVersion = typeof EventIdsOcelVersion[keyof typeof EventIdsOcelVersion] | null;
1753
+ declare const EventIdsOcelVersion: {
1754
+ readonly original: "original";
1755
+ readonly filtered: "filtered";
1756
+ };
1757
+ type TimeInfoParams = {
1758
+ periods?: number | null;
1759
+ freq?: string | null;
1760
+ ocel_version?: TimeInfoOcelVersion;
1761
+ };
1762
+ type TimeInfoOcelVersion = typeof TimeInfoOcelVersion[keyof typeof TimeInfoOcelVersion] | null;
1763
+ declare const TimeInfoOcelVersion: {
1764
+ readonly original: "original";
1765
+ readonly filtered: "filtered";
1766
+ };
1767
+ type E2oParams = {
1768
+ direction?: E2oDirection;
1769
+ source_types?: string[] | null;
1770
+ target_types?: string[] | null;
1771
+ qualifiers?: string[] | null;
1772
+ page?: number | null;
1773
+ page_size?: number | null;
1774
+ with_qualifier?: boolean;
1775
+ drop_constant?: boolean;
1776
+ ocel_version?: E2oOcelVersion;
1777
+ };
1778
+ type E2oDirection = typeof E2oDirection[keyof typeof E2oDirection];
1779
+ declare const E2oDirection: {
1780
+ readonly source: "source";
1781
+ readonly target: "target";
1782
+ };
1783
+ type E2oOcelVersion = typeof E2oOcelVersion[keyof typeof E2oOcelVersion] | null;
1784
+ declare const E2oOcelVersion: {
1785
+ readonly original: "original";
1786
+ readonly filtered: "filtered";
1787
+ };
1788
+ type O2oParams = {
1789
+ direction?: O2oDirection;
1790
+ source_types?: string[] | null;
1791
+ target_types?: string[] | null;
1792
+ qualifiers?: string[] | null;
1793
+ page?: number | null;
1794
+ page_size?: number | null;
1795
+ with_qualifier?: boolean;
1796
+ drop_constant?: boolean;
1797
+ ocel_version?: O2oOcelVersion;
1798
+ };
1799
+ type O2oDirection = typeof O2oDirection[keyof typeof O2oDirection];
1800
+ declare const O2oDirection: {
1801
+ readonly source: "source";
1802
+ readonly target: "target";
1803
+ };
1804
+ type O2oOcelVersion = typeof O2oOcelVersion[keyof typeof O2oOcelVersion] | null;
1805
+ declare const O2oOcelVersion: {
1806
+ readonly original: "original";
1807
+ readonly filtered: "filtered";
1808
+ };
1809
+ type E2oCombinationsParams = {
1810
+ direction?: E2oCombinationsDirection;
1811
+ ocel_version?: E2oCombinationsOcelVersion;
1812
+ };
1813
+ type E2oCombinationsDirection = typeof E2oCombinationsDirection[keyof typeof E2oCombinationsDirection];
1814
+ declare const E2oCombinationsDirection: {
1815
+ readonly source: "source";
1816
+ readonly target: "target";
1817
+ };
1818
+ type E2oCombinationsOcelVersion = typeof E2oCombinationsOcelVersion[keyof typeof E2oCombinationsOcelVersion] | null;
1819
+ declare const E2oCombinationsOcelVersion: {
1820
+ readonly original: "original";
1821
+ readonly filtered: "filtered";
1822
+ };
1823
+ type O2oCombinationsParams = {
1824
+ direction?: O2oCombinationsDirection;
1825
+ ocel_version?: O2oCombinationsOcelVersion;
1826
+ };
1827
+ type O2oCombinationsDirection = typeof O2oCombinationsDirection[keyof typeof O2oCombinationsDirection];
1828
+ declare const O2oCombinationsDirection: {
1829
+ readonly source: "source";
1830
+ readonly target: "target";
1831
+ };
1832
+ type O2oCombinationsOcelVersion = typeof O2oCombinationsOcelVersion[keyof typeof O2oCombinationsOcelVersion] | null;
1833
+ declare const O2oCombinationsOcelVersion: {
1834
+ readonly original: "original";
1835
+ readonly filtered: "filtered";
1836
+ };
1837
+ type QuantityInfoParams = {
1838
+ ocel_version?: QuantityInfoOcelVersion;
1839
+ };
1840
+ type QuantityInfoOcelVersion = typeof QuantityInfoOcelVersion[keyof typeof QuantityInfoOcelVersion] | null;
1841
+ declare const QuantityInfoOcelVersion: {
1842
+ readonly original: "original";
1843
+ readonly filtered: "filtered";
1844
+ };
1845
+ type DownloadOCELParams = {
1846
+ ext?: DownloadOCELExt;
1847
+ ocel_version?: DownloadOCELOcelVersion;
1848
+ };
1849
+ type DownloadOCELExt = typeof DownloadOCELExt[keyof typeof DownloadOCELExt];
1850
+ declare const DownloadOCELExt: {
1851
+ readonly xml: ".xml";
1852
+ readonly json: ".json";
1853
+ readonly sqlite: ".sqlite";
1854
+ };
1855
+ type DownloadOCELOcelVersion = typeof DownloadOCELOcelVersion[keyof typeof DownloadOCELOcelVersion] | null;
1856
+ declare const DownloadOCELOcelVersion: {
1857
+ readonly original: "original";
1858
+ readonly filtered: "filtered";
1859
+ };
1860
+ type DownloadFlatLogParams = {
1861
+ object_type_name: string;
1862
+ ocel_version?: DownloadFlatLogOcelVersion;
1496
1863
  };
1497
- type O2oCombinationsQueryResult = NonNullable<Awaited<ReturnType<typeof o2oCombinations>>>;
1498
- type O2oCombinationsQueryError = HTTPValidationError;
1499
- declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | O2oCombinationsParams, options: {
1500
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, Awaited<ReturnType<typeof o2oCombinations>>>, 'initialData'>;
1501
- request?: SecondParameter<typeof customFetch>;
1502
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1503
- queryKey: DataTag<QueryKey, TData, TError>;
1864
+ type DownloadFlatLogOcelVersion = typeof DownloadFlatLogOcelVersion[keyof typeof DownloadFlatLogOcelVersion] | null;
1865
+ declare const DownloadFlatLogOcelVersion: {
1866
+ readonly original: "original";
1867
+ readonly filtered: "filtered";
1504
1868
  };
1505
- declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
1506
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, Awaited<ReturnType<typeof o2oCombinations>>>, 'initialData'>;
1507
- request?: SecondParameter<typeof customFetch>;
1508
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1509
- queryKey: DataTag<QueryKey, TData, TError>;
1869
+ type DownloadVariantFlatLogParams = {
1870
+ object_type: string;
1871
+ /**
1872
+ * @minItems 1
1873
+ */
1874
+ variant_ids: string[];
1875
+ ocel_version?: DownloadVariantFlatLogOcelVersion;
1510
1876
  };
1511
- declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
1512
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>>;
1513
- request?: SecondParameter<typeof customFetch>;
1514
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1515
- queryKey: DataTag<QueryKey, TData, TError>;
1877
+ type DownloadVariantFlatLogOcelVersion = typeof DownloadVariantFlatLogOcelVersion[keyof typeof DownloadVariantFlatLogOcelVersion] | null;
1878
+ declare const DownloadVariantFlatLogOcelVersion: {
1879
+ readonly original: "original";
1880
+ readonly filtered: "filtered";
1516
1881
  };
1882
+ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
1517
1883
  /**
1518
- * @summary Get Event Ids
1884
+ * Returns metadata for all uploaded OCELs along with any OCEL files currently being imported.
1885
+ * @summary List uploaded and uploading OCELs
1519
1886
  */
1520
- declare const eventIds: (ocelId: string | null, params?: EventIdsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListStr>;
1521
- declare const getEventIdsQueryKey: (ocelId: string | null, params?: EventIdsParams) => readonly [`/api/external/ocels/${string}/events/ids`, ...EventIdsParams[]];
1522
- declare const getEventIdsQueryOptions: <TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventIdsParams, options?: {
1523
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
1887
+ declare const getOcels: (params?: GetOcelsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<OcelMetadata[]>;
1888
+ declare const getGetOcelsQueryKey: (params?: GetOcelsParams) => readonly ["/api/external/modules/ocel/v1/ocels", ...GetOcelsParams[]];
1889
+ declare const getGetOcelsQueryOptions: <TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError$1>(params?: GetOcelsParams, options?: {
1890
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
1524
1891
  request?: SecondParameter<typeof customFetch>;
1525
- }) => UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData> & {
1892
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData> & {
1526
1893
  queryKey: DataTag<QueryKey, TData, TError>;
1527
1894
  };
1528
- type EventIdsQueryResult = NonNullable<Awaited<ReturnType<typeof eventIds>>>;
1529
- type EventIdsQueryError = HTTPValidationError;
1530
- declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | EventIdsParams, options: {
1531
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
1895
+ type GetOcelsQueryResult = NonNullable<Awaited<ReturnType<typeof getOcels>>>;
1896
+ type GetOcelsQueryError = HTTPValidationError$1;
1897
+ declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError$1>(params: undefined | GetOcelsParams, options: {
1898
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
1532
1899
  request?: SecondParameter<typeof customFetch>;
1533
1900
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1534
1901
  queryKey: DataTag<QueryKey, TData, TError>;
1535
1902
  };
1536
- declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventIdsParams, options?: {
1537
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
1903
+ declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError$1>(params?: GetOcelsParams, options?: {
1904
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
1538
1905
  request?: SecondParameter<typeof customFetch>;
1539
1906
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1540
1907
  queryKey: DataTag<QueryKey, TData, TError>;
1541
1908
  };
1542
- declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventIdsParams, options?: {
1543
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
1909
+ declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError$1>(params?: GetOcelsParams, options?: {
1910
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
1544
1911
  request?: SecondParameter<typeof customFetch>;
1545
1912
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1546
1913
  queryKey: DataTag<QueryKey, TData, TError>;
1547
1914
  };
1548
1915
  /**
1549
- * @summary Get Object Ids
1916
+ * @summary Get default OCEL metadata
1550
1917
  */
1551
- declare const objectIds: (ocelId: string | null, params?: ObjectIdsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListStr>;
1552
- declare const getObjectIdsQueryKey: (ocelId: string | null, params?: ObjectIdsParams) => readonly [`/api/external/ocels/${string}/objects/ids`, ...ObjectIdsParams[]];
1553
- declare const getObjectIdsQueryOptions: <TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectIdsParams, options?: {
1554
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
1918
+ declare const getDefaultOcel: (params?: GetDefaultOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DefaultOCEL[]>;
1919
+ declare const getGetDefaultOcelQueryKey: (params?: GetDefaultOcelParams) => readonly ["/api/external/modules/ocel/v1/default", ...GetDefaultOcelParams[]];
1920
+ declare const getGetDefaultOcelQueryOptions: <TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError$1>(params?: GetDefaultOcelParams, options?: {
1921
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
1555
1922
  request?: SecondParameter<typeof customFetch>;
1556
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData> & {
1923
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData> & {
1557
1924
  queryKey: DataTag<QueryKey, TData, TError>;
1558
1925
  };
1559
- type ObjectIdsQueryResult = NonNullable<Awaited<ReturnType<typeof objectIds>>>;
1560
- type ObjectIdsQueryError = HTTPValidationError;
1561
- declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectIdsParams, options: {
1562
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
1926
+ type GetDefaultOcelQueryResult = NonNullable<Awaited<ReturnType<typeof getDefaultOcel>>>;
1927
+ type GetDefaultOcelQueryError = HTTPValidationError$1;
1928
+ declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError$1>(params: undefined | GetDefaultOcelParams, options: {
1929
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
1563
1930
  request?: SecondParameter<typeof customFetch>;
1564
1931
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1565
1932
  queryKey: DataTag<QueryKey, TData, TError>;
1566
1933
  };
1567
- declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectIdsParams, options?: {
1568
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
1934
+ declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError$1>(params?: GetDefaultOcelParams, options?: {
1935
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
1569
1936
  request?: SecondParameter<typeof customFetch>;
1570
1937
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1571
1938
  queryKey: DataTag<QueryKey, TData, TError>;
1572
1939
  };
1573
- declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectIdsParams, options?: {
1574
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
1940
+ declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError$1>(params?: GetDefaultOcelParams, options?: {
1941
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
1575
1942
  request?: SecondParameter<typeof customFetch>;
1576
1943
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1577
1944
  queryKey: DataTag<QueryKey, TData, TError>;
1578
1945
  };
1579
1946
  /**
1580
- * @summary Get Quantity Info
1947
+ * @summary Import default OCEL
1581
1948
  */
1582
- declare const quantityInfo: (ocelId: string | null, params?: QuantityInfoParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<QuantityInfo>;
1583
- declare const getQuantityInfoQueryKey: (ocelId: string | null, params?: QuantityInfoParams) => readonly [`/api/external/ocels/${string}/quantity/info`, ...QuantityInfoParams[]];
1584
- declare const getQuantityInfoQueryOptions: <TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: QuantityInfoParams, options?: {
1585
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>>;
1586
- request?: SecondParameter<typeof customFetch>;
1587
- }) => UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData> & {
1588
- queryKey: DataTag<QueryKey, TData, TError>;
1589
- };
1590
- type QuantityInfoQueryResult = NonNullable<Awaited<ReturnType<typeof quantityInfo>>>;
1591
- type QuantityInfoQueryError = HTTPValidationError;
1592
- declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | QuantityInfoParams, options: {
1593
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, Awaited<ReturnType<typeof quantityInfo>>>, 'initialData'>;
1594
- request?: SecondParameter<typeof customFetch>;
1595
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1596
- queryKey: DataTag<QueryKey, TData, TError>;
1597
- };
1598
- declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: QuantityInfoParams, options?: {
1599
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, Awaited<ReturnType<typeof quantityInfo>>>, 'initialData'>;
1949
+ declare const importDefaultOcel: (params: ImportDefaultOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1950
+ declare const getImportDefaultOcelMutationOptions: <TError = HTTPValidationError$1, TContext = unknown>(options?: {
1951
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
1952
+ params: ImportDefaultOcelParams;
1953
+ }, TContext>;
1600
1954
  request?: SecondParameter<typeof customFetch>;
1601
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1602
- queryKey: DataTag<QueryKey, TData, TError>;
1603
- };
1604
- declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: QuantityInfoParams, options?: {
1605
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>>;
1955
+ }) => UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
1956
+ params: ImportDefaultOcelParams;
1957
+ }, TContext>;
1958
+ type ImportDefaultOcelMutationResult = NonNullable<Awaited<ReturnType<typeof importDefaultOcel>>>;
1959
+ type ImportDefaultOcelMutationError = HTTPValidationError$1;
1960
+ /**
1961
+ * @summary Import default OCEL
1962
+ */
1963
+ declare const useImportDefaultOcel: <TError = HTTPValidationError$1, TContext = unknown>(options?: {
1964
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
1965
+ params: ImportDefaultOcelParams;
1966
+ }, TContext>;
1606
1967
  request?: SecondParameter<typeof customFetch>;
1607
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1608
- queryKey: DataTag<QueryKey, TData, TError>;
1609
- };
1968
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
1969
+ params: ImportDefaultOcelParams;
1970
+ }, TContext>;
1610
1971
  /**
1611
- * @summary Download OCEL
1972
+ * @summary Get Extension Meta
1612
1973
  */
1613
- declare const downloadOCEL: (ocelId: string | null, params?: DownloadOCELParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1614
- declare const getDownloadOCELQueryKey: (ocelId: string | null, params?: DownloadOCELParams) => readonly [`/api/external/ocels/${string}/download`, ...DownloadOCELParams[]];
1615
- declare const getDownloadOCELQueryOptions: <TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params?: DownloadOCELParams, options?: {
1616
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>>;
1974
+ declare const getExtensionMeta: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<GetExtensionMeta200>;
1975
+ declare const getGetExtensionMetaQueryKey: () => readonly ["/api/external/modules/ocel/v1/extension/meta"];
1976
+ declare const getGetExtensionMetaQueryOptions: <TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1977
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
1617
1978
  request?: SecondParameter<typeof customFetch>;
1618
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData> & {
1979
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData> & {
1619
1980
  queryKey: DataTag<QueryKey, TData, TError>;
1620
1981
  };
1621
- type DownloadOCELQueryResult = NonNullable<Awaited<ReturnType<typeof downloadOCEL>>>;
1622
- type DownloadOCELQueryError = HTTPValidationError;
1623
- declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | DownloadOCELParams, options: {
1624
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, Awaited<ReturnType<typeof downloadOCEL>>>, 'initialData'>;
1982
+ type GetExtensionMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getExtensionMeta>>>;
1983
+ type GetExtensionMetaQueryError = unknown;
1984
+ declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options: {
1985
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
1625
1986
  request?: SecondParameter<typeof customFetch>;
1626
1987
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1627
1988
  queryKey: DataTag<QueryKey, TData, TError>;
1628
1989
  };
1629
- declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params?: DownloadOCELParams, options?: {
1630
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, Awaited<ReturnType<typeof downloadOCEL>>>, 'initialData'>;
1990
+ declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1991
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
1631
1992
  request?: SecondParameter<typeof customFetch>;
1632
1993
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1633
1994
  queryKey: DataTag<QueryKey, TData, TError>;
1634
1995
  };
1635
- declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params?: DownloadOCELParams, options?: {
1636
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>>;
1996
+ declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1997
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
1637
1998
  request?: SecondParameter<typeof customFetch>;
1638
1999
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1639
2000
  queryKey: DataTag<QueryKey, TData, TError>;
1640
2001
  };
1641
2002
  /**
1642
- * @summary Download OCEL as a xes
2003
+ * @summary Get general information about a OCEL
1643
2004
  */
1644
- declare const downloadFlatLog: (ocelId: string | null, params: DownloadFlatLogParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1645
- declare const getDownloadFlatLogQueryKey: (ocelId: string | null, params?: DownloadFlatLogParams) => readonly [`/api/external/ocels/${string}/download/xes`, ...DownloadFlatLogParams[]];
1646
- declare const getDownloadFlatLogQueryOptions: <TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
1647
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>>;
2005
+ declare const getOcel: (ocelId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<OcelMetadata>;
2006
+ declare const getGetOcelQueryKey: (ocelId: string) => readonly [`/api/external/modules/ocel/v1/${string}`];
2007
+ declare const getGetOcelQueryOptions: <TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError$1>(ocelId: string, options?: {
2008
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>>;
1648
2009
  request?: SecondParameter<typeof customFetch>;
1649
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData> & {
2010
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData> & {
1650
2011
  queryKey: DataTag<QueryKey, TData, TError>;
1651
2012
  };
1652
- type DownloadFlatLogQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFlatLog>>>;
1653
- type DownloadFlatLogQueryError = HTTPValidationError;
1654
- declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options: {
1655
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, Awaited<ReturnType<typeof downloadFlatLog>>>, 'initialData'>;
2013
+ type GetOcelQueryResult = NonNullable<Awaited<ReturnType<typeof getOcel>>>;
2014
+ type GetOcelQueryError = HTTPValidationError$1;
2015
+ declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError$1>(ocelId: string, options: {
2016
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOcel>>, TError, Awaited<ReturnType<typeof getOcel>>>, 'initialData'>;
1656
2017
  request?: SecondParameter<typeof customFetch>;
1657
2018
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1658
2019
  queryKey: DataTag<QueryKey, TData, TError>;
1659
2020
  };
1660
- declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
1661
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, Awaited<ReturnType<typeof downloadFlatLog>>>, 'initialData'>;
2021
+ declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError$1>(ocelId: string, options?: {
2022
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOcel>>, TError, Awaited<ReturnType<typeof getOcel>>>, 'initialData'>;
1662
2023
  request?: SecondParameter<typeof customFetch>;
1663
2024
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1664
2025
  queryKey: DataTag<QueryKey, TData, TError>;
1665
2026
  };
1666
- declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
1667
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>>;
2027
+ declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError$1>(ocelId: string, options?: {
2028
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>>;
1668
2029
  request?: SecondParameter<typeof customFetch>;
1669
2030
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1670
2031
  queryKey: DataTag<QueryKey, TData, TError>;
1671
2032
  };
1672
2033
  /**
1673
- * @summary Create a discovery task
2034
+ * Deletes the uploaded OCEL with the given `ocel_id`.
2035
+ * @summary Delete an uploaded OCEL
1674
2036
  */
1675
- declare const createDiscoveryTask: (ocelId: string, createDiscoveryTaskBody: CreateDiscoveryTaskBody, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string>;
1676
- declare const getCreateDiscoveryTaskMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1677
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
2037
+ declare const deleteOcel: (ocelId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2038
+ declare const getDeleteOcelMutationOptions: <TError = HTTPValidationError$1, TContext = unknown>(options?: {
2039
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1678
2040
  ocelId: string;
1679
- data: CreateDiscoveryTaskBody;
1680
2041
  }, TContext>;
1681
2042
  request?: SecondParameter<typeof customFetch>;
1682
- }) => UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
2043
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1683
2044
  ocelId: string;
1684
- data: CreateDiscoveryTaskBody;
1685
2045
  }, TContext>;
1686
- type CreateDiscoveryTaskMutationResult = NonNullable<Awaited<ReturnType<typeof createDiscoveryTask>>>;
1687
- type CreateDiscoveryTaskMutationBody = CreateDiscoveryTaskBody;
1688
- type CreateDiscoveryTaskMutationError = HTTPValidationError;
2046
+ type DeleteOcelMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOcel>>>;
2047
+ type DeleteOcelMutationError = HTTPValidationError$1;
1689
2048
  /**
1690
- * @summary Create a discovery task
1691
- */
1692
- declare const useCreateDiscoveryTask: <TError = HTTPValidationError, TContext = unknown>(options?: {
1693
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
2049
+ * @summary Delete an uploaded OCEL
2050
+ */
2051
+ declare const useDeleteOcel: <TError = HTTPValidationError$1, TContext = unknown>(options?: {
2052
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1694
2053
  ocelId: string;
1695
- data: CreateDiscoveryTaskBody;
1696
2054
  }, TContext>;
1697
2055
  request?: SecondParameter<typeof customFetch>;
1698
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
2056
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1699
2057
  ocelId: string;
1700
- data: CreateDiscoveryTaskBody;
1701
2058
  }, TContext>;
1702
2059
  /**
1703
- * @summary Get Discovery Task
2060
+ * Renames the OCEL with the given `ocel_id` to `new_name`.
2061
+ * @summary Rename an uploaded OCEL
1704
2062
  */
1705
- declare const discoveryTask: (taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryTaskSummary>;
1706
- declare const getDiscoveryTaskQueryKey: (taskId: string) => readonly [`/api/external/discovery/tasks/${string}`];
1707
- declare const getDiscoveryTaskQueryOptions: <TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1708
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>>;
2063
+ declare const renameOcel: (ocelId: string, params: RenameOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2064
+ declare const getRenameOcelMutationOptions: <TError = HTTPValidationError$1, TContext = unknown>(options?: {
2065
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
2066
+ ocelId: string;
2067
+ params: RenameOcelParams;
2068
+ }, TContext>;
1709
2069
  request?: SecondParameter<typeof customFetch>;
1710
- }) => UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData> & {
2070
+ }) => UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
2071
+ ocelId: string;
2072
+ params: RenameOcelParams;
2073
+ }, TContext>;
2074
+ type RenameOcelMutationResult = NonNullable<Awaited<ReturnType<typeof renameOcel>>>;
2075
+ type RenameOcelMutationError = HTTPValidationError$1;
2076
+ /**
2077
+ * @summary Rename an uploaded OCEL
2078
+ */
2079
+ declare const useRenameOcel: <TError = HTTPValidationError$1, TContext = unknown>(options?: {
2080
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
2081
+ ocelId: string;
2082
+ params: RenameOcelParams;
2083
+ }, TContext>;
2084
+ request?: SecondParameter<typeof customFetch>;
2085
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameOcel>>, TError, {
2086
+ ocelId: string;
2087
+ params: RenameOcelParams;
2088
+ }, TContext>;
2089
+ /**
2090
+ * @summary Get Aggr Attributes
2091
+ */
2092
+ declare const aggregatedAttributes: (ocelId: string | null, params?: AggregatedAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListAggregatedAttribute>;
2093
+ declare const getAggregatedAttributesQueryKey: (ocelId: string | null, params?: AggregatedAttributesParams) => readonly [`/api/external/modules/ocel/v1/${string}/attributes`, ...AggregatedAttributesParams[]];
2094
+ declare const getAggregatedAttributesQueryOptions: <TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
2095
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>>;
2096
+ request?: SecondParameter<typeof customFetch>;
2097
+ }) => UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData> & {
1711
2098
  queryKey: DataTag<QueryKey, TData, TError>;
1712
2099
  };
1713
- type DiscoveryTaskQueryResult = NonNullable<Awaited<ReturnType<typeof discoveryTask>>>;
1714
- type DiscoveryTaskQueryError = HTTPValidationError;
1715
- declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options: {
1716
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, Awaited<ReturnType<typeof discoveryTask>>>, 'initialData'>;
2100
+ type AggregatedAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof aggregatedAttributes>>>;
2101
+ type AggregatedAttributesQueryError = HTTPValidationError$1;
2102
+ declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | AggregatedAttributesParams, options: {
2103
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, Awaited<ReturnType<typeof aggregatedAttributes>>>, 'initialData'>;
1717
2104
  request?: SecondParameter<typeof customFetch>;
1718
2105
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1719
2106
  queryKey: DataTag<QueryKey, TData, TError>;
1720
2107
  };
1721
- declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1722
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, Awaited<ReturnType<typeof discoveryTask>>>, 'initialData'>;
2108
+ declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
2109
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, Awaited<ReturnType<typeof aggregatedAttributes>>>, 'initialData'>;
1723
2110
  request?: SecondParameter<typeof customFetch>;
1724
2111
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1725
2112
  queryKey: DataTag<QueryKey, TData, TError>;
1726
2113
  };
1727
- declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1728
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>>;
2114
+ declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
2115
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>>;
1729
2116
  request?: SecondParameter<typeof customFetch>;
1730
2117
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1731
2118
  queryKey: DataTag<QueryKey, TData, TError>;
1732
2119
  };
1733
2120
  /**
1734
- * @summary Save Discovery
2121
+ * @summary Get Object Attributes
1735
2122
  */
1736
- declare const saveDiscovery: (taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1737
- declare const getSaveDiscoveryMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1738
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1739
- taskId: string;
1740
- }, TContext>;
2123
+ declare const objectAttributes: (ocelId: string | null, params?: ObjectAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<TypedAttribute[]>;
2124
+ declare const getObjectAttributesQueryKey: (ocelId: string | null, params?: ObjectAttributesParams) => readonly [`/api/external/modules/ocel/v1/${string}/objects/attributes`, ...ObjectAttributesParams[]];
2125
+ declare const getObjectAttributesQueryOptions: <TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
2126
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
1741
2127
  request?: SecondParameter<typeof customFetch>;
1742
- }) => UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1743
- taskId: string;
1744
- }, TContext>;
1745
- type SaveDiscoveryMutationResult = NonNullable<Awaited<ReturnType<typeof saveDiscovery>>>;
1746
- type SaveDiscoveryMutationError = HTTPValidationError;
1747
- /**
1748
- * @summary Save Discovery
1749
- */
1750
- declare const useSaveDiscovery: <TError = HTTPValidationError, TContext = unknown>(options?: {
1751
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1752
- taskId: string;
1753
- }, TContext>;
2128
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData> & {
2129
+ queryKey: DataTag<QueryKey, TData, TError>;
2130
+ };
2131
+ type ObjectAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof objectAttributes>>>;
2132
+ type ObjectAttributesQueryError = HTTPValidationError$1;
2133
+ declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | ObjectAttributesParams, options: {
2134
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
1754
2135
  request?: SecondParameter<typeof customFetch>;
1755
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1756
- taskId: string;
1757
- }, TContext>;
2136
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2137
+ queryKey: DataTag<QueryKey, TData, TError>;
2138
+ };
2139
+ declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
2140
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
2141
+ request?: SecondParameter<typeof customFetch>;
2142
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2143
+ queryKey: DataTag<QueryKey, TData, TError>;
2144
+ };
2145
+ declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
2146
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
2147
+ request?: SecondParameter<typeof customFetch>;
2148
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2149
+ queryKey: DataTag<QueryKey, TData, TError>;
2150
+ };
1758
2151
  /**
1759
- * @summary List filters available to discovery tasks
2152
+ * @summary Get Event Attributes
1760
2153
  */
1761
- declare const listDiscoveryFilters: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryFilterSchema[]>;
1762
- declare const getListDiscoveryFiltersQueryKey: () => readonly ["/api/external/discovery/filters"];
1763
- declare const getListDiscoveryFiltersQueryOptions: <TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
1764
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>>;
2154
+ declare const eventAttributes: (ocelId: string | null, params?: EventAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<TypedAttribute[]>;
2155
+ declare const getEventAttributesQueryKey: (ocelId: string | null, params?: EventAttributesParams) => readonly [`/api/external/modules/ocel/v1/${string}/events/attributes`, ...EventAttributesParams[]];
2156
+ declare const getEventAttributesQueryOptions: <TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventAttributesParams, options?: {
2157
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
1765
2158
  request?: SecondParameter<typeof customFetch>;
1766
- }) => UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData> & {
2159
+ }) => UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData> & {
1767
2160
  queryKey: DataTag<QueryKey, TData, TError>;
1768
2161
  };
1769
- type ListDiscoveryFiltersQueryResult = NonNullable<Awaited<ReturnType<typeof listDiscoveryFilters>>>;
1770
- type ListDiscoveryFiltersQueryError = unknown;
1771
- declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options: {
1772
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, Awaited<ReturnType<typeof listDiscoveryFilters>>>, 'initialData'>;
2162
+ type EventAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof eventAttributes>>>;
2163
+ type EventAttributesQueryError = HTTPValidationError$1;
2164
+ declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | EventAttributesParams, options: {
2165
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
1773
2166
  request?: SecondParameter<typeof customFetch>;
1774
2167
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1775
2168
  queryKey: DataTag<QueryKey, TData, TError>;
1776
2169
  };
1777
- declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
1778
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, Awaited<ReturnType<typeof listDiscoveryFilters>>>, 'initialData'>;
2170
+ declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventAttributesParams, options?: {
2171
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
1779
2172
  request?: SecondParameter<typeof customFetch>;
1780
2173
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1781
2174
  queryKey: DataTag<QueryKey, TData, TError>;
1782
2175
  };
1783
- declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
1784
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>>;
2176
+ declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventAttributesParams, options?: {
2177
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
1785
2178
  request?: SecondParameter<typeof customFetch>;
1786
2179
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1787
2180
  queryKey: DataTag<QueryKey, TData, TError>;
1788
2181
  };
1789
2182
  /**
1790
- * @summary List discovery methods
2183
+ * @summary Get Attribute Names
1791
2184
  */
1792
- declare const listDiscoveryMethods: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryMethodMeta[]>;
1793
- declare const getListDiscoveryMethodsQueryKey: () => readonly ["/api/external/discovery/methods"];
1794
- declare const getListDiscoveryMethodsQueryOptions: <TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
1795
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>>;
2185
+ declare const attributeNames: (ocelId: string | null, params?: AttributeNamesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
2186
+ declare const getAttributeNamesQueryKey: (ocelId: string | null, params?: AttributeNamesParams) => readonly [`/api/external/modules/ocel/v1/${string}/attribute/names`, ...AttributeNamesParams[]];
2187
+ declare const getAttributeNamesQueryOptions: <TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: AttributeNamesParams, options?: {
2188
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>>;
1796
2189
  request?: SecondParameter<typeof customFetch>;
1797
- }) => UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData> & {
2190
+ }) => UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData> & {
1798
2191
  queryKey: DataTag<QueryKey, TData, TError>;
1799
2192
  };
1800
- type ListDiscoveryMethodsQueryResult = NonNullable<Awaited<ReturnType<typeof listDiscoveryMethods>>>;
1801
- type ListDiscoveryMethodsQueryError = unknown;
1802
- declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options: {
1803
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, Awaited<ReturnType<typeof listDiscoveryMethods>>>, 'initialData'>;
2193
+ type AttributeNamesQueryResult = NonNullable<Awaited<ReturnType<typeof attributeNames>>>;
2194
+ type AttributeNamesQueryError = HTTPValidationError$1;
2195
+ declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | AttributeNamesParams, options: {
2196
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof attributeNames>>, TError, Awaited<ReturnType<typeof attributeNames>>>, 'initialData'>;
1804
2197
  request?: SecondParameter<typeof customFetch>;
1805
2198
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1806
2199
  queryKey: DataTag<QueryKey, TData, TError>;
1807
2200
  };
1808
- declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
1809
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, Awaited<ReturnType<typeof listDiscoveryMethods>>>, 'initialData'>;
2201
+ declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: AttributeNamesParams, options?: {
2202
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof attributeNames>>, TError, Awaited<ReturnType<typeof attributeNames>>>, 'initialData'>;
1810
2203
  request?: SecondParameter<typeof customFetch>;
1811
2204
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1812
2205
  queryKey: DataTag<QueryKey, TData, TError>;
1813
2206
  };
1814
- declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
1815
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>>;
2207
+ declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: AttributeNamesParams, options?: {
2208
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>>;
1816
2209
  request?: SecondParameter<typeof customFetch>;
1817
2210
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1818
2211
  queryKey: DataTag<QueryKey, TData, TError>;
1819
2212
  };
1820
2213
  /**
1821
- * @summary returns all tasks of a session
2214
+ * @summary Get Object Types
1822
2215
  */
1823
- declare const getSystemTasks: (params?: GetSystemTasksParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<SystemTaskSummary[]>;
1824
- declare const getGetSystemTasksQueryKey: (params?: GetSystemTasksParams) => readonly ["/api/external/tasks/system", ...GetSystemTasksParams[]];
1825
- declare const getGetSystemTasksQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
1826
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>>;
2216
+ declare const objectTypes: (ocelId: string | null, params?: ObjectTypesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
2217
+ declare const getObjectTypesQueryKey: (ocelId: string | null, params?: ObjectTypesParams) => readonly [`/api/external/modules/ocel/v1/${string}/objects/types`, ...ObjectTypesParams[]];
2218
+ declare const getObjectTypesQueryOptions: <TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectTypesParams, options?: {
2219
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>>;
1827
2220
  request?: SecondParameter<typeof customFetch>;
1828
- }) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData> & {
2221
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData> & {
1829
2222
  queryKey: DataTag<QueryKey, TData, TError>;
1830
2223
  };
1831
- type GetSystemTasksQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTasks>>>;
1832
- type GetSystemTasksQueryError = HTTPValidationError;
1833
- declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params: undefined | GetSystemTasksParams, options: {
1834
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
2224
+ type ObjectTypesQueryResult = NonNullable<Awaited<ReturnType<typeof objectTypes>>>;
2225
+ type ObjectTypesQueryError = HTTPValidationError$1;
2226
+ declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | ObjectTypesParams, options: {
2227
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectTypes>>, TError, Awaited<ReturnType<typeof objectTypes>>>, 'initialData'>;
1835
2228
  request?: SecondParameter<typeof customFetch>;
1836
2229
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1837
2230
  queryKey: DataTag<QueryKey, TData, TError>;
1838
2231
  };
1839
- declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
1840
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
2232
+ declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectTypesParams, options?: {
2233
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectTypes>>, TError, Awaited<ReturnType<typeof objectTypes>>>, 'initialData'>;
1841
2234
  request?: SecondParameter<typeof customFetch>;
1842
2235
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1843
2236
  queryKey: DataTag<QueryKey, TData, TError>;
1844
2237
  };
1845
- declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
1846
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>>;
2238
+ declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectTypesParams, options?: {
2239
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>>;
1847
2240
  request?: SecondParameter<typeof customFetch>;
1848
2241
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1849
2242
  queryKey: DataTag<QueryKey, TData, TError>;
1850
2243
  };
1851
2244
  /**
1852
- * @summary returns the task of a given taskId
2245
+ * @summary Get Object Counts
1853
2246
  */
1854
- declare const getSystemTask: (taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<SystemTaskSummary>;
1855
- declare const getGetSystemTaskQueryKey: (taskId: string) => readonly [`/api/external/tasks/system/${string}`];
1856
- declare const getGetSystemTaskQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1857
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>>;
2247
+ declare const objectCounts: (ocelId: string | null, params?: ObjectCountsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<ObjectCounts200>;
2248
+ declare const getObjectCountsQueryKey: (ocelId: string | null, params?: ObjectCountsParams) => readonly [`/api/external/modules/ocel/v1/${string}/objects/counts`, ...ObjectCountsParams[]];
2249
+ declare const getObjectCountsQueryOptions: <TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectCountsParams, options?: {
2250
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
1858
2251
  request?: SecondParameter<typeof customFetch>;
1859
- }) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData> & {
2252
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData> & {
1860
2253
  queryKey: DataTag<QueryKey, TData, TError>;
1861
2254
  };
1862
- type GetSystemTaskQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTask>>>;
1863
- type GetSystemTaskQueryError = HTTPValidationError;
1864
- declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options: {
1865
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
2255
+ type ObjectCountsQueryResult = NonNullable<Awaited<ReturnType<typeof objectCounts>>>;
2256
+ type ObjectCountsQueryError = HTTPValidationError$1;
2257
+ declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | ObjectCountsParams, options: {
2258
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
1866
2259
  request?: SecondParameter<typeof customFetch>;
1867
2260
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1868
2261
  queryKey: DataTag<QueryKey, TData, TError>;
1869
2262
  };
1870
- declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1871
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
2263
+ declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectCountsParams, options?: {
2264
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
1872
2265
  request?: SecondParameter<typeof customFetch>;
1873
2266
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1874
2267
  queryKey: DataTag<QueryKey, TData, TError>;
1875
2268
  };
1876
- declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1877
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>>;
2269
+ declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectCountsParams, options?: {
2270
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
1878
2271
  request?: SecondParameter<typeof customFetch>;
1879
2272
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1880
2273
  queryKey: DataTag<QueryKey, TData, TError>;
1881
2274
  };
1882
2275
  /**
1883
- * @summary Get Plugins
2276
+ * @summary Get Object Ids
1884
2277
  */
1885
- declare const plugins: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PluginApi[]>;
1886
- declare const getPluginsQueryKey: () => readonly ["/api/external/plugins"];
1887
- declare const getPluginsQueryOptions: <TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
1888
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>>;
2278
+ declare const objectIds: (ocelId: string | null, params?: ObjectIdsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListStr>;
2279
+ declare const getObjectIdsQueryKey: (ocelId: string | null, params?: ObjectIdsParams) => readonly [`/api/external/modules/ocel/v1/${string}/objects/ids`, ...ObjectIdsParams[]];
2280
+ declare const getObjectIdsQueryOptions: <TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectIdsParams, options?: {
2281
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
1889
2282
  request?: SecondParameter<typeof customFetch>;
1890
- }) => UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData> & {
2283
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData> & {
1891
2284
  queryKey: DataTag<QueryKey, TData, TError>;
1892
2285
  };
1893
- type PluginsQueryResult = NonNullable<Awaited<ReturnType<typeof plugins>>>;
1894
- type PluginsQueryError = unknown;
1895
- declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options: {
1896
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
2286
+ type ObjectIdsQueryResult = NonNullable<Awaited<ReturnType<typeof objectIds>>>;
2287
+ type ObjectIdsQueryError = HTTPValidationError$1;
2288
+ declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | ObjectIdsParams, options: {
2289
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
1897
2290
  request?: SecondParameter<typeof customFetch>;
1898
2291
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1899
2292
  queryKey: DataTag<QueryKey, TData, TError>;
1900
2293
  };
1901
- declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
1902
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
2294
+ declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectIdsParams, options?: {
2295
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
1903
2296
  request?: SecondParameter<typeof customFetch>;
1904
2297
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1905
2298
  queryKey: DataTag<QueryKey, TData, TError>;
1906
2299
  };
1907
- declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
1908
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>>;
2300
+ declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ObjectIdsParams, options?: {
2301
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
1909
2302
  request?: SecondParameter<typeof customFetch>;
1910
2303
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1911
2304
  queryKey: DataTag<QueryKey, TData, TError>;
1912
2305
  };
1913
2306
  /**
1914
- * @summary Get Plugin
2307
+ * Returns the object variants for a single object type. Each variant is a distinct activity sequence, together with the number of events it contains and the number of cases (objects) that follow it.
2308
+ * @summary Get the variants of an object type
1915
2309
  */
1916
- declare const getPlugin: (pluginId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PluginApi | null>;
1917
- declare const getGetPluginQueryKey: (pluginId: string) => readonly [`/api/external/plugins/${string}`];
1918
- declare const getGetPluginQueryOptions: <TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
1919
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>>;
2310
+ declare const objectVariants: (ocelId: string | null, params: ObjectVariantsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<ObjectTypeVariants>;
2311
+ declare const getObjectVariantsQueryKey: (ocelId: string | null, params?: ObjectVariantsParams) => readonly [`/api/external/modules/ocel/v1/${string}/objects/variants`, ...ObjectVariantsParams[]];
2312
+ declare const getObjectVariantsQueryOptions: <TData = Awaited<ReturnType<typeof objectVariants>>, TError = HTTPValidationError$1>(ocelId: string | null, params: ObjectVariantsParams, options?: {
2313
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectVariants>>, TError, TData>>;
1920
2314
  request?: SecondParameter<typeof customFetch>;
1921
- }) => UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData> & {
2315
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectVariants>>, TError, TData> & {
1922
2316
  queryKey: DataTag<QueryKey, TData, TError>;
1923
2317
  };
1924
- type GetPluginQueryResult = NonNullable<Awaited<ReturnType<typeof getPlugin>>>;
1925
- type GetPluginQueryError = HTTPValidationError;
1926
- declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options: {
1927
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
2318
+ type ObjectVariantsQueryResult = NonNullable<Awaited<ReturnType<typeof objectVariants>>>;
2319
+ type ObjectVariantsQueryError = HTTPValidationError$1;
2320
+ declare function useObjectVariants<TData = Awaited<ReturnType<typeof objectVariants>>, TError = HTTPValidationError$1>(ocelId: string | null, params: ObjectVariantsParams, options: {
2321
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectVariants>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectVariants>>, TError, Awaited<ReturnType<typeof objectVariants>>>, 'initialData'>;
1928
2322
  request?: SecondParameter<typeof customFetch>;
1929
2323
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1930
2324
  queryKey: DataTag<QueryKey, TData, TError>;
1931
2325
  };
1932
- declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
1933
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
2326
+ declare function useObjectVariants<TData = Awaited<ReturnType<typeof objectVariants>>, TError = HTTPValidationError$1>(ocelId: string | null, params: ObjectVariantsParams, options?: {
2327
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectVariants>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectVariants>>, TError, Awaited<ReturnType<typeof objectVariants>>>, 'initialData'>;
1934
2328
  request?: SecondParameter<typeof customFetch>;
1935
2329
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1936
2330
  queryKey: DataTag<QueryKey, TData, TError>;
1937
2331
  };
1938
- declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
1939
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>>;
2332
+ declare function useObjectVariants<TData = Awaited<ReturnType<typeof objectVariants>>, TError = HTTPValidationError$1>(ocelId: string | null, params: ObjectVariantsParams, options?: {
2333
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectVariants>>, TError, TData>>;
1940
2334
  request?: SecondParameter<typeof customFetch>;
1941
2335
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1942
2336
  queryKey: DataTag<QueryKey, TData, TError>;
1943
2337
  };
1944
2338
  /**
1945
- * @summary Delete Plugin
1946
- */
1947
- declare const deletePlugin: (pluginId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1948
- declare const getDeletePluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1949
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1950
- pluginId: string;
1951
- }, TContext>;
1952
- request?: SecondParameter<typeof customFetch>;
1953
- }) => UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1954
- pluginId: string;
1955
- }, TContext>;
1956
- type DeletePluginMutationResult = NonNullable<Awaited<ReturnType<typeof deletePlugin>>>;
1957
- type DeletePluginMutationError = HTTPValidationError;
1958
- /**
1959
- * @summary Delete Plugin
1960
- */
1961
- declare const useDeletePlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
1962
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1963
- pluginId: string;
1964
- }, TContext>;
1965
- request?: SecondParameter<typeof customFetch>;
1966
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1967
- pluginId: string;
1968
- }, TContext>;
1969
- /**
1970
- * @summary Get Plugin Method
2339
+ * @summary Get Activities
1971
2340
  */
1972
- declare const getPluginMethod: (pluginId: string, methodName: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PluginMethod | null>;
1973
- declare const getGetPluginMethodQueryKey: (pluginId: string, methodName: string) => readonly [`/api/external/plugins/${string}/${string}`];
1974
- declare const getGetPluginMethodQueryOptions: <TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1975
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
2341
+ declare const activities: (ocelId: string | null, params?: ActivitiesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
2342
+ declare const getActivitiesQueryKey: (ocelId: string | null, params?: ActivitiesParams) => readonly [`/api/external/modules/ocel/v1/${string}/events/activityNames`, ...ActivitiesParams[]];
2343
+ declare const getActivitiesQueryOptions: <TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ActivitiesParams, options?: {
2344
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>>;
1976
2345
  request?: SecondParameter<typeof customFetch>;
1977
- }) => UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData> & {
2346
+ }) => UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData> & {
1978
2347
  queryKey: DataTag<QueryKey, TData, TError>;
1979
2348
  };
1980
- type GetPluginMethodQueryResult = NonNullable<Awaited<ReturnType<typeof getPluginMethod>>>;
1981
- type GetPluginMethodQueryError = HTTPValidationError;
1982
- declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options: {
1983
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
2349
+ type ActivitiesQueryResult = NonNullable<Awaited<ReturnType<typeof activities>>>;
2350
+ type ActivitiesQueryError = HTTPValidationError$1;
2351
+ declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | ActivitiesParams, options: {
2352
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof activities>>, TError, Awaited<ReturnType<typeof activities>>>, 'initialData'>;
1984
2353
  request?: SecondParameter<typeof customFetch>;
1985
2354
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1986
2355
  queryKey: DataTag<QueryKey, TData, TError>;
1987
2356
  };
1988
- declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1989
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
2357
+ declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ActivitiesParams, options?: {
2358
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof activities>>, TError, Awaited<ReturnType<typeof activities>>>, 'initialData'>;
1990
2359
  request?: SecondParameter<typeof customFetch>;
1991
2360
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1992
2361
  queryKey: DataTag<QueryKey, TData, TError>;
1993
2362
  };
1994
- declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1995
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
2363
+ declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: ActivitiesParams, options?: {
2364
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>>;
1996
2365
  request?: SecondParameter<typeof customFetch>;
1997
2366
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1998
2367
  queryKey: DataTag<QueryKey, TData, TError>;
1999
2368
  };
2000
2369
  /**
2001
- * @summary Run Plugin
2002
- */
2003
- declare const runPlugin: (pluginId: string, methodName: string, bodyRunPlugin: BodyRunPlugin, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string>;
2004
- declare const getRunPluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2005
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
2006
- pluginId: string;
2007
- methodName: string;
2008
- data: BodyRunPlugin;
2009
- }, TContext>;
2010
- request?: SecondParameter<typeof customFetch>;
2011
- }) => UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
2012
- pluginId: string;
2013
- methodName: string;
2014
- data: BodyRunPlugin;
2015
- }, TContext>;
2016
- type RunPluginMutationResult = NonNullable<Awaited<ReturnType<typeof runPlugin>>>;
2017
- type RunPluginMutationBody = BodyRunPlugin;
2018
- type RunPluginMutationError = HTTPValidationError;
2019
- /**
2020
- * @summary Run Plugin
2021
- */
2022
- declare const useRunPlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
2023
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
2024
- pluginId: string;
2025
- methodName: string;
2026
- data: BodyRunPlugin;
2027
- }, TContext>;
2028
- request?: SecondParameter<typeof customFetch>;
2029
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof runPlugin>>, TError, {
2030
- pluginId: string;
2031
- methodName: string;
2032
- data: BodyRunPlugin;
2033
- }, TContext>;
2034
- /**
2035
- * @summary Get Plugin Result
2370
+ * @summary Get Event Counts
2036
2371
  */
2037
- declare const pluginResult: (pluginId: string, methodName: string, taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<(OCELOutput | ResourceOutput)[] | null>;
2038
- declare const getPluginResultQueryKey: (pluginId: string, methodName: string, taskId: string) => readonly [`/api/external/plugins/${string}/${string}/result/${string}`];
2039
- declare const getPluginResultQueryOptions: <TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
2040
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>>;
2372
+ declare const eventCounts: (ocelId: string | null, params?: EventCountsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<EventCounts200>;
2373
+ declare const getEventCountsQueryKey: (ocelId: string | null, params?: EventCountsParams) => readonly [`/api/external/modules/ocel/v1/${string}/events/counts`, ...EventCountsParams[]];
2374
+ declare const getEventCountsQueryOptions: <TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventCountsParams, options?: {
2375
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
2041
2376
  request?: SecondParameter<typeof customFetch>;
2042
- }) => UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData> & {
2377
+ }) => UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData> & {
2043
2378
  queryKey: DataTag<QueryKey, TData, TError>;
2044
2379
  };
2045
- type PluginResultQueryResult = NonNullable<Awaited<ReturnType<typeof pluginResult>>>;
2046
- type PluginResultQueryError = HTTPValidationError;
2047
- declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options: {
2048
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof pluginResult>>, TError, Awaited<ReturnType<typeof pluginResult>>>, 'initialData'>;
2380
+ type EventCountsQueryResult = NonNullable<Awaited<ReturnType<typeof eventCounts>>>;
2381
+ type EventCountsQueryError = HTTPValidationError$1;
2382
+ declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | EventCountsParams, options: {
2383
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
2049
2384
  request?: SecondParameter<typeof customFetch>;
2050
2385
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2051
2386
  queryKey: DataTag<QueryKey, TData, TError>;
2052
2387
  };
2053
- declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
2054
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof pluginResult>>, TError, Awaited<ReturnType<typeof pluginResult>>>, 'initialData'>;
2388
+ declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventCountsParams, options?: {
2389
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
2055
2390
  request?: SecondParameter<typeof customFetch>;
2056
2391
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2057
2392
  queryKey: DataTag<QueryKey, TData, TError>;
2058
2393
  };
2059
- declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
2060
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>>;
2394
+ declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventCountsParams, options?: {
2395
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
2061
2396
  request?: SecondParameter<typeof customFetch>;
2062
2397
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2063
2398
  queryKey: DataTag<QueryKey, TData, TError>;
2064
2399
  };
2065
2400
  /**
2066
- * Save the selected results into the session as OCELs / resources.
2067
- * @summary Save Plugin Results
2068
- */
2069
- declare const savePluginResults: (pluginId: string, methodName: string, taskId: string, bodySavePluginResults: BodySavePluginResults, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<SavedResults>;
2070
- declare const getSavePluginResultsMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2071
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2072
- pluginId: string;
2073
- methodName: string;
2074
- taskId: string;
2075
- data: BodySavePluginResults;
2076
- }, TContext>;
2077
- request?: SecondParameter<typeof customFetch>;
2078
- }) => UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2079
- pluginId: string;
2080
- methodName: string;
2081
- taskId: string;
2082
- data: BodySavePluginResults;
2083
- }, TContext>;
2084
- type SavePluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof savePluginResults>>>;
2085
- type SavePluginResultsMutationBody = BodySavePluginResults;
2086
- type SavePluginResultsMutationError = HTTPValidationError;
2087
- /**
2088
- * @summary Save Plugin Results
2089
- */
2090
- declare const useSavePluginResults: <TError = HTTPValidationError, TContext = unknown>(options?: {
2091
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2092
- pluginId: string;
2093
- methodName: string;
2094
- taskId: string;
2095
- data: BodySavePluginResults;
2096
- }, TContext>;
2097
- request?: SecondParameter<typeof customFetch>;
2098
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2099
- pluginId: string;
2100
- methodName: string;
2101
- taskId: string;
2102
- data: BodySavePluginResults;
2103
- }, TContext>;
2104
- /**
2105
- * Bundle the selected results into a zip for download.
2106
- * @summary Download Plugin Results
2401
+ * @summary Get Event Ids
2107
2402
  */
2108
- declare const downloadPluginResults: (pluginId: string, methodName: string, taskId: string, bodyDownloadPluginResults: BodyDownloadPluginResults, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2109
- declare const getDownloadPluginResultsMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2110
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2111
- pluginId: string;
2112
- methodName: string;
2113
- taskId: string;
2114
- data: BodyDownloadPluginResults;
2115
- }, TContext>;
2403
+ declare const eventIds: (ocelId: string | null, params?: EventIdsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListStr>;
2404
+ declare const getEventIdsQueryKey: (ocelId: string | null, params?: EventIdsParams) => readonly [`/api/external/modules/ocel/v1/${string}/events/ids`, ...EventIdsParams[]];
2405
+ declare const getEventIdsQueryOptions: <TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventIdsParams, options?: {
2406
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
2116
2407
  request?: SecondParameter<typeof customFetch>;
2117
- }) => UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2118
- pluginId: string;
2119
- methodName: string;
2120
- taskId: string;
2121
- data: BodyDownloadPluginResults;
2122
- }, TContext>;
2123
- type DownloadPluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof downloadPluginResults>>>;
2124
- type DownloadPluginResultsMutationBody = BodyDownloadPluginResults;
2125
- type DownloadPluginResultsMutationError = HTTPValidationError;
2126
- /**
2127
- * @summary Download Plugin Results
2128
- */
2129
- declare const useDownloadPluginResults: <TError = HTTPValidationError, TContext = unknown>(options?: {
2130
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2131
- pluginId: string;
2132
- methodName: string;
2133
- taskId: string;
2134
- data: BodyDownloadPluginResults;
2135
- }, TContext>;
2408
+ }) => UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData> & {
2409
+ queryKey: DataTag<QueryKey, TData, TError>;
2410
+ };
2411
+ type EventIdsQueryResult = NonNullable<Awaited<ReturnType<typeof eventIds>>>;
2412
+ type EventIdsQueryError = HTTPValidationError$1;
2413
+ declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | EventIdsParams, options: {
2414
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
2136
2415
  request?: SecondParameter<typeof customFetch>;
2137
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2138
- pluginId: string;
2139
- methodName: string;
2140
- taskId: string;
2141
- data: BodyDownloadPluginResults;
2142
- }, TContext>;
2416
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2417
+ queryKey: DataTag<QueryKey, TData, TError>;
2418
+ };
2419
+ declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventIdsParams, options?: {
2420
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
2421
+ request?: SecondParameter<typeof customFetch>;
2422
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2423
+ queryKey: DataTag<QueryKey, TData, TError>;
2424
+ };
2425
+ declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: EventIdsParams, options?: {
2426
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
2427
+ request?: SecondParameter<typeof customFetch>;
2428
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2429
+ queryKey: DataTag<QueryKey, TData, TError>;
2430
+ };
2143
2431
  /**
2144
- * @summary Get Computed
2432
+ * @summary Get Time Info
2145
2433
  */
2146
- declare const getComputedValues: (pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
2147
- declare const getGetComputedValuesQueryKey: (pluginId: string, methodName: string, provider: string, bodyGetComputedValues?: BodyGetComputedValues) => readonly [`/api/external/plugins/${string}/${string}/computed/${string}`, BodyGetComputedValues | undefined];
2148
- declare const getGetComputedValuesQueryOptions: <TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
2149
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>>;
2434
+ declare const timeInfo: (ocelId: string | null, params?: TimeInfoParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<EntityTimeInfo>;
2435
+ declare const getTimeInfoQueryKey: (ocelId: string | null, params?: TimeInfoParams) => readonly [`/api/external/modules/ocel/v1/${string}/events/time`, ...TimeInfoParams[]];
2436
+ declare const getTimeInfoQueryOptions: <TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: TimeInfoParams, options?: {
2437
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
2150
2438
  request?: SecondParameter<typeof customFetch>;
2151
- }) => UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData> & {
2439
+ }) => UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData> & {
2152
2440
  queryKey: DataTag<QueryKey, TData, TError>;
2153
2441
  };
2154
- type GetComputedValuesQueryResult = NonNullable<Awaited<ReturnType<typeof getComputedValues>>>;
2155
- type GetComputedValuesQueryError = HTTPValidationError;
2156
- declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options: {
2157
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, Awaited<ReturnType<typeof getComputedValues>>>, 'initialData'>;
2442
+ type TimeInfoQueryResult = NonNullable<Awaited<ReturnType<typeof timeInfo>>>;
2443
+ type TimeInfoQueryError = HTTPValidationError$1;
2444
+ declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | TimeInfoParams, options: {
2445
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
2158
2446
  request?: SecondParameter<typeof customFetch>;
2159
2447
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2160
2448
  queryKey: DataTag<QueryKey, TData, TError>;
2161
2449
  };
2162
- declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
2163
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, Awaited<ReturnType<typeof getComputedValues>>>, 'initialData'>;
2450
+ declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: TimeInfoParams, options?: {
2451
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
2164
2452
  request?: SecondParameter<typeof customFetch>;
2165
2453
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2166
2454
  queryKey: DataTag<QueryKey, TData, TError>;
2167
2455
  };
2168
- declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
2169
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>>;
2456
+ declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: TimeInfoParams, options?: {
2457
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
2170
2458
  request?: SecondParameter<typeof customFetch>;
2171
2459
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2172
2460
  queryKey: DataTag<QueryKey, TData, TError>;
2173
2461
  };
2174
2462
  /**
2175
- * @summary Get Resources
2463
+ * @summary Get E2O
2176
2464
  */
2177
- declare const resources: (params?: ResourcesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<ResourceApi[]>;
2178
- declare const getResourcesQueryKey: (params?: ResourcesParams) => readonly ["/api/external/resources", ...ResourcesParams[]];
2179
- declare const getResourcesQueryOptions: <TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
2180
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>>;
2465
+ declare const e2o: (ocelId: string | null, params?: E2oParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListRelationCountSummary>;
2466
+ declare const getE2oQueryKey: (ocelId: string | null, params?: E2oParams) => readonly [`/api/external/modules/ocel/v1/${string}/relations/e2o`, ...E2oParams[]];
2467
+ declare const getE2oQueryOptions: <TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: E2oParams, options?: {
2468
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
2181
2469
  request?: SecondParameter<typeof customFetch>;
2182
- }) => UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData> & {
2470
+ }) => UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData> & {
2183
2471
  queryKey: DataTag<QueryKey, TData, TError>;
2184
2472
  };
2185
- type ResourcesQueryResult = NonNullable<Awaited<ReturnType<typeof resources>>>;
2186
- type ResourcesQueryError = HTTPValidationError;
2187
- declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params: undefined | ResourcesParams, options: {
2188
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
2473
+ type E2oQueryResult = NonNullable<Awaited<ReturnType<typeof e2o>>>;
2474
+ type E2oQueryError = HTTPValidationError$1;
2475
+ declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | E2oParams, options: {
2476
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
2189
2477
  request?: SecondParameter<typeof customFetch>;
2190
2478
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2191
2479
  queryKey: DataTag<QueryKey, TData, TError>;
2192
2480
  };
2193
- declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
2194
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
2481
+ declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: E2oParams, options?: {
2482
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
2195
2483
  request?: SecondParameter<typeof customFetch>;
2196
2484
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2197
2485
  queryKey: DataTag<QueryKey, TData, TError>;
2198
2486
  };
2199
- declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
2200
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>>;
2487
+ declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: E2oParams, options?: {
2488
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
2201
2489
  request?: SecondParameter<typeof customFetch>;
2202
2490
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2203
2491
  queryKey: DataTag<QueryKey, TData, TError>;
2204
2492
  };
2205
2493
  /**
2206
- * @summary Upload Resource
2494
+ * @summary Get O2O
2207
2495
  */
2208
- declare const uploadResource: (bodyUploadResource: BodyUploadResource, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2209
- declare const getUploadResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2210
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
2211
- data: BodyUploadResource;
2212
- }, TContext>;
2496
+ declare const o2o: (ocelId: string | null, params?: O2oParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListRelationCountSummary>;
2497
+ declare const getO2oQueryKey: (ocelId: string | null, params?: O2oParams) => readonly [`/api/external/modules/ocel/v1/${string}/relations/o2o`, ...O2oParams[]];
2498
+ declare const getO2oQueryOptions: <TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: O2oParams, options?: {
2499
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
2213
2500
  request?: SecondParameter<typeof customFetch>;
2214
- }) => UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
2215
- data: BodyUploadResource;
2216
- }, TContext>;
2217
- type UploadResourceMutationResult = NonNullable<Awaited<ReturnType<typeof uploadResource>>>;
2218
- type UploadResourceMutationBody = BodyUploadResource;
2219
- type UploadResourceMutationError = HTTPValidationError;
2220
- /**
2221
- * @summary Upload Resource
2222
- */
2223
- declare const useUploadResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
2224
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
2225
- data: BodyUploadResource;
2226
- }, TContext>;
2501
+ }) => UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData> & {
2502
+ queryKey: DataTag<QueryKey, TData, TError>;
2503
+ };
2504
+ type O2oQueryResult = NonNullable<Awaited<ReturnType<typeof o2o>>>;
2505
+ type O2oQueryError = HTTPValidationError$1;
2506
+ declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | O2oParams, options: {
2507
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
2227
2508
  request?: SecondParameter<typeof customFetch>;
2228
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof uploadResource>>, TError, {
2229
- data: BodyUploadResource;
2230
- }, TContext>;
2509
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2510
+ queryKey: DataTag<QueryKey, TData, TError>;
2511
+ };
2512
+ declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: O2oParams, options?: {
2513
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
2514
+ request?: SecondParameter<typeof customFetch>;
2515
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2516
+ queryKey: DataTag<QueryKey, TData, TError>;
2517
+ };
2518
+ declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: O2oParams, options?: {
2519
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
2520
+ request?: SecondParameter<typeof customFetch>;
2521
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2522
+ queryKey: DataTag<QueryKey, TData, TError>;
2523
+ };
2231
2524
  /**
2232
- * @summary Get Resource Meta
2525
+ * @summary Get E2O Combinations
2233
2526
  */
2234
- declare const getResourceMeta: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<GetResourceMeta200>;
2235
- declare const getGetResourceMetaQueryKey: () => readonly ["/api/external/resources/meta"];
2236
- declare const getGetResourceMetaQueryOptions: <TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
2237
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>>;
2527
+ declare const e2oCombinations: (ocelId: string | null, params?: E2oCombinationsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCombination[]>;
2528
+ declare const getE2oCombinationsQueryKey: (ocelId: string | null, params?: E2oCombinationsParams) => readonly [`/api/external/modules/ocel/v1/${string}/relations/e2o/combinations`, ...E2oCombinationsParams[]];
2529
+ declare const getE2oCombinationsQueryOptions: <TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
2530
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>>;
2238
2531
  request?: SecondParameter<typeof customFetch>;
2239
- }) => UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData> & {
2532
+ }) => UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData> & {
2240
2533
  queryKey: DataTag<QueryKey, TData, TError>;
2241
2534
  };
2242
- type GetResourceMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getResourceMeta>>>;
2243
- type GetResourceMetaQueryError = unknown;
2244
- declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options: {
2245
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
2535
+ type E2oCombinationsQueryResult = NonNullable<Awaited<ReturnType<typeof e2oCombinations>>>;
2536
+ type E2oCombinationsQueryError = HTTPValidationError$1;
2537
+ declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | E2oCombinationsParams, options: {
2538
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, Awaited<ReturnType<typeof e2oCombinations>>>, 'initialData'>;
2246
2539
  request?: SecondParameter<typeof customFetch>;
2247
2540
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2248
2541
  queryKey: DataTag<QueryKey, TData, TError>;
2249
2542
  };
2250
- declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
2251
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
2543
+ declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
2544
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, Awaited<ReturnType<typeof e2oCombinations>>>, 'initialData'>;
2252
2545
  request?: SecondParameter<typeof customFetch>;
2253
2546
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2254
2547
  queryKey: DataTag<QueryKey, TData, TError>;
2255
2548
  };
2256
- declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
2257
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>>;
2549
+ declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
2550
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>>;
2258
2551
  request?: SecondParameter<typeof customFetch>;
2259
2552
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2260
2553
  queryKey: DataTag<QueryKey, TData, TError>;
2261
2554
  };
2262
2555
  /**
2263
- * @summary Download Resource
2556
+ * @summary Get O2O Combinations
2264
2557
  */
2265
- declare const downloadResource: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2266
- declare const getDownloadResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}/download`];
2267
- declare const getDownloadResourceQueryOptions: <TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2268
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>>;
2558
+ declare const o2oCombinations: (ocelId: string | null, params?: O2oCombinationsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCombination[]>;
2559
+ declare const getO2oCombinationsQueryKey: (ocelId: string | null, params?: O2oCombinationsParams) => readonly [`/api/external/modules/ocel/v1/${string}/relations/o2o/combinations`, ...O2oCombinationsParams[]];
2560
+ declare const getO2oCombinationsQueryOptions: <TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
2561
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>>;
2269
2562
  request?: SecondParameter<typeof customFetch>;
2270
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData> & {
2563
+ }) => UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData> & {
2271
2564
  queryKey: DataTag<QueryKey, TData, TError>;
2272
2565
  };
2273
- type DownloadResourceQueryResult = NonNullable<Awaited<ReturnType<typeof downloadResource>>>;
2274
- type DownloadResourceQueryError = HTTPValidationError;
2275
- declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options: {
2276
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
2566
+ type O2oCombinationsQueryResult = NonNullable<Awaited<ReturnType<typeof o2oCombinations>>>;
2567
+ type O2oCombinationsQueryError = HTTPValidationError$1;
2568
+ declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | O2oCombinationsParams, options: {
2569
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, Awaited<ReturnType<typeof o2oCombinations>>>, 'initialData'>;
2277
2570
  request?: SecondParameter<typeof customFetch>;
2278
2571
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2279
2572
  queryKey: DataTag<QueryKey, TData, TError>;
2280
2573
  };
2281
- declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2282
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
2574
+ declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
2575
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, Awaited<ReturnType<typeof o2oCombinations>>>, 'initialData'>;
2283
2576
  request?: SecondParameter<typeof customFetch>;
2284
2577
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2285
2578
  queryKey: DataTag<QueryKey, TData, TError>;
2286
2579
  };
2287
- declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2288
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>>;
2580
+ declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
2581
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>>;
2289
2582
  request?: SecondParameter<typeof customFetch>;
2290
2583
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2291
2584
  queryKey: DataTag<QueryKey, TData, TError>;
2292
2585
  };
2293
2586
  /**
2294
- * @summary Download Resource As Pnml
2587
+ * @summary Get Quantity Info
2295
2588
  */
2296
- declare const downloadResourceAsPnml: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2297
- declare const getDownloadResourceAsPnmlQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}/download/pnml`];
2298
- declare const getDownloadResourceAsPnmlQueryOptions: <TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
2299
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>>;
2589
+ declare const quantityInfo: (ocelId: string | null, params?: QuantityInfoParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<QuantityInfo>;
2590
+ declare const getQuantityInfoQueryKey: (ocelId: string | null, params?: QuantityInfoParams) => readonly [`/api/external/modules/ocel/v1/${string}/quantity/info`, ...QuantityInfoParams[]];
2591
+ declare const getQuantityInfoQueryOptions: <TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: QuantityInfoParams, options?: {
2592
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>>;
2300
2593
  request?: SecondParameter<typeof customFetch>;
2301
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData> & {
2594
+ }) => UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData> & {
2302
2595
  queryKey: DataTag<QueryKey, TData, TError>;
2303
2596
  };
2304
- type DownloadResourceAsPnmlQueryResult = NonNullable<Awaited<ReturnType<typeof downloadResourceAsPnml>>>;
2305
- type DownloadResourceAsPnmlQueryError = HTTPValidationError;
2306
- declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options: {
2307
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, Awaited<ReturnType<typeof downloadResourceAsPnml>>>, 'initialData'>;
2597
+ type QuantityInfoQueryResult = NonNullable<Awaited<ReturnType<typeof quantityInfo>>>;
2598
+ type QuantityInfoQueryError = HTTPValidationError$1;
2599
+ declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params: undefined | QuantityInfoParams, options: {
2600
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, Awaited<ReturnType<typeof quantityInfo>>>, 'initialData'>;
2308
2601
  request?: SecondParameter<typeof customFetch>;
2309
2602
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2310
2603
  queryKey: DataTag<QueryKey, TData, TError>;
2311
2604
  };
2312
- declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
2313
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, Awaited<ReturnType<typeof downloadResourceAsPnml>>>, 'initialData'>;
2605
+ declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: QuantityInfoParams, options?: {
2606
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, Awaited<ReturnType<typeof quantityInfo>>>, 'initialData'>;
2314
2607
  request?: SecondParameter<typeof customFetch>;
2315
2608
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2316
2609
  queryKey: DataTag<QueryKey, TData, TError>;
2317
2610
  };
2318
- declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
2319
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>>;
2611
+ declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError$1>(ocelId: string | null, params?: QuantityInfoParams, options?: {
2612
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>>;
2320
2613
  request?: SecondParameter<typeof customFetch>;
2321
2614
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2322
2615
  queryKey: DataTag<QueryKey, TData, TError>;
2323
2616
  };
2324
2617
  /**
2325
- * @summary Get Resource
2618
+ * @summary Download OCEL
2326
2619
  */
2327
- declare const resource: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<GetResourceResponse>;
2328
- declare const getResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}`];
2329
- declare const getResourceQueryOptions: <TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2330
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>>;
2620
+ declare const downloadOCEL: (ocelId: string, params?: DownloadOCELParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2621
+ declare const getDownloadOCELQueryKey: (ocelId: string, params?: DownloadOCELParams) => readonly [`/api/external/modules/ocel/v1/${string}/download`, ...DownloadOCELParams[]];
2622
+ declare const getDownloadOCELQueryOptions: <TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError$1>(ocelId: string, params?: DownloadOCELParams, options?: {
2623
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>>;
2331
2624
  request?: SecondParameter<typeof customFetch>;
2332
- }) => UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData> & {
2625
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData> & {
2333
2626
  queryKey: DataTag<QueryKey, TData, TError>;
2334
2627
  };
2335
- type ResourceQueryResult = NonNullable<Awaited<ReturnType<typeof resource>>>;
2336
- type ResourceQueryError = HTTPValidationError;
2337
- declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options: {
2338
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
2628
+ type DownloadOCELQueryResult = NonNullable<Awaited<ReturnType<typeof downloadOCEL>>>;
2629
+ type DownloadOCELQueryError = HTTPValidationError$1;
2630
+ declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError$1>(ocelId: string, params: undefined | DownloadOCELParams, options: {
2631
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, Awaited<ReturnType<typeof downloadOCEL>>>, 'initialData'>;
2339
2632
  request?: SecondParameter<typeof customFetch>;
2340
2633
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2341
2634
  queryKey: DataTag<QueryKey, TData, TError>;
2342
2635
  };
2343
- declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2344
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
2636
+ declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError$1>(ocelId: string, params?: DownloadOCELParams, options?: {
2637
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, Awaited<ReturnType<typeof downloadOCEL>>>, 'initialData'>;
2345
2638
  request?: SecondParameter<typeof customFetch>;
2346
2639
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2347
2640
  queryKey: DataTag<QueryKey, TData, TError>;
2348
2641
  };
2349
- declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2350
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>>;
2642
+ declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError$1>(ocelId: string, params?: DownloadOCELParams, options?: {
2643
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>>;
2351
2644
  request?: SecondParameter<typeof customFetch>;
2352
2645
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2353
2646
  queryKey: DataTag<QueryKey, TData, TError>;
2354
2647
  };
2355
2648
  /**
2356
- * @summary Delete Resource
2649
+ * @summary Download OCEL as a xes
2357
2650
  */
2358
- declare const deleteResource: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2359
- declare const getDeleteResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2360
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
2361
- resourceId: string;
2362
- }, TContext>;
2651
+ declare const downloadFlatLog: (ocelId: string | null, params: DownloadFlatLogParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2652
+ declare const getDownloadFlatLogQueryKey: (ocelId: string | null, params?: DownloadFlatLogParams) => readonly [`/api/external/modules/ocel/v1/${string}/download/xes`, ...DownloadFlatLogParams[]];
2653
+ declare const getDownloadFlatLogQueryOptions: <TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
2654
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>>;
2363
2655
  request?: SecondParameter<typeof customFetch>;
2364
- }) => UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
2365
- resourceId: string;
2366
- }, TContext>;
2367
- type DeleteResourceMutationResult = NonNullable<Awaited<ReturnType<typeof deleteResource>>>;
2368
- type DeleteResourceMutationError = HTTPValidationError;
2369
- /**
2370
- * @summary Delete Resource
2371
- */
2372
- declare const useDeleteResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
2373
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
2374
- resourceId: string;
2375
- }, TContext>;
2656
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData> & {
2657
+ queryKey: DataTag<QueryKey, TData, TError>;
2658
+ };
2659
+ type DownloadFlatLogQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFlatLog>>>;
2660
+ type DownloadFlatLogQueryError = HTTPValidationError$1;
2661
+ declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadFlatLogParams, options: {
2662
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, Awaited<ReturnType<typeof downloadFlatLog>>>, 'initialData'>;
2376
2663
  request?: SecondParameter<typeof customFetch>;
2377
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteResource>>, TError, {
2378
- resourceId: string;
2379
- }, TContext>;
2664
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2665
+ queryKey: DataTag<QueryKey, TData, TError>;
2666
+ };
2667
+ declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
2668
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, Awaited<ReturnType<typeof downloadFlatLog>>>, 'initialData'>;
2669
+ request?: SecondParameter<typeof customFetch>;
2670
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2671
+ queryKey: DataTag<QueryKey, TData, TError>;
2672
+ };
2673
+ declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
2674
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>>;
2675
+ request?: SecondParameter<typeof customFetch>;
2676
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2677
+ queryKey: DataTag<QueryKey, TData, TError>;
2678
+ };
2380
2679
  /**
2381
- * @summary Rename Resource
2680
+ * Filters the OCEL to the objects of `object_type` that follow any of the given `variant_ids`, then flattens that sub-log by `object_type` into a XES file (one trace per object).
2681
+ * @summary Download selected object variants as a flat XES log
2382
2682
  */
2383
- declare const renameResource: (resourceId: string, params: RenameResourceParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2384
- declare const getRenameResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2385
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
2386
- resourceId: string;
2387
- params: RenameResourceParams;
2388
- }, TContext>;
2683
+ declare const downloadVariantFlatLog: (ocelId: string | null, params: DownloadVariantFlatLogParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2684
+ declare const getDownloadVariantFlatLogQueryKey: (ocelId: string | null, params?: DownloadVariantFlatLogParams) => readonly [`/api/external/modules/ocel/v1/${string}/objects/variants/download/xes`, ...DownloadVariantFlatLogParams[]];
2685
+ declare const getDownloadVariantFlatLogQueryOptions: <TData = Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadVariantFlatLogParams, options?: {
2686
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, TData>>;
2389
2687
  request?: SecondParameter<typeof customFetch>;
2390
- }) => UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
2391
- resourceId: string;
2392
- params: RenameResourceParams;
2393
- }, TContext>;
2394
- type RenameResourceMutationResult = NonNullable<Awaited<ReturnType<typeof renameResource>>>;
2395
- type RenameResourceMutationError = HTTPValidationError;
2396
- /**
2397
- * @summary Rename Resource
2398
- */
2399
- declare const useRenameResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
2400
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
2401
- resourceId: string;
2402
- params: RenameResourceParams;
2403
- }, TContext>;
2688
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, TData> & {
2689
+ queryKey: DataTag<QueryKey, TData, TError>;
2690
+ };
2691
+ type DownloadVariantFlatLogQueryResult = NonNullable<Awaited<ReturnType<typeof downloadVariantFlatLog>>>;
2692
+ type DownloadVariantFlatLogQueryError = HTTPValidationError$1;
2693
+ declare function useDownloadVariantFlatLog<TData = Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadVariantFlatLogParams, options: {
2694
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, Awaited<ReturnType<typeof downloadVariantFlatLog>>>, 'initialData'>;
2404
2695
  request?: SecondParameter<typeof customFetch>;
2405
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameResource>>, TError, {
2406
- resourceId: string;
2407
- params: RenameResourceParams;
2408
- }, TContext>;
2696
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2697
+ queryKey: DataTag<QueryKey, TData, TError>;
2698
+ };
2699
+ declare function useDownloadVariantFlatLog<TData = Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadVariantFlatLogParams, options?: {
2700
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, Awaited<ReturnType<typeof downloadVariantFlatLog>>>, 'initialData'>;
2701
+ request?: SecondParameter<typeof customFetch>;
2702
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2703
+ queryKey: DataTag<QueryKey, TData, TError>;
2704
+ };
2705
+ declare function useDownloadVariantFlatLog<TData = Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError = HTTPValidationError$1>(ocelId: string | null, params: DownloadVariantFlatLogParams, options?: {
2706
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, TData>>;
2707
+ request?: SecondParameter<typeof customFetch>;
2708
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2709
+ queryKey: DataTag<QueryKey, TData, TError>;
2710
+ };
2409
2711
  //#endregion
2410
- export { ActivitiesParams, ActivitiesQueryError, ActivitiesQueryResult, AggregatedAttribute, AggregatedAttributesEntityType, AggregatedAttributesParams, AggregatedAttributesQueryError, AggregatedAttributesQueryResult, AttributeNamesParams, AttributeNamesQueryError, AttributeNamesQueryResult, BodyDownloadPluginResults, BodyGetComputedValues, BodyGetComputedValuesInput, BodyGetComputedValuesInputOcels, BodyGetComputedValuesInputResources, BodyRunPlugin, BodyRunPluginInput, BodyRunPluginInputOcels, BodyRunPluginInputResources, BodySavePluginResults, BodyUpload, BodyUploadResource, CreateDiscoveryTaskBody, CreateDiscoveryTaskBodyParameters, CreateDiscoveryTaskMutationBody, CreateDiscoveryTaskMutationError, CreateDiscoveryTaskMutationResult, DateDistributionItem, DateDistributionItemEntityCount, DefaultOCEL, DeleteOcelMutationError, DeleteOcelMutationResult, DeletePluginMutationError, DeletePluginMutationResult, DeleteResourceMutationError, DeleteResourceMutationResult, DiscoveryFilterSchema, DiscoveryFilterSchemaJsonSchema, DiscoveryMethodMeta, DiscoveryTaskQueryError, DiscoveryTaskQueryResult, DiscoveryTaskSummary, DiscoveryVariant, DiscoveryVariantInputSchema, DotVis, DotVisLayoutEngine, DownloadFlatLogParams, DownloadFlatLogQueryError, DownloadFlatLogQueryResult, DownloadOCELExt, DownloadOCELParams, DownloadOCELQueryError, DownloadOCELQueryResult, DownloadPluginResultsMutationBody, DownloadPluginResultsMutationError, DownloadPluginResultsMutationResult, DownloadResourceAsPnmlQueryError, DownloadResourceAsPnmlQueryResult, DownloadResourceQueryError, DownloadResourceQueryResult, E2oCombinationsDirection, E2oCombinationsParams, E2oCombinationsQueryError, E2oCombinationsQueryResult, E2oDirection, E2oOrder, E2oParams, E2oQueryError, E2oQueryResult, EdgeStyle, ElkLayoutConfig, ElkLayoutConfigOptions, EntityTimeInfo, EventAttributesParams, EventAttributesQueryError, EventAttributesQueryResult, EventCounts200, EventCountsParams, EventCountsQueryError, EventCountsQueryResult, EventIdsParams, EventIdsQueryError, EventIdsQueryResult, FilterEnvelope, FilterEnvelopePayload, GetComputedValuesQueryError, GetComputedValuesQueryResult, GetDefaultOcelParams, GetDefaultOcelQueryError, GetDefaultOcelQueryResult, GetExtensionMeta200, GetExtensionMetaQueryError, GetExtensionMetaQueryResult, GetOcelParams, GetOcelQueryError, GetOcelQueryResult, GetOcelsParams, GetOcelsQueryError, GetOcelsQueryResult, GetPluginMethodQueryError, GetPluginMethodQueryResult, GetPluginQueryError, GetPluginQueryResult, 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, ListDiscoveryFiltersQueryError, ListDiscoveryFiltersQueryResult, ListDiscoveryMethodsQueryError, ListDiscoveryMethodsQueryResult, LogoutMutationError, LogoutMutationResult, NodeStyle, O2oCombinationsDirection, O2oCombinationsParams, O2oCombinationsQueryError, O2oCombinationsQueryResult, O2oDirection, O2oOrder, O2oParams, O2oQueryError, O2oQueryResult, OCELAnnotation, OCELExtensionDescription, OCELOutput, OCELOutputActivityCount, OCELOutputObjectCount, OCELResult, ObjectAttributesParams, ObjectAttributesQueryError, ObjectAttributesQueryResult, ObjectCounts200, ObjectCountsParams, ObjectCountsQueryError, ObjectCountsQueryResult, ObjectIdsParams, ObjectIdsQueryError, ObjectIdsQueryResult, ObjectTypesParams, ObjectTypesQueryError, ObjectTypesQueryResult, OcelMetadata, PaginatedResponseListAggregatedAttribute, PaginatedResponseListRelationCountSummary, PaginatedResponseListStr, Plotly, PlotlyData, PluginApi, PluginMeta, PluginMethod, PluginMethodInputOcels, PluginMethodInputResources, PluginMethodInputSchema, PluginResultQueryError, PluginResultQueryResult, PluginSource, PluginsQueryError, PluginsQueryResult, QuantityInfo, QuantityInfoParams, QuantityInfoQueryError, QuantityInfoQueryResult, RelationCombination, RelationCountSummary, RenameOcelMutationError, RenameOcelMutationResult, RenameOcelParams, RenameResourceMutationError, RenameResourceMutationResult, RenameResourceParams, Resource, ResourceAnnotation, ResourceApi, ResourceInfo, ResourceOutput, ResourceQueryError, ResourceQueryResult, ResourceResult, ResourcesParams, ResourcesQueryError, ResourcesQueryResult, RunPluginMutationBody, RunPluginMutationError, RunPluginMutationResult, SVGVis, SaveDiscoveryMutationError, SaveDiscoveryMutationResult, SavePluginResultsMutationBody, SavePluginResultsMutationError, SavePluginResultsMutationResult, SavedResults, SystemTaskSummary, SystemTaskSummaryMetadata, Table, TableColumn, TableColumnDataType, TableRowsItem, TaskState, TimeInfoParams, TimeInfoQueryError, TimeInfoQueryResult, TypedAttribute, UploadMutationBody, UploadMutationError, UploadMutationResult, UploadResourceMutationBody, UploadResourceMutationError, UploadResourceMutationResult, ValidationError, ValidationErrorCtx, ValueType, Visualization, activities, aggregatedAttributes, attributeNames, createDiscoveryTask, deleteOcel, deletePlugin, deleteResource, discoveryTask, downloadFlatLog, downloadOCEL, downloadPluginResults, downloadResource, downloadResourceAsPnml, e2o, e2oCombinations, eventAttributes, eventCounts, eventIds, getActivitiesQueryKey, getActivitiesQueryOptions, getAggregatedAttributesQueryKey, getAggregatedAttributesQueryOptions, getAttributeNamesQueryKey, getAttributeNamesQueryOptions, getComputedValues, getCreateDiscoveryTaskMutationOptions, getDefaultOcel, getDeleteOcelMutationOptions, getDeletePluginMutationOptions, getDeleteResourceMutationOptions, getDiscoveryTaskQueryKey, getDiscoveryTaskQueryOptions, getDownloadFlatLogQueryKey, getDownloadFlatLogQueryOptions, getDownloadOCELQueryKey, getDownloadOCELQueryOptions, getDownloadPluginResultsMutationOptions, getDownloadResourceAsPnmlQueryKey, getDownloadResourceAsPnmlQueryOptions, getDownloadResourceQueryKey, getDownloadResourceQueryOptions, getE2oCombinationsQueryKey, getE2oCombinationsQueryOptions, getE2oQueryKey, getE2oQueryOptions, getEventAttributesQueryKey, getEventAttributesQueryOptions, getEventCountsQueryKey, getEventCountsQueryOptions, getEventIdsQueryKey, getEventIdsQueryOptions, getExtensionMeta, getGetComputedValuesQueryKey, getGetComputedValuesQueryOptions, getGetDefaultOcelQueryKey, getGetDefaultOcelQueryOptions, getGetExtensionMetaQueryKey, getGetExtensionMetaQueryOptions, getGetOcelQueryKey, getGetOcelQueryOptions, getGetOcelsQueryKey, getGetOcelsQueryOptions, getGetPluginMethodQueryKey, getGetPluginMethodQueryOptions, getGetPluginQueryKey, getGetPluginQueryOptions, getGetResourceMetaQueryKey, getGetResourceMetaQueryOptions, getGetSystemTaskQueryKey, getGetSystemTaskQueryOptions, getGetSystemTasksQueryKey, getGetSystemTasksQueryOptions, getImportDefaultOcelMutationOptions, getListDiscoveryFiltersQueryKey, getListDiscoveryFiltersQueryOptions, getListDiscoveryMethodsQueryKey, getListDiscoveryMethodsQueryOptions, getLogoutMutationOptions, getO2oCombinationsQueryKey, getO2oCombinationsQueryOptions, getO2oQueryKey, getO2oQueryOptions, getObjectAttributesQueryKey, getObjectAttributesQueryOptions, getObjectCountsQueryKey, getObjectCountsQueryOptions, getObjectIdsQueryKey, getObjectIdsQueryOptions, getObjectTypesQueryKey, getObjectTypesQueryOptions, getOcel, getOcels, getPlugin, getPluginMethod, getPluginResultQueryKey, getPluginResultQueryOptions, getPluginsQueryKey, getPluginsQueryOptions, getQuantityInfoQueryKey, getQuantityInfoQueryOptions, getRenameOcelMutationOptions, getRenameResourceMutationOptions, getResourceMeta, getResourceQueryKey, getResourceQueryOptions, getResourcesQueryKey, getResourcesQueryOptions, getRunPluginMutationOptions, getSaveDiscoveryMutationOptions, getSavePluginResultsMutationOptions, getSystemTask, getSystemTasks, getTimeInfoQueryKey, getTimeInfoQueryOptions, getUploadMutationOptions, getUploadResourceMutationOptions, importDefaultOcel, listDiscoveryFilters, listDiscoveryMethods, logout, o2o, o2oCombinations, objectAttributes, objectCounts, objectIds, objectTypes, pluginResult, plugins, quantityInfo, renameOcel, renameResource, resource, resources, runPlugin, saveDiscovery, savePluginResults, timeInfo, upload, uploadResource, useActivities, useAggregatedAttributes, useAttributeNames, useCreateDiscoveryTask, useDeleteOcel, useDeletePlugin, useDeleteResource, useDiscoveryTask, useDownloadFlatLog, useDownloadOCEL, useDownloadPluginResults, useDownloadResource, useDownloadResourceAsPnml, useE2o, useE2oCombinations, useEventAttributes, useEventCounts, useEventIds, useGetComputedValues, useGetDefaultOcel, useGetExtensionMeta, useGetOcel, useGetOcels, useGetPlugin, useGetPluginMethod, useGetResourceMeta, useGetSystemTask, useGetSystemTasks, useImportDefaultOcel, useListDiscoveryFilters, useListDiscoveryMethods, useLogout, useO2o, useO2oCombinations, useObjectAttributes, useObjectCounts, useObjectIds, useObjectTypes, usePluginResult, usePlugins, useQuantityInfo, useRenameOcel, useRenameResource, useResource, useResources, useRunPlugin, useSaveDiscovery, useSavePluginResults, useTimeInfo, useUpload, useUploadResource };
2712
+ export { ActivitiesOcelVersion, ActivitiesParams, ActivitiesQueryError, ActivitiesQueryResult, AggregatedAttribute, AggregatedAttributesEntityType, AggregatedAttributesOcelVersion, AggregatedAttributesParams, AggregatedAttributesQueryError, AggregatedAttributesQueryResult, AttributeNamesEntityType, AttributeNamesOcelVersion, AttributeNamesParams, AttributeNamesQueryError, AttributeNamesQueryResult, BodyDownloadPluginResults, BodyGetComputedValues, BodyGetComputedValuesInput, BodyGetComputedValuesInputOcels, BodyGetComputedValuesInputResources, BodyRunPlugin, BodyRunPluginInput, BodyRunPluginInputOcels, BodyRunPluginInputResources, BodySavePluginResults, BodyUpload, BodyUploadResource, CreateDiscoveryTaskBody, CreateDiscoveryTaskBodyParameters, CreateDiscoveryTaskMutationBody, CreateDiscoveryTaskMutationError, CreateDiscoveryTaskMutationResult, DateDistributionItem, DateDistributionItemEntityCount, DefaultOCEL, DeleteOcelMutationError, DeleteOcelMutationResult, DeletePluginMutationError, DeletePluginMutationResult, DeleteResourceMutationError, DeleteResourceMutationResult, DisableDiscoveryMethodMutationError, DisableDiscoveryMethodMutationResult, DiscoveryFilterSchema, DiscoveryFilterSchemaJsonSchema, DiscoveryMethodMeta, DiscoveryTaskQueryError, DiscoveryTaskQueryResult, DiscoveryTaskSummary, DiscoveryVariant, DiscoveryVariantInputSchema, DotVis, DotVisLayoutEngine, DownloadFlatLogOcelVersion, DownloadFlatLogParams, DownloadFlatLogQueryError, DownloadFlatLogQueryResult, DownloadOCELExt, DownloadOCELOcelVersion, DownloadOCELParams, DownloadOCELQueryError, DownloadOCELQueryResult, DownloadPluginResultsMutationBody, DownloadPluginResultsMutationError, DownloadPluginResultsMutationResult, DownloadResourceAsPnmlQueryError, DownloadResourceAsPnmlQueryResult, DownloadResourceQueryError, DownloadResourceQueryResult, DownloadVariantFlatLogOcelVersion, DownloadVariantFlatLogParams, DownloadVariantFlatLogQueryError, DownloadVariantFlatLogQueryResult, E2oCombinationsDirection, E2oCombinationsOcelVersion, E2oCombinationsParams, E2oCombinationsQueryError, E2oCombinationsQueryResult, E2oDirection, E2oOcelVersion, E2oParams, E2oQueryError, E2oQueryResult, EdgeStyle, ElkLayoutConfig, ElkLayoutConfigOptions, EnableDiscoveryMethodMutationError, EnableDiscoveryMethodMutationResult, EntityTimeInfo, EventAttributesOcelVersion, EventAttributesParams, EventAttributesQueryError, EventAttributesQueryResult, EventCounts200, EventCountsOcelVersion, EventCountsParams, EventCountsQueryError, EventCountsQueryResult, EventIdsOcelVersion, EventIdsParams, EventIdsQueryError, EventIdsQueryResult, FilterEnvelope, FilterEnvelopePayload, GetComputedValuesQueryError, GetComputedValuesQueryResult, GetDefaultOcelParams, GetDefaultOcelQueryError, GetDefaultOcelQueryResult, GetExtensionMeta200, GetExtensionMetaQueryError, GetExtensionMetaQueryResult, GetOcelQueryError, GetOcelQueryResult, GetOcelsParams, GetOcelsQueryError, GetOcelsQueryResult, GetPluginMethodQueryError, GetPluginMethodQueryResult, GetPluginQueryError, GetPluginQueryResult, GetResourceMeta200, GetResourceMetaQueryError, GetResourceMetaQueryResult, GetResourceResponse, GetSystemTaskQueryError, GetSystemTaskQueryResult, GetSystemTasksParams, GetSystemTasksQueryError, GetSystemTasksQueryResult, Graph, GraphEdge, GraphEdgeEndArrow, GraphEdgeLayoutAttrs, GraphEdgeStartArrow, GraphNode, GraphNodeLabelPos, GraphNodeLayoutAttrs, GraphNodeShape, GraphvizLayoutConfig, GraphvizLayoutConfigEdgeAttrs, GraphvizLayoutConfigEngine, GraphvizLayoutConfigGraphAttrs, GraphvizLayoutConfigNodeAttrs, HTTPValidationError, ImportDefaultOcelMutationError, ImportDefaultOcelMutationResult, ImportDefaultOcelParams, ListDiscoveryFiltersQueryError, ListDiscoveryFiltersQueryResult, ListDiscoveryMethodsQueryError, ListDiscoveryMethodsQueryResult, LogoutMutationError, LogoutMutationResult, NodeStyle, NodeStyleInnerSymbol, O2oCombinationsDirection, O2oCombinationsOcelVersion, O2oCombinationsParams, O2oCombinationsQueryError, O2oCombinationsQueryResult, O2oDirection, O2oOcelVersion, O2oParams, O2oQueryError, O2oQueryResult, OCELAnnotation, OCELExtensionDescription, OCELOutput, OCELOutputActivityCount, OCELOutputObjectCount, OCELResult, ObjectAttributesOcelVersion, ObjectAttributesParams, ObjectAttributesQueryError, ObjectAttributesQueryResult, ObjectCounts200, ObjectCountsOcelVersion, ObjectCountsParams, ObjectCountsQueryError, ObjectCountsQueryResult, ObjectIdsOcelVersion, ObjectIdsParams, ObjectIdsQueryError, ObjectIdsQueryResult, ObjectTypeVariants, ObjectTypesOcelVersion, ObjectTypesParams, ObjectTypesQueryError, ObjectTypesQueryResult, ObjectVariant, ObjectVariantsOcelVersion, ObjectVariantsParams, ObjectVariantsQueryError, ObjectVariantsQueryResult, OcelMetadata, PaginatedResponseListAggregatedAttribute, PaginatedResponseListRelationCountSummary, PaginatedResponseListStr, Plotly, PlotlyData, PluginApi, PluginMeta, PluginMethod, PluginMethodInputOcels, PluginMethodInputResources, PluginMethodInputSchema, PluginResultQueryError, PluginResultQueryResult, PluginSource, PluginsQueryError, PluginsQueryResult, QuantityInfo, QuantityInfoOcelVersion, QuantityInfoParams, QuantityInfoQueryError, QuantityInfoQueryResult, RelationCombination, RelationCountSummary, RenameOcelMutationError, RenameOcelMutationResult, RenameOcelParams, RenameResourceMutationError, RenameResourceMutationResult, RenameResourceParams, Resource, ResourceAnnotation, ResourceApi, ResourceInfo, ResourceOutput, ResourceQueryError, ResourceQueryResult, ResourceResult, ResourcesParams, ResourcesQueryError, ResourcesQueryResult, RunPluginMutationBody, RunPluginMutationError, RunPluginMutationResult, SVGVis, SaveDiscoveryMutationError, SaveDiscoveryMutationResult, SavePluginResultsMutationBody, SavePluginResultsMutationError, SavePluginResultsMutationResult, SavedResults, SystemTaskSummary, SystemTaskSummaryMetadata, Table, TableColumn, TableColumnDataType, TableRowsItem, TaskState, TimeInfoOcelVersion, TimeInfoParams, TimeInfoQueryError, TimeInfoQueryResult, TypedAttribute, UploadMutationBody, UploadMutationError, UploadMutationResult, UploadResourceMutationBody, UploadResourceMutationError, UploadResourceMutationResult, ValidationError, ValidationErrorCtx, ValueType, Visualization, activities, aggregatedAttributes, attributeNames, createDiscoveryTask, deleteOcel, deletePlugin, deleteResource, disableDiscoveryMethod, discoveryTask, downloadFlatLog, downloadOCEL, downloadPluginResults, downloadResource, downloadResourceAsPnml, downloadVariantFlatLog, e2o, e2oCombinations, enableDiscoveryMethod, eventAttributes, eventCounts, eventIds, getActivitiesQueryKey, getActivitiesQueryOptions, getAggregatedAttributesQueryKey, getAggregatedAttributesQueryOptions, getAttributeNamesQueryKey, getAttributeNamesQueryOptions, getComputedValues, getCreateDiscoveryTaskMutationOptions, getDefaultOcel, getDeleteOcelMutationOptions, getDeletePluginMutationOptions, getDeleteResourceMutationOptions, getDisableDiscoveryMethodMutationOptions, getDiscoveryTaskQueryKey, getDiscoveryTaskQueryOptions, getDownloadFlatLogQueryKey, getDownloadFlatLogQueryOptions, getDownloadOCELQueryKey, getDownloadOCELQueryOptions, getDownloadPluginResultsMutationOptions, getDownloadResourceAsPnmlQueryKey, getDownloadResourceAsPnmlQueryOptions, getDownloadResourceQueryKey, getDownloadResourceQueryOptions, getDownloadVariantFlatLogQueryKey, getDownloadVariantFlatLogQueryOptions, getE2oCombinationsQueryKey, getE2oCombinationsQueryOptions, getE2oQueryKey, getE2oQueryOptions, getEnableDiscoveryMethodMutationOptions, getEventAttributesQueryKey, getEventAttributesQueryOptions, getEventCountsQueryKey, getEventCountsQueryOptions, getEventIdsQueryKey, getEventIdsQueryOptions, getExtensionMeta, getGetComputedValuesQueryKey, getGetComputedValuesQueryOptions, getGetDefaultOcelQueryKey, getGetDefaultOcelQueryOptions, getGetExtensionMetaQueryKey, getGetExtensionMetaQueryOptions, getGetOcelQueryKey, getGetOcelQueryOptions, getGetOcelsQueryKey, getGetOcelsQueryOptions, getGetPluginMethodQueryKey, getGetPluginMethodQueryOptions, getGetPluginQueryKey, getGetPluginQueryOptions, getGetResourceMetaQueryKey, getGetResourceMetaQueryOptions, getGetSystemTaskQueryKey, getGetSystemTaskQueryOptions, getGetSystemTasksQueryKey, getGetSystemTasksQueryOptions, getImportDefaultOcelMutationOptions, getListDiscoveryFiltersQueryKey, getListDiscoveryFiltersQueryOptions, getListDiscoveryMethodsQueryKey, getListDiscoveryMethodsQueryOptions, getLogoutMutationOptions, getO2oCombinationsQueryKey, getO2oCombinationsQueryOptions, getO2oQueryKey, getO2oQueryOptions, getObjectAttributesQueryKey, getObjectAttributesQueryOptions, getObjectCountsQueryKey, getObjectCountsQueryOptions, getObjectIdsQueryKey, getObjectIdsQueryOptions, getObjectTypesQueryKey, getObjectTypesQueryOptions, getObjectVariantsQueryKey, getObjectVariantsQueryOptions, getOcel, getOcels, getPlugin, getPluginMethod, getPluginResultQueryKey, getPluginResultQueryOptions, getPluginsQueryKey, getPluginsQueryOptions, getQuantityInfoQueryKey, getQuantityInfoQueryOptions, getRenameOcelMutationOptions, getRenameResourceMutationOptions, getResourceMeta, getResourceQueryKey, getResourceQueryOptions, getResourcesQueryKey, getResourcesQueryOptions, getRunPluginMutationOptions, getSaveDiscoveryMutationOptions, getSavePluginResultsMutationOptions, getSystemTask, getSystemTasks, getTimeInfoQueryKey, getTimeInfoQueryOptions, getUploadMutationOptions, getUploadResourceMutationOptions, importDefaultOcel, listDiscoveryFilters, listDiscoveryMethods, logout, o2o, o2oCombinations, objectAttributes, objectCounts, objectIds, objectTypes, objectVariants, pluginResult, plugins, quantityInfo, renameOcel, renameResource, resource, resources, runPlugin, saveDiscovery, savePluginResults, timeInfo, upload, uploadResource, useActivities, useAggregatedAttributes, useAttributeNames, useCreateDiscoveryTask, useDeleteOcel, useDeletePlugin, useDeleteResource, useDisableDiscoveryMethod, useDiscoveryTask, useDownloadFlatLog, useDownloadOCEL, useDownloadPluginResults, useDownloadResource, useDownloadResourceAsPnml, useDownloadVariantFlatLog, useE2o, useE2oCombinations, useEnableDiscoveryMethod, useEventAttributes, useEventCounts, useEventIds, useGetComputedValues, useGetDefaultOcel, useGetExtensionMeta, useGetOcel, useGetOcels, useGetPlugin, useGetPluginMethod, useGetResourceMeta, useGetSystemTask, useGetSystemTasks, useImportDefaultOcel, useListDiscoveryFilters, useListDiscoveryMethods, useLogout, useO2o, useO2oCombinations, useObjectAttributes, useObjectCounts, useObjectIds, useObjectTypes, useObjectVariants, usePluginResult, usePlugins, useQuantityInfo, useRenameOcel, useRenameResource, useResource, useResources, useRunPlugin, useSaveDiscovery, useSavePluginResults, useTimeInfo, useUpload, useUploadResource };