agentstack-sdk 0.6.1 → 0.6.2-rc2
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/README.md +36 -29
- package/dist/api.cjs +1994 -2
- package/dist/api.d.cts +29 -0
- package/dist/api.d.ts +25 -1
- package/dist/api.js +1801 -2
- package/dist/core-DcGxYeok.d.ts +1238 -0
- package/dist/core-XN6gWSAb.d.cts +1238 -0
- package/dist/core.cjs +1773 -2
- package/dist/core.d.cts +7 -0
- package/dist/core.d.ts +7 -5
- package/dist/core.js +1725 -2
- package/dist/extensions.cjs +798 -2
- package/dist/extensions.d.cts +244 -0
- package/dist/extensions.d.ts +240 -1
- package/dist/extensions.js +652 -2
- package/dist/index.cjs +3142 -2
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -7
- package/dist/index.js +2781 -2
- package/dist/index.umd.js +16509 -2
- package/dist/schemas-Dy3P_eAt.d.cts +57 -0
- package/dist/schemas-Dy3P_eAt.d.ts +57 -0
- package/dist/server.cjs +2762 -0
- package/dist/server.d.cts +244 -0
- package/dist/server.d.ts +244 -0
- package/dist/server.js +2716 -0
- package/dist/types-B5B3b0V2.d.cts +396 -0
- package/dist/types-B5B3b0V2.d.ts +396 -0
- package/dist/types-CmEs5_Ag.d.cts +3522 -0
- package/dist/types-DJm5-rZZ.d.ts +3522 -0
- package/dist/types-DvLt-XuC.d.ts +866 -0
- package/dist/types-E26YDM19.d.cts +866 -0
- package/dist/types-MfIzGgpV.d.cts +43 -0
- package/dist/types-MfIzGgpV.d.ts +43 -0
- package/package.json +36 -21
- package/src/client/a2a/extensions/auth/oauth/index.ts +6 -6
- package/src/client/a2a/extensions/auth/secrets/index.ts +6 -6
- package/src/client/a2a/extensions/interactions/approval/index.ts +7 -7
- package/src/client/a2a/extensions/services/embedding/index.ts +7 -3
- package/src/client/a2a/extensions/services/form/index.ts +3 -3
- package/src/client/a2a/extensions/services/llm/index.ts +3 -3
- package/src/client/a2a/extensions/services/mcp/index.ts +3 -3
- package/src/client/a2a/extensions/services/platform-api/index.ts +2 -2
- package/src/client/a2a/extensions/ui/agent-detail/index.ts +4 -4
- package/src/client/a2a/extensions/ui/canvas/index.ts +4 -4
- package/src/client/a2a/extensions/ui/citation/index.ts +4 -4
- package/src/client/a2a/extensions/ui/error/index.ts +4 -4
- package/src/client/a2a/extensions/ui/form-request/index.ts +4 -4
- package/src/client/a2a/extensions/ui/settings/index.ts +7 -3
- package/src/client/a2a/extensions/ui/trajectory/index.ts +4 -4
- package/src/client/core/extensions/types.ts +8 -1
- package/src/client/core/handle-task-status-update.ts +10 -3
- package/src/client/core/index.ts +1 -0
- package/src/client/core/utils/extract-text-from-message.ts +15 -0
- package/src/examples/hello-world.ts +34 -0
- package/src/experimental/server/a2a/extensions/agent-detail/index.ts +35 -0
- package/src/experimental/server/a2a/extensions/agent-detail/types.ts +10 -0
- package/src/experimental/server/a2a/extensions/index.ts +11 -0
- package/src/experimental/server/a2a/extensions/llm/index.ts +70 -0
- package/src/experimental/server/a2a/extensions/llm/types.ts +16 -0
- package/src/experimental/server/a2a/extensions/platform-self-registration/index.ts +34 -0
- package/src/experimental/server/a2a/extensions/platform-self-registration/types.ts +10 -0
- package/src/experimental/server/a2a/helpers.ts +95 -0
- package/{dist/client/a2a/index.d.ts → src/experimental/server/a2a/index.ts} +1 -1
- package/src/experimental/server/a2a/utils.ts +43 -0
- package/src/experimental/server/core/config/index.ts +17 -0
- package/src/experimental/server/core/config/schemas.ts +15 -0
- package/src/experimental/server/core/config/types.ts +10 -0
- package/src/experimental/server/core/context/index.ts +18 -0
- package/src/experimental/server/core/extensions/types.ts +24 -0
- package/{dist/client/a2a/protocol/index.d.ts → src/experimental/server/core/index.ts} +4 -0
- package/{dist/client/a2a/protocol/tests.d.ts → src/experimental/server/core/schemas.ts} +2 -1
- package/src/experimental/server/core/server/autoregistration.ts +142 -0
- package/src/experimental/server/core/server/executor.ts +284 -0
- package/src/experimental/server/core/server/helpers.ts +12 -0
- package/src/experimental/server/core/server/index.ts +166 -0
- package/src/experimental/server/core/server/types.ts +58 -0
- package/src/experimental/server/core/types.ts +8 -0
- package/src/experimental/server/core/utils.ts +59 -0
- package/{dist/client/api/core/errors/index.d.ts → src/server.ts} +3 -2
- package/dist/api.cjs.map +0 -1
- package/dist/api.js.map +0 -1
- package/dist/api.umd.js +0 -2
- package/dist/api.umd.js.map +0 -1
- package/dist/client/a2a/extensions/auth/oauth/index.d.ts +0 -10
- package/dist/client/a2a/extensions/auth/oauth/schemas.d.ts +0 -32
- package/dist/client/a2a/extensions/auth/oauth/types.d.ts +0 -13
- package/dist/client/a2a/extensions/auth/secrets/index.d.ts +0 -10
- package/dist/client/a2a/extensions/auth/secrets/schemas.d.ts +0 -23
- package/dist/client/a2a/extensions/auth/secrets/types.d.ts +0 -10
- package/dist/client/a2a/extensions/common/form/schemas.d.ts +0 -290
- package/dist/client/a2a/extensions/common/form/types.d.ts +0 -24
- package/dist/client/a2a/extensions/index.d.ts +0 -21
- package/dist/client/a2a/extensions/interactions/approval/index.d.ts +0 -10
- package/dist/client/a2a/extensions/interactions/approval/schemas.d.ts +0 -43
- package/dist/client/a2a/extensions/interactions/approval/types.d.ts +0 -14
- package/dist/client/a2a/extensions/schemas.d.ts +0 -19
- package/dist/client/a2a/extensions/services/embedding/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/embedding/schemas.d.ts +0 -29
- package/dist/client/a2a/extensions/services/embedding/types.d.ts +0 -10
- package/dist/client/a2a/extensions/services/form/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/form/schemas.d.ts +0 -97
- package/dist/client/a2a/extensions/services/form/types.d.ts +0 -8
- package/dist/client/a2a/extensions/services/llm/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/llm/schemas.d.ts +0 -29
- package/dist/client/a2a/extensions/services/llm/types.d.ts +0 -10
- package/dist/client/a2a/extensions/services/mcp/index.d.ts +0 -9
- package/dist/client/a2a/extensions/services/mcp/schemas.d.ts +0 -35
- package/dist/client/a2a/extensions/services/mcp/types.d.ts +0 -14
- package/dist/client/a2a/extensions/services/platform-api/index.d.ts +0 -11
- package/dist/client/a2a/extensions/services/platform-api/schemas.d.ts +0 -10
- package/dist/client/a2a/extensions/services/platform-api/types.d.ts +0 -7
- package/dist/client/a2a/extensions/types.d.ts +0 -19
- package/dist/client/a2a/extensions/ui/agent-detail/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/agent-detail/schemas.d.ts +0 -41
- package/dist/client/a2a/extensions/ui/agent-detail/types.d.ts +0 -13
- package/dist/client/a2a/extensions/ui/canvas/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/canvas/schemas.d.ts +0 -11
- package/dist/client/a2a/extensions/ui/canvas/types.d.ts +0 -7
- package/dist/client/a2a/extensions/ui/citation/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/citation/schemas.d.ts +0 -21
- package/dist/client/a2a/extensions/ui/citation/types.d.ts +0 -8
- package/dist/client/a2a/extensions/ui/error/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/error/schemas.d.ts +0 -30
- package/dist/client/a2a/extensions/ui/error/types.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/form-request/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/settings/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/settings/schemas.d.ts +0 -113
- package/dist/client/a2a/extensions/ui/settings/types.d.ts +0 -18
- package/dist/client/a2a/extensions/ui/trajectory/index.d.ts +0 -9
- package/dist/client/a2a/extensions/ui/trajectory/schemas.d.ts +0 -10
- package/dist/client/a2a/extensions/ui/trajectory/types.d.ts +0 -7
- package/dist/client/a2a/protocol/schemas.d.ts +0 -988
- package/dist/client/a2a/protocol/types.d.ts +0 -52
- package/dist/client/a2a/protocol/utils.d.ts +0 -6
- package/dist/client/api/common/schemas.d.ts +0 -30
- package/dist/client/api/common/types.d.ts +0 -18
- package/dist/client/api/configuration/api.d.ts +0 -22
- package/dist/client/api/configuration/schemas.d.ts +0 -31
- package/dist/client/api/configuration/types.d.ts +0 -11
- package/dist/client/api/connectors/api.d.ts +0 -78
- package/dist/client/api/connectors/schemas.d.ts +0 -114
- package/dist/client/api/connectors/types.d.ts +0 -28
- package/dist/client/api/contexts/api.d.ts +0 -133
- package/dist/client/api/contexts/schemas.d.ts +0 -359
- package/dist/client/api/contexts/types.d.ts +0 -34
- package/dist/client/api/core/client.d.ts +0 -1273
- package/dist/client/api/core/errors/types.d.ts +0 -36
- package/dist/client/api/core/errors/utils.d.ts +0 -23
- package/dist/client/api/core/index.d.ts +0 -7
- package/dist/client/api/core/schemas.d.ts +0 -17
- package/dist/client/api/core/types.d.ts +0 -45
- package/dist/client/api/core/utils.d.ts +0 -23
- package/dist/client/api/files/api.d.ts +0 -32
- package/dist/client/api/files/schemas.d.ts +0 -61
- package/dist/client/api/files/types.d.ts +0 -19
- package/dist/client/api/index.d.ts +0 -7
- package/dist/client/api/model-providers/api.d.ts +0 -50
- package/dist/client/api/model-providers/schemas.d.ts +0 -80
- package/dist/client/api/model-providers/types.d.ts +0 -44
- package/dist/client/api/provider-builds/api.d.ts +0 -143
- package/dist/client/api/provider-builds/schemas.d.ts +0 -250
- package/dist/client/api/provider-builds/types.d.ts +0 -31
- package/dist/client/api/providers/api.d.ts +0 -847
- package/dist/client/api/providers/schemas.d.ts +0 -1335
- package/dist/client/api/providers/types.d.ts +0 -45
- package/dist/client/api/schemas.d.ts +0 -15
- package/dist/client/api/types.d.ts +0 -15
- package/dist/client/api/user-feedback/api.d.ts +0 -9
- package/dist/client/api/user-feedback/schemas.d.ts +0 -15
- package/dist/client/api/user-feedback/types.d.ts +0 -8
- package/dist/client/api/users/api.d.ts +0 -13
- package/dist/client/api/users/schemas.d.ts +0 -20
- package/dist/client/api/users/types.d.ts +0 -14
- package/dist/client/api/variables/api.d.ts +0 -12
- package/dist/client/api/variables/schemas.d.ts +0 -13
- package/dist/client/api/variables/types.d.ts +0 -10
- package/dist/client/core/create-authenticated-fetch.d.ts +0 -5
- package/dist/client/core/extensions/extract.d.ts +0 -8
- package/dist/client/core/extensions/fulfill.d.ts +0 -8
- package/dist/client/core/extensions/resolve-user-metadata.d.ts +0 -6
- package/dist/client/core/extensions/types.d.ts +0 -68
- package/dist/client/core/fulfillment-resolvers/build-llm-extension-fulfillment-resolver.d.ts +0 -8
- package/dist/client/core/handle-agent-card.d.ts +0 -128
- package/dist/client/core/handle-task-status-update.d.ts +0 -7
- package/dist/client/core/index.d.ts +0 -14
- package/dist/client/core/utils/build-message-builder.d.ts +0 -9
- package/dist/client/core/utils/get-agent-card-path.d.ts +0 -5
- package/dist/core.cjs.map +0 -1
- package/dist/core.js.map +0 -1
- package/dist/core.umd.js +0 -2
- package/dist/core.umd.js.map +0 -1
- package/dist/extensions.cjs.map +0 -1
- package/dist/extensions.js.map +0 -1
- package/dist/extensions.umd.js +0 -2
- package/dist/extensions.umd.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.umd.js.map +0 -1
|
@@ -1,1273 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
3
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type z from 'zod';
|
|
6
|
-
import type { ApiResult } from './types';
|
|
7
|
-
export declare const buildApiClient: ({ baseUrl, fetch: fetchFn, }?: {
|
|
8
|
-
baseUrl: string;
|
|
9
|
-
fetch?: typeof globalThis.fetch;
|
|
10
|
-
}) => {
|
|
11
|
-
listVariables: () => Promise<ApiResult<{
|
|
12
|
-
variables: Record<string, string>;
|
|
13
|
-
}>>;
|
|
14
|
-
updateVariables: ({ ...body }: import("..").UpdateVariablesRequest) => Promise<ApiResult<null>>;
|
|
15
|
-
readUser: () => Promise<ApiResult<{
|
|
16
|
-
id: string;
|
|
17
|
-
role: import("..").UserRole;
|
|
18
|
-
email: string;
|
|
19
|
-
created_at: string;
|
|
20
|
-
}>>;
|
|
21
|
-
createUserFeedback: ({ ...body }: import("..").CreateUserFeedbackRequest) => Promise<ApiResult<null>>;
|
|
22
|
-
listProviders: ({ query }: import("..").ListProvidersRequest) => Promise<ApiResult<{
|
|
23
|
-
total_count: number;
|
|
24
|
-
has_more: boolean;
|
|
25
|
-
next_page_token: string | null;
|
|
26
|
-
items: {
|
|
27
|
-
id: string;
|
|
28
|
-
source: string;
|
|
29
|
-
agent_card: {
|
|
30
|
-
url: string;
|
|
31
|
-
name: string;
|
|
32
|
-
description: string;
|
|
33
|
-
version: string;
|
|
34
|
-
protocolVersion: string;
|
|
35
|
-
capabilities: {
|
|
36
|
-
extensions?: {
|
|
37
|
-
uri: string;
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
required?: boolean | undefined;
|
|
40
|
-
params?: Record<string, unknown> | undefined;
|
|
41
|
-
}[] | undefined;
|
|
42
|
-
pushNotifications?: boolean | undefined;
|
|
43
|
-
stateTransitionHistory?: boolean | undefined;
|
|
44
|
-
streaming?: boolean | undefined;
|
|
45
|
-
};
|
|
46
|
-
defaultInputModes: string[];
|
|
47
|
-
defaultOutputModes: string[];
|
|
48
|
-
skills: {
|
|
49
|
-
id: string;
|
|
50
|
-
name: string;
|
|
51
|
-
description: string;
|
|
52
|
-
tags: string[];
|
|
53
|
-
inputModes?: string[] | undefined;
|
|
54
|
-
outputModes?: string[] | undefined;
|
|
55
|
-
examples?: string[] | undefined;
|
|
56
|
-
security?: Record<string, string[]>[] | undefined;
|
|
57
|
-
}[];
|
|
58
|
-
iconUrl?: string | undefined;
|
|
59
|
-
documentationUrl?: string | undefined;
|
|
60
|
-
preferredTransport?: string | undefined;
|
|
61
|
-
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
62
|
-
additionalInterfaces?: {
|
|
63
|
-
transport: string;
|
|
64
|
-
url: string;
|
|
65
|
-
}[] | undefined;
|
|
66
|
-
provider?: {
|
|
67
|
-
url: string;
|
|
68
|
-
organization: string;
|
|
69
|
-
} | undefined;
|
|
70
|
-
signatures?: {
|
|
71
|
-
signature: string;
|
|
72
|
-
protected: string;
|
|
73
|
-
header?: Record<string, unknown> | undefined;
|
|
74
|
-
}[] | undefined;
|
|
75
|
-
security?: Record<string, string[]>[] | undefined;
|
|
76
|
-
securitySchemes?: Record<string, {
|
|
77
|
-
type: "apiKey";
|
|
78
|
-
name: string;
|
|
79
|
-
in: "query" | "header" | "cookie";
|
|
80
|
-
description?: string | undefined;
|
|
81
|
-
} | {
|
|
82
|
-
type: "http";
|
|
83
|
-
scheme: string;
|
|
84
|
-
description?: string | undefined;
|
|
85
|
-
bearerFormat?: string | undefined;
|
|
86
|
-
} | {
|
|
87
|
-
type: "oauth2";
|
|
88
|
-
flows: {
|
|
89
|
-
authorizationCode?: {
|
|
90
|
-
authorizationUrl: string;
|
|
91
|
-
tokenUrl: string;
|
|
92
|
-
scopes: Record<string, string>;
|
|
93
|
-
refreshUrl?: string | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
clientCredentials?: {
|
|
96
|
-
tokenUrl: string;
|
|
97
|
-
scopes: Record<string, string>;
|
|
98
|
-
refreshUrl?: string | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
implicit?: {
|
|
101
|
-
authorizationUrl: string;
|
|
102
|
-
scopes: Record<string, string>;
|
|
103
|
-
refreshUrl?: string | undefined;
|
|
104
|
-
} | undefined;
|
|
105
|
-
password?: {
|
|
106
|
-
tokenUrl: string;
|
|
107
|
-
scopes: Record<string, string>;
|
|
108
|
-
refreshUrl?: string | undefined;
|
|
109
|
-
} | undefined;
|
|
110
|
-
};
|
|
111
|
-
description?: string | undefined;
|
|
112
|
-
oauth2MetadataUrl?: string | undefined;
|
|
113
|
-
} | {
|
|
114
|
-
type: "openIdConnect";
|
|
115
|
-
openIdConnectUrl: string;
|
|
116
|
-
description?: string | undefined;
|
|
117
|
-
} | {
|
|
118
|
-
type: "mutualTLS";
|
|
119
|
-
description?: string | undefined;
|
|
120
|
-
}> | undefined;
|
|
121
|
-
};
|
|
122
|
-
state: import("..").ProviderStatus | import("..").ProviderUnmanagedStatus;
|
|
123
|
-
origin: string;
|
|
124
|
-
created_at: string;
|
|
125
|
-
created_by: string;
|
|
126
|
-
updated_at: string;
|
|
127
|
-
last_active_at: string;
|
|
128
|
-
auto_stop_timeout: string;
|
|
129
|
-
managed: boolean;
|
|
130
|
-
type: import("..").ProviderType;
|
|
131
|
-
env: {
|
|
132
|
-
name: string;
|
|
133
|
-
required: boolean;
|
|
134
|
-
description?: string | null | undefined;
|
|
135
|
-
}[];
|
|
136
|
-
registry?: string | null | undefined;
|
|
137
|
-
last_error?: {
|
|
138
|
-
message: string;
|
|
139
|
-
} | null | undefined;
|
|
140
|
-
missing_configuration?: {
|
|
141
|
-
name: string;
|
|
142
|
-
required: boolean;
|
|
143
|
-
description?: string | null | undefined;
|
|
144
|
-
}[] | undefined;
|
|
145
|
-
version_info?: {
|
|
146
|
-
docker?: {
|
|
147
|
-
registry: string;
|
|
148
|
-
repository: string;
|
|
149
|
-
tag: string;
|
|
150
|
-
digest: string;
|
|
151
|
-
image_id: string;
|
|
152
|
-
} | null | undefined;
|
|
153
|
-
github?: {
|
|
154
|
-
host: string;
|
|
155
|
-
org: string;
|
|
156
|
-
repo: string;
|
|
157
|
-
version: string;
|
|
158
|
-
version_type: import("..").GitHubVersionType;
|
|
159
|
-
commit_hash: string;
|
|
160
|
-
path?: string | null | undefined;
|
|
161
|
-
} | null | undefined;
|
|
162
|
-
} | undefined;
|
|
163
|
-
}[];
|
|
164
|
-
}>>;
|
|
165
|
-
createProvider: ({ ...body }: import("..").CreateProviderRequest) => Promise<ApiResult<{
|
|
166
|
-
id: string;
|
|
167
|
-
source: string;
|
|
168
|
-
agent_card: {
|
|
169
|
-
url: string;
|
|
170
|
-
name: string;
|
|
171
|
-
description: string;
|
|
172
|
-
version: string;
|
|
173
|
-
protocolVersion: string;
|
|
174
|
-
capabilities: {
|
|
175
|
-
extensions?: {
|
|
176
|
-
uri: string;
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
required?: boolean | undefined;
|
|
179
|
-
params?: Record<string, unknown> | undefined;
|
|
180
|
-
}[] | undefined;
|
|
181
|
-
pushNotifications?: boolean | undefined;
|
|
182
|
-
stateTransitionHistory?: boolean | undefined;
|
|
183
|
-
streaming?: boolean | undefined;
|
|
184
|
-
};
|
|
185
|
-
defaultInputModes: string[];
|
|
186
|
-
defaultOutputModes: string[];
|
|
187
|
-
skills: {
|
|
188
|
-
id: string;
|
|
189
|
-
name: string;
|
|
190
|
-
description: string;
|
|
191
|
-
tags: string[];
|
|
192
|
-
inputModes?: string[] | undefined;
|
|
193
|
-
outputModes?: string[] | undefined;
|
|
194
|
-
examples?: string[] | undefined;
|
|
195
|
-
security?: Record<string, string[]>[] | undefined;
|
|
196
|
-
}[];
|
|
197
|
-
iconUrl?: string | undefined;
|
|
198
|
-
documentationUrl?: string | undefined;
|
|
199
|
-
preferredTransport?: string | undefined;
|
|
200
|
-
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
201
|
-
additionalInterfaces?: {
|
|
202
|
-
transport: string;
|
|
203
|
-
url: string;
|
|
204
|
-
}[] | undefined;
|
|
205
|
-
provider?: {
|
|
206
|
-
url: string;
|
|
207
|
-
organization: string;
|
|
208
|
-
} | undefined;
|
|
209
|
-
signatures?: {
|
|
210
|
-
signature: string;
|
|
211
|
-
protected: string;
|
|
212
|
-
header?: Record<string, unknown> | undefined;
|
|
213
|
-
}[] | undefined;
|
|
214
|
-
security?: Record<string, string[]>[] | undefined;
|
|
215
|
-
securitySchemes?: Record<string, {
|
|
216
|
-
type: "apiKey";
|
|
217
|
-
name: string;
|
|
218
|
-
in: "query" | "header" | "cookie";
|
|
219
|
-
description?: string | undefined;
|
|
220
|
-
} | {
|
|
221
|
-
type: "http";
|
|
222
|
-
scheme: string;
|
|
223
|
-
description?: string | undefined;
|
|
224
|
-
bearerFormat?: string | undefined;
|
|
225
|
-
} | {
|
|
226
|
-
type: "oauth2";
|
|
227
|
-
flows: {
|
|
228
|
-
authorizationCode?: {
|
|
229
|
-
authorizationUrl: string;
|
|
230
|
-
tokenUrl: string;
|
|
231
|
-
scopes: Record<string, string>;
|
|
232
|
-
refreshUrl?: string | undefined;
|
|
233
|
-
} | undefined;
|
|
234
|
-
clientCredentials?: {
|
|
235
|
-
tokenUrl: string;
|
|
236
|
-
scopes: Record<string, string>;
|
|
237
|
-
refreshUrl?: string | undefined;
|
|
238
|
-
} | undefined;
|
|
239
|
-
implicit?: {
|
|
240
|
-
authorizationUrl: string;
|
|
241
|
-
scopes: Record<string, string>;
|
|
242
|
-
refreshUrl?: string | undefined;
|
|
243
|
-
} | undefined;
|
|
244
|
-
password?: {
|
|
245
|
-
tokenUrl: string;
|
|
246
|
-
scopes: Record<string, string>;
|
|
247
|
-
refreshUrl?: string | undefined;
|
|
248
|
-
} | undefined;
|
|
249
|
-
};
|
|
250
|
-
description?: string | undefined;
|
|
251
|
-
oauth2MetadataUrl?: string | undefined;
|
|
252
|
-
} | {
|
|
253
|
-
type: "openIdConnect";
|
|
254
|
-
openIdConnectUrl: string;
|
|
255
|
-
description?: string | undefined;
|
|
256
|
-
} | {
|
|
257
|
-
type: "mutualTLS";
|
|
258
|
-
description?: string | undefined;
|
|
259
|
-
}> | undefined;
|
|
260
|
-
};
|
|
261
|
-
state: import("..").ProviderStatus | import("..").ProviderUnmanagedStatus;
|
|
262
|
-
origin: string;
|
|
263
|
-
created_at: string;
|
|
264
|
-
created_by: string;
|
|
265
|
-
updated_at: string;
|
|
266
|
-
last_active_at: string;
|
|
267
|
-
auto_stop_timeout: string;
|
|
268
|
-
managed: boolean;
|
|
269
|
-
type: import("..").ProviderType;
|
|
270
|
-
env: {
|
|
271
|
-
name: string;
|
|
272
|
-
required: boolean;
|
|
273
|
-
description?: string | null | undefined;
|
|
274
|
-
}[];
|
|
275
|
-
registry?: string | null | undefined;
|
|
276
|
-
last_error?: {
|
|
277
|
-
message: string;
|
|
278
|
-
} | null | undefined;
|
|
279
|
-
missing_configuration?: {
|
|
280
|
-
name: string;
|
|
281
|
-
required: boolean;
|
|
282
|
-
description?: string | null | undefined;
|
|
283
|
-
}[] | undefined;
|
|
284
|
-
version_info?: {
|
|
285
|
-
docker?: {
|
|
286
|
-
registry: string;
|
|
287
|
-
repository: string;
|
|
288
|
-
tag: string;
|
|
289
|
-
digest: string;
|
|
290
|
-
image_id: string;
|
|
291
|
-
} | null | undefined;
|
|
292
|
-
github?: {
|
|
293
|
-
host: string;
|
|
294
|
-
org: string;
|
|
295
|
-
repo: string;
|
|
296
|
-
version: string;
|
|
297
|
-
version_type: import("..").GitHubVersionType;
|
|
298
|
-
commit_hash: string;
|
|
299
|
-
path?: string | null | undefined;
|
|
300
|
-
} | null | undefined;
|
|
301
|
-
} | undefined;
|
|
302
|
-
}>>;
|
|
303
|
-
readProvider: ({ id }: import("..").ReadProviderRequest) => Promise<ApiResult<{
|
|
304
|
-
id: string;
|
|
305
|
-
source: string;
|
|
306
|
-
agent_card: {
|
|
307
|
-
url: string;
|
|
308
|
-
name: string;
|
|
309
|
-
description: string;
|
|
310
|
-
version: string;
|
|
311
|
-
protocolVersion: string;
|
|
312
|
-
capabilities: {
|
|
313
|
-
extensions?: {
|
|
314
|
-
uri: string;
|
|
315
|
-
description?: string | undefined;
|
|
316
|
-
required?: boolean | undefined;
|
|
317
|
-
params?: Record<string, unknown> | undefined;
|
|
318
|
-
}[] | undefined;
|
|
319
|
-
pushNotifications?: boolean | undefined;
|
|
320
|
-
stateTransitionHistory?: boolean | undefined;
|
|
321
|
-
streaming?: boolean | undefined;
|
|
322
|
-
};
|
|
323
|
-
defaultInputModes: string[];
|
|
324
|
-
defaultOutputModes: string[];
|
|
325
|
-
skills: {
|
|
326
|
-
id: string;
|
|
327
|
-
name: string;
|
|
328
|
-
description: string;
|
|
329
|
-
tags: string[];
|
|
330
|
-
inputModes?: string[] | undefined;
|
|
331
|
-
outputModes?: string[] | undefined;
|
|
332
|
-
examples?: string[] | undefined;
|
|
333
|
-
security?: Record<string, string[]>[] | undefined;
|
|
334
|
-
}[];
|
|
335
|
-
iconUrl?: string | undefined;
|
|
336
|
-
documentationUrl?: string | undefined;
|
|
337
|
-
preferredTransport?: string | undefined;
|
|
338
|
-
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
339
|
-
additionalInterfaces?: {
|
|
340
|
-
transport: string;
|
|
341
|
-
url: string;
|
|
342
|
-
}[] | undefined;
|
|
343
|
-
provider?: {
|
|
344
|
-
url: string;
|
|
345
|
-
organization: string;
|
|
346
|
-
} | undefined;
|
|
347
|
-
signatures?: {
|
|
348
|
-
signature: string;
|
|
349
|
-
protected: string;
|
|
350
|
-
header?: Record<string, unknown> | undefined;
|
|
351
|
-
}[] | undefined;
|
|
352
|
-
security?: Record<string, string[]>[] | undefined;
|
|
353
|
-
securitySchemes?: Record<string, {
|
|
354
|
-
type: "apiKey";
|
|
355
|
-
name: string;
|
|
356
|
-
in: "query" | "header" | "cookie";
|
|
357
|
-
description?: string | undefined;
|
|
358
|
-
} | {
|
|
359
|
-
type: "http";
|
|
360
|
-
scheme: string;
|
|
361
|
-
description?: string | undefined;
|
|
362
|
-
bearerFormat?: string | undefined;
|
|
363
|
-
} | {
|
|
364
|
-
type: "oauth2";
|
|
365
|
-
flows: {
|
|
366
|
-
authorizationCode?: {
|
|
367
|
-
authorizationUrl: string;
|
|
368
|
-
tokenUrl: string;
|
|
369
|
-
scopes: Record<string, string>;
|
|
370
|
-
refreshUrl?: string | undefined;
|
|
371
|
-
} | undefined;
|
|
372
|
-
clientCredentials?: {
|
|
373
|
-
tokenUrl: string;
|
|
374
|
-
scopes: Record<string, string>;
|
|
375
|
-
refreshUrl?: string | undefined;
|
|
376
|
-
} | undefined;
|
|
377
|
-
implicit?: {
|
|
378
|
-
authorizationUrl: string;
|
|
379
|
-
scopes: Record<string, string>;
|
|
380
|
-
refreshUrl?: string | undefined;
|
|
381
|
-
} | undefined;
|
|
382
|
-
password?: {
|
|
383
|
-
tokenUrl: string;
|
|
384
|
-
scopes: Record<string, string>;
|
|
385
|
-
refreshUrl?: string | undefined;
|
|
386
|
-
} | undefined;
|
|
387
|
-
};
|
|
388
|
-
description?: string | undefined;
|
|
389
|
-
oauth2MetadataUrl?: string | undefined;
|
|
390
|
-
} | {
|
|
391
|
-
type: "openIdConnect";
|
|
392
|
-
openIdConnectUrl: string;
|
|
393
|
-
description?: string | undefined;
|
|
394
|
-
} | {
|
|
395
|
-
type: "mutualTLS";
|
|
396
|
-
description?: string | undefined;
|
|
397
|
-
}> | undefined;
|
|
398
|
-
};
|
|
399
|
-
state: import("..").ProviderStatus | import("..").ProviderUnmanagedStatus;
|
|
400
|
-
origin: string;
|
|
401
|
-
created_at: string;
|
|
402
|
-
created_by: string;
|
|
403
|
-
updated_at: string;
|
|
404
|
-
last_active_at: string;
|
|
405
|
-
auto_stop_timeout: string;
|
|
406
|
-
managed: boolean;
|
|
407
|
-
type: import("..").ProviderType;
|
|
408
|
-
env: {
|
|
409
|
-
name: string;
|
|
410
|
-
required: boolean;
|
|
411
|
-
description?: string | null | undefined;
|
|
412
|
-
}[];
|
|
413
|
-
registry?: string | null | undefined;
|
|
414
|
-
last_error?: {
|
|
415
|
-
message: string;
|
|
416
|
-
} | null | undefined;
|
|
417
|
-
missing_configuration?: {
|
|
418
|
-
name: string;
|
|
419
|
-
required: boolean;
|
|
420
|
-
description?: string | null | undefined;
|
|
421
|
-
}[] | undefined;
|
|
422
|
-
version_info?: {
|
|
423
|
-
docker?: {
|
|
424
|
-
registry: string;
|
|
425
|
-
repository: string;
|
|
426
|
-
tag: string;
|
|
427
|
-
digest: string;
|
|
428
|
-
image_id: string;
|
|
429
|
-
} | null | undefined;
|
|
430
|
-
github?: {
|
|
431
|
-
host: string;
|
|
432
|
-
org: string;
|
|
433
|
-
repo: string;
|
|
434
|
-
version: string;
|
|
435
|
-
version_type: import("..").GitHubVersionType;
|
|
436
|
-
commit_hash: string;
|
|
437
|
-
path?: string | null | undefined;
|
|
438
|
-
} | null | undefined;
|
|
439
|
-
} | undefined;
|
|
440
|
-
}>>;
|
|
441
|
-
deleteProvider: ({ id }: import("..").DeleteProviderRequest) => Promise<ApiResult<null>>;
|
|
442
|
-
patchProvider: ({ id, ...body }: import("..").PatchProviderRequest) => Promise<ApiResult<{
|
|
443
|
-
id: string;
|
|
444
|
-
source: string;
|
|
445
|
-
agent_card: {
|
|
446
|
-
url: string;
|
|
447
|
-
name: string;
|
|
448
|
-
description: string;
|
|
449
|
-
version: string;
|
|
450
|
-
protocolVersion: string;
|
|
451
|
-
capabilities: {
|
|
452
|
-
extensions?: {
|
|
453
|
-
uri: string;
|
|
454
|
-
description?: string | undefined;
|
|
455
|
-
required?: boolean | undefined;
|
|
456
|
-
params?: Record<string, unknown> | undefined;
|
|
457
|
-
}[] | undefined;
|
|
458
|
-
pushNotifications?: boolean | undefined;
|
|
459
|
-
stateTransitionHistory?: boolean | undefined;
|
|
460
|
-
streaming?: boolean | undefined;
|
|
461
|
-
};
|
|
462
|
-
defaultInputModes: string[];
|
|
463
|
-
defaultOutputModes: string[];
|
|
464
|
-
skills: {
|
|
465
|
-
id: string;
|
|
466
|
-
name: string;
|
|
467
|
-
description: string;
|
|
468
|
-
tags: string[];
|
|
469
|
-
inputModes?: string[] | undefined;
|
|
470
|
-
outputModes?: string[] | undefined;
|
|
471
|
-
examples?: string[] | undefined;
|
|
472
|
-
security?: Record<string, string[]>[] | undefined;
|
|
473
|
-
}[];
|
|
474
|
-
iconUrl?: string | undefined;
|
|
475
|
-
documentationUrl?: string | undefined;
|
|
476
|
-
preferredTransport?: string | undefined;
|
|
477
|
-
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
478
|
-
additionalInterfaces?: {
|
|
479
|
-
transport: string;
|
|
480
|
-
url: string;
|
|
481
|
-
}[] | undefined;
|
|
482
|
-
provider?: {
|
|
483
|
-
url: string;
|
|
484
|
-
organization: string;
|
|
485
|
-
} | undefined;
|
|
486
|
-
signatures?: {
|
|
487
|
-
signature: string;
|
|
488
|
-
protected: string;
|
|
489
|
-
header?: Record<string, unknown> | undefined;
|
|
490
|
-
}[] | undefined;
|
|
491
|
-
security?: Record<string, string[]>[] | undefined;
|
|
492
|
-
securitySchemes?: Record<string, {
|
|
493
|
-
type: "apiKey";
|
|
494
|
-
name: string;
|
|
495
|
-
in: "query" | "header" | "cookie";
|
|
496
|
-
description?: string | undefined;
|
|
497
|
-
} | {
|
|
498
|
-
type: "http";
|
|
499
|
-
scheme: string;
|
|
500
|
-
description?: string | undefined;
|
|
501
|
-
bearerFormat?: string | undefined;
|
|
502
|
-
} | {
|
|
503
|
-
type: "oauth2";
|
|
504
|
-
flows: {
|
|
505
|
-
authorizationCode?: {
|
|
506
|
-
authorizationUrl: string;
|
|
507
|
-
tokenUrl: string;
|
|
508
|
-
scopes: Record<string, string>;
|
|
509
|
-
refreshUrl?: string | undefined;
|
|
510
|
-
} | undefined;
|
|
511
|
-
clientCredentials?: {
|
|
512
|
-
tokenUrl: string;
|
|
513
|
-
scopes: Record<string, string>;
|
|
514
|
-
refreshUrl?: string | undefined;
|
|
515
|
-
} | undefined;
|
|
516
|
-
implicit?: {
|
|
517
|
-
authorizationUrl: string;
|
|
518
|
-
scopes: Record<string, string>;
|
|
519
|
-
refreshUrl?: string | undefined;
|
|
520
|
-
} | undefined;
|
|
521
|
-
password?: {
|
|
522
|
-
tokenUrl: string;
|
|
523
|
-
scopes: Record<string, string>;
|
|
524
|
-
refreshUrl?: string | undefined;
|
|
525
|
-
} | undefined;
|
|
526
|
-
};
|
|
527
|
-
description?: string | undefined;
|
|
528
|
-
oauth2MetadataUrl?: string | undefined;
|
|
529
|
-
} | {
|
|
530
|
-
type: "openIdConnect";
|
|
531
|
-
openIdConnectUrl: string;
|
|
532
|
-
description?: string | undefined;
|
|
533
|
-
} | {
|
|
534
|
-
type: "mutualTLS";
|
|
535
|
-
description?: string | undefined;
|
|
536
|
-
}> | undefined;
|
|
537
|
-
};
|
|
538
|
-
state: import("..").ProviderStatus | import("..").ProviderUnmanagedStatus;
|
|
539
|
-
origin: string;
|
|
540
|
-
created_at: string;
|
|
541
|
-
created_by: string;
|
|
542
|
-
updated_at: string;
|
|
543
|
-
last_active_at: string;
|
|
544
|
-
auto_stop_timeout: string;
|
|
545
|
-
managed: boolean;
|
|
546
|
-
type: import("..").ProviderType;
|
|
547
|
-
env: {
|
|
548
|
-
name: string;
|
|
549
|
-
required: boolean;
|
|
550
|
-
description?: string | null | undefined;
|
|
551
|
-
}[];
|
|
552
|
-
registry?: string | null | undefined;
|
|
553
|
-
last_error?: {
|
|
554
|
-
message: string;
|
|
555
|
-
} | null | undefined;
|
|
556
|
-
missing_configuration?: {
|
|
557
|
-
name: string;
|
|
558
|
-
required: boolean;
|
|
559
|
-
description?: string | null | undefined;
|
|
560
|
-
}[] | undefined;
|
|
561
|
-
version_info?: {
|
|
562
|
-
docker?: {
|
|
563
|
-
registry: string;
|
|
564
|
-
repository: string;
|
|
565
|
-
tag: string;
|
|
566
|
-
digest: string;
|
|
567
|
-
image_id: string;
|
|
568
|
-
} | null | undefined;
|
|
569
|
-
github?: {
|
|
570
|
-
host: string;
|
|
571
|
-
org: string;
|
|
572
|
-
repo: string;
|
|
573
|
-
version: string;
|
|
574
|
-
version_type: import("..").GitHubVersionType;
|
|
575
|
-
commit_hash: string;
|
|
576
|
-
path?: string | null | undefined;
|
|
577
|
-
} | null | undefined;
|
|
578
|
-
} | undefined;
|
|
579
|
-
}>>;
|
|
580
|
-
readProviderLogs: ({ id }: import("..").ReadProviderLogsRequest) => Promise<ApiResult<ReadableStream<Uint8Array<ArrayBuffer>>>>;
|
|
581
|
-
listProviderVariables: ({ id }: import("..").ListProviderVariablesRequest) => Promise<ApiResult<{
|
|
582
|
-
variables: Record<string, string>;
|
|
583
|
-
}>>;
|
|
584
|
-
updateProviderVariables: ({ id, ...body }: import("..").UpdateProviderVariablesRequest) => Promise<ApiResult<null>>;
|
|
585
|
-
readProviderByLocation: ({ location }: import("..").ReadProviderByLocationRequest) => Promise<ApiResult<{
|
|
586
|
-
id: string;
|
|
587
|
-
source: string;
|
|
588
|
-
agent_card: {
|
|
589
|
-
url: string;
|
|
590
|
-
name: string;
|
|
591
|
-
description: string;
|
|
592
|
-
version: string;
|
|
593
|
-
protocolVersion: string;
|
|
594
|
-
capabilities: {
|
|
595
|
-
extensions?: {
|
|
596
|
-
uri: string;
|
|
597
|
-
description?: string | undefined;
|
|
598
|
-
required?: boolean | undefined;
|
|
599
|
-
params?: Record<string, unknown> | undefined;
|
|
600
|
-
}[] | undefined;
|
|
601
|
-
pushNotifications?: boolean | undefined;
|
|
602
|
-
stateTransitionHistory?: boolean | undefined;
|
|
603
|
-
streaming?: boolean | undefined;
|
|
604
|
-
};
|
|
605
|
-
defaultInputModes: string[];
|
|
606
|
-
defaultOutputModes: string[];
|
|
607
|
-
skills: {
|
|
608
|
-
id: string;
|
|
609
|
-
name: string;
|
|
610
|
-
description: string;
|
|
611
|
-
tags: string[];
|
|
612
|
-
inputModes?: string[] | undefined;
|
|
613
|
-
outputModes?: string[] | undefined;
|
|
614
|
-
examples?: string[] | undefined;
|
|
615
|
-
security?: Record<string, string[]>[] | undefined;
|
|
616
|
-
}[];
|
|
617
|
-
iconUrl?: string | undefined;
|
|
618
|
-
documentationUrl?: string | undefined;
|
|
619
|
-
preferredTransport?: string | undefined;
|
|
620
|
-
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
621
|
-
additionalInterfaces?: {
|
|
622
|
-
transport: string;
|
|
623
|
-
url: string;
|
|
624
|
-
}[] | undefined;
|
|
625
|
-
provider?: {
|
|
626
|
-
url: string;
|
|
627
|
-
organization: string;
|
|
628
|
-
} | undefined;
|
|
629
|
-
signatures?: {
|
|
630
|
-
signature: string;
|
|
631
|
-
protected: string;
|
|
632
|
-
header?: Record<string, unknown> | undefined;
|
|
633
|
-
}[] | undefined;
|
|
634
|
-
security?: Record<string, string[]>[] | undefined;
|
|
635
|
-
securitySchemes?: Record<string, {
|
|
636
|
-
type: "apiKey";
|
|
637
|
-
name: string;
|
|
638
|
-
in: "query" | "header" | "cookie";
|
|
639
|
-
description?: string | undefined;
|
|
640
|
-
} | {
|
|
641
|
-
type: "http";
|
|
642
|
-
scheme: string;
|
|
643
|
-
description?: string | undefined;
|
|
644
|
-
bearerFormat?: string | undefined;
|
|
645
|
-
} | {
|
|
646
|
-
type: "oauth2";
|
|
647
|
-
flows: {
|
|
648
|
-
authorizationCode?: {
|
|
649
|
-
authorizationUrl: string;
|
|
650
|
-
tokenUrl: string;
|
|
651
|
-
scopes: Record<string, string>;
|
|
652
|
-
refreshUrl?: string | undefined;
|
|
653
|
-
} | undefined;
|
|
654
|
-
clientCredentials?: {
|
|
655
|
-
tokenUrl: string;
|
|
656
|
-
scopes: Record<string, string>;
|
|
657
|
-
refreshUrl?: string | undefined;
|
|
658
|
-
} | undefined;
|
|
659
|
-
implicit?: {
|
|
660
|
-
authorizationUrl: string;
|
|
661
|
-
scopes: Record<string, string>;
|
|
662
|
-
refreshUrl?: string | undefined;
|
|
663
|
-
} | undefined;
|
|
664
|
-
password?: {
|
|
665
|
-
tokenUrl: string;
|
|
666
|
-
scopes: Record<string, string>;
|
|
667
|
-
refreshUrl?: string | undefined;
|
|
668
|
-
} | undefined;
|
|
669
|
-
};
|
|
670
|
-
description?: string | undefined;
|
|
671
|
-
oauth2MetadataUrl?: string | undefined;
|
|
672
|
-
} | {
|
|
673
|
-
type: "openIdConnect";
|
|
674
|
-
openIdConnectUrl: string;
|
|
675
|
-
description?: string | undefined;
|
|
676
|
-
} | {
|
|
677
|
-
type: "mutualTLS";
|
|
678
|
-
description?: string | undefined;
|
|
679
|
-
}> | undefined;
|
|
680
|
-
};
|
|
681
|
-
state: import("..").ProviderStatus | import("..").ProviderUnmanagedStatus;
|
|
682
|
-
origin: string;
|
|
683
|
-
created_at: string;
|
|
684
|
-
created_by: string;
|
|
685
|
-
updated_at: string;
|
|
686
|
-
last_active_at: string;
|
|
687
|
-
auto_stop_timeout: string;
|
|
688
|
-
managed: boolean;
|
|
689
|
-
type: import("..").ProviderType;
|
|
690
|
-
env: {
|
|
691
|
-
name: string;
|
|
692
|
-
required: boolean;
|
|
693
|
-
description?: string | null | undefined;
|
|
694
|
-
}[];
|
|
695
|
-
registry?: string | null | undefined;
|
|
696
|
-
last_error?: {
|
|
697
|
-
message: string;
|
|
698
|
-
} | null | undefined;
|
|
699
|
-
missing_configuration?: {
|
|
700
|
-
name: string;
|
|
701
|
-
required: boolean;
|
|
702
|
-
description?: string | null | undefined;
|
|
703
|
-
}[] | undefined;
|
|
704
|
-
version_info?: {
|
|
705
|
-
docker?: {
|
|
706
|
-
registry: string;
|
|
707
|
-
repository: string;
|
|
708
|
-
tag: string;
|
|
709
|
-
digest: string;
|
|
710
|
-
image_id: string;
|
|
711
|
-
} | null | undefined;
|
|
712
|
-
github?: {
|
|
713
|
-
host: string;
|
|
714
|
-
org: string;
|
|
715
|
-
repo: string;
|
|
716
|
-
version: string;
|
|
717
|
-
version_type: import("..").GitHubVersionType;
|
|
718
|
-
commit_hash: string;
|
|
719
|
-
path?: string | null | undefined;
|
|
720
|
-
} | null | undefined;
|
|
721
|
-
} | undefined;
|
|
722
|
-
}>>;
|
|
723
|
-
previewProvider: ({ ...body }: import("..").PreviewProviderRequest) => Promise<ApiResult<{
|
|
724
|
-
id: string;
|
|
725
|
-
source: string;
|
|
726
|
-
agent_card: {
|
|
727
|
-
url: string;
|
|
728
|
-
name: string;
|
|
729
|
-
description: string;
|
|
730
|
-
version: string;
|
|
731
|
-
protocolVersion: string;
|
|
732
|
-
capabilities: {
|
|
733
|
-
extensions?: {
|
|
734
|
-
uri: string;
|
|
735
|
-
description?: string | undefined;
|
|
736
|
-
required?: boolean | undefined;
|
|
737
|
-
params?: Record<string, unknown> | undefined;
|
|
738
|
-
}[] | undefined;
|
|
739
|
-
pushNotifications?: boolean | undefined;
|
|
740
|
-
stateTransitionHistory?: boolean | undefined;
|
|
741
|
-
streaming?: boolean | undefined;
|
|
742
|
-
};
|
|
743
|
-
defaultInputModes: string[];
|
|
744
|
-
defaultOutputModes: string[];
|
|
745
|
-
skills: {
|
|
746
|
-
id: string;
|
|
747
|
-
name: string;
|
|
748
|
-
description: string;
|
|
749
|
-
tags: string[];
|
|
750
|
-
inputModes?: string[] | undefined;
|
|
751
|
-
outputModes?: string[] | undefined;
|
|
752
|
-
examples?: string[] | undefined;
|
|
753
|
-
security?: Record<string, string[]>[] | undefined;
|
|
754
|
-
}[];
|
|
755
|
-
iconUrl?: string | undefined;
|
|
756
|
-
documentationUrl?: string | undefined;
|
|
757
|
-
preferredTransport?: string | undefined;
|
|
758
|
-
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
759
|
-
additionalInterfaces?: {
|
|
760
|
-
transport: string;
|
|
761
|
-
url: string;
|
|
762
|
-
}[] | undefined;
|
|
763
|
-
provider?: {
|
|
764
|
-
url: string;
|
|
765
|
-
organization: string;
|
|
766
|
-
} | undefined;
|
|
767
|
-
signatures?: {
|
|
768
|
-
signature: string;
|
|
769
|
-
protected: string;
|
|
770
|
-
header?: Record<string, unknown> | undefined;
|
|
771
|
-
}[] | undefined;
|
|
772
|
-
security?: Record<string, string[]>[] | undefined;
|
|
773
|
-
securitySchemes?: Record<string, {
|
|
774
|
-
type: "apiKey";
|
|
775
|
-
name: string;
|
|
776
|
-
in: "query" | "header" | "cookie";
|
|
777
|
-
description?: string | undefined;
|
|
778
|
-
} | {
|
|
779
|
-
type: "http";
|
|
780
|
-
scheme: string;
|
|
781
|
-
description?: string | undefined;
|
|
782
|
-
bearerFormat?: string | undefined;
|
|
783
|
-
} | {
|
|
784
|
-
type: "oauth2";
|
|
785
|
-
flows: {
|
|
786
|
-
authorizationCode?: {
|
|
787
|
-
authorizationUrl: string;
|
|
788
|
-
tokenUrl: string;
|
|
789
|
-
scopes: Record<string, string>;
|
|
790
|
-
refreshUrl?: string | undefined;
|
|
791
|
-
} | undefined;
|
|
792
|
-
clientCredentials?: {
|
|
793
|
-
tokenUrl: string;
|
|
794
|
-
scopes: Record<string, string>;
|
|
795
|
-
refreshUrl?: string | undefined;
|
|
796
|
-
} | undefined;
|
|
797
|
-
implicit?: {
|
|
798
|
-
authorizationUrl: string;
|
|
799
|
-
scopes: Record<string, string>;
|
|
800
|
-
refreshUrl?: string | undefined;
|
|
801
|
-
} | undefined;
|
|
802
|
-
password?: {
|
|
803
|
-
tokenUrl: string;
|
|
804
|
-
scopes: Record<string, string>;
|
|
805
|
-
refreshUrl?: string | undefined;
|
|
806
|
-
} | undefined;
|
|
807
|
-
};
|
|
808
|
-
description?: string | undefined;
|
|
809
|
-
oauth2MetadataUrl?: string | undefined;
|
|
810
|
-
} | {
|
|
811
|
-
type: "openIdConnect";
|
|
812
|
-
openIdConnectUrl: string;
|
|
813
|
-
description?: string | undefined;
|
|
814
|
-
} | {
|
|
815
|
-
type: "mutualTLS";
|
|
816
|
-
description?: string | undefined;
|
|
817
|
-
}> | undefined;
|
|
818
|
-
};
|
|
819
|
-
state: import("..").ProviderStatus | import("..").ProviderUnmanagedStatus;
|
|
820
|
-
origin: string;
|
|
821
|
-
created_at: string;
|
|
822
|
-
created_by: string;
|
|
823
|
-
updated_at: string;
|
|
824
|
-
last_active_at: string;
|
|
825
|
-
auto_stop_timeout: string;
|
|
826
|
-
managed: boolean;
|
|
827
|
-
type: import("..").ProviderType;
|
|
828
|
-
env: {
|
|
829
|
-
name: string;
|
|
830
|
-
required: boolean;
|
|
831
|
-
description?: string | null | undefined;
|
|
832
|
-
}[];
|
|
833
|
-
registry?: string | null | undefined;
|
|
834
|
-
last_error?: {
|
|
835
|
-
message: string;
|
|
836
|
-
} | null | undefined;
|
|
837
|
-
missing_configuration?: {
|
|
838
|
-
name: string;
|
|
839
|
-
required: boolean;
|
|
840
|
-
description?: string | null | undefined;
|
|
841
|
-
}[] | undefined;
|
|
842
|
-
version_info?: {
|
|
843
|
-
docker?: {
|
|
844
|
-
registry: string;
|
|
845
|
-
repository: string;
|
|
846
|
-
tag: string;
|
|
847
|
-
digest: string;
|
|
848
|
-
image_id: string;
|
|
849
|
-
} | null | undefined;
|
|
850
|
-
github?: {
|
|
851
|
-
host: string;
|
|
852
|
-
org: string;
|
|
853
|
-
repo: string;
|
|
854
|
-
version: string;
|
|
855
|
-
version_type: import("..").GitHubVersionType;
|
|
856
|
-
commit_hash: string;
|
|
857
|
-
path?: string | null | undefined;
|
|
858
|
-
} | null | undefined;
|
|
859
|
-
} | undefined;
|
|
860
|
-
}>>;
|
|
861
|
-
listProviderBuilds: ({ query }: import("..").ListProviderBuildsRequest) => Promise<ApiResult<{
|
|
862
|
-
total_count: number;
|
|
863
|
-
has_more: boolean;
|
|
864
|
-
next_page_token: string | null;
|
|
865
|
-
items: {
|
|
866
|
-
id: string;
|
|
867
|
-
created_at: string;
|
|
868
|
-
created_by: string;
|
|
869
|
-
provider_origin: string;
|
|
870
|
-
status: import("..").ProviderBuildState;
|
|
871
|
-
source: {
|
|
872
|
-
host: string;
|
|
873
|
-
org: string;
|
|
874
|
-
repo: string;
|
|
875
|
-
version: string;
|
|
876
|
-
version_type: import("..").GitHubVersionType;
|
|
877
|
-
commit_hash: string;
|
|
878
|
-
path?: string | null | undefined;
|
|
879
|
-
};
|
|
880
|
-
destination: string;
|
|
881
|
-
on_complete: {
|
|
882
|
-
type: "add_provider";
|
|
883
|
-
auto_stop_timeout_sec?: number | null | undefined;
|
|
884
|
-
variables?: Record<string, string> | null | undefined;
|
|
885
|
-
} | {
|
|
886
|
-
type: "update_provider";
|
|
887
|
-
provider_id: string;
|
|
888
|
-
} | {
|
|
889
|
-
type: "no_action";
|
|
890
|
-
};
|
|
891
|
-
build_configuration?: {
|
|
892
|
-
dockerfile_path?: string | null | undefined;
|
|
893
|
-
} | null | undefined;
|
|
894
|
-
provider_id?: string | null | undefined;
|
|
895
|
-
error_message?: string | null | undefined;
|
|
896
|
-
}[];
|
|
897
|
-
}>>;
|
|
898
|
-
createProviderBuild: ({ ...body }: import("..").CreateProviderBuildRequest) => Promise<ApiResult<{
|
|
899
|
-
id: string;
|
|
900
|
-
created_at: string;
|
|
901
|
-
created_by: string;
|
|
902
|
-
provider_origin: string;
|
|
903
|
-
status: import("..").ProviderBuildState;
|
|
904
|
-
source: {
|
|
905
|
-
host: string;
|
|
906
|
-
org: string;
|
|
907
|
-
repo: string;
|
|
908
|
-
version: string;
|
|
909
|
-
version_type: import("..").GitHubVersionType;
|
|
910
|
-
commit_hash: string;
|
|
911
|
-
path?: string | null | undefined;
|
|
912
|
-
};
|
|
913
|
-
destination: string;
|
|
914
|
-
on_complete: {
|
|
915
|
-
type: "add_provider";
|
|
916
|
-
auto_stop_timeout_sec?: number | null | undefined;
|
|
917
|
-
variables?: Record<string, string> | null | undefined;
|
|
918
|
-
} | {
|
|
919
|
-
type: "update_provider";
|
|
920
|
-
provider_id: string;
|
|
921
|
-
} | {
|
|
922
|
-
type: "no_action";
|
|
923
|
-
};
|
|
924
|
-
build_configuration?: {
|
|
925
|
-
dockerfile_path?: string | null | undefined;
|
|
926
|
-
} | null | undefined;
|
|
927
|
-
provider_id?: string | null | undefined;
|
|
928
|
-
error_message?: string | null | undefined;
|
|
929
|
-
}>>;
|
|
930
|
-
readProviderBuild: ({ id }: import("..").ReadProviderBuildRequest) => Promise<ApiResult<{
|
|
931
|
-
id: string;
|
|
932
|
-
created_at: string;
|
|
933
|
-
created_by: string;
|
|
934
|
-
provider_origin: string;
|
|
935
|
-
status: import("..").ProviderBuildState;
|
|
936
|
-
source: {
|
|
937
|
-
host: string;
|
|
938
|
-
org: string;
|
|
939
|
-
repo: string;
|
|
940
|
-
version: string;
|
|
941
|
-
version_type: import("..").GitHubVersionType;
|
|
942
|
-
commit_hash: string;
|
|
943
|
-
path?: string | null | undefined;
|
|
944
|
-
};
|
|
945
|
-
destination: string;
|
|
946
|
-
on_complete: {
|
|
947
|
-
type: "add_provider";
|
|
948
|
-
auto_stop_timeout_sec?: number | null | undefined;
|
|
949
|
-
variables?: Record<string, string> | null | undefined;
|
|
950
|
-
} | {
|
|
951
|
-
type: "update_provider";
|
|
952
|
-
provider_id: string;
|
|
953
|
-
} | {
|
|
954
|
-
type: "no_action";
|
|
955
|
-
};
|
|
956
|
-
build_configuration?: {
|
|
957
|
-
dockerfile_path?: string | null | undefined;
|
|
958
|
-
} | null | undefined;
|
|
959
|
-
provider_id?: string | null | undefined;
|
|
960
|
-
error_message?: string | null | undefined;
|
|
961
|
-
}>>;
|
|
962
|
-
deleteProviderBuild: ({ id }: import("..").DeleteProviderBuildRequest) => Promise<ApiResult<null>>;
|
|
963
|
-
readProviderBuildLogs: ({ id }: import("..").ReadProviderBuildLogsRequest) => Promise<ApiResult<ReadableStream<Uint8Array<ArrayBuffer>>>>;
|
|
964
|
-
previewProviderBuild: ({ ...body }: import("..").PreviewProviderBuildRequest) => Promise<ApiResult<{
|
|
965
|
-
id: string;
|
|
966
|
-
created_at: string;
|
|
967
|
-
created_by: string;
|
|
968
|
-
provider_origin: string;
|
|
969
|
-
status: import("..").ProviderBuildState;
|
|
970
|
-
source: {
|
|
971
|
-
host: string;
|
|
972
|
-
org: string;
|
|
973
|
-
repo: string;
|
|
974
|
-
version: string;
|
|
975
|
-
version_type: import("..").GitHubVersionType;
|
|
976
|
-
commit_hash: string;
|
|
977
|
-
path?: string | null | undefined;
|
|
978
|
-
};
|
|
979
|
-
destination: string;
|
|
980
|
-
on_complete: {
|
|
981
|
-
type: "add_provider";
|
|
982
|
-
auto_stop_timeout_sec?: number | null | undefined;
|
|
983
|
-
variables?: Record<string, string> | null | undefined;
|
|
984
|
-
} | {
|
|
985
|
-
type: "update_provider";
|
|
986
|
-
provider_id: string;
|
|
987
|
-
} | {
|
|
988
|
-
type: "no_action";
|
|
989
|
-
};
|
|
990
|
-
build_configuration?: {
|
|
991
|
-
dockerfile_path?: string | null | undefined;
|
|
992
|
-
} | null | undefined;
|
|
993
|
-
provider_id?: string | null | undefined;
|
|
994
|
-
error_message?: string | null | undefined;
|
|
995
|
-
}>>;
|
|
996
|
-
listModelProviders: () => Promise<ApiResult<{
|
|
997
|
-
total_count: number;
|
|
998
|
-
has_more: boolean;
|
|
999
|
-
next_page_token: string | null;
|
|
1000
|
-
items: {
|
|
1001
|
-
id: string;
|
|
1002
|
-
base_url: string;
|
|
1003
|
-
created_at: string;
|
|
1004
|
-
capabilities: import("..").ModelCapability[];
|
|
1005
|
-
type: import("..").ModelProviderType;
|
|
1006
|
-
name?: string | null | undefined;
|
|
1007
|
-
description?: string | null | undefined;
|
|
1008
|
-
}[];
|
|
1009
|
-
}>>;
|
|
1010
|
-
createModelProvider: ({ ...body }: import("..").CreateModelProviderRequest) => Promise<ApiResult<{
|
|
1011
|
-
id: string;
|
|
1012
|
-
base_url: string;
|
|
1013
|
-
created_at: string;
|
|
1014
|
-
capabilities: import("..").ModelCapability[];
|
|
1015
|
-
type: import("..").ModelProviderType;
|
|
1016
|
-
name?: string | null | undefined;
|
|
1017
|
-
description?: string | null | undefined;
|
|
1018
|
-
}>>;
|
|
1019
|
-
readModelProvider: ({ model_provider_id }: import("..").ReadModelProviderRequest) => Promise<ApiResult<{
|
|
1020
|
-
id: string;
|
|
1021
|
-
base_url: string;
|
|
1022
|
-
created_at: string;
|
|
1023
|
-
capabilities: import("..").ModelCapability[];
|
|
1024
|
-
type: import("..").ModelProviderType;
|
|
1025
|
-
name?: string | null | undefined;
|
|
1026
|
-
description?: string | null | undefined;
|
|
1027
|
-
}>>;
|
|
1028
|
-
deleteModelProvider: ({ model_provider_id }: import("..").DeleteModelProviderRequest) => Promise<ApiResult<null>>;
|
|
1029
|
-
matchModelProviders: ({ ...body }: import("..").MatchModelProvidersRequest) => Promise<ApiResult<{
|
|
1030
|
-
total_count: number;
|
|
1031
|
-
has_more: boolean;
|
|
1032
|
-
next_page_token: string | null;
|
|
1033
|
-
items: {
|
|
1034
|
-
model_id: string;
|
|
1035
|
-
score: number;
|
|
1036
|
-
}[];
|
|
1037
|
-
}>>;
|
|
1038
|
-
createFile: ({ context_id, file }: import("..").CreateFileRequest) => Promise<ApiResult<{
|
|
1039
|
-
id: string;
|
|
1040
|
-
filename: string;
|
|
1041
|
-
content_type: string;
|
|
1042
|
-
file_type: import("..").FileType;
|
|
1043
|
-
created_by: string;
|
|
1044
|
-
created_at: string;
|
|
1045
|
-
context_id?: string | null | undefined;
|
|
1046
|
-
file_size_bytes?: number | null | undefined;
|
|
1047
|
-
parent_file_id?: string | null | undefined;
|
|
1048
|
-
}>>;
|
|
1049
|
-
readFile: ({ context_id, file_id }: import("..").ReadFileRequest) => Promise<ApiResult<{
|
|
1050
|
-
id: string;
|
|
1051
|
-
filename: string;
|
|
1052
|
-
content_type: string;
|
|
1053
|
-
file_type: import("..").FileType;
|
|
1054
|
-
created_by: string;
|
|
1055
|
-
created_at: string;
|
|
1056
|
-
context_id?: string | null | undefined;
|
|
1057
|
-
file_size_bytes?: number | null | undefined;
|
|
1058
|
-
parent_file_id?: string | null | undefined;
|
|
1059
|
-
}>>;
|
|
1060
|
-
deleteFile: ({ context_id, file_id }: import("..").DeleteFileRequest) => Promise<ApiResult<null>>;
|
|
1061
|
-
readFileContent: ({ context_id, file_id }: import("..").ReadFileContentRequest) => Promise<ApiResult<unknown>>;
|
|
1062
|
-
listContexts: ({ query }: import("..").ListContextsRequest) => Promise<ApiResult<{
|
|
1063
|
-
total_count: number;
|
|
1064
|
-
has_more: boolean;
|
|
1065
|
-
next_page_token: string | null;
|
|
1066
|
-
items: {
|
|
1067
|
-
id: string;
|
|
1068
|
-
created_at: string;
|
|
1069
|
-
updated_at: string;
|
|
1070
|
-
last_active_at: string;
|
|
1071
|
-
created_by: string;
|
|
1072
|
-
provider_id: string | null;
|
|
1073
|
-
metadata: Record<string, unknown> | null;
|
|
1074
|
-
}[];
|
|
1075
|
-
}>>;
|
|
1076
|
-
createContext: ({ ...body }: import("..").CreateContextRequest) => Promise<ApiResult<{
|
|
1077
|
-
id: string;
|
|
1078
|
-
created_at: string;
|
|
1079
|
-
updated_at: string;
|
|
1080
|
-
last_active_at: string;
|
|
1081
|
-
created_by: string;
|
|
1082
|
-
provider_id: string | null;
|
|
1083
|
-
metadata: Record<string, unknown> | null;
|
|
1084
|
-
}>>;
|
|
1085
|
-
readContext: ({ context_id }: import("..").ReadContextRequest) => Promise<ApiResult<{
|
|
1086
|
-
id: string;
|
|
1087
|
-
created_at: string;
|
|
1088
|
-
updated_at: string;
|
|
1089
|
-
last_active_at: string;
|
|
1090
|
-
created_by: string;
|
|
1091
|
-
provider_id: string | null;
|
|
1092
|
-
metadata: Record<string, unknown> | null;
|
|
1093
|
-
}>>;
|
|
1094
|
-
updateContext: ({ context_id, ...body }: import("..").UpdateContextRequest) => Promise<ApiResult<{
|
|
1095
|
-
id: string;
|
|
1096
|
-
created_at: string;
|
|
1097
|
-
updated_at: string;
|
|
1098
|
-
last_active_at: string;
|
|
1099
|
-
created_by: string;
|
|
1100
|
-
provider_id: string | null;
|
|
1101
|
-
metadata: Record<string, unknown> | null;
|
|
1102
|
-
}>>;
|
|
1103
|
-
deleteContext: ({ context_id }: import("..").DeleteContextRequest) => Promise<ApiResult<null>>;
|
|
1104
|
-
listContextHistory: ({ context_id, query }: import("..").ListContextHistoryRequest) => Promise<ApiResult<{
|
|
1105
|
-
total_count: number;
|
|
1106
|
-
has_more: boolean;
|
|
1107
|
-
next_page_token: string | null;
|
|
1108
|
-
items: {
|
|
1109
|
-
id: string;
|
|
1110
|
-
context_id: string;
|
|
1111
|
-
created_at: string;
|
|
1112
|
-
kind: import("..").ContextHistoryKind;
|
|
1113
|
-
data: {
|
|
1114
|
-
artifactId: string;
|
|
1115
|
-
parts: ({
|
|
1116
|
-
kind: "text";
|
|
1117
|
-
text: string;
|
|
1118
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1119
|
-
} | {
|
|
1120
|
-
kind: "file";
|
|
1121
|
-
file: {
|
|
1122
|
-
bytes: string;
|
|
1123
|
-
mimeType?: string | undefined;
|
|
1124
|
-
name?: string | undefined;
|
|
1125
|
-
} | {
|
|
1126
|
-
uri: string;
|
|
1127
|
-
mimeType?: string | undefined;
|
|
1128
|
-
name?: string | undefined;
|
|
1129
|
-
};
|
|
1130
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1131
|
-
} | {
|
|
1132
|
-
kind: "data";
|
|
1133
|
-
data: Record<string, unknown>;
|
|
1134
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1135
|
-
})[];
|
|
1136
|
-
description?: string | undefined;
|
|
1137
|
-
extensions?: string[] | undefined;
|
|
1138
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1139
|
-
name?: string | undefined;
|
|
1140
|
-
} | {
|
|
1141
|
-
kind: "message";
|
|
1142
|
-
messageId: string;
|
|
1143
|
-
parts: ({
|
|
1144
|
-
kind: "text";
|
|
1145
|
-
text: string;
|
|
1146
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1147
|
-
} | {
|
|
1148
|
-
kind: "file";
|
|
1149
|
-
file: {
|
|
1150
|
-
bytes: string;
|
|
1151
|
-
mimeType?: string | undefined;
|
|
1152
|
-
name?: string | undefined;
|
|
1153
|
-
} | {
|
|
1154
|
-
uri: string;
|
|
1155
|
-
mimeType?: string | undefined;
|
|
1156
|
-
name?: string | undefined;
|
|
1157
|
-
};
|
|
1158
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1159
|
-
} | {
|
|
1160
|
-
kind: "data";
|
|
1161
|
-
data: Record<string, unknown>;
|
|
1162
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1163
|
-
})[];
|
|
1164
|
-
role: "agent" | "user";
|
|
1165
|
-
contextId?: string | undefined;
|
|
1166
|
-
extensions?: string[] | undefined;
|
|
1167
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1168
|
-
referenceTaskIds?: string[] | undefined;
|
|
1169
|
-
taskId?: string | undefined;
|
|
1170
|
-
};
|
|
1171
|
-
}[];
|
|
1172
|
-
}>>;
|
|
1173
|
-
createContextHistory: ({ context_id, ...body }: import("..").CreateContextHistoryRequest) => Promise<ApiResult<null>>;
|
|
1174
|
-
patchContextMetadata: ({ context_id, ...body }: import("..").PatchContextMetadataRequest) => Promise<ApiResult<{
|
|
1175
|
-
id: string;
|
|
1176
|
-
created_at: string;
|
|
1177
|
-
updated_at: string;
|
|
1178
|
-
last_active_at: string;
|
|
1179
|
-
created_by: string;
|
|
1180
|
-
provider_id: string | null;
|
|
1181
|
-
metadata: Record<string, unknown> | null;
|
|
1182
|
-
}>>;
|
|
1183
|
-
createContextToken: ({ context_id, ...body }: import("..").CreateContextTokenRequest) => Promise<ApiResult<{
|
|
1184
|
-
token: string;
|
|
1185
|
-
expires_at: string | null;
|
|
1186
|
-
}>>;
|
|
1187
|
-
listConnectors: () => Promise<ApiResult<{
|
|
1188
|
-
total_count: number;
|
|
1189
|
-
has_more: boolean;
|
|
1190
|
-
next_page_token: string | null;
|
|
1191
|
-
items: {
|
|
1192
|
-
id: string;
|
|
1193
|
-
url: string;
|
|
1194
|
-
state: import("..").ConnectorState;
|
|
1195
|
-
auth_request: {
|
|
1196
|
-
type: "code";
|
|
1197
|
-
authorization_endpoint: string;
|
|
1198
|
-
} | null;
|
|
1199
|
-
disconnect_reason: string | null;
|
|
1200
|
-
metadata: Record<string, string> | null;
|
|
1201
|
-
}[];
|
|
1202
|
-
}>>;
|
|
1203
|
-
createConnector: ({ ...body }: import("..").CreateConnectorRequest) => Promise<ApiResult<{
|
|
1204
|
-
id: string;
|
|
1205
|
-
url: string;
|
|
1206
|
-
state: import("..").ConnectorState;
|
|
1207
|
-
auth_request: {
|
|
1208
|
-
type: "code";
|
|
1209
|
-
authorization_endpoint: string;
|
|
1210
|
-
} | null;
|
|
1211
|
-
disconnect_reason: string | null;
|
|
1212
|
-
metadata: Record<string, string> | null;
|
|
1213
|
-
}>>;
|
|
1214
|
-
readConnector: ({ connector_id }: import("..").ReadConnectorRequest) => Promise<ApiResult<{
|
|
1215
|
-
id: string;
|
|
1216
|
-
url: string;
|
|
1217
|
-
state: import("..").ConnectorState;
|
|
1218
|
-
auth_request: {
|
|
1219
|
-
type: "code";
|
|
1220
|
-
authorization_endpoint: string;
|
|
1221
|
-
} | null;
|
|
1222
|
-
disconnect_reason: string | null;
|
|
1223
|
-
metadata: Record<string, string> | null;
|
|
1224
|
-
}>>;
|
|
1225
|
-
deleteConnector: ({ connector_id }: import("..").DeleteConnectorRequest) => Promise<ApiResult<null>>;
|
|
1226
|
-
connectConnector: ({ connector_id, ...body }: import("..").ConnectConnectorRequest) => Promise<ApiResult<{
|
|
1227
|
-
id: string;
|
|
1228
|
-
url: string;
|
|
1229
|
-
state: import("..").ConnectorState;
|
|
1230
|
-
auth_request: {
|
|
1231
|
-
type: "code";
|
|
1232
|
-
authorization_endpoint: string;
|
|
1233
|
-
} | null;
|
|
1234
|
-
disconnect_reason: string | null;
|
|
1235
|
-
metadata: Record<string, string> | null;
|
|
1236
|
-
}>>;
|
|
1237
|
-
disconnectConnector: ({ connector_id }: import("..").DisconnectConnectorRequest) => Promise<ApiResult<{
|
|
1238
|
-
id: string;
|
|
1239
|
-
url: string;
|
|
1240
|
-
state: import("..").ConnectorState;
|
|
1241
|
-
auth_request: {
|
|
1242
|
-
type: "code";
|
|
1243
|
-
authorization_endpoint: string;
|
|
1244
|
-
} | null;
|
|
1245
|
-
disconnect_reason: string | null;
|
|
1246
|
-
metadata: Record<string, string> | null;
|
|
1247
|
-
}>>;
|
|
1248
|
-
listConnectorPresets: () => Promise<ApiResult<{
|
|
1249
|
-
total_count: number;
|
|
1250
|
-
has_more: boolean;
|
|
1251
|
-
next_page_token: string | null;
|
|
1252
|
-
items: {
|
|
1253
|
-
url: string;
|
|
1254
|
-
metadata: Record<string, string> | null;
|
|
1255
|
-
}[];
|
|
1256
|
-
}>>;
|
|
1257
|
-
readSystemConfiguration: () => Promise<ApiResult<{
|
|
1258
|
-
id: string;
|
|
1259
|
-
created_by: string;
|
|
1260
|
-
updated_at: string;
|
|
1261
|
-
default_embedding_model?: string | null | undefined;
|
|
1262
|
-
default_llm_model?: string | null | undefined;
|
|
1263
|
-
}>>;
|
|
1264
|
-
updateSystemConfiguration: ({ ...body }: import("..").UpdateSystemConfigurationRequest) => Promise<ApiResult<{
|
|
1265
|
-
id: string;
|
|
1266
|
-
created_by: string;
|
|
1267
|
-
updated_at: string;
|
|
1268
|
-
default_embedding_model?: string | null | undefined;
|
|
1269
|
-
default_llm_model?: string | null | undefined;
|
|
1270
|
-
}>>;
|
|
1271
|
-
};
|
|
1272
|
-
export declare function unwrapResult<T>(result: ApiResult<T>): T;
|
|
1273
|
-
export declare function unwrapResult<T, Out extends T>(result: ApiResult<T>, schema: z.ZodType<Out>): Out;
|