@transai/connector-runner-mkg 0.4.0 → 0.5.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 (34) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/libs/connector-runtime-sdk/src/lib/sdk/http-client.interface.d.ts +8 -0
  3. package/libs/connector-runtime-sdk/src/lib/sdk/sender.sdk.interface.d.ts +2 -2
  4. package/libs/types/src/lib/management-api/connector/connector.interface.d.ts +14 -102
  5. package/libs/types/src/lib/management-api/connector/connectors.interface.d.ts +14 -102
  6. package/libs/types/src/lib/management-api/dataset/collection.interface.d.ts +2 -8
  7. package/libs/types/src/lib/management-api/dataset/dataset.interface.d.ts +43 -659
  8. package/libs/types/src/lib/management-api/dataset/datasets.interface.d.ts +43 -659
  9. package/libs/types/src/lib/management-api/dataset/dimension.interface.d.ts +13 -167
  10. package/libs/types/src/lib/management-api/dataset/dimensions.interface.d.ts +13 -167
  11. package/libs/types/src/lib/management-api/dataset/filter.interface.d.ts +4 -24
  12. package/libs/types/src/lib/management-api/dataset/measure.interface.d.ts +5 -45
  13. package/libs/types/src/lib/management-api/dataset/measures.interface.d.ts +5 -45
  14. package/libs/types/src/lib/management-api/dataset/meta.interface.d.ts +1 -1
  15. package/libs/types/src/lib/management-api/dataset/pre-aggregate.interface.d.ts +10 -38
  16. package/libs/types/src/lib/management-api/dataset/pre-aggregations.interface.d.ts +11 -39
  17. package/libs/types/src/lib/management-api/dataset/relation.interface.d.ts +3 -27
  18. package/libs/types/src/lib/management-api/dataset/relations.interface.d.ts +3 -27
  19. package/libs/types/src/lib/management-api/dataset/segment.interface.d.ts +5 -33
  20. package/libs/types/src/lib/management-api/dataset/segments.interface.d.ts +5 -33
  21. package/libs/types/src/lib/management-api/dataset/switch.interface.d.ts +6 -56
  22. package/libs/types/src/lib/management-api/dataset/when-item.interface.d.ts +5 -31
  23. package/libs/types/src/lib/management-api/dataset/when-items.interface.d.ts +5 -31
  24. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filter.interface.d.ts +3 -11
  25. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filters.interface.d.ts +4 -12
  26. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger.interface.d.ts +6 -46
  27. package/libs/types/src/lib/management-api/semantic-trigger/semantic-triggers.interface.d.ts +7 -47
  28. package/libs/types/src/lib/management-api/template-implementation-overrides.interface.d.ts +65 -1069
  29. package/libs/types/src/lib/management-api/template-implementation.interface.d.ts +132 -2685
  30. package/libs/types/src/lib/management-api/template.interface.d.ts +65 -1079
  31. package/libs/types/src/lib/management-api/type-enums.d.ts +2 -2
  32. package/libs/types/src/lib/management-api/workflow/action.interface.d.ts +13 -48
  33. package/libs/types/src/lib/types.d.ts +4 -1
  34. package/package.json +1 -1
@@ -1,14 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  import { PreAggregateInterface } from './pre-aggregate.interface';
3
- export declare const PreAggregationsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
4
- type: z.ZodOptional<z.ZodEnum<["rollup", "original_sql", "rollup_join"]>>;
5
- measures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
- dimensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
- segments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
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>>;
8
12
  timeDimension: z.ZodOptional<z.ZodString>;
9
13
  granularity: z.ZodOptional<z.ZodString>;
10
14
  partitionGranularity: z.ZodOptional<z.ZodString>;
11
- rollups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
+ rollups: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
16
  refreshKeySql: z.ZodOptional<z.ZodString>;
13
17
  refreshKeyEvery: z.ZodOptional<z.ZodString>;
14
18
  refreshKeyIncremental: z.ZodOptional<z.ZodBoolean>;
@@ -16,39 +20,7 @@ export declare const PreAggregationsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<
16
20
  buildRangeStartSql: z.ZodOptional<z.ZodString>;
17
21
  buildRangeEndSql: z.ZodOptional<z.ZodString>;
18
22
  lambda: z.ZodOptional<z.ZodBoolean>;
