windmill-client 1.556.1 → 1.558.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/core/OpenAPI.js +1 -1
- package/dist/services.gen.d.ts +1 -0
- package/dist/services.gen.js +3 -1
- package/dist/types.gen.d.ts +17 -1
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
package/dist/services.gen.d.ts
CHANGED
|
@@ -3500,6 +3500,7 @@ export declare class FlowConversationService {
|
|
|
3500
3500
|
* @param data.conversationId conversation id
|
|
3501
3501
|
* @param data.page which page to return (start at 1, default 1)
|
|
3502
3502
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
3503
|
+
* @param data.afterId id to fetch only the messages after that id
|
|
3503
3504
|
* @returns FlowConversationMessage conversation messages
|
|
3504
3505
|
* @throws ApiError
|
|
3505
3506
|
*/
|
package/dist/services.gen.js
CHANGED
|
@@ -7052,6 +7052,7 @@ class FlowConversationService {
|
|
|
7052
7052
|
* @param data.conversationId conversation id
|
|
7053
7053
|
* @param data.page which page to return (start at 1, default 1)
|
|
7054
7054
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
7055
|
+
* @param data.afterId id to fetch only the messages after that id
|
|
7055
7056
|
* @returns FlowConversationMessage conversation messages
|
|
7056
7057
|
* @throws ApiError
|
|
7057
7058
|
*/
|
|
@@ -7065,7 +7066,8 @@ class FlowConversationService {
|
|
|
7065
7066
|
},
|
|
7066
7067
|
query: {
|
|
7067
7068
|
page: data.page,
|
|
7068
|
-
per_page: data.perPage
|
|
7069
|
+
per_page: data.perPage,
|
|
7070
|
+
after_id: data.afterId
|
|
7069
7071
|
}
|
|
7070
7072
|
});
|
|
7071
7073
|
}
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -267,7 +267,7 @@ export type FlowConversationMessage = {
|
|
|
267
267
|
/**
|
|
268
268
|
* Type of the message
|
|
269
269
|
*/
|
|
270
|
-
message_type: 'user' | 'assistant' | 'system';
|
|
270
|
+
message_type: 'user' | 'assistant' | 'system' | 'tool';
|
|
271
271
|
/**
|
|
272
272
|
* The message content
|
|
273
273
|
*/
|
|
@@ -280,6 +280,14 @@ export type FlowConversationMessage = {
|
|
|
280
280
|
* When the message was created
|
|
281
281
|
*/
|
|
282
282
|
created_at: string;
|
|
283
|
+
/**
|
|
284
|
+
* The step name that produced that message
|
|
285
|
+
*/
|
|
286
|
+
step_name?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Whether the message is a success
|
|
289
|
+
*/
|
|
290
|
+
success?: boolean;
|
|
283
291
|
};
|
|
284
292
|
export type EndpointTool = {
|
|
285
293
|
/**
|
|
@@ -6500,6 +6508,10 @@ export type DeleteFlowConversationData = {
|
|
|
6500
6508
|
};
|
|
6501
6509
|
export type DeleteFlowConversationResponse = string;
|
|
6502
6510
|
export type ListConversationMessagesData = {
|
|
6511
|
+
/**
|
|
6512
|
+
* id to fetch only the messages after that id
|
|
6513
|
+
*/
|
|
6514
|
+
afterId?: string;
|
|
6503
6515
|
/**
|
|
6504
6516
|
* conversation id
|
|
6505
6517
|
*/
|
|
@@ -15443,6 +15455,10 @@ export type $OpenApiTs = {
|
|
|
15443
15455
|
'/w/{workspace}/flow_conversations/{conversation_id}/messages': {
|
|
15444
15456
|
get: {
|
|
15445
15457
|
req: {
|
|
15458
|
+
/**
|
|
15459
|
+
* id to fetch only the messages after that id
|
|
15460
|
+
*/
|
|
15461
|
+
afterId?: string;
|
|
15446
15462
|
/**
|
|
15447
15463
|
* conversation id
|
|
15448
15464
|
*/
|