@trii/types 2.10.460 → 2.10.462

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.
@@ -0,0 +1,13 @@
1
+ export interface Credential {
2
+ id?: string | null;
3
+ spaceId?: string | null;
4
+ name?: string | null;
5
+ providerId?: string | null;
6
+ apiKey?: string | null;
7
+ createdAt: Date;
8
+ createdBy: string;
9
+ updatedAt?: Date | null;
10
+ updatedBy?: string | null;
11
+ deletedAt?: Date | null;
12
+ deletedBy?: string | null;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface LLMProvider {
2
+ id: string;
3
+ name: string;
4
+ svgIcon: string;
5
+ models: string[];
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -38,7 +38,8 @@ exports.NodeStartConstants = {
38
38
  {
39
39
  data.fields = [
40
40
  'FLOW_NODE_START_FILTER_ORIGIN',
41
- 'FLOW_NODE_START_FILTER_CHANNEL'
41
+ 'FLOW_NODE_START_FILTER_CHANNEL',
42
+ 'FLOW_NODE_START_FILTER_MESSAGE'
42
43
  ];
43
44
  break;
44
45
  }
@@ -127,6 +128,13 @@ exports.NodeStartConstants = {
127
128
  ];
128
129
  data.values = [];
129
130
  }
131
+ if (filter === 'FLOW_NODE_START_FILTER_MESSAGE') {
132
+ data.conditions = [
133
+ 'FLOW_NODE_START_CONDITION_EQUAL',
134
+ 'FLOW_NODE_START_CONDITION_CONTAINS',
135
+ ];
136
+ data.values = [];
137
+ }
130
138
  break;
131
139
  }
132
140
  case NodeStartTrigger.CONVERSATION_CLOSED:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.460",
3
+ "version": "2.10.462",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",