@explo-tech/fido-api 1.15.7 → 2.1.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/index.ts CHANGED
@@ -10,10 +10,10 @@ export type { AggregateProperty } from './models/AggregateProperty';
10
10
  export { Aggregation } from './models/Aggregation';
11
11
  export type { AggregationOption } from './models/AggregationOption';
12
12
  export type { And } from './models/And';
13
- export type { BaseComputation } from './models/BaseComputation';
14
13
  export type { BigQuery } from './models/BigQuery';
15
14
  export type { BigQueryAuthentication } from './models/BigQueryAuthentication';
16
15
  export type { BooleanPropertyValue } from './models/BooleanPropertyValue';
16
+ export type { CacheTelemetry } from './models/CacheTelemetry';
17
17
  export { CalendarInterval } from './models/CalendarInterval';
18
18
  export type { CalendarIntervalGrouping } from './models/CalendarIntervalGrouping';
19
19
  export type { ClientError } from './models/ClientError';
@@ -37,6 +37,7 @@ export type { DecimalIntervalGrouping } from './models/DecimalIntervalGrouping';
37
37
  export type { DecimalPropertyValue } from './models/DecimalPropertyValue';
38
38
  export type { DoublePropertyValue } from './models/DoublePropertyValue';
39
39
  export type { Equal } from './models/Equal';
40
+ export type { EvictionPolicy } from './models/EvictionPolicy';
40
41
  export { ExportFormat } from './models/ExportFormat';
41
42
  export type { ExportTargetConfiguration } from './models/ExportTargetConfiguration';
42
43
  export type { Filter } from './models/Filter';
@@ -71,9 +72,6 @@ export type { Null } from './models/Null';
71
72
  export type { Or } from './models/Or';
72
73
  export type { PagingConfiguration } from './models/PagingConfiguration';
73
74
  export type { PasswordAuthentication } from './models/PasswordAuthentication';
74
- export type { Pivot } from './models/Pivot';
75
- export type { PivotColumn } from './models/PivotColumn';
76
- export type { PivotValue } from './models/PivotValue';
77
75
  export type { Postgres } from './models/Postgres';
78
76
  export type { Property } from './models/Property';
79
77
  export type { PropertySchema } from './models/PropertySchema';
@@ -86,7 +84,9 @@ export type { QueryExportResponse } from './models/QueryExportResponse';
86
84
  export type { QueryPreviewRequest } from './models/QueryPreviewRequest';
87
85
  export type { QueryTimeoutError } from './models/QueryTimeoutError';
88
86
  export type { Redshift } from './models/Redshift';
87
+ export type { RequestExecutionParameters } from './models/RequestExecutionParameters';
89
88
  export type { RequestTelemetry } from './models/RequestTelemetry';
89
+ export type { ScheduledEviction } from './models/ScheduledEviction';
90
90
  export type { Sort } from './models/Sort';
91
91
  export { SortDirection } from './models/SortDirection';
92
92
  export type { SourceProperty } from './models/SourceProperty';
@@ -104,6 +104,7 @@ export type { TenantResponse } from './models/TenantResponse';
104
104
  export type { TenantS3Configuration } from './models/TenantS3Configuration';
105
105
  export type { TestConnectionRequest } from './models/TestConnectionRequest';
106
106
  export type { TestConnectionResponse } from './models/TestConnectionResponse';
107
+ export type { TtlEviction } from './models/TtlEviction';
107
108
  export type { Tunnel } from './models/Tunnel';
108
109
  export type { UUID } from './models/UUID';
109
110
  export type { ValueGrouping } from './models/ValueGrouping';
@@ -0,0 +1,9 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type CacheTelemetry = {
6
+ cacheHit: boolean;
7
+ ttl: string | null;
8
+ };
9
+
@@ -9,9 +9,9 @@ import type { Sort } from './Sort';
9
9
 
10
10
  export type Computation = {
11
11
  filter: Filter | null;
12
- sorts: Array<Sort>;
13
- '@type': 'computation';
14
12
  properties: Array<Property>;
15
13
  groupings: Array<Grouping>;
14
+ sorts: Array<Sort>;
15
+ includeRollup?: boolean;
16
16
  };
17
17
 
