@odin-ai/sdk 1.0.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/LICENSE +21 -0
- package/README.md +470 -0
- package/dist/BaseClient.d.ts +54 -0
- package/dist/BaseClient.d.ts.map +1 -0
- package/dist/ChatSDK.d.ts +93 -0
- package/dist/ChatSDK.d.ts.map +1 -0
- package/dist/SmartTablesSDK.d.ts +397 -0
- package/dist/SmartTablesSDK.d.ts.map +1 -0
- package/dist/VoiceSDK.d.ts +73 -0
- package/dist/VoiceSDK.d.ts.map +1 -0
- package/dist/WorkflowSDK.d.ts +188 -0
- package/dist/WorkflowSDK.d.ts.map +1 -0
- package/dist/examples/basic-chat.d.ts +2 -0
- package/dist/examples/basic-chat.d.ts.map +1 -0
- package/dist/examples/react-integration.d.ts +7 -0
- package/dist/examples/react-integration.d.ts.map +1 -0
- package/dist/examples/smart-tables-basic.d.ts +2 -0
- package/dist/examples/smart-tables-basic.d.ts.map +1 -0
- package/dist/examples/smart-tables-comprehensive.d.ts +2 -0
- package/dist/examples/smart-tables-comprehensive.d.ts.map +1 -0
- package/dist/examples/smart-tables-demo.d.ts +2 -0
- package/dist/examples/smart-tables-demo.d.ts.map +1 -0
- package/dist/examples/smart-tables-import.d.ts +2 -0
- package/dist/examples/smart-tables-import.d.ts.map +1 -0
- package/dist/examples/streaming-chat.d.ts +2 -0
- package/dist/examples/streaming-chat.d.ts.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +2281 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +2295 -0
- package/dist/index.js.map +1 -0
- package/dist/src/BaseClient.d.ts +48 -0
- package/dist/src/BaseClient.d.ts.map +1 -0
- package/dist/src/ChatSDK.d.ts +91 -0
- package/dist/src/ChatSDK.d.ts.map +1 -0
- package/dist/src/SmartTablesSDK.d.ts +312 -0
- package/dist/src/SmartTablesSDK.d.ts.map +1 -0
- package/dist/src/components/MessageBubble.d.ts +24 -0
- package/dist/src/components/MessageBubble.d.ts.map +1 -0
- package/dist/src/components/MessageList.d.ts +28 -0
- package/dist/src/components/MessageList.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +4 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/types.d.ts +348 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/types.d.ts +262 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/useVoiceConversation.d.ts +34 -0
- package/dist/useVoiceConversation.d.ts.map +1 -0
- package/dist/voice-types.d.ts +169 -0
- package/dist/voice-types.d.ts.map +1 -0
- package/dist/workflow-types.d.ts +431 -0
- package/dist/workflow-types.d.ts.map +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic-chat.d.ts","sourceRoot":"","sources":["../../examples/basic-chat.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-integration.d.ts","sourceRoot":"","sources":["../../examples/react-integration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAuWjC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-tables-basic.d.ts","sourceRoot":"","sources":["../../examples/smart-tables-basic.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-tables-comprehensive.d.ts","sourceRoot":"","sources":["../../examples/smart-tables-comprehensive.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-tables-demo.d.ts","sourceRoot":"","sources":["../../examples/smart-tables-demo.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smart-tables-import.d.ts","sourceRoot":"","sources":["../../examples/smart-tables-import.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming-chat.d.ts","sourceRoot":"","sources":["../../examples/streaming-chat.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { ChatSDK } from './ChatSDK';
|
|
2
|
+
export { SmartTablesSDK } from './SmartTablesSDK';
|
|
3
|
+
export { WorkflowSDK } from './WorkflowSDK';
|
|
4
|
+
export { BaseClient } from './BaseClient';
|
|
5
|
+
export { VoiceSDK } from './VoiceSDK';
|
|
6
|
+
export { useVoiceConversation } from './useVoiceConversation';
|
|
7
|
+
export type { ChatSDKConfig, Chat, Message, FileMetadata, SendMessageOptions, StreamCallbacks, CreateChatResponse, SendMessageResponse, ListChatsResponse, ChatHistoryResponse, APIError, AgentType, ModelName, } from './types';
|
|
8
|
+
export type { BaseClientConfig, APIError as BaseAPIError, } from './BaseClient';
|
|
9
|
+
export type { SmartTableColumn, SmartTable, TableFilter, TableSort, TablePagination, ColumnMapping, TableQueryOptions, TableQueryResponse, ImportResult, } from './SmartTablesSDK';
|
|
10
|
+
export type { VoiceSDKConfig, VoiceSettings, VoiceSessionConfig, VoiceConversationState, VoiceConversationCallbacks, StartVoiceConversationOptions, VoiceHookOptions, VoiceMessage, VoiceConversationSession, VoiceStatus, VoiceRole, VoiceMode, VoiceLanguage, VoiceDisconnectionDetails, } from './voice-types';
|
|
11
|
+
export type { WorkflowSDKConfig, Workflow, WorkflowInput, WorkflowStep, FlowLayoutData, ListWorkflowsResponse, ExecutionMode, TriggerMode, ExecuteWorkflowOptions, NodeExecutionResult, WorkflowExecutionResult, PrepareWorkflowResponse, WorkflowEventType, WorkflowSSEEvent, ExecutionStartedEvent, NodeStartedEvent, NodeCompletedEvent, NodeErrorEvent, NodeSkippedEvent, ExecutionCompletedEvent, ExecutionErrorEvent, AgentChunkEvent, AgentThinkingEvent, ResponseCardEvent, WorkflowEvent, WorkflowStreamCallbacks, WorkflowExecutionSession, WorkflowVersion, ListWorkflowVersionsResponse, ExecutionHistoryEntry, ListExecutionHistoryResponse, } from './workflow-types';
|
|
12
|
+
export { postOverallFeedback } from '@elevenlabs/client';
|
|
13
|
+
export { ChatSDK as default } from './ChatSDK';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,YAAY,EACV,aAAa,EACb,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,SAAS,GACV,MAAM,SAAS,CAAC;AAEjB,YAAY,EACV,gBAAgB,EAChB,QAAQ,IAAI,YAAY,GACzB,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,GACb,MAAM,kBAAkB,CAAC;AAG1B,YAAY,EACV,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,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