twenty-sdk 2.27.0 → 2.29.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/dist/{catalog-sync-Bh6piElD.js → catalog-sync-4aA_KNKt.js} +1 -1
- package/dist/{catalog-sync-DV73gNDG.mjs → catalog-sync-iMUPp5Zl.mjs} +1 -1
- package/dist/cli.cjs +114 -114
- package/dist/cli.mjs +118 -97
- package/dist/define/index.cjs +15 -10
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +9 -2
- package/dist/define/index.mjs +3292 -3002
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +2 -1
- package/dist/front-component/index.mjs +2 -2
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-CVWRriuo.mjs → get-function-input-schema-GNk3NRLJ-CVLFFqWb.mjs} +1 -1
- package/dist/logic-function/index.d.ts +11 -1
- package/dist/{login-wTIo0AV7.js → login-CJAHe6Nd.js} +59 -57
- package/dist/{login-DhEE-uFP.mjs → login-rRUKuleo.mjs} +6330 -6043
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@ import { createRequire as e } from "node:module";
|
|
|
2
2
|
import { fileURLToPath as t } from "node:url";
|
|
3
3
|
import { dirname as n } from "node:path";
|
|
4
4
|
e(import.meta.url), n(t(import.meta.url));
|
|
5
|
-
import { kt as r } from "./login-
|
|
5
|
+
import { kt as r } from "./login-rRUKuleo.mjs";
|
|
6
6
|
import { ScriptTarget as i, SyntaxKind as a, createSourceFile as o } from "typescript";
|
|
7
7
|
//#region ../twenty-shared/dist/get-function-input-schema-GNk3NRLJ.mjs
|
|
8
8
|
var s = "TwentyRecord", c = (e) => {
|
|
@@ -174,10 +174,20 @@ type HttpRouteTriggerSettings = {
|
|
|
174
174
|
forwardedRequestHeaders?: string[];
|
|
175
175
|
};
|
|
176
176
|
|
|
177
|
+
type RunAgentMessageRole = 'user' | 'assistant';
|
|
178
|
+
type RunAgentMessage = {
|
|
179
|
+
role: RunAgentMessageRole;
|
|
180
|
+
content: string;
|
|
181
|
+
};
|
|
177
182
|
type RunAgentInput = {
|
|
178
183
|
agentUniversalIdentifier: string;
|
|
184
|
+
} & ({
|
|
179
185
|
prompt: string;
|
|
180
|
-
|
|
186
|
+
messages?: never;
|
|
187
|
+
} | {
|
|
188
|
+
messages: RunAgentMessage[];
|
|
189
|
+
prompt?: never;
|
|
190
|
+
});
|
|
181
191
|
type RunAgentResult = {
|
|
182
192
|
result: object | null;
|
|
183
193
|
error: string | null;
|