@transai/connector-runner-ai-agent 0.19.1 → 0.20.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.
@@ -1,6 +1,8 @@
1
- import { SemanticTriggerInterface } from './semantic-trigger.interface';
2
- export interface SemanticTriggerRecordInterface extends SemanticTriggerInterface {
1
+ import { StoredSemanticTriggerInterface } from './semantic-trigger.interface';
2
+ export interface SemanticTriggerRecordInterface extends StoredSemanticTriggerInterface {
3
3
  id: string;
4
4
  tenantId: string;
5
5
  }
6
+ export declare const GloballyUniqueTriggerIdentifier: (trigger: SemanticTriggerRecordInterface) => string;
6
7
  export declare const SemanticTriggerIdentifier: (trigger: SemanticTriggerRecordInterface) => string;
8
+ export declare const DeprecatedSemanticTriggerIdentifier: (trigger: SemanticTriggerRecordInterface) => string;
@@ -3,7 +3,7 @@ import { SemanticTriggerFiltersInterface } from './semantic-trigger-filters.inte
3
3
  export declare const SemanticTriggerSchema: z.ZodObject<{
4
4
  name: z.ZodOptional<z.ZodString>;
5
5
  description: z.ZodOptional<z.ZodString>;
6
- eventType: z.ZodString;
6
+ eventType: z.ZodOptional<z.ZodString>;
7
7
  dataset: z.ZodString;
8
8
  dimensions: z.ZodArray<z.ZodString>;
9
9
  limit: z.ZodOptional<z.ZodNumber>;
@@ -17,10 +17,29 @@ export declare const SemanticTriggerSchema: z.ZodObject<{
17
17
  incrementalField: z.ZodOptional<z.ZodString>;
18
18
  ungrouped: z.ZodOptional<z.ZodBoolean>;
19
19
  }, z.core.$strip>;
20
+ export declare const StoredSemanticTriggerSchema: z.ZodObject<{
21
+ name: z.ZodOptional<z.ZodString>;
22
+ description: z.ZodOptional<z.ZodString>;
23
+ eventType: z.ZodOptional<z.ZodString>;
24
+ dataset: z.ZodString;
25
+ dimensions: z.ZodArray<z.ZodString>;
26
+ limit: z.ZodOptional<z.ZodNumber>;
27
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
28
+ dimension: z.ZodString;
29
+ operator: z.ZodEnum<typeof import("..").SemanticTriggerFilterOperatorsEnum>;
30
+ values: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
31
+ }, z.core.$strip>, z.ZodLiteral<false>]>>>;
32
+ cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ tz: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ incrementalField: z.ZodOptional<z.ZodString>;
35
+ ungrouped: z.ZodOptional<z.ZodBoolean>;
36
+ identifier: z.ZodString;
37
+ key: z.ZodString;
38
+ }, z.core.$strip>;
20
39
  export interface SemanticTriggerInterface {
21
40
  name?: string;
22
41
  description?: string;
23
- eventType: string;
42
+ eventType?: string;
24
43
  dataset: string;
25
44
  dimensions: Array<string>;
26
45
  measures?: Array<string>;
@@ -33,3 +52,7 @@ export interface SemanticTriggerInterface {
33
52
  keyField?: string;
34
53
  ungrouped?: boolean;
35
54
  }
55
+ export interface StoredSemanticTriggerInterface extends SemanticTriggerInterface {
56
+ identifier: string;
57
+ key: string;
58
+ }
@@ -3,7 +3,7 @@ import { SemanticTriggerInterface } from './semantic-trigger.interface';
3
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
- eventType: z.ZodString;
6
+ eventType: z.ZodOptional<z.ZodString>;
7
7
  dataset: z.ZodString;
8
8
  dimensions: z.ZodArray<z.ZodString>;
9
9
  limit: z.ZodOptional<z.ZodNumber>;
@@ -95,7 +95,7 @@ export declare const TemplateImplementationOverridesSchema: z.ZodObject<{
95
95
  semanticTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
96
96
  name: z.ZodOptional<z.ZodString>;
97
97
  description: z.ZodOptional<z.ZodString>;
98
- eventType: z.ZodString;
98
+ eventType: z.ZodOptional<z.ZodString>;
99
99
  dataset: z.ZodString;
100
100
  dimensions: z.ZodArray<z.ZodString>;
101
101
  limit: z.ZodOptional<z.ZodNumber>;
@@ -100,7 +100,7 @@ export declare const TemplateImplementationSchema: z.ZodObject<{
100
100
  semanticTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
101
101
  name: z.ZodOptional<z.ZodString>;
102
102
  description: z.ZodOptional<z.ZodString>;
103
- eventType: z.ZodString;
103
+ eventType: z.ZodOptional<z.ZodString>;
104
104
  dataset: z.ZodString;
105
105
  dimensions: z.ZodArray<z.ZodString>;
106
106
  limit: z.ZodOptional<z.ZodNumber>;
@@ -267,7 +267,7 @@ export declare const TemplateImplementationCreateSchema: z.ZodObject<{
267
267
  semanticTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
268
268
  name: z.ZodOptional<z.ZodString>;
269
269
  description: z.ZodOptional<z.ZodString>;
270
- eventType: z.ZodString;
270
+ eventType: z.ZodOptional<z.ZodString>;
271
271
  dataset: z.ZodString;
272
272
  dimensions: z.ZodArray<z.ZodString>;
273
273
  limit: z.ZodOptional<z.ZodNumber>;
@@ -108,7 +108,7 @@ export declare const TemplateSchema: z.ZodObject<{
108
108
  semanticTriggers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
109
109
  name: z.ZodOptional<z.ZodString>;
110
110
  description: z.ZodOptional<z.ZodString>;
111
- eventType: z.ZodString;
111
+ eventType: z.ZodOptional<z.ZodString>;
112
112
  dataset: z.ZodString;
113
113
  dimensions: z.ZodArray<z.ZodString>;
114
114
  limit: z.ZodOptional<z.ZodNumber>;
@@ -32,7 +32,8 @@ export declare enum ConfiguredConnectorTypes {
32
32
  ONSHAPE = "onshape",
33
33
  OROOX = "oroox",
34
34
  GPMS = "gpms",
35
- KEIZERSMETAAL_TRUMPF_API = "keizersmetaal-trumpf-api"
35
+ KEIZERSMETAAL_TRUMPF_API = "keizersmetaal-trumpf-api",
36
+ HP_INDIGO = "hp-indigo"
36
37
  }
37
38
  export interface ConnectorConfig {
38
39
  type: ConfiguredConnectorTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-ai-agent",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },