@ocelescope/api-base 0.1.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 (3) hide show
  1. package/dist/index.d.ts +1444 -1279
  2. package/dist/index.js +976 -829
  3. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -4,24 +4,7 @@ import { AxiosRequestConfig } from "axios";
4
4
  //#region src/lib/fetcher.d.ts
5
5
  declare const customFetch: <T>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<T>;
6
6
  //#endregion
7
- //#region src/api/base.d.ts
8
- type ValueType = typeof ValueType[keyof typeof ValueType];
9
- declare const ValueType: {
10
- readonly empty: "empty";
11
- readonly string: "string";
12
- readonly bool: "bool";
13
- readonly int: "int";
14
- readonly float: "float";
15
- readonly date: "date";
16
- };
17
- interface AggregatedAttribute {
18
- name: string;
19
- min: string | number;
20
- max: string | number;
21
- distinct_values: number;
22
- type: ValueType;
23
- entity_type_names: string[];
24
- }
7
+ //#region src/api/base/index.d.ts
25
8
  interface BodyDownloadPluginResults {
26
9
  indices: number[];
27
10
  }
@@ -77,26 +60,6 @@ interface CreateDiscoveryTaskBody {
77
60
  parameters?: CreateDiscoveryTaskBodyParameters;
78
61
  filters?: FilterEnvelope[];
79
62
  }
80
- type DateDistributionItemEntityCount = {
81
- [key: string]: number;
82
- };
83
- interface DateDistributionItem {
84
- start_timestamp: string;
85
- end_timestamp: string;
86
- entity_count: DateDistributionItemEntityCount;
87
- }
88
- /**
89
- * Definition of a default OCEL on the server, for quick access. Supports pre-loading the OCEL on backend init.
90
- */
91
- interface DefaultOCEL {
92
- key: string;
93
- name: string;
94
- version: string;
95
- file: string;
96
- url?: string | null;
97
- preload?: boolean;
98
- hide?: boolean;
99
- }
100
63
  type DiscoveryFilterSchemaJsonSchema = {
101
64
  [key: string]: unknown;
102
65
  };
@@ -112,6 +75,8 @@ interface DiscoveryVariant {
112
75
  resourceType: string;
113
76
  inputSchema: DiscoveryVariantInputSchema;
114
77
  description?: string | null;
78
+ pluginId?: string | null;
79
+ enabled?: boolean;
115
80
  }
116
81
  interface DiscoveryMethodMeta {
117
82
  name: string;
@@ -436,11 +401,6 @@ interface DiscoveryTaskSummary {
436
401
  state: TaskState;
437
402
  visualization: Graph | Table | SVGVis | DotVis | Plotly | null;
438
403
  }
439
- interface EntityTimeInfo {
440
- start_time: string;
441
- end_time: string;
442
- date_distribution: DateDistributionItem[];
443
- }
444
404
  interface PluginSource {
445
405
  task_id: string;
446
406
  plugin_name: string;
@@ -490,11 +450,6 @@ interface OCELAnnotation {
490
450
  description?: string | null;
491
451
  extension?: string | null;
492
452
  }
493
- interface OCELExtensionDescription {
494
- name: string;
495
- label: string;
496
- description: string;
497
- }
498
453
  type OCELOutputActivityCount = {
499
454
  [key: string]: number;
500
455
  };
@@ -512,60 +467,6 @@ interface OCELResult {
512
467
  is_list: boolean;
513
468
  annotation: OCELAnnotation | null;
514
469
  }
515
- interface OcelMetadata {
516
- id: string;
517
- name: string;
518
- created_at: string;
519
- extensions: OCELExtensionDescription[];
520
- filter_applied: boolean | null;
521
- }
522
- interface PaginatedResponseListAggregatedAttribute {
523
- response: AggregatedAttribute[];
524
- page: number;
525
- page_size: number;
526
- total_items: number;
527
- readonly total_pages: number;
528
- }
529
- /**
530
- * Summary statistics for relationship multiplicities in O2O or E2O relations.
531
-
532
- Captures, for each combination of source type, target type and qualifier,
533
- how many related items occur per source instance.
534
-
535
- Attributes:
536
- qualifier: The relation qualifier (empty string when none applies).
537
- qualifiers: The qualifiers aggregated under a (source, target) pair. For
538
- aggregated rows (``with_qualifier=False``) this lists every qualifier;
539
- for per-qualifier rows it is the single-element list ``[qualifier]``.
540
- source: The source object or event type.
541
- target: The target object or event type.
542
- min_count: The minimum number of related items for any source instance.
543
- max_count: The maximum number of related items for any source instance.
544
- sum: The total number of relation occurrences across all instances.
545
- */
546
- interface RelationCountSummary {
547
- qualifier: string;
548
- qualifiers?: string[];
549
- source: string;
550
- target: string;
551
- min_count: number;
552
- max_count: number;
553
- sum: number;
554
- }
555
- interface PaginatedResponseListRelationCountSummary {
556
- response: RelationCountSummary[];
557
- page: number;
558
- page_size: number;
559
- total_items: number;
560
- readonly total_pages: number;
561
- }
562
- interface PaginatedResponseListStr {
563
- response: string[];
564
- page: number;
565
- page_size: number;
566
- total_items: number;
567
- readonly total_pages: number;
568
- }
569
470
  interface PluginMeta {
570
471
  name: string;
571
472
  version: string;
@@ -615,26 +516,6 @@ interface PluginApi {
615
516
  meta: PluginMeta;
616
517
  methods: PluginMethod[];
617
518
  }
618
- interface QuantityInfo {
619
- item_types: string[];
620
- total_object_count: number;
621
- total_event_count: number;
622
- object_types: string[];
623
- activities: string[];
624
- }
625
- /**
626
- * A distinct (source, target, qualifier) combination of a relation.
627
-
628
- Attributes:
629
- source: The source object or event type.
630
- target: The target object or event type.
631
- qualifier: The relation qualifier (empty string when none applies).
632
- */
633
- interface RelationCombination {
634
- source: string;
635
- target: string;
636
- qualifier: string;
637
- }
638
519
  /**
639
520
  * Abstract base class for resources.
640
521
 
@@ -668,1743 +549,2027 @@ interface SystemTaskSummary {
668
549
  name: string;
669
550
  metadata: SystemTaskSummaryMetadata;
670
551
  }
671
- interface TypedAttribute {
672
- name: string;
673
- min: string | number;
674
- max: string | number;
675
- distinct_values: number;
676
- type: ValueType;
677
- entity_type: string;
678
- }
679
- type GetOcelsParams = {
680
- extension_name?: string | null;
681
- };
682
- type GetDefaultOcelParams = {
683
- only_latest_versions?: boolean;
684
- only_preloaded?: boolean;
685
- };
686
- type ImportDefaultOcelParams = {
687
- /**
688
- * Default OCEL key
689
- */
690
- key: string;
691
- /**
692
- * Dataset version (optional)
693
- */
694
- version?: string | null;
552
+ type GetSystemTasksParams = {
553
+ task_names?: string[] | null;
554
+ task_ids?: string[] | null;
555
+ only_running?: boolean;
695
556
  };
696
- type GetExtensionMeta200 = {
697
- [key: string]: OCELExtensionDescription;
557
+ type ResourcesParams = {
558
+ resource_type?: string | null;
698
559
  };
699
- type GetOcelParams = {
700
- ocel_version?: 'original' | 'filtered' | null;
560
+ type GetResourceMeta200 = {
561
+ [key: string]: ResourceInfo;
701
562
  };
702
- type RenameOcelParams = {
563
+ type RenameResourceParams = {
703
564
  new_name: string;
704
- ocel_version?: 'original' | 'filtered' | null;
705
565
  };
706
- type AggregatedAttributesParams = {
707
- /**
708
- * @minimum 1
709
- */
710
- page?: number;
711
- page_size?: number;
712
- entity_type?: AggregatedAttributesEntityType;
713
- attribute_names?: string[] | null;
714
- entity_names?: string[] | null;
715
- ocel_version?: 'original' | 'filtered' | null;
566
+ type SecondParameter$1<T extends (...args: never) => unknown> = Parameters<T>[1];
567
+ /**
568
+ * @summary Upload ocels, resources or tasks
569
+ */
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>;
716
650
  };
717
- type AggregatedAttributesEntityType = typeof AggregatedAttributesEntityType[keyof typeof AggregatedAttributesEntityType];
718
- declare const AggregatedAttributesEntityType: {
719
- readonly events: "events";
720
- readonly objects: "objects";
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>;
656
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
657
+ queryKey: DataTag<QueryKey, TData, TError>;
721
658
  };
722
- type AttributeNamesParams = {
723
- entity_type?: 'events' | 'objects' | null;
724
- ocel_version?: 'original' | 'filtered' | null;
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>;
662
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
663
+ queryKey: DataTag<QueryKey, TData, TError>;
725
664
  };
726
- type ObjectAttributesParams = {
727
- attribute_names?: string[];
728
- names?: string[] | null;
729
- ocel_version?: 'original' | 'filtered' | null;
730
- };
731
- type ObjectTypesParams = {
732
- ocel_version?: 'original' | 'filtered' | null;
733
- };
734
- type EventAttributesParams = {
735
- attribute_names?: string[];
736
- names?: string[] | null;
737
- ocel_version?: 'original' | 'filtered' | null;
738
- };
739
- type EventCountsParams = {
740
- ocel_version?: 'original' | 'filtered' | null;
741
- };
742
- type EventCounts200 = {
743
- [key: string]: number;
744
- };
745
- type ActivitiesParams = {
746
- ocel_version?: 'original' | 'filtered' | null;
747
- };
748
- type TimeInfoParams = {
749
- periods?: number | null;
750
- freq?: string | null;
751
- ocel_version?: 'original' | 'filtered' | null;
752
- };
753
- type ObjectCountsParams = {
754
- ocel_version?: 'original' | 'filtered' | null;
755
- };
756
- type ObjectCounts200 = {
757
- [key: string]: number;
758
- };
759
- type E2oParams = {
760
- direction?: E2oDirection;
761
- source_types?: string[] | null;
762
- target_types?: string[] | null;
763
- qualifiers?: string[] | null;
764
- sort_by?: 'source' | 'target' | 'qualifier' | null;
765
- order?: E2oOrder;
766
- page?: number | null;
767
- page_size?: number | null;
768
- with_qualifier?: boolean;
769
- ocel_version?: 'original' | 'filtered' | null;
770
- };
771
- type E2oDirection = typeof E2oDirection[keyof typeof E2oDirection];
772
- declare const E2oDirection: {
773
- readonly source: "source";
774
- readonly target: "target";
775
- };
776
- type E2oOrder = typeof E2oOrder[keyof typeof E2oOrder];
777
- declare const E2oOrder: {
778
- readonly asc: "asc";
779
- readonly desc: "desc";
780
- };
781
- type O2oParams = {
782
- direction?: O2oDirection;
783
- source_types?: string[] | null;
784
- target_types?: string[] | null;
785
- qualifiers?: string[] | null;
786
- sort_by?: 'source' | 'target' | 'qualifier' | null;
787
- order?: O2oOrder;
788
- page?: number | null;
789
- page_size?: number | null;
790
- with_qualifier?: boolean;
791
- ocel_version?: 'original' | 'filtered' | null;
792
- };
793
- type O2oDirection = typeof O2oDirection[keyof typeof O2oDirection];
794
- declare const O2oDirection: {
795
- readonly source: "source";
796
- readonly target: "target";
797
- };
798
- type O2oOrder = typeof O2oOrder[keyof typeof O2oOrder];
799
- declare const O2oOrder: {
800
- readonly asc: "asc";
801
- readonly desc: "desc";
802
- };
803
- type E2oCombinationsParams = {
804
- direction?: E2oCombinationsDirection;
805
- ocel_version?: 'original' | 'filtered' | null;
806
- };
807
- type E2oCombinationsDirection = typeof E2oCombinationsDirection[keyof typeof E2oCombinationsDirection];
808
- declare const E2oCombinationsDirection: {
809
- readonly source: "source";
810
- readonly target: "target";
811
- };
812
- type O2oCombinationsParams = {
813
- direction?: O2oCombinationsDirection;
814
- ocel_version?: 'original' | 'filtered' | null;
815
- };
816
- type O2oCombinationsDirection = typeof O2oCombinationsDirection[keyof typeof O2oCombinationsDirection];
817
- declare const O2oCombinationsDirection: {
818
- readonly source: "source";
819
- readonly target: "target";
820
- };
821
- type EventIdsParams = {
822
- search?: string | null;
823
- size?: number;
824
- page?: number;
825
- ocel_version?: 'original' | 'filtered' | null;
826
- };
827
- type ObjectIdsParams = {
828
- search?: string | null;
829
- size?: number;
830
- page?: number;
831
- ocel_version?: 'original' | 'filtered' | null;
832
- };
833
- type QuantityInfoParams = {
834
- ocel_version?: 'original' | 'filtered' | null;
835
- };
836
- type DownloadOCELParams = {
837
- ext?: DownloadOCELExt;
838
- ocel_version?: 'original' | 'filtered' | null;
839
- };
840
- type DownloadOCELExt = typeof DownloadOCELExt[keyof typeof DownloadOCELExt];
841
- declare const DownloadOCELExt: {
842
- readonly xml: ".xml";
843
- readonly json: ".json";
844
- readonly sqlite: ".sqlite";
845
- };
846
- type DownloadFlatLogParams = {
847
- object_type_name: string;
848
- ocel_version?: 'original' | 'filtered' | null;
849
- };
850
- type GetSystemTasksParams = {
851
- task_names?: string[] | null;
852
- task_ids?: string[] | null;
853
- only_running?: boolean;
854
- };
855
- type ResourcesParams = {
856
- resource_type?: string | null;
857
- };
858
- type GetResourceMeta200 = {
859
- [key: string]: ResourceInfo;
860
- };
861
- type RenameResourceParams = {
862
- new_name: string;
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>;
668
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
669
+ queryKey: DataTag<QueryKey, TData, TError>;
863
670
  };
864
- type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
865
671
  /**
866
- * @summary Upload ocels, resources or tasks
672
+ * @summary Save Discovery
867
673
  */
868
- declare const upload: (bodyUpload: BodyUpload, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
869
- declare const getUploadMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
870
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
871
- data: BodyUpload;
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;
872
678
  }, TContext>;
873
- request?: SecondParameter<typeof customFetch>;
874
- }) => UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
875
- data: BodyUpload;
679
+ request?: SecondParameter$1<typeof customFetch>;
680
+ }) => UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
681
+ taskId: string;
876
682
  }, TContext>;
877
- type UploadMutationResult = NonNullable<Awaited<ReturnType<typeof upload>>>;
878
- type UploadMutationBody = BodyUpload;
879
- type UploadMutationError = HTTPValidationError;
683
+ type SaveDiscoveryMutationResult = NonNullable<Awaited<ReturnType<typeof saveDiscovery>>>;
684
+ type SaveDiscoveryMutationError = HTTPValidationError;
880
685
  /**
881
- * @summary Upload ocels, resources or tasks
686
+ * @summary Save Discovery
882
687
  */
883
- declare const useUpload: <TError = HTTPValidationError, TContext = unknown>(options?: {
884
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof upload>>, TError, {
885
- data: BodyUpload;
688
+ declare const useSaveDiscovery: <TError = HTTPValidationError, TContext = unknown>(options?: {
689
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
690
+ taskId: string;
886
691
  }, TContext>;
887
- request?: SecondParameter<typeof customFetch>;
888
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof upload>>, TError, {
889
- data: BodyUpload;
692
+ request?: SecondParameter$1<typeof customFetch>;
693
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
694
+ taskId: string;
890
695
  }, TContext>;
891
696
  /**
892
- * @summary Deletes the Session
893
- */
894
- declare const logout: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
895
- declare const getLogoutMutationOptions: <TError = unknown, TContext = unknown>(options?: {
896
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
897
- request?: SecondParameter<typeof customFetch>;
898
- }) => UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
899
- type LogoutMutationResult = NonNullable<Awaited<ReturnType<typeof logout>>>;
900
- type LogoutMutationError = unknown;
901
- /**
902
- * @summary Deletes the Session
903
- */
904
- declare const useLogout: <TError = unknown, TContext = unknown>(options?: {
905
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
906
- request?: SecondParameter<typeof customFetch>;
907
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof logout>>, TError, void, TContext>;
908
- /**
909
- * Returns metadata for all uploaded OCELs along with any OCEL files currently being imported. Includes the ID of the currently active OCEL, if one is selected.
910
- * @summary List uploaded and uploading OCELs
697
+ * @summary List filters available to discovery tasks
911
698
  */
912
- declare const getOcels: (params?: GetOcelsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<OcelMetadata[]>;
913
- declare const getGetOcelsQueryKey: (params?: GetOcelsParams) => readonly ["/api/external/ocels", ...GetOcelsParams[]];
914
- declare const getGetOcelsQueryOptions: <TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
915
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
916
- request?: SecondParameter<typeof customFetch>;
917
- }) => UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData> & {
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> & {
918
705
  queryKey: DataTag<QueryKey, TData, TError>;
919
706
  };
920
- type GetOcelsQueryResult = NonNullable<Awaited<ReturnType<typeof getOcels>>>;
921
- type GetOcelsQueryError = HTTPValidationError;
922
- declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params: undefined | GetOcelsParams, options: {
923
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
924
- request?: SecondParameter<typeof customFetch>;
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>;
925
712
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
926
713
  queryKey: DataTag<QueryKey, TData, TError>;
927
714
  };
928
- declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
929
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOcels>>, TError, Awaited<ReturnType<typeof getOcels>>>, 'initialData'>;
930
- request?: SecondParameter<typeof customFetch>;
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>;
931
718
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
932
719
  queryKey: DataTag<QueryKey, TData, TError>;
933
720
  };
934
- declare function useGetOcels<TData = Awaited<ReturnType<typeof getOcels>>, TError = HTTPValidationError>(params?: GetOcelsParams, options?: {
935
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData>>;
936
- request?: SecondParameter<typeof customFetch>;
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>;
937
724
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
938
725
  queryKey: DataTag<QueryKey, TData, TError>;
939
726
  };
940
727
  /**
941
- * @summary Get default OCEL metadata
728
+ * @summary List discovery methods
942
729
  */
943
- declare const getDefaultOcel: (params?: GetDefaultOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DefaultOCEL[]>;
944
- declare const getGetDefaultOcelQueryKey: (params?: GetDefaultOcelParams) => readonly ["/api/external/ocels/default", ...GetDefaultOcelParams[]];
945
- declare const getGetDefaultOcelQueryOptions: <TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
946
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
947
- request?: SecondParameter<typeof customFetch>;
948
- }) => UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData> & {
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> & {
949
736
  queryKey: DataTag<QueryKey, TData, TError>;
950
737
  };
951
- type GetDefaultOcelQueryResult = NonNullable<Awaited<ReturnType<typeof getDefaultOcel>>>;
952
- type GetDefaultOcelQueryError = HTTPValidationError;
953
- declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params: undefined | GetDefaultOcelParams, options: {
954
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
955
- request?: SecondParameter<typeof customFetch>;
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>;
956
743
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
957
744
  queryKey: DataTag<QueryKey, TData, TError>;
958
745
  };
959
- declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
960
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, Awaited<ReturnType<typeof getDefaultOcel>>>, 'initialData'>;
961
- request?: SecondParameter<typeof customFetch>;
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>;
962
749
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
963
750
  queryKey: DataTag<QueryKey, TData, TError>;
964
751
  };
965
- declare function useGetDefaultOcel<TData = Awaited<ReturnType<typeof getDefaultOcel>>, TError = HTTPValidationError>(params?: GetDefaultOcelParams, options?: {
966
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData>>;
967
- request?: SecondParameter<typeof customFetch>;
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>;
968
755
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
969
756
  queryKey: DataTag<QueryKey, TData, TError>;
970
757
  };
971
758
  /**
972
- * @summary Import default OCEL
759
+ * @summary Disable a discovery method
973
760
  */
974
- declare const importDefaultOcel: (params: ImportDefaultOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
975
- declare const getImportDefaultOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
976
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
977
- params: ImportDefaultOcelParams;
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;
978
765
  }, TContext>;
979
- request?: SecondParameter<typeof customFetch>;
980
- }) => UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
981
- params: ImportDefaultOcelParams;
766
+ request?: SecondParameter$1<typeof customFetch>;
767
+ }) => UseMutationOptions<Awaited<ReturnType<typeof disableDiscoveryMethod>>, TError, {
768
+ methodId: string;
982
769
  }, TContext>;
983
- type ImportDefaultOcelMutationResult = NonNullable<Awaited<ReturnType<typeof importDefaultOcel>>>;
984
- type ImportDefaultOcelMutationError = HTTPValidationError;
770
+ type DisableDiscoveryMethodMutationResult = NonNullable<Awaited<ReturnType<typeof disableDiscoveryMethod>>>;
771
+ type DisableDiscoveryMethodMutationError = HTTPValidationError;
985
772
  /**
986
- * @summary Import default OCEL
773
+ * @summary Disable a discovery method
987
774
  */
988
- declare const useImportDefaultOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
989
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
990
- params: ImportDefaultOcelParams;
775
+ declare const useDisableDiscoveryMethod: <TError = HTTPValidationError, TContext = unknown>(options?: {
776
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof disableDiscoveryMethod>>, TError, {
777
+ methodId: string;
991
778
  }, TContext>;
992
- request?: SecondParameter<typeof customFetch>;
993
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
994
- params: ImportDefaultOcelParams;
779
+ request?: SecondParameter$1<typeof customFetch>;
780
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof disableDiscoveryMethod>>, TError, {
781
+ methodId: string;
995
782
  }, TContext>;
996
783
  /**
997
- * @summary Get Extension Meta
784
+ * @summary Enable a discovery method
998
785
  */
999
- declare const getExtensionMeta: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<GetExtensionMeta200>;
1000
- declare const getGetExtensionMetaQueryKey: () => readonly ["/api/external/ocels/extension/meta"];
1001
- declare const getGetExtensionMetaQueryOptions: <TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1002
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
1003
- request?: SecondParameter<typeof customFetch>;
1004
- }) => UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData> & {
1005
- queryKey: DataTag<QueryKey, TData, TError>;
1006
- };
1007
- type GetExtensionMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getExtensionMeta>>>;
1008
- type GetExtensionMetaQueryError = unknown;
1009
- declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options: {
1010
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
1011
- request?: SecondParameter<typeof customFetch>;
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> & {
817
+ queryKey: DataTag<QueryKey, TData, TError>;
818
+ };
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>;
1012
824
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1013
825
  queryKey: DataTag<QueryKey, TData, TError>;
1014
826
  };
1015
- declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1016
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, Awaited<ReturnType<typeof getExtensionMeta>>>, 'initialData'>;
1017
- request?: SecondParameter<typeof customFetch>;
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>;
1018
830
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1019
831
  queryKey: DataTag<QueryKey, TData, TError>;
1020
832
  };
1021
- declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1022
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
1023
- request?: SecondParameter<typeof customFetch>;
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>;
1024
836
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1025
837
  queryKey: DataTag<QueryKey, TData, TError>;
1026
838
  };
1027
839
  /**
1028
- * @summary Get general information about a OCEL
840
+ * @summary returns the task of a given taskId
1029
841
  */
1030
- declare const getOcel: (ocelId: string | null, params?: GetOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<OcelMetadata>;
1031
- declare const getGetOcelQueryKey: (ocelId: string | null, params?: GetOcelParams) => readonly [`/api/external/ocels/${string}`, ...GetOcelParams[]];
1032
- declare const getGetOcelQueryOptions: <TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params?: GetOcelParams, options?: {
1033
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>>;
1034
- request?: SecondParameter<typeof customFetch>;
1035
- }) => UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData> & {
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> & {
1036
848
  queryKey: DataTag<QueryKey, TData, TError>;
1037
849
  };
1038
- type GetOcelQueryResult = NonNullable<Awaited<ReturnType<typeof getOcel>>>;
1039
- type GetOcelQueryError = HTTPValidationError;
1040
- declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | GetOcelParams, options: {
1041
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getOcel>>, TError, Awaited<ReturnType<typeof getOcel>>>, 'initialData'>;
1042
- request?: SecondParameter<typeof customFetch>;
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>;
1043
855
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1044
856
  queryKey: DataTag<QueryKey, TData, TError>;
1045
857
  };
1046
- declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params?: GetOcelParams, options?: {
1047
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getOcel>>, TError, Awaited<ReturnType<typeof getOcel>>>, 'initialData'>;
1048
- request?: SecondParameter<typeof customFetch>;
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>;
1049
861
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1050
862
  queryKey: DataTag<QueryKey, TData, TError>;
1051
863
  };
1052
- declare function useGetOcel<TData = Awaited<ReturnType<typeof getOcel>>, TError = HTTPValidationError>(ocelId: string | null, params?: GetOcelParams, options?: {
1053
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData>>;
1054
- request?: SecondParameter<typeof customFetch>;
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>;
1055
867
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1056
868
  queryKey: DataTag<QueryKey, TData, TError>;
1057
869
  };
1058
870
  /**
1059
- * Deletes the uploaded OCEL with the given `ocel_id`. This action is irreversible and removes the OCEL from the session.
1060
- * @summary Delete an uploaded OCEL
1061
- */
1062
- declare const deleteOcel: (ocelId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1063
- declare const getDeleteOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1064
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1065
- ocelId: string;
1066
- }, TContext>;
1067
- request?: SecondParameter<typeof customFetch>;
1068
- }) => UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1069
- ocelId: string;
1070
- }, TContext>;
1071
- type DeleteOcelMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOcel>>>;
1072
- type DeleteOcelMutationError = HTTPValidationError;
1073
- /**
1074
- * @summary Delete an uploaded OCEL
1075
- */
1076
- declare const useDeleteOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
1077
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1078
- ocelId: string;
1079
- }, TContext>;
1080
- request?: SecondParameter<typeof customFetch>;
1081
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1082
- ocelId: string;
1083
- }, TContext>;
1084
- /**
1085
- * Renames the OCEL represented by the given `ApiOcel` object to `new_name`. This updates the display name used in the UI and metadata.
1086
- * @summary Rename an uploaded OCEL
1087
- */
1088
- declare const renameOcel: (ocelId: string | null, params: RenameOcelParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1089
- declare const getRenameOcelMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1090
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
1091
- ocelId: string | null;
1092
- params: RenameOcelParams;
1093
- }, TContext>;
1094
- request?: SecondParameter<typeof customFetch>;
1095
- }) => UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
1096
- ocelId: string | null;
1097
- params: RenameOcelParams;
1098
- }, TContext>;
1099
- type RenameOcelMutationResult = NonNullable<Awaited<ReturnType<typeof renameOcel>>>;
1100
- type RenameOcelMutationError = HTTPValidationError;
1101
- /**
1102
- * @summary Rename an uploaded OCEL
1103
- */
1104
- declare const useRenameOcel: <TError = HTTPValidationError, TContext = unknown>(options?: {
1105
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameOcel>>, TError, {
1106
- ocelId: string | null;
1107
- params: RenameOcelParams;
1108
- }, TContext>;
1109
- request?: SecondParameter<typeof customFetch>;
1110
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameOcel>>, TError, {
1111
- ocelId: string | null;
1112
- params: RenameOcelParams;
1113
- }, TContext>;
1114
- /**
1115
- * @summary Get Aggr Object Attributes
871
+ * @summary Get Plugins
1116
872
  */
1117
- declare const aggregatedAttributes: (ocelId: string | null, params?: AggregatedAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListAggregatedAttribute>;
1118
- declare const getAggregatedAttributesQueryKey: (ocelId: string | null, params?: AggregatedAttributesParams) => readonly [`/api/external/ocels/${string}/attributes`, ...AggregatedAttributesParams[]];
1119
- declare const getAggregatedAttributesQueryOptions: <TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
1120
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>>;
1121
- request?: SecondParameter<typeof customFetch>;
1122
- }) => UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData> & {
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> & {
1123
879
  queryKey: DataTag<QueryKey, TData, TError>;
1124
880
  };
1125
- type AggregatedAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof aggregatedAttributes>>>;
1126
- type AggregatedAttributesQueryError = HTTPValidationError;
1127
- declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | AggregatedAttributesParams, options: {
1128
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, Awaited<ReturnType<typeof aggregatedAttributes>>>, 'initialData'>;
1129
- request?: SecondParameter<typeof customFetch>;
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>;
1130
886
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1131
887
  queryKey: DataTag<QueryKey, TData, TError>;
1132
888
  };
1133
- declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
1134
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, Awaited<ReturnType<typeof aggregatedAttributes>>>, 'initialData'>;
1135
- request?: SecondParameter<typeof customFetch>;
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>;
1136
892
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1137
893
  queryKey: DataTag<QueryKey, TData, TError>;
1138
894
  };
1139
- declare function useAggregatedAttributes<TData = Awaited<ReturnType<typeof aggregatedAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: AggregatedAttributesParams, options?: {
1140
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof aggregatedAttributes>>, TError, TData>>;
1141
- request?: SecondParameter<typeof customFetch>;
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>;
1142
898
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1143
899
  queryKey: DataTag<QueryKey, TData, TError>;
1144
900
  };
1145
901
  /**
1146
- * @summary Get Attribute Names
902
+ * @summary Get Plugin
1147
903
  */
1148
- declare const attributeNames: (ocelId: string | null, params?: AttributeNamesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
1149
- declare const getAttributeNamesQueryKey: (ocelId: string | null, params?: AttributeNamesParams) => readonly [`/api/external/ocels/${string}/attribute/names`, ...AttributeNamesParams[]];
1150
- declare const getAttributeNamesQueryOptions: <TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params?: AttributeNamesParams, options?: {
1151
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>>;
1152
- request?: SecondParameter<typeof customFetch>;
1153
- }) => UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData> & {
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> & {
1154
910
  queryKey: DataTag<QueryKey, TData, TError>;
1155
911
  };
1156
- type AttributeNamesQueryResult = NonNullable<Awaited<ReturnType<typeof attributeNames>>>;
1157
- type AttributeNamesQueryError = HTTPValidationError;
1158
- declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | AttributeNamesParams, options: {
1159
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof attributeNames>>, TError, Awaited<ReturnType<typeof attributeNames>>>, 'initialData'>;
1160
- request?: SecondParameter<typeof customFetch>;
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>;
1161
917
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1162
918
  queryKey: DataTag<QueryKey, TData, TError>;
1163
919
  };
1164
- declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params?: AttributeNamesParams, options?: {
1165
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof attributeNames>>, TError, Awaited<ReturnType<typeof attributeNames>>>, 'initialData'>;
1166
- request?: SecondParameter<typeof customFetch>;
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>;
1167
923
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1168
924
  queryKey: DataTag<QueryKey, TData, TError>;
1169
925
  };
1170
- declare function useAttributeNames<TData = Awaited<ReturnType<typeof attributeNames>>, TError = HTTPValidationError>(ocelId: string | null, params?: AttributeNamesParams, options?: {
1171
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData>>;
1172
- request?: SecondParameter<typeof customFetch>;
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>;
1173
929
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1174
930
  queryKey: DataTag<QueryKey, TData, TError>;
1175
931
  };
1176
932
  /**
1177
- * @summary Get Object Attributes
933
+ * @summary Delete Plugin
1178
934
  */
1179
- declare const objectAttributes: (ocelId: string | null, params?: ObjectAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<TypedAttribute[]>;
1180
- declare const getObjectAttributesQueryKey: (ocelId: string | null, params?: ObjectAttributesParams) => readonly [`/api/external/ocels/${string}/objects/attributes`, ...ObjectAttributesParams[]];
1181
- declare const getObjectAttributesQueryOptions: <TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
1182
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
1183
- request?: SecondParameter<typeof customFetch>;
1184
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData> & {
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
948
+ */
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>;
957
+ /**
958
+ * @summary Get Plugin Method
959
+ */
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> & {
1185
966
  queryKey: DataTag<QueryKey, TData, TError>;
1186
967
  };
1187
- type ObjectAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof objectAttributes>>>;
1188
- type ObjectAttributesQueryError = HTTPValidationError;
1189
- declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectAttributesParams, options: {
1190
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
1191
- request?: SecondParameter<typeof customFetch>;
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>;
1192
973
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1193
974
  queryKey: DataTag<QueryKey, TData, TError>;
1194
975
  };
1195
- declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
1196
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, Awaited<ReturnType<typeof objectAttributes>>>, 'initialData'>;
1197
- request?: SecondParameter<typeof customFetch>;
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>;
1198
979
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1199
980
  queryKey: DataTag<QueryKey, TData, TError>;
1200
981
  };
1201
- declare function useObjectAttributes<TData = Awaited<ReturnType<typeof objectAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectAttributesParams, options?: {
1202
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData>>;
1203
- request?: SecondParameter<typeof customFetch>;
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>;
1204
985
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1205
986
  queryKey: DataTag<QueryKey, TData, TError>;
1206
987
  };
1207
988
  /**
1208
- * @summary Get Object Types
989
+ * @summary Run Plugin
1209
990
  */
1210
- declare const objectTypes: (ocelId: string | null, params?: ObjectTypesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
1211
- declare const getObjectTypesQueryKey: (ocelId: string | null, params?: ObjectTypesParams) => readonly [`/api/external/ocels/${string}/objects/types`, ...ObjectTypesParams[]];
1212
- declare const getObjectTypesQueryOptions: <TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectTypesParams, options?: {
1213
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>>;
1214
- request?: SecondParameter<typeof customFetch>;
1215
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData> & {
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;
997
+ }, TContext>;
998
+ request?: SecondParameter$1<typeof customFetch>;
999
+ }) => UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
1000
+ pluginId: string;
1001
+ methodName: string;
1002
+ data: BodyRunPlugin;
1003
+ }, TContext>;
1004
+ type RunPluginMutationResult = NonNullable<Awaited<ReturnType<typeof runPlugin>>>;
1005
+ type RunPluginMutationBody = BodyRunPlugin;
1006
+ type RunPluginMutationError = HTTPValidationError;
1007
+ /**
1008
+ * @summary Run Plugin
1009
+ */
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;
1015
+ }, TContext>;
1016
+ request?: SecondParameter$1<typeof customFetch>;
1017
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof runPlugin>>, TError, {
1018
+ pluginId: string;
1019
+ methodName: string;
1020
+ data: BodyRunPlugin;
1021
+ }, TContext>;
1022
+ /**
1023
+ * @summary Get Plugin Result
1024
+ */
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> & {
1216
1031
  queryKey: DataTag<QueryKey, TData, TError>;
1217
1032
  };
1218
- type ObjectTypesQueryResult = NonNullable<Awaited<ReturnType<typeof objectTypes>>>;
1219
- type ObjectTypesQueryError = HTTPValidationError;
1220
- declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectTypesParams, options: {
1221
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectTypes>>, TError, Awaited<ReturnType<typeof objectTypes>>>, 'initialData'>;
1222
- request?: SecondParameter<typeof customFetch>;
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>;
1223
1038
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1224
1039
  queryKey: DataTag<QueryKey, TData, TError>;
1225
1040
  };
1226
- declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectTypesParams, options?: {
1227
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectTypes>>, TError, Awaited<ReturnType<typeof objectTypes>>>, 'initialData'>;
1228
- request?: SecondParameter<typeof customFetch>;
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>;
1229
1044
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1230
1045
  queryKey: DataTag<QueryKey, TData, TError>;
1231
1046
  };
1232
- declare function useObjectTypes<TData = Awaited<ReturnType<typeof objectTypes>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectTypesParams, options?: {
1233
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData>>;
1234
- request?: SecondParameter<typeof customFetch>;
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>;
1235
1050
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1236
1051
  queryKey: DataTag<QueryKey, TData, TError>;
1237
1052
  };
1238
1053
  /**
1239
- * @summary Get Event Attributes
1054
+ * Save the selected results into the session as OCELs / resources.
1055
+ * @summary Save Plugin Results
1240
1056
  */
1241
- declare const eventAttributes: (ocelId: string | null, params?: EventAttributesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<TypedAttribute[]>;
1242
- declare const getEventAttributesQueryKey: (ocelId: string | null, params?: EventAttributesParams) => readonly [`/api/external/ocels/${string}/events/attributes`, ...EventAttributesParams[]];
1243
- declare const getEventAttributesQueryOptions: <TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventAttributesParams, options?: {
1244
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
1245
- request?: SecondParameter<typeof customFetch>;
1246
- }) => UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData> & {
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;
1064
+ }, TContext>;
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;
1071
+ }, TContext>;
1072
+ type SavePluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof savePluginResults>>>;
1073
+ type SavePluginResultsMutationBody = BodySavePluginResults;
1074
+ type SavePluginResultsMutationError = HTTPValidationError;
1075
+ /**
1076
+ * @summary Save Plugin Results
1077
+ */
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;
1084
+ }, TContext>;
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;
1091
+ }, TContext>;
1092
+ /**
1093
+ * Bundle the selected results into a zip for download.
1094
+ * @summary Download Plugin Results
1095
+ */
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;
1103
+ }, TContext>;
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;
1110
+ }, TContext>;
1111
+ type DownloadPluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof downloadPluginResults>>>;
1112
+ type DownloadPluginResultsMutationBody = BodyDownloadPluginResults;
1113
+ type DownloadPluginResultsMutationError = HTTPValidationError;
1114
+ /**
1115
+ * @summary Download Plugin Results
1116
+ */
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;
1123
+ }, TContext>;
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;
1130
+ }, TContext>;
1131
+ /**
1132
+ * @summary Get Computed
1133
+ */
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> & {
1247
1140
  queryKey: DataTag<QueryKey, TData, TError>;
1248
1141
  };
