@ocelescope/api-base 0.8.0 → 0.9.1

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 (2) hide show
  1. package/dist/index.d.ts +24 -24
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -27,13 +27,13 @@ export type BodyRunPluginInputResources = {
27
27
  };
28
28
  export type BodyRunPluginInput = {
29
29
  [key: string]: unknown;
30
- };
30
+ } | null;
31
31
  export interface BodyRunPlugin {
32
32
  input_resources: BodyRunPluginInputResources;
33
33
  input?: BodyRunPluginInput;
34
34
  }
35
35
  export interface BodyUpload {
36
- files: Blob[];
36
+ files: (Blob | File)[];
37
37
  }
38
38
  export type DfgActivities = {
39
39
  [key: string]: number;
@@ -1383,7 +1383,7 @@ export declare const AggregatedAttributesEntityType: {
1383
1383
  readonly events: "events";
1384
1384
  readonly objects: "objects";
1385
1385
  };
1386
- export type AggregatedAttributesOcelVersion = typeof AggregatedAttributesOcelVersion[keyof typeof AggregatedAttributesOcelVersion] | null;
1386
+ export type AggregatedAttributesOcelVersion = typeof AggregatedAttributesOcelVersion[keyof typeof AggregatedAttributesOcelVersion];
1387
1387
  export declare const AggregatedAttributesOcelVersion: {
1388
1388
  readonly original: "original";
1389
1389
  readonly filtered: "filtered";
@@ -1393,7 +1393,7 @@ export type ObjectAttributesParams = {
1393
1393
  names?: string[] | null;
1394
1394
  ocel_version?: ObjectAttributesOcelVersion;
1395
1395
  };
1396
- export type ObjectAttributesOcelVersion = typeof ObjectAttributesOcelVersion[keyof typeof ObjectAttributesOcelVersion] | null;
1396
+ export type ObjectAttributesOcelVersion = typeof ObjectAttributesOcelVersion[keyof typeof ObjectAttributesOcelVersion];
1397
1397
  export declare const ObjectAttributesOcelVersion: {
1398
1398
  readonly original: "original";
1399
1399
  readonly filtered: "filtered";
@@ -1403,7 +1403,7 @@ export type EventAttributesParams = {
1403
1403
  names?: string[] | null;
1404
1404
  ocel_version?: EventAttributesOcelVersion;
1405
1405
  };
1406
- export type EventAttributesOcelVersion = typeof EventAttributesOcelVersion[keyof typeof EventAttributesOcelVersion] | null;
1406
+ export type EventAttributesOcelVersion = typeof EventAttributesOcelVersion[keyof typeof EventAttributesOcelVersion];
1407
1407
  export declare const EventAttributesOcelVersion: {
1408
1408
  readonly original: "original";
1409
1409
  readonly filtered: "filtered";
@@ -1417,7 +1417,7 @@ export declare const AttributeNamesEntityType: {
1417
1417
  readonly events: "events";
1418
1418
  readonly objects: "objects";
1419
1419
  };
1420
- export type AttributeNamesOcelVersion = typeof AttributeNamesOcelVersion[keyof typeof AttributeNamesOcelVersion] | null;
1420
+ export type AttributeNamesOcelVersion = typeof AttributeNamesOcelVersion[keyof typeof AttributeNamesOcelVersion];
1421
1421
  export declare const AttributeNamesOcelVersion: {
1422
1422
  readonly original: "original";
1423
1423
  readonly filtered: "filtered";
@@ -1425,7 +1425,7 @@ export declare const AttributeNamesOcelVersion: {
1425
1425
  export type ObjectTypesParams = {
1426
1426
  ocel_version?: ObjectTypesOcelVersion;
1427
1427
  };
1428
- export type ObjectTypesOcelVersion = typeof ObjectTypesOcelVersion[keyof typeof ObjectTypesOcelVersion] | null;
1428
+ export type ObjectTypesOcelVersion = typeof ObjectTypesOcelVersion[keyof typeof ObjectTypesOcelVersion];
1429
1429
  export declare const ObjectTypesOcelVersion: {
1430
1430
  readonly original: "original";
1431
1431
  readonly filtered: "filtered";
@@ -1433,7 +1433,7 @@ export declare const ObjectTypesOcelVersion: {
1433
1433
  export type ObjectCountsParams = {
1434
1434
  ocel_version?: ObjectCountsOcelVersion;
1435
1435
  };
1436
- export type ObjectCountsOcelVersion = typeof ObjectCountsOcelVersion[keyof typeof ObjectCountsOcelVersion] | null;
1436
+ export type ObjectCountsOcelVersion = typeof ObjectCountsOcelVersion[keyof typeof ObjectCountsOcelVersion];
1437
1437
  export declare const ObjectCountsOcelVersion: {
1438
1438
  readonly original: "original";
1439
1439
  readonly filtered: "filtered";
@@ -1447,7 +1447,7 @@ export type ObjectIdsParams = {
1447
1447
  page?: number;
1448
1448
  ocel_version?: ObjectIdsOcelVersion;
1449
1449
  };
1450
- export type ObjectIdsOcelVersion = typeof ObjectIdsOcelVersion[keyof typeof ObjectIdsOcelVersion] | null;
1450
+ export type ObjectIdsOcelVersion = typeof ObjectIdsOcelVersion[keyof typeof ObjectIdsOcelVersion];
1451
1451
  export declare const ObjectIdsOcelVersion: {
1452
1452
  readonly original: "original";
1453
1453
  readonly filtered: "filtered";
@@ -1456,7 +1456,7 @@ export type ObjectVariantsParams = {
1456
1456
  object_type: string;
1457
1457
  ocel_version?: ObjectVariantsOcelVersion;
1458
1458
  };
1459
- export type ObjectVariantsOcelVersion = typeof ObjectVariantsOcelVersion[keyof typeof ObjectVariantsOcelVersion] | null;
1459
+ export type ObjectVariantsOcelVersion = typeof ObjectVariantsOcelVersion[keyof typeof ObjectVariantsOcelVersion];
1460
1460
  export declare const ObjectVariantsOcelVersion: {
1461
1461
  readonly original: "original";
1462
1462
  readonly filtered: "filtered";
@@ -1464,7 +1464,7 @@ export declare const ObjectVariantsOcelVersion: {
1464
1464
  export type ActivitiesParams = {
1465
1465
  ocel_version?: ActivitiesOcelVersion;
1466
1466
  };
1467
- export type ActivitiesOcelVersion = typeof ActivitiesOcelVersion[keyof typeof ActivitiesOcelVersion] | null;
1467
+ export type ActivitiesOcelVersion = typeof ActivitiesOcelVersion[keyof typeof ActivitiesOcelVersion];
1468
1468
  export declare const ActivitiesOcelVersion: {
1469
1469
  readonly original: "original";
1470
1470
  readonly filtered: "filtered";
@@ -1472,7 +1472,7 @@ export declare const ActivitiesOcelVersion: {
1472
1472
  export type EventCountsParams = {
1473
1473
  ocel_version?: EventCountsOcelVersion;
1474
1474
  };
1475
- export type EventCountsOcelVersion = typeof EventCountsOcelVersion[keyof typeof EventCountsOcelVersion] | null;
1475
+ export type EventCountsOcelVersion = typeof EventCountsOcelVersion[keyof typeof EventCountsOcelVersion];
1476
1476
  export declare const EventCountsOcelVersion: {
1477
1477
  readonly original: "original";
1478
1478
  readonly filtered: "filtered";
@@ -1486,7 +1486,7 @@ export type EventIdsParams = {
1486
1486
  page?: number;
1487
1487
  ocel_version?: EventIdsOcelVersion;
1488
1488
  };
1489
- export type EventIdsOcelVersion = typeof EventIdsOcelVersion[keyof typeof EventIdsOcelVersion] | null;
1489
+ export type EventIdsOcelVersion = typeof EventIdsOcelVersion[keyof typeof EventIdsOcelVersion];
1490
1490
  export declare const EventIdsOcelVersion: {
1491
1491
  readonly original: "original";
1492
1492
  readonly filtered: "filtered";
@@ -1496,7 +1496,7 @@ export type TimeInfoParams = {
1496
1496
  freq?: string | null;
1497
1497
  ocel_version?: TimeInfoOcelVersion;
1498
1498
  };
1499
- export type TimeInfoOcelVersion = typeof TimeInfoOcelVersion[keyof typeof TimeInfoOcelVersion] | null;
1499
+ export type TimeInfoOcelVersion = typeof TimeInfoOcelVersion[keyof typeof TimeInfoOcelVersion];
1500
1500
  export declare const TimeInfoOcelVersion: {
1501
1501
  readonly original: "original";
1502
1502
  readonly filtered: "filtered";
@@ -1517,7 +1517,7 @@ export declare const E2oDirection: {
1517
1517
  readonly source: "source";
1518
1518
  readonly target: "target";
1519
1519
  };
1520
- export type E2oOcelVersion = typeof E2oOcelVersion[keyof typeof E2oOcelVersion] | null;
1520
+ export type E2oOcelVersion = typeof E2oOcelVersion[keyof typeof E2oOcelVersion];
1521
1521
  export declare const E2oOcelVersion: {
1522
1522
  readonly original: "original";
1523
1523
  readonly filtered: "filtered";
@@ -1525,7 +1525,7 @@ export declare const E2oOcelVersion: {
1525
1525
  export type E2oQualifierParams = {
1526
1526
  ocel_version?: E2oQualifierOcelVersion;
1527
1527
  };
1528
- export type E2oQualifierOcelVersion = typeof E2oQualifierOcelVersion[keyof typeof E2oQualifierOcelVersion] | null;
1528
+ export type E2oQualifierOcelVersion = typeof E2oQualifierOcelVersion[keyof typeof E2oQualifierOcelVersion];
1529
1529
  export declare const E2oQualifierOcelVersion: {
1530
1530
  readonly original: "original";
1531
1531
  readonly filtered: "filtered";
@@ -1546,7 +1546,7 @@ export declare const O2oDirection: {
1546
1546
  readonly source: "source";
1547
1547
  readonly target: "target";
1548
1548
  };
1549
- export type O2oOcelVersion = typeof O2oOcelVersion[keyof typeof O2oOcelVersion] | null;
1549
+ export type O2oOcelVersion = typeof O2oOcelVersion[keyof typeof O2oOcelVersion];
1550
1550
  export declare const O2oOcelVersion: {
1551
1551
  readonly original: "original";
1552
1552
  readonly filtered: "filtered";
@@ -1554,7 +1554,7 @@ export declare const O2oOcelVersion: {
1554
1554
  export type O2oQualifierParams = {
1555
1555
  ocel_version?: O2oQualifierOcelVersion;
1556
1556
  };
1557
- export type O2oQualifierOcelVersion = typeof O2oQualifierOcelVersion[keyof typeof O2oQualifierOcelVersion] | null;
1557
+ export type O2oQualifierOcelVersion = typeof O2oQualifierOcelVersion[keyof typeof O2oQualifierOcelVersion];
1558
1558
  export declare const O2oQualifierOcelVersion: {
1559
1559
  readonly original: "original";
1560
1560
  readonly filtered: "filtered";
@@ -1568,7 +1568,7 @@ export declare const E2oCombinationsDirection: {
1568
1568
  readonly source: "source";
1569
1569
  readonly target: "target";
1570
1570
  };
1571
- export type E2oCombinationsOcelVersion = typeof E2oCombinationsOcelVersion[keyof typeof E2oCombinationsOcelVersion] | null;
1571
+ export type E2oCombinationsOcelVersion = typeof E2oCombinationsOcelVersion[keyof typeof E2oCombinationsOcelVersion];
1572
1572
  export declare const E2oCombinationsOcelVersion: {
1573
1573
  readonly original: "original";
1574
1574
  readonly filtered: "filtered";
@@ -1582,7 +1582,7 @@ export declare const O2oCombinationsDirection: {
1582
1582
  readonly source: "source";
1583
1583
  readonly target: "target";
1584
1584
  };
1585
- export type O2oCombinationsOcelVersion = typeof O2oCombinationsOcelVersion[keyof typeof O2oCombinationsOcelVersion] | null;
1585
+ export type O2oCombinationsOcelVersion = typeof O2oCombinationsOcelVersion[keyof typeof O2oCombinationsOcelVersion];
1586
1586
  export declare const O2oCombinationsOcelVersion: {
1587
1587
  readonly original: "original";
1588
1588
  readonly filtered: "filtered";
@@ -1590,7 +1590,7 @@ export declare const O2oCombinationsOcelVersion: {
1590
1590
  export type QuantityInfoParams = {
1591
1591
  ocel_version?: QuantityInfoOcelVersion;
1592
1592
  };
1593
- export type QuantityInfoOcelVersion = typeof QuantityInfoOcelVersion[keyof typeof QuantityInfoOcelVersion] | null;
1593
+ export type QuantityInfoOcelVersion = typeof QuantityInfoOcelVersion[keyof typeof QuantityInfoOcelVersion];
1594
1594
  export declare const QuantityInfoOcelVersion: {
1595
1595
  readonly original: "original";
1596
1596
  readonly filtered: "filtered";
@@ -1616,7 +1616,7 @@ export type DownloadFlatLogParams = {
1616
1616
  object_type_name: string;
1617
1617
  ocel_version?: DownloadFlatLogOcelVersion;
1618
1618
  };
1619
- export type DownloadFlatLogOcelVersion = typeof DownloadFlatLogOcelVersion[keyof typeof DownloadFlatLogOcelVersion] | null;
1619
+ export type DownloadFlatLogOcelVersion = typeof DownloadFlatLogOcelVersion[keyof typeof DownloadFlatLogOcelVersion];
1620
1620
  export declare const DownloadFlatLogOcelVersion: {
1621
1621
  readonly original: "original";
1622
1622
  readonly filtered: "filtered";
@@ -1629,7 +1629,7 @@ export type DownloadVariantFlatLogParams = {
1629
1629
  variant_ids: string[];
1630
1630
  ocel_version?: DownloadVariantFlatLogOcelVersion;
1631
1631
  };
1632
- export type DownloadVariantFlatLogOcelVersion = typeof DownloadVariantFlatLogOcelVersion[keyof typeof DownloadVariantFlatLogOcelVersion] | null;
1632
+ export type DownloadVariantFlatLogOcelVersion = typeof DownloadVariantFlatLogOcelVersion[keyof typeof DownloadVariantFlatLogOcelVersion];
1633
1633
  export declare const DownloadVariantFlatLogOcelVersion: {
1634
1634
  readonly original: "original";
1635
1635
  readonly filtered: "filtered";
@@ -1637,7 +1637,7 @@ export declare const DownloadVariantFlatLogOcelVersion: {
1637
1637
  export type RunSqlQueryParams = {
1638
1638
  ocel_version?: RunSqlQueryOcelVersion;
1639
1639
  };
1640
- export type RunSqlQueryOcelVersion = typeof RunSqlQueryOcelVersion[keyof typeof RunSqlQueryOcelVersion] | null;
1640
+ export type RunSqlQueryOcelVersion = typeof RunSqlQueryOcelVersion[keyof typeof RunSqlQueryOcelVersion];
1641
1641
  export declare const RunSqlQueryOcelVersion: {
1642
1642
  readonly original: "original";
1643
1643
  readonly filtered: "filtered";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocelescope/api-base",
3
3
  "type": "module",
4
- "version": "0.8.0",
4
+ "version": "0.9.1",
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,14 +27,14 @@
27
27
  "access": "public"
28
28
  },
29
29
  "peerDependencies": {
30
- "@ocelescope/api-client": "^0.8.0",
30
+ "@ocelescope/api-client": "^0.9.1",
31
31
  "@tanstack/react-query": "^5.90.21",
32
32
  "axios": "^1.20.0",
33
33
  "react": "^19.3.0",
34
34
  "react-dom": "^19.3.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@ocelescope/api-config": "^0.8.0",
37
+ "@ocelescope/api-config": "^0.9.1",
38
38
  "@types/node": "^26.6.1",
39
39
  "@types/react": "^19.3.0",
40
40
  "@types/react-dom": "^19.3.0",