UNPKG

@gravityai-dev/gravity-server

Version:

Integration SDK for the Gravity AI orchestration platform - Connect any AI platform in minutes

31 lines 815 B
/** * Input Message Types * * Defines input message structures for workflow triggers and user input */ import { BaseMessage } from "../../types"; /** * Raw input message structure (from GraphQL AgentInput) */ export interface InputMessage { chatId: string; conversationId: string; userId: string; providerId: string; timestamp: string | number; message: string; metadata?: any; } /** * Typed input message for GraphQL/messaging system */ export interface TypedInputMessage extends BaseMessage { __typename: "InputMessage"; message: string; metadata?: any; } /** * Helper function to create a typed input message */ export declare function createInputMessage(base: BaseMessage, message: string, metadata?: any): TypedInputMessage; //# sourceMappingURL=input.d.ts.map