@taico/client 0.2.11 → 0.2.12
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/contracts/types.d.ts +646 -646
- package/dist/src/v1/client/models/ChatProviderResponseDto.d.ts +2 -1
- package/dist/src/v1/client/models/ChatProviderResponseDto.js +1 -0
- package/dist/src/v1/client/models/CreateChatProviderDto.d.ts +2 -1
- package/dist/src/v1/client/models/CreateChatProviderDto.js +1 -0
- package/dist/src/v2/client.d.ts +2 -2
- package/dist/src/v2/client.js +3 -3
- package/dist/src/v2/types.d.ts +49 -49
- package/package.json +1 -1
package/dist/src/v2/client.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ import { ThreadsResource } from './threads-resource.js';
|
|
|
14
14
|
import { AgentResource } from './agent-resource.js';
|
|
15
15
|
import { AgentTokensResource } from './agent-tokens-resource.js';
|
|
16
16
|
import { AgentExecutionTokensResource } from './agent-execution-tokens-resource.js';
|
|
17
|
+
import { ContextResource } from './context-resource.js';
|
|
17
18
|
import { ChatProvidersResource } from './chat-providers-resource.js';
|
|
18
19
|
import { SecretsResource } from './secrets-resource.js';
|
|
19
|
-
import { ContextResource } from './context-resource.js';
|
|
20
20
|
import { ExecutionsResource } from './executions-resource.js';
|
|
21
21
|
import { WorkersResource } from './workers-resource.js';
|
|
22
22
|
import { TaskBlueprintsResource } from './task-blueprints-resource.js';
|
|
@@ -40,9 +40,9 @@ export declare class ApiClient {
|
|
|
40
40
|
readonly agent: AgentResource;
|
|
41
41
|
readonly agentTokens: AgentTokensResource;
|
|
42
42
|
readonly agentExecutionTokens: AgentExecutionTokensResource;
|
|
43
|
+
readonly context: ContextResource;
|
|
43
44
|
readonly chatProviders: ChatProvidersResource;
|
|
44
45
|
readonly secrets: SecretsResource;
|
|
45
|
-
readonly context: ContextResource;
|
|
46
46
|
readonly executions: ExecutionsResource;
|
|
47
47
|
readonly workers: WorkersResource;
|
|
48
48
|
readonly taskBlueprints: TaskBlueprintsResource;
|
package/dist/src/v2/client.js
CHANGED
|
@@ -13,9 +13,9 @@ import { ThreadsResource } from './threads-resource.js';
|
|
|
13
13
|
import { AgentResource } from './agent-resource.js';
|
|
14
14
|
import { AgentTokensResource } from './agent-tokens-resource.js';
|
|
15
15
|
import { AgentExecutionTokensResource } from './agent-execution-tokens-resource.js';
|
|
16
|
+
import { ContextResource } from './context-resource.js';
|
|
16
17
|
import { ChatProvidersResource } from './chat-providers-resource.js';
|
|
17
18
|
import { SecretsResource } from './secrets-resource.js';
|
|
18
|
-
import { ContextResource } from './context-resource.js';
|
|
19
19
|
import { ExecutionsResource } from './executions-resource.js';
|
|
20
20
|
import { WorkersResource } from './workers-resource.js';
|
|
21
21
|
import { TaskBlueprintsResource } from './task-blueprints-resource.js';
|
|
@@ -39,9 +39,9 @@ export class ApiClient {
|
|
|
39
39
|
agent;
|
|
40
40
|
agentTokens;
|
|
41
41
|
agentExecutionTokens;
|
|
42
|
+
context;
|
|
42
43
|
chatProviders;
|
|
43
44
|
secrets;
|
|
44
|
-
context;
|
|
45
45
|
executions;
|
|
46
46
|
workers;
|
|
47
47
|
taskBlueprints;
|
|
@@ -65,9 +65,9 @@ export class ApiClient {
|
|
|
65
65
|
this.agent = new AgentResource(config);
|
|
66
66
|
this.agentTokens = new AgentTokensResource(config);
|
|
67
67
|
this.agentExecutionTokens = new AgentExecutionTokensResource(config);
|
|
68
|
+
this.context = new ContextResource(config);
|
|
68
69
|
this.chatProviders = new ChatProvidersResource(config);
|
|
69
70
|
this.secrets = new SecretsResource(config);
|
|
70
|
-
this.context = new ContextResource(config);
|
|
71
71
|
this.executions = new ExecutionsResource(config);
|
|
72
72
|
this.workers = new WorkersResource(config);
|
|
73
73
|
this.taskBlueprints = new TaskBlueprintsResource(config);
|
package/dist/src/v2/types.d.ts
CHANGED
|
@@ -690,55 +690,6 @@ export interface AgentExecutionTokenResponseDto {
|
|
|
690
690
|
agentSlug: string;
|
|
691
691
|
requestedByClientId: string;
|
|
692
692
|
}
|
|
693
|
-
export interface CreateChatProviderDto {
|
|
694
|
-
name: string;
|
|
695
|
-
type: 'openai';
|
|
696
|
-
secretId?: string;
|
|
697
|
-
}
|
|
698
|
-
export interface ChatProviderResponseDto {
|
|
699
|
-
id: string;
|
|
700
|
-
name: string;
|
|
701
|
-
type: 'openai';
|
|
702
|
-
secretId?: string | null;
|
|
703
|
-
isActive: boolean;
|
|
704
|
-
isConfigured: boolean;
|
|
705
|
-
rowVersion: number;
|
|
706
|
-
createdAt: string;
|
|
707
|
-
updatedAt: string;
|
|
708
|
-
}
|
|
709
|
-
export interface UpdateChatProviderDto {
|
|
710
|
-
name?: string;
|
|
711
|
-
secretId?: string;
|
|
712
|
-
apiKey?: string;
|
|
713
|
-
}
|
|
714
|
-
export interface SetActiveChatProviderDto {
|
|
715
|
-
providerId: string;
|
|
716
|
-
}
|
|
717
|
-
export interface CreateSecretDto {
|
|
718
|
-
name: string;
|
|
719
|
-
description?: string;
|
|
720
|
-
value: string;
|
|
721
|
-
}
|
|
722
|
-
export interface SecretResponseDto {
|
|
723
|
-
id: string;
|
|
724
|
-
name: string;
|
|
725
|
-
description?: string | null;
|
|
726
|
-
createdByActorId: string;
|
|
727
|
-
createdBy?: string | null;
|
|
728
|
-
rowVersion: number;
|
|
729
|
-
createdAt: string;
|
|
730
|
-
updatedAt: string;
|
|
731
|
-
}
|
|
732
|
-
export interface SecretValueResponseDto {
|
|
733
|
-
id: string;
|
|
734
|
-
name: string;
|
|
735
|
-
value: string;
|
|
736
|
-
}
|
|
737
|
-
export interface UpdateSecretDto {
|
|
738
|
-
name?: string;
|
|
739
|
-
description?: string | null;
|
|
740
|
-
value?: string;
|
|
741
|
-
}
|
|
742
693
|
export interface CreateBlockDto {
|
|
743
694
|
title: string;
|
|
744
695
|
content: string;
|
|
@@ -811,6 +762,55 @@ export interface ReorderBlockDto {
|
|
|
811
762
|
export interface MoveBlockDto {
|
|
812
763
|
newParentId: Record<string, any> | null;
|
|
813
764
|
}
|
|
765
|
+
export interface CreateChatProviderDto {
|
|
766
|
+
name: string;
|
|
767
|
+
type: 'openai' | 'adk';
|
|
768
|
+
secretId?: string;
|
|
769
|
+
}
|
|
770
|
+
export interface ChatProviderResponseDto {
|
|
771
|
+
id: string;
|
|
772
|
+
name: string;
|
|
773
|
+
type: 'openai' | 'adk';
|
|
774
|
+
secretId?: string | null;
|
|
775
|
+
isActive: boolean;
|
|
776
|
+
isConfigured: boolean;
|
|
777
|
+
rowVersion: number;
|
|
778
|
+
createdAt: string;
|
|
779
|
+
updatedAt: string;
|
|
780
|
+
}
|
|
781
|
+
export interface UpdateChatProviderDto {
|
|
782
|
+
name?: string;
|
|
783
|
+
secretId?: string;
|
|
784
|
+
apiKey?: string;
|
|
785
|
+
}
|
|
786
|
+
export interface SetActiveChatProviderDto {
|
|
787
|
+
providerId: string;
|
|
788
|
+
}
|
|
789
|
+
export interface CreateSecretDto {
|
|
790
|
+
name: string;
|
|
791
|
+
description?: string;
|
|
792
|
+
value: string;
|
|
793
|
+
}
|
|
794
|
+
export interface SecretResponseDto {
|
|
795
|
+
id: string;
|
|
796
|
+
name: string;
|
|
797
|
+
description?: string | null;
|
|
798
|
+
createdByActorId: string;
|
|
799
|
+
createdBy?: string | null;
|
|
800
|
+
rowVersion: number;
|
|
801
|
+
createdAt: string;
|
|
802
|
+
updatedAt: string;
|
|
803
|
+
}
|
|
804
|
+
export interface SecretValueResponseDto {
|
|
805
|
+
id: string;
|
|
806
|
+
name: string;
|
|
807
|
+
value: string;
|
|
808
|
+
}
|
|
809
|
+
export interface UpdateSecretDto {
|
|
810
|
+
name?: string;
|
|
811
|
+
description?: string | null;
|
|
812
|
+
value?: string;
|
|
813
|
+
}
|
|
814
814
|
export interface TaskExecutionQueueEntryResponseDto {
|
|
815
815
|
taskId: string;
|
|
816
816
|
taskName: string | null;
|