19
- }, "strip", z.ZodTypeAny, {
20
- type?: "rollup" | "original_sql" | "rollup_join" | undefined;
21
- dimensions?: string[] | undefined;
22
- measures?: string[] | undefined;
23
- segments?: string[] | undefined;
24
- timeDimension?: string | undefined;
25
- granularity?: string | undefined;
26
- partitionGranularity?: string | undefined;
27
- rollups?: string[] | undefined;
28
- refreshKeySql?: string | undefined;
29
- refreshKeyEvery?: string | undefined;
30
- refreshKeyIncremental?: boolean | undefined;
31
- refreshKeyUpdateWindow?: string | undefined;
32
- buildRangeStartSql?: string | undefined;
33
- buildRangeEndSql?: string | undefined;
34
- lambda?: boolean | undefined;
35
- }, {
36
- type?: "rollup" | "original_sql" | "rollup_join" | undefined;
37
- dimensions?: string[] | undefined;
38
- measures?: string[] | undefined;
39
- segments?: string[] | undefined;
40
- timeDimension?: string | undefined;
41
- granularity?: string | undefined;
42
- partitionGranularity?: string | undefined;
43
- rollups?: string[] | undefined;
44
- refreshKeySql?: string | undefined;
45
- refreshKeyEvery?: string | undefined;
46
- refreshKeyIncremental?: boolean | undefined;
47
- refreshKeyUpdateWindow?: string | undefined;
48
- buildRangeStartSql?: string | undefined;
49
- buildRangeEndSql?: string | undefined;
50
- lambda?: boolean | undefined;
51
- }>, z.ZodLiteral<false>]>>;
23
+ }, z.core.$strip>, z.ZodLiteral<false>]>>;
52
24
  export interface PreAggregationsInterface {
53
25
  [key: string]: PreAggregateInterface | false;
54
26
  }
@@ -1,36 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { RelationTypesEnum } from '../type-enums';
3
- export declare const RelationSchema: z.ZodEffects<z.ZodObject<{
4
- type: z.ZodNativeEnum<typeof RelationTypesEnum>;
3
+ export declare const RelationSchema: z.ZodObject<{
4
+ type: z.ZodEnum<typeof RelationTypesEnum>;
5
5
  dimension: z.ZodOptional<z.ZodString>;
6
6
  targetDataset: z.ZodString;
7
7
  targetDimension: z.ZodOptional<z.ZodString>;
8
8
  sql: z.ZodOptional<z.ZodString>;
9
- }, "strip", z.ZodTypeAny, {
10
- type: RelationTypesEnum;
11
- targetDataset: string;
12
- dimension?: string | undefined;
13
- sql?: string | undefined;
14
- targetDimension?: string | undefined;
15
- }, {
16
- type: RelationTypesEnum;
17
- targetDataset: string;
18
- dimension?: string | undefined;
19
- sql?: string | undefined;
20
- targetDimension?: string | undefined;
21
- }>, {
22
- type: RelationTypesEnum;
23
- targetDataset: string;
24
- dimension?: string | undefined;
25
- sql?: string | undefined;
26
- targetDimension?: string | undefined;
27
- }, {
28
- type: RelationTypesEnum;
29
- targetDataset: string;
30
- dimension?: string | undefined;
31
- sql?: string | undefined;
32
- targetDimension?: string | undefined;
33
- }>;
9
+ }, z.core.$strip>;
34
10
  export interface RelationInterface {
35
11
  type: RelationTypesEnum;
36
12
  dimension?: string;
@@ -1,36 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { RelationInterface } from './relation.interface';
3
- export declare const RelationsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4
- type: z.ZodNativeEnum<typeof import("..").RelationTypesEnum>;
3
+ export declare const RelationsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
4
+ type: z.ZodEnum<typeof import("..").RelationTypesEnum>;
5
5
  dimension: z.ZodOptional<z.ZodString>;
6
6
  targetDataset: z.ZodString;
7
7
  targetDimension: z.ZodOptional<z.ZodString>;
8
8
  sql: z.ZodOptional<z.ZodString>;
9
- }, "strip", z.ZodTypeAny, {
10
- type: import("..").RelationTypesEnum;
11
- targetDataset: string;
12
- dimension?: string | undefined;
13
- sql?: string | undefined;
14
- targetDimension?: string | undefined;
15
- }, {
16
- type: import("..").RelationTypesEnum;
17
- targetDataset: string;
18
- dimension?: string | undefined;
19
- sql?: string | undefined;
20
- targetDimension?: string | undefined;
21
- }>, {
22
- type: import("..").RelationTypesEnum;
23
- targetDataset: string;
24
- dimension?: string | undefined;
25
- sql?: string | undefined;
26
- targetDimension?: string | undefined;
27
- }, {
28
- type: import("..").RelationTypesEnum;
29
- targetDataset: string;
30
- dimension?: string | undefined;
31
- sql?: string | undefined;
32
- targetDimension?: string | undefined;
33
- }>, z.ZodLiteral<false>]>>;
9
+ }, z.core.$strip>, z.ZodLiteral<false>]>>;
34
10
  export interface RelationsInterface {
35
11
  [key: string]: RelationInterface | false;
36
12
  }
