@transai/connector-runner-file 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/index.cjs +32 -32
  3. package/index.cjs.map +3 -3
  4. package/libs/connector-runner-file/src/lib/actions/actions-handler.d.ts +1 -2
  5. package/libs/connector-runner-file/src/lib/connector-runner-file.d.ts +1 -2
  6. package/libs/connector-runner-file/src/lib/types.d.ts +1 -1
  7. package/libs/connector-runtime-sdk/src/lib/sdk/offset-store.sdk.interface.d.ts +1 -0
  8. package/libs/connector-runtime-sdk/src/lib/sdk/processing.sdk.interface.d.ts +17 -0
  9. package/package.json +1 -1
  10. package/index.js +0 -58
  11. package/index.js.map +0 -7
  12. package/libs/types/src/index.d.ts +0 -7
  13. package/libs/types/src/lib/cube-query-config.types.d.ts +0 -20
  14. package/libs/types/src/lib/file-action.types.d.ts +0 -5
  15. package/libs/types/src/lib/http-status-codes.enum.d.ts +0 -64
  16. package/libs/types/src/lib/management-api/action-definition.interface.d.ts +0 -12
  17. package/libs/types/src/lib/management-api/author.interface.d.ts +0 -11
  18. package/libs/types/src/lib/management-api/chart.interface.d.ts +0 -9
  19. package/libs/types/src/lib/management-api/connector/connector.interface.d.ts +0 -52
  20. package/libs/types/src/lib/management-api/connector/connectors.interface.d.ts +0 -38
  21. package/libs/types/src/lib/management-api/connector-orchestrator-config.interface.d.ts +0 -14
  22. package/libs/types/src/lib/management-api/cube-dataset.interface.d.ts +0 -94
  23. package/libs/types/src/lib/management-api/dashboard.interface.d.ts +0 -35
  24. package/libs/types/src/lib/management-api/dataset/collection.interface.d.ts +0 -10
  25. package/libs/types/src/lib/management-api/dataset/dataset-record.interface.d.ts +0 -41
  26. package/libs/types/src/lib/management-api/dataset/dataset.interface.d.ts +0 -118
  27. package/libs/types/src/lib/management-api/dataset/datasets.interface.d.ts +0 -96
  28. package/libs/types/src/lib/management-api/dataset/dimension.interface.d.ts +0 -53
  29. package/libs/types/src/lib/management-api/dataset/dimensions.interface.d.ts +0 -33
  30. package/libs/types/src/lib/management-api/dataset/filter-group.interface.d.ts +0 -8
  31. package/libs/types/src/lib/management-api/dataset/filter.interface.d.ts +0 -14
  32. package/libs/types/src/lib/management-api/dataset/filters.interface.d.ts +0 -7
  33. package/libs/types/src/lib/management-api/dataset/measure.interface.d.ts +0 -27
  34. package/libs/types/src/lib/management-api/dataset/measures.interface.d.ts +0 -17
  35. package/libs/types/src/lib/management-api/dataset/meta.interface.d.ts +0 -9
  36. package/libs/types/src/lib/management-api/dataset/pre-aggregate.interface.d.ts +0 -41
  37. package/libs/types/src/lib/management-api/dataset/pre-aggregations.interface.d.ts +0 -26
  38. package/libs/types/src/lib/management-api/dataset/relation.interface.d.ts +0 -16
  39. package/libs/types/src/lib/management-api/dataset/relations.interface.d.ts +0 -12
  40. package/libs/types/src/lib/management-api/dataset/segment.interface.d.ts +0 -17
  41. package/libs/types/src/lib/management-api/dataset/segments.interface.d.ts +0 -15
  42. package/libs/types/src/lib/management-api/dataset/switch.interface.d.ts +0 -20
  43. package/libs/types/src/lib/management-api/dataset/when-item.interface.d.ts +0 -15
  44. package/libs/types/src/lib/management-api/dataset/when-items.interface.d.ts +0 -14
  45. package/libs/types/src/lib/management-api/event-origin.interface.d.ts +0 -24
  46. package/libs/types/src/lib/management-api/index.d.ts +0 -40
  47. package/libs/types/src/lib/management-api/semantic-trigger/custom-cron-trigger-record.interface.d.ts +0 -6
  48. package/libs/types/src/lib/management-api/semantic-trigger/index.d.ts +0 -6
  49. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filter.interface.d.ts +0 -12
  50. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filters.interface.d.ts +0 -10
  51. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-record.interface.d.ts +0 -6
  52. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger.interface.d.ts +0 -35
  53. package/libs/types/src/lib/management-api/semantic-trigger/semantic-triggers.interface.d.ts +0 -22
  54. package/libs/types/src/lib/management-api/template-implementation-overrides.interface.d.ts +0 -150
  55. package/libs/types/src/lib/management-api/template-implementation.interface.d.ts +0 -314
  56. package/libs/types/src/lib/management-api/template.interface.d.ts +0 -190
  57. package/libs/types/src/lib/management-api/tenant.interface.d.ts +0 -8
  58. package/libs/types/src/lib/management-api/type-enums.d.ts +0 -91
  59. package/libs/types/src/lib/management-api/web/generic-filter.dto.d.ts +0 -37
  60. package/libs/types/src/lib/management-api/web/index.d.ts +0 -2
  61. package/libs/types/src/lib/management-api/web/paginated-response.interface.d.ts +0 -17
  62. package/libs/types/src/lib/management-api/workflow/action.interface.d.ts +0 -71
  63. package/libs/types/src/lib/management-api/workflow/enums/index.d.ts +0 -3
  64. package/libs/types/src/lib/management-api/workflow/enums/node-types.enum.d.ts +0 -14
  65. package/libs/types/src/lib/management-api/workflow/enums/trigger-types.enum.d.ts +0 -14
  66. package/libs/types/src/lib/management-api/workflow/enums/workflow-status.enum.d.ts +0 -16
  67. package/libs/types/src/lib/management-api/workflow/index.d.ts +0 -7
  68. package/libs/types/src/lib/management-api/workflow/offset.interface.d.ts +0 -14
  69. package/libs/types/src/lib/management-api/workflow/parameter-mapper.interface.d.ts +0 -26
  70. package/libs/types/src/lib/management-api/workflow/workflow-definition.interface.d.ts +0 -66
  71. package/libs/types/src/lib/management-api/workflow/workflow-drawing.interface.d.ts +0 -96
  72. package/libs/types/src/lib/management-api/workflow/workflow-run.interface.d.ts +0 -57
  73. package/libs/types/src/lib/message.types.d.ts +0 -59
  74. package/libs/types/src/lib/response.types.d.ts +0 -27
  75. package/libs/types/src/lib/types.d.ts +0 -134
