@transai/connector-runner-dummy-node 0.4.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/files.sdk.interface.d.ts +1 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/http-client.interface.d.ts +1 -0
- package/libs/connector-runtime-sdk/src/lib/sdk/sender.sdk.interface.d.ts +1 -1
- package/libs/types/src/lib/management-api/workflow/action.interface.d.ts +1 -0
- package/libs/types/src/lib/types.d.ts +22 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.5.0 (2026-01-14)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated @transai/connector-runtime-sdk to 0.6.0
|
|
6
|
+
|
|
7
|
+
## 0.4.2 (2026-01-14)
|
|
8
|
+
|
|
9
|
+
### 🧱 Updated Dependencies
|
|
10
|
+
|
|
11
|
+
- Updated @transai/connector-runtime-sdk to 0.5.2
|
|
12
|
+
|
|
1
13
|
## 0.4.1 (2025-12-31)
|
|
2
14
|
|
|
3
15
|
### 🧱 Updated Dependencies
|
|
@@ -8,6 +8,7 @@ export type HttpRequestOptions<D = string | object> = {
|
|
|
8
8
|
params?: Record<string, string | number | boolean>;
|
|
9
9
|
data?: D;
|
|
10
10
|
withCredentials?: boolean;
|
|
11
|
+
responseType?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
|
|
11
12
|
};
|
|
12
13
|
export type HttpRequestOptionsFormatter<D = string | object> = (requestOptions: HttpRequestOptions<D>, method: HttpMethod, url: string) => Promise<HttpRequestOptions<D>> | HttpRequestOptions<D>;
|
|
13
14
|
export type HttpErrorResponseCallbackRequest<D = string | object> = {
|
|
@@ -17,6 +17,6 @@ export type Result = boolean | {
|
|
|
17
17
|
};
|
|
18
18
|
export interface SenderSDKInterface {
|
|
19
19
|
metrics(metrics: Array<Metric>, metadata?: Metadata, context?: Context): Promise<Result>;
|
|
20
|
-
metricsLegacy<T = never>(metrics: Array<T>, metadata?: Metadata, context?: Context): Promise<Result>;
|
|
20
|
+
metricsLegacy<T = never>(metrics: Array<T>, metadata?: Metadata, context?: Context, topic?: string): Promise<Result>;
|
|
21
21
|
documents<T = object>(documents: Array<T>, metadata?: Metadata, context?: Context): Promise<Result>;
|
|
22
22
|
}
|
|
@@ -44,6 +44,7 @@ export interface ActionInterface {
|
|
|
44
44
|
outputParameters: LegacyOutputParameterInterface | OutputParameterInterface;
|
|
45
45
|
mode?: ConnectorOrigin;
|
|
46
46
|
createdAt: Date;
|
|
47
|
+
updatedAt?: Date;
|
|
47
48
|
}
|
|
48
49
|
export type CreateActionInterface = Omit<ActionInterface, 'mode' | 'createdAt'>;
|
|
49
50
|
export declare const ActionSchema: z.ZodObject<{
|
|
@@ -27,7 +27,9 @@ export declare enum ConfiguredConnectorTypes {
|
|
|
27
27
|
MKG = "mkg",
|
|
28
28
|
EZ_MES = "ez-mes",
|
|
29
29
|
OTTO_FLEET_MANAGER_V2 = "otto-fleet-manager-v2",
|
|
30
|
-
FRAUNHOFER_BATTERY_ASSEMBLY_CELLS = "fraunhofer-battery-assembly-cells"
|
|
30
|
+
FRAUNHOFER_BATTERY_ASSEMBLY_CELLS = "fraunhofer-battery-assembly-cells",
|
|
31
|
+
PDF_GENERATE = "pdf-generate",
|
|
32
|
+
ONSHAPE = "onshape"
|
|
31
33
|
}
|
|
32
34
|
export interface ConnectorConfig {
|
|
33
35
|
type: ConfiguredConnectorTypes;
|
|
@@ -109,11 +111,24 @@ export interface BaseConnectorConfig {
|
|
|
109
111
|
action?: ActionConfig;
|
|
110
112
|
}
|
|
111
113
|
export declare function isBaseConnectorConfigType(obj: BaseConnectorConfig): obj is BaseConnectorConfig;
|
|
112
|
-
export
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
export declare const OPENAI_MODELS: readonly ["gpt-3.5-turbo", "gpt-4", "gpt-4-turbo", "gpt-4o", "gpt-4o-mini", "gpt-5-nano", "gpt-5-mini", "gpt-5", "o1-preview", "o1-mini"];
|
|
115
|
+
export declare const ANTHROPIC_MODELS: readonly ["claude-2", "claude-2-100k", "claude-instant-100k", "claude-sonnet-4-5"];
|
|
116
|
+
export declare const MISTRAL_MODELS: readonly ["mistral-large-2512", "mistral-medium-2508", "mistral-small-2506"];
|
|
117
|
+
export type OpenAiModel = (typeof OPENAI_MODELS)[number];
|
|
118
|
+
export type AnthropicModel = (typeof ANTHROPIC_MODELS)[number];
|
|
119
|
+
export type MistralModel = (typeof MISTRAL_MODELS)[number];
|
|
120
|
+
export interface AiAgentModel {
|
|
121
|
+
apiKey: string;
|
|
122
|
+
provider: 'openai' | 'anthropic' | 'aws' | 'mistral';
|
|
123
|
+
model: OpenAiModel | AnthropicModel | MistralModel;
|
|
124
|
+
region?: string;
|
|
125
|
+
credentials?: {
|
|
126
|
+
secretAccessKey: string;
|
|
127
|
+
accessKeyId: string;
|
|
118
128
|
};
|
|
129
|
+
temperature?: number;
|
|
130
|
+
timeout?: number;
|
|
131
|
+
}
|
|
132
|
+
export interface AiAgentConfig extends BaseConnectorConfig {
|
|
133
|
+
model: AiAgentModel;
|
|
119
134
|
}
|