1249
- type EventAttributesQueryResult = NonNullable<Awaited<ReturnType<typeof eventAttributes>>>;
1250
- type EventAttributesQueryError = HTTPValidationError;
1251
- declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | EventAttributesParams, options: {
1252
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
1253
- request?: SecondParameter<typeof customFetch>;
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>;
1254
1147
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1255
1148
  queryKey: DataTag<QueryKey, TData, TError>;
1256
1149
  };
1257
- declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventAttributesParams, options?: {
1258
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, Awaited<ReturnType<typeof eventAttributes>>>, 'initialData'>;
1259
- request?: SecondParameter<typeof customFetch>;
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>;
1260
1153
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1261
1154
  queryKey: DataTag<QueryKey, TData, TError>;
1262
1155
  };
1263
- declare function useEventAttributes<TData = Awaited<ReturnType<typeof eventAttributes>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventAttributesParams, options?: {
1264
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData>>;
1265
- request?: SecondParameter<typeof customFetch>;
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>;
1266
1159
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1267
1160
  queryKey: DataTag<QueryKey, TData, TError>;
1268
1161
  };
1269
1162
  /**
1270
- * @summary Get Event Counts
1163
+ * @summary Get Resources
1271
1164
  */
1272
- declare const eventCounts: (ocelId: string | null, params?: EventCountsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<EventCounts200>;
1273
- declare const getEventCountsQueryKey: (ocelId: string | null, params?: EventCountsParams) => readonly [`/api/external/ocels/${string}/events/counts`, ...EventCountsParams[]];
1274
- declare const getEventCountsQueryOptions: <TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventCountsParams, options?: {
1275
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
1276
- request?: SecondParameter<typeof customFetch>;
1277
- }) => UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData> & {
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> & {
1278
1171
  queryKey: DataTag<QueryKey, TData, TError>;
1279
1172
  };
1280
- type EventCountsQueryResult = NonNullable<Awaited<ReturnType<typeof eventCounts>>>;
1281
- type EventCountsQueryError = HTTPValidationError;
1282
- declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | EventCountsParams, options: {
1283
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
1284
- request?: SecondParameter<typeof customFetch>;
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>;
1285
1178
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1286
1179
  queryKey: DataTag<QueryKey, TData, TError>;
1287
1180
  };
1288
- declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventCountsParams, options?: {
1289
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventCounts>>, TError, Awaited<ReturnType<typeof eventCounts>>>, 'initialData'>;
1290
- request?: SecondParameter<typeof customFetch>;
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>;
1291
1184
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1292
1185
  queryKey: DataTag<QueryKey, TData, TError>;
1293
1186
  };
1294
- declare function useEventCounts<TData = Awaited<ReturnType<typeof eventCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventCountsParams, options?: {
1295
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData>>;
1296
- request?: SecondParameter<typeof customFetch>;
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>;
1297
1190
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1298
1191
  queryKey: DataTag<QueryKey, TData, TError>;
1299
1192
  };
1300
1193
  /**
1301
- * @summary Get Activities
1194
+ * @summary Upload Resource
1302
1195
  */
1303
- declare const activities: (ocelId: string | null, params?: ActivitiesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
1304
- declare const getActivitiesQueryKey: (ocelId: string | null, params?: ActivitiesParams) => readonly [`/api/external/ocels/${string}/events/activityNames`, ...ActivitiesParams[]];
1305
- declare const getActivitiesQueryOptions: <TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params?: ActivitiesParams, options?: {
1306
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>>;
1307
- request?: SecondParameter<typeof customFetch>;
1308
- }) => UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData> & {
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> & {
1309
1228
  queryKey: DataTag<QueryKey, TData, TError>;
1310
1229
  };
1311
- type ActivitiesQueryResult = NonNullable<Awaited<ReturnType<typeof activities>>>;
1312
- type ActivitiesQueryError = HTTPValidationError;
1313
- declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ActivitiesParams, options: {
1314
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof activities>>, TError, Awaited<ReturnType<typeof activities>>>, 'initialData'>;
1315
- request?: SecondParameter<typeof customFetch>;
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>;
1316
1235
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1317
1236
  queryKey: DataTag<QueryKey, TData, TError>;
1318
1237
  };
1319
- declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params?: ActivitiesParams, options?: {
1320
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof activities>>, TError, Awaited<ReturnType<typeof activities>>>, 'initialData'>;
1321
- request?: SecondParameter<typeof customFetch>;
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>;
1322
1241
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1323
1242
  queryKey: DataTag<QueryKey, TData, TError>;
1324
1243
  };
1325
- declare function useActivities<TData = Awaited<ReturnType<typeof activities>>, TError = HTTPValidationError>(ocelId: string | null, params?: ActivitiesParams, options?: {
1326
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData>>;
1327
- request?: SecondParameter<typeof customFetch>;
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>;
1328
1247
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1329
1248
  queryKey: DataTag<QueryKey, TData, TError>;
1330
1249
  };
1331
1250
  /**
1332
- * @summary Get Time Info
1251
+ * @summary Download Resource
1333
1252
  */
1334
- declare const timeInfo: (ocelId: string | null, params?: TimeInfoParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<EntityTimeInfo>;
1335
- declare const getTimeInfoQueryKey: (ocelId: string | null, params?: TimeInfoParams) => readonly [`/api/external/ocels/${string}/events/time`, ...TimeInfoParams[]];
1336
- declare const getTimeInfoQueryOptions: <TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: TimeInfoParams, options?: {
1337
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
1338
- request?: SecondParameter<typeof customFetch>;
1339
- }) => UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData> & {
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> & {
1340
1259
  queryKey: DataTag<QueryKey, TData, TError>;
1341
1260
  };
1342
- type TimeInfoQueryResult = NonNullable<Awaited<ReturnType<typeof timeInfo>>>;
1343
- type TimeInfoQueryError = HTTPValidationError;
1344
- declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | TimeInfoParams, options: {
1345
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
1346
- request?: SecondParameter<typeof customFetch>;
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>;
1347
1266
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1348
1267
  queryKey: DataTag<QueryKey, TData, TError>;
1349
1268
  };
1350
- declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: TimeInfoParams, options?: {
1351
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof timeInfo>>, TError, Awaited<ReturnType<typeof timeInfo>>>, 'initialData'>;
1352
- request?: SecondParameter<typeof customFetch>;
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>;
1353
1272
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1354
1273
  queryKey: DataTag<QueryKey, TData, TError>;
1355
1274
  };
1356
- declare function useTimeInfo<TData = Awaited<ReturnType<typeof timeInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: TimeInfoParams, options?: {
1357
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData>>;
1358
- request?: SecondParameter<typeof customFetch>;
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>;
1359
1278
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1360
1279
  queryKey: DataTag<QueryKey, TData, TError>;
1361
1280
  };
1362
1281
  /**
1363
- * @summary Get Object Counts
1282
+ * @summary Download Resource As Pnml
1364
1283
  */
1365
- declare const objectCounts: (ocelId: string | null, params?: ObjectCountsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<ObjectCounts200>;
1366
- declare const getObjectCountsQueryKey: (ocelId: string | null, params?: ObjectCountsParams) => readonly [`/api/external/ocels/${string}/objects/counts`, ...ObjectCountsParams[]];
1367
- declare const getObjectCountsQueryOptions: <TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectCountsParams, options?: {
1368
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
1369
- request?: SecondParameter<typeof customFetch>;
1370
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData> & {
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> & {
1371
1290
  queryKey: DataTag<QueryKey, TData, TError>;
1372
1291
  };
1373
- type ObjectCountsQueryResult = NonNullable<Awaited<ReturnType<typeof objectCounts>>>;
1374
- type ObjectCountsQueryError = HTTPValidationError;
1375
- declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectCountsParams, options: {
1376
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
1377
- request?: SecondParameter<typeof customFetch>;
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>;
1378
1297
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1379
1298
  queryKey: DataTag<QueryKey, TData, TError>;
1380
1299
  };
1381
- declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectCountsParams, options?: {
1382
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectCounts>>, TError, Awaited<ReturnType<typeof objectCounts>>>, 'initialData'>;
1383
- request?: SecondParameter<typeof customFetch>;
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>;
1384
1303
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1385
1304
  queryKey: DataTag<QueryKey, TData, TError>;
1386
1305
  };
1387
- declare function useObjectCounts<TData = Awaited<ReturnType<typeof objectCounts>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectCountsParams, options?: {
1388
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData>>;
1389
- request?: SecondParameter<typeof customFetch>;
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>;
1390
1309
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1391
1310
  queryKey: DataTag<QueryKey, TData, TError>;
1392
1311
  };
1393
1312
  /**
1394
- * @summary Get E2O
1313
+ * @summary Get Resource
1395
1314
  */
1396
- declare const e2o: (ocelId: string | null, params?: E2oParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListRelationCountSummary>;
1397
- declare const getE2oQueryKey: (ocelId: string | null, params?: E2oParams) => readonly [`/api/external/ocels/${string}/relations/e2o`, ...E2oParams[]];
1398
- declare const getE2oQueryOptions: <TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oParams, options?: {
1399
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
1400
- request?: SecondParameter<typeof customFetch>;
1401
- }) => UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData> & {
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> & {
1402
1321
  queryKey: DataTag<QueryKey, TData, TError>;
1403
1322
  };
1404
- type E2oQueryResult = NonNullable<Awaited<ReturnType<typeof e2o>>>;
1405
- type E2oQueryError = HTTPValidationError;
1406
- declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | E2oParams, options: {
1407
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
1408
- request?: SecondParameter<typeof customFetch>;
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>;
1409
1328
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1410
1329
  queryKey: DataTag<QueryKey, TData, TError>;
1411
1330
  };
1412
- declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oParams, options?: {
1413
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2o>>, TError, Awaited<ReturnType<typeof e2o>>>, 'initialData'>;
1414
- request?: SecondParameter<typeof customFetch>;
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>;
1415
1334
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1416
1335
  queryKey: DataTag<QueryKey, TData, TError>;
1417
1336
  };
1418
- declare function useE2o<TData = Awaited<ReturnType<typeof e2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oParams, options?: {
1419
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData>>;
1420
- request?: SecondParameter<typeof customFetch>;
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>;
1421
1340
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1422
1341
  queryKey: DataTag<QueryKey, TData, TError>;
1423
1342
  };
1424
1343
  /**
1425
- * @summary Get Object Relations
1344
+ * @summary Delete Resource
1426
1345
  */
1427
- declare const o2o: (ocelId: string | null, params?: O2oParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListRelationCountSummary>;
1428
- declare const getO2oQueryKey: (ocelId: string | null, params?: O2oParams) => readonly [`/api/external/ocels/${string}/relations/o2o`, ...O2oParams[]];
1429
- declare const getO2oQueryOptions: <TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oParams, options?: {
1430
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
1431
- request?: SecondParameter<typeof customFetch>;
1432
- }) => UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData> & {
1433
- queryKey: DataTag<QueryKey, TData, TError>;
1434
- };
1435
- type O2oQueryResult = NonNullable<Awaited<ReturnType<typeof o2o>>>;
1436
- type O2oQueryError = HTTPValidationError;
1437
- declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | O2oParams, options: {
1438
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
1439
- request?: SecondParameter<typeof customFetch>;
1440
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1441
- queryKey: DataTag<QueryKey, TData, TError>;
1442
- };
1443
- declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oParams, options?: {
1444
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2o>>, TError, Awaited<ReturnType<typeof o2o>>>, 'initialData'>;
1445
- request?: SecondParameter<typeof customFetch>;
1446
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1447
- queryKey: DataTag<QueryKey, TData, TError>;
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";
1448
1407
  };
1449
- declare function useO2o<TData = Awaited<ReturnType<typeof o2o>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oParams, options?: {
1450
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData>>;
1451
- request?: SecondParameter<typeof customFetch>;
1452
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1453
- queryKey: DataTag<QueryKey, TData, TError>;
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;
1454
1421
  };
1422
+ interface DateDistributionItem {
1423
+ start_timestamp: string;
1424
+ end_timestamp: string;
1425
+ entity_count: DateDistributionItemEntityCount;
1426
+ }
1455
1427
  /**
1456
- * @summary Get E2O Combinations
1428
+ * Definition of a default OCEL on the server, for quick access. Supports pre-loading the OCEL on backend init.
1457
1429
  */
1458
- declare const e2oCombinations: (ocelId: string | null, params?: E2oCombinationsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCombination[]>;
1459
- declare const getE2oCombinationsQueryKey: (ocelId: string | null, params?: E2oCombinationsParams) => readonly [`/api/external/ocels/${string}/relations/e2o/combinations`, ...E2oCombinationsParams[]];
1460
- declare const getE2oCombinationsQueryOptions: <TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
1461
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>>;
1462
- request?: SecondParameter<typeof customFetch>;
1463
- }) => UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData> & {
1464
- queryKey: DataTag<QueryKey, TData, TError>;
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;
1465
1446
  };
1466
- type E2oCombinationsQueryResult = NonNullable<Awaited<ReturnType<typeof e2oCombinations>>>;
1467
- type E2oCombinationsQueryError = HTTPValidationError;
1468
- declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | E2oCombinationsParams, options: {
1469
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, Awaited<ReturnType<typeof e2oCombinations>>>, 'initialData'>;
1470
- request?: SecondParameter<typeof customFetch>;
1471
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1472
- queryKey: DataTag<QueryKey, TData, TError>;
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;
1473
1579
  };
1474
- declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
1475
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, Awaited<ReturnType<typeof e2oCombinations>>>, 'initialData'>;
1476
- request?: SecondParameter<typeof customFetch>;
1477
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1478
- queryKey: DataTag<QueryKey, TData, TError>;
1580
+ type GetDefaultOcelParams = {
1581
+ only_latest_versions?: boolean;
1582
+ only_preloaded?: boolean;
1479
1583
  };
1480
- declare function useE2oCombinations<TData = Awaited<ReturnType<typeof e2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: E2oCombinationsParams, options?: {
1481
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData>>;
1482
- request?: SecondParameter<typeof customFetch>;
1483
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1484
- queryKey: DataTag<QueryKey, TData, TError>;
1584
+ type ImportDefaultOcelParams = {
1585
+ /**
1586
+ * Default OCEL key
1587
+ */
1588
+ key: string;
1589
+ /**
1590
+ * Dataset version (optional)
1591
+ */
1592
+ version?: string | null;
1485
1593
  };
1486
- /**
1487
- * @summary Get O2O Combinations
1488
- */
1489
- declare const o2oCombinations: (ocelId: string | null, params?: O2oCombinationsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCombination[]>;
1490
- declare const getO2oCombinationsQueryKey: (ocelId: string | null, params?: O2oCombinationsParams) => readonly [`/api/external/ocels/${string}/relations/o2o/combinations`, ...O2oCombinationsParams[]];
1491
- declare const getO2oCombinationsQueryOptions: <TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
1492
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>>;
1493
- request?: SecondParameter<typeof customFetch>;
1494
- }) => UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData> & {
1495
- queryKey: DataTag<QueryKey, TData, TError>;
1594
+ type GetExtensionMeta200 = {
1595
+ [key: string]: OCELExtensionDescription;
1496
1596
  };
1497
- type O2oCombinationsQueryResult = NonNullable<Awaited<ReturnType<typeof o2oCombinations>>>;
1498
- type O2oCombinationsQueryError = HTTPValidationError;
1499
- declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | O2oCombinationsParams, options: {
1500
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, Awaited<ReturnType<typeof o2oCombinations>>>, 'initialData'>;
1501
- request?: SecondParameter<typeof customFetch>;
1502
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1503
- queryKey: DataTag<QueryKey, TData, TError>;
1597
+ type RenameOcelParams = {
1598
+ new_name: string;
1504
1599
  };
1505
- declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
1506
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, Awaited<ReturnType<typeof o2oCombinations>>>, 'initialData'>;
1507
- request?: SecondParameter<typeof customFetch>;
1508
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1509
- queryKey: DataTag<QueryKey, TData, TError>;
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;
1510
1611
  };
1511
- declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2oCombinations>>, TError = HTTPValidationError>(ocelId: string | null, params?: O2oCombinationsParams, options?: {
1512
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData>>;
1513
- request?: SecondParameter<typeof customFetch>;
1514
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1515
- queryKey: DataTag<QueryKey, TData, TError>;
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;
1516
1744
  };
1745
+ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
1517
1746
  /**
1518
- * @summary Get Event Ids
1747
+ * Returns metadata for all uploaded OCELs along with any OCEL files currently being imported.
1748
+ * @summary List uploaded and uploading OCELs
1519
1749
  */
1520
- declare const eventIds: (ocelId: string | null, params?: EventIdsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListStr>;
1521
- declare const getEventIdsQueryKey: (ocelId: string | null, params?: EventIdsParams) => readonly [`/api/external/ocels/${string}/events/ids`, ...EventIdsParams[]];
1522
- declare const getEventIdsQueryOptions: <TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventIdsParams, options?: {
1523
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
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>>;
1524
1754
  request?: SecondParameter<typeof customFetch>;
1525
- }) => UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData> & {
1755
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getOcels>>, TError, TData> & {
1526
1756
  queryKey: DataTag<QueryKey, TData, TError>;
1527
1757
  };
1528
- type EventIdsQueryResult = NonNullable<Awaited<ReturnType<typeof eventIds>>>;
1529
- type EventIdsQueryError = HTTPValidationError;
1530
- declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | EventIdsParams, options: {
1531
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
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'>;
1532
1762
  request?: SecondParameter<typeof customFetch>;
1533
1763
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1534
1764
  queryKey: DataTag<QueryKey, TData, TError>;
1535
1765
  };
1536
- declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventIdsParams, options?: {
1537
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof eventIds>>, TError, Awaited<ReturnType<typeof eventIds>>>, 'initialData'>;
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'>;
1538
1768
  request?: SecondParameter<typeof customFetch>;
1539
1769
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1540
1770
  queryKey: DataTag<QueryKey, TData, TError>;
1541
1771
  };
1542
- declare function useEventIds<TData = Awaited<ReturnType<typeof eventIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: EventIdsParams, options?: {
1543
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData>>;
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>>;
1544
1774
  request?: SecondParameter<typeof customFetch>;
1545
1775
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1546
1776
  queryKey: DataTag<QueryKey, TData, TError>;
1547
1777
  };
1548
1778
  /**
1549
- * @summary Get Object Ids
1779
+ * @summary Get default OCEL metadata
1550
1780
  */
1551
- declare const objectIds: (ocelId: string | null, params?: ObjectIdsParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PaginatedResponseListStr>;
1552
- declare const getObjectIdsQueryKey: (ocelId: string | null, params?: ObjectIdsParams) => readonly [`/api/external/ocels/${string}/objects/ids`, ...ObjectIdsParams[]];
1553
- declare const getObjectIdsQueryOptions: <TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectIdsParams, options?: {
1554
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
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>>;
1555
1785
  request?: SecondParameter<typeof customFetch>;
1556
- }) => UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData> & {
1786
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getDefaultOcel>>, TError, TData> & {
1557
1787
  queryKey: DataTag<QueryKey, TData, TError>;
1558
1788
  };
1559
- type ObjectIdsQueryResult = NonNullable<Awaited<ReturnType<typeof objectIds>>>;
1560
- type ObjectIdsQueryError = HTTPValidationError;
1561
- declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | ObjectIdsParams, options: {
1562
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
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'>;
1563
1793
  request?: SecondParameter<typeof customFetch>;
1564
1794
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1565
1795
  queryKey: DataTag<QueryKey, TData, TError>;
1566
1796
  };
1567
- declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectIdsParams, options?: {
1568
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof objectIds>>, TError, Awaited<ReturnType<typeof objectIds>>>, 'initialData'>;
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'>;
1569
1799
  request?: SecondParameter<typeof customFetch>;
1570
1800
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1571
1801
  queryKey: DataTag<QueryKey, TData, TError>;
1572
1802
  };
1573
- declare function useObjectIds<TData = Awaited<ReturnType<typeof objectIds>>, TError = HTTPValidationError>(ocelId: string | null, params?: ObjectIdsParams, options?: {
1574
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData>>;
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>>;
1575
1805
  request?: SecondParameter<typeof customFetch>;
1576
1806
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1577
1807
  queryKey: DataTag<QueryKey, TData, TError>;
1578
1808
  };
1579
1809
  /**
1580
- * @summary Get Quantity Info
1810
+ * @summary Import default OCEL
1581
1811
  */
1582
- declare const quantityInfo: (ocelId: string | null, params?: QuantityInfoParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<QuantityInfo>;
1583
- declare const getQuantityInfoQueryKey: (ocelId: string | null, params?: QuantityInfoParams) => readonly [`/api/external/ocels/${string}/quantity/info`, ...QuantityInfoParams[]];
1584
- declare const getQuantityInfoQueryOptions: <TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: QuantityInfoParams, options?: {
1585
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>>;
1586
- request?: SecondParameter<typeof customFetch>;
1587
- }) => UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData> & {
1588
- queryKey: DataTag<QueryKey, TData, TError>;
1589
- };
1590
- type QuantityInfoQueryResult = NonNullable<Awaited<ReturnType<typeof quantityInfo>>>;
1591
- type QuantityInfoQueryError = HTTPValidationError;
1592
- declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | QuantityInfoParams, options: {
1593
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, Awaited<ReturnType<typeof quantityInfo>>>, 'initialData'>;
1594
- request?: SecondParameter<typeof customFetch>;
1595
- }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1596
- queryKey: DataTag<QueryKey, TData, TError>;
1597
- };
1598
- declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: QuantityInfoParams, options?: {
1599
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, Awaited<ReturnType<typeof quantityInfo>>>, 'initialData'>;
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>;
1600
1817
  request?: SecondParameter<typeof customFetch>;
1601
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1602
- queryKey: DataTag<QueryKey, TData, TError>;
1603
- };
1604
- declare function useQuantityInfo<TData = Awaited<ReturnType<typeof quantityInfo>>, TError = HTTPValidationError>(ocelId: string | null, params?: QuantityInfoParams, options?: {
1605
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData>>;
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>;
1606
1830
  request?: SecondParameter<typeof customFetch>;
1607
- }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1608
- queryKey: DataTag<QueryKey, TData, TError>;
1609
- };
1831
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof importDefaultOcel>>, TError, {
1832
+ params: ImportDefaultOcelParams;
1833
+ }, TContext>;
1610
1834
  /**
1611
- * @summary Download OCEL
1835
+ * @summary Get Extension Meta
1612
1836
  */
1613
- declare const downloadOCEL: (ocelId: string | null, params?: DownloadOCELParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1614
- declare const getDownloadOCELQueryKey: (ocelId: string | null, params?: DownloadOCELParams) => readonly [`/api/external/ocels/${string}/download`, ...DownloadOCELParams[]];
1615
- declare const getDownloadOCELQueryOptions: <TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params?: DownloadOCELParams, options?: {
1616
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>>;
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>>;
1617
1841
  request?: SecondParameter<typeof customFetch>;
1618
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData> & {
1842
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData> & {
1619
1843
  queryKey: DataTag<QueryKey, TData, TError>;
1620
1844
  };
1621
- type DownloadOCELQueryResult = NonNullable<Awaited<ReturnType<typeof downloadOCEL>>>;
1622
- type DownloadOCELQueryError = HTTPValidationError;
1623
- declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params: undefined | DownloadOCELParams, options: {
1624
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, Awaited<ReturnType<typeof downloadOCEL>>>, 'initialData'>;
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'>;
1625
1849
  request?: SecondParameter<typeof customFetch>;
1626
1850
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1627
1851
  queryKey: DataTag<QueryKey, TData, TError>;
1628
1852
  };
1629
- declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params?: DownloadOCELParams, options?: {
1630
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, Awaited<ReturnType<typeof downloadOCEL>>>, 'initialData'>;
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'>;
1631
1855
  request?: SecondParameter<typeof customFetch>;
1632
1856
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1633
1857
  queryKey: DataTag<QueryKey, TData, TError>;
1634
1858
  };
1635
- declare function useDownloadOCEL<TData = Awaited<ReturnType<typeof downloadOCEL>>, TError = HTTPValidationError>(ocelId: string | null, params?: DownloadOCELParams, options?: {
1636
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData>>;
1859
+ declare function useGetExtensionMeta<TData = Awaited<ReturnType<typeof getExtensionMeta>>, TError = unknown>(options?: {
1860
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getExtensionMeta>>, TError, TData>>;
1637
1861
  request?: SecondParameter<typeof customFetch>;
1638
1862
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1639
1863
  queryKey: DataTag<QueryKey, TData, TError>;
1640
1864
  };
1641
1865
  /**
1642
- * @summary Download OCEL as a xes
1866
+ * @summary Get general information about a OCEL
1643
1867
  */
1644
- declare const downloadFlatLog: (ocelId: string | null, params: DownloadFlatLogParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1645
- declare const getDownloadFlatLogQueryKey: (ocelId: string | null, params?: DownloadFlatLogParams) => readonly [`/api/external/ocels/${string}/download/xes`, ...DownloadFlatLogParams[]];
1646
- declare const getDownloadFlatLogQueryOptions: <TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
1647
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>>;
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>>;
1648
1872
  request?: SecondParameter<typeof customFetch>;
1649
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData> & {
1873
+ }) => UseQueryOptions<Awaited<ReturnType<typeof getOcel>>, TError, TData> & {
1650
1874
  queryKey: DataTag<QueryKey, TData, TError>;
1651
1875
  };
1652
- type DownloadFlatLogQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFlatLog>>>;
1653
- type DownloadFlatLogQueryError = HTTPValidationError;
1654
- declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options: {
1655
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, Awaited<ReturnType<typeof downloadFlatLog>>>, 'initialData'>;
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'>;
1656
1880
  request?: SecondParameter<typeof customFetch>;
1657
1881
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1658
1882
  queryKey: DataTag<QueryKey, TData, TError>;
1659
1883
  };
1660
- declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
1661
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, Awaited<ReturnType<typeof downloadFlatLog>>>, 'initialData'>;
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'>;
1662
1886
  request?: SecondParameter<typeof customFetch>;
1663
1887
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1664
1888
  queryKey: DataTag<QueryKey, TData, TError>;
1665
1889
  };
1666
- declare function useDownloadFlatLog<TData = Awaited<ReturnType<typeof downloadFlatLog>>, TError = HTTPValidationError>(ocelId: string | null, params: DownloadFlatLogParams, options?: {
1667
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData>>;
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>>;
1668
1892
  request?: SecondParameter<typeof customFetch>;
1669
1893
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1670
1894
  queryKey: DataTag<QueryKey, TData, TError>;
1671
1895
  };
1672
1896
  /**
1673
- * @summary Create a discovery task
1897
+ * Deletes the uploaded OCEL with the given `ocel_id`.
1898
+ * @summary Delete an uploaded OCEL
1674
1899
  */
1675
- declare const createDiscoveryTask: (ocelId: string, createDiscoveryTaskBody: CreateDiscoveryTaskBody, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string>;
1676
- declare const getCreateDiscoveryTaskMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1677
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
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, {
1678
1903
  ocelId: string;
1679
- data: CreateDiscoveryTaskBody;
1680
1904
  }, TContext>;
1681
1905
  request?: SecondParameter<typeof customFetch>;
1682
- }) => UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
1906
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1683
1907
  ocelId: string;
1684
- data: CreateDiscoveryTaskBody;
1685
1908
  }, TContext>;
1686
- type CreateDiscoveryTaskMutationResult = NonNullable<Awaited<ReturnType<typeof createDiscoveryTask>>>;
1687
- type CreateDiscoveryTaskMutationBody = CreateDiscoveryTaskBody;
1688
- type CreateDiscoveryTaskMutationError = HTTPValidationError;
1909
+ type DeleteOcelMutationResult = NonNullable<Awaited<ReturnType<typeof deleteOcel>>>;
1910
+ type DeleteOcelMutationError = HTTPValidationError$1;
1689
1911
  /**
1690
- * @summary Create a discovery task
1912
+ * @summary Delete an uploaded OCEL
1691
1913
  */
1692
- declare const useCreateDiscoveryTask: <TError = HTTPValidationError, TContext = unknown>(options?: {
1693
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
1914
+ declare const useDeleteOcel: <TError = HTTPValidationError$1, TContext = unknown>(options?: {
1915
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1694
1916
  ocelId: string;
1695
- data: CreateDiscoveryTaskBody;
1696
1917
  }, TContext>;
1697
1918
  request?: SecondParameter<typeof customFetch>;
1698
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createDiscoveryTask>>, TError, {
1919
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteOcel>>, TError, {
1699
1920
  ocelId: string;
1700
- data: CreateDiscoveryTaskBody;
1701
1921
  }, TContext>;
1702
1922
  /**
1703
- * @summary Get Discovery Task
1923
+ * Renames the OCEL with the given `ocel_id` to `new_name`.
1924
+ * @summary Rename an uploaded OCEL
1704
1925
  */
1705
- declare const discoveryTask: (taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryTaskSummary>;
1706
- declare const getDiscoveryTaskQueryKey: (taskId: string) => readonly [`/api/external/discovery/tasks/${string}`];
1707
- declare const getDiscoveryTaskQueryOptions: <TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1708
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>>;
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>;
1709
1932
  request?: SecondParameter<typeof customFetch>;
1710
- }) => UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData> & {
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> & {
1711
1961
  queryKey: DataTag<QueryKey, TData, TError>;
1712
1962
  };
1713
- type DiscoveryTaskQueryResult = NonNullable<Awaited<ReturnType<typeof discoveryTask>>>;
1714
- type DiscoveryTaskQueryError = HTTPValidationError;
1715
- declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options: {
1716
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, Awaited<ReturnType<typeof discoveryTask>>>, 'initialData'>;
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'>;
1717
1967
  request?: SecondParameter<typeof customFetch>;
1718
1968
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1719
1969
  queryKey: DataTag<QueryKey, TData, TError>;
1720
1970
  };
1721
- declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1722
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof discoveryTask>>, TError, Awaited<ReturnType<typeof discoveryTask>>>, 'initialData'>;
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'>;
1723
1973
  request?: SecondParameter<typeof customFetch>;
1724
1974
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1725
1975
  queryKey: DataTag<QueryKey, TData, TError>;
1726
1976
  };
1727
- declare function useDiscoveryTask<TData = Awaited<ReturnType<typeof discoveryTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1728
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof discoveryTask>>, 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>>;
1729
1979
  request?: SecondParameter<typeof customFetch>;
1730
1980
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1731
1981
  queryKey: DataTag<QueryKey, TData, TError>;
1732
1982
  };
1733
1983
  /**
1734
- * @summary Save Discovery
1984
+ * @summary Get Object Attributes
1735
1985
  */
1736
- declare const saveDiscovery: (taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1737
- declare const getSaveDiscoveryMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1738
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1739
- taskId: string;
1740
- }, TContext>;
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>>;
1741
1990
  request?: SecondParameter<typeof customFetch>;
1742
- }) => UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1743
- taskId: string;
1744
- }, TContext>;
1745
- type SaveDiscoveryMutationResult = NonNullable<Awaited<ReturnType<typeof saveDiscovery>>>;
1746
- type SaveDiscoveryMutationError = HTTPValidationError;
1747
- /**
1748
- * @summary Save Discovery
1749
- */
1750
- declare const useSaveDiscovery: <TError = HTTPValidationError, TContext = unknown>(options?: {
1751
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1752
- taskId: string;
1753
- }, TContext>;
1991
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectAttributes>>, TError, TData> & {
1992
+ queryKey: DataTag<QueryKey, TData, TError>;
1993
+ };
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'>;
1754
1998
  request?: SecondParameter<typeof customFetch>;
1755
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof saveDiscovery>>, TError, {
1756
- taskId: string;
1757
- }, TContext>;
1999
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2000
+ queryKey: DataTag<QueryKey, TData, TError>;
2001
+ };
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'>;
2004
+ request?: SecondParameter<typeof customFetch>;
2005
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2006
+ queryKey: DataTag<QueryKey, TData, TError>;
2007
+ };
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>>;
2010
+ request?: SecondParameter<typeof customFetch>;
2011
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2012
+ queryKey: DataTag<QueryKey, TData, TError>;
2013
+ };
1758
2014
  /**
1759
- * @summary List filters available to discovery tasks
2015
+ * @summary Get Event Attributes
1760
2016
  */
1761
- declare const listDiscoveryFilters: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryFilterSchema[]>;
1762
- declare const getListDiscoveryFiltersQueryKey: () => readonly ["/api/external/discovery/filters"];
1763
- declare const getListDiscoveryFiltersQueryOptions: <TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
1764
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>>;
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>>;
1765
2021
  request?: SecondParameter<typeof customFetch>;
1766
- }) => UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData> & {
2022
+ }) => UseQueryOptions<Awaited<ReturnType<typeof eventAttributes>>, TError, TData> & {
1767
2023
  queryKey: DataTag<QueryKey, TData, TError>;
1768
2024
  };
1769
- type ListDiscoveryFiltersQueryResult = NonNullable<Awaited<ReturnType<typeof listDiscoveryFilters>>>;
1770
- type ListDiscoveryFiltersQueryError = unknown;
1771
- declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options: {
1772
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, Awaited<ReturnType<typeof listDiscoveryFilters>>>, 'initialData'>;
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'>;
1773
2029
  request?: SecondParameter<typeof customFetch>;
1774
2030
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1775
2031
  queryKey: DataTag<QueryKey, TData, TError>;
1776
2032
  };
1777
- declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
1778
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, TError, Awaited<ReturnType<typeof listDiscoveryFilters>>>, 'initialData'>;
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'>;
1779
2035
  request?: SecondParameter<typeof customFetch>;
1780
2036
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1781
2037
  queryKey: DataTag<QueryKey, TData, TError>;
1782
2038
  };
1783
- declare function useListDiscoveryFilters<TData = Awaited<ReturnType<typeof listDiscoveryFilters>>, TError = unknown>(options?: {
1784
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryFilters>>, 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>>;
1785
2041
  request?: SecondParameter<typeof customFetch>;
1786
2042
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1787
2043
  queryKey: DataTag<QueryKey, TData, TError>;
1788
2044
  };
1789
2045
  /**
1790
- * @summary List discovery methods
2046
+ * @summary Get Attribute Names
1791
2047
  */
1792
- declare const listDiscoveryMethods: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<DiscoveryMethodMeta[]>;
1793
- declare const getListDiscoveryMethodsQueryKey: () => readonly ["/api/external/discovery/methods"];
1794
- declare const getListDiscoveryMethodsQueryOptions: <TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
1795
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>>;
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>>;
1796
2052
  request?: SecondParameter<typeof customFetch>;
1797
- }) => UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData> & {
2053
+ }) => UseQueryOptions<Awaited<ReturnType<typeof attributeNames>>, TError, TData> & {
1798
2054
  queryKey: DataTag<QueryKey, TData, TError>;
1799
2055
  };
1800
- type ListDiscoveryMethodsQueryResult = NonNullable<Awaited<ReturnType<typeof listDiscoveryMethods>>>;
1801
- type ListDiscoveryMethodsQueryError = unknown;
1802
- declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options: {
1803
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, Awaited<ReturnType<typeof listDiscoveryMethods>>>, 'initialData'>;
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'>;
1804
2060
  request?: SecondParameter<typeof customFetch>;
1805
2061
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1806
2062
  queryKey: DataTag<QueryKey, TData, TError>;
1807
2063
  };
1808
- declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
1809
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, TError, Awaited<ReturnType<typeof listDiscoveryMethods>>>, 'initialData'>;
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'>;
1810
2066
  request?: SecondParameter<typeof customFetch>;
1811
2067
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1812
2068
  queryKey: DataTag<QueryKey, TData, TError>;
1813
2069
  };
1814
- declare function useListDiscoveryMethods<TData = Awaited<ReturnType<typeof listDiscoveryMethods>>, TError = unknown>(options?: {
1815
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listDiscoveryMethods>>, 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>>;
1816
2072
  request?: SecondParameter<typeof customFetch>;
1817
2073
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1818
2074
  queryKey: DataTag<QueryKey, TData, TError>;
1819
2075
  };
1820
2076
  /**
1821
- * @summary returns all tasks of a session
2077
+ * @summary Get Object Types
1822
2078
  */
1823
- declare const getSystemTasks: (params?: GetSystemTasksParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<SystemTaskSummary[]>;
1824
- declare const getGetSystemTasksQueryKey: (params?: GetSystemTasksParams) => readonly ["/api/external/tasks/system", ...GetSystemTasksParams[]];
1825
- declare const getGetSystemTasksQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
1826
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>>;
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>>;
1827
2083
  request?: SecondParameter<typeof customFetch>;
1828
- }) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData> & {
2084
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectTypes>>, TError, TData> & {
1829
2085
  queryKey: DataTag<QueryKey, TData, TError>;
1830
2086
  };
1831
- type GetSystemTasksQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTasks>>>;
1832
- type GetSystemTasksQueryError = HTTPValidationError;
1833
- declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params: undefined | GetSystemTasksParams, options: {
1834
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
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'>;
1835
2091
  request?: SecondParameter<typeof customFetch>;
1836
2092
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1837
2093
  queryKey: DataTag<QueryKey, TData, TError>;
1838
2094
  };
1839
- declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
1840
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTasks>>, TError, Awaited<ReturnType<typeof getSystemTasks>>>, 'initialData'>;
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'>;
1841
2097
  request?: SecondParameter<typeof customFetch>;
1842
2098
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1843
2099
  queryKey: DataTag<QueryKey, TData, TError>;
1844
2100
  };
1845
- declare function useGetSystemTasks<TData = Awaited<ReturnType<typeof getSystemTasks>>, TError = HTTPValidationError>(params?: GetSystemTasksParams, options?: {
1846
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTasks>>, 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>>;
1847
2103
  request?: SecondParameter<typeof customFetch>;
1848
2104
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1849
2105
  queryKey: DataTag<QueryKey, TData, TError>;
1850
2106
  };
1851
2107
  /**
1852
- * @summary returns the task of a given taskId
2108
+ * @summary Get Object Counts
1853
2109
  */
1854
- declare const getSystemTask: (taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<SystemTaskSummary>;
1855
- declare const getGetSystemTaskQueryKey: (taskId: string) => readonly [`/api/external/tasks/system/${string}`];
1856
- declare const getGetSystemTaskQueryOptions: <TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1857
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>>;
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>>;
1858
2114
  request?: SecondParameter<typeof customFetch>;
1859
- }) => UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData> & {
2115
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectCounts>>, TError, TData> & {
1860
2116
  queryKey: DataTag<QueryKey, TData, TError>;
1861
2117
  };
1862
- type GetSystemTaskQueryResult = NonNullable<Awaited<ReturnType<typeof getSystemTask>>>;
1863
- type GetSystemTaskQueryError = HTTPValidationError;
1864
- declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options: {
1865
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
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'>;
1866
2122
  request?: SecondParameter<typeof customFetch>;
1867
2123
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1868
2124
  queryKey: DataTag<QueryKey, TData, TError>;
1869
2125
  };
1870
- declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1871
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getSystemTask>>, TError, Awaited<ReturnType<typeof getSystemTask>>>, 'initialData'>;
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'>;
1872
2128
  request?: SecondParameter<typeof customFetch>;
1873
2129
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1874
2130
  queryKey: DataTag<QueryKey, TData, TError>;
1875
2131
  };
1876
- declare function useGetSystemTask<TData = Awaited<ReturnType<typeof getSystemTask>>, TError = HTTPValidationError>(taskId: string, options?: {
1877
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getSystemTask>>, 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>>;
1878
2134
  request?: SecondParameter<typeof customFetch>;
1879
2135
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1880
2136
  queryKey: DataTag<QueryKey, TData, TError>;
1881
2137
  };
1882
2138
  /**
1883
- * @summary Get Plugins
2139
+ * @summary Get Object Ids
1884
2140
  */
1885
- declare const plugins: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PluginApi[]>;
1886
- declare const getPluginsQueryKey: () => readonly ["/api/external/plugins"];
1887
- declare const getPluginsQueryOptions: <TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
1888
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>>;
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>>;
1889
2145
  request?: SecondParameter<typeof customFetch>;
1890
- }) => UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData> & {
2146
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectIds>>, TError, TData> & {
1891
2147
  queryKey: DataTag<QueryKey, TData, TError>;
1892
2148
  };
1893
- type PluginsQueryResult = NonNullable<Awaited<ReturnType<typeof plugins>>>;
1894
- type PluginsQueryError = unknown;
1895
- declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options: {
1896
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
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'>;
1897
2153
  request?: SecondParameter<typeof customFetch>;
1898
2154
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1899
2155
  queryKey: DataTag<QueryKey, TData, TError>;
1900
2156
  };
1901
- declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
1902
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof plugins>>, TError, Awaited<ReturnType<typeof plugins>>>, 'initialData'>;
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'>;
1903
2159
  request?: SecondParameter<typeof customFetch>;
1904
2160
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1905
2161
  queryKey: DataTag<QueryKey, TData, TError>;
1906
2162
  };
1907
- declare function usePlugins<TData = Awaited<ReturnType<typeof plugins>>, TError = unknown>(options?: {
1908
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof plugins>>, 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>>;
1909
2165
  request?: SecondParameter<typeof customFetch>;
1910
2166
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1911
2167
  queryKey: DataTag<QueryKey, TData, TError>;
1912
2168
  };
1913
2169
  /**
1914
- * @summary Get Plugin
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
1915
2172
  */
1916
- declare const getPlugin: (pluginId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PluginApi | null>;
1917
- declare const getGetPluginQueryKey: (pluginId: string) => readonly [`/api/external/plugins/${string}`];
1918
- declare const getGetPluginQueryOptions: <TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
1919
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>>;
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>>;
1920
2177
  request?: SecondParameter<typeof customFetch>;
1921
- }) => UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData> & {
2178
+ }) => UseQueryOptions<Awaited<ReturnType<typeof objectVariants>>, TError, TData> & {
1922
2179
  queryKey: DataTag<QueryKey, TData, TError>;
1923
2180
  };
1924
- type GetPluginQueryResult = NonNullable<Awaited<ReturnType<typeof getPlugin>>>;
1925
- type GetPluginQueryError = HTTPValidationError;
1926
- declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options: {
1927
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
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'>;
1928
2185
  request?: SecondParameter<typeof customFetch>;
1929
2186
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1930
2187
  queryKey: DataTag<QueryKey, TData, TError>;
1931
2188
  };
1932
- declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
1933
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPlugin>>, TError, Awaited<ReturnType<typeof getPlugin>>>, 'initialData'>;
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'>;
1934
2191
  request?: SecondParameter<typeof customFetch>;
1935
2192
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1936
2193
  queryKey: DataTag<QueryKey, TData, TError>;
1937
2194
  };
1938
- declare function useGetPlugin<TData = Awaited<ReturnType<typeof getPlugin>>, TError = HTTPValidationError>(pluginId: string, options?: {
1939
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPlugin>>, 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>>;
1940
2197
  request?: SecondParameter<typeof customFetch>;
1941
2198
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1942
2199
  queryKey: DataTag<QueryKey, TData, TError>;
1943
2200
  };
1944
2201
  /**
1945
- * @summary Delete Plugin
1946
- */
1947
- declare const deletePlugin: (pluginId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
1948
- declare const getDeletePluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
1949
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1950
- pluginId: string;
1951
- }, TContext>;
1952
- request?: SecondParameter<typeof customFetch>;
1953
- }) => UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1954
- pluginId: string;
1955
- }, TContext>;
1956
- type DeletePluginMutationResult = NonNullable<Awaited<ReturnType<typeof deletePlugin>>>;
1957
- type DeletePluginMutationError = HTTPValidationError;
1958
- /**
1959
- * @summary Delete Plugin
1960
- */
1961
- declare const useDeletePlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
1962
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1963
- pluginId: string;
1964
- }, TContext>;
1965
- request?: SecondParameter<typeof customFetch>;
1966
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deletePlugin>>, TError, {
1967
- pluginId: string;
1968
- }, TContext>;
1969
- /**
1970
- * @summary Get Plugin Method
2202
+ * @summary Get Activities
1971
2203
  */
