@ocelescope/api-base 0.10.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,7 +13,7 @@ pnpm add @ocelescope/api-base
13
13
  ## Usage
14
14
 
15
15
  ```ts
16
- import { /* hooks and client */ } from "@ocelescope/api-base";
16
+ import {/* hooks and client */} from "@ocelescope/api-base";
17
17
  ```
18
18
 
19
19
  ## About
package/dist/index.d.ts CHANGED
@@ -1,9 +1,6 @@
1
1
  import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
2
2
  import { AxiosRequestConfig } from "axios";
3
- //#region src/lib/fetcher.d.ts
4
3
  declare const customFetch: <T>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<T>;
5
- //#endregion
6
- //#region src/api/base/index.d.ts
7
4
  export interface Arc {
8
5
  source: string;
9
6
  target: string;
@@ -1148,8 +1145,6 @@ export declare const useRenameResource: <TError = HTTPValidationError, TContext
1148
1145
  mutation?: UseMutationOptions<Awaited<ReturnType<typeof renameResource>>, TError, RenameResourceMutationVariables, TContext>;
1149
1146
  request?: SecondParameter$1<typeof customFetch>;
1150
1147
  }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof renameResource>>, TError, RenameResourceMutationVariables, TContext>;
1151
- //#endregion
1152
- //#region src/api/ocel/index.d.ts
1153
1148
  export type ValueType = typeof ValueType[keyof typeof ValueType];