@@ -1,53 +0,0 @@
1
- import { z } from 'zod';
2
- import { DimensionFormatsEnum, DimensionTypesEnum } from '../type-enums';
3
- import { SwitchInterface } from './switch.interface';
4
- import { MetaInterface } from './meta.interface';
5
- export declare const DimensionSchema: z.ZodObject<{
6
- name: z.ZodString;
7
- description: z.ZodString;
8
- type: z.ZodEnum<typeof DimensionTypesEnum>;
9
- format: z.ZodOptional<z.ZodEnum<typeof DimensionFormatsEnum>>;
10
- explode: z.ZodOptional<z.ZodBoolean>;
11
- index: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
12
- upperIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
13
- switch: z.ZodOptional<z.ZodObject<{
14
- when: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
15
- sql: z.ZodOptional<z.ZodString>;
16
- dimension: z.ZodOptional<z.ZodString>;
17
- operator: z.ZodOptional<z.ZodEnum<typeof import("../type-enums").FilterOperatorsEnum>>;
18
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
19
- }, z.core.$strip>, z.ZodObject<{
20
- label: z.ZodString;
21
- description: z.ZodOptional<z.ZodString>;
22
- }, z.core.$strip>>, z.ZodLiteral<false>]>>;
23
- else: z.ZodOptional<z.ZodString>;
24
- segment: z.ZodOptional<z.ZodBoolean>;
25
- }, z.core.$strip>>;
26
- field: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
27
- sql: z.ZodOptional<z.ZodString>;
28
- public: z.ZodOptional<z.ZodBoolean>;
29
- primaryKey: z.ZodOptional<z.ZodBoolean>;
30
- subQuery: z.ZodOptional<z.ZodBoolean>;
31
- 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]>>>;
32
- }, z.core.$strip>;
33
- export interface DimensionInterface {
34
- name: string;
35
- description: string;
36
- type: DimensionTypesEnum;
37
- format?: DimensionFormatsEnum;
38
- explode?: boolean;
39
- index?: boolean | string;
40
- upperIndex?: boolean | string;
41
- switch?: SwitchInterface;
42
- field?: string | Array<string>;
43
- sql?: string;
44
- public?: boolean;
45
- primaryKey?: boolean;
46
- subQuery?: boolean;
47
- meta?: MetaInterface;
48
- granularities?: {
49
- [key: string]: {
50
- interval: string;
51
- };
52
- };
53
- }
@@ -1,33 +0,0 @@
1
- import { z } from 'zod';
2
- import { DimensionInterface } from './dimension.interface';
3
- export declare const DimensionsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
4
- name: z.ZodString;
5
- description: z.ZodString;
6
- type: z.ZodEnum<typeof import("..").DimensionTypesEnum>;
7
- format: z.ZodOptional<z.ZodEnum<typeof import("..").DimensionFormatsEnum>>;
8
- explode: z.ZodOptional<z.ZodBoolean>;
9
- index: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
10
- upperIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
11
- switch: z.ZodOptional<z.ZodObject<{
12
- when: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
13
- sql: z.ZodOptional<z.ZodString>;
14
- dimension: z.ZodOptional<z.ZodString>;
15
- operator: z.ZodOptional<z.ZodEnum<typeof import("..").FilterOperatorsEnum>>;
16
- value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
17
- }, z.core.$strip>, z.ZodObject<{
18
- label: z.ZodString;
19
- description: z.ZodOptional<z.ZodString>;
20
- }, z.core.$strip>>, z.ZodLiteral<false>]>>;
21
- else: z.ZodOptional<z.ZodString>;
22
- segment: z.ZodOptional<z.ZodBoolean>;
23
- }, z.core.$strip>>;
24
- field: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
25
- sql: z.ZodOptional<z.ZodString>;
26
- public: z.ZodOptional<z.ZodBoolean>;
27
- primaryKey: z.ZodOptional<z.ZodBoolean>;
28
- subQuery: z.ZodOptional<z.ZodBoolean>;
29
- 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]>>>;
30
- }, z.core.$strip>, z.ZodLiteral<false>]>>;
31
- export interface DimensionsInterface {
32
- [key: string]: DimensionInterface | false;
33
- }
@@ -1,8 +0,0 @@
1
- import { z } from 'zod';
2
- import { FiltersInterface } from './filters.interface';
3
- import { FilterGroupTypesEnum } from '../type-enums';
4
- export declare const FilterGroupSchema: z.ZodType<FilterGroupInterface>;
5
- export interface FilterGroupInterface {
6
- type: FilterGroupTypesEnum;
7
- filters: FiltersInterface;
8
- }
@@ -1,14 +0,0 @@
1
- import { z } from 'zod';
2
- import { FilterOperatorsEnum, FilterValueType } from '../type-enums';
3
- export declare const FilterSchema: z.ZodObject<{
4
- sql: z.ZodOptional<z.ZodString>;
5
- dimension: z.ZodOptional<z.ZodString>;
6
- operator: z.ZodOptional<z.ZodEnum<typeof 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>;
9
- export interface FilterInterface {
10
- dimension?: string;
11
- operator?: FilterOperatorsEnum;
12
- value?: FilterValueType;
13
- sql?: string;
14
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
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
- upperIndex: z.ZodOptional<z.ZodString>;
11
- sql: z.ZodOptional<z.ZodString>;
12
- dimension: z.ZodOptional<z.ZodString>;
13
- public: z.ZodOptional<z.ZodBoolean>;
14
- 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]>>>;
15
- }, z.core.$strip>;
16
- export interface MeasureInterface {
17
- name: string;
18
- description?: string;
19
- type: MeasureTypesEnum;
20
- format?: MeasureFormatsEnum;
21
- index?: string;
22
- upperIndex?: string;
23
- sql?: string;
24
- dimension?: string;
25
- public?: boolean;
26
- meta?: MetaInterface;
27
- }
@@ -1,17 +0,0 @@
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
- upperIndex: 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>, z.ZodLiteral<false>]>>;
15
- export interface MeasuresInterface {
16
- [key: string]: MeasureInterface | false;
17
- }
@@ -1,9 +0,0 @@
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
- }
@@ -1,41 +0,0 @@
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
- }
@@ -1,26 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,20 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,24 +0,0 @@
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
- }
@@ -1,40 +0,0 @@
1
- export * from './type-enums';
2
- export * from './action-definition.interface';
3
- export * from './tenant.interface';
4
- export * from './author.interface';
5
- export * from './cube-dataset.interface';
6
- export * from './event-origin.interface';
7
- export * from './workflow';
8
- export * from './semantic-trigger';
9
- export * from './connector-orchestrator-config.interface';
10
- export * from './chart.interface';
11
- export * from './dashboard.interface';
12
- export * from './semantic-trigger';
13
- export * from './dataset/datasets.interface';
14
- export * from './dataset/dataset.interface';
15
- export * from './dataset/dataset-record.interface';
16
- export * from './dataset/collection.interface';
17
- export * from './dataset/filters.interface';
18
- export * from './dataset/filter.interface';
19
- export * from './connector/connector.interface';
20
- export * from './connector/connectors.interface';
21
- export * from './template.interface';
22
- export * from './template-implementation.interface';
23
- export * from './template-implementation-overrides.interface';
24
- export { FilterGroupInterface } from './dataset/filter-group.interface';
25
- export { DimensionsInterface } from './dataset/dimensions.interface';
26
- export { DimensionInterface } from './dataset/dimension.interface';
27
- export { SegmentsInterface } from './dataset/segments.interface';
28
- export { SegmentInterface } from './dataset/segment.interface';
29
- export { RelationsInterface } from './dataset/relations.interface';
30
- export { RelationInterface } from './dataset/relation.interface';
31
- export { MeasuresInterface } from './dataset/measures.interface';
32
- export { MeasureInterface } from './dataset/measure.interface';
33
- export { SwitchInterface } from './dataset/switch.interface';
34
- export { WhenItemsInterface } from './dataset/when-items.interface';
35
- export { WhenItemInterface } from './dataset/when-item.interface';
36
- export { MetaInterface } from './dataset/meta.interface';
37
- export { PreAggregationsInterface } from './dataset/pre-aggregations.interface';
38
- export { PreAggregateInterface } from './dataset/pre-aggregate.interface';
39
- export { TemplateImplementationOverridesInterface } from './template-implementation-overrides.interface';
40
- export * from './web';
@@ -1,6 +0,0 @@
1
- import { TriggerType } from '../workflow';
2
- export interface CustomCronTriggerRecord {
3
- triggerType: TriggerType;
4
- workflowIdentifier: string;
5
- tenantIdentifier: string;
6
- }
@@ -1,6 +0,0 @@
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';
@@ -1,12 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,6 +0,0 @@
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;
@@ -1,35 +0,0 @@
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
- }
@@ -1,22 +0,0 @@
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
- }