@@ -1,43 +1,15 @@
1
1
  import { z } from 'zod';
2
2
  import { FilterInterface } from './filter.interface';
3
- export declare const SegmentSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
3
+ export declare const SegmentSchema: z.ZodIntersection<z.ZodObject<{
4
4
  sql: z.ZodOptional<z.ZodString>;
5
5
  dimension: z.ZodOptional<z.ZodString>;
6
- operator: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FilterOperatorsEnum>>;
7
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>;
8
- }, "strip", z.ZodTypeAny, {
9
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
10
- dimension?: string | undefined;
11
- operator?: import("..").FilterOperatorsEnum | undefined;
12
- sql?: string | undefined;
13
- }, {
14
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
15
- dimension?: string | undefined;
16
- operator?: import("..").FilterOperatorsEnum | undefined;
17
- sql?: string | undefined;
18
- }>, {
19
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
20
- dimension?: string | undefined;
21
- operator?: import("..").FilterOperatorsEnum | undefined;
22
- sql?: string | undefined;
23
- }, {
24
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
25
- dimension?: string | undefined;
26
- operator?: import("..").FilterOperatorsEnum | undefined;
27
- sql?: string | undefined;
28
- }>, z.ZodObject<{
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<{
29
9
  name: z.ZodOptional<z.ZodString>;
30
10
  description: z.ZodOptional<z.ZodString>;
31
11
  public: z.ZodOptional<z.ZodBoolean>;
32
- }, "strip", z.ZodTypeAny, {
33
- name?: string | undefined;
34
- description?: string | undefined;
35
- public?: boolean | undefined;
36
- }, {
37
- name?: string | undefined;
38
- description?: string | undefined;
39
- public?: boolean | undefined;
40
- }>>;
12
+ }, z.core.$strip>>;
41
13
  export interface SegmentInterface extends FilterInterface {
42
14
  name?: string;
43
15
  description?: string;
@@ -1,43 +1,15 @@
1
1
  import { z } from 'zod';
2
2
  import { SegmentInterface } from './segment.interface';
3
- export declare const SegmentsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodIntersection<z.ZodEffects<z.ZodObject<{
3
+ export declare const SegmentsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
4
4
  sql: z.ZodOptional<z.ZodString>;
5
5
  dimension: z.ZodOptional<z.ZodString>;
6
- operator: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FilterOperatorsEnum>>;
7
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>;
8
- }, "strip", z.ZodTypeAny, {
9
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
10
- dimension?: string | undefined;
11
- operator?: import("..").FilterOperatorsEnum | undefined;
12
- sql?: string | undefined;
13
- }, {
14
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
15
- dimension?: string | undefined;
16
- operator?: import("..").FilterOperatorsEnum | undefined;
17
- sql?: string | undefined;
18
- }>, {
19
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
20
- dimension?: string | undefined;
21
- operator?: import("..").FilterOperatorsEnum | undefined;
22
- sql?: string | undefined;
23
- }, {
24
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
25
- dimension?: string | undefined;
26
- operator?: import("..").FilterOperatorsEnum | undefined;
27
- sql?: string | undefined;
28
- }>, z.ZodObject<{
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<{
29
9
  name: z.ZodOptional<z.ZodString>;
30
10
  description: z.ZodOptional<z.ZodString>;
31
11
  public: z.ZodOptional<z.ZodBoolean>;
32
- }, "strip", z.ZodTypeAny, {
33
- name?: string | undefined;
34
- description?: string | undefined;
35
- public?: boolean | undefined;
36
- }, {
37
- name?: string | undefined;
38
- description?: string | undefined;
39
- public?: boolean | undefined;
40
- }>>, z.ZodLiteral<false>]>>;
12
+ }, z.core.$strip>>, z.ZodLiteral<false>]>>;
41
13
  export interface SegmentsInterface {
42
14
  [key: string]: SegmentInterface | false;
43
15
  }