1972
- declare const getPluginMethod: (pluginId: string, methodName: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<PluginMethod | null>;
1973
- declare const getGetPluginMethodQueryKey: (pluginId: string, methodName: string) => readonly [`/api/external/plugins/${string}/${string}`];
1974
- declare const getGetPluginMethodQueryOptions: <TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1975
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
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>>;
1976
2208
  request?: SecondParameter<typeof customFetch>;
1977
- }) => UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData> & {
2209
+ }) => UseQueryOptions<Awaited<ReturnType<typeof activities>>, TError, TData> & {
1978
2210
  queryKey: DataTag<QueryKey, TData, TError>;
1979
2211
  };
1980
- type GetPluginMethodQueryResult = NonNullable<Awaited<ReturnType<typeof getPluginMethod>>>;
1981
- type GetPluginMethodQueryError = HTTPValidationError;
1982
- declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options: {
1983
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
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'>;
1984
2216
  request?: SecondParameter<typeof customFetch>;
1985
2217
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
1986
2218
  queryKey: DataTag<QueryKey, TData, TError>;
1987
2219
  };
1988
- declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1989
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, Awaited<ReturnType<typeof getPluginMethod>>>, 'initialData'>;
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'>;
1990
2222
  request?: SecondParameter<typeof customFetch>;
