@thirdweb-dev/nebula 0.1.2-nightly-a2b737e14493956dc888d94057e806bff77bacd2-20250625152030 → 0.2.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/cjs/client/client/client.js +145 -0
- package/dist/cjs/client/client/client.js.map +1 -0
- package/dist/cjs/client/client/index.js +15 -0
- package/dist/cjs/client/client/index.js.map +1 -0
- package/dist/cjs/client/client/types.js +3 -0
- package/dist/cjs/client/client/types.js.map +1 -0
- package/dist/cjs/client/client/utils.js +302 -0
- package/dist/cjs/client/client/utils.js.map +1 -0
- package/dist/cjs/client/client.gen.js +2 -2
- package/dist/cjs/client/client.gen.js.map +1 -1
- package/dist/cjs/client/core/auth.js +18 -0
- package/dist/cjs/client/core/auth.js.map +1 -0
- package/dist/cjs/client/core/bodySerializer.js +57 -0
- package/dist/cjs/client/core/bodySerializer.js.map +1 -0
- package/dist/cjs/client/core/params.js +92 -0
- package/dist/cjs/client/core/params.js.map +1 -0
- package/dist/cjs/client/core/pathSerializer.js +123 -0
- package/dist/cjs/client/core/pathSerializer.js.map +1 -0
- package/dist/cjs/client/core/types.js +3 -0
- package/dist/cjs/client/core/types.js.map +1 -0
- package/dist/cjs/configure.js +2 -2
- package/dist/cjs/configure.js.map +1 -1
- package/dist/esm/client/client/client.js +141 -0
- package/dist/esm/client/client/client.js.map +1 -0
- package/dist/esm/client/client/index.js +5 -0
- package/dist/esm/client/client/index.js.map +1 -0
- package/dist/esm/client/client/types.js +2 -0
- package/dist/esm/client/client/types.js.map +1 -0
- package/dist/esm/client/client/utils.js +290 -0
- package/dist/esm/client/client/utils.js.map +1 -0
- package/dist/esm/client/client.gen.js +1 -1
- package/dist/esm/client/client.gen.js.map +1 -1
- package/dist/esm/client/core/auth.js +14 -0
- package/dist/esm/client/core/auth.js.map +1 -0
- package/dist/esm/client/core/bodySerializer.js +54 -0
- package/dist/esm/client/core/bodySerializer.js.map +1 -0
- package/dist/esm/client/core/params.js +88 -0
- package/dist/esm/client/core/params.js.map +1 -0
- package/dist/esm/client/core/pathSerializer.js +114 -0
- package/dist/esm/client/core/pathSerializer.js.map +1 -0
- package/dist/esm/client/core/types.js +2 -0
- package/dist/esm/client/core/types.js.map +1 -0
- package/dist/esm/configure.js +1 -1
- package/dist/esm/configure.js.map +1 -1
- package/dist/types/client/client/client.d.ts +3 -0
- package/dist/types/client/client/client.d.ts.map +1 -0
- package/dist/types/client/client/index.d.ts +8 -0
- package/dist/types/client/client/index.d.ts.map +1 -0
- package/dist/types/client/client/types.d.ts +120 -0
- package/dist/types/client/client/types.d.ts.map +1 -0
- package/dist/types/client/client/utils.d.ts +46 -0
- package/dist/types/client/client/utils.d.ts.map +1 -0
- package/dist/types/client/client.gen.d.ts +2 -2
- package/dist/types/client/client.gen.d.ts.map +1 -1
- package/dist/types/client/core/auth.d.ts +19 -0
- package/dist/types/client/core/auth.d.ts.map +1 -0
- package/dist/types/client/core/bodySerializer.d.ts +18 -0
- package/dist/types/client/core/bodySerializer.d.ts.map +1 -0
- package/dist/types/client/core/params.d.ts +24 -0
- package/dist/types/client/core/params.d.ts.map +1 -0
- package/dist/types/client/core/pathSerializer.d.ts +34 -0
- package/dist/types/client/core/pathSerializer.d.ts.map +1 -0
- package/dist/types/client/core/types.d.ts +68 -0
- package/dist/types/client/core/types.d.ts.map +1 -0
- package/dist/types/client/sdk.gen.d.ts +44 -44
- package/dist/types/client/sdk.gen.d.ts.map +1 -1
- package/dist/types/client/types.gen.d.ts +193 -11
- package/dist/types/client/types.gen.d.ts.map +1 -1
- package/dist/types/configure.d.ts +2 -2
- package/dist/types/configure.d.ts.map +1 -1
- package/package.json +3 -4
- package/src/client/client/client.ts +189 -0
- package/src/client/client/index.ts +22 -0
- package/src/client/client/types.ts +222 -0
- package/src/client/client/utils.ts +417 -0
- package/src/client/client.gen.ts +1 -1
- package/src/client/core/auth.ts +40 -0
- package/src/client/core/bodySerializer.ts +84 -0
- package/src/client/core/params.ts +141 -0
- package/src/client/core/pathSerializer.ts +179 -0
- package/src/client/core/types.ts +98 -0
- package/src/client/sdk.gen.ts +1 -1
- package/src/client/types.gen.ts +213 -22
- package/src/configure.ts +5 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Client, Options as ClientOptions, TDataShape } from "
|
|
1
|
+
import type { Client, Options as ClientOptions, TDataShape } from "./client/index.js";
|
|
2
2
|
import type { AuthDelegateLoginData, AuthDelegateLoginErrors, AuthDelegateLoginResponses, CreateAgentData, CreateAgentErrors, CreateAgentResponses, CreateAgentToolData, CreateAgentToolErrors, CreateAgentToolResponses, CreateAgentTriggerData, CreateAgentTriggerErrors, CreateAgentTriggerResponses, CreateConversationData, CreateConversationErrors, CreateConversationMessageData, CreateConversationMessageErrors, CreateConversationMessageResponses, CreateConversationResponses, CreateUserWalletData, CreateUserWalletErrors, CreateUserWalletResponses, DeleteAgentData, DeleteAgentErrors, DeleteAgentResponses, DeleteAgentToolData, DeleteAgentToolErrors, DeleteAgentToolResponses, DeleteAgentTriggerData, DeleteAgentTriggerErrors, DeleteAgentTriggerResponses, DeleteConversationData, DeleteConversationErrors, DeleteConversationResponses, DeleteUserWalletData, DeleteUserWalletErrors, DeleteUserWalletResponses, DeprecatedChatCompletionsData, DeprecatedChatCompletionsErrors, DeprecatedChatCompletionsResponses, DeprecatedChatData, DeprecatedChatErrors, DeprecatedChatResponses, DeprecatedClearSessionData, DeprecatedClearSessionErrors, DeprecatedClearSessionResponses, DeprecatedCreateSessionData, DeprecatedCreateSessionErrors, DeprecatedCreateSessionResponses, DeprecatedDeleteSessionData, DeprecatedDeleteSessionErrors, DeprecatedDeleteSessionResponses, DeprecatedExecuteData, DeprecatedExecuteErrors, DeprecatedExecuteResponses, DeprecatedGetSessionData, DeprecatedGetSessionErrors, DeprecatedGetSessionResponses, DeprecatedGetSessionsData, DeprecatedGetSessionsResponses, DeprecatedUpdateSessionData, DeprecatedUpdateSessionErrors, DeprecatedUpdateSessionResponses, FeedbackData, FeedbackErrors, FeedbackResponses, GetAgentData, GetAgentErrors, GetAgentResponses, GetAgentsData, GetAgentsResponses, GetAgentToolData, GetAgentToolErrors, GetAgentToolResponses, GetAgentTriggerData, GetAgentTriggerErrors, GetAgentTriggerResponses, GetAgentWalletData, GetAgentWalletErrors, GetAgentWalletResponses, GetAgentWalletsData, GetAgentWalletsErrors, GetAgentWalletsResponses, GetAuthDelegatePayloadData, GetAuthDelegatePayloadErrors, GetAuthDelegatePayloadResponses, GetConversationData, GetConversationErrors, GetConversationResponses, GetConversationsData, GetConversationsErrors, GetConversationsResponses, GetModelsData, GetModelsResponses, GetRegistryAgentsData, GetRegistryAgentsErrors, GetRegistryAgentsResponses, GetUserData, GetUserResponses, GetUserWalletData, GetUserWalletErrors, GetUserWalletResponses, GetUserWalletsData, GetUserWalletsResponses, UpdateAgentData, UpdateAgentErrors, UpdateAgentResponses, UpdateAgentToolData, UpdateAgentToolErrors, UpdateAgentToolResponses, UpdateAgentTriggerData, UpdateAgentTriggerErrors, UpdateAgentTriggerResponses, UpdateConversationData, UpdateConversationErrors, UpdateConversationMessageData, UpdateConversationMessageErrors, UpdateConversationMessageResponses, UpdateConversationResponses, UpdateUserWalletData, UpdateUserWalletErrors, UpdateUserWalletResponses, VerifyAuthData, VerifyAuthResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
@@ -16,210 +16,210 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
16
16
|
/**
|
|
17
17
|
* Get Session List
|
|
18
18
|
*/
|
|
19
|
-
export declare const deprecatedGetSessions: <ThrowOnError extends boolean = false>(options?: Options<DeprecatedGetSessionsData, ThrowOnError>) => import("
|
|
19
|
+
export declare const deprecatedGetSessions: <ThrowOnError extends boolean = false>(options?: Options<DeprecatedGetSessionsData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedGetSessionsResponses, unknown, ThrowOnError, "fields">;
|
|
20
20
|
/**
|
|
21
21
|
* Delete Session
|
|
22
22
|
*/
|
|
23
|
-
export declare const deprecatedDeleteSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedDeleteSessionData, ThrowOnError>) => import("
|
|
23
|
+
export declare const deprecatedDeleteSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedDeleteSessionData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedDeleteSessionResponses, DeprecatedDeleteSessionErrors, ThrowOnError, "fields">;
|
|
24
24
|
/**
|
|
25
25
|
* Get Session
|
|
26
26
|
*/
|
|
27
|
-
export declare const deprecatedGetSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedGetSessionData, ThrowOnError>) => import("
|
|
27
|
+
export declare const deprecatedGetSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedGetSessionData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedGetSessionResponses, DeprecatedGetSessionErrors, ThrowOnError, "fields">;
|
|
28
28
|
/**
|
|
29
29
|
* Update Session
|
|
30
30
|
*/
|
|
31
|
-
export declare const deprecatedUpdateSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedUpdateSessionData, ThrowOnError>) => import("
|
|
31
|
+
export declare const deprecatedUpdateSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedUpdateSessionData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedUpdateSessionResponses, DeprecatedUpdateSessionErrors, ThrowOnError, "fields">;
|
|
32
32
|
/**
|
|
33
33
|
* Create Session
|
|
34
34
|
*/
|
|
35
|
-
export declare const deprecatedCreateSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedCreateSessionData, ThrowOnError>) => import("
|
|
35
|
+
export declare const deprecatedCreateSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedCreateSessionData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedCreateSessionResponses, DeprecatedCreateSessionErrors, ThrowOnError, "fields">;
|
|
36
36
|
/**
|
|
37
37
|
* Clear Session
|
|
38
38
|
*/
|
|
39
|
-
export declare const deprecatedClearSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedClearSessionData, ThrowOnError>) => import("
|
|
39
|
+
export declare const deprecatedClearSession: <ThrowOnError extends boolean = false>(options: Options<DeprecatedClearSessionData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedClearSessionResponses, DeprecatedClearSessionErrors, ThrowOnError, "fields">;
|
|
40
40
|
/**
|
|
41
41
|
* Chat
|
|
42
42
|
* Process a chat message and return the response
|
|
43
43
|
*/
|
|
44
|
-
export declare const deprecatedChat: <ThrowOnError extends boolean = false>(options: Options<DeprecatedChatData, ThrowOnError>) => import("
|
|
44
|
+
export declare const deprecatedChat: <ThrowOnError extends boolean = false>(options: Options<DeprecatedChatData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedChatResponses, DeprecatedChatErrors, ThrowOnError, "fields">;
|
|
45
45
|
/**
|
|
46
46
|
* Chat Completions
|
|
47
47
|
* Process a chat message and return the response
|
|
48
48
|
*/
|
|
49
|
-
export declare const deprecatedChatCompletions: <ThrowOnError extends boolean = false>(options: Options<DeprecatedChatCompletionsData, ThrowOnError>) => import("
|
|
49
|
+
export declare const deprecatedChatCompletions: <ThrowOnError extends boolean = false>(options: Options<DeprecatedChatCompletionsData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedChatCompletionsResponses, DeprecatedChatCompletionsErrors, ThrowOnError, "fields">;
|
|
50
50
|
/**
|
|
51
51
|
* Execute
|
|
52
52
|
* Process an execute request and return the response
|
|
53
53
|
*/
|
|
54
|
-
export declare const deprecatedExecute: <ThrowOnError extends boolean = false>(options: Options<DeprecatedExecuteData, ThrowOnError>) => import("
|
|
54
|
+
export declare const deprecatedExecute: <ThrowOnError extends boolean = false>(options: Options<DeprecatedExecuteData, ThrowOnError>) => import("./client/types.js").RequestResult<DeprecatedExecuteResponses, DeprecatedExecuteErrors, ThrowOnError, "fields">;
|
|
55
55
|
/**
|
|
56
56
|
* Feedback
|
|
57
57
|
* Process a feedback request and return the response
|
|
58
58
|
*/
|
|
59
|
-
export declare const feedback: <ThrowOnError extends boolean = false>(options: Options<FeedbackData, ThrowOnError>) => import("
|
|
59
|
+
export declare const feedback: <ThrowOnError extends boolean = false>(options: Options<FeedbackData, ThrowOnError>) => import("./client/types.js").RequestResult<FeedbackResponses, FeedbackErrors, ThrowOnError, "fields">;
|
|
60
60
|
/**
|
|
61
61
|
* Get Models
|
|
62
62
|
* Get all models
|
|
63
63
|
*/
|
|
64
|
-
export declare const getModels: <ThrowOnError extends boolean = false>(options?: Options<GetModelsData, ThrowOnError>) => import("
|
|
64
|
+
export declare const getModels: <ThrowOnError extends boolean = false>(options?: Options<GetModelsData, ThrowOnError>) => import("./client/types.js").RequestResult<GetModelsResponses, unknown, ThrowOnError, "fields">;
|
|
65
65
|
/**
|
|
66
66
|
* Get Delegate Payload
|
|
67
67
|
* Get a delegate payload
|
|
68
68
|
*/
|
|
69
|
-
export declare const getAuthDelegatePayload: <ThrowOnError extends boolean = false>(options: Options<GetAuthDelegatePayloadData, ThrowOnError>) => import("
|
|
69
|
+
export declare const getAuthDelegatePayload: <ThrowOnError extends boolean = false>(options: Options<GetAuthDelegatePayloadData, ThrowOnError>) => import("./client/types.js").RequestResult<GetAuthDelegatePayloadResponses, GetAuthDelegatePayloadErrors, ThrowOnError, "fields">;
|
|
70
70
|
/**
|
|
71
71
|
* Login Delegate
|
|
72
72
|
* Login with SIWE
|
|
73
73
|
*/
|
|
74
|
-
export declare const authDelegateLogin: <ThrowOnError extends boolean = false>(options: Options<AuthDelegateLoginData, ThrowOnError>) => import("
|
|
74
|
+
export declare const authDelegateLogin: <ThrowOnError extends boolean = false>(options: Options<AuthDelegateLoginData, ThrowOnError>) => import("./client/types.js").RequestResult<AuthDelegateLoginResponses, AuthDelegateLoginErrors, ThrowOnError, "fields">;
|
|
75
75
|
/**
|
|
76
76
|
* Verify Auth
|
|
77
77
|
* Verify a delegate payload
|
|
78
78
|
*/
|
|
79
|
-
export declare const verifyAuth: <ThrowOnError extends boolean = false>(options?: Options<VerifyAuthData, ThrowOnError>) => import("
|
|
79
|
+
export declare const verifyAuth: <ThrowOnError extends boolean = false>(options?: Options<VerifyAuthData, ThrowOnError>) => import("./client/types.js").RequestResult<VerifyAuthResponses, unknown, ThrowOnError, "fields">;
|
|
80
80
|
/**
|
|
81
81
|
* Get User
|
|
82
82
|
* Get the current user
|
|
83
83
|
*/
|
|
84
|
-
export declare const getUser: <ThrowOnError extends boolean = false>(options?: Options<GetUserData, ThrowOnError>) => import("
|
|
84
|
+
export declare const getUser: <ThrowOnError extends boolean = false>(options?: Options<GetUserData, ThrowOnError>) => import("./client/types.js").RequestResult<GetUserResponses, unknown, ThrowOnError, "fields">;
|
|
85
85
|
/**
|
|
86
86
|
* Get User Wallets
|
|
87
87
|
* Get all user wallets
|
|
88
88
|
*/
|
|
89
|
-
export declare const getUserWallets: <ThrowOnError extends boolean = false>(options?: Options<GetUserWalletsData, ThrowOnError>) => import("
|
|
89
|
+
export declare const getUserWallets: <ThrowOnError extends boolean = false>(options?: Options<GetUserWalletsData, ThrowOnError>) => import("./client/types.js").RequestResult<GetUserWalletsResponses, unknown, ThrowOnError, "fields">;
|
|
90
90
|
/**
|
|
91
91
|
* Delete User Wallet
|
|
92
92
|
* Delete a user wallet
|
|
93
93
|
*/
|
|
94
|
-
export declare const deleteUserWallet: <ThrowOnError extends boolean = false>(options: Options<DeleteUserWalletData, ThrowOnError>) => import("
|
|
94
|
+
export declare const deleteUserWallet: <ThrowOnError extends boolean = false>(options: Options<DeleteUserWalletData, ThrowOnError>) => import("./client/types.js").RequestResult<DeleteUserWalletResponses, DeleteUserWalletErrors, ThrowOnError, "fields">;
|
|
95
95
|
/**
|
|
96
96
|
* Get User Wallet
|
|
97
97
|
* Get a user wallet
|
|
98
98
|
*/
|
|
99
|
-
export declare const getUserWallet: <ThrowOnError extends boolean = false>(options: Options<GetUserWalletData, ThrowOnError>) => import("
|
|
99
|
+
export declare const getUserWallet: <ThrowOnError extends boolean = false>(options: Options<GetUserWalletData, ThrowOnError>) => import("./client/types.js").RequestResult<GetUserWalletResponses, GetUserWalletErrors, ThrowOnError, "fields">;
|
|
100
100
|
/**
|
|
101
101
|
* Put User Wallet
|
|
102
102
|
* Update a user wallet
|
|
103
103
|
*/
|
|
104
|
-
export declare const updateUserWallet: <ThrowOnError extends boolean = false>(options: Options<UpdateUserWalletData, ThrowOnError>) => import("
|
|
104
|
+
export declare const updateUserWallet: <ThrowOnError extends boolean = false>(options: Options<UpdateUserWalletData, ThrowOnError>) => import("./client/types.js").RequestResult<UpdateUserWalletResponses, UpdateUserWalletErrors, ThrowOnError, "fields">;
|
|
105
105
|
/**
|
|
106
106
|
* Post User Wallet
|
|
107
107
|
* Create a user wallet
|
|
108
108
|
*/
|
|
109
|
-
export declare const createUserWallet: <ThrowOnError extends boolean = false>(options: Options<CreateUserWalletData, ThrowOnError>) => import("
|
|
109
|
+
export declare const createUserWallet: <ThrowOnError extends boolean = false>(options: Options<CreateUserWalletData, ThrowOnError>) => import("./client/types.js").RequestResult<CreateUserWalletResponses, CreateUserWalletErrors, ThrowOnError, "fields">;
|
|
110
110
|
/**
|
|
111
111
|
* Get Agents
|
|
112
112
|
* Get all agents
|
|
113
113
|
*/
|
|
114
|
-
export declare const getAgents: <ThrowOnError extends boolean = false>(options?: Options<GetAgentsData, ThrowOnError>) => import("
|
|
114
|
+
export declare const getAgents: <ThrowOnError extends boolean = false>(options?: Options<GetAgentsData, ThrowOnError>) => import("./client/types.js").RequestResult<GetAgentsResponses, unknown, ThrowOnError, "fields">;
|
|
115
115
|
/**
|
|
116
116
|
* Delete Agent
|
|
117
117
|
* Delete an agent
|
|
118
118
|
*/
|
|
119
|
-
export declare const deleteAgent: <ThrowOnError extends boolean = false>(options: Options<DeleteAgentData, ThrowOnError>) => import("
|
|
119
|
+
export declare const deleteAgent: <ThrowOnError extends boolean = false>(options: Options<DeleteAgentData, ThrowOnError>) => import("./client/types.js").RequestResult<DeleteAgentResponses, DeleteAgentErrors, ThrowOnError, "fields">;
|
|
120
120
|
/**
|
|
121
121
|
* Get Agent
|
|
122
122
|
* Get an agent
|
|
123
123
|
*/
|
|
124
|
-
export declare const getAgent: <ThrowOnError extends boolean = false>(options: Options<GetAgentData, ThrowOnError>) => import("
|
|
124
|
+
export declare const getAgent: <ThrowOnError extends boolean = false>(options: Options<GetAgentData, ThrowOnError>) => import("./client/types.js").RequestResult<GetAgentResponses, GetAgentErrors, ThrowOnError, "fields">;
|
|
125
125
|
/**
|
|
126
126
|
* Update Agent
|
|
127
127
|
* Update an agent
|
|
128
128
|
*/
|
|
129
|
-
export declare const updateAgent: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentData, ThrowOnError>) => import("
|
|
129
|
+
export declare const updateAgent: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentData, ThrowOnError>) => import("./client/types.js").RequestResult<UpdateAgentResponses, UpdateAgentErrors, ThrowOnError, "fields">;
|
|
130
130
|
/**
|
|
131
131
|
* Create Agent
|
|
132
132
|
* Create an agent
|
|
133
133
|
*/
|
|
134
|
-
export declare const createAgent: <ThrowOnError extends boolean = false>(options: Options<CreateAgentData, ThrowOnError>) => import("
|
|
134
|
+
export declare const createAgent: <ThrowOnError extends boolean = false>(options: Options<CreateAgentData, ThrowOnError>) => import("./client/types.js").RequestResult<CreateAgentResponses, CreateAgentErrors, ThrowOnError, "fields">;
|
|
135
135
|
/**
|
|
136
136
|
* Delete Agent Trigger
|
|
137
137
|
* Delete an agent trigger
|
|
138
138
|
*/
|
|
139
|
-
export declare const deleteAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<DeleteAgentTriggerData, ThrowOnError>) => import("
|
|
139
|
+
export declare const deleteAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<DeleteAgentTriggerData, ThrowOnError>) => import("./client/types.js").RequestResult<DeleteAgentTriggerResponses, DeleteAgentTriggerErrors, ThrowOnError, "fields">;
|
|
140
140
|
/**
|
|
141
141
|
* Get Agent Trigger
|
|
142
142
|
* Get an agent trigger
|
|
143
143
|
*/
|
|
144
|
-
export declare const getAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<GetAgentTriggerData, ThrowOnError>) => import("
|
|
144
|
+
export declare const getAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<GetAgentTriggerData, ThrowOnError>) => import("./client/types.js").RequestResult<GetAgentTriggerResponses, GetAgentTriggerErrors, ThrowOnError, "fields">;
|
|
145
145
|
/**
|
|
146
146
|
* Update Agent Trigger
|
|
147
147
|
* Update an agent trigger
|
|
148
148
|
*/
|
|
149
|
-
export declare const updateAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentTriggerData, ThrowOnError>) => import("
|
|
149
|
+
export declare const updateAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentTriggerData, ThrowOnError>) => import("./client/types.js").RequestResult<UpdateAgentTriggerResponses, UpdateAgentTriggerErrors, ThrowOnError, "fields">;
|
|
150
150
|
/**
|
|
151
151
|
* Create Agent Trigger
|
|
152
152
|
* Create an agent trigger
|
|
153
153
|
*/
|
|
154
|
-
export declare const createAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<CreateAgentTriggerData, ThrowOnError>) => import("
|
|
154
|
+
export declare const createAgentTrigger: <ThrowOnError extends boolean = false>(options: Options<CreateAgentTriggerData, ThrowOnError>) => import("./client/types.js").RequestResult<CreateAgentTriggerResponses, CreateAgentTriggerErrors, ThrowOnError, "fields">;
|
|
155
155
|
/**
|
|
156
156
|
* Delete Agent Tool
|
|
157
157
|
* Delete an agent tool
|
|
158
158
|
*/
|
|
159
|
-
export declare const deleteAgentTool: <ThrowOnError extends boolean = false>(options: Options<DeleteAgentToolData, ThrowOnError>) => import("
|
|
159
|
+
export declare const deleteAgentTool: <ThrowOnError extends boolean = false>(options: Options<DeleteAgentToolData, ThrowOnError>) => import("./client/types.js").RequestResult<DeleteAgentToolResponses, DeleteAgentToolErrors, ThrowOnError, "fields">;
|
|
160
160
|
/**
|
|
161
161
|
* Get Agent Tool
|
|
162
162
|
* Get an agent tool
|
|
163
163
|
*/
|
|
164
|
-
export declare const getAgentTool: <ThrowOnError extends boolean = false>(options: Options<GetAgentToolData, ThrowOnError>) => import("
|
|
164
|
+
export declare const getAgentTool: <ThrowOnError extends boolean = false>(options: Options<GetAgentToolData, ThrowOnError>) => import("./client/types.js").RequestResult<GetAgentToolResponses, GetAgentToolErrors, ThrowOnError, "fields">;
|
|
165
165
|
/**
|
|
166
166
|
* Update Agent Tool
|
|
167
167
|
* Update an agent tool
|
|
168
168
|
*/
|
|
169
|
-
export declare const updateAgentTool: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentToolData, ThrowOnError>) => import("
|
|
169
|
+
export declare const updateAgentTool: <ThrowOnError extends boolean = false>(options: Options<UpdateAgentToolData, ThrowOnError>) => import("./client/types.js").RequestResult<UpdateAgentToolResponses, UpdateAgentToolErrors, ThrowOnError, "fields">;
|
|
170
170
|
/**
|
|
171
171
|
* Create Agent Tool
|
|
172
172
|
* Create an agent tool
|
|
173
173
|
*/
|
|
174
|
-
export declare const createAgentTool: <ThrowOnError extends boolean = false>(options: Options<CreateAgentToolData, ThrowOnError>) => import("
|
|
174
|
+
export declare const createAgentTool: <ThrowOnError extends boolean = false>(options: Options<CreateAgentToolData, ThrowOnError>) => import("./client/types.js").RequestResult<CreateAgentToolResponses, CreateAgentToolErrors, ThrowOnError, "fields">;
|
|
175
175
|
/**
|
|
176
176
|
* Get Agent Wallets
|
|
177
177
|
* Get all agent wallets
|
|
178
178
|
*/
|
|
179
|
-
export declare const getAgentWallets: <ThrowOnError extends boolean = false>(options: Options<GetAgentWalletsData, ThrowOnError>) => import("
|
|
179
|
+
export declare const getAgentWallets: <ThrowOnError extends boolean = false>(options: Options<GetAgentWalletsData, ThrowOnError>) => import("./client/types.js").RequestResult<GetAgentWalletsResponses, GetAgentWalletsErrors, ThrowOnError, "fields">;
|
|
180
180
|
/**
|
|
181
181
|
* Get Agent Wallet
|
|
182
182
|
* Get an agent wallet
|
|
183
183
|
*/
|
|
184
|
-
export declare const getAgentWallet: <ThrowOnError extends boolean = false>(options: Options<GetAgentWalletData, ThrowOnError>) => import("
|
|
184
|
+
export declare const getAgentWallet: <ThrowOnError extends boolean = false>(options: Options<GetAgentWalletData, ThrowOnError>) => import("./client/types.js").RequestResult<GetAgentWalletResponses, GetAgentWalletErrors, ThrowOnError, "fields">;
|
|
185
185
|
/**
|
|
186
186
|
* Get Conversations
|
|
187
187
|
* Get all conversations
|
|
188
188
|
*/
|
|
189
|
-
export declare const getConversations: <ThrowOnError extends boolean = false>(options?: Options<GetConversationsData, ThrowOnError>) => import("
|
|
189
|
+
export declare const getConversations: <ThrowOnError extends boolean = false>(options?: Options<GetConversationsData, ThrowOnError>) => import("./client/types.js").RequestResult<GetConversationsResponses, GetConversationsErrors, ThrowOnError, "fields">;
|
|
190
190
|
/**
|
|
191
191
|
* Delete Conversation
|
|
192
192
|
* Delete a conversation
|
|
193
193
|
*/
|
|
194
|
-
export declare const deleteConversation: <ThrowOnError extends boolean = false>(options: Options<DeleteConversationData, ThrowOnError>) => import("
|
|
194
|
+
export declare const deleteConversation: <ThrowOnError extends boolean = false>(options: Options<DeleteConversationData, ThrowOnError>) => import("./client/types.js").RequestResult<DeleteConversationResponses, DeleteConversationErrors, ThrowOnError, "fields">;
|
|
195
195
|
/**
|
|
196
196
|
* Get Conversation
|
|
197
197
|
* Get a conversation
|
|
198
198
|
*/
|
|
199
|
-
export declare const getConversation: <ThrowOnError extends boolean = false>(options: Options<GetConversationData, ThrowOnError>) => import("
|
|
199
|
+
export declare const getConversation: <ThrowOnError extends boolean = false>(options: Options<GetConversationData, ThrowOnError>) => import("./client/types.js").RequestResult<GetConversationResponses, GetConversationErrors, ThrowOnError, "fields">;
|
|
200
200
|
/**
|
|
201
201
|
* Update Conversation
|
|
202
202
|
* Update a conversation
|
|
203
203
|
*/
|
|
204
|
-
export declare const updateConversation: <ThrowOnError extends boolean = false>(options: Options<UpdateConversationData, ThrowOnError>) => import("
|
|
204
|
+
export declare const updateConversation: <ThrowOnError extends boolean = false>(options: Options<UpdateConversationData, ThrowOnError>) => import("./client/types.js").RequestResult<UpdateConversationResponses, UpdateConversationErrors, ThrowOnError, "fields">;
|
|
205
205
|
/**
|
|
206
206
|
* Create Conversation
|
|
207
207
|
* Create a conversation
|
|
208
208
|
*/
|
|
209
|
-
export declare const createConversation: <ThrowOnError extends boolean = false>(options: Options<CreateConversationData, ThrowOnError>) => import("
|
|
209
|
+
export declare const createConversation: <ThrowOnError extends boolean = false>(options: Options<CreateConversationData, ThrowOnError>) => import("./client/types.js").RequestResult<CreateConversationResponses, CreateConversationErrors, ThrowOnError, "fields">;
|
|
210
210
|
/**
|
|
211
211
|
* Create Conversation Message
|
|
212
212
|
* Create a message for a conversation
|
|
213
213
|
*/
|
|
214
|
-
export declare const createConversationMessage: <ThrowOnError extends boolean = false>(options: Options<CreateConversationMessageData, ThrowOnError>) => import("
|
|
214
|
+
export declare const createConversationMessage: <ThrowOnError extends boolean = false>(options: Options<CreateConversationMessageData, ThrowOnError>) => import("./client/types.js").RequestResult<CreateConversationMessageResponses, CreateConversationMessageErrors, ThrowOnError, "fields">;
|
|
215
215
|
/**
|
|
216
216
|
* Update Conversation Message
|
|
217
217
|
* Update a message for a conversation
|
|
218
218
|
*/
|
|
219
|
-
export declare const updateConversationMessage: <ThrowOnError extends boolean = false>(options: Options<UpdateConversationMessageData, ThrowOnError>) => import("
|
|
219
|
+
export declare const updateConversationMessage: <ThrowOnError extends boolean = false>(options: Options<UpdateConversationMessageData, ThrowOnError>) => import("./client/types.js").RequestResult<UpdateConversationMessageResponses, UpdateConversationMessageErrors, ThrowOnError, "fields">;
|
|
220
220
|
/**
|
|
221
221
|
* Get Registry Agents
|
|
222
222
|
* Get all agents from the registry
|
|
223
223
|
*/
|
|
224
|
-
export declare const getRegistryAgents: <ThrowOnError extends boolean = false>(options?: Options<GetRegistryAgentsData, ThrowOnError>) => import("
|
|
224
|
+
export declare const getRegistryAgents: <ThrowOnError extends boolean = false>(options?: Options<GetRegistryAgentsData, ThrowOnError>) => import("./client/types.js").RequestResult<GetRegistryAgentsResponses, GetRegistryAgentsErrors, ThrowOnError, "fields">;
|
|
225
225
|
//# sourceMappingURL=sdk.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../../src/client/sdk.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,OAAO,IAAI,aAAa,EACxB,UAAU,EACX,MAAM,
|
|
1
|
+
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../../src/client/sdk.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EACN,OAAO,IAAI,aAAa,EACxB,UAAU,EACX,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,+BAA+B,EAC/B,kCAAkC,EAClC,2BAA2B,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,6BAA6B,EAC7B,+BAA+B,EAC/B,kCAAkC,EAClC,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACv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GG;AACH,eAAO,MAAM,iBAAiB,GAAI,YAAY,SAAS,OAAO,GAAG,KAAK,EACpE,UAAU,OAAO,CAAC,qBAAqB,EAAE,YAAY,CAAC,2HAgBvD,CAAC"}
|
|
@@ -526,6 +526,10 @@ export type AgentResponse = {
|
|
|
526
526
|
* Is Public
|
|
527
527
|
*/
|
|
528
528
|
is_public: boolean;
|
|
529
|
+
/**
|
|
530
|
+
* Summary
|
|
531
|
+
*/
|
|
532
|
+
summary?: string | null;
|
|
529
533
|
context: AgentTaskContext;
|
|
530
534
|
/**
|
|
531
535
|
* Prompts
|
|
@@ -724,6 +728,56 @@ export type AgentToolDataAgent = {
|
|
|
724
728
|
*/
|
|
725
729
|
agent_id: string;
|
|
726
730
|
};
|
|
731
|
+
/**
|
|
732
|
+
* AgentToolDataApi
|
|
733
|
+
*/
|
|
734
|
+
export type AgentToolDataApi = {
|
|
735
|
+
/**
|
|
736
|
+
* Type
|
|
737
|
+
*/
|
|
738
|
+
type?: "api";
|
|
739
|
+
/**
|
|
740
|
+
* Url
|
|
741
|
+
*/
|
|
742
|
+
url: string;
|
|
743
|
+
/**
|
|
744
|
+
* Method
|
|
745
|
+
*/
|
|
746
|
+
method?: string;
|
|
747
|
+
/**
|
|
748
|
+
* Headers
|
|
749
|
+
*/
|
|
750
|
+
headers?: {
|
|
751
|
+
[key: string]: string;
|
|
752
|
+
} | null;
|
|
753
|
+
/**
|
|
754
|
+
* Params
|
|
755
|
+
*/
|
|
756
|
+
params?: {
|
|
757
|
+
[key: string]: unknown;
|
|
758
|
+
} | null;
|
|
759
|
+
/**
|
|
760
|
+
* Task Param
|
|
761
|
+
*/
|
|
762
|
+
task_param: string;
|
|
763
|
+
/**
|
|
764
|
+
* Description
|
|
765
|
+
*/
|
|
766
|
+
description: string;
|
|
767
|
+
};
|
|
768
|
+
/**
|
|
769
|
+
* AgentToolDataBuiltin
|
|
770
|
+
*/
|
|
771
|
+
export type AgentToolDataBuiltin = {
|
|
772
|
+
/**
|
|
773
|
+
* Type
|
|
774
|
+
*/
|
|
775
|
+
type?: "builtin";
|
|
776
|
+
/**
|
|
777
|
+
* Agent Name
|
|
778
|
+
*/
|
|
779
|
+
agent_name: string;
|
|
780
|
+
};
|
|
727
781
|
/**
|
|
728
782
|
* AgentToolDataMcp
|
|
729
783
|
*/
|
|
@@ -735,9 +789,9 @@ export type AgentToolDataMcp = {
|
|
|
735
789
|
config: McpConfig;
|
|
736
790
|
};
|
|
737
791
|
/**
|
|
738
|
-
*
|
|
792
|
+
* AgentToolReference
|
|
739
793
|
*/
|
|
740
|
-
export type
|
|
794
|
+
export type AgentToolReference = {
|
|
741
795
|
/**
|
|
742
796
|
* Agent Id
|
|
743
797
|
*/
|
|
@@ -750,6 +804,10 @@ export type AgentToolDescription = {
|
|
|
750
804
|
* Description
|
|
751
805
|
*/
|
|
752
806
|
description: string;
|
|
807
|
+
/**
|
|
808
|
+
* Summary
|
|
809
|
+
*/
|
|
810
|
+
summary?: string | null;
|
|
753
811
|
};
|
|
754
812
|
/**
|
|
755
813
|
* AgentToolResponse
|
|
@@ -773,8 +831,12 @@ export type AgentToolResponse = {
|
|
|
773
831
|
data: ({
|
|
774
832
|
type: "agent";
|
|
775
833
|
} & AgentToolDataAgent) | ({
|
|
834
|
+
type: "builtin";
|
|
835
|
+
} & AgentToolDataBuiltin) | ({
|
|
776
836
|
type: "mcp";
|
|
777
|
-
} & AgentToolDataMcp)
|
|
837
|
+
} & AgentToolDataMcp) | ({
|
|
838
|
+
type: "api";
|
|
839
|
+
} & AgentToolDataApi);
|
|
778
840
|
/**
|
|
779
841
|
* Created At
|
|
780
842
|
*/
|
|
@@ -1054,6 +1116,43 @@ export type AgentWalletResponse = {
|
|
|
1054
1116
|
*/
|
|
1055
1117
|
updated_at: string;
|
|
1056
1118
|
};
|
|
1119
|
+
/**
|
|
1120
|
+
* ApiToolConfig
|
|
1121
|
+
*/
|
|
1122
|
+
export type ApiToolConfig = {
|
|
1123
|
+
/**
|
|
1124
|
+
* Url
|
|
1125
|
+
*/
|
|
1126
|
+
url: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* Method
|
|
1129
|
+
*/
|
|
1130
|
+
method: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Headers
|
|
1133
|
+
*/
|
|
1134
|
+
headers?: {
|
|
1135
|
+
[key: string]: string;
|
|
1136
|
+
} | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* Params
|
|
1139
|
+
*/
|
|
1140
|
+
params?: {
|
|
1141
|
+
[key: string]: string;
|
|
1142
|
+
} | null;
|
|
1143
|
+
/**
|
|
1144
|
+
* Task Param
|
|
1145
|
+
*/
|
|
1146
|
+
task_param?: string | null;
|
|
1147
|
+
/**
|
|
1148
|
+
* Name
|
|
1149
|
+
*/
|
|
1150
|
+
name?: string | null;
|
|
1151
|
+
/**
|
|
1152
|
+
* Description
|
|
1153
|
+
*/
|
|
1154
|
+
description: string;
|
|
1155
|
+
};
|
|
1057
1156
|
/**
|
|
1058
1157
|
* BlockchainEntity
|
|
1059
1158
|
* Base class for all blockchain entities tracked in memory.
|
|
@@ -1080,6 +1179,15 @@ export type BlockchainEntity = {
|
|
|
1080
1179
|
*/
|
|
1081
1180
|
last_mentioned_at?: string;
|
|
1082
1181
|
};
|
|
1182
|
+
/**
|
|
1183
|
+
* BuiltinAgentReference
|
|
1184
|
+
*/
|
|
1185
|
+
export type BuiltinAgentReference = {
|
|
1186
|
+
/**
|
|
1187
|
+
* Agent Name
|
|
1188
|
+
*/
|
|
1189
|
+
agent_name: string;
|
|
1190
|
+
};
|
|
1083
1191
|
/**
|
|
1084
1192
|
* ChatContentImage
|
|
1085
1193
|
*/
|
|
@@ -1138,7 +1246,7 @@ export type ChatMessage = {
|
|
|
1138
1246
|
/**
|
|
1139
1247
|
* Content
|
|
1140
1248
|
*/
|
|
1141
|
-
content:
|
|
1249
|
+
content: Array<({
|
|
1142
1250
|
type: "image";
|
|
1143
1251
|
} & ChatContentImage) | ({
|
|
1144
1252
|
type: "text";
|
|
@@ -1347,11 +1455,19 @@ export type CompletionContextInput = {
|
|
|
1347
1455
|
/**
|
|
1348
1456
|
* Mcp Tools
|
|
1349
1457
|
*/
|
|
1350
|
-
mcp_tools?: Array<
|
|
1458
|
+
mcp_tools?: Array<McpToolConfig> | null;
|
|
1351
1459
|
/**
|
|
1352
1460
|
* Agent Tools
|
|
1353
1461
|
*/
|
|
1354
|
-
agent_tools?: Array<
|
|
1462
|
+
agent_tools?: Array<AgentToolReference> | null;
|
|
1463
|
+
/**
|
|
1464
|
+
* Builtin Agents
|
|
1465
|
+
*/
|
|
1466
|
+
builtin_agents?: Array<BuiltinAgentReference> | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Api Tools
|
|
1469
|
+
*/
|
|
1470
|
+
api_tools?: Array<ApiToolConfig> | null;
|
|
1355
1471
|
/**
|
|
1356
1472
|
* Deployed Contracts
|
|
1357
1473
|
*/
|
|
@@ -1389,6 +1505,32 @@ export type CompletionContextOutput = {
|
|
|
1389
1505
|
* Prompts
|
|
1390
1506
|
*/
|
|
1391
1507
|
prompts?: Array<ChatMessage>;
|
|
1508
|
+
/**
|
|
1509
|
+
* Mcp Tools
|
|
1510
|
+
*/
|
|
1511
|
+
mcp_tools?: Array<McpToolConfig> | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* Agent Tools
|
|
1514
|
+
*/
|
|
1515
|
+
agent_tools?: Array<AgentToolReference> | null;
|
|
1516
|
+
/**
|
|
1517
|
+
* Builtin Agents
|
|
1518
|
+
*/
|
|
1519
|
+
builtin_agents?: Array<BuiltinAgentReference> | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* Api Tools
|
|
1522
|
+
*/
|
|
1523
|
+
api_tools?: Array<ApiToolConfig> | null;
|
|
1524
|
+
/**
|
|
1525
|
+
* Deployed Contracts
|
|
1526
|
+
*/
|
|
1527
|
+
deployed_contracts?: Array<ContractBase>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Entities
|
|
1530
|
+
*/
|
|
1531
|
+
entities?: {
|
|
1532
|
+
[key: string]: BlockchainEntity;
|
|
1533
|
+
};
|
|
1392
1534
|
};
|
|
1393
1535
|
/**
|
|
1394
1536
|
* CompletionParams
|
|
@@ -1783,8 +1925,12 @@ export type CreateAgentToolParams = {
|
|
|
1783
1925
|
data: ({
|
|
1784
1926
|
type: "agent";
|
|
1785
1927
|
} & AgentToolDataAgent) | ({
|
|
1928
|
+
type: "builtin";
|
|
1929
|
+
} & AgentToolDataBuiltin) | ({
|
|
1786
1930
|
type: "mcp";
|
|
1787
|
-
} & AgentToolDataMcp)
|
|
1931
|
+
} & AgentToolDataMcp) | ({
|
|
1932
|
+
type: "api";
|
|
1933
|
+
} & AgentToolDataApi);
|
|
1788
1934
|
/**
|
|
1789
1935
|
* Description
|
|
1790
1936
|
*/
|
|
@@ -2006,11 +2152,15 @@ export type McpConfig = {
|
|
|
2006
2152
|
headers?: {
|
|
2007
2153
|
[key: string]: unknown;
|
|
2008
2154
|
} | null;
|
|
2155
|
+
/**
|
|
2156
|
+
* Transport
|
|
2157
|
+
*/
|
|
2158
|
+
transport?: string;
|
|
2009
2159
|
};
|
|
2010
2160
|
/**
|
|
2011
|
-
*
|
|
2161
|
+
* McpToolConfig
|
|
2012
2162
|
*/
|
|
2013
|
-
export type
|
|
2163
|
+
export type McpToolConfig = {
|
|
2014
2164
|
/**
|
|
2015
2165
|
* Url
|
|
2016
2166
|
*/
|
|
@@ -2021,7 +2171,23 @@ export type McpTool = {
|
|
|
2021
2171
|
headers?: {
|
|
2022
2172
|
[key: string]: string;
|
|
2023
2173
|
} | null;
|
|
2174
|
+
/**
|
|
2175
|
+
* Transport
|
|
2176
|
+
*/
|
|
2177
|
+
transport?: string;
|
|
2178
|
+
/**
|
|
2179
|
+
* Media Support
|
|
2180
|
+
*/
|
|
2181
|
+
media_support?: Array<MediaOutputType> | null;
|
|
2182
|
+
/**
|
|
2183
|
+
* Auto Upload Media
|
|
2184
|
+
*/
|
|
2185
|
+
auto_upload_media?: boolean;
|
|
2024
2186
|
};
|
|
2187
|
+
/**
|
|
2188
|
+
* MediaOutputType
|
|
2189
|
+
*/
|
|
2190
|
+
export type MediaOutputType = "text" | "image" | "audio" | "json" | "binary";
|
|
2025
2191
|
/**
|
|
2026
2192
|
* Model
|
|
2027
2193
|
*/
|
|
@@ -2125,6 +2291,10 @@ export type RegistryAgentListResponse = {
|
|
|
2125
2291
|
* Description
|
|
2126
2292
|
*/
|
|
2127
2293
|
description: string;
|
|
2294
|
+
/**
|
|
2295
|
+
* Summary
|
|
2296
|
+
*/
|
|
2297
|
+
summary?: string | null;
|
|
2128
2298
|
/**
|
|
2129
2299
|
* Created At
|
|
2130
2300
|
*/
|
|
@@ -2424,6 +2594,14 @@ export type UpdateAgentHandlerParams = {
|
|
|
2424
2594
|
* Prompts
|
|
2425
2595
|
*/
|
|
2426
2596
|
prompts?: Array<ChatMessage> | null;
|
|
2597
|
+
/**
|
|
2598
|
+
* Triggers
|
|
2599
|
+
*/
|
|
2600
|
+
triggers?: Array<CreateAgentTriggerParams> | null;
|
|
2601
|
+
/**
|
|
2602
|
+
* Tools
|
|
2603
|
+
*/
|
|
2604
|
+
tools?: Array<CreateAgentToolParams> | null;
|
|
2427
2605
|
};
|
|
2428
2606
|
/**
|
|
2429
2607
|
* UpdateAgentToolParams
|
|
@@ -2439,8 +2617,12 @@ export type UpdateAgentToolParams = {
|
|
|
2439
2617
|
data?: (({
|
|
2440
2618
|
type: "agent";
|
|
2441
2619
|
} & AgentToolDataAgent) | ({
|
|
2620
|
+
type: "builtin";
|
|
2621
|
+
} & AgentToolDataBuiltin) | ({
|
|
2442
2622
|
type: "mcp";
|
|
2443
|
-
} & AgentToolDataMcp)
|
|
2623
|
+
} & AgentToolDataMcp) | ({
|
|
2624
|
+
type: "api";
|
|
2625
|
+
} & AgentToolDataApi)) | null;
|
|
2444
2626
|
/**
|
|
2445
2627
|
* Description
|
|
2446
2628
|
*/
|
|
@@ -3798,6 +3980,6 @@ export type GetRegistryAgentsResponses = {
|
|
|
3798
3980
|
};
|
|
3799
3981
|
export type GetRegistryAgentsResponse = GetRegistryAgentsResponses[keyof GetRegistryAgentsResponses];
|
|
3800
3982
|
export type ClientOptions = {
|
|
3801
|
-
baseUrl: "
|
|
3983
|
+
baseUrl: "https://nebula-api.thirdweb-dev.com" | (string & {});
|
|
3802
3984
|
};
|
|
3803
3985
|
//# sourceMappingURL=types.gen.d.ts.map
|