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