1991
2223
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1992
2224
  queryKey: DataTag<QueryKey, TData, TError>;
1993
2225
  };
1994
- declare function useGetPluginMethod<TData = Awaited<ReturnType<typeof getPluginMethod>>, TError = HTTPValidationError>(pluginId: string, methodName: string, options?: {
1995
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getPluginMethod>>, TError, TData>>;
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>>;
1996
2228
  request?: SecondParameter<typeof customFetch>;
1997
2229
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1998
2230
  queryKey: DataTag<QueryKey, TData, TError>;
1999
2231
  };
2000
2232
  /**
2001
- * @summary Run Plugin
2002
- */
2003
- declare const runPlugin: (pluginId: string, methodName: string, bodyRunPlugin: BodyRunPlugin, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string>;
2004
- declare const getRunPluginMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2005
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
2006
- pluginId: string;
2007
- methodName: string;
2008
- data: BodyRunPlugin;
2009
- }, TContext>;
2010
- request?: SecondParameter<typeof customFetch>;
2011
- }) => UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
2012
- pluginId: string;
2013
- methodName: string;
2014
- data: BodyRunPlugin;
2015
- }, TContext>;
2016
- type RunPluginMutationResult = NonNullable<Awaited<ReturnType<typeof runPlugin>>>;
2017
- type RunPluginMutationBody = BodyRunPlugin;
2018
- type RunPluginMutationError = HTTPValidationError;
2019
- /**
2020
- * @summary Run Plugin
2021
- */
2022
- declare const useRunPlugin: <TError = HTTPValidationError, TContext = unknown>(options?: {
2023
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof runPlugin>>, TError, {
2024
- pluginId: string;
2025
- methodName: string;
2026
- data: BodyRunPlugin;
2027
- }, TContext>;
2028
- request?: SecondParameter<typeof customFetch>;
2029
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof runPlugin>>, TError, {
2030
- pluginId: string;
2031
- methodName: string;
2032
- data: BodyRunPlugin;
2033
- }, TContext>;
2034
- /**
2035
- * @summary Get Plugin Result
2233
+ * @summary Get Event Counts
2036
2234
  */
2037
- declare const pluginResult: (pluginId: string, methodName: string, taskId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<(OCELOutput | ResourceOutput)[] | null>;
2038
- declare const getPluginResultQueryKey: (pluginId: string, methodName: string, taskId: string) => readonly [`/api/external/plugins/${string}/${string}/result/${string}`];
2039
- declare const getPluginResultQueryOptions: <TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
2040
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>>;
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>>;
2041
2239
  request?: SecondParameter<typeof customFetch>;
2042
- }) => UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData> & {
2240
+ }) => UseQueryOptions<Awaited<ReturnType<typeof eventCounts>>, TError, TData> & {
2043
2241
  queryKey: DataTag<QueryKey, TData, TError>;
2044
2242
  };