1154
1149
  export declare const ValueType: {
1155
1150
  readonly empty: "empty";
@@ -1170,6 +1165,30 @@ export interface AggregatedAttribute {
1170
1165
  type: ValueType;
1171
1166
  entity_type_names: string[];
1172
1167
  }
1168
+ export interface AttributeBin {
1169
+ start: number | string;
1170
+ end: number | string;
1171
+ count: number;
1172
+ }
1173
+ export interface AttributeValueCount {
1174
+ value: string;
1175
+ count: number;
1176
+ }
1177
+ export interface AttributeDistribution {
1178
+ name: string;
1179
+ type: ValueType;
1180
+ count: number;
1181
+ distinct_values: number;
1182
+ min: string | number;
1183
+ max: string | number;
1184
+ bins?: AttributeBin[];
1185
+ values?: AttributeValueCount[];
1186
+ }
1187
+ export interface AttributeMatches {
1188
+ count: number;
1189
+ distinct_values: number;
1190
+ values: AttributeValueCount[];
1191
+ }
1173
1192
  export type DateDistributionItemEntityCount = {
1174
1193
  [key: string]: number;
1175
1194
  };
@@ -1306,6 +1325,13 @@ export interface RelationCombination {
1306
1325
  target: string;
1307
1326
  qualifier: string;
1308
1327
  }
1328
+ export interface RelationCountDistribution {
1329
+ entities: number;
1330
+ relations: number;
1331
+ min: number;
1332
+ max: number;
1333
+ bins: AttributeBin[];
1334
+ }
1309
1335
  export interface SqlColumn {
1310
1336
  name: string;
1311
1337
  type: string;
@@ -1368,6 +1394,7 @@ export type AggregatedAttributesParams = {
1368
1394
  entity_names?: string[] | null;
1369
1395
  drop_constant?: boolean;
1370
1396
  ocel_version?: AggregatedAttributesOcelVersion;
1397
+ view_id?: string | null;
1371
1398
  };
1372
1399
  export type AggregatedAttributesEntityType = typeof AggregatedAttributesEntityType[keyof typeof AggregatedAttributesEntityType];
1373
1400
  export declare const AggregatedAttributesEntityType: {
@@ -1383,6 +1410,7 @@ export type ObjectAttributesParams = {
1383
1410
  attribute_names?: string[];
1384
1411
  names?: string[] | null;
1385
1412
  ocel_version?: ObjectAttributesOcelVersion;
1413
+ view_id?: string | null;
1386
1414
  };
1387
1415
  export type ObjectAttributesOcelVersion = typeof ObjectAttributesOcelVersion[keyof typeof ObjectAttributesOcelVersion];
1388
1416
  export declare const ObjectAttributesOcelVersion: {
@@ -1393,6 +1421,7 @@ export type EventAttributesParams = {
1393
1421
  attribute_names?: string[];
1394
1422
  names?: string[] | null;
1395
1423
  ocel_version?: EventAttributesOcelVersion;
1424
+ view_id?: string | null;
1396
1425
  };
1397
1426
  export type EventAttributesOcelVersion = typeof EventAttributesOcelVersion[keyof typeof EventAttributesOcelVersion];
1398
1427
  export declare const EventAttributesOcelVersion: {
@@ -1402,6 +1431,7 @@ export declare const EventAttributesOcelVersion: {
1402
1431
  export type AttributeNamesParams = {
1403
1432
  entity_type?: AttributeNamesEntityType;
1404
1433
  ocel_version?: AttributeNamesOcelVersion;
1434
+ view_id?: string | null;
1405
1435
  };
1406
1436
  export type AttributeNamesEntityType = typeof AttributeNamesEntityType[keyof typeof AttributeNamesEntityType] | null;
1407
1437
  export declare const AttributeNamesEntityType: {
@@ -1413,8 +1443,51 @@ export declare const AttributeNamesOcelVersion: {
1413
1443
  readonly original: "original";
1414
1444
  readonly filtered: "filtered";
1415
1445
  };
1446
+ export type AttributeDistributionParams = {
1447
+ attribute: string;
1448
+ entity_type?: AttributeDistributionEntityType;
1449
+ entity_names?: string[] | null;
1450
+ /**
1451
+ * @minimum 1
1452
+ * @maximum 500
1453
+ */
1454
+ bins?: number;
1455
+ ocel_version?: AttributeDistributionOcelVersion;
1456
+ view_id?: string | null;
1457
+ };
1458
+ export type AttributeDistributionEntityType = typeof AttributeDistributionEntityType[keyof typeof AttributeDistributionEntityType];
1459
+ export declare const AttributeDistributionEntityType: {
1460
+ readonly events: "events";
1461
+ readonly objects: "objects";
1462
+ };
1463
+ export type AttributeDistributionOcelVersion = typeof AttributeDistributionOcelVersion[keyof typeof AttributeDistributionOcelVersion];
1464
+ export declare const AttributeDistributionOcelVersion: {
1465
+ readonly original: "original";
1466
+ readonly filtered: "filtered";
1467
+ };
1468
+ export type AttributeValuesParams = {
1469
+ attribute: string;
1470
+ entity_type?: AttributeValuesEntityType;
1471
+ entity_names?: string[] | null;
1472
+ regex?: string | null;
1473
+ search?: string | null;
1474
+ values?: string[] | null;
1475
+ ocel_version?: AttributeValuesOcelVersion;
1476
+ view_id?: string | null;
1477
+ };
1478
+ export type AttributeValuesEntityType = typeof AttributeValuesEntityType[keyof typeof AttributeValuesEntityType];
1479
+ export declare const AttributeValuesEntityType: {
1480
+ readonly events: "events";
1481
+ readonly objects: "objects";
1482
+ };
1483
+ export type AttributeValuesOcelVersion = typeof AttributeValuesOcelVersion[keyof typeof AttributeValuesOcelVersion];
1484
+ export declare const AttributeValuesOcelVersion: {
1485
+ readonly original: "original";
1486
+ readonly filtered: "filtered";
1487
+ };
1416
1488
  export type ObjectTypesParams = {
1417
1489
  ocel_version?: ObjectTypesOcelVersion;
1490
+ view_id?: string | null;
1418
1491
  };
1419
1492
  export type ObjectTypesOcelVersion = typeof ObjectTypesOcelVersion[keyof typeof ObjectTypesOcelVersion];
1420
1493
  export declare const ObjectTypesOcelVersion: {
@@ -1423,6 +1496,7 @@ export declare const ObjectTypesOcelVersion: {
1423
1496
  };
1424
1497
  export type ObjectCountsParams = {
1425
1498
  ocel_version?: ObjectCountsOcelVersion;
1499
+ view_id?: string | null;
1426
1500
  };
1427
1501
  export type ObjectCountsOcelVersion = typeof ObjectCountsOcelVersion[keyof typeof ObjectCountsOcelVersion];
1428
1502
  export declare const ObjectCountsOcelVersion: {
@@ -1437,6 +1511,7 @@ export type ObjectIdsParams = {
1437
1511
  size?: number;
1438
1512
  page?: number;
1439
1513
  ocel_version?: ObjectIdsOcelVersion;
1514
+ view_id?: string | null;
1440
1515
  };
1441
1516
  export type ObjectIdsOcelVersion = typeof ObjectIdsOcelVersion[keyof typeof ObjectIdsOcelVersion];
1442
1517
  export declare const ObjectIdsOcelVersion: {
@@ -1446,6 +1521,7 @@ export declare const ObjectIdsOcelVersion: {
1446
1521
  export type ObjectVariantsParams = {
1447
1522
  object_type: string;
1448
1523
  ocel_version?: ObjectVariantsOcelVersion;
1524
+ view_id?: string | null;
1449
1525
  };
1450
1526
  export type ObjectVariantsOcelVersion = typeof ObjectVariantsOcelVersion[keyof typeof ObjectVariantsOcelVersion];
1451
1527
  export declare const ObjectVariantsOcelVersion: {
@@ -1454,6 +1530,7 @@ export declare const ObjectVariantsOcelVersion: {
1454
1530
  };
1455
1531
  export type ActivitiesParams = {
1456
1532
  ocel_version?: ActivitiesOcelVersion;
1533
+ view_id?: string | null;
1457
1534
  };
1458
1535
  export type ActivitiesOcelVersion = typeof ActivitiesOcelVersion[keyof typeof ActivitiesOcelVersion];
1459
1536
  export declare const ActivitiesOcelVersion: {
@@ -1462,6 +1539,7 @@ export declare const ActivitiesOcelVersion: {
1462
1539
  };
1463
1540
  export type EventCountsParams = {
1464
1541
  ocel_version?: EventCountsOcelVersion;
1542
+ view_id?: string | null;
1465
1543
  };
1466
1544
  export type EventCountsOcelVersion = typeof EventCountsOcelVersion[keyof typeof EventCountsOcelVersion];
1467
1545
  export declare const EventCountsOcelVersion: {
@@ -1476,6 +1554,7 @@ export type EventIdsParams = {
1476
1554
  size?: number;
1477
1555
  page?: number;
1478
1556
  ocel_version?: EventIdsOcelVersion;
1557
+ view_id?: string | null;
1479
1558
  };
1480
1559
  export type EventIdsOcelVersion = typeof EventIdsOcelVersion[keyof typeof EventIdsOcelVersion];
1481
1560
  export declare const EventIdsOcelVersion: {
@@ -1486,6 +1565,7 @@ export type TimeInfoParams = {
1486
1565
  periods?: number | null;
1487
1566
  freq?: string | null;
1488
1567
  ocel_version?: TimeInfoOcelVersion;
1568
+ view_id?: string | null;
1489
1569
  };
1490
1570
  export type TimeInfoOcelVersion = typeof TimeInfoOcelVersion[keyof typeof TimeInfoOcelVersion];
1491
1571
  export declare const TimeInfoOcelVersion: {
@@ -1502,6 +1582,7 @@ export type E2oParams = {
1502
1582
  with_qualifier?: boolean;
1503
1583
  drop_constant?: boolean;
1504
1584
  ocel_version?: E2oOcelVersion;
1585
+ view_id?: string | null;
1505
1586
  };
1506
1587
  export type E2oDirection = typeof E2oDirection[keyof typeof E2oDirection];
1507
1588
  export declare const E2oDirection: {
@@ -1515,6 +1596,7 @@ export declare const E2oOcelVersion: {
1515
1596
  };
1516
1597
  export type E2oQualifierParams = {
1517
1598
  ocel_version?: E2oQualifierOcelVersion;
1599
+ view_id?: string | null;
1518
1600
  };
1519
1601
  export type E2oQualifierOcelVersion = typeof E2oQualifierOcelVersion[keyof typeof E2oQualifierOcelVersion];
1520
1602
  export declare const E2oQualifierOcelVersion: {
@@ -1531,6 +1613,7 @@ export type O2oParams = {
1531
1613
  with_qualifier?: boolean;
1532
1614
  drop_constant?: boolean;
1533
1615
  ocel_version?: O2oOcelVersion;
1616
+ view_id?: string | null;
1534
1617
  };
1535
1618
  export type O2oDirection = typeof O2oDirection[keyof typeof O2oDirection];
1536
1619
  export declare const O2oDirection: {
@@ -1544,6 +1627,7 @@ export declare const O2oOcelVersion: {
1544
1627
  };
1545
1628
  export type O2oQualifierParams = {
1546
1629
  ocel_version?: O2oQualifierOcelVersion;
1630
+ view_id?: string | null;
1547
1631
  };
1548
1632
  export type O2oQualifierOcelVersion = typeof O2oQualifierOcelVersion[keyof typeof O2oQualifierOcelVersion];
1549
1633
  export declare const O2oQualifierOcelVersion: {
@@ -1553,6 +1637,7 @@ export declare const O2oQualifierOcelVersion: {
1553
1637
  export type E2oCombinationsParams = {
1554
1638
  direction?: E2oCombinationsDirection;
1555
1639
  ocel_version?: E2oCombinationsOcelVersion;
1640
+ view_id?: string | null;
1556
1641
  };
1557
1642
  export type E2oCombinationsDirection = typeof E2oCombinationsDirection[keyof typeof E2oCombinationsDirection];
1558
1643
  export declare const E2oCombinationsDirection: {
@@ -1567,6 +1652,7 @@ export declare const E2oCombinationsOcelVersion: {
1567
1652
  export type O2oCombinationsParams = {
1568
1653
  direction?: O2oCombinationsDirection;
1569
1654
  ocel_version?: O2oCombinationsOcelVersion;
1655
+ view_id?: string | null;
1570
1656
  };
1571
1657
  export type O2oCombinationsDirection = typeof O2oCombinationsDirection[keyof typeof O2oCombinationsDirection];
1572
1658
  export declare const O2oCombinationsDirection: {
@@ -1578,8 +1664,55 @@ export declare const O2oCombinationsOcelVersion: {
1578
1664
  readonly original: "original";
1579
1665
  readonly filtered: "filtered";
1580
1666
  };
1667
+ export type E2oCountDistributionParams = {
1668
+ source: string;
1669
+ target: string;
1670
+ direction?: E2oCountDistributionDirection;
1671
+ qualifier?: string | null;
1672
+ /**
1673
+ * @minimum 1
1674
+ * @maximum 500
1675
+ */
1676
+ bins?: number;
1677
+ ocel_version?: E2oCountDistributionOcelVersion;
1678
+ view_id?: string | null;
1679
+ };
1680
+ export type E2oCountDistributionDirection = typeof E2oCountDistributionDirection[keyof typeof E2oCountDistributionDirection];
1681
+ export declare const E2oCountDistributionDirection: {
1682
+ readonly source: "source";
1683
+ readonly target: "target";
1684
+ };
1685
+ export type E2oCountDistributionOcelVersion = typeof E2oCountDistributionOcelVersion[keyof typeof E2oCountDistributionOcelVersion];
1686
+ export declare const E2oCountDistributionOcelVersion: {
1687
+ readonly original: "original";
1688
+ readonly filtered: "filtered";
1689
+ };
1690
+ export type O2oCountDistributionParams = {
1691
+ source: string;
1692
+ target: string;
1693
+ direction?: O2oCountDistributionDirection;
1694
+ qualifier?: string | null;
1695
+ /**
1696
+ * @minimum 1
1697
+ * @maximum 500
1698
+ */
1699
+ bins?: number;
1700
+ ocel_version?: O2oCountDistributionOcelVersion;
1701
+ view_id?: string | null;
1702
+ };
1703
+ export type O2oCountDistributionDirection = typeof O2oCountDistributionDirection[keyof typeof O2oCountDistributionDirection];
1704
+ export declare const O2oCountDistributionDirection: {
1705
+ readonly source: "source";
1706
+ readonly target: "target";
1707
+ };
1708
+ export type O2oCountDistributionOcelVersion = typeof O2oCountDistributionOcelVersion[keyof typeof O2oCountDistributionOcelVersion];
1709
+ export declare const O2oCountDistributionOcelVersion: {
1710
+ readonly original: "original";
1711
+ readonly filtered: "filtered";
1712
+ };
1581
1713
  export type QuantityInfoParams = {
1582
1714
  ocel_version?: QuantityInfoOcelVersion;
1715
+ view_id?: string | null;
1583
1716
  };
1584
1717
  export type QuantityInfoOcelVersion = typeof QuantityInfoOcelVersion[keyof typeof QuantityInfoOcelVersion];
1585
1718
  export declare const QuantityInfoOcelVersion: {
@@ -1606,6 +1739,7 @@ export declare const DownloadOCELOcelVersion: {
1606
1739
  export type DownloadFlatLogParams = {
1607
1740
  object_type_name: string;
1608
1741
  ocel_version?: DownloadFlatLogOcelVersion;
1742
+ view_id?: string | null;
1609
1743
  };
1610
1744
  export type DownloadFlatLogOcelVersion = typeof DownloadFlatLogOcelVersion[keyof typeof DownloadFlatLogOcelVersion];
1611
1745
  export declare const DownloadFlatLogOcelVersion: {
@@ -1619,6 +1753,7 @@ export type DownloadVariantFlatLogParams = {
1619
1753
  */
1620
1754
  variant_ids: string[];
1621
1755
  ocel_version?: DownloadVariantFlatLogOcelVersion;
1756
+ view_id?: string | null;
1622
1757
  };
1623
1758
  export type DownloadVariantFlatLogOcelVersion = typeof DownloadVariantFlatLogOcelVersion[keyof typeof DownloadVariantFlatLogOcelVersion];
1624
1759
  export declare const DownloadVariantFlatLogOcelVersion: {
@@ -1627,6 +1762,7 @@ export declare const DownloadVariantFlatLogOcelVersion: {
1627
1762
  };
1628
1763
  export type RunSqlQueryParams = {
1629
1764
  ocel_version?: RunSqlQueryOcelVersion;
1765
+ view_id?: string | null;
1630
1766
  };
1631
1767
  export type RunSqlQueryOcelVersion = typeof RunSqlQueryOcelVersion[keyof typeof RunSqlQueryOcelVersion];
1632
1768
  export declare const RunSqlQueryOcelVersion: {
@@ -1918,6 +2054,68 @@ export declare function useAttributeNames<TData = Awaited<ReturnType<typeof attr
1918
2054
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
1919
2055
  queryKey: DataTag<QueryKey, TData, TError>;
1920
2056
  };
2057
+ /**
2058
+ * @summary Get Attribute Distribution
2059
+ */
2060
+ export declare const attributeDistribution: (ocelId: string | null, params: AttributeDistributionParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<AttributeDistribution | null>;
2061
+ export declare const getAttributeDistributionQueryKey: (ocelId: string | null, params?: AttributeDistributionParams) => readonly [`/api/external/modules/ocel/v1/${string}/attributes/distribution`, ...AttributeDistributionParams[]];
2062
+ export declare const getAttributeDistributionQueryOptions: <TData = Awaited<ReturnType<typeof attributeDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeDistributionParams, options?: {
2063
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeDistribution>>, TError, TData>>;
2064
+ request?: SecondParameter<typeof customFetch>;
2065
+ }) => UseQueryOptions<Awaited<ReturnType<typeof attributeDistribution>>, TError, TData> & {
2066
+ queryKey: DataTag<QueryKey, TData, TError>;
2067
+ };
2068
+ export type AttributeDistributionQueryResult = NonNullable<Awaited<ReturnType<typeof attributeDistribution>>>;
2069
+ export type AttributeDistributionQueryError = HTTPValidationError$1;
2070
+ export declare function useAttributeDistribution<TData = Awaited<ReturnType<typeof attributeDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeDistributionParams, options: {
2071
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeDistribution>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof attributeDistribution>>, TError, Awaited<ReturnType<typeof attributeDistribution>>>, 'initialData'>;
2072
+ request?: SecondParameter<typeof customFetch>;
2073
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2074
+ queryKey: DataTag<QueryKey, TData, TError>;
2075
+ };
2076
+ export declare function useAttributeDistribution<TData = Awaited<ReturnType<typeof attributeDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeDistributionParams, options?: {
2077
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeDistribution>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof attributeDistribution>>, TError, Awaited<ReturnType<typeof attributeDistribution>>>, 'initialData'>;
2078
+ request?: SecondParameter<typeof customFetch>;
2079
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2080
+ queryKey: DataTag<QueryKey, TData, TError>;
2081
+ };
2082
+ export declare function useAttributeDistribution<TData = Awaited<ReturnType<typeof attributeDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeDistributionParams, options?: {
2083
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeDistribution>>, TError, TData>>;
2084
+ request?: SecondParameter<typeof customFetch>;
2085
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2086
+ queryKey: DataTag<QueryKey, TData, TError>;
2087
+ };
2088
+ /**
2089
+ * @summary Get Attribute Values
2090
+ */
2091
+ export declare const attributeValues: (ocelId: string | null, params: AttributeValuesParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<AttributeMatches>;
2092
+ export declare const getAttributeValuesQueryKey: (ocelId: string | null, params?: AttributeValuesParams) => readonly [`/api/external/modules/ocel/v1/${string}/attributes/values`, ...AttributeValuesParams[]];
2093
+ export declare const getAttributeValuesQueryOptions: <TData = Awaited<ReturnType<typeof attributeValues>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeValuesParams, options?: {
2094
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeValues>>, TError, TData>>;
2095
+ request?: SecondParameter<typeof customFetch>;
2096
+ }) => UseQueryOptions<Awaited<ReturnType<typeof attributeValues>>, TError, TData> & {
2097
+ queryKey: DataTag<QueryKey, TData, TError>;
2098
+ };
2099
+ export type AttributeValuesQueryResult = NonNullable<Awaited<ReturnType<typeof attributeValues>>>;
2100
+ export type AttributeValuesQueryError = HTTPValidationError$1;
2101
+ export declare function useAttributeValues<TData = Awaited<ReturnType<typeof attributeValues>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeValuesParams, options: {
2102
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeValues>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof attributeValues>>, TError, Awaited<ReturnType<typeof attributeValues>>>, 'initialData'>;
2103
+ request?: SecondParameter<typeof customFetch>;
2104
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2105
+ queryKey: DataTag<QueryKey, TData, TError>;
2106
+ };
2107
+ export declare function useAttributeValues<TData = Awaited<ReturnType<typeof attributeValues>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeValuesParams, options?: {
2108
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeValues>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof attributeValues>>, TError, Awaited<ReturnType<typeof attributeValues>>>, 'initialData'>;
2109
+ request?: SecondParameter<typeof customFetch>;
2110
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2111
+ queryKey: DataTag<QueryKey, TData, TError>;
2112
+ };
2113
+ export declare function useAttributeValues<TData = Awaited<ReturnType<typeof attributeValues>>, TError = HTTPValidationError$1>(ocelId: string | null, params: AttributeValuesParams, options?: {
2114
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attributeValues>>, TError, TData>>;
2115
+ request?: SecondParameter<typeof customFetch>;
2116
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2117
+ queryKey: DataTag<QueryKey, TData, TError>;
2118
+ };
1921
2119
  /**
1922
2120
  * @summary Get Object Types
1923
2121
  */
@@ -2353,6 +2551,68 @@ export declare function useO2oCombinations<TData = Awaited<ReturnType<typeof o2o
2353
2551
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2354
2552
  queryKey: DataTag<QueryKey, TData, TError>;
2355
2553
  };
2554
+ /**
2555
+ * @summary Get E2O Count Distribution
2556
+ */
2557
+ export declare const e2oCountDistribution: (ocelId: string | null, params: E2oCountDistributionParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCountDistribution>;
2558
+ export declare const getE2oCountDistributionQueryKey: (ocelId: string | null, params?: E2oCountDistributionParams) => readonly [`/api/external/modules/ocel/v1/${string}/relations/e2o/distribution`, ...E2oCountDistributionParams[]];
2559
+ export declare const getE2oCountDistributionQueryOptions: <TData = Awaited<ReturnType<typeof e2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: E2oCountDistributionParams, options?: {
2560
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCountDistribution>>, TError, TData>>;
2561
+ request?: SecondParameter<typeof customFetch>;
2562
+ }) => UseQueryOptions<Awaited<ReturnType<typeof e2oCountDistribution>>, TError, TData> & {
2563
+ queryKey: DataTag<QueryKey, TData, TError>;
2564
+ };
2565
+ export type E2oCountDistributionQueryResult = NonNullable<Awaited<ReturnType<typeof e2oCountDistribution>>>;
2566
+ export type E2oCountDistributionQueryError = HTTPValidationError$1;
2567
+ export declare function useE2oCountDistribution<TData = Awaited<ReturnType<typeof e2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: E2oCountDistributionParams, options: {
2568
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCountDistribution>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCountDistribution>>, TError, Awaited<ReturnType<typeof e2oCountDistribution>>>, 'initialData'>;
2569
+ request?: SecondParameter<typeof customFetch>;
2570
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2571
+ queryKey: DataTag<QueryKey, TData, TError>;
2572
+ };
2573
+ export declare function useE2oCountDistribution<TData = Awaited<ReturnType<typeof e2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: E2oCountDistributionParams, options?: {
2574
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCountDistribution>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof e2oCountDistribution>>, TError, Awaited<ReturnType<typeof e2oCountDistribution>>>, 'initialData'>;
2575
+ request?: SecondParameter<typeof customFetch>;
2576
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2577
+ queryKey: DataTag<QueryKey, TData, TError>;
2578
+ };
2579
+ export declare function useE2oCountDistribution<TData = Awaited<ReturnType<typeof e2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: E2oCountDistributionParams, options?: {
2580
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof e2oCountDistribution>>, TError, TData>>;
2581
+ request?: SecondParameter<typeof customFetch>;
2582
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2583
+ queryKey: DataTag<QueryKey, TData, TError>;
2584
+ };
2585
+ /**
2586
+ * @summary Get O2O Count Distribution
2587
+ */
2588
+ export declare const o2oCountDistribution: (ocelId: string | null, params: O2oCountDistributionParams, options?: SecondParameter<typeof customFetch>, signal?: AbortSignal) => Promise<RelationCountDistribution>;
2589
+ export declare const getO2oCountDistributionQueryKey: (ocelId: string | null, params?: O2oCountDistributionParams) => readonly [`/api/external/modules/ocel/v1/${string}/relations/o2o/distribution`, ...O2oCountDistributionParams[]];
2590
+ export declare const getO2oCountDistributionQueryOptions: <TData = Awaited<ReturnType<typeof o2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: O2oCountDistributionParams, options?: {
2591
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCountDistribution>>, TError, TData>>;
2592
+ request?: SecondParameter<typeof customFetch>;
2593
+ }) => UseQueryOptions<Awaited<ReturnType<typeof o2oCountDistribution>>, TError, TData> & {
2594
+ queryKey: DataTag<QueryKey, TData, TError>;
2595
+ };
2596
+ export type O2oCountDistributionQueryResult = NonNullable<Awaited<ReturnType<typeof o2oCountDistribution>>>;
2597
+ export type O2oCountDistributionQueryError = HTTPValidationError$1;
2598
+ export declare function useO2oCountDistribution<TData = Awaited<ReturnType<typeof o2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: O2oCountDistributionParams, options: {
2599
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCountDistribution>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCountDistribution>>, TError, Awaited<ReturnType<typeof o2oCountDistribution>>>, 'initialData'>;
2600
+ request?: SecondParameter<typeof customFetch>;
2601
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
2602
+ queryKey: DataTag<QueryKey, TData, TError>;
2603
+ };
2604
+ export declare function useO2oCountDistribution<TData = Awaited<ReturnType<typeof o2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: O2oCountDistributionParams, options?: {
2605
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCountDistribution>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof o2oCountDistribution>>, TError, Awaited<ReturnType<typeof o2oCountDistribution>>>, 'initialData'>;
2606
+ request?: SecondParameter<typeof customFetch>;
2607
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2608
+ queryKey: DataTag<QueryKey, TData, TError>;
2609
+ };
2610
+ export declare function useO2oCountDistribution<TData = Awaited<ReturnType<typeof o2oCountDistribution>>, TError = HTTPValidationError$1>(ocelId: string | null, params: O2oCountDistributionParams, options?: {
2611
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof o2oCountDistribution>>, TError, TData>>;
2612
+ request?: SecondParameter<typeof customFetch>;
2613
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2614
+ queryKey: DataTag<QueryKey, TData, TError>;
2615
+ };
2356
2616
  /**
2357
2617
  * @summary Get Quantity Info
2358
2618
  */
@@ -2509,5 +2769,4 @@ export declare function useRunSqlQuery<TData = Awaited<ReturnType<typeof runSqlQ
2509
2769
  }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
2510
2770
  queryKey: DataTag<QueryKey, TData, TError>;
2511
2771
  };
2512
- //#endregion
2513
2772
  export {};
package/dist/index.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import { useMutation, useQuery } from "@tanstack/react-query";
2
2
  import { customFetch } from "@ocelescope/api-client";
3
- //#region src/lib/fetcher.ts
3
+ // src/lib/fetcher.ts
4
4
  const customFetch$1 = async (config, options) => customFetch(config, options);
5
- //#endregion
6
- //#region src/api/base/index.ts
5
+ // src/api/base/index.ts
7
6
  /**
8
7
  * Generated by orval 🍺
9
8
  * Do not edit manually.
@@ -114,7 +113,7 @@ const upload = (bodyUpload, options, signal) => {
114
113
  method: "POST",
115
114
  headers: { "Content-Type": "multipart/form-data" },
116
115
  data: formData,
117
- ...signal ? { signal } : {}
116
+ signal
118
117
  }, options);
119
118
  };
120
119
  const getUploadMutationKey = () => ["upload"];
@@ -152,7 +151,7 @@ const logout = (options, signal) => {
152
151
  return customFetch$1({
153
152
  url: `/api/external/session/logout`,
154
153
  method: "POST",
155
- ...signal ? { signal } : {}
154
+ signal
156
155
  }, options);
157
156
  };
158
157
  const getLogoutMutationKey = () => ["logout"];
@@ -190,7 +189,7 @@ const getSystemTasks = (params, options, signal) => {
190
189
  url: `/api/external/tasks/system`,
191
190
  method: "GET",
192
191
  params,
193
- ...signal ? { signal } : {}
192
+ signal
194
193
  }, options);
195
194
  };
196
195
  const getGetSystemTasksQueryKey = (params) => {
@@ -222,7 +221,7 @@ const getSystemTask = (taskId, options, signal) => {
222
221
  return customFetch$1({
223
222
  url: `/api/external/tasks/system/${taskId}`,
224
223
  method: "GET",
225
- ...signal ? { signal } : {}
224
+ signal
226
225
  }, options);
227
226
  };
228
227
  const getGetSystemTaskQueryKey = (taskId) => {
@@ -256,7 +255,7 @@ const plugins = (params, options, signal) => {
256
255
  url: `/api/external/plugins`,
257
256
  method: "GET",
258
257
  params,
259
- ...signal ? { signal } : {}
258
+ signal
260
259
  }, options);
261
260
  };
262
261
  const getPluginsQueryKey = (params) => {
@@ -288,7 +287,7 @@ const getPlugin = (pluginId, options, signal) => {
288
287
  return customFetch$1({
289
288
  url: `/api/external/plugins/plugin/${pluginId}`,
290
289
  method: "GET",
291
- ...signal ? { signal } : {}
290
+ signal
292
291
  }, options);
293
292
  };
294
293
  const getGetPluginQueryKey = (pluginId) => {
@@ -321,7 +320,7 @@ const deletePlugin = (pluginId, options, signal) => {
321
320
  return customFetch$1({
322
321
  url: `/api/external/plugins/plugin/${pluginId}`,
323
322
  method: "DELETE",
324
- ...signal ? { signal } : {}
323
+ signal
325
324
  }, options);
326
325
  };
327
326
  const getDeletePluginMutationKey = () => ["deletePlugin"];
@@ -359,7 +358,7 @@ const getPluginMethod = (pluginId, methodName, options, signal) => {
359
358
  return customFetch$1({
360
359
  url: `/api/external/plugins/plugin/${pluginId}/${methodName}`,
361
360
  method: "GET",
362
- ...signal ? { signal } : {}
361
+ signal
363
362
  }, options);
364
363
  };
365
364
  const getGetPluginMethodQueryKey = (pluginId, methodName) => {
@@ -394,7 +393,7 @@ const runPlugin = (pluginId, methodName, bodyRunPlugin, options, signal) => {
394
393
  method: "POST",
395
394
  headers: { "Content-Type": "application/json" },
396
395
  data: bodyRunPlugin,
397
- ...signal ? { signal } : {}
396
+ signal
398
397
  }, options);
399
398
  };
400
399
  const getRunPluginMutationKey = () => ["runPlugin"];
@@ -432,7 +431,7 @@ const pluginResult = (taskId, options, signal) => {
432
431
  return customFetch$1({
433
432
  url: `/api/external/plugins/task/${taskId}`,
434
433
  method: "GET",
435
- ...signal ? { signal } : {}
434
+ signal
436
435
  }, options);
437
436
  };
438
437
  const getPluginResultQueryKey = (taskId) => {
@@ -468,7 +467,7 @@ const savePluginResults = (taskId, resultSelection, options, signal) => {
468
467
  method: "POST",
469
468
  headers: { "Content-Type": "application/json" },
470
469
  data: resultSelection,
471
- ...signal ? { signal } : {}
470
+ signal
472
471
  }, options);
473
472
  };
474
473
  const getSavePluginResultsMutationKey = () => ["savePluginResults"];
@@ -509,7 +508,7 @@ const downloadPluginResults = (taskId, bodyDownloadPluginResults, options, signa
509
508
  method: "POST",
510
509
  headers: { "Content-Type": "application/json" },
511
510
  data: bodyDownloadPluginResults,
512
- ...signal ? { signal } : {}
511
+ signal
513
512
  }, options);
514
513
  };
515
514
  const getDownloadPluginResultsMutationKey = () => ["downloadPluginResults"];
@@ -549,7 +548,7 @@ const getComputedValues = (pluginId, methodName, provider, bodyGetComputedValues
549
548
  method: "POST",
550
549
  headers: { "Content-Type": "application/json" },
551
550
  data: bodyGetComputedValues,
552
- ...signal ? { signal } : {}
551
+ signal
553
552
  }, options);
554
553
  };
555
554
  const getGetComputedValuesQueryKey = (pluginId, methodName, provider, bodyGetComputedValues) => {
@@ -587,7 +586,7 @@ const resources = (params, options, signal) => {
587
586
  url: `/api/external/resources`,
588
587
  method: "GET",
589
588
  params,
590
- ...signal ? { signal } : {}
589
+ signal
591
590
  }, options);
592
591
  };
593
592
  const getResourcesQueryKey = (params) => {
@@ -619,7 +618,7 @@ const getResourceMeta = (options, signal) => {
619
618
  return customFetch$1({
620
619
  url: `/api/external/resources/meta`,
621
620
  method: "GET",
622
- ...signal ? { signal } : {}
621
+ signal
623
622
  }, options);
624
623
  };
625
624
  const getGetResourceMetaQueryKey = () => {
@@ -651,7 +650,7 @@ const downloadResource = (resourceId, options, signal) => {
651
650
  return customFetch$1({
652
651
  url: `/api/external/resources/resource/${resourceId}/download`,
653
652
  method: "GET",
654
- ...signal ? { signal } : {}
653
+ signal
655
654
  }, options);
656
655
  };
657
656
  const getDownloadResourceQueryKey = (resourceId) => {
@@ -684,7 +683,7 @@ const downloadResourceAsPnml = (resourceId, options, signal) => {
684
683
  return customFetch$1({
685
684
  url: `/api/external/resources/resource/${resourceId}/download/pnml`,
686
685
  method: "GET",
687
- ...signal ? { signal } : {}
686
+ signal
688
687
  }, options);
689
688
  };
690
689
  const getDownloadResourceAsPnmlQueryKey = (resourceId) => {
@@ -717,7 +716,7 @@ const resource = (resourceId, options, signal) => {
717
716
  return customFetch$1({
718
717
  url: `/api/external/resources/resource/${resourceId}`,
719
718
  method: "GET",
720
- ...signal ? { signal } : {}
719
+ signal
721
720
  }, options);
722
721
  };
723
722
  const getResourceQueryKey = (resourceId) => {
@@ -750,7 +749,7 @@ const deleteResource = (resourceId, options, signal) => {
750
749
  return customFetch$1({
751
750
  url: `/api/external/resources/resource/${resourceId}`,
752
751
  method: "DELETE",
753
- ...signal ? { signal } : {}
752
+ signal
754
753
  }, options);
755
754
  };
756
755
  const getDeleteResourceMutationKey = () => ["deleteResource"];
@@ -789,7 +788,7 @@ const renameResource = (resourceId, params, options, signal) => {
789
788
  url: `/api/external/resources/resource/${resourceId}`,
790
789
  method: "POST",
791
790
  params,
792
- ...signal ? { signal } : {}
791
+ signal
793
792
  }, options);
794
793
  };
795
794
  const getRenameResourceMutationKey = () => ["renameResource"];
@@ -820,8 +819,7 @@ const getRenameResourceMutationOptions = (options) => {
820
819
  const useRenameResource = (options, queryClient) => {
821
820
  return useMutation(getRenameResourceMutationOptions(options), queryClient);
822
821
  };
823
- //#endregion
824
- //#region src/api/ocel/index.ts
822
+ // src/api/ocel/index.ts
825
823
  /**
826
824
  * Generated by orval 🍺
827
825
  * Do not edit manually.
@@ -860,6 +858,22 @@ const AttributeNamesOcelVersion = {
860
858
  original: "original",
861
859
  filtered: "filtered"
862
860
  };
861
+ const AttributeDistributionEntityType = {
862
+ events: "events",
863
+ objects: "objects"
864
+ };
865
+ const AttributeDistributionOcelVersion = {
866
+ original: "original",
867
+ filtered: "filtered"
868
+ };
869
+ const AttributeValuesEntityType = {
870
+ events: "events",
871
+ objects: "objects"
872
+ };
873
+ const AttributeValuesOcelVersion = {
874
+ original: "original",
875
+ filtered: "filtered"
876
+ };
863
877
  const ObjectTypesOcelVersion = {
864
878
  original: "original",
865
879
  filtered: "filtered"
@@ -932,6 +946,22 @@ const O2oCombinationsOcelVersion = {
932
946
  original: "original",
933
947
  filtered: "filtered"
934
948
  };
949
+ const E2oCountDistributionDirection = {
950
+ source: "source",
951
+ target: "target"
952
+ };
953
+ const E2oCountDistributionOcelVersion = {
954
+ original: "original",
955
+ filtered: "filtered"
956
+ };
957
+ const O2oCountDistributionDirection = {
958
+ source: "source",
959
+ target: "target"
960
+ };
961
+ const O2oCountDistributionOcelVersion = {
962
+ original: "original",
963
+ filtered: "filtered"
964
+ };
935
965
  const QuantityInfoOcelVersion = {
936
966
  original: "original",
937
967
  filtered: "filtered"
@@ -979,7 +1009,7 @@ const getOcels = (options, signal) => {
979
1009
  return customFetch$1({
980
1010
  url: `/api/external/modules/ocel/v1/ocels`,
981
1011
  method: "GET",
982
- ...signal ? { signal } : {}
1012
+ signal
983
1013
  }, options);
984
1014
  };
985
1015
  const getGetOcelsQueryKey = () => {
@@ -1011,7 +1041,7 @@ const getDefaultOcel = (options, signal) => {
1011
1041
  return customFetch$1({
1012
1042
  url: `/api/external/modules/ocel/v1/default`,
1013
1043
  method: "GET",
1014
- ...signal ? { signal } : {}
1044
+ signal
1015
1045
  }, options);
1016
1046
  };
1017
1047
  const getGetDefaultOcelQueryKey = () => {
@@ -1044,7 +1074,7 @@ const importDefaultOcel = (params, options, signal) => {
1044
1074
  url: `/api/external/modules/ocel/v1/default`,
1045
1075
  method: "POST",
1046
1076
  params,
1047
- ...signal ? { signal } : {}
1077
+ signal
1048
1078
  }, options);
1049
1079
  };
1050
1080
  const getImportDefaultOcelMutationKey = () => ["importDefaultOcel"];
@@ -1082,7 +1112,7 @@ const getOcel = (ocelId, options, signal) => {
1082
1112
  return customFetch$1({
1083
1113
  url: `/api/external/modules/ocel/v1/${ocelId}`,
1084
1114
  method: "GET",
1085
- ...signal ? { signal } : {}
1115
+ signal
1086
1116
  }, options);
1087
1117
  };
1088
1118
  const getGetOcelQueryKey = (ocelId) => {
@@ -1116,7 +1146,7 @@ const deleteOcel = (ocelId, options, signal) => {
1116
1146
  return customFetch$1({
1117
1147
  url: `/api/external/modules/ocel/v1/${ocelId}/delete`,
1118
1148
  method: "POST",
1119
- ...signal ? { signal } : {}
1149
+ signal
1120
1150
  }, options);
1121
1151
  };
1122
1152
  const getDeleteOcelMutationKey = () => ["deleteOcel"];
@@ -1156,7 +1186,7 @@ const renameOcel = (ocelId, params, options, signal) => {
1156
1186
  url: `/api/external/modules/ocel/v1/${ocelId}/rename`,
1157
1187
  method: "POST",
1158
1188
  params,
1159
- ...signal ? { signal } : {}
1189
+ signal
1160
1190
  }, options);
1161
1191
  };
1162
1192
  const getRenameOcelMutationKey = () => ["renameOcel"];
@@ -1195,7 +1225,7 @@ const aggregatedAttributes = (ocelId, params, options, signal) => {
1195
1225
  url: `/api/external/modules/ocel/v1/${ocelId}/attributes`,
1196
1226
  method: "GET",
1197
1227
  params,
1198
- ...signal ? { signal } : {}
1228
+ signal
1199
1229
  }, options);
1200
1230
  };
1201
1231
  const getAggregatedAttributesQueryKey = (ocelId, params) => {
@@ -1229,7 +1259,7 @@ const objectAttributes = (ocelId, params, options, signal) => {
1229
1259
  url: `/api/external/modules/ocel/v1/${ocelId}/objects/attributes`,
1230
1260
  method: "GET",
1231
1261
  params,
1232
- ...signal ? { signal } : {}
1262
+ signal
1233
1263
  }, options);
1234
1264
  };
1235
1265
  const getObjectAttributesQueryKey = (ocelId, params) => {
@@ -1263,7 +1293,7 @@ const eventAttributes = (ocelId, params, options, signal) => {
1263
1293
  url: `/api/external/modules/ocel/v1/${ocelId}/events/attributes`,
1264
1294
  method: "GET",
1265
1295
  params,
1266
- ...signal ? { signal } : {}
1296
+ signal
1267
1297
  }, options);
1268
1298
  };
1269
1299
  const getEventAttributesQueryKey = (ocelId, params) => {
@@ -1297,7 +1327,7 @@ const attributeNames = (ocelId, params, options, signal) => {
1297
1327
  url: `/api/external/modules/ocel/v1/${ocelId}/attribute/names`,
1298
1328
  method: "GET",
1299
1329
  params,
1300
- ...signal ? { signal } : {}
1330
+ signal
1301
1331
  }, options);
1302
1332
  };
1303
1333
  const getAttributeNamesQueryKey = (ocelId, params) => {
@@ -1324,6 +1354,74 @@ function useAttributeNames(ocelId, params, options, queryClient) {
1324
1354
  return withQueryKey(query, queryOptions.queryKey);
1325
1355
  }
1326
1356
  /**
1357
+ * @summary Get Attribute Distribution
1358
+ */
1359
+ const attributeDistribution = (ocelId, params, options, signal) => {
1360
+ return customFetch$1({
1361
+ url: `/api/external/modules/ocel/v1/${ocelId}/attributes/distribution`,
1362
+ method: "GET",
1363
+ params,
1364
+ signal
1365
+ }, options);
1366
+ };
1367
+ const getAttributeDistributionQueryKey = (ocelId, params) => {
1368
+ return [`/api/external/modules/ocel/v1/${ocelId}/attributes/distribution`, ...params ? [params] : []];
1369
+ };
1370
+ const getAttributeDistributionQueryOptions = (ocelId, params, options) => {
1371
+ const { query: queryOptions, request: requestOptions } = options ?? {};
1372
+ const queryKey = queryOptions?.queryKey ?? getAttributeDistributionQueryKey(ocelId, params);
1373
+ const queryFn = ({ signal }) => attributeDistribution(ocelId, params, requestOptions, signal);
1374
+ return {
1375
+ queryKey,
1376
+ queryFn,
1377
+ enabled: ocelId !== null && ocelId !== void 0,
1378
+ staleTime: 3e5,
1379
+ ...queryOptions
1380
+ };
1381
+ };
1382
+ /**
1383
+ * @summary Get Attribute Distribution
1384
+ */
1385
+ function useAttributeDistribution(ocelId, params, options, queryClient) {
1386
+ const queryOptions = getAttributeDistributionQueryOptions(ocelId, params, options);
1387
+ const query = useQuery(queryOptions, queryClient);
1388
+ return withQueryKey(query, queryOptions.queryKey);
1389
+ }
1390
+ /**
1391
+ * @summary Get Attribute Values
1392
+ */
1393
+ const attributeValues = (ocelId, params, options, signal) => {
1394
+ return customFetch$1({
1395
+ url: `/api/external/modules/ocel/v1/${ocelId}/attributes/values`,
1396
+ method: "GET",
1397
+ params,
1398
+ signal
1399
+ }, options);
1400
+ };
1401
+ const getAttributeValuesQueryKey = (ocelId, params) => {
1402
+ return [`/api/external/modules/ocel/v1/${ocelId}/attributes/values`, ...params ? [params] : []];
1403
+ };
1404
+ const getAttributeValuesQueryOptions = (ocelId, params, options) => {
1405
+ const { query: queryOptions, request: requestOptions } = options ?? {};
1406
+ const queryKey = queryOptions?.queryKey ?? getAttributeValuesQueryKey(ocelId, params);
1407
+ const queryFn = ({ signal }) => attributeValues(ocelId, params, requestOptions, signal);
1408
+ return {
1409
+ queryKey,
1410
+ queryFn,
1411
+ enabled: ocelId !== null && ocelId !== void 0,
1412
+ staleTime: 3e5,
1413
+ ...queryOptions
1414
+ };
1415
+ };
1416
+ /**
1417
+ * @summary Get Attribute Values
1418
+ */
1419
+ function useAttributeValues(ocelId, params, options, queryClient) {
1420
+ const queryOptions = getAttributeValuesQueryOptions(ocelId, params, options);
1421
+ const query = useQuery(queryOptions, queryClient);
1422
+ return withQueryKey(query, queryOptions.queryKey);
1423
+ }
1424
+ /**
1327
1425
  * @summary Get Object Types
1328
1426
  */
1329
1427
  const objectTypes = (ocelId, params, options, signal) => {
@@ -1331,7 +1429,7 @@ const objectTypes = (ocelId, params, options, signal) => {
1331
1429
  url: `/api/external/modules/ocel/v1/${ocelId}/objects/types`,
1332
1430
  method: "GET",
1333
1431
  params,
1334
- ...signal ? { signal } : {}
1432
+ signal
1335
1433
  }, options);
1336
1434
  };
1337
1435
  const getObjectTypesQueryKey = (ocelId, params) => {
@@ -1365,7 +1463,7 @@ const objectCounts = (ocelId, params, options, signal) => {
1365
1463
  url: `/api/external/modules/ocel/v1/${ocelId}/objects/counts`,
1366
1464
  method: "GET",
1367
1465
  params,
1368
- ...signal ? { signal } : {}
1466
+ signal
1369
1467
  }, options);
1370
1468
  };
1371
1469
  const getObjectCountsQueryKey = (ocelId, params) => {
@@ -1399,7 +1497,7 @@ const objectIds = (ocelId, params, options, signal) => {
1399
1497
  url: `/api/external/modules/ocel/v1/${ocelId}/objects/ids`,
1400
1498
  method: "GET",
1401
1499
  params,
1402
- ...signal ? { signal } : {}
1500
+ signal
1403
1501
  }, options);
1404
1502
  };
1405
1503
  const getObjectIdsQueryKey = (ocelId, params) => {
@@ -1434,7 +1532,7 @@ const objectVariants = (ocelId, params, options, signal) => {
1434
1532
  url: `/api/external/modules/ocel/v1/${ocelId}/objects/variants`,
1435
1533
  method: "GET",
1436
1534
  params,
1437
- ...signal ? { signal } : {}
1535
+ signal
1438
1536
  }, options);
1439
1537
  };
1440
1538
  const getObjectVariantsQueryKey = (ocelId, params) => {
@@ -1468,7 +1566,7 @@ const activities = (ocelId, params, options, signal) => {
1468
1566
  url: `/api/external/modules/ocel/v1/${ocelId}/events/activityNames`,
1469
1567
  method: "GET",
1470
1568
  params,
1471
- ...signal ? { signal } : {}
1569
+ signal
1472
1570
  }, options);
1473
1571
  };
1474
1572
  const getActivitiesQueryKey = (ocelId, params) => {
@@ -1502,7 +1600,7 @@ const eventCounts = (ocelId, params, options, signal) => {
1502
1600
  url: `/api/external/modules/ocel/v1/${ocelId}/events/counts`,
1503
1601
  method: "GET",
1504
1602
  params,
1505
- ...signal ? { signal } : {}
1603
+ signal
1506
1604
  }, options);
1507
1605
  };
1508
1606
  const getEventCountsQueryKey = (ocelId, params) => {
@@ -1536,7 +1634,7 @@ const eventIds = (ocelId, params, options, signal) => {
1536
1634
  url: `/api/external/modules/ocel/v1/${ocelId}/events/ids`,
1537
1635
  method: "GET",
1538
1636
  params,
1539
- ...signal ? { signal } : {}
1637
+ signal
1540
1638
  }, options);
1541
1639
  };
1542
1640
  const getEventIdsQueryKey = (ocelId, params) => {
@@ -1570,7 +1668,7 @@ const timeInfo = (ocelId, params, options, signal) => {
1570
1668
  url: `/api/external/modules/ocel/v1/${ocelId}/events/time`,
1571
1669
  method: "GET",
1572
1670
  params,
1573
- ...signal ? { signal } : {}
1671
+ signal
1574
1672
  }, options);
1575
1673
  };
1576
1674
  const getTimeInfoQueryKey = (ocelId, params) => {
@@ -1604,7 +1702,7 @@ const e2o = (ocelId, params, options, signal) => {
1604
1702
  url: `/api/external/modules/ocel/v1/${ocelId}/relations/e2o`,
1605
1703
  method: "GET",
1606
1704
  params,
1607
- ...signal ? { signal } : {}
1705
+ signal
1608
1706
  }, options);
1609
1707
  };
1610
1708
  const getE2oQueryKey = (ocelId, params) => {
@@ -1638,7 +1736,7 @@ const e2oQualifier = (ocelId, params, options, signal) => {
1638
1736
  url: `/api/external/modules/ocel/v1/${ocelId}/relations/e2o/qualifiers`,
1639
1737
  method: "GET",
1640
1738
  params,
1641
- ...signal ? { signal } : {}
1739
+ signal
1642
1740
  }, options);
1643
1741
  };
1644
1742
  const getE2oQualifierQueryKey = (ocelId, params) => {
@@ -1672,7 +1770,7 @@ const o2o = (ocelId, params, options, signal) => {
1672
1770
  url: `/api/external/modules/ocel/v1/${ocelId}/relations/o2o`,
1673
1771
  method: "GET",
1674
1772
  params,
1675
- ...signal ? { signal } : {}
1773
+ signal
1676
1774
  }, options);
1677
1775
  };
1678
1776
  const getO2oQueryKey = (ocelId, params) => {
@@ -1706,7 +1804,7 @@ const o2oQualifier = (ocelId, params, options, signal) => {
1706
1804
  url: `/api/external/modules/ocel/v1/${ocelId}/relations/o2o/qualifiers`,
1707
1805
  method: "GET",
1708
1806
  params,
1709
- ...signal ? { signal } : {}
1807
+ signal
1710
1808
  }, options);
1711
1809
  };
1712
1810
  const getO2oQualifierQueryKey = (ocelId, params) => {
@@ -1740,7 +1838,7 @@ const e2oCombinations = (ocelId, params, options, signal) => {
1740
1838
  url: `/api/external/modules/ocel/v1/${ocelId}/relations/e2o/combinations`,
1741
1839
  method: "GET",
1742
1840
  params,
1743
- ...signal ? { signal } : {}
1841
+ signal
1744
1842
  }, options);
1745
1843
  };
1746
1844
  const getE2oCombinationsQueryKey = (ocelId, params) => {
@@ -1774,7 +1872,7 @@ const o2oCombinations = (ocelId, params, options, signal) => {
1774
1872
  url: `/api/external/modules/ocel/v1/${ocelId}/relations/o2o/combinations`,
1775
1873
  method: "GET",
1776
1874
  params,
1777
- ...signal ? { signal } : {}
1875
+ signal
1778
1876
  }, options);
1779
1877
  };
1780
1878
  const getO2oCombinationsQueryKey = (ocelId, params) => {
@@ -1801,6 +1899,74 @@ function useO2oCombinations(ocelId, params, options, queryClient) {
1801
1899
  return withQueryKey(query, queryOptions.queryKey);
1802
1900
  }
1803
1901
  /**
1902
+ * @summary Get E2O Count Distribution
1903
+ */
1904
+ const e2oCountDistribution = (ocelId, params, options, signal) => {
1905
+ return customFetch$1({
1906
+ url: `/api/external/modules/ocel/v1/${ocelId}/relations/e2o/distribution`,
1907
+ method: "GET",
1908
+ params,
1909
+ signal
1910
+ }, options);
1911
+ };
1912
+ const getE2oCountDistributionQueryKey = (ocelId, params) => {
1913
+ return [`/api/external/modules/ocel/v1/${ocelId}/relations/e2o/distribution`, ...params ? [params] : []];
1914
+ };
1915
+ const getE2oCountDistributionQueryOptions = (ocelId, params, options) => {
1916
+ const { query: queryOptions, request: requestOptions } = options ?? {};
1917
+ const queryKey = queryOptions?.queryKey ?? getE2oCountDistributionQueryKey(ocelId, params);
1918
+ const queryFn = ({ signal }) => e2oCountDistribution(ocelId, params, requestOptions, signal);
1919
+ return {
1920
+ queryKey,
1921
+ queryFn,
1922
+ enabled: ocelId !== null && ocelId !== void 0,
1923
+ staleTime: 3e5,
1924
+ ...queryOptions
1925
+ };
1926
+ };
1927
+ /**
1928
+ * @summary Get E2O Count Distribution
1929
+ */
1930
+ function useE2oCountDistribution(ocelId, params, options, queryClient) {
1931
+ const queryOptions = getE2oCountDistributionQueryOptions(ocelId, params, options);
1932
+ const query = useQuery(queryOptions, queryClient);
1933
+ return withQueryKey(query, queryOptions.queryKey);
1934
+ }
1935
+ /**
1936
+ * @summary Get O2O Count Distribution
1937
+ */
1938
+ const o2oCountDistribution = (ocelId, params, options, signal) => {
1939
+ return customFetch$1({
1940
+ url: `/api/external/modules/ocel/v1/${ocelId}/relations/o2o/distribution`,
1941
+ method: "GET",
1942
+ params,
1943
+ signal
1944
+ }, options);
1945
+ };
1946
+ const getO2oCountDistributionQueryKey = (ocelId, params) => {
1947
+ return [`/api/external/modules/ocel/v1/${ocelId}/relations/o2o/distribution`, ...params ? [params] : []];
1948
+ };
1949
+ const getO2oCountDistributionQueryOptions = (ocelId, params, options) => {
1950
+ const { query: queryOptions, request: requestOptions } = options ?? {};
1951
+ const queryKey = queryOptions?.queryKey ?? getO2oCountDistributionQueryKey(ocelId, params);
1952
+ const queryFn = ({ signal }) => o2oCountDistribution(ocelId, params, requestOptions, signal);
1953
+ return {
1954
+ queryKey,
1955
+ queryFn,
1956
+ enabled: ocelId !== null && ocelId !== void 0,
1957
+ staleTime: 3e5,
1958
+ ...queryOptions
1959
+ };
1960
+ };
1961
+ /**
1962
+ * @summary Get O2O Count Distribution
1963
+ */
1964
+ function useO2oCountDistribution(ocelId, params, options, queryClient) {
1965
+ const queryOptions = getO2oCountDistributionQueryOptions(ocelId, params, options);
1966
+ const query = useQuery(queryOptions, queryClient);
1967
+ return withQueryKey(query, queryOptions.queryKey);
1968
+ }
1969
+ /**
1804
1970
  * @summary Get Quantity Info
1805
1971
  */
1806
1972
  const quantityInfo = (ocelId, params, options, signal) => {
@@ -1808,7 +1974,7 @@ const quantityInfo = (ocelId, params, options, signal) => {
1808
1974
  url: `/api/external/modules/ocel/v1/${ocelId}/quantity/info`,
1809
1975
  method: "GET",
1810
1976
  params,
1811
- ...signal ? { signal } : {}
1977
+ signal
1812
1978
  }, options);
1813
1979
  };
1814
1980
  const getQuantityInfoQueryKey = (ocelId, params) => {
@@ -1842,7 +2008,7 @@ const downloadOCEL = (ocelId, params, options, signal) => {
1842
2008
  url: `/api/external/modules/ocel/v1/${ocelId}/download`,
1843
2009
  method: "GET",
1844
2010
  params,
1845
- ...signal ? { signal } : {}
2011
+ signal
1846
2012
  }, options);
1847
2013
  };
1848
2014
  const getDownloadOCELQueryKey = (ocelId, params) => {
@@ -1876,7 +2042,7 @@ const downloadFlatLog = (ocelId, params, options, signal) => {
1876
2042
  url: `/api/external/modules/ocel/v1/${ocelId}/download/xes`,
1877
2043
  method: "GET",
1878
2044
  params,
1879
- ...signal ? { signal } : {}
2045
+ signal
1880
2046
  }, options);
1881
2047
  };
1882
2048
  const getDownloadFlatLogQueryKey = (ocelId, params) => {
@@ -1911,7 +2077,7 @@ const downloadVariantFlatLog = (ocelId, params, options, signal) => {
1911
2077
  url: `/api/external/modules/ocel/v1/${ocelId}/objects/variants/download/xes`,
1912
2078
  method: "GET",
1913
2079
  params,
1914
- ...signal ? { signal } : {}
2080
+ signal
1915
2081
  }, options);
1916
2082
  };
1917
2083
  const getDownloadVariantFlatLogQueryKey = (ocelId, params) => {
@@ -1947,7 +2113,7 @@ const runSqlQuery = (ocelId, sqlQueryRequest, params, options, signal) => {
1947
2113
  headers: { "Content-Type": "application/json" },
1948
2114
  data: sqlQueryRequest,
1949
2115
  params,
1950
- ...signal ? { signal } : {}
2116
+ signal
1951
2117
  }, options);
1952
2118
  };
1953
2119
  const getRunSqlQueryQueryKey = (ocelId, sqlQueryRequest, params) => {
@@ -1978,5 +2144,4 @@ function useRunSqlQuery(ocelId, sqlQueryRequest, params, options, queryClient) {
1978
2144
  const query = useQuery(queryOptions, queryClient);
1979
2145
  return withQueryKey(query, queryOptions.queryKey);
1980
2146
  }
1981
- //#endregion
1982
- export { ActivitiesOcelVersion, AggregatedAttributesEntityType, AggregatedAttributesOcelVersion, AttributeNamesEntityType, AttributeNamesOcelVersion, DotVisLayoutEngine, DownloadFlatLogOcelVersion, DownloadOCELExt, DownloadOCELOcelVersion, DownloadVariantFlatLogOcelVersion, E2oCombinationsDirection, E2oCombinationsOcelVersion, E2oDirection, E2oOcelVersion, E2oQualifierOcelVersion, EventAttributesOcelVersion, EventCountsOcelVersion, EventIdsOcelVersion, GraphEdgeEndArrow, GraphEdgeStartArrow, GraphNodeLabelPos, GraphNodeShape, GraphvizLayoutConfigEngine, NodeStyleInnerSymbol, O2oCombinationsDirection, O2oCombinationsOcelVersion, O2oDirection, O2oOcelVersion, O2oQualifierOcelVersion, ObjectAttributesOcelVersion, ObjectCountsOcelVersion, ObjectIdsOcelVersion, ObjectTypesOcelVersion, ObjectVariantsOcelVersion, QuantityInfoOcelVersion, RunSqlQueryOcelVersion, TableColumnDataType, TaskState, TimeInfoOcelVersion, ValueType, activities, aggregatedAttributes, attributeNames, deleteOcel, deletePlugin, deleteResource, downloadFlatLog, downloadOCEL, downloadPluginResults, downloadResource, downloadResourceAsPnml, downloadVariantFlatLog, e2o, e2oCombinations, e2oQualifier, eventAttributes, eventCounts, eventIds, getActivitiesQueryKey, getActivitiesQueryOptions, getAggregatedAttributesQueryKey, getAggregatedAttributesQueryOptions, getAttributeNamesQueryKey, getAttributeNamesQueryOptions, getComputedValues, getDefaultOcel, getDeleteOcelMutationKey, getDeleteOcelMutationOptions, getDeletePluginMutationKey, getDeletePluginMutationOptions, getDeleteResourceMutationKey, getDeleteResourceMutationOptions, getDownloadFlatLogQueryKey, getDownloadFlatLogQueryOptions, getDownloadOCELQueryKey, getDownloadOCELQueryOptions, getDownloadPluginResultsMutationKey, getDownloadPluginResultsMutationOptions, getDownloadResourceAsPnmlQueryKey, getDownloadResourceAsPnmlQueryOptions, getDownloadResourceQueryKey, getDownloadResourceQueryOptions, getDownloadVariantFlatLogQueryKey, getDownloadVariantFlatLogQueryOptions, getE2oCombinationsQueryKey, getE2oCombinationsQueryOptions, getE2oQualifierQueryKey, getE2oQualifierQueryOptions, getE2oQueryKey, getE2oQueryOptions, getEventAttributesQueryKey, getEventAttributesQueryOptions, getEventCountsQueryKey, getEventCountsQueryOptions, getEventIdsQueryKey, getEventIdsQueryOptions, getGetComputedValuesQueryKey, getGetComputedValuesQueryOptions, getGetDefaultOcelQueryKey, getGetDefaultOcelQueryOptions, getGetOcelQueryKey, getGetOcelQueryOptions, getGetOcelsQueryKey, getGetOcelsQueryOptions, getGetPluginMethodQueryKey, getGetPluginMethodQueryOptions, getGetPluginQueryKey, getGetPluginQueryOptions, getGetResourceMetaQueryKey, getGetResourceMetaQueryOptions, getGetSystemTaskQueryKey, getGetSystemTaskQueryOptions, getGetSystemTasksQueryKey, getGetSystemTasksQueryOptions, getImportDefaultOcelMutationKey, getImportDefaultOcelMutationOptions, getLogoutMutationKey, getLogoutMutationOptions, getO2oCombinationsQueryKey, getO2oCombinationsQueryOptions, getO2oQualifierQueryKey, getO2oQualifierQueryOptions, getO2oQueryKey, getO2oQueryOptions, getObjectAttributesQueryKey, getObjectAttributesQueryOptions, getObjectCountsQueryKey, getObjectCountsQueryOptions, getObjectIdsQueryKey, getObjectIdsQueryOptions, getObjectTypesQueryKey, getObjectTypesQueryOptions, getObjectVariantsQueryKey, getObjectVariantsQueryOptions, getOcel, getOcels, getPlugin, getPluginMethod, getPluginResultQueryKey, getPluginResultQueryOptions, getPluginsQueryKey, getPluginsQueryOptions, getQuantityInfoQueryKey, getQuantityInfoQueryOptions, getRenameOcelMutationKey, getRenameOcelMutationOptions, getRenameResourceMutationKey, getRenameResourceMutationOptions, getResourceMeta, getResourceQueryKey, getResourceQueryOptions, getResourcesQueryKey, getResourcesQueryOptions, getRunPluginMutationKey, getRunPluginMutationOptions, getRunSqlQueryQueryKey, getRunSqlQueryQueryOptions, getSavePluginResultsMutationKey, getSavePluginResultsMutationOptions, getSystemTask, getSystemTasks, getTimeInfoQueryKey, getTimeInfoQueryOptions, getUploadMutationKey, getUploadMutationOptions, importDefaultOcel, logout, o2o, o2oCombinations, o2oQualifier, objectAttributes, objectCounts, objectIds, objectTypes, objectVariants, pluginResult, plugins, quantityInfo, renameOcel, renameResource, resource, resources, runPlugin, runSqlQuery, savePluginResults, timeInfo, upload, useActivities, useAggregatedAttributes, useAttributeNames, useDeleteOcel, useDeletePlugin, useDeleteResource, useDownloadFlatLog, useDownloadOCEL, useDownloadPluginResults, useDownloadResource, useDownloadResourceAsPnml, useDownloadVariantFlatLog, useE2o, useE2oCombinations, useE2oQualifier, useEventAttributes, useEventCounts, useEventIds, useGetComputedValues, useGetDefaultOcel, useGetOcel, useGetOcels, useGetPlugin, useGetPluginMethod, useGetResourceMeta, useGetSystemTask, useGetSystemTasks, useImportDefaultOcel, useLogout, useO2o, useO2oCombinations, useO2oQualifier, useObjectAttributes, useObjectCounts, useObjectIds, useObjectTypes, useObjectVariants, usePluginResult, usePlugins, useQuantityInfo, useRenameOcel, useRenameResource, useResource, useResources, useRunPlugin, useRunSqlQuery, useSavePluginResults, useTimeInfo, useUpload };
2147
+ export { ActivitiesOcelVersion, AggregatedAttributesEntityType, AggregatedAttributesOcelVersion, AttributeDistributionEntityType, AttributeDistributionOcelVersion, AttributeNamesEntityType, AttributeNamesOcelVersion, AttributeValuesEntityType, AttributeValuesOcelVersion, DotVisLayoutEngine, DownloadFlatLogOcelVersion, DownloadOCELExt, DownloadOCELOcelVersion, DownloadVariantFlatLogOcelVersion, E2oCombinationsDirection, E2oCombinationsOcelVersion, E2oCountDistributionDirection, E2oCountDistributionOcelVersion, E2oDirection, E2oOcelVersion, E2oQualifierOcelVersion, EventAttributesOcelVersion, EventCountsOcelVersion, EventIdsOcelVersion, GraphEdgeEndArrow, GraphEdgeStartArrow, GraphNodeLabelPos, GraphNodeShape, GraphvizLayoutConfigEngine, NodeStyleInnerSymbol, O2oCombinationsDirection, O2oCombinationsOcelVersion, O2oCountDistributionDirection, O2oCountDistributionOcelVersion, O2oDirection, O2oOcelVersion, O2oQualifierOcelVersion, ObjectAttributesOcelVersion, ObjectCountsOcelVersion, ObjectIdsOcelVersion, ObjectTypesOcelVersion, ObjectVariantsOcelVersion, QuantityInfoOcelVersion, RunSqlQueryOcelVersion, TableColumnDataType, TaskState, TimeInfoOcelVersion, ValueType, activities, aggregatedAttributes, attributeDistribution, attributeNames, attributeValues, deleteOcel, deletePlugin, deleteResource, downloadFlatLog, downloadOCEL, downloadPluginResults, downloadResource, downloadResourceAsPnml, downloadVariantFlatLog, e2o, e2oCombinations, e2oCountDistribution, e2oQualifier, eventAttributes, eventCounts, eventIds, getActivitiesQueryKey, getActivitiesQueryOptions, getAggregatedAttributesQueryKey, getAggregatedAttributesQueryOptions, getAttributeDistributionQueryKey, getAttributeDistributionQueryOptions, getAttributeNamesQueryKey, getAttributeNamesQueryOptions, getAttributeValuesQueryKey, getAttributeValuesQueryOptions, getComputedValues, getDefaultOcel, getDeleteOcelMutationKey, getDeleteOcelMutationOptions, getDeletePluginMutationKey, getDeletePluginMutationOptions, getDeleteResourceMutationKey, getDeleteResourceMutationOptions, getDownloadFlatLogQueryKey, getDownloadFlatLogQueryOptions, getDownloadOCELQueryKey, getDownloadOCELQueryOptions, getDownloadPluginResultsMutationKey, getDownloadPluginResultsMutationOptions, getDownloadResourceAsPnmlQueryKey, getDownloadResourceAsPnmlQueryOptions, getDownloadResourceQueryKey, getDownloadResourceQueryOptions, getDownloadVariantFlatLogQueryKey, getDownloadVariantFlatLogQueryOptions, getE2oCombinationsQueryKey, getE2oCombinationsQueryOptions, getE2oCountDistributionQueryKey, getE2oCountDistributionQueryOptions, getE2oQualifierQueryKey, getE2oQualifierQueryOptions, getE2oQueryKey, getE2oQueryOptions, getEventAttributesQueryKey, getEventAttributesQueryOptions, getEventCountsQueryKey, getEventCountsQueryOptions, getEventIdsQueryKey, getEventIdsQueryOptions, getGetComputedValuesQueryKey, getGetComputedValuesQueryOptions, getGetDefaultOcelQueryKey, getGetDefaultOcelQueryOptions, getGetOcelQueryKey, getGetOcelQueryOptions, getGetOcelsQueryKey, getGetOcelsQueryOptions, getGetPluginMethodQueryKey, getGetPluginMethodQueryOptions, getGetPluginQueryKey, getGetPluginQueryOptions, getGetResourceMetaQueryKey, getGetResourceMetaQueryOptions, getGetSystemTaskQueryKey, getGetSystemTaskQueryOptions, getGetSystemTasksQueryKey, getGetSystemTasksQueryOptions, getImportDefaultOcelMutationKey, getImportDefaultOcelMutationOptions, getLogoutMutationKey, getLogoutMutationOptions, getO2oCombinationsQueryKey, getO2oCombinationsQueryOptions, getO2oCountDistributionQueryKey, getO2oCountDistributionQueryOptions, getO2oQualifierQueryKey, getO2oQualifierQueryOptions, getO2oQueryKey, getO2oQueryOptions, getObjectAttributesQueryKey, getObjectAttributesQueryOptions, getObjectCountsQueryKey, getObjectCountsQueryOptions, getObjectIdsQueryKey, getObjectIdsQueryOptions, getObjectTypesQueryKey, getObjectTypesQueryOptions, getObjectVariantsQueryKey, getObjectVariantsQueryOptions, getOcel, getOcels, getPlugin, getPluginMethod, getPluginResultQueryKey, getPluginResultQueryOptions, getPluginsQueryKey, getPluginsQueryOptions, getQuantityInfoQueryKey, getQuantityInfoQueryOptions, getRenameOcelMutationKey, getRenameOcelMutationOptions, getRenameResourceMutationKey, getRenameResourceMutationOptions, getResourceMeta, getResourceQueryKey, getResourceQueryOptions, getResourcesQueryKey, getResourcesQueryOptions, getRunPluginMutationKey, getRunPluginMutationOptions, getRunSqlQueryQueryKey, getRunSqlQueryQueryOptions, getSavePluginResultsMutationKey, getSavePluginResultsMutationOptions, getSystemTask, getSystemTasks, getTimeInfoQueryKey, getTimeInfoQueryOptions, getUploadMutationKey, getUploadMutationOptions, importDefaultOcel, logout, o2o, o2oCombinations, o2oCountDistribution, o2oQualifier, objectAttributes, objectCounts, objectIds, objectTypes, objectVariants, pluginResult, plugins, quantityInfo, renameOcel, renameResource, resource, resources, runPlugin, runSqlQuery, savePluginResults, timeInfo, upload, useActivities, useAggregatedAttributes, useAttributeDistribution, useAttributeNames, useAttributeValues, useDeleteOcel, useDeletePlugin, useDeleteResource, useDownloadFlatLog, useDownloadOCEL, useDownloadPluginResults, useDownloadResource, useDownloadResourceAsPnml, useDownloadVariantFlatLog, useE2o, useE2oCombinations, useE2oCountDistribution, useE2oQualifier, useEventAttributes, useEventCounts, useEventIds, useGetComputedValues, useGetDefaultOcel, useGetOcel, useGetOcels, useGetPlugin, useGetPluginMethod, useGetResourceMeta, useGetSystemTask, useGetSystemTasks, useImportDefaultOcel, useLogout, useO2o, useO2oCombinations, useO2oCountDistribution, useO2oQualifier, useObjectAttributes, useObjectCounts, useObjectIds, useObjectTypes, useObjectVariants, usePluginResult, usePlugins, useQuantityInfo, useRenameOcel, useRenameResource, useResource, useResources, useRunPlugin, useRunSqlQuery, useSavePluginResults, useTimeInfo, useUpload };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocelescope/api-base",
3
3
  "type": "module",
4
- "version": "0.10.2",
4
+ "version": "0.11.0",
5
5
  "description": "Generated, type-safe client + hooks for the Ocelescope Base backend.",
6
6
  "author": "Görkem-Emre Öztürk <goerkem.oeztuerk@rwth-aachen.de>",
7
7
  "license": "MIT",
@@ -27,18 +27,18 @@
27
27
  "access": "public"
28
28
  },
29
29
  "peerDependencies": {
30
- "@ocelescope/api-client": "^0.10.2",
31
- "@tanstack/react-query": "^5.104.2",
32
- "axios": "^1.20.0",
33
- "react": "^19.3.0",
34
- "react-dom": "^19.3.0"
30
+ "@ocelescope/api-client": "^0.11.0",
31
+ "@tanstack/react-query": "^5.105.0",
32
+ "axios": "^1.21.0",
33
+ "react": "^19.3.1",
34
+ "react-dom": "^19.3.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@ocelescope/api-config": "^0.10.2",
38
- "@types/node": "^26.6.1",
37
+ "@ocelescope/api-config": "^0.11.0",
38
+ "@types/node": "^26.6.5",
39
39
  "@types/react": "^19.3.0",
40
40
  "@types/react-dom": "^19.3.0",
41
- "tsdown": "^0.23.1",
41
+ "tsdown": "^0.23.3",
42
42
  "typescript": "^6.0.3"
43
43
  },
44
44
  "scripts": {