@@ -1,68 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  import { WhenItemsInterface } from './when-items.interface';
3
3
  export declare const SwitchSchema: z.ZodObject<{
4
- when: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodIntersection<z.ZodEffects<z.ZodObject<{
4
+ when: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
5
5
  sql: z.ZodOptional<z.ZodString>;
6
6
  dimension: z.ZodOptional<z.ZodString>;
7
- operator: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FilterOperatorsEnum>>;
8
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>;
9
- }, "strip", z.ZodTypeAny, {
10
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
11
- dimension?: string | undefined;
12
- operator?: import("..").FilterOperatorsEnum | undefined;
13
- sql?: string | undefined;
14
- }, {
15
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
16
- dimension?: string | undefined;
17
- operator?: import("..").FilterOperatorsEnum | undefined;
18
- sql?: string | undefined;
19
- }>, {
20
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
21
- dimension?: string | undefined;
22
- operator?: import("..").FilterOperatorsEnum | undefined;
23
- sql?: string | undefined;
24
- }, {
25
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
26
- dimension?: string | undefined;
27
- operator?: import("..").FilterOperatorsEnum | undefined;
28
- sql?: string | undefined;
29
- }>, z.ZodObject<{
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<{
30
10
  label: z.ZodString;
31
11
  description: z.ZodOptional<z.ZodString>;
32
- }, "strip", z.ZodTypeAny, {
33
- label: string;
34
- description?: string | undefined;
35
- }, {
36
- label: string;
37
- description?: string | undefined;
38
- }>>, z.ZodLiteral<false>]>>;
12
+ }, z.core.$strip>>, z.ZodLiteral<false>]>>;
39
13
  else: z.ZodOptional<z.ZodString>;
40
14
  segment: z.ZodOptional<z.ZodBoolean>;
41
- }, "strip", z.ZodTypeAny, {
42
- when: Record<string, false | ({
43
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
44
- dimension?: string | undefined;
45
- operator?: import("..").FilterOperatorsEnum | undefined;
46
- sql?: string | undefined;
47
- } & {
48
- label: string;
49
- description?: string | undefined;
50
- })>;
51
- else?: string | undefined;
52
- segment?: boolean | undefined;
53
- }, {
54
- when: Record<string, false | ({
55
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
56
- dimension?: string | undefined;
57
- operator?: import("..").FilterOperatorsEnum | undefined;
58
- sql?: string | undefined;
59
- } & {
60
- label: string;
61
- description?: string | undefined;
62
- })>;
63
- else?: string | undefined;
64
- segment?: boolean | undefined;
65
- }>;
15
+ }, z.core.$strip>;
66
16
  export interface SwitchInterface {
67
17
  when: WhenItemsInterface;
68
18
  else?: string;
@@ -1,40 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  import { FilterInterface } from './filter.interface';
3
- export declare const WhenItemSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
3
+ export declare const WhenItemSchema: z.ZodIntersection<z.ZodObject<{
4
4
  sql: z.ZodOptional<z.ZodString>;
5
5
  dimension: z.ZodOptional<z.ZodString>;
6
- operator: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FilterOperatorsEnum>>;
7
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>;
8
- }, "strip", z.ZodTypeAny, {
9
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
10
- dimension?: string | undefined;
11
- operator?: import("..").FilterOperatorsEnum | undefined;
12
- sql?: string | undefined;
13
- }, {
14
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
15
- dimension?: string | undefined;
16
- operator?: import("..").FilterOperatorsEnum | undefined;
17
- sql?: string | undefined;
18
- }>, {
19
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
20
- dimension?: string | undefined;
21
- operator?: import("..").FilterOperatorsEnum | undefined;
22
- sql?: string | undefined;
23
- }, {
24
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
25
- dimension?: string | undefined;
26
- operator?: import("..").FilterOperatorsEnum | undefined;
27
- sql?: string | undefined;
28
- }>, z.ZodObject<{
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<{
29
9
  label: z.ZodString;
30
10
  description: z.ZodOptional<z.ZodString>;
31
- }, "strip", z.ZodTypeAny, {
32
- label: string;
33
- description?: string | undefined;
34
- }, {
35
- label: string;
36
- description?: string | undefined;
37
- }>>;
11
+ }, z.core.$strip>>;
38
12
  export interface WhenItemInterface extends FilterInterface {
39
13
  label: string;
40
14
  description?: string;
@@ -1,40 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  import { WhenItemInterface } from './when-item.interface';
3
- export declare const WhenItemsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodIntersection<z.ZodEffects<z.ZodObject<{
3
+ export declare const WhenItemsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
4
4
  sql: z.ZodOptional<z.ZodString>;
5
5
  dimension: z.ZodOptional<z.ZodString>;
6
- operator: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FilterOperatorsEnum>>;
7
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>;
8
- }, "strip", z.ZodTypeAny, {
9
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
10
- dimension?: string | undefined;
11
- operator?: import("..").FilterOperatorsEnum | undefined;
12
- sql?: string | undefined;
13
- }, {
14
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
15
- dimension?: string | undefined;
16
- operator?: import("..").FilterOperatorsEnum | undefined;
17
- sql?: string | undefined;
18
- }>, {
19
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
20
- dimension?: string | undefined;
21
- operator?: import("..").FilterOperatorsEnum | undefined;
22
- sql?: string | undefined;
23
- }, {
24
- value?: string | number | boolean | (string | number | boolean)[] | undefined;
25
- dimension?: string | undefined;
26
- operator?: import("..").FilterOperatorsEnum | undefined;
27
- sql?: string | undefined;
28
- }>, z.ZodObject<{
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<{
29
9
  label: z.ZodString;
30
10
  description: z.ZodOptional<z.ZodString>;
31
- }, "strip", z.ZodTypeAny, {
32
- label: string;
33
- description?: string | undefined;
34
- }, {
35
- label: string;
36
- description?: string | undefined;
37
- }>>, z.ZodLiteral<false>]>>;
11
+ }, z.core.$strip>>, z.ZodLiteral<false>]>>;
38
12
  export interface WhenItemsInterface {
39
13
  [key: string]: false | WhenItemInterface;
40
14
  }