2045
- type PluginResultQueryResult = NonNullable<Awaited<ReturnType<typeof pluginResult>>>;
2046
- type PluginResultQueryError = HTTPValidationError;
2047
- declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options: {
2048
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof pluginResult>>, TError, Awaited<ReturnType<typeof pluginResult>>>, 'initialData'>;
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'>;
2049
2247
  request?: SecondParameter<typeof customFetch>;
2050
2248
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2051
2249
  queryKey: DataTag<QueryKey, TData, TError>;
2052
2250
  };
2053
- declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
2054
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof pluginResult>>, TError, Awaited<ReturnType<typeof pluginResult>>>, 'initialData'>;
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'>;
2055
2253
  request?: SecondParameter<typeof customFetch>;
2056
2254
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2057
2255
  queryKey: DataTag<QueryKey, TData, TError>;
2058
2256
  };
2059
- declare function usePluginResult<TData = Awaited<ReturnType<typeof pluginResult>>, TError = HTTPValidationError>(pluginId: string, methodName: string, taskId: string, options?: {
2060
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof pluginResult>>, TError, TData>>;
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>>;
2061
2259
  request?: SecondParameter<typeof customFetch>;
2062
2260
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2063
2261
  queryKey: DataTag<QueryKey, TData, TError>;
2064
2262
  };
2065
2263
  /**
2066
- * Save the selected results into the session as OCELs / resources.
2067
- * @summary Save Plugin Results
2264
+ * @summary Get Event Ids
2068
2265
  */
2069
- declare const savePluginResults: (pluginId: string, methodName: string, taskId: string, bodySavePluginResults: BodySavePluginResults, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<SavedResults>;
2070
- declare const getSavePluginResultsMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2071
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2072
- pluginId: string;
2073
- methodName: string;
2074
- taskId: string;
2075
- data: BodySavePluginResults;
2076
- }, TContext>;
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>>;
2077
2270
  request?: SecondParameter<typeof customFetch>;
2078
- }) => UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2079
- pluginId: string;
2080
- methodName: string;
2081
- taskId: string;
2082
- data: BodySavePluginResults;
2083
- }, TContext>;
2084
- type SavePluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof savePluginResults>>>;
2085
- type SavePluginResultsMutationBody = BodySavePluginResults;
2086
- type SavePluginResultsMutationError = HTTPValidationError;
2087
- /**
2088
- * @summary Save Plugin Results
2089
- */
2090
- declare const useSavePluginResults: <TError = HTTPValidationError, TContext = unknown>(options?: {
2091
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2092
- pluginId: string;
2093
- methodName: string;
2094
- taskId: string;
2095
- data: BodySavePluginResults;
2096
- }, TContext>;
2271
+ }) => UseQueryOptions<Awaited<ReturnType<typeof eventIds>>, TError, TData> & {
2272
+ queryKey: DataTag<QueryKey, TData, TError>;
2273
+ };
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'>;
2097
2278
  request?: SecondParameter<typeof customFetch>;