@@ -2,6 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
+ import type { EvictionPolicy } from './EvictionPolicy';
5
6
  import type { PropertySchema } from './PropertySchema';
6
7
 
7
8
  export type ComputedView = {
@@ -12,5 +13,7 @@ export type ComputedView = {
12
13
  readonly namespaceId?: string | null;
13
14
  '@type': 'computed-view';
14
15
  query: string;
16
+ cacheable?: boolean;
17
+ cacheEvictionPolicy: EvictionPolicy | null;
15
18
  };
16
19
 
@@ -0,0 +1,9 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import type { ScheduledEviction } from './ScheduledEviction';
6
+ import type { TtlEviction } from './TtlEviction';
7
+
8
+ export type EvictionPolicy = (ScheduledEviction | TtlEviction);
9
+
@@ -0,0 +1,8 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type RequestExecutionParameters = {
6
+ forceRefresh?: boolean;
7
+ };
8
+
@@ -2,9 +2,12 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
+ import type { CacheTelemetry } from './CacheTelemetry';
6
+
5
7
  export type RequestTelemetry = {
6
8
  requestTime: string | null;
7
9
  queryTime: string | null;
8
10
  processingTime: string | null;
11
+ cacheTelemetry?: CacheTelemetry | null;
9
12
  };
10
13
 
@@ -0,0 +1,9 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ export type ScheduledEviction = {
6
+ '@type': 'schedule';
7
+ evictionSchedule: string;
8
+ };
9
+
@@ -2,7 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
- export type PivotColumn = {
6
- propertyId: string;
5
+ export type TtlEviction = {
6
+ '@type': 'ttl';
7
+ ttl: string;
7
8
  };
8
9
 
@@ -2,12 +2,12 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
- import type { BaseComputation } from './BaseComputation';
5
+ import type { Computation } from './Computation';
6
6
  import type { ExportTargetConfiguration } from './ExportTargetConfiguration';
7
7
 
8
8
  export type ViewExportRequest = {
9
9
  queryContext: Record<string, any>;
10
- computation: BaseComputation | null;
10
+ computation: Computation | null;
11
11
  exportConfiguration: ExportTargetConfiguration;
12
12
  };
13
13
 
@@ -2,12 +2,14 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
- import type { BaseComputation } from './BaseComputation';
5
+ import type { Computation } from './Computation';
6
6
  import type { DataRequestParameters } from './DataRequestParameters';
7
+ import type { RequestExecutionParameters } from './RequestExecutionParameters';
7
8
 
8
9
  export type ViewRunRequest = {
9
10
  dataRequestParameters: DataRequestParameters;
11
+ requestExecutionParameters: RequestExecutionParameters | null;
10
12
  queryContext: Record<string, any>;
11
- computation: BaseComputation | null;
13
+ computation: Computation | null;
12
14
  };
13
15
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@explo-tech/fido-api",
3
3
  "description": "Fido api",
4
4
  "homepage": "https://github.com/trust-kaz/fido",
5
- "version": "1.15.7",
5
+ "version": "2.1.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/trust-kaz/fido"
@@ -1,13 +0,0 @@
1
- /* istanbul ignore file */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import type { Computation } from './Computation';
6
- import type { Filter } from './Filter';
7
- import type { Sort } from './Sort';
8
-
9
- export type BaseComputation = (Computation | {
10
- filter: Filter | null;
11
- sorts: Array<Sort>;
12
- });
13
-
package/models/Pivot.ts DELETED
@@ -1,19 +0,0 @@
1
- /* istanbul ignore file */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import type { Filter } from './Filter';
6
- import type { Grouping } from './Grouping';
7
- import type { PivotColumn } from './PivotColumn';
8
- import type { PivotValue } from './PivotValue';
9
- import type { Sort } from './Sort';
10
-
11
- export type Pivot = {
12
- filter: Filter | null;
13
- sorts: Array<Sort>;
14
- '@type': string;
15
- values: Array<PivotValue>;
16
- columns: Array<PivotColumn>;
17
- rows: Array<Grouping>;
18
- };
19
-
@@ -1,11 +0,0 @@
1
- /* istanbul ignore file */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import type { Aggregation } from './Aggregation';
6
-
7
- export type PivotValue = {
8
- propertyId: string;
9
- aggregation: Aggregation;
10
- };
11
-