@@ -2,17 +2,9 @@ import { z } from 'zod';
2
2
  import { FilterValueType, SemanticTriggerFilterOperatorsEnum } from '../type-enums';
3
3
  export declare const SemanticTriggerFilterSchema: z.ZodObject<{
4
4
  dimension: z.ZodString;
5
- operator: z.ZodNativeEnum<typeof SemanticTriggerFilterOperatorsEnum>;
6
- values: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>;
7
- }, "strip", z.ZodTypeAny, {
8
- values: string | number | boolean | (string | number | boolean)[];
9
- dimension: string;
10
- operator: SemanticTriggerFilterOperatorsEnum;
11
- }, {
12
- values: string | number | boolean | (string | number | boolean)[];
13
- dimension: string;
14
- operator: SemanticTriggerFilterOperatorsEnum;
15
- }>;
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>;
16
8
  export interface SemanticTriggerFilterInterface {
17
9
  dimension: string;
18
10
  operator: SemanticTriggerFilterOperatorsEnum;
@@ -1,18 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  import { SemanticTriggerFilterInterface } from './semantic-trigger-filter.interface';
3
- export declare const SemanticTriggerFiltersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
3
+ export declare const SemanticTriggerFiltersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
4
4
  dimension: z.ZodString;
5
- operator: z.ZodNativeEnum<typeof import("..").SemanticTriggerFilterOperatorsEnum>;
6
- values: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>;
7
- }, "strip", z.ZodTypeAny, {
8
- values: string | number | boolean | (string | number | boolean)[];
9
- dimension: string;
10
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
11
- }, {
12
- values: string | number | boolean | (string | number | boolean)[];
13
- dimension: string;
14
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
15
- }>, z.ZodLiteral<false>]>>;
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>]>>;
16
8
  export interface SemanticTriggerFiltersInterface {
17
9
  [key: string]: SemanticTriggerFilterInterface | false;
18
10
  }
@@ -5,58 +5,18 @@ export declare const SemanticTriggerSchema: z.ZodObject<{
5
5
  description: z.ZodOptional<z.ZodString>;
6
6
  eventType: z.ZodString;
7
7
  dataset: z.ZodString;
8
- dimensions: z.ZodArray<z.ZodString, "many">;
8
+ dimensions: z.ZodArray<z.ZodString>;
9
9
  limit: z.ZodOptional<z.ZodNumber>;
10
- filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
10
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
11
11
  dimension: z.ZodString;
12
- operator: z.ZodNativeEnum<typeof import("..").SemanticTriggerFilterOperatorsEnum>;
13
- values: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>;
14
- }, "strip", z.ZodTypeAny, {
15
- values: string | number | boolean | (string | number | boolean)[];
16
- dimension: string;
17
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
18
- }, {
19
- values: string | number | boolean | (string | number | boolean)[];
20
- dimension: string;
21
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
22
- }>, z.ZodLiteral<false>]>>>;
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>]>>>;
23
15
  cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
