@23blocks/block-jarvis 1.0.4 → 2.1.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.
Files changed (80) hide show
  1. package/dist/index.esm.js +1610 -80
  2. package/dist/src/index.d.ts +4 -4
  3. package/dist/src/index.d.ts.map +1 -1
  4. package/dist/src/lib/jarvis.block.d.ts +13 -1
  5. package/dist/src/lib/jarvis.block.d.ts.map +1 -1
  6. package/dist/src/lib/mappers/ai-model.mapper.d.ts +4 -0
  7. package/dist/src/lib/mappers/ai-model.mapper.d.ts.map +1 -0
  8. package/dist/src/lib/mappers/cluster.mapper.d.ts +4 -0
  9. package/dist/src/lib/mappers/cluster.mapper.d.ts.map +1 -0
  10. package/dist/src/lib/mappers/comment.mapper.d.ts +5 -0
  11. package/dist/src/lib/mappers/comment.mapper.d.ts.map +1 -0
  12. package/dist/src/lib/mappers/entity.mapper.d.ts +4 -0
  13. package/dist/src/lib/mappers/entity.mapper.d.ts.map +1 -0
  14. package/dist/src/lib/mappers/index.d.ts +9 -0
  15. package/dist/src/lib/mappers/index.d.ts.map +1 -1
  16. package/dist/src/lib/mappers/mail-template.mapper.d.ts +4 -0
  17. package/dist/src/lib/mappers/mail-template.mapper.d.ts.map +1 -0
  18. package/dist/src/lib/mappers/user.mapper.d.ts +4 -0
  19. package/dist/src/lib/mappers/user.mapper.d.ts.map +1 -0
  20. package/dist/src/lib/mappers/workflow-instance.mapper.d.ts +4 -0
  21. package/dist/src/lib/mappers/workflow-instance.mapper.d.ts.map +1 -0
  22. package/dist/src/lib/mappers/workflow-participant.mapper.d.ts +4 -0
  23. package/dist/src/lib/mappers/workflow-participant.mapper.d.ts.map +1 -0
  24. package/dist/src/lib/mappers/workflow-step.mapper.d.ts +4 -0
  25. package/dist/src/lib/mappers/workflow-step.mapper.d.ts.map +1 -0
  26. package/dist/src/lib/services/agent-runtime.service.d.ts +22 -0
  27. package/dist/src/lib/services/agent-runtime.service.d.ts.map +1 -0
  28. package/dist/src/lib/services/agents.service.d.ts.map +1 -1
  29. package/dist/src/lib/services/ai-models.service.d.ts +13 -0
  30. package/dist/src/lib/services/ai-models.service.d.ts.map +1 -0
  31. package/dist/src/lib/services/clusters.service.d.ts +20 -0
  32. package/dist/src/lib/services/clusters.service.d.ts.map +1 -0
  33. package/dist/src/lib/services/conversations.service.d.ts.map +1 -1
  34. package/dist/src/lib/services/entities.service.d.ts +19 -0
  35. package/dist/src/lib/services/entities.service.d.ts.map +1 -0
  36. package/dist/src/lib/services/execution-comments.service.d.ts +20 -0
  37. package/dist/src/lib/services/execution-comments.service.d.ts.map +1 -0
  38. package/dist/src/lib/services/index.d.ts +12 -0
  39. package/dist/src/lib/services/index.d.ts.map +1 -1
  40. package/dist/src/lib/services/mail-templates.service.d.ts +16 -0
  41. package/dist/src/lib/services/mail-templates.service.d.ts.map +1 -0
  42. package/dist/src/lib/services/marvin-chat.service.d.ts +14 -0
  43. package/dist/src/lib/services/marvin-chat.service.d.ts.map +1 -0
  44. package/dist/src/lib/services/prompt-comments.service.d.ts +20 -0
  45. package/dist/src/lib/services/prompt-comments.service.d.ts.map +1 -0
  46. package/dist/src/lib/services/prompts.service.d.ts.map +1 -1
  47. package/dist/src/lib/services/users.service.d.ts +21 -0
  48. package/dist/src/lib/services/users.service.d.ts.map +1 -0
  49. package/dist/src/lib/services/workflow-instances.service.d.ts +15 -0
  50. package/dist/src/lib/services/workflow-instances.service.d.ts.map +1 -0
  51. package/dist/src/lib/services/workflow-participants.service.d.ts +13 -0
  52. package/dist/src/lib/services/workflow-participants.service.d.ts.map +1 -0
  53. package/dist/src/lib/services/workflow-steps.service.d.ts +14 -0
  54. package/dist/src/lib/services/workflow-steps.service.d.ts.map +1 -0
  55. package/dist/src/lib/services/workflows.service.d.ts.map +1 -1
  56. package/dist/src/lib/types/agent-runtime.d.ts +115 -0
  57. package/dist/src/lib/types/agent-runtime.d.ts.map +1 -0
  58. package/dist/src/lib/types/ai-model.d.ts +48 -0
  59. package/dist/src/lib/types/ai-model.d.ts.map +1 -0
  60. package/dist/src/lib/types/cluster.d.ts +70 -0
  61. package/dist/src/lib/types/cluster.d.ts.map +1 -0
  62. package/dist/src/lib/types/comment.d.ts +83 -0
  63. package/dist/src/lib/types/comment.d.ts.map +1 -0
  64. package/dist/src/lib/types/entity.d.ts +79 -0
  65. package/dist/src/lib/types/entity.d.ts.map +1 -0
  66. package/dist/src/lib/types/index.d.ts +11 -0
  67. package/dist/src/lib/types/index.d.ts.map +1 -1
  68. package/dist/src/lib/types/mail-template.d.ts +69 -0
  69. package/dist/src/lib/types/mail-template.d.ts.map +1 -0
  70. package/dist/src/lib/types/marvin-chat.d.ts +51 -0
  71. package/dist/src/lib/types/marvin-chat.d.ts.map +1 -0
  72. package/dist/src/lib/types/user.d.ts +78 -0
  73. package/dist/src/lib/types/user.d.ts.map +1 -0
  74. package/dist/src/lib/types/workflow-instance.d.ts +61 -0
  75. package/dist/src/lib/types/workflow-instance.d.ts.map +1 -0
  76. package/dist/src/lib/types/workflow-participant.d.ts +38 -0
  77. package/dist/src/lib/types/workflow-participant.d.ts.map +1 -0
  78. package/dist/src/lib/types/workflow-step.d.ts +44 -0
  79. package/dist/src/lib/types/workflow-step.d.ts.map +1 -0
  80. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  export { createJarvisBlock, jarvisBlockMetadata } from './lib/jarvis.block';