2098
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof savePluginResults>>, TError, {
2099
- pluginId: string;
2100
- methodName: string;
2101
- taskId: string;
2102
- data: BodySavePluginResults;
2103
- }, TContext>;
2104
- /**
2105
- * Bundle the selected results into a zip for download.
2106
- * @summary Download Plugin Results
2107
- */
2108
- declare const downloadPluginResults: (pluginId: string, methodName: string, taskId: string, bodyDownloadPluginResults: BodyDownloadPluginResults, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2109
- declare const getDownloadPluginResultsMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2110
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2111
- pluginId: string;
2112
- methodName: string;
2113
- taskId: string;
2114
- data: BodyDownloadPluginResults;
2115
- }, TContext>;
2279
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2280
+ queryKey: DataTag<QueryKey, TData, TError>;
2281
+ };
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'>;
2116
2284
  request?: SecondParameter<typeof customFetch>;
2117
- }) => UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2118
- pluginId: string;
2119
- methodName: string;
2120
- taskId: string;
2121
- data: BodyDownloadPluginResults;
2122
- }, TContext>;
2123
- type DownloadPluginResultsMutationResult = NonNullable<Awaited<ReturnType<typeof downloadPluginResults>>>;
2124
- type DownloadPluginResultsMutationBody = BodyDownloadPluginResults;
2125
- type DownloadPluginResultsMutationError = HTTPValidationError;
2126
- /**
2127
- * @summary Download Plugin Results
2128
- */
2129
- declare const useDownloadPluginResults: <TError = HTTPValidationError, TContext = unknown>(options?: {
2130
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2131
- pluginId: string;
2132
- methodName: string;
2133
- taskId: string;
2134
- data: BodyDownloadPluginResults;
2135
- }, TContext>;
2285
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2286
+ queryKey: DataTag<QueryKey, TData, TError>;
2287
+ };
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>>;
2136
2290
  request?: SecondParameter<typeof customFetch>;
2137
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof downloadPluginResults>>, TError, {
2138
- pluginId: string;
2139
- methodName: string;
2140
- taskId: string;
2141
- data: BodyDownloadPluginResults;
2142
- }, TContext>;
2291
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2292
+ queryKey: DataTag<QueryKey, TData, TError>;
2293
+ };
2143
2294
  /**
2144
- * @summary Get Computed
2295
+ * @summary Get Time Info
2145
2296
  */
2146
- declare const getComputedValues: (pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<string[]>;
2147
- declare const getGetComputedValuesQueryKey: (pluginId: string, methodName: string, provider: string, bodyGetComputedValues?: BodyGetComputedValues) => readonly [`/api/external/plugins/${string}/${string}/computed/${string}`, BodyGetComputedValues | undefined];
2148
- declare const getGetComputedValuesQueryOptions: <TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
2149
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>>;
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>>;
2150
2301
  request?: SecondParameter<typeof customFetch>;
2151
- }) => UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData> & {
2302
+ }) => UseQueryOptions<Awaited<ReturnType<typeof timeInfo>>, TError, TData> & {
2152
2303
  queryKey: DataTag<QueryKey, TData, TError>;
2153
2304
  };
2154
- type GetComputedValuesQueryResult = NonNullable<Awaited<ReturnType<typeof getComputedValues>>>;
2155
- type GetComputedValuesQueryError = HTTPValidationError;
2156
- declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options: {
2157
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, Awaited<ReturnType<typeof getComputedValues>>>, 'initialData'>;
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'>;
2158
2309
  request?: SecondParameter<typeof customFetch>;
2159
2310
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2160
2311
  queryKey: DataTag<QueryKey, TData, TError>;
2161
2312
  };
2162
- declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
2163
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, Awaited<ReturnType<typeof getComputedValues>>>, 'initialData'>;
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'>;
2164
2315
  request?: SecondParameter<typeof customFetch>;
2165
2316
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2166
2317
  queryKey: DataTag<QueryKey, TData, TError>;
2167
2318
  };
2168
- declare function useGetComputedValues<TData = Awaited<ReturnType<typeof getComputedValues>>, TError = HTTPValidationError>(pluginId: string, methodName: string, provider: string, bodyGetComputedValues: BodyGetComputedValues, options?: {
2169
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getComputedValues>>, TError, TData>>;
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>>;
2170
2321
  request?: SecondParameter<typeof customFetch>;
2171
2322
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2172
2323
  queryKey: DataTag<QueryKey, TData, TError>;
2173
2324
  };
2174
2325
  /**
2175
- * @summary Get Resources
2326
+ * @summary Get E2O
2176
2327
  */
2177
- declare const resources: (params?: ResourcesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<ResourceApi[]>;
2178
- declare const getResourcesQueryKey: (params?: ResourcesParams) => readonly ["/api/external/resources", ...ResourcesParams[]];
2179
- declare const getResourcesQueryOptions: <TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
2180
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>>;
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>>;
2181
2332
  request?: SecondParameter<typeof customFetch>;
2182
- }) => UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData> & {
2333
+ }) => UseQueryOptions<Awaited<ReturnType<typeof e2o>>, TError, TData> & {
2183
2334
  queryKey: DataTag<QueryKey, TData, TError>;
2184
2335
  };
2185
- type ResourcesQueryResult = NonNullable<Awaited<ReturnType<typeof resources>>>;
2186
- type ResourcesQueryError = HTTPValidationError;
2187
- declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params: undefined | ResourcesParams, options: {
2188
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
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'>;
2189
2340
  request?: SecondParameter<typeof customFetch>;
2190
2341
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2191
2342
  queryKey: DataTag<QueryKey, TData, TError>;
2192
2343
  };
2193
- declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
2194
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resources>>, TError, Awaited<ReturnType<typeof resources>>>, 'initialData'>;
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'>;
2195
2346
  request?: SecondParameter<typeof customFetch>;
2196
2347
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2197
2348
  queryKey: DataTag<QueryKey, TData, TError>;
2198
2349
  };
2199
- declare function useResources<TData = Awaited<ReturnType<typeof resources>>, TError = HTTPValidationError>(params?: ResourcesParams, options?: {
2200
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resources>>, 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>>;
2201
2352
  request?: SecondParameter<typeof customFetch>;
2202
2353
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2203
2354
  queryKey: DataTag<QueryKey, TData, TError>;
2204
2355
  };
2205
2356
  /**
2206
- * @summary Upload Resource
2357
+ * @summary Get O2O
2207
2358
  */
2208
- declare const uploadResource: (bodyUploadResource: BodyUploadResource, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2209
- declare const getUploadResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2210
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
2211
- data: BodyUploadResource;
2212
- }, TContext>;
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>>;
2213
2363
  request?: SecondParameter<typeof customFetch>;
2214
- }) => UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
2215
- data: BodyUploadResource;
2216
- }, TContext>;
2217
- type UploadResourceMutationResult = NonNullable<Awaited<ReturnType<typeof uploadResource>>>;
2218
- type UploadResourceMutationBody = BodyUploadResource;
2219
- type UploadResourceMutationError = HTTPValidationError;
2220
- /**
2221
- * @summary Upload Resource
2222
- */
2223
- declare const useUploadResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
2224
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof uploadResource>>, TError, {
2225
- data: BodyUploadResource;
2226
- }, TContext>;
2364
+ }) => UseQueryOptions<Awaited<ReturnType<typeof o2o>>, TError, TData> & {
2365
+ queryKey: DataTag<QueryKey, TData, TError>;
2366
+ };
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'>;
2227
2371
  request?: SecondParameter<typeof customFetch>;
2228
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof uploadResource>>, TError, {
2229
- data: BodyUploadResource;
2230
- }, TContext>;
2372
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2373
+ queryKey: DataTag<QueryKey, TData, TError>;
2374
+ };
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'>;
2377
+ request?: SecondParameter<typeof customFetch>;
2378
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2379
+ queryKey: DataTag<QueryKey, TData, TError>;
2380
+ };
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>>;
2383
+ request?: SecondParameter<typeof customFetch>;
2384
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2385
+ queryKey: DataTag<QueryKey, TData, TError>;
2386
+ };
2231
2387
  /**
2232
- * @summary Get Resource Meta
2388
+ * @summary Get E2O Combinations
2233
2389
  */
2234
- declare const getResourceMeta: (options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<GetResourceMeta200>;
2235
- declare const getGetResourceMetaQueryKey: () => readonly ["/api/external/resources/meta"];
2236
- declare const getGetResourceMetaQueryOptions: <TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
2237
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>>;
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>>;
2238
2394
  request?: SecondParameter<typeof customFetch>;
2239
- }) => UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData> & {
2395
+ }) => UseQueryOptions<Awaited<ReturnType<typeof e2oCombinations>>, TError, TData> & {
2240
2396
  queryKey: DataTag<QueryKey, TData, TError>;
2241
2397
  };
2242
- type GetResourceMetaQueryResult = NonNullable<Awaited<ReturnType<typeof getResourceMeta>>>;
2243
- type GetResourceMetaQueryError = unknown;
2244
- declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options: {
2245
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
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'>;
2246
2402
  request?: SecondParameter<typeof customFetch>;
2247
2403
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2248
2404
  queryKey: DataTag<QueryKey, TData, TError>;
2249
2405
  };
2250
- declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
2251
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getResourceMeta>>, TError, Awaited<ReturnType<typeof getResourceMeta>>>, 'initialData'>;
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'>;
2252
2408
  request?: SecondParameter<typeof customFetch>;
2253
2409
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2254
2410
  queryKey: DataTag<QueryKey, TData, TError>;
2255
2411
  };
2256
- declare function useGetResourceMeta<TData = Awaited<ReturnType<typeof getResourceMeta>>, TError = unknown>(options?: {
2257
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getResourceMeta>>, 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>>;
2258
2414
  request?: SecondParameter<typeof customFetch>;
2259
2415
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2260
2416
  queryKey: DataTag<QueryKey, TData, TError>;
2261
2417
  };
2262
2418
  /**
2263
- * @summary Download Resource
2419
+ * @summary Get O2O Combinations
2264
2420
  */
2265
- declare const downloadResource: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2266
- declare const getDownloadResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}/download`];
2267
- declare const getDownloadResourceQueryOptions: <TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2268
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>>;
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>>;
2269
2425
  request?: SecondParameter<typeof customFetch>;
2270
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData> & {
2426
+ }) => UseQueryOptions<Awaited<ReturnType<typeof o2oCombinations>>, TError, TData> & {
2271
2427
  queryKey: DataTag<QueryKey, TData, TError>;
2272
2428
  };
2273
- type DownloadResourceQueryResult = NonNullable<Awaited<ReturnType<typeof downloadResource>>>;
2274
- type DownloadResourceQueryError = HTTPValidationError;
2275
- declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options: {
2276
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
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'>;
2277
2433
  request?: SecondParameter<typeof customFetch>;
2278
2434
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2279
2435
  queryKey: DataTag<QueryKey, TData, TError>;
2280
2436
  };
2281
- declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2282
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResource>>, TError, Awaited<ReturnType<typeof downloadResource>>>, 'initialData'>;
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'>;
2283
2439
  request?: SecondParameter<typeof customFetch>;
2284
2440
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2285
2441
  queryKey: DataTag<QueryKey, TData, TError>;
2286
2442
  };
2287
- declare function useDownloadResource<TData = Awaited<ReturnType<typeof downloadResource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2288
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResource>>, 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>>;
2289
2445
  request?: SecondParameter<typeof customFetch>;
2290
2446
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2291
2447
  queryKey: DataTag<QueryKey, TData, TError>;
2292
2448
  };
2293
2449
  /**
2294
- * @summary Download Resource As Pnml
2450
+ * @summary Get Quantity Info
2295
2451
  */
2296
- declare const downloadResourceAsPnml: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2297
- declare const getDownloadResourceAsPnmlQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}/download/pnml`];
2298
- declare const getDownloadResourceAsPnmlQueryOptions: <TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
2299
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>>;
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>>;
2300
2456
  request?: SecondParameter<typeof customFetch>;
2301
- }) => UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData> & {
2457
+ }) => UseQueryOptions<Awaited<ReturnType<typeof quantityInfo>>, TError, TData> & {
2302
2458
  queryKey: DataTag<QueryKey, TData, TError>;
2303
2459
  };
2304
- type DownloadResourceAsPnmlQueryResult = NonNullable<Awaited<ReturnType<typeof downloadResourceAsPnml>>>;
2305
- type DownloadResourceAsPnmlQueryError = HTTPValidationError;
2306
- declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options: {
2307
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, Awaited<ReturnType<typeof downloadResourceAsPnml>>>, 'initialData'>;
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'>;
2308
2464
  request?: SecondParameter<typeof customFetch>;
2309
2465
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2310
2466
  queryKey: DataTag<QueryKey, TData, TError>;
2311
2467
  };
2312
- declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
2313
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError, Awaited<ReturnType<typeof downloadResourceAsPnml>>>, 'initialData'>;
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'>;
2314
2470
  request?: SecondParameter<typeof customFetch>;
2315
2471
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2316
2472
  queryKey: DataTag<QueryKey, TData, TError>;
2317
2473
  };
2318
- declare function useDownloadResourceAsPnml<TData = Awaited<ReturnType<typeof downloadResourceAsPnml>>, TError = HTTPValidationError>(resourceId: string, options?: {
2319
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadResourceAsPnml>>, 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>>;
2320
2476
  request?: SecondParameter<typeof customFetch>;
2321
2477
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2322
2478
  queryKey: DataTag<QueryKey, TData, TError>;
2323
2479
  };
2324
2480
  /**
2325
- * @summary Get Resource
2481
+ * @summary Download OCEL
2326
2482
  */
2327
- declare const resource: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<GetResourceResponse>;
2328
- declare const getResourceQueryKey: (resourceId: string) => readonly [`/api/external/resources/resource/${string}`];
2329
- declare const getResourceQueryOptions: <TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2330
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>>;
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>>;
2331
2487
  request?: SecondParameter<typeof customFetch>;
2332
- }) => UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData> & {
2488
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadOCEL>>, TError, TData> & {
2333
2489
  queryKey: DataTag<QueryKey, TData, TError>;
2334
2490
  };
2335
- type ResourceQueryResult = NonNullable<Awaited<ReturnType<typeof resource>>>;
2336
- type ResourceQueryError = HTTPValidationError;
2337
- declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options: {
2338
- query: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
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'>;
2339
2495
  request?: SecondParameter<typeof customFetch>;
2340
2496
  }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2341
2497
  queryKey: DataTag<QueryKey, TData, TError>;
2342
2498
  };
2343
- declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2344
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof resource>>, TError, Awaited<ReturnType<typeof resource>>>, 'initialData'>;
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'>;
2345
2501
  request?: SecondParameter<typeof customFetch>;
2346
2502
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2347
2503
  queryKey: DataTag<QueryKey, TData, TError>;
2348
2504
  };