16
  tz: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
17
  incrementalField: z.ZodOptional<z.ZodString>;
26
18
  ungrouped: z.ZodOptional<z.ZodBoolean>;
27
- }, "strip", z.ZodTypeAny, {
28
- eventType: string;
29
- dataset: string;
30
- dimensions: string[];
31
- name?: string | undefined;
32
- description?: string | undefined;
33
- limit?: number | undefined;
34
- filters?: Record<string, false | {
35
- values: string | number | boolean | (string | number | boolean)[];
36
- dimension: string;
37
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
38
- }> | undefined;
39
- cron?: string | null | undefined;
40
- tz?: string | null | undefined;
41
- incrementalField?: string | undefined;
42
- ungrouped?: boolean | undefined;
43
- }, {
44
- eventType: string;
45
- dataset: string;
46
- dimensions: string[];
47
- name?: string | undefined;
48
- description?: string | undefined;
49
- limit?: number | undefined;
50
- filters?: Record<string, false | {
51
- values: string | number | boolean | (string | number | boolean)[];
52
- dimension: string;
53
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
54
- }> | undefined;
55
- cron?: string | null | undefined;
56
- tz?: string | null | undefined;
57
- incrementalField?: string | undefined;
58
- ungrouped?: boolean | undefined;
59
- }>;
19
+ }, z.core.$strip>;
60
20
  export interface SemanticTriggerInterface {
61
21
  name?: string;
62
22
  description?: string;
@@ -1,62 +1,22 @@
1
1
  import { z } from 'zod';
2
2
  import { SemanticTriggerInterface } from './semantic-trigger.interface';
3
- export declare const SemanticTriggersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
3
+ export declare const SemanticTriggersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
4
4
  name: z.ZodOptional<z.ZodString>;
5
5
  description: z.ZodOptional<z.ZodString>;
6
6
  eventType: z.ZodString;
7
7
  dataset: z.ZodString;
8
- dimensions: z.ZodArray<z.ZodString, "many">;
8
+ dimensions: z.ZodArray<z.ZodString>;
9
9
  limit: z.ZodOptional<z.ZodNumber>;
10
- filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
10
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
11
11
  dimension: z.ZodString;
12
- operator: z.ZodNativeEnum<typeof import("..").SemanticTriggerFilterOperatorsEnum>;
13
- values: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>;
14
- }, "strip", z.ZodTypeAny, {
15
- values: string | number | boolean | (string | number | boolean)[];
16
- dimension: string;
17
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
18
- }, {
19
- values: string | number | boolean | (string | number | boolean)[];
20
- dimension: string;
21
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
22
- }>, z.ZodLiteral<false>]>>>;
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>]>>>;
23
15
  cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
16
  tz: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
17
  incrementalField: z.ZodOptional<z.ZodString>;
26
18
  ungrouped: z.ZodOptional<z.ZodBoolean>;
27
- }, "strip", z.ZodTypeAny, {
28
- eventType: string;
29
- dataset: string;
30
- dimensions: string[];
31
- name?: string | undefined;
32
- description?: string | undefined;
33
- limit?: number | undefined;
34
- filters?: Record<string, false | {
35
- values: string | number | boolean | (string | number | boolean)[];
36
- dimension: string;
37
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
38
- }> | undefined;
39
- cron?: string | null | undefined;
40
- tz?: string | null | undefined;
41
- incrementalField?: string | undefined;
42
- ungrouped?: boolean | undefined;
43
- }, {
44
- eventType: string;
45
- dataset: string;
46
- dimensions: string[];
47
- name?: string | undefined;
48
- description?: string | undefined;
49
- limit?: number | undefined;
50
- filters?: Record<string, false | {
51
- values: string | number | boolean | (string | number | boolean)[];
52
- dimension: string;
53
- operator: import("..").SemanticTriggerFilterOperatorsEnum;
54
- }> | undefined;
55
- cron?: string | null | undefined;
56
- tz?: string | null | undefined;
57
- incrementalField?: string | undefined;
58
- ungrouped?: boolean | undefined;
59
- }>, z.ZodBoolean]>>;
19
+ }, z.core.$strip>, z.ZodBoolean]>>;
60
20
  export interface SemanticTriggersInterface {
61
21
  [key: string]: SemanticTriggerInterface | boolean;
62
22
  }