@transai/connector-runner-mkg 0.7.0 → 0.7.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 +16 -0
- package/index.cjs +1 -1
- package/index.cjs.map +4 -4
- package/index.js +1 -1
- package/index.js.map +4 -4
- package/libs/connector-runner-mkg/src/lib/helpers/base-url.d.ts +3 -0
- package/libs/connector-runner-mkg/src/lib/tables/clcr.d.ts +2 -0
- package/libs/connector-runner-mkg/src/lib/tables/cprs.d.ts +2 -0
- package/libs/connector-runner-mkg/src/lib/tables/proj.d.ts +2 -0
- package/libs/connector-runner-mkg/src/lib/tables/vorh.d.ts +2 -0
- package/libs/connector-runner-mkg/src/lib/types.d.ts +3 -0
- package/libs/types/src/lib/management-api/workflow/action.interface.d.ts +1 -0
- package/libs/types/src/lib/types.d.ts +19 -6
- package/package.json +1 -1
|
@@ -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<{
|
|
@@ -109,11 +109,24 @@ export interface BaseConnectorConfig {
|
|
|
109
109
|
action?: ActionConfig;
|
|
110
110
|
}
|
|
111
111
|
export declare function isBaseConnectorConfigType(obj: BaseConnectorConfig): obj is BaseConnectorConfig;
|
|
112
|
-
export
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
112
|
+
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"];
|
|
113
|
+
export declare const ANTHROPIC_MODELS: readonly ["claude-2", "claude-2-100k", "claude-instant-100k", "claude-sonnet-4-5"];
|
|
114
|
+
export declare const MISTRAL_MODELS: readonly ["mistral-large-2512", "mistral-medium-2508", "mistral-small-2506"];
|
|
115
|
+
export type OpenAiModel = (typeof OPENAI_MODELS)[number];
|
|
116
|
+
export type AnthropicModel = (typeof ANTHROPIC_MODELS)[number];
|
|
117
|
+
export type MistralModel = (typeof MISTRAL_MODELS)[number];
|
|
118
|
+
export interface AiAgentModel {
|
|
119
|
+
apiKey: string;
|
|
120
|
+
provider: 'openai' | 'anthropic' | 'aws' | 'mistral';
|
|
121
|
+
model: OpenAiModel | AnthropicModel | MistralModel;
|
|
122
|
+
region?: string;
|
|
123
|
+
credentials?: {
|
|
124
|
+
secretAccessKey: string;
|
|
125
|
+
accessKeyId: string;
|
|
118
126
|
};
|
|
127
|
+
temperature?: number;
|
|
128
|
+
timeout?: number;
|
|
129
|
+
}
|
|
130
|
+
export interface AiAgentConfig extends BaseConnectorConfig {
|
|
131
|
+
model: AiAgentModel;
|
|
119
132
|
}
|