@transai/connector-runner-otto-fleet-manager-v2 0.6.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.
- package/CHANGELOG.md +73 -0
- package/README.md +11 -0
- package/index.cjs +2 -0
- package/index.cjs.map +7 -0
- package/index.js +2 -0
- package/index.js.map +7 -0
- package/libs/connector-runner-otto-fleet-manager-v2/src/index.d.ts +1 -0
- package/libs/connector-runner-otto-fleet-manager-v2/src/lib/actions/actions-handler.d.ts +8 -0
- package/libs/connector-runner-otto-fleet-manager-v2/src/lib/actions/base-action.d.ts +9 -0
- package/libs/connector-runner-otto-fleet-manager-v2/src/lib/actions/create-mission.action.d.ts +11 -0
- package/libs/connector-runner-otto-fleet-manager-v2/src/lib/connector-runner-otto-fleet-manager-v2.d.ts +8 -0
- package/libs/connector-runner-otto-fleet-manager-v2/src/lib/extractors/missions.extractor.d.ts +10 -0
- package/libs/connector-runner-otto-fleet-manager-v2/src/lib/types.d.ts +58 -0
- package/libs/connector-runtime-sdk/src/index.d.ts +4 -0
- package/libs/connector-runtime-sdk/src/lib/connector-runtime.d.ts +16 -0
- package/libs/connector-runtime-sdk/src/lib/connector-runtime.interface.d.ts +5 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/files.sdk.interface.d.ts +19 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/http-client.interface.d.ts +47 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/index.d.ts +10 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/logger.sdk.interface.d.ts +7 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/offset-store.sdk.interface.d.ts +12 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/processing.sdk.interface.d.ts +13 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/receiver.sdk.interface.d.ts +14 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/sdk.interface.d.ts +31 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/sender.sdk.interface.d.ts +22 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/telemetry.sdk.interface.d.ts +15 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/templating.sdk.interface.d.ts +12 -0
- package/libs/connector-runtime-sdk/src/lib/support/index.d.ts +1 -0
- package/libs/connector-runtime-sdk/src/lib/support/null-logger.d.ts +8 -0
- package/libs/types/src/index.d.ts +7 -0
- package/libs/types/src/lib/cube-query-config.types.d.ts +20 -0
- package/libs/types/src/lib/file-action.types.d.ts +5 -0
- package/libs/types/src/lib/http-status-codes.enum.d.ts +64 -0
- package/libs/types/src/lib/management-api/action-definition.interface.d.ts +12 -0
- package/libs/types/src/lib/management-api/chart.interface.d.ts +9 -0
- package/libs/types/src/lib/management-api/connector/connector.interface.d.ts +52 -0
- package/libs/types/src/lib/management-api/connector/connectors.interface.d.ts +38 -0
- package/libs/types/src/lib/management-api/connector-orchestrator-config.interface.d.ts +14 -0
- package/libs/types/src/lib/management-api/cube-dataset.interface.d.ts +93 -0
- package/libs/types/src/lib/management-api/dashboard.interface.d.ts +35 -0
- package/libs/types/src/lib/management-api/dataset/collection.interface.d.ts +10 -0
- package/libs/types/src/lib/management-api/dataset/dataset-record.interface.d.ts +5 -0
- package/libs/types/src/lib/management-api/dataset/dataset.interface.d.ts +114 -0
- package/libs/types/src/lib/management-api/dataset/datasets.interface.d.ts +94 -0
- package/libs/types/src/lib/management-api/dataset/dimension.interface.d.ts +51 -0
- package/libs/types/src/lib/management-api/dataset/dimensions.interface.d.ts +32 -0
- package/libs/types/src/lib/management-api/dataset/filter-group.interface.d.ts +8 -0
- package/libs/types/src/lib/management-api/dataset/filter.interface.d.ts +14 -0
- package/libs/types/src/lib/management-api/dataset/filters.interface.d.ts +7 -0
- package/libs/types/src/lib/management-api/dataset/measure.interface.d.ts +25 -0
- package/libs/types/src/lib/management-api/dataset/measures.interface.d.ts +16 -0
- package/libs/types/src/lib/management-api/dataset/meta.interface.d.ts +9 -0
- package/libs/types/src/lib/management-api/dataset/pre-aggregate.interface.d.ts +41 -0
- package/libs/types/src/lib/management-api/dataset/pre-aggregations.interface.d.ts +26 -0
- package/libs/types/src/lib/management-api/dataset/relation.interface.d.ts +16 -0
- package/libs/types/src/lib/management-api/dataset/relations.interface.d.ts +12 -0
- package/libs/types/src/lib/management-api/dataset/segment.interface.d.ts +17 -0
- package/libs/types/src/lib/management-api/dataset/segments.interface.d.ts +15 -0
- package/libs/types/src/lib/management-api/dataset/switch.interface.d.ts +20 -0
- package/libs/types/src/lib/management-api/dataset/when-item.interface.d.ts +15 -0
- package/libs/types/src/lib/management-api/dataset/when-items.interface.d.ts +14 -0
- package/libs/types/src/lib/management-api/event-origin.interface.d.ts +24 -0
- package/libs/types/src/lib/management-api/index.d.ts +39 -0
- package/libs/types/src/lib/management-api/semantic-trigger/custom-cron-trigger-record.interface.d.ts +6 -0
- package/libs/types/src/lib/management-api/semantic-trigger/index.d.ts +6 -0
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filter.interface.d.ts +12 -0
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filters.interface.d.ts +10 -0
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-record.interface.d.ts +6 -0
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger.interface.d.ts +35 -0
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-triggers.interface.d.ts +22 -0
- package/libs/types/src/lib/management-api/template-implementation-overrides.interface.d.ts +148 -0
- package/libs/types/src/lib/management-api/template-implementation.interface.d.ts +309 -0
- package/libs/types/src/lib/management-api/template.interface.d.ts +177 -0
- package/libs/types/src/lib/management-api/tenant.interface.d.ts +8 -0
- package/libs/types/src/lib/management-api/type-enums.d.ts +85 -0
- package/libs/types/src/lib/management-api/web/generic-filter.dto.d.ts +37 -0
- package/libs/types/src/lib/management-api/web/index.d.ts +2 -0
- package/libs/types/src/lib/management-api/web/paginated-response.interface.d.ts +17 -0
- package/libs/types/src/lib/management-api/workflow/action.interface.d.ts +71 -0
- package/libs/types/src/lib/management-api/workflow/index.d.ts +6 -0
- package/libs/types/src/lib/management-api/workflow/offset.interface.d.ts +14 -0
- package/libs/types/src/lib/management-api/workflow/trigger-types.interface.d.ts +14 -0
- package/libs/types/src/lib/management-api/workflow/workflow-definition.interface.d.ts +64 -0
- package/libs/types/src/lib/management-api/workflow/workflow-run.d.ts +66 -0
- package/libs/types/src/lib/management-api/workflow/workflow.drawing.d.ts +94 -0
- package/libs/types/src/lib/message.types.d.ts +59 -0
- package/libs/types/src/lib/response.types.d.ts +27 -0
- package/libs/types/src/lib/types.d.ts +134 -0
- package/package.json +16 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { FilterGroupInterface } from './filter-group.interface';
|
|
3
|
+
import { FilterInterface } from './filter.interface';
|
|
4
|
+
export declare const FiltersSchema: z.ZodType<FiltersInterface>;
|
|
5
|
+
export interface FiltersInterface {
|
|
6
|
+
[key: string]: FilterGroupInterface | FilterInterface | false;
|
|
7
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { MeasureFormatsEnum, MeasureTypesEnum } from '../type-enums';
|
|
3
|
+
import { MetaInterface } from './meta.interface';
|
|
4
|
+
export declare const MeasureSchema: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7
|
+
type: z.ZodEnum<typeof MeasureTypesEnum>;
|
|
8
|
+
format: z.ZodOptional<z.ZodEnum<typeof MeasureFormatsEnum>>;
|
|
9
|
+
index: z.ZodOptional<z.ZodString>;
|
|
10
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
11
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
12
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export interface MeasureInterface {
|
|
16
|
+
name: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
type: MeasureTypesEnum;
|
|
19
|
+
format?: MeasureFormatsEnum;
|
|
20
|
+
index?: string;
|
|
21
|
+
sql?: string;
|
|
22
|
+
dimension?: string;
|
|
23
|
+
public?: boolean;
|
|
24
|
+
meta?: MetaInterface;
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { MeasureInterface } from './measure.interface';
|
|
3
|
+
export declare const MeasuresSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
type: z.ZodEnum<typeof import("..").MeasureTypesEnum>;
|
|
7
|
+
format: z.ZodOptional<z.ZodEnum<typeof import("..").MeasureFormatsEnum>>;
|
|
8
|
+
index: z.ZodOptional<z.ZodString>;
|
|
9
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
10
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
11
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
13
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
14
|
+
export interface MeasuresInterface {
|
|
15
|
+
[key: string]: MeasureInterface | false;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const LocaleSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3
|
+
export declare const MetaSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4
|
+
export interface LocaleInterface {
|
|
5
|
+
[key: string]: Record<string, string>;
|
|
6
|
+
}
|
|
7
|
+
export interface MetaInterface {
|
|
8
|
+
[key: string]: string | LocaleInterface;
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const PreAggregateSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4
|
+
rollup: "rollup";
|
|
5
|
+
original_sql: "original_sql";
|
|
6
|
+
rollup_join: "rollup_join";
|
|
7
|
+
}>>;
|
|
8
|
+
measures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
dimensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
|
+
segments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
timeDimension: z.ZodOptional<z.ZodString>;
|
|
12
|
+
granularity: z.ZodOptional<z.ZodString>;
|
|
13
|
+
partitionGranularity: z.ZodOptional<z.ZodString>;
|
|
14
|
+
rollups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
refreshKeySql: z.ZodOptional<z.ZodString>;
|
|
16
|
+
refreshKeyEvery: z.ZodOptional<z.ZodString>;
|
|
17
|
+
refreshKeyIncremental: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
refreshKeyUpdateWindow: z.ZodOptional<z.ZodString>;
|
|
19
|
+
buildRangeStartSql: z.ZodOptional<z.ZodString>;
|
|
20
|
+
buildRangeEndSql: z.ZodOptional<z.ZodString>;
|
|
21
|
+
lambda: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export interface PreAggregateInterface {
|
|
24
|
+
type?: 'rollup' | 'original_sql' | 'rollup_join';
|
|
25
|
+
measures?: Array<string>;
|
|
26
|
+
dimensions?: Array<string>;
|
|
27
|
+
segments?: Array<string>;
|
|
28
|
+
drillDown?: Array<string>;
|
|
29
|
+
timeDimension?: string;
|
|
30
|
+
granularity?: string;
|
|
31
|
+
partitionGranularity?: string;
|
|
32
|
+
rollups?: Array<string>;
|
|
33
|
+
refreshKeySql?: string;
|
|
34
|
+
refreshKeyEvery?: string;
|
|
35
|
+
refreshKeyIncremental?: boolean;
|
|
36
|
+
refreshKeyUpdateWindow?: string;
|
|
37
|
+
buildRangeStartSql?: string;
|
|
38
|
+
buildRangeEndSql?: string;
|
|
39
|
+
lambda?: boolean;
|
|
40
|
+
external?: boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { PreAggregateInterface } from './pre-aggregate.interface';
|
|
3
|
+
export declare const PreAggregationsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
4
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
rollup: "rollup";
|
|
6
|
+
original_sql: "original_sql";
|
|
7
|
+
rollup_join: "rollup_join";
|
|
8
|
+
}>>;
|
|
9
|
+
measures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
|
+
dimensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
segments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
timeDimension: z.ZodOptional<z.ZodString>;
|
|
13
|
+
granularity: z.ZodOptional<z.ZodString>;
|
|
14
|
+
partitionGranularity: z.ZodOptional<z.ZodString>;
|
|
15
|
+
rollups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
refreshKeySql: z.ZodOptional<z.ZodString>;
|
|
17
|
+
refreshKeyEvery: z.ZodOptional<z.ZodString>;
|
|
18
|
+
refreshKeyIncremental: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
refreshKeyUpdateWindow: z.ZodOptional<z.ZodString>;
|
|
20
|
+
buildRangeStartSql: z.ZodOptional<z.ZodString>;
|
|
21
|
+
buildRangeEndSql: z.ZodOptional<z.ZodString>;
|
|
22
|
+
lambda: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
24
|
+
export interface PreAggregationsInterface {
|
|
25
|
+
[key: string]: PreAggregateInterface | false;
|
|
26
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { RelationTypesEnum } from '../type-enums';
|
|
3
|
+
export declare const RelationSchema: z.ZodObject<{
|
|
4
|
+
type: z.ZodEnum<typeof RelationTypesEnum>;
|
|
5
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
6
|
+
targetDataset: z.ZodString;
|
|
7
|
+
targetDimension: z.ZodOptional<z.ZodString>;
|
|
8
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export interface RelationInterface {
|
|
11
|
+
type: RelationTypesEnum;
|
|
12
|
+
dimension?: string;
|
|
13
|
+
targetDataset?: string;
|
|
14
|
+
targetDimension?: string;
|
|
15
|
+
sql?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { RelationInterface } from './relation.interface';
|
|
3
|
+
export declare const RelationsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
4
|
+
type: z.ZodEnum<typeof import("..").RelationTypesEnum>;
|
|
5
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
6
|
+
targetDataset: z.ZodString;
|
|
7
|
+
targetDimension: z.ZodOptional<z.ZodString>;
|
|
8
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
10
|
+
export interface RelationsInterface {
|
|
11
|
+
[key: string]: RelationInterface | false;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { FilterInterface } from './filter.interface';
|
|
3
|
+
export declare const SegmentSchema: z.ZodIntersection<z.ZodObject<{
|
|
4
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
5
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
6
|
+
operator: z.ZodOptional<z.ZodEnum<typeof import("..").FilterOperatorsEnum>>;
|
|
7
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
export interface SegmentInterface extends FilterInterface {
|
|
14
|
+
name?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
public?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SegmentInterface } from './segment.interface';
|
|
3
|
+
export declare const SegmentsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
4
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
5
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
6
|
+
operator: z.ZodOptional<z.ZodEnum<typeof import("..").FilterOperatorsEnum>>;
|
|
7
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$strip>>, z.ZodLiteral<false>]>>;
|
|
13
|
+
export interface SegmentsInterface {
|
|
14
|
+
[key: string]: SegmentInterface | false;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { WhenItemsInterface } from './when-items.interface';
|
|
3
|
+
export declare const SwitchSchema: z.ZodObject<{
|
|
4
|
+
when: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
6
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
7
|
+
operator: z.ZodOptional<z.ZodEnum<typeof import("..").FilterOperatorsEnum>>;
|
|
8
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
9
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10
|
+
label: z.ZodString;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>, z.ZodLiteral<false>]>>;
|
|
13
|
+
else: z.ZodOptional<z.ZodString>;
|
|
14
|
+
segment: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export interface SwitchInterface {
|
|
17
|
+
when: WhenItemsInterface;
|
|
18
|
+
else?: string;
|
|
19
|
+
segment?: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { FilterInterface } from './filter.interface';
|
|
3
|
+
export declare const WhenItemSchema: z.ZodIntersection<z.ZodObject<{
|
|
4
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
5
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
6
|
+
operator: z.ZodOptional<z.ZodEnum<typeof import("..").FilterOperatorsEnum>>;
|
|
7
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
label: z.ZodString;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
export interface WhenItemInterface extends FilterInterface {
|
|
13
|
+
label: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { WhenItemInterface } from './when-item.interface';
|
|
3
|
+
export declare const WhenItemsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
4
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
5
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
6
|
+
operator: z.ZodOptional<z.ZodEnum<typeof import("..").FilterOperatorsEnum>>;
|
|
7
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
label: z.ZodString;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>, z.ZodLiteral<false>]>>;
|
|
12
|
+
export interface WhenItemsInterface {
|
|
13
|
+
[key: string]: false | WhenItemInterface;
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TriggerType } from './workflow';
|
|
2
|
+
export interface EventOriginInterface {
|
|
3
|
+
type: TriggerType;
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface CreateEventInterface {
|
|
7
|
+
origin: EventOriginInterface;
|
|
8
|
+
payload: object;
|
|
9
|
+
testRun?: boolean;
|
|
10
|
+
workflowDrawingId?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface XodTriggerPayloadType {
|
|
13
|
+
data?: Record<string, unknown> | Array<unknown>;
|
|
14
|
+
filter?: Record<string, unknown> | Array<unknown>;
|
|
15
|
+
global?: Record<string, unknown> | Array<unknown>;
|
|
16
|
+
}
|
|
17
|
+
export interface EventInterface {
|
|
18
|
+
id: string;
|
|
19
|
+
origin: EventOriginInterface;
|
|
20
|
+
payload: XodTriggerPayloadType;
|
|
21
|
+
tenantIdentifier: string;
|
|
22
|
+
testRun?: boolean;
|
|
23
|
+
workflowDrawingId?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export * from './type-enums';
|
|
2
|
+
export * from './action-definition.interface';
|
|
3
|
+
export * from './tenant.interface';
|
|
4
|
+
export * from './cube-dataset.interface';
|
|
5
|
+
export * from './event-origin.interface';
|
|
6
|
+
export * from './workflow';
|
|
7
|
+
export * from './semantic-trigger';
|
|
8
|
+
export * from './connector-orchestrator-config.interface';
|
|
9
|
+
export * from './chart.interface';
|
|
10
|
+
export * from './dashboard.interface';
|
|
11
|
+
export * from './semantic-trigger';
|
|
12
|
+
export * from './dataset/datasets.interface';
|
|
13
|
+
export * from './dataset/dataset.interface';
|
|
14
|
+
export * from './dataset/dataset-record.interface';
|
|
15
|
+
export * from './dataset/collection.interface';
|
|
16
|
+
export * from './dataset/filters.interface';
|
|
17
|
+
export * from './dataset/filter.interface';
|
|
18
|
+
export * from './connector/connector.interface';
|
|
19
|
+
export * from './connector/connectors.interface';
|
|
20
|
+
export * from './template.interface';
|
|
21
|
+
export * from './template-implementation.interface';
|
|
22
|
+
export * from './template-implementation-overrides.interface';
|
|
23
|
+
export { FilterGroupInterface } from './dataset/filter-group.interface';
|
|
24
|
+
export { DimensionsInterface } from './dataset/dimensions.interface';
|
|
25
|
+
export { DimensionInterface } from './dataset/dimension.interface';
|
|
26
|
+
export { SegmentsInterface } from './dataset/segments.interface';
|
|
27
|
+
export { SegmentInterface } from './dataset/segment.interface';
|
|
28
|
+
export { RelationsInterface } from './dataset/relations.interface';
|
|
29
|
+
export { RelationInterface } from './dataset/relation.interface';
|
|
30
|
+
export { MeasuresInterface } from './dataset/measures.interface';
|
|
31
|
+
export { MeasureInterface } from './dataset/measure.interface';
|
|
32
|
+
export { SwitchInterface } from './dataset/switch.interface';
|
|
33
|
+
export { WhenItemsInterface } from './dataset/when-items.interface';
|
|
34
|
+
export { WhenItemInterface } from './dataset/when-item.interface';
|
|
35
|
+
export { MetaInterface } from './dataset/meta.interface';
|
|
36
|
+
export { PreAggregationsInterface } from './dataset/pre-aggregations.interface';
|
|
37
|
+
export { PreAggregateInterface } from './dataset/pre-aggregate.interface';
|
|
38
|
+
export { TemplateImplementationOverridesInterface } from './template-implementation-overrides.interface';
|
|
39
|
+
export * from './web';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './custom-cron-trigger-record.interface';
|
|
2
|
+
export * from './semantic-trigger-filter.interface';
|
|
3
|
+
export * from './semantic-trigger-filters.interface';
|
|
4
|
+
export * from './semantic-trigger-record.interface';
|
|
5
|
+
export * from './semantic-trigger.interface';
|
|
6
|
+
export * from './semantic-triggers.interface';
|
package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filter.interface.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { FilterValueType, SemanticTriggerFilterOperatorsEnum } from '../type-enums';
|
|
3
|
+
export declare const SemanticTriggerFilterSchema: z.ZodObject<{
|
|
4
|
+
dimension: z.ZodString;
|
|
5
|
+
operator: z.ZodEnum<typeof SemanticTriggerFilterOperatorsEnum>;
|
|
6
|
+
values: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export interface SemanticTriggerFilterInterface {
|
|
9
|
+
dimension: string;
|
|
10
|
+
operator: SemanticTriggerFilterOperatorsEnum;
|
|
11
|
+
values: FilterValueType;
|
|
12
|
+
}
|
package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filters.interface.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SemanticTriggerFilterInterface } from './semantic-trigger-filter.interface';
|
|
3
|
+
export declare const SemanticTriggerFiltersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
4
|
+
dimension: z.ZodString;
|
|
5
|
+
operator: z.ZodEnum<typeof import("..").SemanticTriggerFilterOperatorsEnum>;
|
|
6
|
+
values: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
7
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>;
|
|
8
|
+
export interface SemanticTriggerFiltersInterface {
|
|
9
|
+
[key: string]: SemanticTriggerFilterInterface | false;
|
|
10
|
+
}
|
package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-record.interface.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SemanticTriggerInterface } from './semantic-trigger.interface';
|
|
2
|
+
export interface SemanticTriggerRecordInterface extends SemanticTriggerInterface {
|
|
3
|
+
id: string;
|
|
4
|
+
tenantId: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const SemanticTriggerIdentifier: (trigger: SemanticTriggerRecordInterface) => string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SemanticTriggerFiltersInterface } from './semantic-trigger-filters.interface';
|
|
3
|
+
export declare const SemanticTriggerSchema: z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
eventType: z.ZodString;
|
|
7
|
+
dataset: z.ZodString;
|
|
8
|
+
dimensions: z.ZodArray<z.ZodString>;
|
|
9
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
11
|
+
dimension: z.ZodString;
|
|
12
|
+
operator: z.ZodEnum<typeof import("..").SemanticTriggerFilterOperatorsEnum>;
|
|
13
|
+
values: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
14
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>>;
|
|
15
|
+
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
tz: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
incrementalField: z.ZodOptional<z.ZodString>;
|
|
18
|
+
ungrouped: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export interface SemanticTriggerInterface {
|
|
21
|
+
name?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
eventType: string;
|
|
24
|
+
dataset: string;
|
|
25
|
+
dimensions: Array<string>;
|
|
26
|
+
measures?: Array<string>;
|
|
27
|
+
segments?: Array<string>;
|
|
28
|
+
limit?: number;
|
|
29
|
+
filters?: SemanticTriggerFiltersInterface | false;
|
|
30
|
+
cron?: string;
|
|
31
|
+
tz?: string;
|
|
32
|
+
incrementalField?: string;
|
|
33
|
+
keyField?: string;
|
|
34
|
+
ungrouped?: boolean;
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SemanticTriggerInterface } from './semantic-trigger.interface';
|
|
3
|
+
export declare const SemanticTriggersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
eventType: z.ZodString;
|
|
7
|
+
dataset: z.ZodString;
|
|
8
|
+
dimensions: z.ZodArray<z.ZodString>;
|
|
9
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
11
|
+
dimension: z.ZodString;
|
|
12
|
+
operator: z.ZodEnum<typeof import("..").SemanticTriggerFilterOperatorsEnum>;
|
|
13
|
+
values: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
14
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>>;
|
|
15
|
+
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
tz: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
incrementalField: z.ZodOptional<z.ZodString>;
|
|
18
|
+
ungrouped: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
}, z.core.$strip>, z.ZodBoolean]>>;
|
|
20
|
+
export interface SemanticTriggersInterface {
|
|
21
|
+
[key: string]: SemanticTriggerInterface | boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SemanticTriggersInterface, DatasetsInterface, ConnectorsInterface } from './index';
|
|
3
|
+
export declare const TemplateImplementationOverridesSchema: z.ZodObject<{
|
|
4
|
+
datasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
description: z.ZodString;
|
|
7
|
+
type: z.ZodEnum<typeof import("./type-enums").DatasetTypeEnum>;
|
|
8
|
+
prefix: z.ZodString;
|
|
9
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
10
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
11
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
12
|
+
collection: z.ZodOptional<z.ZodObject<{
|
|
13
|
+
collection: z.ZodString;
|
|
14
|
+
filters: z.ZodOptional<z.ZodType<import("./index").FiltersInterface, unknown, z.core.$ZodTypeInternals<import("./index").FiltersInterface, unknown>>>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
dimensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
17
|
+
name: z.ZodString;
|
|
18
|
+
description: z.ZodString;
|
|
19
|
+
type: z.ZodEnum<typeof import("./type-enums").DimensionTypesEnum>;
|
|
20
|
+
format: z.ZodOptional<z.ZodEnum<typeof import("./type-enums").DimensionFormatsEnum>>;
|
|
21
|
+
explode: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
index: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
23
|
+
switch: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
when: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
25
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
26
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
27
|
+
operator: z.ZodOptional<z.ZodEnum<typeof import("./type-enums").FilterOperatorsEnum>>;
|
|
28
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
label: z.ZodString;
|
|
31
|
+
description: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>, z.ZodLiteral<false>]>>;
|
|
33
|
+
else: z.ZodOptional<z.ZodString>;
|
|
34
|
+
segment: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
field: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
37
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
38
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
primaryKey: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
subQuery: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
42
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>>;
|
|
43
|
+
segments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
44
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
45
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
46
|
+
operator: z.ZodOptional<z.ZodEnum<typeof import("./type-enums").FilterOperatorsEnum>>;
|
|
47
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
description: z.ZodOptional<z.ZodString>;
|
|
51
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
}, z.core.$strip>>, z.ZodLiteral<false>]>>>;
|
|
53
|
+
relations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
54
|
+
type: z.ZodEnum<typeof import("./type-enums").RelationTypesEnum>;
|
|
55
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
56
|
+
targetDataset: z.ZodString;
|
|
57
|
+
targetDimension: z.ZodOptional<z.ZodString>;
|
|
58
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>>;
|
|
60
|
+
measures: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
type: z.ZodEnum<typeof import("./type-enums").MeasureTypesEnum>;
|
|
64
|
+
format: z.ZodOptional<z.ZodEnum<typeof import("./type-enums").MeasureFormatsEnum>>;
|
|
65
|
+
index: z.ZodOptional<z.ZodString>;
|
|
66
|
+
sql: z.ZodOptional<z.ZodString>;
|
|
67
|
+
dimension: z.ZodOptional<z.ZodString>;
|
|
68
|
+
public: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
70
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>>;
|
|
71
|
+
preAggregations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
72
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
73
|
+
rollup: "rollup";
|
|
74
|
+
original_sql: "original_sql";
|
|
75
|
+
rollup_join: "rollup_join";
|
|
76
|
+
}>>;
|
|
77
|
+
measures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
|
+
dimensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
79
|
+
segments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
80
|
+
timeDimension: z.ZodOptional<z.ZodString>;
|
|
81
|
+
granularity: z.ZodOptional<z.ZodString>;
|
|
82
|
+
partitionGranularity: z.ZodOptional<z.ZodString>;
|
|
83
|
+
rollups: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
+
refreshKeySql: z.ZodOptional<z.ZodString>;
|
|
85
|
+
refreshKeyEvery: z.ZodOptional<z.ZodString>;
|
|
86
|
+
refreshKeyIncremental: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
refreshKeyUpdateWindow: z.ZodOptional<z.ZodString>;
|
|
88
|
+
buildRangeStartSql: z.ZodOptional<z.ZodString>;
|
|
89
|
+
buildRangeEndSql: z.ZodOptional<z.ZodString>;
|
|
90
|
+
lambda: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>>;
|
|
92
|
+
}, z.core.$strip>, z.ZodBoolean]>>>;
|
|
93
|
+
semanticTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
94
|
+
name: z.ZodOptional<z.ZodString>;
|
|
95
|
+
description: z.ZodOptional<z.ZodString>;
|
|
96
|
+
eventType: z.ZodString;
|
|
97
|
+
dataset: z.ZodString;
|
|
98
|
+
dimensions: z.ZodArray<z.ZodString>;
|
|
99
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
101
|
+
dimension: z.ZodString;
|
|
102
|
+
operator: z.ZodEnum<typeof import("./type-enums").SemanticTriggerFilterOperatorsEnum>;
|
|
103
|
+
values: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
104
|
+
}, z.core.$strip>, z.ZodLiteral<false>]>>>;
|
|
105
|
+
cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
tz: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
+
incrementalField: z.ZodOptional<z.ZodString>;
|
|
108
|
+
ungrouped: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
}, z.core.$strip>, z.ZodBoolean]>>>;
|
|
110
|
+
connectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
111
|
+
identifier: z.ZodString;
|
|
112
|
+
connectorType: z.ZodEnum<typeof import("../types").ConfiguredConnectorTypes>;
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
location: z.ZodString;
|
|
115
|
+
config: z.ZodObject<{}, z.core.$loose>;
|
|
116
|
+
enabled: z.ZodBoolean;
|
|
117
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
|
+
identifier: z.ZodString;
|
|
119
|
+
version: z.ZodString;
|
|
120
|
+
name: z.ZodString;
|
|
121
|
+
description: z.ZodOptional<z.ZodString>;
|
|
122
|
+
config: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
123
|
+
inputParameters: z.ZodArray<z.ZodObject<{
|
|
124
|
+
name: z.ZodString;
|
|
125
|
+
description: z.ZodOptional<z.ZodString>;
|
|
126
|
+
type: z.ZodEnum<{
|
|
127
|
+
string: "string";
|
|
128
|
+
number: "number";
|
|
129
|
+
boolean: "boolean";
|
|
130
|
+
array: "array";
|
|
131
|
+
}>;
|
|
132
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
items: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
outputParameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
136
|
+
mode: z.ZodOptional<z.ZodEnum<typeof import("./type-enums").ConnectorOrigin>>;
|
|
137
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
138
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
139
|
+
}, z.core.$strip>>>;
|
|
140
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
141
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
142
|
+
}, z.core.$strip>, z.ZodBoolean]>>>;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
export interface TemplateImplementationOverridesInterface {
|
|
145
|
+
datasets?: DatasetsInterface;
|
|
146
|
+
semanticTriggers?: SemanticTriggersInterface;
|
|
147
|
+
connectors?: ConnectorsInterface;
|
|
148
|
+
}
|