2349
- declare function useResource<TData = Awaited<ReturnType<typeof resource>>, TError = HTTPValidationError>(resourceId: string, options?: {
2350
- query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof resource>>, 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>>;
2351
2507
  request?: SecondParameter<typeof customFetch>;
2352
2508
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2353
2509
  queryKey: DataTag<QueryKey, TData, TError>;
2354
2510
  };
2355
2511
  /**
2356
- * @summary Delete Resource
2512
+ * @summary Download OCEL as a xes
2357
2513
  */
2358
- declare const deleteResource: (resourceId: string, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2359
- declare const getDeleteResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2360
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
2361
- resourceId: string;
2362
- }, TContext>;
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>>;
2363
2518
  request?: SecondParameter<typeof customFetch>;
2364
- }) => UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
2365
- resourceId: string;
2366
- }, TContext>;
2367
- type DeleteResourceMutationResult = NonNullable<Awaited<ReturnType<typeof deleteResource>>>;
2368
- type DeleteResourceMutationError = HTTPValidationError;
2369
- /**
2370
- * @summary Delete Resource
2371
- */
2372
- declare const useDeleteResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
2373
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteResource>>, TError, {
2374
- resourceId: string;
2375
- }, TContext>;
2519
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadFlatLog>>, TError, TData> & {
2520
+ queryKey: DataTag<QueryKey, TData, TError>;
2521
+ };
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'>;
2376
2526
  request?: SecondParameter<typeof customFetch>;
2377
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteResource>>, TError, {
2378
- resourceId: string;
2379
- }, TContext>;
2527
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2528
+ queryKey: DataTag<QueryKey, TData, TError>;
2529
+ };
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'>;
2532
+ request?: SecondParameter<typeof customFetch>;
2533
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2534
+ queryKey: DataTag<QueryKey, TData, TError>;
2535
+ };
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>>;
2538
+ request?: SecondParameter<typeof customFetch>;
2539
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2540
+ queryKey: DataTag<QueryKey, TData, TError>;
2541
+ };
2380
2542
  /**
2381
- * @summary Rename Resource
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
2382
2545
  */
2383
- declare const renameResource: (resourceId: string, params: RenameResourceParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<unknown>;
2384
- declare const getRenameResourceMutationOptions: <TError = HTTPValidationError, TContext = unknown>(options?: {
2385
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
2386
- resourceId: string;
2387
- params: RenameResourceParams;
2388
- }, TContext>;
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>>;
2389
2550
  request?: SecondParameter<typeof customFetch>;
2390
- }) => UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
2391
- resourceId: string;
2392
- params: RenameResourceParams;
2393
- }, TContext>;
2394
- type RenameResourceMutationResult = NonNullable<Awaited<ReturnType<typeof renameResource>>>;
2395
- type RenameResourceMutationError = HTTPValidationError;
2396
- /**
2397
- * @summary Rename Resource
2398
- */
2399
- declare const useRenameResource: <TError = HTTPValidationError, TContext = unknown>(options?: {
2400
- mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, {
2401
- resourceId: string;
2402
- params: RenameResourceParams;
2403
- }, TContext>;
2551
+ }) => UseQueryOptions<Awaited<ReturnType<typeof downloadVariantFlatLog>>, TError, TData> & {
2552
+ queryKey: DataTag<QueryKey, TData, TError>;
2553
+ };
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'>;
2404
2558
  request?: SecondParameter<typeof customFetch>;
2405
- }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameResource>>, TError, {
2406
- resourceId: string;
2407
- params: RenameResourceParams;
2408
- }, TContext>;
2559
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2560
+ queryKey: DataTag<QueryKey, TData, TError>;
2561
+ };
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'>;
2564
+ request?: SecondParameter<typeof customFetch>;
2565
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2566
+ queryKey: DataTag<QueryKey, TData, TError>;
2567
+ };
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>>;
2570
+ request?: SecondParameter<typeof customFetch>;
2571
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2572
+ queryKey: DataTag<QueryKey, TData, TError>;
2573
+ };
2409
2574
  //#endregion
2410
- export { ActivitiesParams, ActivitiesQueryError, ActivitiesQueryResult, AggregatedAttribute, AggregatedAttributesEntityType, AggregatedAttributesParams, AggregatedAttributesQueryError, AggregatedAttributesQueryResult, AttributeNamesParams, AttributeNamesQueryError, AttributeNamesQueryResult, BodyDownloadPluginResults, BodyGetComputedValues, BodyGetComputedValuesInput, BodyGetComputedValuesInputOcels, BodyGetComputedValuesInputResources, BodyRunPlugin, BodyRunPluginInput, BodyRunPluginInputOcels, BodyRunPluginInputResources, BodySavePluginResults, BodyUpload, BodyUploadResource, CreateDiscoveryTaskBody, CreateDiscoveryTaskBodyParameters, CreateDiscoveryTaskMutationBody, CreateDiscoveryTaskMutationError, CreateDiscoveryTaskMutationResult, DateDistributionItem, DateDistributionItemEntityCount, DefaultOCEL, DeleteOcelMutationError, DeleteOcelMutationResult, DeletePluginMutationError, DeletePluginMutationResult, DeleteResourceMutationError, DeleteResourceMutationResult, DiscoveryFilterSchema, DiscoveryFilterSchemaJsonSchema, DiscoveryMethodMeta, DiscoveryTaskQueryError, DiscoveryTaskQueryResult, DiscoveryTaskSummary, DiscoveryVariant, DiscoveryVariantInputSchema, DotVis, DotVisLayoutEngine, DownloadFlatLogParams, DownloadFlatLogQueryError, DownloadFlatLogQueryResult, DownloadOCELExt, DownloadOCELParams, DownloadOCELQueryError, DownloadOCELQueryResult, DownloadPluginResultsMutationBody, DownloadPluginResultsMutationError, DownloadPluginResultsMutationResult, DownloadResourceAsPnmlQueryError, DownloadResourceAsPnmlQueryResult, DownloadResourceQueryError, DownloadResourceQueryResult, E2oCombinationsDirection, E2oCombinationsParams, E2oCombinationsQueryError, E2oCombinationsQueryResult, E2oDirection, E2oOrder, E2oParams, E2oQueryError, E2oQueryResult, EdgeStyle, ElkLayoutConfig, ElkLayoutConfigOptions, EntityTimeInfo, EventAttributesParams, EventAttributesQueryError, EventAttributesQueryResult, EventCounts200, EventCountsParams, EventCountsQueryError, EventCountsQueryResult, EventIdsParams, EventIdsQueryError, EventIdsQueryResult, FilterEnvelope, FilterEnvelopePayload, GetComputedValuesQueryError, GetComputedValuesQueryResult, GetDefaultOcelParams, GetDefaultOcelQueryError, GetDefaultOcelQueryResult, GetExtensionMeta200, GetExtensionMetaQueryError, GetExtensionMetaQueryResult, GetOcelParams, GetOcelQueryError, GetOcelQueryResult, GetOcelsParams, GetOcelsQueryError, GetOcelsQueryResult, GetPluginMethodQueryError, GetPluginMethodQueryResult, GetPluginQueryError, GetPluginQueryResult, GetResourceMeta200, GetResourceMetaQueryError, GetResourceMetaQueryResult, GetResourceResponse, GetSystemTaskQueryError, GetSystemTaskQueryResult, GetSystemTasksParams, GetSystemTasksQueryError, GetSystemTasksQueryResult, Graph, GraphEdge, GraphEdgeLayoutAttrs, GraphNode, GraphNodeLabelPos, GraphNodeLayoutAttrs, GraphNodeShape, GraphvizLayoutConfig, GraphvizLayoutConfigEdgeAttrs, GraphvizLayoutConfigEngine, GraphvizLayoutConfigGraphAttrs, GraphvizLayoutConfigNodeAttrs, HTTPValidationError, ImportDefaultOcelMutationError, ImportDefaultOcelMutationResult, ImportDefaultOcelParams, ListDiscoveryFiltersQueryError, ListDiscoveryFiltersQueryResult, ListDiscoveryMethodsQueryError, ListDiscoveryMethodsQueryResult, LogoutMutationError, LogoutMutationResult, NodeStyle, O2oCombinationsDirection, O2oCombinationsParams, O2oCombinationsQueryError, O2oCombinationsQueryResult, O2oDirection, O2oOrder, O2oParams, O2oQueryError, O2oQueryResult, OCELAnnotation, OCELExtensionDescription, OCELOutput, OCELOutputActivityCount, OCELOutputObjectCount, OCELResult, ObjectAttributesParams, ObjectAttributesQueryError, ObjectAttributesQueryResult, ObjectCounts200, ObjectCountsParams, ObjectCountsQueryError, ObjectCountsQueryResult, ObjectIdsParams, ObjectIdsQueryError, ObjectIdsQueryResult, ObjectTypesParams, ObjectTypesQueryError, ObjectTypesQueryResult, OcelMetadata, PaginatedResponseListAggregatedAttribute, PaginatedResponseListRelationCountSummary, PaginatedResponseListStr, Plotly, PlotlyData, PluginApi, PluginMeta, PluginMethod, PluginMethodInputOcels, PluginMethodInputResources, PluginMethodInputSchema, PluginResultQueryError, PluginResultQueryResult, PluginSource, PluginsQueryError, PluginsQueryResult, QuantityInfo, QuantityInfoParams, QuantityInfoQueryError, QuantityInfoQueryResult, RelationCombination, RelationCountSummary, RenameOcelMutationError, RenameOcelMutationResult, RenameOcelParams, RenameResourceMutationError, RenameResourceMutationResult, RenameResourceParams, Resource, ResourceAnnotation, ResourceApi, ResourceInfo, ResourceOutput, ResourceQueryError, ResourceQueryResult, ResourceResult, ResourcesParams, ResourcesQueryError, ResourcesQueryResult, RunPluginMutationBody, RunPluginMutationError, RunPluginMutationResult, SVGVis, SaveDiscoveryMutationError, SaveDiscoveryMutationResult, SavePluginResultsMutationBody, SavePluginResultsMutationError, SavePluginResultsMutationResult, SavedResults, SystemTaskSummary, SystemTaskSummaryMetadata, Table, TableColumn, TableColumnDataType, TableRowsItem, TaskState, TimeInfoParams, TimeInfoQueryError, TimeInfoQueryResult, TypedAttribute, UploadMutationBody, UploadMutationError, UploadMutationResult, UploadResourceMutationBody, UploadResourceMutationError, UploadResourceMutationResult, ValidationError, ValidationErrorCtx, ValueType, Visualization, activities, aggregatedAttributes, attributeNames, createDiscoveryTask, deleteOcel, deletePlugin, deleteResource, discoveryTask, downloadFlatLog, downloadOCEL, downloadPluginResults, downloadResource, downloadResourceAsPnml, e2o, e2oCombinations, eventAttributes, eventCounts, eventIds, getActivitiesQueryKey, getActivitiesQueryOptions, getAggregatedAttributesQueryKey, getAggregatedAttributesQueryOptions, getAttributeNamesQueryKey, getAttributeNamesQueryOptions, getComputedValues, getCreateDiscoveryTaskMutationOptions, getDefaultOcel, getDeleteOcelMutationOptions, getDeletePluginMutationOptions, getDeleteResourceMutationOptions, getDiscoveryTaskQueryKey, getDiscoveryTaskQueryOptions, getDownloadFlatLogQueryKey, getDownloadFlatLogQueryOptions, getDownloadOCELQueryKey, getDownloadOCELQueryOptions, getDownloadPluginResultsMutationOptions, getDownloadResourceAsPnmlQueryKey, getDownloadResourceAsPnmlQueryOptions, getDownloadResourceQueryKey, getDownloadResourceQueryOptions, getE2oCombinationsQueryKey, getE2oCombinationsQueryOptions, getE2oQueryKey, getE2oQueryOptions, getEventAttributesQueryKey, getEventAttributesQueryOptions, getEventCountsQueryKey, getEventCountsQueryOptions, getEventIdsQueryKey, getEventIdsQueryOptions, getExtensionMeta, getGetComputedValuesQueryKey, getGetComputedValuesQueryOptions, getGetDefaultOcelQueryKey, getGetDefaultOcelQueryOptions, getGetExtensionMetaQueryKey, getGetExtensionMetaQueryOptions, getGetOcelQueryKey, getGetOcelQueryOptions, getGetOcelsQueryKey, getGetOcelsQueryOptions, getGetPluginMethodQueryKey, getGetPluginMethodQueryOptions, getGetPluginQueryKey, getGetPluginQueryOptions, getGetResourceMetaQueryKey, getGetResourceMetaQueryOptions, getGetSystemTaskQueryKey, getGetSystemTaskQueryOptions, getGetSystemTasksQueryKey, getGetSystemTasksQueryOptions, getImportDefaultOcelMutationOptions, getListDiscoveryFiltersQueryKey, getListDiscoveryFiltersQueryOptions, getListDiscoveryMethodsQueryKey, getListDiscoveryMethodsQueryOptions, getLogoutMutationOptions, getO2oCombinationsQueryKey, getO2oCombinationsQueryOptions, getO2oQueryKey, getO2oQueryOptions, getObjectAttributesQueryKey, getObjectAttributesQueryOptions, getObjectCountsQueryKey, getObjectCountsQueryOptions, getObjectIdsQueryKey, getObjectIdsQueryOptions, getObjectTypesQueryKey, getObjectTypesQueryOptions, getOcel, getOcels, getPlugin, getPluginMethod, getPluginResultQueryKey, getPluginResultQueryOptions, getPluginsQueryKey, getPluginsQueryOptions, getQuantityInfoQueryKey, getQuantityInfoQueryOptions, getRenameOcelMutationOptions, getRenameResourceMutationOptions, getResourceMeta, getResourceQueryKey, getResourceQueryOptions, getResourcesQueryKey, getResourcesQueryOptions, getRunPluginMutationOptions, getSaveDiscoveryMutationOptions, getSavePluginResultsMutationOptions, getSystemTask, getSystemTasks, getTimeInfoQueryKey, getTimeInfoQueryOptions, getUploadMutationOptions, getUploadResourceMutationOptions, importDefaultOcel, listDiscoveryFilters, listDiscoveryMethods, logout, o2o, o2oCombinations, objectAttributes, objectCounts, objectIds, objectTypes, pluginResult, plugins, quantityInfo, renameOcel, renameResource, resource, resources, runPlugin, saveDiscovery, savePluginResults, timeInfo, upload, uploadResource, useActivities, useAggregatedAttributes, useAttributeNames, useCreateDiscoveryTask, useDeleteOcel, useDeletePlugin, useDeleteResource, useDiscoveryTask, useDownloadFlatLog, useDownloadOCEL, useDownloadPluginResults, useDownloadResource, useDownloadResourceAsPnml, useE2o, useE2oCombinations, useEventAttributes, useEventCounts, useEventIds, useGetComputedValues, useGetDefaultOcel, useGetExtensionMeta, useGetOcel, useGetOcels, useGetPlugin, useGetPluginMethod, useGetResourceMeta, useGetSystemTask, useGetSystemTasks, useImportDefaultOcel, useListDiscoveryFilters, useListDiscoveryMethods, useLogout, useO2o, useO2oCombinations, useObjectAttributes, useObjectCounts, useObjectIds, useObjectTypes, usePluginResult, usePlugins, useQuantityInfo, useRenameOcel, useRenameResource, useResource, useResources, useRunPlugin, useSaveDiscovery, useSavePluginResults, useTimeInfo, useUpload, useUploadResource };
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 };