@transai/connector-runner-dummy-node 0.3.0 → 0.3.2
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 +27 -0
- package/index.cjs +1 -1
- package/index.cjs.map +2 -2
- package/index.js +1 -1
- package/index.js.map +2 -2
- package/libs/connector-runtime-sdk/src/index.d.ts +1 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/http-client.interface.d.ts +8 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/receiver.sdk.interface.d.ts +1 -1
- package/libs/connector-runtime-sdk/src/lib/sdk/sender.sdk.interface.d.ts +2 -2
- 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/lib/management-api/connector/connector.interface.d.ts +14 -102
- package/libs/types/src/lib/management-api/connector/connectors.interface.d.ts +14 -102
- package/libs/types/src/lib/management-api/dataset/collection.interface.d.ts +2 -8
- package/libs/types/src/lib/management-api/dataset/dataset.interface.d.ts +43 -659
- package/libs/types/src/lib/management-api/dataset/datasets.interface.d.ts +43 -659
- package/libs/types/src/lib/management-api/dataset/dimension.interface.d.ts +13 -167
- package/libs/types/src/lib/management-api/dataset/dimensions.interface.d.ts +13 -167
- package/libs/types/src/lib/management-api/dataset/filter.interface.d.ts +4 -24
- package/libs/types/src/lib/management-api/dataset/measure.interface.d.ts +5 -45
- package/libs/types/src/lib/management-api/dataset/measures.interface.d.ts +5 -45
- package/libs/types/src/lib/management-api/dataset/meta.interface.d.ts +1 -1
- package/libs/types/src/lib/management-api/dataset/pre-aggregate.interface.d.ts +10 -38
- package/libs/types/src/lib/management-api/dataset/pre-aggregations.interface.d.ts +11 -39
- package/libs/types/src/lib/management-api/dataset/relation.interface.d.ts +3 -27
- package/libs/types/src/lib/management-api/dataset/relations.interface.d.ts +3 -27
- package/libs/types/src/lib/management-api/dataset/segment.interface.d.ts +5 -33
- package/libs/types/src/lib/management-api/dataset/segments.interface.d.ts +5 -33
- package/libs/types/src/lib/management-api/dataset/switch.interface.d.ts +6 -56
- package/libs/types/src/lib/management-api/dataset/when-item.interface.d.ts +5 -31
- package/libs/types/src/lib/management-api/dataset/when-items.interface.d.ts +5 -31
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filter.interface.d.ts +3 -11
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filters.interface.d.ts +4 -12
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger.interface.d.ts +6 -46
- package/libs/types/src/lib/management-api/semantic-trigger/semantic-triggers.interface.d.ts +7 -47
- package/libs/types/src/lib/management-api/template-implementation-overrides.interface.d.ts +65 -1069
- package/libs/types/src/lib/management-api/template-implementation.interface.d.ts +132 -2685
- package/libs/types/src/lib/management-api/template.interface.d.ts +65 -1079
- package/libs/types/src/lib/management-api/type-enums.d.ts +2 -2
- package/libs/types/src/lib/management-api/workflow/action.interface.d.ts +13 -48
- package/libs/types/src/lib/management-api/workflow/workflow-run.d.ts +1 -5
- package/libs/types/src/lib/management-api/workflow/workflow.drawing.d.ts +1 -9
- package/libs/types/src/lib/types.d.ts +4 -1
- package/package.json +1 -1
|
@@ -13,13 +13,13 @@ export declare enum FilterOperatorsEnum {
|
|
|
13
13
|
lessThanOrEqual = "<=",
|
|
14
14
|
in = "IN"
|
|
15
15
|
}
|
|
16
|
-
export declare const FilterValueType: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]
|
|
16
|
+
export declare const FilterValueType: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
17
17
|
export type FilterValueType = z.infer<typeof FilterValueType>;
|
|
18
18
|
export declare enum FilterGroupTypesEnum {
|
|
19
19
|
and = "AND",
|
|
20
20
|
or = "OR"
|
|
21
21
|
}
|
|
22
|
-
export declare const FieldValueType: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
22
|
+
export declare const FieldValueType: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
23
23
|
export type FieldValueType = z.infer<typeof FieldValueType>;
|
|
24
24
|
export declare enum DimensionTypesEnum {
|
|
25
25
|
string = "string",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ConnectorOrigin } from '@xip-online-data/types';
|
|
2
1
|
import { z } from 'zod';
|
|
2
|
+
import { ConnectorOrigin } from '../type-enums';
|
|
3
3
|
export interface InputParameterInterface {
|
|
4
4
|
name: string;
|
|
5
|
+
description?: string;
|
|
5
6
|
type: 'string' | 'number' | 'boolean' | 'array';
|
|
6
7
|
required?: boolean;
|
|
7
8
|
items?: Array<InputParameterInterface>;
|
|
@@ -32,54 +33,18 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
32
33
|
config: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
33
34
|
inputParameters: z.ZodArray<z.ZodObject<{
|
|
34
35
|
name: z.ZodString;
|
|
35
|
-
|
|
36
|
+
description: z.ZodOptional<z.ZodString>;
|
|
37
|
+
type: z.ZodEnum<{
|
|
38
|
+
string: "string";
|
|
39
|
+
number: "number";
|
|
40
|
+
boolean: "boolean";
|
|
41
|
+
array: "array";
|
|
42
|
+
}>;
|
|
36
43
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
items: z.ZodOptional<z.ZodArray<z.ZodAny
|
|
38
|
-
},
|
|
39
|
-
type: "string" | "number" | "boolean" | "array";
|
|
40
|
-
name: string;
|
|
41
|
-
required?: boolean | undefined;
|
|
42
|
-
items?: any[] | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
type: "string" | "number" | "boolean" | "array";
|
|
45
|
-
name: string;
|
|
46
|
-
required?: boolean | undefined;
|
|
47
|
-
items?: any[] | undefined;
|
|
48
|
-
}>, "many">;
|
|
44
|
+
items: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
49
46
|
outputParameters: z.ZodAny;
|
|
50
|
-
mode: z.ZodOptional<z.
|
|
47
|
+
mode: z.ZodOptional<z.ZodEnum<typeof ConnectorOrigin>>;
|
|
51
48
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
52
49
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
53
|
-
},
|
|
54
|
-
identifier: string;
|
|
55
|
-
version: string;
|
|
56
|
-
name: string;
|
|
57
|
-
config: Record<string, any>;
|
|
58
|
-
inputParameters: {
|
|
59
|
-
type: "string" | "number" | "boolean" | "array";
|
|
60
|
-
name: string;
|
|
61
|
-
required?: boolean | undefined;
|
|
62
|
-
items?: any[] | undefined;
|
|
63
|
-
}[];
|
|
64
|
-
mode?: ConnectorOrigin | undefined;
|
|
65
|
-
createdAt?: Date | undefined;
|
|
66
|
-
description?: string | undefined;
|
|
67
|
-
outputParameters?: any;
|
|
68
|
-
updatedAt?: Date | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
identifier: string;
|
|
71
|
-
version: string;
|
|
72
|
-
name: string;
|
|
73
|
-
config: Record<string, any>;
|
|
74
|
-
inputParameters: {
|
|
75
|
-
type: "string" | "number" | "boolean" | "array";
|
|
76
|
-
name: string;
|
|
77
|
-
required?: boolean | undefined;
|
|
78
|
-
items?: any[] | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
mode?: ConnectorOrigin | undefined;
|
|
81
|
-
createdAt?: Date | undefined;
|
|
82
|
-
description?: string | undefined;
|
|
83
|
-
outputParameters?: any;
|
|
84
|
-
updatedAt?: Date | undefined;
|
|
85
|
-
}>;
|
|
50
|
+
}, z.core.$strip>;
|
|
@@ -25,7 +25,7 @@ export interface WorkflowRunInterface {
|
|
|
25
25
|
workflow: WorkflowDefinition;
|
|
26
26
|
drawing?: WorkflowDrawing;
|
|
27
27
|
trigger: EventInterface;
|
|
28
|
-
jobs: Array<ActionJob | ConditionalJob | ValidationJob
|
|
28
|
+
jobs: Array<ActionJob | ConditionalJob | ValidationJob>;
|
|
29
29
|
createdAt: Date;
|
|
30
30
|
updatedAt: Date;
|
|
31
31
|
testRun?: boolean;
|
|
@@ -53,10 +53,6 @@ export interface ActionJob extends WorkflowJobInterface {
|
|
|
53
53
|
type: NodeTypes.ACTION;
|
|
54
54
|
with: MessageMapper;
|
|
55
55
|
}
|
|
56
|
-
export interface AgentJob extends WorkflowJobInterface {
|
|
57
|
-
type: NodeTypes.AGENT;
|
|
58
|
-
with: MessageMapper;
|
|
59
|
-
}
|
|
60
56
|
export interface ConditionalJob extends WorkflowJobInterface {
|
|
61
57
|
type: NodeTypes.CONDITIONAL;
|
|
62
58
|
with: ConditionMapper;
|
|
@@ -3,7 +3,6 @@ import { ConditionMapper, MessageMapper } from './workflow-definition.interface'
|
|
|
3
3
|
export declare enum NodeTypes {
|
|
4
4
|
TRIGGER = "TRIGGER",
|
|
5
5
|
ACTION = "ACTION",
|
|
6
|
-
AGENT = "AGENT",
|
|
7
6
|
CONDITIONAL = "CONDITIONAL",
|
|
8
7
|
VALIDATION = "VALIDATION",
|
|
9
8
|
ANNOTATION = "ANNOTATION",
|
|
@@ -36,13 +35,6 @@ export interface ActionNode extends Node {
|
|
|
36
35
|
};
|
|
37
36
|
with: MessageMapper;
|
|
38
37
|
}
|
|
39
|
-
export interface AgentNode extends Node {
|
|
40
|
-
type: NodeTypes.AGENT;
|
|
41
|
-
agent: {
|
|
42
|
-
identifier: string;
|
|
43
|
-
};
|
|
44
|
-
with: MessageMapper;
|
|
45
|
-
}
|
|
46
38
|
export interface TriggerNode extends Node {
|
|
47
39
|
type: NodeTypes.TRIGGER;
|
|
48
40
|
trigger: {
|
|
@@ -72,7 +64,7 @@ export interface PlaceholderNode extends Node {
|
|
|
72
64
|
export interface InvisibleNode extends Node {
|
|
73
65
|
type: NodeTypes.INVISIBLE;
|
|
74
66
|
}
|
|
75
|
-
export type WorkflowNode = ActionNode |
|
|
67
|
+
export type WorkflowNode = ActionNode | ConditionalNode | AnnotationNode | PlaceholderNode | ValidationNode | EndNode | InvisibleNode;
|
|
76
68
|
export interface Edge {
|
|
77
69
|
id: string;
|
|
78
70
|
source: {
|
|
@@ -24,7 +24,10 @@ export declare enum ConfiguredConnectorTypes {
|
|
|
24
24
|
OPCUA_SINK = "opcua-sink",
|
|
25
25
|
AI_AGENT = "ai-agent",
|
|
26
26
|
MICROSOFT_OFFICE365_EMAIL = "microsoft-office365-email",
|
|
27
|
-
MKG = "mkg"
|
|
27
|
+
MKG = "mkg",
|
|
28
|
+
EZ_MES = "ez-mes",
|
|
29
|
+
OTTO_FLEET_MANAGER_V2 = "otto-fleet-manager-v2",
|
|
30
|
+
FRAUNHOFER_BATTERY_ASSEMBLY_CELLS = "fraunhofer-battery-assembly-cells"
|
|
28
31
|
}
|
|
29
32
|
export interface ConnectorConfig {
|
|
30
33
|
type: ConfiguredConnectorTypes;
|