2
2
  export type { JarvisBlock, JarvisBlockConfig } from './lib/jarvis.block';
3
- export type { Agent, CreateAgentRequest, UpdateAgentRequest, ListAgentsParams, ChatRequest, ChatResponse, CompleteRequest, CompleteResponse, Prompt, CreatePromptRequest, UpdatePromptRequest, ListPromptsParams, ExecutePromptRequest, ExecutePromptResponse, TestPromptRequest, TestPromptResponse, Workflow, WorkflowStep, WorkflowTrigger, CreateWorkflowRequest, UpdateWorkflowRequest, ListWorkflowsParams, RunWorkflowRequest, RunWorkflowResponse, Execution, ExecutionStatus, ListExecutionsParams, Conversation, ConversationMessage, CreateConversationRequest, SendMessageRequest, SendMessageResponse, ListConversationsParams, } from './lib/types';
4
- export type { AgentsService, PromptsService, WorkflowsService, ExecutionsService, ConversationsService, } from './lib/services';
5
- export { createAgentsService, createPromptsService, createWorkflowsService, createExecutionsService, createConversationsService, } from './lib/services';
6
- export { agentMapper, promptMapper, workflowMapper, executionMapper, conversationMapper, } from './lib/mappers';
3
+ export type { Agent, CreateAgentRequest, UpdateAgentRequest, ListAgentsParams, ChatRequest, ChatResponse, CompleteRequest, CompleteResponse, Prompt, CreatePromptRequest, UpdatePromptRequest, ListPromptsParams, ExecutePromptRequest, ExecutePromptResponse, TestPromptRequest, TestPromptResponse, Workflow, WorkflowTrigger, CreateWorkflowRequest, UpdateWorkflowRequest, ListWorkflowsParams, RunWorkflowRequest, RunWorkflowResponse, Execution, ExecutionStatus, ListExecutionsParams, Conversation, ConversationMessage, CreateConversationRequest, SendMessageRequest, SendMessageResponse, ListConversationsParams, AIModel, CreateAIModelRequest, UpdateAIModelRequest, ListAIModelsParams, Entity, RegisterEntityRequest, UpdateEntityRequest, ListEntitiesParams, EntityContext, EntityMessage, CreateEntityContextRequest, SendEntityMessageRequest, SendEntityMessageResponse, QueryEntityFileRequest, QueryEntityFileResponse, Cluster, ClusterMember, CreateClusterRequest, UpdateClusterRequest, ListClustersParams, ClusterContext, ClusterMessage, CreateClusterContextRequest, SendClusterMessageRequest, SendClusterMessageResponse, JarvisUser, RegisterJarvisUserRequest, UpdateJarvisUserRequest, ListJarvisUsersParams, UserContext, UserMessage, CreateUserContextRequest, SendUserMessageRequest, SendUserMessageResponse, UserContentContext, CreateUserContentContextRequest, WorkflowParticipant, AddWorkflowParticipantRequest, UpdateWorkflowParticipantRequest, ListWorkflowParticipantsParams, WorkflowStep, AddWorkflowStepRequest, UpdateWorkflowStepRequest, AddStepPromptRequest, AddStepAgentRequest, WorkflowInstance, WorkflowStepLog, WorkflowInstanceDetails, WorkflowStepStatus, StartWorkflowRequest, StartWorkflowResponse, StepWorkflowRequest, LogWorkflowStepRequest, AgentThread, AgentRun, AgentMessage, AgentMessageContent, AgentContext, CreateAgentThreadRequest, CreateAgentContextRequest, SendAgentThreadMessageRequest, SendAgentThreadMessageResponse, SendAgentThreadMessageStreamRequest, RunAgentThreadRequest, RunAgentThreadResponse, AgentRunExecution, ListAgentRunExecutionsParams, MailTemplate, CreateMailTemplateRequest, UpdateMailTemplateRequest, ListMailTemplatesParams, CreateMandrillTemplateRequest, UpdateMandrillTemplateRequest, MandrillStats, MarvinContext, MarvinMessage, MarvinChatRequest, MarvinChatResponse, CreateMarvinContextRequest, SendMarvinMessageRequest, SendMarvinMessageResponse, PromptComment, CreatePromptCommentRequest, UpdatePromptCommentRequest, ListPromptCommentsParams, ReplyToCommentRequest, ExecutionComment, CreateExecutionCommentRequest, UpdateExecutionCommentRequest, ListExecutionCommentsParams, } from './lib/types';
4
+ export type { AgentsService, PromptsService, WorkflowsService, ExecutionsService, ConversationsService, AIModelsService, EntitiesService, ClustersService, JarvisUsersService, WorkflowParticipantsService, WorkflowStepsService, WorkflowInstancesService, AgentRuntimeService, MailTemplatesService, MarvinChatService, PromptCommentsService, ExecutionCommentsService, } from './lib/services';
5
+ export { createAgentsService, createPromptsService, createWorkflowsService, createExecutionsService, createConversationsService, createAIModelsService, createEntitiesService, createClustersService, createJarvisUsersService, createWorkflowParticipantsService, createWorkflowStepsService, createWorkflowInstancesService, createAgentRuntimeService, createMailTemplatesService, createMarvinChatService, createPromptCommentsService, createExecutionCommentsService, } from './lib/services';
6
+ export { agentMapper, promptMapper, workflowMapper, executionMapper, conversationMapper, aiModelMapper, entityMapper, clusterMapper, jarvisUserMapper, workflowParticipantMapper, workflowStepMapper, workflowInstanceMapper, mailTemplateMapper, promptCommentMapper, executionCommentMapper, } from './lib/mappers';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGzE,YAAY,EAEV,KAAK,EACL,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,eAAe,EACf,gBAAgB,EAEhB,MAAM,EACN,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAElB,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EAEnB,SAAS,EACT,eAAe,EACf,oBAAoB,EAEpB,YAAY,EACZ,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AAGrB,YAAY,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,GAC3B,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,WAAW,EACX,YAAY,EACZ,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGzE,YAAY,EAEV,KAAK,EACL,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,eAAe,EACf,gBAAgB,EAEhB,MAAM,EACN,m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A4B,EAE5B,YAAY,EACZ,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,6BAA6B,EAC7B,6BAA6B,EAC7B,aAAa,EAEb,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EAEzB,aAAa,EACb,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,aAAa,CAAC;AAGrB,YAAY,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,2BAA2B,EAC3B,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,iCAAiC,EACjC,0BAA0B,EAC1B,8BAA8B,EAC9B,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,2BAA2B,EAC3B,8BAA8B,GAC/B,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,WAAW,EACX,YAAY,EACZ,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,yBAAyB,EACzB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Transport, BlockConfig, BlockMetadata } from '@23blocks/contracts';
2
- import { type AgentsService, type PromptsService, type WorkflowsService, type ExecutionsService, type ConversationsService } from './services';
2
+ import { type AgentsService, type PromptsService, type WorkflowsService, type ExecutionsService, type ConversationsService, type AIModelsService, type EntitiesService, type ClustersService, type JarvisUsersService, type WorkflowParticipantsService, type WorkflowStepsService, type WorkflowInstancesService, type AgentRuntimeService, type MailTemplatesService, type MarvinChatService, type PromptCommentsService, type ExecutionCommentsService } from './services';
3
3
  export interface JarvisBlockConfig extends BlockConfig {
4
4
  appId: string;
5
5
  tenantId?: string;
@@ -10,6 +10,18 @@ export interface JarvisBlock {
10
10
  workflows: WorkflowsService;
11
11
  executions: ExecutionsService;
12
12
  conversations: ConversationsService;
13
+ aiModels: AIModelsService;
14
+ entities: EntitiesService;
15
+ clusters: ClustersService;
16
+ users: JarvisUsersService;
17
+ workflowParticipants: WorkflowParticipantsService;
18
+ workflowSteps: WorkflowStepsService;
19
+ workflowInstances: WorkflowInstancesService;
20
+ agentRuntime: AgentRuntimeService;
21
+ mailTemplates: MailTemplatesService;
22
+ marvinChat: MarvinChatService;
23
+ promptComments: PromptCommentsService;
24
+ executionComments: ExecutionCommentsService;
13
25
  }
14
26
  export declare function createJarvisBlock(transport: Transport, config: JarvisBlockConfig): JarvisBlock;
15
27
  export declare const jarvisBlockMetadata: BlockMetadata;
@@ -1 +1 @@
1
- {"version":3,"file":"jarvis.block.d.ts","sourceRoot":"","sources":["../../../src/lib/jarvis.block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW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E,eAAe,CAAC;IAC1B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,oBAAoB,EAAE,2BAA2B,CAAC;IAClD,aAAa,EAAE,oBAAoB,CAAC;IACpC,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,YAAY,EAAE,mBAAmB,CAAC;IAClC,aAAa,EAAE,oBAAoB,CAAC;IACpC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,qBAAqB,CAAC;IACtC,iBAAiB,EAAE,wBAAwB,CAAC;CAC7C;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,iBAAiB,GACxB,WAAW,CAoBb;AAED,eAAO,MAAM,mBAAmB,EAAE,aAWjC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { AIModel } from '../types/ai-model';
3
+ export declare const aiModelMapper: ResourceMapper<AIModel>;
4
+ //# sourceMappingURL=ai-model.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-model.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/ai-model.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGjD,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,OAAO,CAmBjD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { Cluster } from '../types/cluster';
3
+ export declare const clusterMapper: ResourceMapper<Cluster>;
4
+ //# sourceMappingURL=cluster.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cluster.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/cluster.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAiB,MAAM,kBAAkB,CAAC;AAG/D,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,OAAO,CAoBjD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { PromptComment, ExecutionComment } from '../types/comment';
3
+ export declare const promptCommentMapper: ResourceMapper<PromptComment>;
4
+ export declare const executionCommentMapper: ResourceMapper<ExecutionComment>;
5
+ //# sourceMappingURL=comment.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/comment.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGxE,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,aAAa,CAoB7D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,gBAAgB,CAqBnE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { Entity } from '../types/entity';
3
+ export declare const entityMapper: ResourceMapper<Entity>;
4
+ //# sourceMappingURL=entity.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/entity.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAG9C,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,MAAM,CAgB/C,CAAC"}
@@ -3,5 +3,14 @@ export * from './prompt.mapper';
3
3
  export * from './workflow.mapper';
4
4
  export * from './execution.mapper';
5
5
  export * from './conversation.mapper';
6
+ export * from './ai-model.mapper';
7
+ export * from './entity.mapper';
8
+ export * from './cluster.mapper';
9
+ export * from './user.mapper';
10
+ export * from './workflow-participant.mapper';
11
+ export * from './workflow-step.mapper';
12
+ export * from './workflow-instance.mapper';
13
+ export * from './mail-template.mapper';
14
+ export * from './comment.mapper';
6
15
  export * from './utils';
7
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { MailTemplate } from '../types/mail-template';
3
+ export declare const mailTemplateMapper: ResourceMapper<MailTemplate>;
4
+ //# sourceMappingURL=mail-template.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail-template.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/mail-template.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,YAAY,CAmB3D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { JarvisUser } from '../types/user';
3
+ export declare const jarvisUserMapper: ResourceMapper<JarvisUser>;
4
+ //# sourceMappingURL=user.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/user.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,UAAU,CAcvD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { WorkflowInstance } from '../types/workflow-instance';
3
+ export declare const workflowInstanceMapper: ResourceMapper<WorkflowInstance>;
4
+ //# sourceMappingURL=workflow-instance.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-instance.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/workflow-instance.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,4BAA4B,CAAC;AAGpF,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,gBAAgB,CA2BnE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { WorkflowParticipant } from '../types/workflow-participant';
3
+ export declare const workflowParticipantMapper: ResourceMapper<WorkflowParticipant>;
4
+ //# sourceMappingURL=workflow-participant.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-participant.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/workflow-participant.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,mBAAmB,CAgBzE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ResourceMapper } from '@23blocks/jsonapi-codec';
2
+ import type { WorkflowStep } from '../types/workflow-step';
3
+ export declare const workflowStepMapper: ResourceMapper<WorkflowStep>;
4
+ //# sourceMappingURL=workflow-step.mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-step.mapper.d.ts","sourceRoot":"","sources":["../../../../src/lib/mappers/workflow-step.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,YAAY,CAmB3D,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { AgentThread, AgentRun, AgentMessage, AgentContext, CreateAgentThreadRequest, CreateAgentContextRequest, SendAgentThreadMessageRequest, SendAgentThreadMessageResponse, RunAgentThreadRequest, RunAgentThreadResponse, AgentRunExecution, ListAgentRunExecutionsParams } from '../types/agent-runtime';
3
+ export interface AgentRuntimeService {
4
+ getContext(agentUniqueId: string, contextUniqueId: string): Promise<AgentContext>;
5
+ createContext(agentUniqueId: string, data?: CreateAgentContextRequest): Promise<AgentContext>;
6
+ getConversation(agentUniqueId: string, contextUniqueId: string): Promise<{
7
+ messages: AgentMessage[];
8
+ }>;
9
+ getThread(agentUniqueId: string, threadId: string): Promise<AgentThread>;
10
+ createThread(agentUniqueId: string, data?: CreateAgentThreadRequest): Promise<AgentThread>;
11
+ sendMessage(agentUniqueId: string, threadId: string, data: SendAgentThreadMessageRequest): Promise<SendAgentThreadMessageResponse>;
12
+ sendMessageStream(agentUniqueId: string, threadId: string, data: SendAgentThreadMessageRequest): Promise<ReadableStream<string>>;
13
+ runThread(agentUniqueId: string, threadId: string, data?: RunAgentThreadRequest): Promise<RunAgentThreadResponse>;
14
+ getRun(agentUniqueId: string, threadId: string, runId: string): Promise<AgentRun>;
15
+ getMessages(agentUniqueId: string, threadId: string): Promise<AgentMessage[]>;
16
+ listExecutions(agentUniqueId: string, params?: ListAgentRunExecutionsParams): Promise<PageResult<AgentRunExecution>>;
17
+ getExecution(agentUniqueId: string, executionUniqueId: string): Promise<AgentRunExecution>;
18
+ }
19
+ export declare function createAgentRuntimeService(transport: Transport, _config: {
20
+ appId: string;
21
+ }): AgentRuntimeService;
22
+ //# sourceMappingURL=agent-runtime.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-runtime.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/agent-runtime.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EACV,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,8BAA8B,EAC9B,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,4BAA4B,EAC7B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,mBAAmB;IAClC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAClF,aAAa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AE,MAAM,CAAA;CAAE,GAAG,aAAa,CAgGnG"}
1
+ {"version":3,"file":"agents.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/agents.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,KAAK,EACL,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,eAAe,EACf,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAGxB,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,MAAM,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IACtC,MAAM,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IACjD,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IACnE,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACjE,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC9E;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,aAAa,CA0FnG"}
@@ -0,0 +1,13 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { AIModel, CreateAIModelRequest, UpdateAIModelRequest, ListAIModelsParams } from '../types/ai-model';
3
+ export interface AIModelsService {
4
+ list(params?: ListAIModelsParams): Promise<PageResult<AIModel>>;
5
+ get(uniqueId: string): Promise<AIModel>;
6
+ create(data: CreateAIModelRequest): Promise<AIModel>;
7
+ update(uniqueId: string, data: UpdateAIModelRequest): Promise<AIModel>;
8
+ delete(uniqueId: string): Promise<void>;
9
+ }
10
+ export declare function createAIModelsService(transport: Transport, _config: {
11
+ appId: string;
12
+ }): AIModelsService;
13
+ //# sourceMappingURL=ai-models.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-models.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/ai-models.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,OAAO,EACP,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAG3B,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;IAChE,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACxC,MAAM,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACrD,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACvE,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzC;AAED,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,eAAe,CAyDvG"}
@@ -0,0 +1,20 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { Cluster, CreateClusterRequest, UpdateClusterRequest, ListClustersParams, ClusterContext, CreateClusterContextRequest, SendClusterMessageRequest, SendClusterMessageResponse } from '../types/cluster';
3
+ export interface ClustersService {
4
+ list(userUniqueId: string, params?: ListClustersParams): Promise<PageResult<Cluster>>;
5
+ get(userUniqueId: string, uniqueId: string): Promise<Cluster>;
6
+ create(userUniqueId: string, data: CreateClusterRequest): Promise<Cluster>;
7
+ update(userUniqueId: string, uniqueId: string, data: UpdateClusterRequest): Promise<Cluster>;
8
+ delete(userUniqueId: string, uniqueId: string): Promise<void>;
9
+ addMember(userUniqueId: string, uniqueId: string, entityUniqueId: string): Promise<void>;
10
+ removeMember(userUniqueId: string, uniqueId: string, entityUniqueId: string): Promise<void>;
11
+ addPrompt(userUniqueId: string, uniqueId: string, promptUniqueId: string): Promise<void>;
12
+ getContext(userUniqueId: string, uniqueId: string, contextUniqueId: string): Promise<ClusterContext>;
13
+ createContext(userUniqueId: string, uniqueId: string, data?: CreateClusterContextRequest): Promise<ClusterContext>;
14
+ getConversation(userUniqueId: string, uniqueId: string, contextUniqueId: string): Promise<ClusterContext>;
15
+ sendMessage(userUniqueId: string, uniqueId: string, contextUniqueId: string, data: SendClusterMessageRequest): Promise<SendClusterMessageResponse>;
16
+ }
17
+ export declare function createClustersService(transport: Transport, _config: {
18
+ appId: string;
19
+ }): ClustersService;
20
+ //# sourceMappingURL=clusters.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clusters.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/clusters.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,OAAO,EACP,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,eAAe;IAC9B,IAAI,C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E,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,oBAAoB,CAgFjH"}
1
+ {"version":3,"file":"conversations.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/conversations.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,YAAY,EACZ,yBAAyB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAG/B,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;IAC1E,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC7C,MAAM,CAAC,IAAI,EAAE,yBAAyB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/D,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACtF,UAAU,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;IACtG,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CAChD;AAED,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,oBAAoB,CA6EjH"}
@@ -0,0 +1,19 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { Entity, RegisterEntityRequest, UpdateEntityRequest, ListEntitiesParams, EntityContext, CreateEntityContextRequest, SendEntityMessageRequest, SendEntityMessageResponse, QueryEntityFileRequest, QueryEntityFileResponse } from '../types/entity';
3
+ export interface EntitiesService {
4
+ list(params?: ListEntitiesParams): Promise<PageResult<Entity>>;
5
+ get(uniqueId: string): Promise<Entity>;
6
+ register(uniqueId: string, data?: RegisterEntityRequest): Promise<Entity>;
7
+ update(uniqueId: string, data: UpdateEntityRequest): Promise<Entity>;
8
+ delete(uniqueId: string): Promise<void>;
9
+ addPrompt(uniqueId: string, promptUniqueId: string): Promise<void>;
10
+ getContext(uniqueId: string, contextUniqueId: string): Promise<EntityContext>;
11
+ createContext(uniqueId: string, data?: CreateEntityContextRequest): Promise<EntityContext>;
12
+ getConversation(uniqueId: string, contextUniqueId: string): Promise<EntityContext>;
13
+ sendMessage(uniqueId: string, contextUniqueId: string, data: SendEntityMessageRequest): Promise<SendEntityMessageResponse>;
14
+ queryFile(uniqueId: string, fileUniqueId: string, data: QueryEntityFileRequest): Promise<QueryEntityFileResponse>;
15
+ }
16
+ export declare function createEntitiesService(transport: Transport, _config: {
17
+ appId: string;
18
+ }): EntitiesService;
19
+ //# sourceMappingURL=entities.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/entities.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IAC/D,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC1E,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACrE,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAC9E,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAC3F,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IACnF,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAC3H,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACnH;AAED,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,eAAe,CAkJvG"}
@@ -0,0 +1,20 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { ExecutionComment, CreateExecutionCommentRequest, UpdateExecutionCommentRequest, ListExecutionCommentsParams, ReplyToCommentRequest } from '../types/comment';
3
+ export interface ExecutionCommentsService {
4
+ list(promptUniqueId: string, executionUniqueId: string, params?: ListExecutionCommentsParams): Promise<PageResult<ExecutionComment>>;
5
+ get(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<ExecutionComment>;
6
+ create(promptUniqueId: string, executionUniqueId: string, data: CreateExecutionCommentRequest): Promise<ExecutionComment>;
7
+ update(promptUniqueId: string, executionUniqueId: string, uniqueId: string, data: UpdateExecutionCommentRequest): Promise<ExecutionComment>;
8
+ delete(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<void>;
9
+ like(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<void>;
10
+ dislike(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<void>;
11
+ reply(promptUniqueId: string, executionUniqueId: string, uniqueId: string, data: ReplyToCommentRequest): Promise<ExecutionComment>;
12
+ follow(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<void>;
13
+ unfollow(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<void>;
14
+ save(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<void>;
15
+ unsave(promptUniqueId: string, executionUniqueId: string, uniqueId: string): Promise<void>;
16
+ }
17
+ export declare function createExecutionCommentsService(transport: Transport, _config: {
18
+ appId: string;
19
+ }): ExecutionCommentsService;
20
+ //# sourceMappingURL=execution-comments.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution-comments.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/execution-comments.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,cAAc,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,2BAA2B,GAAG,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AAC;IAC7F,IAAI,CAAC,cAAc,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5F;AAED,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,wBAAwB,CAkFzH"}
@@ -3,4 +3,16 @@ export * from './prompts.service';
3
3
  export * from './workflows.service';
4
4
  export * from './executions.service';
5
5
  export * from './conversations.service';
6
+ export * from './ai-models.service';
7
+ export * from './entities.service';
8
+ export * from './clusters.service';
9
+ export * from './users.service';
10
+ export * from './workflow-participants.service';
11
+ export * from './workflow-steps.service';
12
+ export * from './workflow-instances.service';
13
+ export * from './agent-runtime.service';
14
+ export * from './mail-templates.service';
15
+ export * from './marvin-chat.service';
16
+ export * from './prompt-comments.service';
17
+ export * from './execution-comments.service';
6
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { MailTemplate, CreateMailTemplateRequest, UpdateMailTemplateRequest, ListMailTemplatesParams, CreateMandrillTemplateRequest, UpdateMandrillTemplateRequest, MandrillStats } from '../types/mail-template';
3
+ export interface MailTemplatesService {
4
+ list(params?: ListMailTemplatesParams): Promise<PageResult<MailTemplate>>;
5
+ get(uniqueId: string): Promise<MailTemplate>;
6
+ create(data: CreateMailTemplateRequest): Promise<MailTemplate>;
7
+ update(uniqueId: string, data: UpdateMailTemplateRequest): Promise<MailTemplate>;
8
+ createMandrillTemplate(uniqueId: string, data?: CreateMandrillTemplateRequest): Promise<MailTemplate>;
9
+ updateMandrillTemplate(uniqueId: string, data?: UpdateMandrillTemplateRequest): Promise<MailTemplate>;
10
+ publishMandrill(uniqueId: string): Promise<MailTemplate>;
11
+ getMandrillStats(uniqueId: string): Promise<MandrillStats>;
12
+ }
13
+ export declare function createMailTemplatesService(transport: Transport, _config: {
14
+ appId: string;
15
+ }): MailTemplatesService;
16
+ //# sourceMappingURL=mail-templates.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail-templates.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/mail-templates.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,YAAY,EACZ,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,6BAA6B,EAC7B,6BAA6B,EAC7B,aAAa,EACd,MAAM,wBAAwB,CAAC;AAGhC,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC;IAC1E,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC7C,MAAM,CAAC,IAAI,EAAE,yBAAyB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/D,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACjF,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,6BAA6B,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACtG,sBAAsB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,6BAA6B,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACtG,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACzD,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;CAC5D;AAED,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,oBAAoB,CA2FjH"}
@@ -0,0 +1,14 @@
1
+ import type { Transport } from '@23blocks/contracts';
2
+ import type { MarvinContext, MarvinChatRequest, MarvinChatResponse, CreateMarvinContextRequest, SendMarvinMessageRequest, SendMarvinMessageResponse } from '../types/marvin-chat';
3
+ export interface MarvinChatService {
4
+ chat(data: MarvinChatRequest): Promise<MarvinChatResponse>;
5
+ chatV2(data: MarvinChatRequest): Promise<MarvinChatResponse>;
6
+ chatV3(data: MarvinChatRequest): Promise<MarvinChatResponse>;
7
+ getContext(uniqueId: string): Promise<MarvinContext>;
8
+ createContext(data?: CreateMarvinContextRequest): Promise<MarvinContext>;
9
+ sendMessage(contextUniqueId: string, data: SendMarvinMessageRequest): Promise<SendMarvinMessageResponse>;
10
+ }
11
+ export declare function createMarvinChatService(transport: Transport, _config: {
12
+ appId: string;
13
+ }): MarvinChatService;
14
+ //# sourceMappingURL=marvin-chat.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marvin-chat.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/marvin-chat.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC3D,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC7D,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC7D,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IACrD,aAAa,CAAC,IAAI,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IACzE,WAAW,CAAC,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;CAC1G;AAED,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,iBAAiB,CA4H3G"}
@@ -0,0 +1,20 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { PromptComment, CreatePromptCommentRequest, UpdatePromptCommentRequest, ListPromptCommentsParams, ReplyToCommentRequest } from '../types/comment';
3
+ export interface PromptCommentsService {
4
+ list(promptUniqueId: string, params?: ListPromptCommentsParams): Promise<PageResult<PromptComment>>;
5
+ get(promptUniqueId: string, uniqueId: string): Promise<PromptComment>;
6
+ create(promptUniqueId: string, data: CreatePromptCommentRequest): Promise<PromptComment>;
7
+ update(promptUniqueId: string, uniqueId: string, data: UpdatePromptCommentRequest): Promise<PromptComment>;
8
+ delete(promptUniqueId: string, uniqueId: string): Promise<void>;
9
+ like(promptUniqueId: string, uniqueId: string): Promise<void>;
10
+ dislike(promptUniqueId: string, uniqueId: string): Promise<void>;
11
+ reply(promptUniqueId: string, uniqueId: string, data: ReplyToCommentRequest): Promise<PromptComment>;
12
+ follow(promptUniqueId: string, uniqueId: string): Promise<void>;
13
+ unfollow(promptUniqueId: string, uniqueId: string): Promise<void>;
14
+ save(promptUniqueId: string, uniqueId: string): Promise<void>;
15
+ unsave(promptUniqueId: string, uniqueId: string): Promise<void>;
16
+ }
17
+ export declare function createPromptCommentsService(transport: Transport, _config: {
18
+ appId: string;
19
+ }): PromptCommentsService;
20
+ //# sourceMappingURL=prompt-comments.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt-comments.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/prompt-comments.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,aAAa,EACb,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,wBAAwB,GAAG,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;IACpG,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AAG,qBAAqB,CAkFnH"}
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/prompts.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,MAAM,EACN,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACvC,MAAM,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACnD,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACrE,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IACtF,IAAI,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC5D;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CA0FrG"}
1
+ {"version":3,"file":"prompts.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/prompts.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,MAAM,EACN,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACvC,MAAM,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACnD,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACrE,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IACtF,IAAI,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC5D;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAoFrG"}
@@ -0,0 +1,21 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { JarvisUser, RegisterJarvisUserRequest, UpdateJarvisUserRequest, ListJarvisUsersParams, UserContext, CreateUserContextRequest, SendUserMessageRequest, SendUserMessageResponse, CreateUserContentContextRequest } from '../types/user';
3
+ export interface JarvisUsersService {
4
+ list(params?: ListJarvisUsersParams): Promise<PageResult<JarvisUser>>;
5
+ get(uniqueId: string): Promise<JarvisUser>;
6
+ register(uniqueId: string, data?: RegisterJarvisUserRequest): Promise<JarvisUser>;
7
+ update(uniqueId: string, data: UpdateJarvisUserRequest): Promise<JarvisUser>;
8
+ addPrompt(uniqueId: string, promptUniqueId: string): Promise<void>;
9
+ getContext(uniqueId: string, contextUniqueId: string): Promise<UserContext>;
10
+ createContext(uniqueId: string, data?: CreateUserContextRequest): Promise<UserContext>;
11
+ getConversation(uniqueId: string, contextUniqueId: string): Promise<UserContext>;
12
+ sendMessage(uniqueId: string, contextUniqueId: string, data: SendUserMessageRequest): Promise<SendUserMessageResponse>;
13
+ getContentContext(uniqueId: string, contentIdentityUniqueId: string, contextUniqueId: string): Promise<UserContext>;
14
+ createContentContext(uniqueId: string, contentIdentityUniqueId: string, data?: CreateUserContentContextRequest): Promise<UserContext>;
15
+ getContentConversation(uniqueId: string, contentIdentityUniqueId: string, contextUniqueId: string): Promise<UserContext>;
16
+ sendContentMessage(uniqueId: string, contentIdentityUniqueId: string, contextUniqueId: string, data: SendUserMessageRequest): Promise<SendUserMessageResponse>;
17
+ }
18
+ export declare function createJarvisUsersService(transport: Transport, _config: {
19
+ appId: string;
20
+ }): JarvisUsersService;
21
+ //# sourceMappingURL=users.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/users.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,UAAU,EACV,yBAAyB,EACzB,uBAAuB,EACvB,qBAAqB,EACrB,WAAW,EACX,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,+BAA+B,EAChC,MAAM,eAAe,CAAC;AAGvB,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;IACtE,GAAG,CAAC,QAAQ,EA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M,EAAE,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;CAChK;AAED,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,kBAAkB,CAyM7G"}
@@ -0,0 +1,15 @@
1
+ import type { Transport } from '@23blocks/contracts';
2
+ import type { WorkflowInstance, WorkflowInstanceDetails, StartWorkflowRequest, StartWorkflowResponse, StepWorkflowRequest, LogWorkflowStepRequest } from '../types/workflow-instance';
3
+ export interface WorkflowInstancesService {
4
+ start(workflowUniqueId: string, data?: StartWorkflowRequest): Promise<StartWorkflowResponse>;
5
+ get(workflowUniqueId: string, instanceUniqueId: string): Promise<WorkflowInstance>;
6
+ getDetails(workflowUniqueId: string, instanceUniqueId: string): Promise<WorkflowInstanceDetails>;
7
+ step(workflowUniqueId: string, instanceUniqueId: string, data?: StepWorkflowRequest): Promise<WorkflowInstance>;
8
+ logStep(workflowUniqueId: string, instanceUniqueId: string, data: LogWorkflowStepRequest): Promise<WorkflowInstance>;
9
+ suspend(workflowUniqueId: string, instanceUniqueId: string): Promise<WorkflowInstance>;
10
+ resume(workflowUniqueId: string, instanceUniqueId: string): Promise<WorkflowInstance>;
11
+ }
12
+ export declare function createWorkflowInstancesService(transport: Transport, _config: {
13
+ appId: string;
14
+ }): WorkflowInstancesService;
15
+ //# sourceMappingURL=workflow-instances.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-instances.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/workflow-instances.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,4BAA4B,CAAC;AAGpC,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC7F,GAAG,CAAC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACnF,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACjG,IAAI,CAAC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChH,OAAO,CAAC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACrH,OAAO,CAAC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACvF,MAAM,CAAC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACvF;AAED,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,wBAAwB,CAiEzH"}
@@ -0,0 +1,13 @@
1
+ import type { Transport, PageResult } from '@23blocks/contracts';
2
+ import type { WorkflowParticipant, AddWorkflowParticipantRequest, UpdateWorkflowParticipantRequest, ListWorkflowParticipantsParams } from '../types/workflow-participant';
3
+ export interface WorkflowParticipantsService {
4
+ list(workflowUniqueId: string, params?: ListWorkflowParticipantsParams): Promise<PageResult<WorkflowParticipant>>;
5
+ get(workflowUniqueId: string, uniqueId: string): Promise<WorkflowParticipant>;
6
+ add(workflowUniqueId: string, data: AddWorkflowParticipantRequest): Promise<WorkflowParticipant>;
7
+ update(workflowUniqueId: string, uniqueId: string, data: UpdateWorkflowParticipantRequest): Promise<WorkflowParticipant>;
8
+ remove(workflowUniqueId: string, uniqueId: string): Promise<void>;
9
+ }
10
+ export declare function createWorkflowParticipantsService(transport: Transport, _config: {
11
+ appId: string;
12
+ }): WorkflowParticipantsService;
13
+ //# sourceMappingURL=workflow-participants.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-participants.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/workflow-participants.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EACV,mBAAmB,EACnB,6BAA6B,EAC7B,gCAAgC,EAChC,8BAA8B,EAC/B,MAAM,+BAA+B,CAAC;AAGvC,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,8BAA8B,GAAG,OAAO,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAClH,GAAG,CAAC,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC9E,GAAG,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACjG,MAAM,CAAC,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,gCAAgC,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACzH,MAAM,CAAC,gBAAgB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnE;AAED,wBAAgB,iCAAiC,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,2BAA2B,CAkD/H"}
@@ -0,0 +1,14 @@
1
+ import type { Transport } from '@23blocks/contracts';
2
+ import type { WorkflowStep, AddWorkflowStepRequest, UpdateWorkflowStepRequest, AddStepPromptRequest, AddStepAgentRequest } from '../types/workflow-step';
3
+ export interface WorkflowStepsService {
4
+ get(workflowUniqueId: string, stepUniqueId: string): Promise<WorkflowStep>;
5
+ add(workflowUniqueId: string, data: AddWorkflowStepRequest): Promise<WorkflowStep>;
6
+ update(workflowUniqueId: string, stepUniqueId: string, data: UpdateWorkflowStepRequest): Promise<WorkflowStep>;
7
+ remove(workflowUniqueId: string, stepUniqueId: string): Promise<void>;
8
+ addPrompt(stepUniqueId: string, data: AddStepPromptRequest): Promise<void>;
9
+ addAgent(stepUniqueId: string, data: AddStepAgentRequest): Promise<void>;
10
+ }
11
+ export declare function createWorkflowStepsService(transport: Transport, _config: {
12
+ appId: string;
13
+ }): WorkflowStepsService;
14
+ //# sourceMappingURL=workflow-steps.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-steps.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/workflow-steps.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EACV,YAAY,EACZ,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAGhC,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,gBAAgB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3E,GAAG,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACnF,MAAM,CAAC,gBAAgB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAA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