@artinet/sdk 0.5.16 → 0.5.18
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 +108 -58
- package/dist/browser/browser.d.ts +9 -0
- package/dist/browser/browser.js +10 -0
- package/dist/browser/client/a2a-client.d.ts +126 -0
- package/dist/browser/client/a2a-client.js +221 -0
- package/dist/browser/client/index.d.ts +1 -0
- package/dist/browser/client/index.js +1 -0
- package/dist/browser/services/a2a/helpers/message-builder.d.ts +12 -0
- package/dist/browser/services/a2a/helpers/message-builder.js +61 -0
- package/dist/browser/transport/rpc/parser.d.ts +15 -0
- package/dist/browser/transport/rpc/parser.js +48 -0
- package/dist/browser/transport/rpc/rpc-client.d.ts +80 -0
- package/dist/browser/transport/rpc/rpc-client.js +189 -0
- package/dist/browser/transport/streaming/event-stream.d.ts +25 -0
- package/dist/browser/transport/streaming/event-stream.js +99 -0
- package/dist/browser/types/ext.d.ts +13 -0
- package/dist/browser/types/ext.js +10 -0
- package/dist/browser/types/index.d.ts +4 -0
- package/dist/browser/types/index.js +4 -0
- package/dist/browser/types/interfaces/client.d.ts +135 -0
- package/dist/browser/types/interfaces/client.js +5 -0
- package/dist/browser/types/interfaces/index.d.ts +3 -0
- package/dist/browser/types/interfaces/index.js +3 -0
- package/dist/browser/types/interfaces/services/a2a/builder.d.ts +37 -0
- package/dist/browser/types/interfaces/services/a2a/builder.js +5 -0
- package/dist/browser/types/interfaces/services/a2a/context.d.ts +162 -0
- package/dist/browser/types/interfaces/services/a2a/context.js +5 -0
- package/dist/browser/types/interfaces/services/a2a/engine.d.ts +7 -0
- package/dist/browser/types/interfaces/services/a2a/engine.js +5 -0
- package/dist/browser/types/interfaces/services/a2a/index.d.ts +5 -0
- package/dist/browser/types/interfaces/services/a2a/index.js +5 -0
- package/dist/browser/types/interfaces/services/a2a/legacy.d.ts +93 -0
- package/dist/browser/types/interfaces/services/a2a/legacy.js +5 -0
- package/dist/browser/types/interfaces/services/a2a/service.d.ts +413 -0
- package/dist/browser/types/interfaces/services/a2a/service.js +5 -0
- package/dist/browser/types/interfaces/services/core/context/command.d.ts +25 -0
- package/dist/browser/types/interfaces/services/core/context/command.js +5 -0
- package/dist/browser/types/interfaces/services/core/context/context.d.ts +207 -0
- package/dist/browser/types/interfaces/services/core/context/context.js +5 -0
- package/dist/browser/types/interfaces/services/core/context/index.d.ts +3 -0
- package/dist/browser/types/interfaces/services/core/context/index.js +3 -0
- package/dist/browser/types/interfaces/services/core/context/types.d.ts +11 -0
- package/dist/browser/types/interfaces/services/core/context/types.js +5 -0
- package/dist/browser/types/interfaces/services/core/execution/engine.d.ts +106 -0
- package/dist/browser/types/interfaces/services/core/execution/engine.js +5 -0
- package/dist/browser/types/interfaces/services/core/execution/environment.d.ts +11 -0
- package/dist/browser/types/interfaces/services/core/execution/environment.js +5 -0
- package/dist/browser/types/interfaces/services/core/execution/execute.d.ts +7 -0
- package/dist/browser/types/interfaces/services/core/execution/execute.js +5 -0
- package/dist/browser/types/interfaces/services/core/execution/index.d.ts +3 -0
- package/dist/browser/types/interfaces/services/core/execution/index.js +3 -0
- package/dist/browser/types/interfaces/services/core/index.d.ts +4 -0
- package/dist/browser/types/interfaces/services/core/index.js +4 -0
- package/dist/browser/types/interfaces/services/core/managers/cancellation.d.ts +9 -0
- package/dist/browser/types/interfaces/services/core/managers/cancellation.js +5 -0
- package/dist/browser/types/interfaces/services/core/managers/connection.d.ts +9 -0
- package/dist/browser/types/interfaces/services/core/managers/connection.js +5 -0
- package/dist/browser/types/interfaces/services/core/managers/context.d.ts +17 -0
- package/dist/browser/types/interfaces/services/core/managers/context.js +5 -0
- package/dist/browser/types/interfaces/services/core/managers/event.d.ts +328 -0
- package/dist/browser/types/interfaces/services/core/managers/event.js +5 -0
- package/dist/browser/types/interfaces/services/core/managers/index.d.ts +6 -0
- package/dist/browser/types/interfaces/services/core/managers/index.js +6 -0
- package/dist/browser/types/interfaces/services/core/managers/stream.d.ts +217 -0
- package/dist/browser/types/interfaces/services/core/managers/stream.js +5 -0
- package/dist/browser/types/interfaces/services/core/managers/task.d.ts +9 -0
- package/dist/browser/types/interfaces/services/core/managers/task.js +1 -0
- package/dist/browser/types/interfaces/services/core/service.d.ts +115 -0
- package/dist/browser/types/interfaces/services/core/service.js +5 -0
- package/dist/browser/types/interfaces/services/index.d.ts +4 -0
- package/dist/browser/types/interfaces/services/index.js +4 -0
- package/dist/browser/types/interfaces/services/mcp/index.d.ts +1 -0
- package/dist/browser/types/interfaces/services/mcp/index.js +1 -0
- package/dist/browser/types/interfaces/services/mcp/service.d.ts +49 -0
- package/dist/browser/types/interfaces/services/mcp/service.js +5 -0
- package/dist/browser/types/interfaces/services/protocol.d.ts +33 -0
- package/dist/browser/types/interfaces/services/protocol.js +34 -0
- package/dist/browser/types/interfaces/storage.d.ts +8 -0
- package/dist/browser/types/interfaces/storage.js +5 -0
- package/dist/browser/types/schemas/a2a/agent.d.ts +2583 -0
- package/dist/browser/types/schemas/a2a/agent.js +323 -0
- package/dist/browser/types/schemas/a2a/auth.d.ts +908 -0
- package/dist/browser/types/schemas/a2a/auth.js +283 -0
- package/dist/browser/types/schemas/a2a/error.d.ts +396 -0
- package/dist/browser/types/schemas/a2a/error.js +163 -0
- package/dist/browser/types/schemas/a2a/index.d.ts +11 -0
- package/dist/browser/types/schemas/a2a/index.js +11 -0
- package/dist/browser/types/schemas/a2a/kind.d.ts +11 -0
- package/dist/browser/types/schemas/a2a/kind.js +20 -0
- package/dist/browser/types/schemas/a2a/message.d.ts +10343 -0
- package/dist/browser/types/schemas/a2a/message.js +130 -0
- package/dist/browser/types/schemas/a2a/notification.d.ts +1517 -0
- package/dist/browser/types/schemas/a2a/notification.js +203 -0
- package/dist/browser/types/schemas/a2a/parameters.d.ts +956 -0
- package/dist/browser/types/schemas/a2a/parameters.js +241 -0
- package/dist/browser/types/schemas/a2a/protocol.d.ts +14363 -0
- package/dist/browser/types/schemas/a2a/protocol.js +59 -0
- package/dist/browser/types/schemas/a2a/rpc.d.ts +182 -0
- package/dist/browser/types/schemas/a2a/rpc.js +126 -0
- package/dist/browser/types/schemas/a2a/task.d.ts +5886 -0
- package/dist/browser/types/schemas/a2a/task.js +134 -0
- package/dist/browser/types/schemas/a2a/transport.d.ts +31 -0
- package/dist/browser/types/schemas/a2a/transport.js +28 -0
- package/dist/browser/types/schemas/index.d.ts +1 -0
- package/dist/browser/types/schemas/index.js +1 -0
- package/dist/browser/types/utils/index.d.ts +1 -0
- package/dist/browser/types/utils/index.js +1 -0
- package/dist/browser/types/utils/transform.d.ts +64 -0
- package/dist/browser/types/utils/transform.js +35 -0
- package/dist/browser/utils/common/constants.d.ts +11 -0
- package/dist/browser/utils/common/constants.js +38 -0
- package/dist/browser/utils/common/errors.d.ts +24 -0
- package/dist/browser/utils/common/errors.js +42 -0
- package/dist/browser/utils/common/utils.d.ts +9 -0
- package/dist/browser/utils/common/utils.js +11 -0
- package/dist/browser/utils/logging/index.d.ts +2 -0
- package/dist/browser/utils/logging/index.js +2 -0
- package/dist/browser/utils/logging/log.d.ts +33 -0
- package/dist/browser/utils/logging/log.js +75 -0
- package/dist/browser/utils/logging/logger.d.ts +18 -0
- package/dist/browser/utils/logging/logger.js +18 -0
- package/dist/client/a2a-client.d.ts +2 -1
- package/dist/client/a2a-client.js +13 -4
- package/dist/server/express/errors.js +1 -1
- package/dist/server/express/middeware.d.ts +2 -2
- package/dist/server/express/middeware.js +26 -6
- package/dist/server/express/server.d.ts +26 -25
- package/dist/server/express/server.js +32 -6
- package/dist/services/a2a/factory/builder.d.ts +24 -24
- package/dist/services/a2a/factory/builder.js +6 -1
- package/dist/services/a2a/factory/service.js +2 -1
- package/dist/services/a2a/helpers/agentcard-builder.d.ts +7 -0
- package/dist/services/a2a/helpers/agentcard-builder.js +23 -0
- package/dist/services/a2a/helpers/history.d.ts +2 -0
- package/dist/services/a2a/helpers/history.js +3 -0
- package/dist/services/a2a/helpers/index.d.ts +3 -0
- package/dist/services/a2a/helpers/index.js +3 -0
- package/dist/services/a2a/methods/get-task.d.ts +46 -46
- package/dist/services/a2a/methods/get-task.js +2 -0
- package/dist/services/a2a/methods/send-message.js +18 -1
- package/dist/services/a2a/service.d.ts +154 -153
- package/dist/services/a2a/service.js +20 -6
- package/dist/services/mcp/service.js +0 -1
- package/dist/transport/rpc/parser.js +2 -2
- package/dist/transport/rpc/rpc-client.js +2 -2
- package/dist/transport/trpc/a2a/factory/router.d.ts +1084 -1084
- package/dist/transport/trpc/a2a/routes/info.d.ts +36 -36
- package/dist/transport/trpc/a2a/routes/message/route.d.ts +225 -225
- package/dist/transport/trpc/a2a/routes/tasks/route.d.ts +257 -257
- package/dist/transport/trpc/a2a/trpc.d.ts +120 -120
- package/dist/types/interfaces/services/a2a/service.d.ts +6 -1
- package/dist/types/schemas/a2a/agent.d.ts +818 -818
- package/dist/types/schemas/a2a/agent.js +1 -23
- package/dist/types/schemas/a2a/auth.d.ts +197 -197
- package/dist/types/schemas/a2a/auth.js +4 -19
- package/dist/types/schemas/a2a/error.d.ts +24 -24
- package/dist/types/schemas/a2a/message.d.ts +4499 -4499
- package/dist/types/schemas/a2a/message.js +2 -10
- package/dist/types/schemas/a2a/notification.d.ts +403 -403
- package/dist/types/schemas/a2a/notification.js +3 -7
- package/dist/types/schemas/a2a/parameters.d.ts +264 -264
- package/dist/types/schemas/a2a/parameters.js +1 -14
- package/dist/types/schemas/a2a/protocol.d.ts +5988 -5988
- package/dist/types/schemas/a2a/rpc.d.ts +20 -20
- package/dist/types/schemas/a2a/rpc.js +0 -5
- package/dist/types/schemas/a2a/task.d.ts +2513 -2513
- package/dist/types/schemas/a2a/task.js +10 -11
- package/dist/utils/common/constants.js +1 -1
- package/dist/utils/common/errors.d.ts +2 -1
- package/dist/utils/common/errors.js +2 -1
- package/dist/utils/common/schema-validation.d.ts +2 -0
- package/dist/utils/common/schema-validation.js +12 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/package.json +20 -17
|
@@ -34,25 +34,25 @@ export declare const AgentExtensionSchema: z.ZodObject<{
|
|
|
34
34
|
/**
|
|
35
35
|
* @optional A description of how this agent uses this extension.
|
|
36
36
|
*/
|
|
37
|
-
description: z.
|
|
37
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38
38
|
/**
|
|
39
39
|
* @optional Whether the client must follow specific requirements of the extension.
|
|
40
40
|
*/
|
|
41
|
-
required: z.
|
|
41
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
/**
|
|
43
43
|
* @optional Optional configuration for the extension.
|
|
44
44
|
*/
|
|
45
|
-
params: z.
|
|
45
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
uri: string;
|
|
48
|
-
required?: boolean |
|
|
49
|
-
description?: string |
|
|
50
|
-
params?: Record<string, unknown> |
|
|
48
|
+
required?: boolean | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
50
|
+
params?: Record<string, unknown> | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
uri: string;
|
|
53
|
-
required?: boolean |
|
|
54
|
-
description?: string |
|
|
55
|
-
params?: Record<string, unknown> |
|
|
53
|
+
required?: boolean | undefined;
|
|
54
|
+
description?: string | undefined;
|
|
55
|
+
params?: Record<string, unknown> | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
export type AgentExtension = z.infer<typeof AgentExtensionSchema>;
|
|
58
58
|
/**
|
|
@@ -62,19 +62,19 @@ export declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
|
62
62
|
/**
|
|
63
63
|
* @optional Indicates if the agent supports streaming responses.
|
|
64
64
|
*/
|
|
65
|
-
streaming: z.
|
|
65
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
/**
|
|
67
67
|
* @optional Indicates if the agent supports push notification mechanisms.
|
|
68
68
|
*/
|
|
69
|
-
pushNotifications: z.
|
|
69
|
+
pushNotifications: z.ZodOptional<z.ZodBoolean>;
|
|
70
70
|
/**
|
|
71
71
|
* @optional Indicates if the agent supports providing state transition history.
|
|
72
72
|
*/
|
|
73
|
-
stateTransitionHistory: z.
|
|
73
|
+
stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
|
|
74
74
|
/**
|
|
75
75
|
* @optional Extensions supported by this agent.
|
|
76
76
|
*/
|
|
77
|
-
extensions: z.
|
|
77
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
78
78
|
/**
|
|
79
79
|
* @required The URI of the extension.
|
|
80
80
|
*/
|
|
@@ -82,46 +82,46 @@ export declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
|
82
82
|
/**
|
|
83
83
|
* @optional A description of how this agent uses this extension.
|
|
84
84
|
*/
|
|
85
|
-
description: z.
|
|
85
|
+
description: z.ZodOptional<z.ZodString>;
|
|
86
86
|
/**
|
|
87
87
|
* @optional Whether the client must follow specific requirements of the extension.
|
|
88
88
|
*/
|
|
89
|
-
required: z.
|
|
89
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
/**
|
|
91
91
|
* @optional Optional configuration for the extension.
|
|
92
92
|
*/
|
|
93
|
-
params: z.
|
|
93
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
uri: string;
|
|
96
|
-
required?: boolean |
|
|
97
|
-
description?: string |
|
|
98
|
-
params?: Record<string, unknown> |
|
|
96
|
+
required?: boolean | undefined;
|
|
97
|
+
description?: string | undefined;
|
|
98
|
+
params?: Record<string, unknown> | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
uri: string;
|
|
101
|
-
required?: boolean |
|
|
102
|
-
description?: string |
|
|
103
|
-
params?: Record<string, unknown> |
|
|
104
|
-
}>, "many"
|
|
101
|
+
required?: boolean | undefined;
|
|
102
|
+
description?: string | undefined;
|
|
103
|
+
params?: Record<string, unknown> | undefined;
|
|
104
|
+
}>, "many">>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
extensions?: {
|
|
107
107
|
uri: string;
|
|
108
|
-
required?: boolean |
|
|
109
|
-
description?: string |
|
|
110
|
-
params?: Record<string, unknown> |
|
|
111
|
-
}[] |
|
|
112
|
-
streaming?: boolean |
|
|
113
|
-
pushNotifications?: boolean |
|
|
114
|
-
stateTransitionHistory?: boolean |
|
|
108
|
+
required?: boolean | undefined;
|
|
109
|
+
description?: string | undefined;
|
|
110
|
+
params?: Record<string, unknown> | undefined;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
streaming?: boolean | undefined;
|
|
113
|
+
pushNotifications?: boolean | undefined;
|
|
114
|
+
stateTransitionHistory?: boolean | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
extensions?: {
|
|
117
117
|
uri: string;
|
|
118
|
-
required?: boolean |
|
|
119
|
-
description?: string |
|
|
120
|
-
params?: Record<string, unknown> |
|
|
121
|
-
}[] |
|
|
122
|
-
streaming?: boolean |
|
|
123
|
-
pushNotifications?: boolean |
|
|
124
|
-
stateTransitionHistory?: boolean |
|
|
118
|
+
required?: boolean | undefined;
|
|
119
|
+
description?: string | undefined;
|
|
120
|
+
params?: Record<string, unknown> | undefined;
|
|
121
|
+
}[] | undefined;
|
|
122
|
+
streaming?: boolean | undefined;
|
|
123
|
+
pushNotifications?: boolean | undefined;
|
|
124
|
+
stateTransitionHistory?: boolean | undefined;
|
|
125
125
|
}>;
|
|
126
126
|
export type AgentCapabilities = z.infer<typeof AgentCapabilitiesSchema>;
|
|
127
127
|
/**
|
|
@@ -147,37 +147,37 @@ export declare const AgentSkillSchema: z.ZodObject<{
|
|
|
147
147
|
/**
|
|
148
148
|
* @optional List of example inputs or use cases for the skill.
|
|
149
149
|
*/
|
|
150
|
-
examples: z.
|
|
150
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
151
151
|
/**
|
|
152
152
|
* @optional List of input modes supported by this skill.
|
|
153
153
|
*/
|
|
154
|
-
inputModes: z.
|
|
154
|
+
inputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
155
155
|
/**
|
|
156
156
|
* @optional List of output modes supported by this skill.
|
|
157
157
|
*/
|
|
158
|
-
outputModes: z.
|
|
158
|
+
outputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
159
159
|
/**
|
|
160
160
|
* @optional Security schemes necessary for the agent to leverage this skill.
|
|
161
161
|
*/
|
|
162
|
-
security: z.
|
|
162
|
+
security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
name: string;
|
|
165
165
|
id: string;
|
|
166
166
|
description: string;
|
|
167
167
|
tags: string[];
|
|
168
|
-
examples?: string[] |
|
|
169
|
-
inputModes?: string[] |
|
|
170
|
-
outputModes?: string[] |
|
|
171
|
-
security?: Record<string, string[]>[] |
|
|
168
|
+
examples?: string[] | undefined;
|
|
169
|
+
inputModes?: string[] | undefined;
|
|
170
|
+
outputModes?: string[] | undefined;
|
|
171
|
+
security?: Record<string, string[]>[] | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
name: string;
|
|
174
174
|
id: string;
|
|
175
175
|
description: string;
|
|
176
176
|
tags: string[];
|
|
177
|
-
examples?: string[] |
|
|
178
|
-
inputModes?: string[] |
|
|
179
|
-
outputModes?: string[] |
|
|
180
|
-
security?: Record<string, string[]>[] |
|
|
177
|
+
examples?: string[] | undefined;
|
|
178
|
+
inputModes?: string[] | undefined;
|
|
179
|
+
outputModes?: string[] | undefined;
|
|
180
|
+
security?: Record<string, string[]>[] | undefined;
|
|
181
181
|
}>;
|
|
182
182
|
export type AgentSkill = z.infer<typeof AgentSkillSchema>;
|
|
183
183
|
/**
|
|
@@ -195,15 +195,15 @@ export declare const AgentCardSignatureSchema: z.ZodObject<{
|
|
|
195
195
|
/**
|
|
196
196
|
* @optional The unprotected JWS header values.
|
|
197
197
|
*/
|
|
198
|
-
header: z.
|
|
198
|
+
header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
200
|
protected: string;
|
|
201
201
|
signature: string;
|
|
202
|
-
header?: Record<string, unknown> |
|
|
202
|
+
header?: Record<string, unknown> | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
protected: string;
|
|
205
205
|
signature: string;
|
|
206
|
-
header?: Record<string, unknown> |
|
|
206
|
+
header?: Record<string, unknown> | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
export type AgentCardSignature = z.infer<typeof AgentCardSignatureSchema>;
|
|
209
209
|
/**
|
|
@@ -230,11 +230,11 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
230
230
|
/**
|
|
231
231
|
* @optional The transport protocol for the preferred endpoint.
|
|
232
232
|
*/
|
|
233
|
-
preferredTransport: z.
|
|
233
|
+
preferredTransport: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>>;
|
|
234
234
|
/**
|
|
235
235
|
* @optional Additional supported interfaces (transport and URL combinations).
|
|
236
236
|
*/
|
|
237
|
-
additionalInterfaces: z.
|
|
237
|
+
additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
238
238
|
url: z.ZodString;
|
|
239
239
|
transport: z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -243,15 +243,15 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
243
243
|
}, {
|
|
244
244
|
url: string;
|
|
245
245
|
transport: string;
|
|
246
|
-
}>, "many"
|
|
246
|
+
}>, "many">>;
|
|
247
247
|
/**
|
|
248
248
|
* @optional The URL of the agent's icon.
|
|
249
249
|
*/
|
|
250
|
-
iconUrl: z.
|
|
250
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
251
251
|
/**
|
|
252
252
|
* @optional The service provider of the agent.
|
|
253
253
|
*/
|
|
254
|
-
provider: z.
|
|
254
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
255
255
|
/**
|
|
256
256
|
* @required The name of the organization providing the agent.
|
|
257
257
|
*/
|
|
@@ -266,7 +266,7 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
266
266
|
}, {
|
|
267
267
|
url: string;
|
|
268
268
|
organization: string;
|
|
269
|
-
}
|
|
269
|
+
}>>;
|
|
270
270
|
/**
|
|
271
271
|
* @required The version identifier for the agent or its API.
|
|
272
272
|
*/
|
|
@@ -274,7 +274,7 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
274
274
|
/**
|
|
275
275
|
* @optional An optional URL pointing to the agent's documentation.
|
|
276
276
|
*/
|
|
277
|
-
documentationUrl: z.
|
|
277
|
+
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
278
278
|
/**
|
|
279
279
|
* @required The capabilities supported by the agent.
|
|
280
280
|
*/
|
|
@@ -282,19 +282,19 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
282
282
|
/**
|
|
283
283
|
* @optional Indicates if the agent supports streaming responses.
|
|
284
284
|
*/
|
|
285
|
-
streaming: z.
|
|
285
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
286
286
|
/**
|
|
287
287
|
* @optional Indicates if the agent supports push notification mechanisms.
|
|
288
288
|
*/
|
|
289
|
-
pushNotifications: z.
|
|
289
|
+
pushNotifications: z.ZodOptional<z.ZodBoolean>;
|
|
290
290
|
/**
|
|
291
291
|
* @optional Indicates if the agent supports providing state transition history.
|
|
292
292
|
*/
|
|
293
|
-
stateTransitionHistory: z.
|
|
293
|
+
stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
|
|
294
294
|
/**
|
|
295
295
|
* @optional Extensions supported by this agent.
|
|
296
296
|
*/
|
|
297
|
-
extensions: z.
|
|
297
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
298
|
/**
|
|
299
299
|
* @required The URI of the extension.
|
|
300
300
|
*/
|
|
@@ -302,53 +302,53 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
302
302
|
/**
|
|
303
303
|
* @optional A description of how this agent uses this extension.
|
|
304
304
|
*/
|
|
305
|
-
description: z.
|
|
305
|
+
description: z.ZodOptional<z.ZodString>;
|
|
306
306
|
/**
|
|
307
307
|
* @optional Whether the client must follow specific requirements of the extension.
|
|
308
308
|
*/
|
|
309
|
-
required: z.
|
|
309
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
310
310
|
/**
|
|
311
311
|
* @optional Optional configuration for the extension.
|
|
312
312
|
*/
|
|
313
|
-
params: z.
|
|
313
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
315
|
uri: string;
|
|
316
|
-
required?: boolean |
|
|
317
|
-
description?: string |
|
|
318
|
-
params?: Record<string, unknown> |
|
|
316
|
+
required?: boolean | undefined;
|
|
317
|
+
description?: string | undefined;
|
|
318
|
+
params?: Record<string, unknown> | undefined;
|
|
319
319
|
}, {
|
|
320
320
|
uri: string;
|
|
321
|
-
required?: boolean |
|
|
322
|
-
description?: string |
|
|
323
|
-
params?: Record<string, unknown> |
|
|
324
|
-
}>, "many"
|
|
321
|
+
required?: boolean | undefined;
|
|
322
|
+
description?: string | undefined;
|
|
323
|
+
params?: Record<string, unknown> | undefined;
|
|
324
|
+
}>, "many">>;
|
|
325
325
|
}, "strip", z.ZodTypeAny, {
|
|
326
326
|
extensions?: {
|
|
327
327
|
uri: string;
|
|
328
|
-
required?: boolean |
|
|
329
|
-
description?: string |
|
|
330
|
-
params?: Record<string, unknown> |
|
|
331
|
-
}[] |
|
|
332
|
-
streaming?: boolean |
|
|
333
|
-
pushNotifications?: boolean |
|
|
334
|
-
stateTransitionHistory?: boolean |
|
|
328
|
+
required?: boolean | undefined;
|
|
329
|
+
description?: string | undefined;
|
|
330
|
+
params?: Record<string, unknown> | undefined;
|
|
331
|
+
}[] | undefined;
|
|
332
|
+
streaming?: boolean | undefined;
|
|
333
|
+
pushNotifications?: boolean | undefined;
|
|
334
|
+
stateTransitionHistory?: boolean | undefined;
|
|
335
335
|
}, {
|
|
336
336
|
extensions?: {
|
|
337
337
|
uri: string;
|
|
338
|
-
required?: boolean |
|
|
339
|
-
description?: string |
|
|
340
|
-
params?: Record<string, unknown> |
|
|
341
|
-
}[] |
|
|
342
|
-
streaming?: boolean |
|
|
343
|
-
pushNotifications?: boolean |
|
|
344
|
-
stateTransitionHistory?: boolean |
|
|
338
|
+
required?: boolean | undefined;
|
|
339
|
+
description?: string | undefined;
|
|
340
|
+
params?: Record<string, unknown> | undefined;
|
|
341
|
+
}[] | undefined;
|
|
342
|
+
streaming?: boolean | undefined;
|
|
343
|
+
pushNotifications?: boolean | undefined;
|
|
344
|
+
stateTransitionHistory?: boolean | undefined;
|
|
345
345
|
}>;
|
|
346
346
|
/**
|
|
347
347
|
* @optional Security scheme details used for authenticating with this agent.
|
|
348
348
|
* Maps scheme names to their configurations.
|
|
349
349
|
*/
|
|
350
|
-
securitySchemes: z.
|
|
351
|
-
description: z.
|
|
350
|
+
securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
351
|
+
description: z.ZodOptional<z.ZodString>;
|
|
352
352
|
} & {
|
|
353
353
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
354
354
|
in: z.ZodEnum<["query", "header", "cookie"]>;
|
|
@@ -357,134 +357,134 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
357
357
|
name: string;
|
|
358
358
|
type: "apiKey";
|
|
359
359
|
in: "header" | "query" | "cookie";
|
|
360
|
-
description?: string |
|
|
360
|
+
description?: string | undefined;
|
|
361
361
|
}, {
|
|
362
362
|
name: string;
|
|
363
363
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
364
364
|
in: "header" | "query" | "cookie";
|
|
365
|
-
description?: string |
|
|
365
|
+
description?: string | undefined;
|
|
366
366
|
}>, z.ZodObject<{
|
|
367
|
-
description: z.
|
|
367
|
+
description: z.ZodOptional<z.ZodString>;
|
|
368
368
|
} & {
|
|
369
369
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
370
370
|
scheme: z.ZodString;
|
|
371
|
-
bearerFormat: z.
|
|
371
|
+
bearerFormat: z.ZodOptional<z.ZodString>;
|
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
373
|
type: "http";
|
|
374
374
|
scheme: string;
|
|
375
|
-
description?: string |
|
|
376
|
-
bearerFormat?: string |
|
|
375
|
+
description?: string | undefined;
|
|
376
|
+
bearerFormat?: string | undefined;
|
|
377
377
|
}, {
|
|
378
378
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
379
379
|
scheme: string;
|
|
380
|
-
description?: string |
|
|
381
|
-
bearerFormat?: string |
|
|
380
|
+
description?: string | undefined;
|
|
381
|
+
bearerFormat?: string | undefined;
|
|
382
382
|
}>, z.ZodObject<{
|
|
383
|
-
description: z.
|
|
383
|
+
description: z.ZodOptional<z.ZodString>;
|
|
384
384
|
} & {
|
|
385
385
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
386
386
|
flows: z.ZodObject<{
|
|
387
|
-
authorizationCode: z.
|
|
387
|
+
authorizationCode: z.ZodOptional<z.ZodObject<{
|
|
388
388
|
authorizationUrl: z.ZodString;
|
|
389
389
|
tokenUrl: z.ZodString;
|
|
390
|
-
refreshUrl: z.
|
|
390
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
391
391
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
392
392
|
}, "strip", z.ZodTypeAny, {
|
|
393
393
|
authorizationUrl: string;
|
|
394
394
|
tokenUrl: string;
|
|
395
395
|
scopes: Record<string, string>;
|
|
396
|
-
refreshUrl?: string |
|
|
396
|
+
refreshUrl?: string | undefined;
|
|
397
397
|
}, {
|
|
398
398
|
authorizationUrl: string;
|
|
399
399
|
tokenUrl: string;
|
|
400
400
|
scopes: Record<string, string>;
|
|
401
|
-
refreshUrl?: string |
|
|
402
|
-
}
|
|
403
|
-
clientCredentials: z.
|
|
401
|
+
refreshUrl?: string | undefined;
|
|
402
|
+
}>>;
|
|
403
|
+
clientCredentials: z.ZodOptional<z.ZodObject<{
|
|
404
404
|
tokenUrl: z.ZodString;
|
|
405
|
-
refreshUrl: z.
|
|
405
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
406
406
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
408
|
tokenUrl: string;
|
|
409
409
|
scopes: Record<string, string>;
|
|
410
|
-
refreshUrl?: string |
|
|
410
|
+
refreshUrl?: string | undefined;
|
|
411
411
|
}, {
|
|
412
412
|
tokenUrl: string;
|
|
413
413
|
scopes: Record<string, string>;
|
|
414
|
-
refreshUrl?: string |
|
|
415
|
-
}
|
|
416
|
-
implicit: z.
|
|
414
|
+
refreshUrl?: string | undefined;
|
|
415
|
+
}>>;
|
|
416
|
+
implicit: z.ZodOptional<z.ZodObject<{
|
|
417
417
|
authorizationUrl: z.ZodString;
|
|
418
|
-
refreshUrl: z.
|
|
418
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
419
419
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
421
|
authorizationUrl: string;
|
|
422
422
|
scopes: Record<string, string>;
|
|
423
|
-
refreshUrl?: string |
|
|
423
|
+
refreshUrl?: string | undefined;
|
|
424
424
|
}, {
|
|
425
425
|
authorizationUrl: string;
|
|
426
426
|
scopes: Record<string, string>;
|
|
427
|
-
refreshUrl?: string |
|
|
428
|
-
}
|
|
429
|
-
password: z.
|
|
427
|
+
refreshUrl?: string | undefined;
|
|
428
|
+
}>>;
|
|
429
|
+
password: z.ZodOptional<z.ZodObject<{
|
|
430
430
|
tokenUrl: z.ZodString;
|
|
431
|
-
refreshUrl: z.
|
|
431
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
432
432
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
434
|
tokenUrl: string;
|
|
435
435
|
scopes: Record<string, string>;
|
|
436
|
-
refreshUrl?: string |
|
|
436
|
+
refreshUrl?: string | undefined;
|
|
437
437
|
}, {
|
|
438
438
|
tokenUrl: string;
|
|
439
439
|
scopes: Record<string, string>;
|
|
440
|
-
refreshUrl?: string |
|
|
441
|
-
}
|
|
440
|
+
refreshUrl?: string | undefined;
|
|
441
|
+
}>>;
|
|
442
442
|
}, "strip", z.ZodTypeAny, {
|
|
443
443
|
authorizationCode?: {
|
|
444
444
|
authorizationUrl: string;
|
|
445
445
|
tokenUrl: string;
|
|
446
446
|
scopes: Record<string, string>;
|
|
447
|
-
refreshUrl?: string |
|
|
448
|
-
} |
|
|
447
|
+
refreshUrl?: string | undefined;
|
|
448
|
+
} | undefined;
|
|
449
449
|
clientCredentials?: {
|
|
450
450
|
tokenUrl: string;
|
|
451
451
|
scopes: Record<string, string>;
|
|
452
|
-
refreshUrl?: string |
|
|
453
|
-
} |
|
|
452
|
+
refreshUrl?: string | undefined;
|
|
453
|
+
} | undefined;
|
|
454
454
|
implicit?: {
|
|
455
455
|
authorizationUrl: string;
|
|
456
456
|
scopes: Record<string, string>;
|
|
457
|
-
refreshUrl?: string |
|
|
458
|
-
} |
|
|
457
|
+
refreshUrl?: string | undefined;
|
|
458
|
+
} | undefined;
|
|
459
459
|
password?: {
|
|
460
460
|
tokenUrl: string;
|
|
461
461
|
scopes: Record<string, string>;
|
|
462
|
-
refreshUrl?: string |
|
|
463
|
-
} |
|
|
462
|
+
refreshUrl?: string | undefined;
|
|
463
|
+
} | undefined;
|
|
464
464
|
}, {
|
|
465
465
|
authorizationCode?: {
|
|
466
466
|
authorizationUrl: string;
|
|
467
467
|
tokenUrl: string;
|
|
468
468
|
scopes: Record<string, string>;
|
|
469
|
-
refreshUrl?: string |
|
|
470
|
-
} |
|
|
469
|
+
refreshUrl?: string | undefined;
|
|
470
|
+
} | undefined;
|
|
471
471
|
clientCredentials?: {
|
|
472
472
|
tokenUrl: string;
|
|
473
473
|
scopes: Record<string, string>;
|
|
474
|
-
refreshUrl?: string |
|
|
475
|
-
} |
|
|
474
|
+
refreshUrl?: string | undefined;
|
|
475
|
+
} | undefined;
|
|
476
476
|
implicit?: {
|
|
477
477
|
authorizationUrl: string;
|
|
478
478
|
scopes: Record<string, string>;
|
|
479
|
-
refreshUrl?: string |
|
|
480
|
-
} |
|
|
479
|
+
refreshUrl?: string | undefined;
|
|
480
|
+
} | undefined;
|
|
481
481
|
password?: {
|
|
482
482
|
tokenUrl: string;
|
|
483
483
|
scopes: Record<string, string>;
|
|
484
|
-
refreshUrl?: string |
|
|
485
|
-
} |
|
|
484
|
+
refreshUrl?: string | undefined;
|
|
485
|
+
} | undefined;
|
|
486
486
|
}>;
|
|
487
|
-
oauth2MetadataUrl: z.
|
|
487
|
+
oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
|
|
488
488
|
}, "strip", z.ZodTypeAny, {
|
|
489
489
|
type: "oauth2";
|
|
490
490
|
flows: {
|
|
@@ -492,26 +492,26 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
492
492
|
authorizationUrl: string;
|
|
493
493
|
tokenUrl: string;
|
|
494
494
|
scopes: Record<string, string>;
|
|
495
|
-
refreshUrl?: string |
|
|
496
|
-
} |
|
|
495
|
+
refreshUrl?: string | undefined;
|
|
496
|
+
} | undefined;
|
|
497
497
|
clientCredentials?: {
|
|
498
498
|
tokenUrl: string;
|
|
499
499
|
scopes: Record<string, string>;
|
|
500
|
-
refreshUrl?: string |
|
|
501
|
-
} |
|
|
500
|
+
refreshUrl?: string | undefined;
|
|
501
|
+
} | undefined;
|
|
502
502
|
implicit?: {
|
|
503
503
|
authorizationUrl: string;
|
|
504
504
|
scopes: Record<string, string>;
|
|
505
|
-
refreshUrl?: string |
|
|
506
|
-
} |
|
|
505
|
+
refreshUrl?: string | undefined;
|
|
506
|
+
} | undefined;
|
|
507
507
|
password?: {
|
|
508
508
|
tokenUrl: string;
|
|
509
509
|
scopes: Record<string, string>;
|
|
510
|
-
refreshUrl?: string |
|
|
511
|
-
} |
|
|
510
|
+
refreshUrl?: string | undefined;
|
|
511
|
+
} | undefined;
|
|
512
512
|
};
|
|
513
|
-
description?: string |
|
|
514
|
-
oauth2MetadataUrl?: string |
|
|
513
|
+
description?: string | undefined;
|
|
514
|
+
oauth2MetadataUrl?: string | undefined;
|
|
515
515
|
}, {
|
|
516
516
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
517
517
|
flows: {
|
|
@@ -519,55 +519,55 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
519
519
|
authorizationUrl: string;
|
|
520
520
|
tokenUrl: string;
|
|
521
521
|
scopes: Record<string, string>;
|
|
522
|
-
refreshUrl?: string |
|
|
523
|
-
} |
|
|
522
|
+
refreshUrl?: string | undefined;
|
|
523
|
+
} | undefined;
|
|
524
524
|
clientCredentials?: {
|
|
525
525
|
tokenUrl: string;
|
|
526
526
|
scopes: Record<string, string>;
|
|
527
|
-
refreshUrl?: string |
|
|
528
|
-
} |
|
|
527
|
+
refreshUrl?: string | undefined;
|
|
528
|
+
} | undefined;
|
|
529
529
|
implicit?: {
|
|
530
530
|
authorizationUrl: string;
|
|
531
531
|
scopes: Record<string, string>;
|
|
532
|
-
refreshUrl?: string |
|
|
533
|
-
} |
|
|
532
|
+
refreshUrl?: string | undefined;
|
|
533
|
+
} | undefined;
|
|
534
534
|
password?: {
|
|
535
535
|
tokenUrl: string;
|
|
536
536
|
scopes: Record<string, string>;
|
|
537
|
-
refreshUrl?: string |
|
|
538
|
-
} |
|
|
537
|
+
refreshUrl?: string | undefined;
|
|
538
|
+
} | undefined;
|
|
539
539
|
};
|
|
540
|
-
description?: string |
|
|
541
|
-
oauth2MetadataUrl?: string |
|
|
540
|
+
description?: string | undefined;
|
|
541
|
+
oauth2MetadataUrl?: string | undefined;
|
|
542
542
|
}>, z.ZodObject<{
|
|
543
|
-
description: z.
|
|
543
|
+
description: z.ZodOptional<z.ZodString>;
|
|
544
544
|
} & {
|
|
545
545
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
546
546
|
openIdConnectUrl: z.ZodString;
|
|
547
547
|
}, "strip", z.ZodTypeAny, {
|
|
548
548
|
type: "openIdConnect";
|
|
549
549
|
openIdConnectUrl: string;
|
|
550
|
-
description?: string |
|
|
550
|
+
description?: string | undefined;
|
|
551
551
|
}, {
|
|
552
552
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
553
553
|
openIdConnectUrl: string;
|
|
554
|
-
description?: string |
|
|
554
|
+
description?: string | undefined;
|
|
555
555
|
}>, z.ZodObject<{
|
|
556
|
-
description: z.
|
|
556
|
+
description: z.ZodOptional<z.ZodString>;
|
|
557
557
|
} & {
|
|
558
558
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
559
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
560
|
type: "mutualTLS";
|
|
561
|
-
description?: string |
|
|
561
|
+
description?: string | undefined;
|
|
562
562
|
}, {
|
|
563
563
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
564
|
-
description?: string |
|
|
565
|
-
}>]
|
|
564
|
+
description?: string | undefined;
|
|
565
|
+
}>]>>>;
|
|
566
566
|
/**
|
|
567
567
|
* @optional Security requirements for contacting the agent.
|
|
568
568
|
* Array of security requirement objects, where each object maps scheme names to scope arrays.
|
|
569
569
|
*/
|
|
570
|
-
security: z.
|
|
570
|
+
security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
|
|
571
571
|
/**
|
|
572
572
|
* @required The default input modes supported by the agent.
|
|
573
573
|
*/
|
|
@@ -599,46 +599,46 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
599
599
|
/**
|
|
600
600
|
* @optional List of example inputs or use cases for the skill.
|
|
601
601
|
*/
|
|
602
|
-
examples: z.
|
|
602
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
603
603
|
/**
|
|
604
604
|
* @optional List of input modes supported by this skill.
|
|
605
605
|
*/
|
|
606
|
-
inputModes: z.
|
|
606
|
+
inputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
607
607
|
/**
|
|
608
608
|
* @optional List of output modes supported by this skill.
|
|
609
609
|
*/
|
|
610
|
-
outputModes: z.
|
|
610
|
+
outputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
611
611
|
/**
|
|
612
612
|
* @optional Security schemes necessary for the agent to leverage this skill.
|
|
613
613
|
*/
|
|
614
|
-
security: z.
|
|
614
|
+
security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
|
|
615
615
|
}, "strip", z.ZodTypeAny, {
|
|
616
616
|
name: string;
|
|
617
617
|
id: string;
|
|
618
618
|
description: string;
|
|
619
619
|
tags: string[];
|
|
620
|
-
examples?: string[] |
|
|
621
|
-
inputModes?: string[] |
|
|
622
|
-
outputModes?: string[] |
|
|
623
|
-
security?: Record<string, string[]>[] |
|
|
620
|
+
examples?: string[] | undefined;
|
|
621
|
+
inputModes?: string[] | undefined;
|
|
622
|
+
outputModes?: string[] | undefined;
|
|
623
|
+
security?: Record<string, string[]>[] | undefined;
|
|
624
624
|
}, {
|
|
625
625
|
name: string;
|
|
626
626
|
id: string;
|
|
627
627
|
description: string;
|
|
628
628
|
tags: string[];
|
|
629
|
-
examples?: string[] |
|
|
630
|
-
inputModes?: string[] |
|
|
631
|
-
outputModes?: string[] |
|
|
632
|
-
security?: Record<string, string[]>[] |
|
|
629
|
+
examples?: string[] | undefined;
|
|
630
|
+
inputModes?: string[] | undefined;
|
|
631
|
+
outputModes?: string[] | undefined;
|
|
632
|
+
security?: Record<string, string[]>[] | undefined;
|
|
633
633
|
}>, "many">;
|
|
634
634
|
/**
|
|
635
635
|
* @optional True if the agent supports providing an extended agent card when the user is authenticated.
|
|
636
636
|
*/
|
|
637
|
-
supportsAuthenticatedExtendedCard: z.
|
|
637
|
+
supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
|
|
638
638
|
/**
|
|
639
639
|
* @optional JSON Web Signatures computed for this AgentCard.
|
|
640
640
|
*/
|
|
641
|
-
signatures: z.
|
|
641
|
+
signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
642
642
|
/**
|
|
643
643
|
* @required The protected JWS header for the signature.
|
|
644
644
|
*/
|
|
@@ -650,16 +650,16 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
650
650
|
/**
|
|
651
651
|
* @optional The unprotected JWS header values.
|
|
652
652
|
*/
|
|
653
|
-
header: z.
|
|
653
|
+
header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
654
654
|
}, "strip", z.ZodTypeAny, {
|
|
655
655
|
protected: string;
|
|
656
656
|
signature: string;
|
|
657
|
-
header?: Record<string, unknown> |
|
|
657
|
+
header?: Record<string, unknown> | undefined;
|
|
658
658
|
}, {
|
|
659
659
|
protected: string;
|
|
660
660
|
signature: string;
|
|
661
|
-
header?: Record<string, unknown> |
|
|
662
|
-
}>, "many"
|
|
661
|
+
header?: Record<string, unknown> | undefined;
|
|
662
|
+
}>, "many">>;
|
|
663
663
|
}, "strip", z.ZodTypeAny, {
|
|
664
664
|
name: string;
|
|
665
665
|
url: string;
|
|
@@ -669,13 +669,13 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
669
669
|
capabilities: {
|
|
670
670
|
extensions?: {
|
|
671
671
|
uri: string;
|
|
672
|
-
required?: boolean |
|
|
673
|
-
description?: string |
|
|
674
|
-
params?: Record<string, unknown> |
|
|
675
|
-
}[] |
|
|
676
|
-
streaming?: boolean |
|
|
677
|
-
pushNotifications?: boolean |
|
|
678
|
-
stateTransitionHistory?: boolean |
|
|
672
|
+
required?: boolean | undefined;
|
|
673
|
+
description?: string | undefined;
|
|
674
|
+
params?: Record<string, unknown> | undefined;
|
|
675
|
+
}[] | undefined;
|
|
676
|
+
streaming?: boolean | undefined;
|
|
677
|
+
pushNotifications?: boolean | undefined;
|
|
678
|
+
stateTransitionHistory?: boolean | undefined;
|
|
679
679
|
};
|
|
680
680
|
defaultInputModes: string[];
|
|
681
681
|
defaultOutputModes: string[];
|
|
@@ -684,33 +684,33 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
684
684
|
id: string;
|
|
685
685
|
description: string;
|
|
686
686
|
tags: string[];
|
|
687
|
-
examples?: string[] |
|
|
688
|
-
inputModes?: string[] |
|
|
689
|
-
outputModes?: string[] |
|
|
690
|
-
security?: Record<string, string[]>[] |
|
|
687
|
+
examples?: string[] | undefined;
|
|
688
|
+
inputModes?: string[] | undefined;
|
|
689
|
+
outputModes?: string[] | undefined;
|
|
690
|
+
security?: Record<string, string[]>[] | undefined;
|
|
691
691
|
}[];
|
|
692
|
-
security?: Record<string, string[]>[] |
|
|
693
|
-
preferredTransport?: string |
|
|
692
|
+
security?: Record<string, string[]>[] | undefined;
|
|
693
|
+
preferredTransport?: string | undefined;
|
|
694
694
|
additionalInterfaces?: {
|
|
695
695
|
url: string;
|
|
696
696
|
transport: string;
|
|
697
|
-
}[] |
|
|
698
|
-
iconUrl?: string |
|
|
697
|
+
}[] | undefined;
|
|
698
|
+
iconUrl?: string | undefined;
|
|
699
699
|
provider?: {
|
|
700
700
|
url: string;
|
|
701
701
|
organization: string;
|
|
702
|
-
} |
|
|
703
|
-
documentationUrl?: string |
|
|
702
|
+
} | undefined;
|
|
703
|
+
documentationUrl?: string | undefined;
|
|
704
704
|
securitySchemes?: Record<string, {
|
|
705
705
|
name: string;
|
|
706
706
|
type: "apiKey";
|
|
707
707
|
in: "header" | "query" | "cookie";
|
|
708
|
-
description?: string |
|
|
708
|
+
description?: string | undefined;
|
|
709
709
|
} | {
|
|
710
710
|
type: "http";
|
|
711
711
|
scheme: string;
|
|
712
|
-
description?: string |
|
|
713
|
-
bearerFormat?: string |
|
|
712
|
+
description?: string | undefined;
|
|
713
|
+
bearerFormat?: string | undefined;
|
|
714
714
|
} | {
|
|
715
715
|
type: "oauth2";
|
|
716
716
|
flows: {
|
|
@@ -718,40 +718,40 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
718
718
|
authorizationUrl: string;
|
|
719
719
|
tokenUrl: string;
|
|
720
720
|
scopes: Record<string, string>;
|
|
721
|
-
refreshUrl?: string |
|
|
722
|
-
} |
|
|
721
|
+
refreshUrl?: string | undefined;
|
|
722
|
+
} | undefined;
|
|
723
723
|
clientCredentials?: {
|
|
724
724
|
tokenUrl: string;
|
|
725
725
|
scopes: Record<string, string>;
|
|
726
|
-
refreshUrl?: string |
|
|
727
|
-
} |
|
|
726
|
+
refreshUrl?: string | undefined;
|
|
727
|
+
} | undefined;
|
|
728
728
|
implicit?: {
|
|
729
729
|
authorizationUrl: string;
|
|
730
730
|
scopes: Record<string, string>;
|
|
731
|
-
refreshUrl?: string |
|
|
732
|
-
} |
|
|
731
|
+
refreshUrl?: string | undefined;
|
|
732
|
+
} | undefined;
|
|
733
733
|
password?: {
|
|
734
734
|
tokenUrl: string;
|
|
735
735
|
scopes: Record<string, string>;
|
|
736
|
-
refreshUrl?: string |
|
|
737
|
-
} |
|
|
736
|
+
refreshUrl?: string | undefined;
|
|
737
|
+
} | undefined;
|
|
738
738
|
};
|
|
739
|
-
description?: string |
|
|
740
|
-
oauth2MetadataUrl?: string |
|
|
739
|
+
description?: string | undefined;
|
|
740
|
+
oauth2MetadataUrl?: string | undefined;
|
|
741
741
|
} | {
|
|
742
742
|
type: "openIdConnect";
|
|
743
743
|
openIdConnectUrl: string;
|
|
744
|
-
description?: string |
|
|
744
|
+
description?: string | undefined;
|
|
745
745
|
} | {
|
|
746
746
|
type: "mutualTLS";
|
|
747
|
-
description?: string |
|
|
748
|
-
}> |
|
|
749
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
747
|
+
description?: string | undefined;
|
|
748
|
+
}> | undefined;
|
|
749
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
750
750
|
signatures?: {
|
|
751
751
|
protected: string;
|
|
752
752
|
signature: string;
|
|
753
|
-
header?: Record<string, unknown> |
|
|
754
|
-
}[] |
|
|
753
|
+
header?: Record<string, unknown> | undefined;
|
|
754
|
+
}[] | undefined;
|
|
755
755
|
}, {
|
|
756
756
|
name: string;
|
|
757
757
|
url: string;
|
|
@@ -760,13 +760,13 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
760
760
|
capabilities: {
|
|
761
761
|
extensions?: {
|
|
762
762
|
uri: string;
|
|
763
|
-
required?: boolean |
|
|
764
|
-
description?: string |
|
|
765
|
-
params?: Record<string, unknown> |
|
|
766
|
-
}[] |
|
|
767
|
-
streaming?: boolean |
|
|
768
|
-
pushNotifications?: boolean |
|
|
769
|
-
stateTransitionHistory?: boolean |
|
|
763
|
+
required?: boolean | undefined;
|
|
764
|
+
description?: string | undefined;
|
|
765
|
+
params?: Record<string, unknown> | undefined;
|
|
766
|
+
}[] | undefined;
|
|
767
|
+
streaming?: boolean | undefined;
|
|
768
|
+
pushNotifications?: boolean | undefined;
|
|
769
|
+
stateTransitionHistory?: boolean | undefined;
|
|
770
770
|
};
|
|
771
771
|
defaultInputModes: string[];
|
|
772
772
|
defaultOutputModes: string[];
|
|
@@ -775,34 +775,34 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
775
775
|
id: string;
|
|
776
776
|
description: string;
|
|
777
777
|
tags: string[];
|
|
778
|
-
examples?: string[] |
|
|
779
|
-
inputModes?: string[] |
|
|
780
|
-
outputModes?: string[] |
|
|
781
|
-
security?: Record<string, string[]>[] |
|
|
778
|
+
examples?: string[] | undefined;
|
|
779
|
+
inputModes?: string[] | undefined;
|
|
780
|
+
outputModes?: string[] | undefined;
|
|
781
|
+
security?: Record<string, string[]>[] | undefined;
|
|
782
782
|
}[];
|
|
783
|
-
security?: Record<string, string[]>[] |
|
|
783
|
+
security?: Record<string, string[]>[] | undefined;
|
|
784
784
|
protocolVersion?: string | undefined;
|
|
785
|
-
preferredTransport?: string |
|
|
785
|
+
preferredTransport?: string | undefined;
|
|
786
786
|
additionalInterfaces?: {
|
|
787
787
|
url: string;
|
|
788
788
|
transport: string;
|
|
789
|
-
}[] |
|
|
790
|
-
iconUrl?: string |
|
|
789
|
+
}[] | undefined;
|
|
790
|
+
iconUrl?: string | undefined;
|
|
791
791
|
provider?: {
|
|
792
792
|
url: string;
|
|
793
793
|
organization: string;
|
|
794
|
-
} |
|
|
795
|
-
documentationUrl?: string |
|
|
794
|
+
} | undefined;
|
|
795
|
+
documentationUrl?: string | undefined;
|
|
796
796
|
securitySchemes?: Record<string, {
|
|
797
797
|
name: string;
|
|
798
798
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
799
799
|
in: "header" | "query" | "cookie";
|
|
800
|
-
description?: string |
|
|
800
|
+
description?: string | undefined;
|
|
801
801
|
} | {
|
|
802
802
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
803
803
|
scheme: string;
|
|
804
|
-
description?: string |
|
|
805
|
-
bearerFormat?: string |
|
|
804
|
+
description?: string | undefined;
|
|
805
|
+
bearerFormat?: string | undefined;
|
|
806
806
|
} | {
|
|
807
807
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
808
808
|
flows: {
|
|
@@ -810,40 +810,40 @@ export declare const AgentCardSchema: z.ZodObject<{
|
|
|
810
810
|
authorizationUrl: string;
|
|
811
811
|
tokenUrl: string;
|
|
812
812
|
scopes: Record<string, string>;
|
|
813
|
-
refreshUrl?: string |
|
|
814
|
-
} |
|
|
813
|
+
refreshUrl?: string | undefined;
|
|
814
|
+
} | undefined;
|
|
815
815
|
clientCredentials?: {
|
|
816
816
|
tokenUrl: string;
|
|
817
817
|
scopes: Record<string, string>;
|
|
818
|
-
refreshUrl?: string |
|
|
819
|
-
} |
|
|
818
|
+
refreshUrl?: string | undefined;
|
|
819
|
+
} | undefined;
|
|
820
820
|
implicit?: {
|
|
821
821
|
authorizationUrl: string;
|
|
822
822
|
scopes: Record<string, string>;
|
|
823
|
-
refreshUrl?: string |
|
|
824
|
-
} |
|
|
823
|
+
refreshUrl?: string | undefined;
|
|
824
|
+
} | undefined;
|
|
825
825
|
password?: {
|
|
826
826
|
tokenUrl: string;
|
|
827
827
|
scopes: Record<string, string>;
|
|
828
|
-
refreshUrl?: string |
|
|
829
|
-
} |
|
|
828
|
+
refreshUrl?: string | undefined;
|
|
829
|
+
} | undefined;
|
|
830
830
|
};
|
|
831
|
-
description?: string |
|
|
832
|
-
oauth2MetadataUrl?: string |
|
|
831
|
+
description?: string | undefined;
|
|
832
|
+
oauth2MetadataUrl?: string | undefined;
|
|
833
833
|
} | {
|
|
834
834
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
835
835
|
openIdConnectUrl: string;
|
|
836
|
-
description?: string |
|
|
836
|
+
description?: string | undefined;
|
|
837
837
|
} | {
|
|
838
838
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
839
|
-
description?: string |
|
|
840
|
-
}> |
|
|
841
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
839
|
+
description?: string | undefined;
|
|
840
|
+
}> | undefined;
|
|
841
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
842
842
|
signatures?: {
|
|
843
843
|
protected: string;
|
|
844
844
|
signature: string;
|
|
845
|
-
header?: Record<string, unknown> |
|
|
846
|
-
}[] |
|
|
845
|
+
header?: Record<string, unknown> | undefined;
|
|
846
|
+
}[] | undefined;
|
|
847
847
|
}>;
|
|
848
848
|
export type AgentCard = z.infer<typeof AgentCardSchema>;
|
|
849
849
|
/**
|
|
@@ -872,8 +872,8 @@ export type GetAuthenticatedExtendedCardRequest = z.infer<typeof GetAuthenticate
|
|
|
872
872
|
*/
|
|
873
873
|
export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObject<{
|
|
874
874
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
875
|
-
id: z.
|
|
876
|
-
error: z.
|
|
875
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
876
|
+
error: z.ZodOptional<z.ZodNever>;
|
|
877
877
|
} & {
|
|
878
878
|
result: z.ZodObject<{
|
|
879
879
|
/**
|
|
@@ -895,11 +895,11 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
895
895
|
/**
|
|
896
896
|
* @optional The transport protocol for the preferred endpoint.
|
|
897
897
|
*/
|
|
898
|
-
preferredTransport: z.
|
|
898
|
+
preferredTransport: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>>;
|
|
899
899
|
/**
|
|
900
900
|
* @optional Additional supported interfaces (transport and URL combinations).
|
|
901
901
|
*/
|
|
902
|
-
additionalInterfaces: z.
|
|
902
|
+
additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
903
903
|
url: z.ZodString;
|
|
904
904
|
transport: z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>;
|
|
905
905
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -908,15 +908,15 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
908
908
|
}, {
|
|
909
909
|
url: string;
|
|
910
910
|
transport: string;
|
|
911
|
-
}>, "many"
|
|
911
|
+
}>, "many">>;
|
|
912
912
|
/**
|
|
913
913
|
* @optional The URL of the agent's icon.
|
|
914
914
|
*/
|
|
915
|
-
iconUrl: z.
|
|
915
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
916
916
|
/**
|
|
917
917
|
* @optional The service provider of the agent.
|
|
918
918
|
*/
|
|
919
|
-
provider: z.
|
|
919
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
920
920
|
/**
|
|
921
921
|
* @required The name of the organization providing the agent.
|
|
922
922
|
*/
|
|
@@ -931,7 +931,7 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
931
931
|
}, {
|
|
932
932
|
url: string;
|
|
933
933
|
organization: string;
|
|
934
|
-
}
|
|
934
|
+
}>>;
|
|
935
935
|
/**
|
|
936
936
|
* @required The version identifier for the agent or its API.
|
|
937
937
|
*/
|
|
@@ -939,7 +939,7 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
939
939
|
/**
|
|
940
940
|
* @optional An optional URL pointing to the agent's documentation.
|
|
941
941
|
*/
|
|
942
|
-
documentationUrl: z.
|
|
942
|
+
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
943
943
|
/**
|
|
944
944
|
* @required The capabilities supported by the agent.
|
|
945
945
|
*/
|
|
@@ -947,19 +947,19 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
947
947
|
/**
|
|
948
948
|
* @optional Indicates if the agent supports streaming responses.
|
|
949
949
|
*/
|
|
950
|
-
streaming: z.
|
|
950
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
951
951
|
/**
|
|
952
952
|
* @optional Indicates if the agent supports push notification mechanisms.
|
|
953
953
|
*/
|
|
954
|
-
pushNotifications: z.
|
|
954
|
+
pushNotifications: z.ZodOptional<z.ZodBoolean>;
|
|
955
955
|
/**
|
|
956
956
|
* @optional Indicates if the agent supports providing state transition history.
|
|
957
957
|
*/
|
|
958
|
-
stateTransitionHistory: z.
|
|
958
|
+
stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
|
|
959
959
|
/**
|
|
960
960
|
* @optional Extensions supported by this agent.
|
|
961
961
|
*/
|
|
962
|
-
extensions: z.
|
|
962
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
963
963
|
/**
|
|
964
964
|
* @required The URI of the extension.
|
|
965
965
|
*/
|
|
@@ -967,53 +967,53 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
967
967
|
/**
|
|
968
968
|
* @optional A description of how this agent uses this extension.
|
|
969
969
|
*/
|
|
970
|
-
description: z.
|
|
970
|
+
description: z.ZodOptional<z.ZodString>;
|
|
971
971
|
/**
|
|
972
972
|
* @optional Whether the client must follow specific requirements of the extension.
|
|
973
973
|
*/
|
|
974
|
-
required: z.
|
|
974
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
975
975
|
/**
|
|
976
976
|
* @optional Optional configuration for the extension.
|
|
977
977
|
*/
|
|
978
|
-
params: z.
|
|
978
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
979
979
|
}, "strip", z.ZodTypeAny, {
|
|
980
980
|
uri: string;
|
|
981
|
-
required?: boolean |
|
|
982
|
-
description?: string |
|
|
983
|
-
params?: Record<string, unknown> |
|
|
981
|
+
required?: boolean | undefined;
|
|
982
|
+
description?: string | undefined;
|
|
983
|
+
params?: Record<string, unknown> | undefined;
|
|
984
984
|
}, {
|
|
985
985
|
uri: string;
|
|
986
|
-
required?: boolean |
|
|
987
|
-
description?: string |
|
|
988
|
-
params?: Record<string, unknown> |
|
|
989
|
-
}>, "many"
|
|
986
|
+
required?: boolean | undefined;
|
|
987
|
+
description?: string | undefined;
|
|
988
|
+
params?: Record<string, unknown> | undefined;
|
|
989
|
+
}>, "many">>;
|
|
990
990
|
}, "strip", z.ZodTypeAny, {
|
|
991
991
|
extensions?: {
|
|
992
992
|
uri: string;
|
|
993
|
-
required?: boolean |
|
|
994
|
-
description?: string |
|
|
995
|
-
params?: Record<string, unknown> |
|
|
996
|
-
}[] |
|
|
997
|
-
streaming?: boolean |
|
|
998
|
-
pushNotifications?: boolean |
|
|
999
|
-
stateTransitionHistory?: boolean |
|
|
993
|
+
required?: boolean | undefined;
|
|
994
|
+
description?: string | undefined;
|
|
995
|
+
params?: Record<string, unknown> | undefined;
|
|
996
|
+
}[] | undefined;
|
|
997
|
+
streaming?: boolean | undefined;
|
|
998
|
+
pushNotifications?: boolean | undefined;
|
|
999
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1000
1000
|
}, {
|
|
1001
1001
|
extensions?: {
|
|
1002
1002
|
uri: string;
|
|
1003
|
-
required?: boolean |
|
|
1004
|
-
description?: string |
|
|
1005
|
-
params?: Record<string, unknown> |
|
|
1006
|
-
}[] |
|
|
1007
|
-
streaming?: boolean |
|
|
1008
|
-
pushNotifications?: boolean |
|
|
1009
|
-
stateTransitionHistory?: boolean |
|
|
1003
|
+
required?: boolean | undefined;
|
|
1004
|
+
description?: string | undefined;
|
|
1005
|
+
params?: Record<string, unknown> | undefined;
|
|
1006
|
+
}[] | undefined;
|
|
1007
|
+
streaming?: boolean | undefined;
|
|
1008
|
+
pushNotifications?: boolean | undefined;
|
|
1009
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1010
1010
|
}>;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* @optional Security scheme details used for authenticating with this agent.
|
|
1013
1013
|
* Maps scheme names to their configurations.
|
|
1014
1014
|
*/
|
|
1015
|
-
securitySchemes: z.
|
|
1016
|
-
description: z.
|
|
1015
|
+
securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
1016
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1017
1017
|
} & {
|
|
1018
1018
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1019
1019
|
in: z.ZodEnum<["query", "header", "cookie"]>;
|
|
@@ -1022,134 +1022,134 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1022
1022
|
name: string;
|
|
1023
1023
|
type: "apiKey";
|
|
1024
1024
|
in: "header" | "query" | "cookie";
|
|
1025
|
-
description?: string |
|
|
1025
|
+
description?: string | undefined;
|
|
1026
1026
|
}, {
|
|
1027
1027
|
name: string;
|
|
1028
1028
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1029
1029
|
in: "header" | "query" | "cookie";
|
|
1030
|
-
description?: string |
|
|
1030
|
+
description?: string | undefined;
|
|
1031
1031
|
}>, z.ZodObject<{
|
|
1032
|
-
description: z.
|
|
1032
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1033
1033
|
} & {
|
|
1034
1034
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1035
1035
|
scheme: z.ZodString;
|
|
1036
|
-
bearerFormat: z.
|
|
1036
|
+
bearerFormat: z.ZodOptional<z.ZodString>;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
1038
|
type: "http";
|
|
1039
1039
|
scheme: string;
|
|
1040
|
-
description?: string |
|
|
1041
|
-
bearerFormat?: string |
|
|
1040
|
+
description?: string | undefined;
|
|
1041
|
+
bearerFormat?: string | undefined;
|
|
1042
1042
|
}, {
|
|
1043
1043
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1044
1044
|
scheme: string;
|
|
1045
|
-
description?: string |
|
|
1046
|
-
bearerFormat?: string |
|
|
1045
|
+
description?: string | undefined;
|
|
1046
|
+
bearerFormat?: string | undefined;
|
|
1047
1047
|
}>, z.ZodObject<{
|
|
1048
|
-
description: z.
|
|
1048
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1049
1049
|
} & {
|
|
1050
1050
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1051
1051
|
flows: z.ZodObject<{
|
|
1052
|
-
authorizationCode: z.
|
|
1052
|
+
authorizationCode: z.ZodOptional<z.ZodObject<{
|
|
1053
1053
|
authorizationUrl: z.ZodString;
|
|
1054
1054
|
tokenUrl: z.ZodString;
|
|
1055
|
-
refreshUrl: z.
|
|
1055
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1056
1056
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1057
1057
|
}, "strip", z.ZodTypeAny, {
|
|
1058
1058
|
authorizationUrl: string;
|
|
1059
1059
|
tokenUrl: string;
|
|
1060
1060
|
scopes: Record<string, string>;
|
|
1061
|
-
refreshUrl?: string |
|
|
1061
|
+
refreshUrl?: string | undefined;
|
|
1062
1062
|
}, {
|
|
1063
1063
|
authorizationUrl: string;
|
|
1064
1064
|
tokenUrl: string;
|
|
1065
1065
|
scopes: Record<string, string>;
|
|
1066
|
-
refreshUrl?: string |
|
|
1067
|
-
}
|
|
1068
|
-
clientCredentials: z.
|
|
1066
|
+
refreshUrl?: string | undefined;
|
|
1067
|
+
}>>;
|
|
1068
|
+
clientCredentials: z.ZodOptional<z.ZodObject<{
|
|
1069
1069
|
tokenUrl: z.ZodString;
|
|
1070
|
-
refreshUrl: z.
|
|
1070
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1071
1071
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1072
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1073
1073
|
tokenUrl: string;
|
|
1074
1074
|
scopes: Record<string, string>;
|
|
1075
|
-
refreshUrl?: string |
|
|
1075
|
+
refreshUrl?: string | undefined;
|
|
1076
1076
|
}, {
|
|
1077
1077
|
tokenUrl: string;
|
|
1078
1078
|
scopes: Record<string, string>;
|
|
1079
|
-
refreshUrl?: string |
|
|
1080
|
-
}
|
|
1081
|
-
implicit: z.
|
|
1079
|
+
refreshUrl?: string | undefined;
|
|
1080
|
+
}>>;
|
|
1081
|
+
implicit: z.ZodOptional<z.ZodObject<{
|
|
1082
1082
|
authorizationUrl: z.ZodString;
|
|
1083
|
-
refreshUrl: z.
|
|
1083
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1084
1084
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1085
1085
|
}, "strip", z.ZodTypeAny, {
|
|
1086
1086
|
authorizationUrl: string;
|
|
1087
1087
|
scopes: Record<string, string>;
|
|
1088
|
-
refreshUrl?: string |
|
|
1088
|
+
refreshUrl?: string | undefined;
|
|
1089
1089
|
}, {
|
|
1090
1090
|
authorizationUrl: string;
|
|
1091
1091
|
scopes: Record<string, string>;
|
|
1092
|
-
refreshUrl?: string |
|
|
1093
|
-
}
|
|
1094
|
-
password: z.
|
|
1092
|
+
refreshUrl?: string | undefined;
|
|
1093
|
+
}>>;
|
|
1094
|
+
password: z.ZodOptional<z.ZodObject<{
|
|
1095
1095
|
tokenUrl: z.ZodString;
|
|
1096
|
-
refreshUrl: z.
|
|
1096
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1097
1097
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1098
1098
|
}, "strip", z.ZodTypeAny, {
|
|
1099
1099
|
tokenUrl: string;
|
|
1100
1100
|
scopes: Record<string, string>;
|
|
1101
|
-
refreshUrl?: string |
|
|
1101
|
+
refreshUrl?: string | undefined;
|
|
1102
1102
|
}, {
|
|
1103
1103
|
tokenUrl: string;
|
|
1104
1104
|
scopes: Record<string, string>;
|
|
1105
|
-
refreshUrl?: string |
|
|
1106
|
-
}
|
|
1105
|
+
refreshUrl?: string | undefined;
|
|
1106
|
+
}>>;
|
|
1107
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1108
1108
|
authorizationCode?: {
|
|
1109
1109
|
authorizationUrl: string;
|
|
1110
1110
|
tokenUrl: string;
|
|
1111
1111
|
scopes: Record<string, string>;
|
|
1112
|
-
refreshUrl?: string |
|
|
1113
|
-
} |
|
|
1112
|
+
refreshUrl?: string | undefined;
|
|
1113
|
+
} | undefined;
|
|
1114
1114
|
clientCredentials?: {
|
|
1115
1115
|
tokenUrl: string;
|
|
1116
1116
|
scopes: Record<string, string>;
|
|
1117
|
-
refreshUrl?: string |
|
|
1118
|
-
} |
|
|
1117
|
+
refreshUrl?: string | undefined;
|
|
1118
|
+
} | undefined;
|
|
1119
1119
|
implicit?: {
|
|
1120
1120
|
authorizationUrl: string;
|
|
1121
1121
|
scopes: Record<string, string>;
|
|
1122
|
-
refreshUrl?: string |
|
|
1123
|
-
} |
|
|
1122
|
+
refreshUrl?: string | undefined;
|
|
1123
|
+
} | undefined;
|
|
1124
1124
|
password?: {
|
|
1125
1125
|
tokenUrl: string;
|
|
1126
1126
|
scopes: Record<string, string>;
|
|
1127
|
-
refreshUrl?: string |
|
|
1128
|
-
} |
|
|
1127
|
+
refreshUrl?: string | undefined;
|
|
1128
|
+
} | undefined;
|
|
1129
1129
|
}, {
|
|
1130
1130
|
authorizationCode?: {
|
|
1131
1131
|
authorizationUrl: string;
|
|
1132
1132
|
tokenUrl: string;
|
|
1133
1133
|
scopes: Record<string, string>;
|
|
1134
|
-
refreshUrl?: string |
|
|
1135
|
-
} |
|
|
1134
|
+
refreshUrl?: string | undefined;
|
|
1135
|
+
} | undefined;
|
|
1136
1136
|
clientCredentials?: {
|
|
1137
1137
|
tokenUrl: string;
|
|
1138
1138
|
scopes: Record<string, string>;
|
|
1139
|
-
refreshUrl?: string |
|
|
1140
|
-
} |
|
|
1139
|
+
refreshUrl?: string | undefined;
|
|
1140
|
+
} | undefined;
|
|
1141
1141
|
implicit?: {
|
|
1142
1142
|
authorizationUrl: string;
|
|
1143
1143
|
scopes: Record<string, string>;
|
|
1144
|
-
refreshUrl?: string |
|
|
1145
|
-
} |
|
|
1144
|
+
refreshUrl?: string | undefined;
|
|
1145
|
+
} | undefined;
|
|
1146
1146
|
password?: {
|
|
1147
1147
|
tokenUrl: string;
|
|
1148
1148
|
scopes: Record<string, string>;
|
|
1149
|
-
refreshUrl?: string |
|
|
1150
|
-
} |
|
|
1149
|
+
refreshUrl?: string | undefined;
|
|
1150
|
+
} | undefined;
|
|
1151
1151
|
}>;
|
|
1152
|
-
oauth2MetadataUrl: z.
|
|
1152
|
+
oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1154
1154
|
type: "oauth2";
|
|
1155
1155
|
flows: {
|
|
@@ -1157,26 +1157,26 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1157
1157
|
authorizationUrl: string;
|
|
1158
1158
|
tokenUrl: string;
|
|
1159
1159
|
scopes: Record<string, string>;
|
|
1160
|
-
refreshUrl?: string |
|
|
1161
|
-
} |
|
|
1160
|
+
refreshUrl?: string | undefined;
|
|
1161
|
+
} | undefined;
|
|
1162
1162
|
clientCredentials?: {
|
|
1163
1163
|
tokenUrl: string;
|
|
1164
1164
|
scopes: Record<string, string>;
|
|
1165
|
-
refreshUrl?: string |
|
|
1166
|
-
} |
|
|
1165
|
+
refreshUrl?: string | undefined;
|
|
1166
|
+
} | undefined;
|
|
1167
1167
|
implicit?: {
|
|
1168
1168
|
authorizationUrl: string;
|
|
1169
1169
|
scopes: Record<string, string>;
|
|
1170
|
-
refreshUrl?: string |
|
|
1171
|
-
} |
|
|
1170
|
+
refreshUrl?: string | undefined;
|
|
1171
|
+
} | undefined;
|
|
1172
1172
|
password?: {
|
|
1173
1173
|
tokenUrl: string;
|
|
1174
1174
|
scopes: Record<string, string>;
|
|
1175
|
-
refreshUrl?: string |
|
|
1176
|
-
} |
|
|
1175
|
+
refreshUrl?: string | undefined;
|
|
1176
|
+
} | undefined;
|
|
1177
1177
|
};
|
|
1178
|
-
description?: string |
|
|
1179
|
-
oauth2MetadataUrl?: string |
|
|
1178
|
+
description?: string | undefined;
|
|
1179
|
+
oauth2MetadataUrl?: string | undefined;
|
|
1180
1180
|
}, {
|
|
1181
1181
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1182
1182
|
flows: {
|
|
@@ -1184,55 +1184,55 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1184
1184
|
authorizationUrl: string;
|
|
1185
1185
|
tokenUrl: string;
|
|
1186
1186
|
scopes: Record<string, string>;
|
|
1187
|
-
refreshUrl?: string |
|
|
1188
|
-
} |
|
|
1187
|
+
refreshUrl?: string | undefined;
|
|
1188
|
+
} | undefined;
|
|
1189
1189
|
clientCredentials?: {
|
|
1190
1190
|
tokenUrl: string;
|
|
1191
1191
|
scopes: Record<string, string>;
|
|
1192
|
-
refreshUrl?: string |
|
|
1193
|
-
} |
|
|
1192
|
+
refreshUrl?: string | undefined;
|
|
1193
|
+
} | undefined;
|
|
1194
1194
|
implicit?: {
|
|
1195
1195
|
authorizationUrl: string;
|
|
1196
1196
|
scopes: Record<string, string>;
|
|
1197
|
-
refreshUrl?: string |
|
|
1198
|
-
} |
|
|
1197
|
+
refreshUrl?: string | undefined;
|
|
1198
|
+
} | undefined;
|
|
1199
1199
|
password?: {
|
|
1200
1200
|
tokenUrl: string;
|
|
1201
1201
|
scopes: Record<string, string>;
|
|
1202
|
-
refreshUrl?: string |
|
|
1203
|
-
} |
|
|
1202
|
+
refreshUrl?: string | undefined;
|
|
1203
|
+
} | undefined;
|
|
1204
1204
|
};
|
|
1205
|
-
description?: string |
|
|
1206
|
-
oauth2MetadataUrl?: string |
|
|
1205
|
+
description?: string | undefined;
|
|
1206
|
+
oauth2MetadataUrl?: string | undefined;
|
|
1207
1207
|
}>, z.ZodObject<{
|
|
1208
|
-
description: z.
|
|
1208
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1209
1209
|
} & {
|
|
1210
1210
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1211
1211
|
openIdConnectUrl: z.ZodString;
|
|
1212
1212
|
}, "strip", z.ZodTypeAny, {
|
|
1213
1213
|
type: "openIdConnect";
|
|
1214
1214
|
openIdConnectUrl: string;
|
|
1215
|
-
description?: string |
|
|
1215
|
+
description?: string | undefined;
|
|
1216
1216
|
}, {
|
|
1217
1217
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1218
1218
|
openIdConnectUrl: string;
|
|
1219
|
-
description?: string |
|
|
1219
|
+
description?: string | undefined;
|
|
1220
1220
|
}>, z.ZodObject<{
|
|
1221
|
-
description: z.
|
|
1221
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1222
1222
|
} & {
|
|
1223
1223
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1224
1224
|
}, "strip", z.ZodTypeAny, {
|
|
1225
1225
|
type: "mutualTLS";
|
|
1226
|
-
description?: string |
|
|
1226
|
+
description?: string | undefined;
|
|
1227
1227
|
}, {
|
|
1228
1228
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1229
|
-
description?: string |
|
|
1230
|
-
}>]
|
|
1229
|
+
description?: string | undefined;
|
|
1230
|
+
}>]>>>;
|
|
1231
1231
|
/**
|
|
1232
1232
|
* @optional Security requirements for contacting the agent.
|
|
1233
1233
|
* Array of security requirement objects, where each object maps scheme names to scope arrays.
|
|
1234
1234
|
*/
|
|
1235
|
-
security: z.
|
|
1235
|
+
security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
|
|
1236
1236
|
/**
|
|
1237
1237
|
* @required The default input modes supported by the agent.
|
|
1238
1238
|
*/
|
|
@@ -1264,46 +1264,46 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1264
1264
|
/**
|
|
1265
1265
|
* @optional List of example inputs or use cases for the skill.
|
|
1266
1266
|
*/
|
|
1267
|
-
examples: z.
|
|
1267
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1268
1268
|
/**
|
|
1269
1269
|
* @optional List of input modes supported by this skill.
|
|
1270
1270
|
*/
|
|
1271
|
-
inputModes: z.
|
|
1271
|
+
inputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1272
1272
|
/**
|
|
1273
1273
|
* @optional List of output modes supported by this skill.
|
|
1274
1274
|
*/
|
|
1275
|
-
outputModes: z.
|
|
1275
|
+
outputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1276
1276
|
/**
|
|
1277
1277
|
* @optional Security schemes necessary for the agent to leverage this skill.
|
|
1278
1278
|
*/
|
|
1279
|
-
security: z.
|
|
1279
|
+
security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
|
|
1280
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1281
1281
|
name: string;
|
|
1282
1282
|
id: string;
|
|
1283
1283
|
description: string;
|
|
1284
1284
|
tags: string[];
|
|
1285
|
-
examples?: string[] |
|
|
1286
|
-
inputModes?: string[] |
|
|
1287
|
-
outputModes?: string[] |
|
|
1288
|
-
security?: Record<string, string[]>[] |
|
|
1285
|
+
examples?: string[] | undefined;
|
|
1286
|
+
inputModes?: string[] | undefined;
|
|
1287
|
+
outputModes?: string[] | undefined;
|
|
1288
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1289
1289
|
}, {
|
|
1290
1290
|
name: string;
|
|
1291
1291
|
id: string;
|
|
1292
1292
|
description: string;
|
|
1293
1293
|
tags: string[];
|
|
1294
|
-
examples?: string[] |
|
|
1295
|
-
inputModes?: string[] |
|
|
1296
|
-
outputModes?: string[] |
|
|
1297
|
-
security?: Record<string, string[]>[] |
|
|
1294
|
+
examples?: string[] | undefined;
|
|
1295
|
+
inputModes?: string[] | undefined;
|
|
1296
|
+
outputModes?: string[] | undefined;
|
|
1297
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1298
1298
|
}>, "many">;
|
|
1299
1299
|
/**
|
|
1300
1300
|
* @optional True if the agent supports providing an extended agent card when the user is authenticated.
|
|
1301
1301
|
*/
|
|
1302
|
-
supportsAuthenticatedExtendedCard: z.
|
|
1302
|
+
supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
|
|
1303
1303
|
/**
|
|
1304
1304
|
* @optional JSON Web Signatures computed for this AgentCard.
|
|
1305
1305
|
*/
|
|
1306
|
-
signatures: z.
|
|
1306
|
+
signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1307
1307
|
/**
|
|
1308
1308
|
* @required The protected JWS header for the signature.
|
|
1309
1309
|
*/
|
|
@@ -1315,16 +1315,16 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1315
1315
|
/**
|
|
1316
1316
|
* @optional The unprotected JWS header values.
|
|
1317
1317
|
*/
|
|
1318
|
-
header: z.
|
|
1318
|
+
header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1319
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1320
1320
|
protected: string;
|
|
1321
1321
|
signature: string;
|
|
1322
|
-
header?: Record<string, unknown> |
|
|
1322
|
+
header?: Record<string, unknown> | undefined;
|
|
1323
1323
|
}, {
|
|
1324
1324
|
protected: string;
|
|
1325
1325
|
signature: string;
|
|
1326
|
-
header?: Record<string, unknown> |
|
|
1327
|
-
}>, "many"
|
|
1326
|
+
header?: Record<string, unknown> | undefined;
|
|
1327
|
+
}>, "many">>;
|
|
1328
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1329
1329
|
name: string;
|
|
1330
1330
|
url: string;
|
|
@@ -1334,13 +1334,13 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1334
1334
|
capabilities: {
|
|
1335
1335
|
extensions?: {
|
|
1336
1336
|
uri: string;
|
|
1337
|
-
required?: boolean |
|
|
1338
|
-
description?: string |
|
|
1339
|
-
params?: Record<string, unknown> |
|
|
1340
|
-
}[] |
|
|
1341
|
-
streaming?: boolean |
|
|
1342
|
-
pushNotifications?: boolean |
|
|
1343
|
-
stateTransitionHistory?: boolean |
|
|
1337
|
+
required?: boolean | undefined;
|
|
1338
|
+
description?: string | undefined;
|
|
1339
|
+
params?: Record<string, unknown> | undefined;
|
|
1340
|
+
}[] | undefined;
|
|
1341
|
+
streaming?: boolean | undefined;
|
|
1342
|
+
pushNotifications?: boolean | undefined;
|
|
1343
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1344
1344
|
};
|
|
1345
1345
|
defaultInputModes: string[];
|
|
1346
1346
|
defaultOutputModes: string[];
|
|
@@ -1349,33 +1349,33 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1349
1349
|
id: string;
|
|
1350
1350
|
description: string;
|
|
1351
1351
|
tags: string[];
|
|
1352
|
-
examples?: string[] |
|
|
1353
|
-
inputModes?: string[] |
|
|
1354
|
-
outputModes?: string[] |
|
|
1355
|
-
security?: Record<string, string[]>[] |
|
|
1352
|
+
examples?: string[] | undefined;
|
|
1353
|
+
inputModes?: string[] | undefined;
|
|
1354
|
+
outputModes?: string[] | undefined;
|
|
1355
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1356
1356
|
}[];
|
|
1357
|
-
security?: Record<string, string[]>[] |
|
|
1358
|
-
preferredTransport?: string |
|
|
1357
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1358
|
+
preferredTransport?: string | undefined;
|
|
1359
1359
|
additionalInterfaces?: {
|
|
1360
1360
|
url: string;
|
|
1361
1361
|
transport: string;
|
|
1362
|
-
}[] |
|
|
1363
|
-
iconUrl?: string |
|
|
1362
|
+
}[] | undefined;
|
|
1363
|
+
iconUrl?: string | undefined;
|
|
1364
1364
|
provider?: {
|
|
1365
1365
|
url: string;
|
|
1366
1366
|
organization: string;
|
|
1367
|
-
} |
|
|
1368
|
-
documentationUrl?: string |
|
|
1367
|
+
} | undefined;
|
|
1368
|
+
documentationUrl?: string | undefined;
|
|
1369
1369
|
securitySchemes?: Record<string, {
|
|
1370
1370
|
name: string;
|
|
1371
1371
|
type: "apiKey";
|
|
1372
1372
|
in: "header" | "query" | "cookie";
|
|
1373
|
-
description?: string |
|
|
1373
|
+
description?: string | undefined;
|
|
1374
1374
|
} | {
|
|
1375
1375
|
type: "http";
|
|
1376
1376
|
scheme: string;
|
|
1377
|
-
description?: string |
|
|
1378
|
-
bearerFormat?: string |
|
|
1377
|
+
description?: string | undefined;
|
|
1378
|
+
bearerFormat?: string | undefined;
|
|
1379
1379
|
} | {
|
|
1380
1380
|
type: "oauth2";
|
|
1381
1381
|
flows: {
|
|
@@ -1383,40 +1383,40 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1383
1383
|
authorizationUrl: string;
|
|
1384
1384
|
tokenUrl: string;
|
|
1385
1385
|
scopes: Record<string, string>;
|
|
1386
|
-
refreshUrl?: string |
|
|
1387
|
-
} |
|
|
1386
|
+
refreshUrl?: string | undefined;
|
|
1387
|
+
} | undefined;
|
|
1388
1388
|
clientCredentials?: {
|
|
1389
1389
|
tokenUrl: string;
|
|
1390
1390
|
scopes: Record<string, string>;
|
|
1391
|
-
refreshUrl?: string |
|
|
1392
|
-
} |
|
|
1391
|
+
refreshUrl?: string | undefined;
|
|
1392
|
+
} | undefined;
|
|
1393
1393
|
implicit?: {
|
|
1394
1394
|
authorizationUrl: string;
|
|
1395
1395
|
scopes: Record<string, string>;
|
|
1396
|
-
refreshUrl?: string |
|
|
1397
|
-
} |
|
|
1396
|
+
refreshUrl?: string | undefined;
|
|
1397
|
+
} | undefined;
|
|
1398
1398
|
password?: {
|
|
1399
1399
|
tokenUrl: string;
|
|
1400
1400
|
scopes: Record<string, string>;
|
|
1401
|
-
refreshUrl?: string |
|
|
1402
|
-
} |
|
|
1401
|
+
refreshUrl?: string | undefined;
|
|
1402
|
+
} | undefined;
|
|
1403
1403
|
};
|
|
1404
|
-
description?: string |
|
|
1405
|
-
oauth2MetadataUrl?: string |
|
|
1404
|
+
description?: string | undefined;
|
|
1405
|
+
oauth2MetadataUrl?: string | undefined;
|
|
1406
1406
|
} | {
|
|
1407
1407
|
type: "openIdConnect";
|
|
1408
1408
|
openIdConnectUrl: string;
|
|
1409
|
-
description?: string |
|
|
1409
|
+
description?: string | undefined;
|
|
1410
1410
|
} | {
|
|
1411
1411
|
type: "mutualTLS";
|
|
1412
|
-
description?: string |
|
|
1413
|
-
}> |
|
|
1414
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
1412
|
+
description?: string | undefined;
|
|
1413
|
+
}> | undefined;
|
|
1414
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
1415
1415
|
signatures?: {
|
|
1416
1416
|
protected: string;
|
|
1417
1417
|
signature: string;
|
|
1418
|
-
header?: Record<string, unknown> |
|
|
1419
|
-
}[] |
|
|
1418
|
+
header?: Record<string, unknown> | undefined;
|
|
1419
|
+
}[] | undefined;
|
|
1420
1420
|
}, {
|
|
1421
1421
|
name: string;
|
|
1422
1422
|
url: string;
|
|
@@ -1425,13 +1425,13 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1425
1425
|
capabilities: {
|
|
1426
1426
|
extensions?: {
|
|
1427
1427
|
uri: string;
|
|
1428
|
-
required?: boolean |
|
|
1429
|
-
description?: string |
|
|
1430
|
-
params?: Record<string, unknown> |
|
|
1431
|
-
}[] |
|
|
1432
|
-
streaming?: boolean |
|
|
1433
|
-
pushNotifications?: boolean |
|
|
1434
|
-
stateTransitionHistory?: boolean |
|
|
1428
|
+
required?: boolean | undefined;
|
|
1429
|
+
description?: string | undefined;
|
|
1430
|
+
params?: Record<string, unknown> | undefined;
|
|
1431
|
+
}[] | undefined;
|
|
1432
|
+
streaming?: boolean | undefined;
|
|
1433
|
+
pushNotifications?: boolean | undefined;
|
|
1434
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1435
1435
|
};
|
|
1436
1436
|
defaultInputModes: string[];
|
|
1437
1437
|
defaultOutputModes: string[];
|
|
@@ -1440,34 +1440,34 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1440
1440
|
id: string;
|
|
1441
1441
|
description: string;
|
|
1442
1442
|
tags: string[];
|
|
1443
|
-
examples?: string[] |
|
|
1444
|
-
inputModes?: string[] |
|
|
1445
|
-
outputModes?: string[] |
|
|
1446
|
-
security?: Record<string, string[]>[] |
|
|
1443
|
+
examples?: string[] | undefined;
|
|
1444
|
+
inputModes?: string[] | undefined;
|
|
1445
|
+
outputModes?: string[] | undefined;
|
|
1446
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1447
1447
|
}[];
|
|
1448
|
-
security?: Record<string, string[]>[] |
|
|
1448
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1449
1449
|
protocolVersion?: string | undefined;
|
|
1450
|
-
preferredTransport?: string |
|
|
1450
|
+
preferredTransport?: string | undefined;
|
|
1451
1451
|
additionalInterfaces?: {
|
|
1452
1452
|
url: string;
|
|
1453
1453
|
transport: string;
|
|
1454
|
-
}[] |
|
|
1455
|
-
iconUrl?: string |
|
|
1454
|
+
}[] | undefined;
|
|
1455
|
+
iconUrl?: string | undefined;
|
|
1456
1456
|
provider?: {
|
|
1457
1457
|
url: string;
|
|
1458
1458
|
organization: string;
|
|
1459
|
-
} |
|
|
1460
|
-
documentationUrl?: string |
|
|
1459
|
+
} | undefined;
|
|
1460
|
+
documentationUrl?: string | undefined;
|
|
1461
1461
|
securitySchemes?: Record<string, {
|
|
1462
1462
|
name: string;
|
|
1463
1463
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1464
1464
|
in: "header" | "query" | "cookie";
|
|
1465
|
-
description?: string |
|
|
1465
|
+
description?: string | undefined;
|
|
1466
1466
|
} | {
|
|
1467
1467
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1468
1468
|
scheme: string;
|
|
1469
|
-
description?: string |
|
|
1470
|
-
bearerFormat?: string |
|
|
1469
|
+
description?: string | undefined;
|
|
1470
|
+
bearerFormat?: string | undefined;
|
|
1471
1471
|
} | {
|
|
1472
1472
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1473
1473
|
flows: {
|
|
@@ -1475,40 +1475,40 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1475
1475
|
authorizationUrl: string;
|
|
1476
1476
|
tokenUrl: string;
|
|
1477
1477
|
scopes: Record<string, string>;
|
|
1478
|
-
refreshUrl?: string |
|
|
1479
|
-
} |
|
|
1478
|
+
refreshUrl?: string | undefined;
|
|
1479
|
+
} | undefined;
|
|
1480
1480
|
clientCredentials?: {
|
|
1481
1481
|
tokenUrl: string;
|
|
1482
1482
|
scopes: Record<string, string>;
|
|
1483
|
-
refreshUrl?: string |
|
|
1484
|
-
} |
|
|
1483
|
+
refreshUrl?: string | undefined;
|
|
1484
|
+
} | undefined;
|
|
1485
1485
|
implicit?: {
|
|
1486
1486
|
authorizationUrl: string;
|
|
1487
1487
|
scopes: Record<string, string>;
|
|
1488
|
-
refreshUrl?: string |
|
|
1489
|
-
} |
|
|
1488
|
+
refreshUrl?: string | undefined;
|
|
1489
|
+
} | undefined;
|
|
1490
1490
|
password?: {
|
|
1491
1491
|
tokenUrl: string;
|
|
1492
1492
|
scopes: Record<string, string>;
|
|
1493
|
-
refreshUrl?: string |
|
|
1494
|
-
} |
|
|
1493
|
+
refreshUrl?: string | undefined;
|
|
1494
|
+
} | undefined;
|
|
1495
1495
|
};
|
|
1496
|
-
description?: string |
|
|
1497
|
-
oauth2MetadataUrl?: string |
|
|
1496
|
+
description?: string | undefined;
|
|
1497
|
+
oauth2MetadataUrl?: string | undefined;
|
|
1498
1498
|
} | {
|
|
1499
1499
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1500
1500
|
openIdConnectUrl: string;
|
|
1501
|
-
description?: string |
|
|
1501
|
+
description?: string | undefined;
|
|
1502
1502
|
} | {
|
|
1503
1503
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1504
|
-
description?: string |
|
|
1505
|
-
}> |
|
|
1506
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
1504
|
+
description?: string | undefined;
|
|
1505
|
+
}> | undefined;
|
|
1506
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
1507
1507
|
signatures?: {
|
|
1508
1508
|
protected: string;
|
|
1509
1509
|
signature: string;
|
|
1510
|
-
header?: Record<string, unknown> |
|
|
1511
|
-
}[] |
|
|
1510
|
+
header?: Record<string, unknown> | undefined;
|
|
1511
|
+
}[] | undefined;
|
|
1512
1512
|
}>;
|
|
1513
1513
|
}, "strip", z.ZodTypeAny, {
|
|
1514
1514
|
jsonrpc: "2.0";
|
|
@@ -1521,13 +1521,13 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1521
1521
|
capabilities: {
|
|
1522
1522
|
extensions?: {
|
|
1523
1523
|
uri: string;
|
|
1524
|
-
required?: boolean |
|
|
1525
|
-
description?: string |
|
|
1526
|
-
params?: Record<string, unknown> |
|
|
1527
|
-
}[] |
|
|
1528
|
-
streaming?: boolean |
|
|
1529
|
-
pushNotifications?: boolean |
|
|
1530
|
-
stateTransitionHistory?: boolean |
|
|
1524
|
+
required?: boolean | undefined;
|
|
1525
|
+
description?: string | undefined;
|
|
1526
|
+
params?: Record<string, unknown> | undefined;
|
|
1527
|
+
}[] | undefined;
|
|
1528
|
+
streaming?: boolean | undefined;
|
|
1529
|
+
pushNotifications?: boolean | undefined;
|
|
1530
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1531
1531
|
};
|
|
1532
1532
|
defaultInputModes: string[];
|
|
1533
1533
|
defaultOutputModes: string[];
|
|
@@ -1536,33 +1536,33 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1536
1536
|
id: string;
|
|
1537
1537
|
description: string;
|
|
1538
1538
|
tags: string[];
|
|
1539
|
-
examples?: string[] |
|
|
1540
|
-
inputModes?: string[] |
|
|
1541
|
-
outputModes?: string[] |
|
|
1542
|
-
security?: Record<string, string[]>[] |
|
|
1539
|
+
examples?: string[] | undefined;
|
|
1540
|
+
inputModes?: string[] | undefined;
|
|
1541
|
+
outputModes?: string[] | undefined;
|
|
1542
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1543
1543
|
}[];
|
|
1544
|
-
security?: Record<string, string[]>[] |
|
|
1545
|
-
preferredTransport?: string |
|
|
1544
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1545
|
+
preferredTransport?: string | undefined;
|
|
1546
1546
|
additionalInterfaces?: {
|
|
1547
1547
|
url: string;
|
|
1548
1548
|
transport: string;
|
|
1549
|
-
}[] |
|
|
1550
|
-
iconUrl?: string |
|
|
1549
|
+
}[] | undefined;
|
|
1550
|
+
iconUrl?: string | undefined;
|
|
1551
1551
|
provider?: {
|
|
1552
1552
|
url: string;
|
|
1553
1553
|
organization: string;
|
|
1554
|
-
} |
|
|
1555
|
-
documentationUrl?: string |
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
documentationUrl?: string | undefined;
|
|
1556
1556
|
securitySchemes?: Record<string, {
|
|
1557
1557
|
name: string;
|
|
1558
1558
|
type: "apiKey";
|
|
1559
1559
|
in: "header" | "query" | "cookie";
|
|
1560
|
-
description?: string |
|
|
1560
|
+
description?: string | undefined;
|
|
1561
1561
|
} | {
|
|
1562
1562
|
type: "http";
|
|
1563
1563
|
scheme: string;
|
|
1564
|
-
description?: string |
|
|
1565
|
-
bearerFormat?: string |
|
|
1564
|
+
description?: string | undefined;
|
|
1565
|
+
bearerFormat?: string | undefined;
|
|
1566
1566
|
} | {
|
|
1567
1567
|
type: "oauth2";
|
|
1568
1568
|
flows: {
|
|
@@ -1570,43 +1570,43 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1570
1570
|
authorizationUrl: string;
|
|
1571
1571
|
tokenUrl: string;
|
|
1572
1572
|
scopes: Record<string, string>;
|
|
1573
|
-
refreshUrl?: string |
|
|
1574
|
-
} |
|
|
1573
|
+
refreshUrl?: string | undefined;
|
|
1574
|
+
} | undefined;
|
|
1575
1575
|
clientCredentials?: {
|
|
1576
1576
|
tokenUrl: string;
|
|
1577
1577
|
scopes: Record<string, string>;
|
|
1578
|
-
refreshUrl?: string |
|
|
1579
|
-
} |
|
|
1578
|
+
refreshUrl?: string | undefined;
|
|
1579
|
+
} | undefined;
|
|
1580
1580
|
implicit?: {
|
|
1581
1581
|
authorizationUrl: string;
|
|
1582
1582
|
scopes: Record<string, string>;
|
|
1583
|
-
refreshUrl?: string |
|
|
1584
|
-
} |
|
|
1583
|
+
refreshUrl?: string | undefined;
|
|
1584
|
+
} | undefined;
|
|
1585
1585
|
password?: {
|
|
1586
1586
|
tokenUrl: string;
|
|
1587
1587
|
scopes: Record<string, string>;
|
|
1588
|
-
refreshUrl?: string |
|
|
1589
|
-
} |
|
|
1588
|
+
refreshUrl?: string | undefined;
|
|
1589
|
+
} | undefined;
|
|
1590
1590
|
};
|
|
1591
|
-
description?: string |
|
|
1592
|
-
oauth2MetadataUrl?: string |
|
|
1591
|
+
description?: string | undefined;
|
|
1592
|
+
oauth2MetadataUrl?: string | undefined;
|
|
1593
1593
|
} | {
|
|
1594
1594
|
type: "openIdConnect";
|
|
1595
1595
|
openIdConnectUrl: string;
|
|
1596
|
-
description?: string |
|
|
1596
|
+
description?: string | undefined;
|
|
1597
1597
|
} | {
|
|
1598
1598
|
type: "mutualTLS";
|
|
1599
|
-
description?: string |
|
|
1600
|
-
}> |
|
|
1601
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
1599
|
+
description?: string | undefined;
|
|
1600
|
+
}> | undefined;
|
|
1601
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
1602
1602
|
signatures?: {
|
|
1603
1603
|
protected: string;
|
|
1604
1604
|
signature: string;
|
|
1605
|
-
header?: Record<string, unknown> |
|
|
1606
|
-
}[] |
|
|
1605
|
+
header?: Record<string, unknown> | undefined;
|
|
1606
|
+
}[] | undefined;
|
|
1607
1607
|
};
|
|
1608
|
-
error?:
|
|
1609
|
-
id?: string | number |
|
|
1608
|
+
error?: undefined;
|
|
1609
|
+
id?: string | number | undefined;
|
|
1610
1610
|
}, {
|
|
1611
1611
|
jsonrpc: "2.0";
|
|
1612
1612
|
result: {
|
|
@@ -1617,13 +1617,13 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1617
1617
|
capabilities: {
|
|
1618
1618
|
extensions?: {
|
|
1619
1619
|
uri: string;
|
|
1620
|
-
required?: boolean |
|
|
1621
|
-
description?: string |
|
|
1622
|
-
params?: Record<string, unknown> |
|
|
1623
|
-
}[] |
|
|
1624
|
-
streaming?: boolean |
|
|
1625
|
-
pushNotifications?: boolean |
|
|
1626
|
-
stateTransitionHistory?: boolean |
|
|
1620
|
+
required?: boolean | undefined;
|
|
1621
|
+
description?: string | undefined;
|
|
1622
|
+
params?: Record<string, unknown> | undefined;
|
|
1623
|
+
}[] | undefined;
|
|
1624
|
+
streaming?: boolean | undefined;
|
|
1625
|
+
pushNotifications?: boolean | undefined;
|
|
1626
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1627
1627
|
};
|
|
1628
1628
|
defaultInputModes: string[];
|
|
1629
1629
|
defaultOutputModes: string[];
|
|
@@ -1632,34 +1632,34 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1632
1632
|
id: string;
|
|
1633
1633
|
description: string;
|
|
1634
1634
|
tags: string[];
|
|
1635
|
-
examples?: string[] |
|
|
1636
|
-
inputModes?: string[] |
|
|
1637
|
-
outputModes?: string[] |
|
|
1638
|
-
security?: Record<string, string[]>[] |
|
|
1635
|
+
examples?: string[] | undefined;
|
|
1636
|
+
inputModes?: string[] | undefined;
|
|
1637
|
+
outputModes?: string[] | undefined;
|
|
1638
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1639
1639
|
}[];
|
|
1640
|
-
security?: Record<string, string[]>[] |
|
|
1640
|
+
security?: Record<string, string[]>[] | undefined;
|
|
1641
1641
|
protocolVersion?: string | undefined;
|
|
1642
|
-
preferredTransport?: string |
|
|
1642
|
+
preferredTransport?: string | undefined;
|
|
1643
1643
|
additionalInterfaces?: {
|
|
1644
1644
|
url: string;
|
|
1645
1645
|
transport: string;
|
|
1646
|
-
}[] |
|
|
1647
|
-
iconUrl?: string |
|
|
1646
|
+
}[] | undefined;
|
|
1647
|
+
iconUrl?: string | undefined;
|
|
1648
1648
|
provider?: {
|
|
1649
1649
|
url: string;
|
|
1650
1650
|
organization: string;
|
|
1651
|
-
} |
|
|
1652
|
-
documentationUrl?: string |
|
|
1651
|
+
} | undefined;
|
|
1652
|
+
documentationUrl?: string | undefined;
|
|
1653
1653
|
securitySchemes?: Record<string, {
|
|
1654
1654
|
name: string;
|
|
1655
1655
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1656
1656
|
in: "header" | "query" | "cookie";
|
|
1657
|
-
description?: string |
|
|
1657
|
+
description?: string | undefined;
|
|
1658
1658
|
} | {
|
|
1659
1659
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1660
1660
|
scheme: string;
|
|
1661
|
-
description?: string |
|
|
1662
|
-
bearerFormat?: string |
|
|
1661
|
+
description?: string | undefined;
|
|
1662
|
+
bearerFormat?: string | undefined;
|
|
1663
1663
|
} | {
|
|
1664
1664
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1665
1665
|
flows: {
|
|
@@ -1667,43 +1667,43 @@ export declare const GetAuthenticatedExtendedCardSuccessResponseSchema: z.ZodObj
|
|
|
1667
1667
|
authorizationUrl: string;
|
|
1668
1668
|
tokenUrl: string;
|
|
1669
1669
|
scopes: Record<string, string>;
|
|
1670
|
-
refreshUrl?: string |
|
|
1671
|
-
} |
|
|
1670
|
+
refreshUrl?: string | undefined;
|
|
1671
|
+
} | undefined;
|
|
1672
1672
|
clientCredentials?: {
|
|
1673
1673
|
tokenUrl: string;
|
|
1674
1674
|
scopes: Record<string, string>;
|
|
1675
|
-
refreshUrl?: string |
|
|
1676
|
-
} |
|
|
1675
|
+
refreshUrl?: string | undefined;
|
|
1676
|
+
} | undefined;
|
|
1677
1677
|
implicit?: {
|
|
1678
1678
|
authorizationUrl: string;
|
|
1679
1679
|
scopes: Record<string, string>;
|
|
1680
|
-
refreshUrl?: string |
|
|
1681
|
-
} |
|
|
1680
|
+
refreshUrl?: string | undefined;
|
|
1681
|
+
} | undefined;
|
|
1682
1682
|
password?: {
|
|
1683
1683
|
tokenUrl: string;
|
|
1684
1684
|
scopes: Record<string, string>;
|
|
1685
|
-
refreshUrl?: string |
|
|
1686
|
-
} |
|
|
1685
|
+
refreshUrl?: string | undefined;
|
|
1686
|
+
} | undefined;
|
|
1687
1687
|
};
|
|
1688
|
-
description?: string |
|
|
1689
|
-
oauth2MetadataUrl?: string |
|
|
1688
|
+
description?: string | undefined;
|
|
1689
|
+
oauth2MetadataUrl?: string | undefined;
|
|
1690
1690
|
} | {
|
|
1691
1691
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1692
1692
|
openIdConnectUrl: string;
|
|
1693
|
-
description?: string |
|
|
1693
|
+
description?: string | undefined;
|
|
1694
1694
|
} | {
|
|
1695
1695
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1696
|
-
description?: string |
|
|
1697
|
-
}> |
|
|
1698
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
1696
|
+
description?: string | undefined;
|
|
1697
|
+
}> | undefined;
|
|
1698
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
1699
1699
|
signatures?: {
|
|
1700
1700
|
protected: string;
|
|
1701
1701
|
signature: string;
|
|
1702
|
-
header?: Record<string, unknown> |
|
|
1703
|
-
}[] |
|
|
1702
|
+
header?: Record<string, unknown> | undefined;
|
|
1703
|
+
}[] | undefined;
|
|
1704
1704
|
};
|
|
1705
|
-
error?:
|
|
1706
|
-
id?: string | number |
|
|
1705
|
+
error?: undefined;
|
|
1706
|
+
id?: string | number | undefined;
|
|
1707
1707
|
}>;
|
|
1708
1708
|
export type GetAuthenticatedExtendedCardSuccessResponse = z.infer<typeof GetAuthenticatedExtendedCardSuccessResponseSchema>;
|
|
1709
1709
|
/**
|
|
@@ -1711,8 +1711,8 @@ export type GetAuthenticatedExtendedCardSuccessResponse = z.infer<typeof GetAuth
|
|
|
1711
1711
|
*/
|
|
1712
1712
|
export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
1713
1713
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1714
|
-
id: z.
|
|
1715
|
-
error: z.
|
|
1714
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1715
|
+
error: z.ZodOptional<z.ZodNever>;
|
|
1716
1716
|
} & {
|
|
1717
1717
|
result: z.ZodObject<{
|
|
1718
1718
|
/**
|
|
@@ -1734,11 +1734,11 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1734
1734
|
/**
|
|
1735
1735
|
* @optional The transport protocol for the preferred endpoint.
|
|
1736
1736
|
*/
|
|
1737
|
-
preferredTransport: z.
|
|
1737
|
+
preferredTransport: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>>;
|
|
1738
1738
|
/**
|
|
1739
1739
|
* @optional Additional supported interfaces (transport and URL combinations).
|
|
1740
1740
|
*/
|
|
1741
|
-
additionalInterfaces: z.
|
|
1741
|
+
additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1742
1742
|
url: z.ZodString;
|
|
1743
1743
|
transport: z.ZodUnion<[z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>, z.ZodString]>;
|
|
1744
1744
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1747,15 +1747,15 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1747
1747
|
}, {
|
|
1748
1748
|
url: string;
|
|
1749
1749
|
transport: string;
|
|
1750
|
-
}>, "many"
|
|
1750
|
+
}>, "many">>;
|
|
1751
1751
|
/**
|
|
1752
1752
|
* @optional The URL of the agent's icon.
|
|
1753
1753
|
*/
|
|
1754
|
-
iconUrl: z.
|
|
1754
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1755
1755
|
/**
|
|
1756
1756
|
* @optional The service provider of the agent.
|
|
1757
1757
|
*/
|
|
1758
|
-
provider: z.
|
|
1758
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
1759
1759
|
/**
|
|
1760
1760
|
* @required The name of the organization providing the agent.
|
|
1761
1761
|
*/
|
|
@@ -1770,7 +1770,7 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1770
1770
|
}, {
|
|
1771
1771
|
url: string;
|
|
1772
1772
|
organization: string;
|
|
1773
|
-
}
|
|
1773
|
+
}>>;
|
|
1774
1774
|
/**
|
|
1775
1775
|
* @required The version identifier for the agent or its API.
|
|
1776
1776
|
*/
|
|
@@ -1778,7 +1778,7 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1778
1778
|
/**
|
|
1779
1779
|
* @optional An optional URL pointing to the agent's documentation.
|
|
1780
1780
|
*/
|
|
1781
|
-
documentationUrl: z.
|
|
1781
|
+
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
1782
1782
|
/**
|
|
1783
1783
|
* @required The capabilities supported by the agent.
|
|
1784
1784
|
*/
|
|
@@ -1786,19 +1786,19 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1786
1786
|
/**
|
|
1787
1787
|
* @optional Indicates if the agent supports streaming responses.
|
|
1788
1788
|
*/
|
|
1789
|
-
streaming: z.
|
|
1789
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
1790
1790
|
/**
|
|
1791
1791
|
* @optional Indicates if the agent supports push notification mechanisms.
|
|
1792
1792
|
*/
|
|
1793
|
-
pushNotifications: z.
|
|
1793
|
+
pushNotifications: z.ZodOptional<z.ZodBoolean>;
|
|
1794
1794
|
/**
|
|
1795
1795
|
* @optional Indicates if the agent supports providing state transition history.
|
|
1796
1796
|
*/
|
|
1797
|
-
stateTransitionHistory: z.
|
|
1797
|
+
stateTransitionHistory: z.ZodOptional<z.ZodBoolean>;
|
|
1798
1798
|
/**
|
|
1799
1799
|
* @optional Extensions supported by this agent.
|
|
1800
1800
|
*/
|
|
1801
|
-
extensions: z.
|
|
1801
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1802
1802
|
/**
|
|
1803
1803
|
* @required The URI of the extension.
|
|
1804
1804
|
*/
|
|
@@ -1806,53 +1806,53 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1806
1806
|
/**
|
|
1807
1807
|
* @optional A description of how this agent uses this extension.
|
|
1808
1808
|
*/
|
|
1809
|
-
description: z.
|
|
1809
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1810
1810
|
/**
|
|
1811
1811
|
* @optional Whether the client must follow specific requirements of the extension.
|
|
1812
1812
|
*/
|
|
1813
|
-
required: z.
|
|
1813
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* @optional Optional configuration for the extension.
|
|
1816
1816
|
*/
|
|
1817
|
-
params: z.
|
|
1817
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1818
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1819
1819
|
uri: string;
|
|
1820
|
-
required?: boolean |
|
|
1821
|
-
description?: string |
|
|
1822
|
-
params?: Record<string, unknown> |
|
|
1820
|
+
required?: boolean | undefined;
|
|
1821
|
+
description?: string | undefined;
|
|
1822
|
+
params?: Record<string, unknown> | undefined;
|
|
1823
1823
|
}, {
|
|
1824
1824
|
uri: string;
|
|
1825
|
-
required?: boolean |
|
|
1826
|
-
description?: string |
|
|
1827
|
-
params?: Record<string, unknown> |
|
|
1828
|
-
}>, "many"
|
|
1825
|
+
required?: boolean | undefined;
|
|
1826
|
+
description?: string | undefined;
|
|
1827
|
+
params?: Record<string, unknown> | undefined;
|
|
1828
|
+
}>, "many">>;
|
|
1829
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1830
1830
|
extensions?: {
|
|
1831
1831
|
uri: string;
|
|
1832
|
-
required?: boolean |
|
|
1833
|
-
description?: string |
|
|
1834
|
-
params?: Record<string, unknown> |
|
|
1835
|
-
}[] |
|
|
1836
|
-
streaming?: boolean |
|
|
1837
|
-
pushNotifications?: boolean |
|
|
1838
|
-
stateTransitionHistory?: boolean |
|
|
1832
|
+
required?: boolean | undefined;
|
|
1833
|
+
description?: string | undefined;
|
|
1834
|
+
params?: Record<string, unknown> | undefined;
|
|
1835
|
+
}[] | undefined;
|
|
1836
|
+
streaming?: boolean | undefined;
|
|
1837
|
+
pushNotifications?: boolean | undefined;
|
|
1838
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1839
1839
|
}, {
|
|
1840
1840
|
extensions?: {
|
|
1841
1841
|
uri: string;
|
|
1842
|
-
required?: boolean |
|
|
1843
|
-
description?: string |
|
|
1844
|
-
params?: Record<string, unknown> |
|
|
1845
|
-
}[] |
|
|
1846
|
-
streaming?: boolean |
|
|
1847
|
-
pushNotifications?: boolean |
|
|
1848
|
-
stateTransitionHistory?: boolean |
|
|
1842
|
+
required?: boolean | undefined;
|
|
1843
|
+
description?: string | undefined;
|
|
1844
|
+
params?: Record<string, unknown> | undefined;
|
|
1845
|
+
}[] | undefined;
|
|
1846
|
+
streaming?: boolean | undefined;
|
|
1847
|
+
pushNotifications?: boolean | undefined;
|
|
1848
|
+
stateTransitionHistory?: boolean | undefined;
|
|
1849
1849
|
}>;
|
|
1850
1850
|
/**
|
|
1851
1851
|
* @optional Security scheme details used for authenticating with this agent.
|
|
1852
1852
|
* Maps scheme names to their configurations.
|
|
1853
1853
|
*/
|
|
1854
|
-
securitySchemes: z.
|
|
1855
|
-
description: z.
|
|
1854
|
+
securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
1855
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1856
1856
|
} & {
|
|
1857
1857
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1858
1858
|
in: z.ZodEnum<["query", "header", "cookie"]>;
|
|
@@ -1861,134 +1861,134 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1861
1861
|
name: string;
|
|
1862
1862
|
type: "apiKey";
|
|
1863
1863
|
in: "header" | "query" | "cookie";
|
|
1864
|
-
description?: string |
|
|
1864
|
+
description?: string | undefined;
|
|
1865
1865
|
}, {
|
|
1866
1866
|
name: string;
|
|
1867
1867
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1868
1868
|
in: "header" | "query" | "cookie";
|
|
1869
|
-
description?: string |
|
|
1869
|
+
description?: string | undefined;
|
|
1870
1870
|
}>, z.ZodObject<{
|
|
1871
|
-
description: z.
|
|
1871
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1872
1872
|
} & {
|
|
1873
1873
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1874
1874
|
scheme: z.ZodString;
|
|
1875
|
-
bearerFormat: z.
|
|
1875
|
+
bearerFormat: z.ZodOptional<z.ZodString>;
|
|
1876
1876
|
}, "strip", z.ZodTypeAny, {
|
|
1877
1877
|
type: "http";
|
|
1878
1878
|
scheme: string;
|
|
1879
|
-
description?: string |
|
|
1880
|
-
bearerFormat?: string |
|
|
1879
|
+
description?: string | undefined;
|
|
1880
|
+
bearerFormat?: string | undefined;
|
|
1881
1881
|
}, {
|
|
1882
1882
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
1883
1883
|
scheme: string;
|
|
1884
|
-
description?: string |
|
|
1885
|
-
bearerFormat?: string |
|
|
1884
|
+
description?: string | undefined;
|
|
1885
|
+
bearerFormat?: string | undefined;
|
|
1886
1886
|
}>, z.ZodObject<{
|
|
1887
|
-
description: z.
|
|
1887
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1888
1888
|
} & {
|
|
1889
1889
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
1890
1890
|
flows: z.ZodObject<{
|
|
1891
|
-
authorizationCode: z.
|
|
1891
|
+
authorizationCode: z.ZodOptional<z.ZodObject<{
|
|
1892
1892
|
authorizationUrl: z.ZodString;
|
|
1893
1893
|
tokenUrl: z.ZodString;
|
|
1894
|
-
refreshUrl: z.
|
|
1894
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1895
1895
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1896
1896
|
}, "strip", z.ZodTypeAny, {
|
|
1897
1897
|
authorizationUrl: string;
|
|
1898
1898
|
tokenUrl: string;
|
|
1899
1899
|
scopes: Record<string, string>;
|
|
1900
|
-
refreshUrl?: string |
|
|
1900
|
+
refreshUrl?: string | undefined;
|
|
1901
1901
|
}, {
|
|
1902
1902
|
authorizationUrl: string;
|
|
1903
1903
|
tokenUrl: string;
|
|
1904
1904
|
scopes: Record<string, string>;
|
|
1905
|
-
refreshUrl?: string |
|
|
1906
|
-
}
|
|
1907
|
-
clientCredentials: z.
|
|
1905
|
+
refreshUrl?: string | undefined;
|
|
1906
|
+
}>>;
|
|
1907
|
+
clientCredentials: z.ZodOptional<z.ZodObject<{
|
|
1908
1908
|
tokenUrl: z.ZodString;
|
|
1909
|
-
refreshUrl: z.
|
|
1909
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1910
1910
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1911
1911
|
}, "strip", z.ZodTypeAny, {
|
|
1912
1912
|
tokenUrl: string;
|
|
1913
1913
|
scopes: Record<string, string>;
|
|
1914
|
-
refreshUrl?: string |
|
|
1914
|
+
refreshUrl?: string | undefined;
|
|
1915
1915
|
}, {
|
|
1916
1916
|
tokenUrl: string;
|
|
1917
1917
|
scopes: Record<string, string>;
|
|
1918
|
-
refreshUrl?: string |
|
|
1919
|
-
}
|
|
1920
|
-
implicit: z.
|
|
1918
|
+
refreshUrl?: string | undefined;
|
|
1919
|
+
}>>;
|
|
1920
|
+
implicit: z.ZodOptional<z.ZodObject<{
|
|
1921
1921
|
authorizationUrl: z.ZodString;
|
|
1922
|
-
refreshUrl: z.
|
|
1922
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1923
1923
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1924
1924
|
}, "strip", z.ZodTypeAny, {
|
|
1925
1925
|
authorizationUrl: string;
|
|
1926
1926
|
scopes: Record<string, string>;
|
|
1927
|
-
refreshUrl?: string |
|
|
1927
|
+
refreshUrl?: string | undefined;
|
|
1928
1928
|
}, {
|
|
1929
1929
|
authorizationUrl: string;
|
|
1930
1930
|
scopes: Record<string, string>;
|
|
1931
|
-
refreshUrl?: string |
|
|
1932
|
-
}
|
|
1933
|
-
password: z.
|
|
1931
|
+
refreshUrl?: string | undefined;
|
|
1932
|
+
}>>;
|
|
1933
|
+
password: z.ZodOptional<z.ZodObject<{
|
|
1934
1934
|
tokenUrl: z.ZodString;
|
|
1935
|
-
refreshUrl: z.
|
|
1935
|
+
refreshUrl: z.ZodOptional<z.ZodString>;
|
|
1936
1936
|
scopes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1937
1937
|
}, "strip", z.ZodTypeAny, {
|
|
1938
1938
|
tokenUrl: string;
|
|
1939
1939
|
scopes: Record<string, string>;
|
|
1940
|
-
refreshUrl?: string |
|
|
1940
|
+
refreshUrl?: string | undefined;
|
|
1941
1941
|
}, {
|
|
1942
1942
|
tokenUrl: string;
|
|
1943
1943
|
scopes: Record<string, string>;
|
|
1944
|
-
refreshUrl?: string |
|
|
1945
|
-
}
|
|
1944
|
+
refreshUrl?: string | undefined;
|
|
1945
|
+
}>>;
|
|
1946
1946
|
}, "strip", z.ZodTypeAny, {
|
|
1947
1947
|
authorizationCode?: {
|
|
1948
1948
|
authorizationUrl: string;
|
|
1949
1949
|
tokenUrl: string;
|
|
1950
1950
|
scopes: Record<string, string>;
|
|
1951
|
-
refreshUrl?: string |
|
|
1952
|
-
} |
|
|
1951
|
+
refreshUrl?: string | undefined;
|
|
1952
|
+
} | undefined;
|
|
1953
1953
|
clientCredentials?: {
|
|
1954
1954
|
tokenUrl: string;
|
|
1955
1955
|
scopes: Record<string, string>;
|
|
1956
|
-
refreshUrl?: string |
|
|
1957
|
-
} |
|
|
1956
|
+
refreshUrl?: string | undefined;
|
|
1957
|
+
} | undefined;
|
|
1958
1958
|
implicit?: {
|
|
1959
1959
|
authorizationUrl: string;
|
|
1960
1960
|
scopes: Record<string, string>;
|
|
1961
|
-
refreshUrl?: string |
|
|
1962
|
-
} |
|
|
1961
|
+
refreshUrl?: string | undefined;
|
|
1962
|
+
} | undefined;
|
|
1963
1963
|
password?: {
|
|
1964
1964
|
tokenUrl: string;
|
|
1965
1965
|
scopes: Record<string, string>;
|
|
1966
|
-
refreshUrl?: string |
|
|
1967
|
-
} |
|
|
1966
|
+
refreshUrl?: string | undefined;
|
|
1967
|
+
} | undefined;
|
|
1968
1968
|
}, {
|
|
1969
1969
|
authorizationCode?: {
|
|
1970
1970
|
authorizationUrl: string;
|
|
1971
1971
|
tokenUrl: string;
|
|
1972
1972
|
scopes: Record<string, string>;
|
|
1973
|
-
refreshUrl?: string |
|
|
1974
|
-
} |
|
|
1973
|
+
refreshUrl?: string | undefined;
|
|
1974
|
+
} | undefined;
|
|
1975
1975
|
clientCredentials?: {
|
|
1976
1976
|
tokenUrl: string;
|
|
1977
1977
|
scopes: Record<string, string>;
|
|
1978
|
-
refreshUrl?: string |
|
|
1979
|
-
} |
|
|
1978
|
+
refreshUrl?: string | undefined;
|
|
1979
|
+
} | undefined;
|
|
1980
1980
|
implicit?: {
|
|
1981
1981
|
authorizationUrl: string;
|
|
1982
1982
|
scopes: Record<string, string>;
|
|
1983
|
-
refreshUrl?: string |
|
|
1984
|
-
} |
|
|
1983
|
+
refreshUrl?: string | undefined;
|
|
1984
|
+
} | undefined;
|
|
1985
1985
|
password?: {
|
|
1986
1986
|
tokenUrl: string;
|
|
1987
1987
|
scopes: Record<string, string>;
|
|
1988
|
-
refreshUrl?: string |
|
|
1989
|
-
} |
|
|
1988
|
+
refreshUrl?: string | undefined;
|
|
1989
|
+
} | undefined;
|
|
1990
1990
|
}>;
|
|
1991
|
-
oauth2MetadataUrl: z.
|
|
1991
|
+
oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
|
|
1992
1992
|
}, "strip", z.ZodTypeAny, {
|
|
1993
1993
|
type: "oauth2";
|
|
1994
1994
|
flows: {
|
|
@@ -1996,26 +1996,26 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
1996
1996
|
authorizationUrl: string;
|
|
1997
1997
|
tokenUrl: string;
|
|
1998
1998
|
scopes: Record<string, string>;
|
|
1999
|
-
refreshUrl?: string |
|
|
2000
|
-
} |
|
|
1999
|
+
refreshUrl?: string | undefined;
|
|
2000
|
+
} | undefined;
|
|
2001
2001
|
clientCredentials?: {
|
|
2002
2002
|
tokenUrl: string;
|
|
2003
2003
|
scopes: Record<string, string>;
|
|
2004
|
-
refreshUrl?: string |
|
|
2005
|
-
} |
|
|
2004
|
+
refreshUrl?: string | undefined;
|
|
2005
|
+
} | undefined;
|
|
2006
2006
|
implicit?: {
|
|
2007
2007
|
authorizationUrl: string;
|
|
2008
2008
|
scopes: Record<string, string>;
|
|
2009
|
-
refreshUrl?: string |
|
|
2010
|
-
} |
|
|
2009
|
+
refreshUrl?: string | undefined;
|
|
2010
|
+
} | undefined;
|
|
2011
2011
|
password?: {
|
|
2012
2012
|
tokenUrl: string;
|
|
2013
2013
|
scopes: Record<string, string>;
|
|
2014
|
-
refreshUrl?: string |
|
|
2015
|
-
} |
|
|
2014
|
+
refreshUrl?: string | undefined;
|
|
2015
|
+
} | undefined;
|
|
2016
2016
|
};
|
|
2017
|
-
description?: string |
|
|
2018
|
-
oauth2MetadataUrl?: string |
|
|
2017
|
+
description?: string | undefined;
|
|
2018
|
+
oauth2MetadataUrl?: string | undefined;
|
|
2019
2019
|
}, {
|
|
2020
2020
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2021
2021
|
flows: {
|
|
@@ -2023,55 +2023,55 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2023
2023
|
authorizationUrl: string;
|
|
2024
2024
|
tokenUrl: string;
|
|
2025
2025
|
scopes: Record<string, string>;
|
|
2026
|
-
refreshUrl?: string |
|
|
2027
|
-
} |
|
|
2026
|
+
refreshUrl?: string | undefined;
|
|
2027
|
+
} | undefined;
|
|
2028
2028
|
clientCredentials?: {
|
|
2029
2029
|
tokenUrl: string;
|
|
2030
2030
|
scopes: Record<string, string>;
|
|
2031
|
-
refreshUrl?: string |
|
|
2032
|
-
} |
|
|
2031
|
+
refreshUrl?: string | undefined;
|
|
2032
|
+
} | undefined;
|
|
2033
2033
|
implicit?: {
|
|
2034
2034
|
authorizationUrl: string;
|
|
2035
2035
|
scopes: Record<string, string>;
|
|
2036
|
-
refreshUrl?: string |
|
|
2037
|
-
} |
|
|
2036
|
+
refreshUrl?: string | undefined;
|
|
2037
|
+
} | undefined;
|
|
2038
2038
|
password?: {
|
|
2039
2039
|
tokenUrl: string;
|
|
2040
2040
|
scopes: Record<string, string>;
|
|
2041
|
-
refreshUrl?: string |
|
|
2042
|
-
} |
|
|
2041
|
+
refreshUrl?: string | undefined;
|
|
2042
|
+
} | undefined;
|
|
2043
2043
|
};
|
|
2044
|
-
description?: string |
|
|
2045
|
-
oauth2MetadataUrl?: string |
|
|
2044
|
+
description?: string | undefined;
|
|
2045
|
+
oauth2MetadataUrl?: string | undefined;
|
|
2046
2046
|
}>, z.ZodObject<{
|
|
2047
|
-
description: z.
|
|
2047
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2048
2048
|
} & {
|
|
2049
2049
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
2050
2050
|
openIdConnectUrl: z.ZodString;
|
|
2051
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2052
2052
|
type: "openIdConnect";
|
|
2053
2053
|
openIdConnectUrl: string;
|
|
2054
|
-
description?: string |
|
|
2054
|
+
description?: string | undefined;
|
|
2055
2055
|
}, {
|
|
2056
2056
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2057
2057
|
openIdConnectUrl: string;
|
|
2058
|
-
description?: string |
|
|
2058
|
+
description?: string | undefined;
|
|
2059
2059
|
}>, z.ZodObject<{
|
|
2060
|
-
description: z.
|
|
2060
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2061
2061
|
} & {
|
|
2062
2062
|
type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
|
|
2063
2063
|
}, "strip", z.ZodTypeAny, {
|
|
2064
2064
|
type: "mutualTLS";
|
|
2065
|
-
description?: string |
|
|
2065
|
+
description?: string | undefined;
|
|
2066
2066
|
}, {
|
|
2067
2067
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2068
|
-
description?: string |
|
|
2069
|
-
}>]
|
|
2068
|
+
description?: string | undefined;
|
|
2069
|
+
}>]>>>;
|
|
2070
2070
|
/**
|
|
2071
2071
|
* @optional Security requirements for contacting the agent.
|
|
2072
2072
|
* Array of security requirement objects, where each object maps scheme names to scope arrays.
|
|
2073
2073
|
*/
|
|
2074
|
-
security: z.
|
|
2074
|
+
security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
|
|
2075
2075
|
/**
|
|
2076
2076
|
* @required The default input modes supported by the agent.
|
|
2077
2077
|
*/
|
|
@@ -2103,46 +2103,46 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2103
2103
|
/**
|
|
2104
2104
|
* @optional List of example inputs or use cases for the skill.
|
|
2105
2105
|
*/
|
|
2106
|
-
examples: z.
|
|
2106
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2107
2107
|
/**
|
|
2108
2108
|
* @optional List of input modes supported by this skill.
|
|
2109
2109
|
*/
|
|
2110
|
-
inputModes: z.
|
|
2110
|
+
inputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2111
2111
|
/**
|
|
2112
2112
|
* @optional List of output modes supported by this skill.
|
|
2113
2113
|
*/
|
|
2114
|
-
outputModes: z.
|
|
2114
|
+
outputModes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2115
2115
|
/**
|
|
2116
2116
|
* @optional Security schemes necessary for the agent to leverage this skill.
|
|
2117
2117
|
*/
|
|
2118
|
-
security: z.
|
|
2118
|
+
security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
|
|
2119
2119
|
}, "strip", z.ZodTypeAny, {
|
|
2120
2120
|
name: string;
|
|
2121
2121
|
id: string;
|
|
2122
2122
|
description: string;
|
|
2123
2123
|
tags: string[];
|
|
2124
|
-
examples?: string[] |
|
|
2125
|
-
inputModes?: string[] |
|
|
2126
|
-
outputModes?: string[] |
|
|
2127
|
-
security?: Record<string, string[]>[] |
|
|
2124
|
+
examples?: string[] | undefined;
|
|
2125
|
+
inputModes?: string[] | undefined;
|
|
2126
|
+
outputModes?: string[] | undefined;
|
|
2127
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2128
2128
|
}, {
|
|
2129
2129
|
name: string;
|
|
2130
2130
|
id: string;
|
|
2131
2131
|
description: string;
|
|
2132
2132
|
tags: string[];
|
|
2133
|
-
examples?: string[] |
|
|
2134
|
-
inputModes?: string[] |
|
|
2135
|
-
outputModes?: string[] |
|
|
2136
|
-
security?: Record<string, string[]>[] |
|
|
2133
|
+
examples?: string[] | undefined;
|
|
2134
|
+
inputModes?: string[] | undefined;
|
|
2135
|
+
outputModes?: string[] | undefined;
|
|
2136
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2137
2137
|
}>, "many">;
|
|
2138
2138
|
/**
|
|
2139
2139
|
* @optional True if the agent supports providing an extended agent card when the user is authenticated.
|
|
2140
2140
|
*/
|
|
2141
|
-
supportsAuthenticatedExtendedCard: z.
|
|
2141
|
+
supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
|
|
2142
2142
|
/**
|
|
2143
2143
|
* @optional JSON Web Signatures computed for this AgentCard.
|
|
2144
2144
|
*/
|
|
2145
|
-
signatures: z.
|
|
2145
|
+
signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2146
2146
|
/**
|
|
2147
2147
|
* @required The protected JWS header for the signature.
|
|
2148
2148
|
*/
|
|
@@ -2154,16 +2154,16 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2154
2154
|
/**
|
|
2155
2155
|
* @optional The unprotected JWS header values.
|
|
2156
2156
|
*/
|
|
2157
|
-
header: z.
|
|
2157
|
+
header: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2158
2158
|
}, "strip", z.ZodTypeAny, {
|
|
2159
2159
|
protected: string;
|
|
2160
2160
|
signature: string;
|
|
2161
|
-
header?: Record<string, unknown> |
|
|
2161
|
+
header?: Record<string, unknown> | undefined;
|
|
2162
2162
|
}, {
|
|
2163
2163
|
protected: string;
|
|
2164
2164
|
signature: string;
|
|
2165
|
-
header?: Record<string, unknown> |
|
|
2166
|
-
}>, "many"
|
|
2165
|
+
header?: Record<string, unknown> | undefined;
|
|
2166
|
+
}>, "many">>;
|
|
2167
2167
|
}, "strip", z.ZodTypeAny, {
|
|
2168
2168
|
name: string;
|
|
2169
2169
|
url: string;
|
|
@@ -2173,13 +2173,13 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2173
2173
|
capabilities: {
|
|
2174
2174
|
extensions?: {
|
|
2175
2175
|
uri: string;
|
|
2176
|
-
required?: boolean |
|
|
2177
|
-
description?: string |
|
|
2178
|
-
params?: Record<string, unknown> |
|
|
2179
|
-
}[] |
|
|
2180
|
-
streaming?: boolean |
|
|
2181
|
-
pushNotifications?: boolean |
|
|
2182
|
-
stateTransitionHistory?: boolean |
|
|
2176
|
+
required?: boolean | undefined;
|
|
2177
|
+
description?: string | undefined;
|
|
2178
|
+
params?: Record<string, unknown> | undefined;
|
|
2179
|
+
}[] | undefined;
|
|
2180
|
+
streaming?: boolean | undefined;
|
|
2181
|
+
pushNotifications?: boolean | undefined;
|
|
2182
|
+
stateTransitionHistory?: boolean | undefined;
|
|
2183
2183
|
};
|
|
2184
2184
|
defaultInputModes: string[];
|
|
2185
2185
|
defaultOutputModes: string[];
|
|
@@ -2188,33 +2188,33 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2188
2188
|
id: string;
|
|
2189
2189
|
description: string;
|
|
2190
2190
|
tags: string[];
|
|
2191
|
-
examples?: string[] |
|
|
2192
|
-
inputModes?: string[] |
|
|
2193
|
-
outputModes?: string[] |
|
|
2194
|
-
security?: Record<string, string[]>[] |
|
|
2191
|
+
examples?: string[] | undefined;
|
|
2192
|
+
inputModes?: string[] | undefined;
|
|
2193
|
+
outputModes?: string[] | undefined;
|
|
2194
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2195
2195
|
}[];
|
|
2196
|
-
security?: Record<string, string[]>[] |
|
|
2197
|
-
preferredTransport?: string |
|
|
2196
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2197
|
+
preferredTransport?: string | undefined;
|
|
2198
2198
|
additionalInterfaces?: {
|
|
2199
2199
|
url: string;
|
|
2200
2200
|
transport: string;
|
|
2201
|
-
}[] |
|
|
2202
|
-
iconUrl?: string |
|
|
2201
|
+
}[] | undefined;
|
|
2202
|
+
iconUrl?: string | undefined;
|
|
2203
2203
|
provider?: {
|
|
2204
2204
|
url: string;
|
|
2205
2205
|
organization: string;
|
|
2206
|
-
} |
|
|
2207
|
-
documentationUrl?: string |
|
|
2206
|
+
} | undefined;
|
|
2207
|
+
documentationUrl?: string | undefined;
|
|
2208
2208
|
securitySchemes?: Record<string, {
|
|
2209
2209
|
name: string;
|
|
2210
2210
|
type: "apiKey";
|
|
2211
2211
|
in: "header" | "query" | "cookie";
|
|
2212
|
-
description?: string |
|
|
2212
|
+
description?: string | undefined;
|
|
2213
2213
|
} | {
|
|
2214
2214
|
type: "http";
|
|
2215
2215
|
scheme: string;
|
|
2216
|
-
description?: string |
|
|
2217
|
-
bearerFormat?: string |
|
|
2216
|
+
description?: string | undefined;
|
|
2217
|
+
bearerFormat?: string | undefined;
|
|
2218
2218
|
} | {
|
|
2219
2219
|
type: "oauth2";
|
|
2220
2220
|
flows: {
|
|
@@ -2222,40 +2222,40 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2222
2222
|
authorizationUrl: string;
|
|
2223
2223
|
tokenUrl: string;
|
|
2224
2224
|
scopes: Record<string, string>;
|
|
2225
|
-
refreshUrl?: string |
|
|
2226
|
-
} |
|
|
2225
|
+
refreshUrl?: string | undefined;
|
|
2226
|
+
} | undefined;
|
|
2227
2227
|
clientCredentials?: {
|
|
2228
2228
|
tokenUrl: string;
|
|
2229
2229
|
scopes: Record<string, string>;
|
|
2230
|
-
refreshUrl?: string |
|
|
2231
|
-
} |
|
|
2230
|
+
refreshUrl?: string | undefined;
|
|
2231
|
+
} | undefined;
|
|
2232
2232
|
implicit?: {
|
|
2233
2233
|
authorizationUrl: string;
|
|
2234
2234
|
scopes: Record<string, string>;
|
|
2235
|
-
refreshUrl?: string |
|
|
2236
|
-
} |
|
|
2235
|
+
refreshUrl?: string | undefined;
|
|
2236
|
+
} | undefined;
|
|
2237
2237
|
password?: {
|
|
2238
2238
|
tokenUrl: string;
|
|
2239
2239
|
scopes: Record<string, string>;
|
|
2240
|
-
refreshUrl?: string |
|
|
2241
|
-
} |
|
|
2240
|
+
refreshUrl?: string | undefined;
|
|
2241
|
+
} | undefined;
|
|
2242
2242
|
};
|
|
2243
|
-
description?: string |
|
|
2244
|
-
oauth2MetadataUrl?: string |
|
|
2243
|
+
description?: string | undefined;
|
|
2244
|
+
oauth2MetadataUrl?: string | undefined;
|
|
2245
2245
|
} | {
|
|
2246
2246
|
type: "openIdConnect";
|
|
2247
2247
|
openIdConnectUrl: string;
|
|
2248
|
-
description?: string |
|
|
2248
|
+
description?: string | undefined;
|
|
2249
2249
|
} | {
|
|
2250
2250
|
type: "mutualTLS";
|
|
2251
|
-
description?: string |
|
|
2252
|
-
}> |
|
|
2253
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
2251
|
+
description?: string | undefined;
|
|
2252
|
+
}> | undefined;
|
|
2253
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
2254
2254
|
signatures?: {
|
|
2255
2255
|
protected: string;
|
|
2256
2256
|
signature: string;
|
|
2257
|
-
header?: Record<string, unknown> |
|
|
2258
|
-
}[] |
|
|
2257
|
+
header?: Record<string, unknown> | undefined;
|
|
2258
|
+
}[] | undefined;
|
|
2259
2259
|
}, {
|
|
2260
2260
|
name: string;
|
|
2261
2261
|
url: string;
|
|
@@ -2264,13 +2264,13 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2264
2264
|
capabilities: {
|
|
2265
2265
|
extensions?: {
|
|
2266
2266
|
uri: string;
|
|
2267
|
-
required?: boolean |
|
|
2268
|
-
description?: string |
|
|
2269
|
-
params?: Record<string, unknown> |
|
|
2270
|
-
}[] |
|
|
2271
|
-
streaming?: boolean |
|
|
2272
|
-
pushNotifications?: boolean |
|
|
2273
|
-
stateTransitionHistory?: boolean |
|
|
2267
|
+
required?: boolean | undefined;
|
|
2268
|
+
description?: string | undefined;
|
|
2269
|
+
params?: Record<string, unknown> | undefined;
|
|
2270
|
+
}[] | undefined;
|
|
2271
|
+
streaming?: boolean | undefined;
|
|
2272
|
+
pushNotifications?: boolean | undefined;
|
|
2273
|
+
stateTransitionHistory?: boolean | undefined;
|
|
2274
2274
|
};
|
|
2275
2275
|
defaultInputModes: string[];
|
|
2276
2276
|
defaultOutputModes: string[];
|
|
@@ -2279,34 +2279,34 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2279
2279
|
id: string;
|
|
2280
2280
|
description: string;
|
|
2281
2281
|
tags: string[];
|
|
2282
|
-
examples?: string[] |
|
|
2283
|
-
inputModes?: string[] |
|
|
2284
|
-
outputModes?: string[] |
|
|
2285
|
-
security?: Record<string, string[]>[] |
|
|
2282
|
+
examples?: string[] | undefined;
|
|
2283
|
+
inputModes?: string[] | undefined;
|
|
2284
|
+
outputModes?: string[] | undefined;
|
|
2285
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2286
2286
|
}[];
|
|
2287
|
-
security?: Record<string, string[]>[] |
|
|
2287
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2288
2288
|
protocolVersion?: string | undefined;
|
|
2289
|
-
preferredTransport?: string |
|
|
2289
|
+
preferredTransport?: string | undefined;
|
|
2290
2290
|
additionalInterfaces?: {
|
|
2291
2291
|
url: string;
|
|
2292
2292
|
transport: string;
|
|
2293
|
-
}[] |
|
|
2294
|
-
iconUrl?: string |
|
|
2293
|
+
}[] | undefined;
|
|
2294
|
+
iconUrl?: string | undefined;
|
|
2295
2295
|
provider?: {
|
|
2296
2296
|
url: string;
|
|
2297
2297
|
organization: string;
|
|
2298
|
-
} |
|
|
2299
|
-
documentationUrl?: string |
|
|
2298
|
+
} | undefined;
|
|
2299
|
+
documentationUrl?: string | undefined;
|
|
2300
2300
|
securitySchemes?: Record<string, {
|
|
2301
2301
|
name: string;
|
|
2302
2302
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2303
2303
|
in: "header" | "query" | "cookie";
|
|
2304
|
-
description?: string |
|
|
2304
|
+
description?: string | undefined;
|
|
2305
2305
|
} | {
|
|
2306
2306
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2307
2307
|
scheme: string;
|
|
2308
|
-
description?: string |
|
|
2309
|
-
bearerFormat?: string |
|
|
2308
|
+
description?: string | undefined;
|
|
2309
|
+
bearerFormat?: string | undefined;
|
|
2310
2310
|
} | {
|
|
2311
2311
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2312
2312
|
flows: {
|
|
@@ -2314,40 +2314,40 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2314
2314
|
authorizationUrl: string;
|
|
2315
2315
|
tokenUrl: string;
|
|
2316
2316
|
scopes: Record<string, string>;
|
|
2317
|
-
refreshUrl?: string |
|
|
2318
|
-
} |
|
|
2317
|
+
refreshUrl?: string | undefined;
|
|
2318
|
+
} | undefined;
|
|
2319
2319
|
clientCredentials?: {
|
|
2320
2320
|
tokenUrl: string;
|
|
2321
2321
|
scopes: Record<string, string>;
|
|
2322
|
-
refreshUrl?: string |
|
|
2323
|
-
} |
|
|
2322
|
+
refreshUrl?: string | undefined;
|
|
2323
|
+
} | undefined;
|
|
2324
2324
|
implicit?: {
|
|
2325
2325
|
authorizationUrl: string;
|
|
2326
2326
|
scopes: Record<string, string>;
|
|
2327
|
-
refreshUrl?: string |
|
|
2328
|
-
} |
|
|
2327
|
+
refreshUrl?: string | undefined;
|
|
2328
|
+
} | undefined;
|
|
2329
2329
|
password?: {
|
|
2330
2330
|
tokenUrl: string;
|
|
2331
2331
|
scopes: Record<string, string>;
|
|
2332
|
-
refreshUrl?: string |
|
|
2333
|
-
} |
|
|
2332
|
+
refreshUrl?: string | undefined;
|
|
2333
|
+
} | undefined;
|
|
2334
2334
|
};
|
|
2335
|
-
description?: string |
|
|
2336
|
-
oauth2MetadataUrl?: string |
|
|
2335
|
+
description?: string | undefined;
|
|
2336
|
+
oauth2MetadataUrl?: string | undefined;
|
|
2337
2337
|
} | {
|
|
2338
2338
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2339
2339
|
openIdConnectUrl: string;
|
|
2340
|
-
description?: string |
|
|
2340
|
+
description?: string | undefined;
|
|
2341
2341
|
} | {
|
|
2342
2342
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2343
|
-
description?: string |
|
|
2344
|
-
}> |
|
|
2345
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
2343
|
+
description?: string | undefined;
|
|
2344
|
+
}> | undefined;
|
|
2345
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
2346
2346
|
signatures?: {
|
|
2347
2347
|
protected: string;
|
|
2348
2348
|
signature: string;
|
|
2349
|
-
header?: Record<string, unknown> |
|
|
2350
|
-
}[] |
|
|
2349
|
+
header?: Record<string, unknown> | undefined;
|
|
2350
|
+
}[] | undefined;
|
|
2351
2351
|
}>;
|
|
2352
2352
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2353
|
jsonrpc: "2.0";
|
|
@@ -2360,13 +2360,13 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2360
2360
|
capabilities: {
|
|
2361
2361
|
extensions?: {
|
|
2362
2362
|
uri: string;
|
|
2363
|
-
required?: boolean |
|
|
2364
|
-
description?: string |
|
|
2365
|
-
params?: Record<string, unknown> |
|
|
2366
|
-
}[] |
|
|
2367
|
-
streaming?: boolean |
|
|
2368
|
-
pushNotifications?: boolean |
|
|
2369
|
-
stateTransitionHistory?: boolean |
|
|
2363
|
+
required?: boolean | undefined;
|
|
2364
|
+
description?: string | undefined;
|
|
2365
|
+
params?: Record<string, unknown> | undefined;
|
|
2366
|
+
}[] | undefined;
|
|
2367
|
+
streaming?: boolean | undefined;
|
|
2368
|
+
pushNotifications?: boolean | undefined;
|
|
2369
|
+
stateTransitionHistory?: boolean | undefined;
|
|
2370
2370
|
};
|
|
2371
2371
|
defaultInputModes: string[];
|
|
2372
2372
|
defaultOutputModes: string[];
|
|
@@ -2375,33 +2375,33 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2375
2375
|
id: string;
|
|
2376
2376
|
description: string;
|
|
2377
2377
|
tags: string[];
|
|
2378
|
-
examples?: string[] |
|
|
2379
|
-
inputModes?: string[] |
|
|
2380
|
-
outputModes?: string[] |
|
|
2381
|
-
security?: Record<string, string[]>[] |
|
|
2378
|
+
examples?: string[] | undefined;
|
|
2379
|
+
inputModes?: string[] | undefined;
|
|
2380
|
+
outputModes?: string[] | undefined;
|
|
2381
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2382
2382
|
}[];
|
|
2383
|
-
security?: Record<string, string[]>[] |
|
|
2384
|
-
preferredTransport?: string |
|
|
2383
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2384
|
+
preferredTransport?: string | undefined;
|
|
2385
2385
|
additionalInterfaces?: {
|
|
2386
2386
|
url: string;
|
|
2387
2387
|
transport: string;
|
|
2388
|
-
}[] |
|
|
2389
|
-
iconUrl?: string |
|
|
2388
|
+
}[] | undefined;
|
|
2389
|
+
iconUrl?: string | undefined;
|
|
2390
2390
|
provider?: {
|
|
2391
2391
|
url: string;
|
|
2392
2392
|
organization: string;
|
|
2393
|
-
} |
|
|
2394
|
-
documentationUrl?: string |
|
|
2393
|
+
} | undefined;
|
|
2394
|
+
documentationUrl?: string | undefined;
|
|
2395
2395
|
securitySchemes?: Record<string, {
|
|
2396
2396
|
name: string;
|
|
2397
2397
|
type: "apiKey";
|
|
2398
2398
|
in: "header" | "query" | "cookie";
|
|
2399
|
-
description?: string |
|
|
2399
|
+
description?: string | undefined;
|
|
2400
2400
|
} | {
|
|
2401
2401
|
type: "http";
|
|
2402
2402
|
scheme: string;
|
|
2403
|
-
description?: string |
|
|
2404
|
-
bearerFormat?: string |
|
|
2403
|
+
description?: string | undefined;
|
|
2404
|
+
bearerFormat?: string | undefined;
|
|
2405
2405
|
} | {
|
|
2406
2406
|
type: "oauth2";
|
|
2407
2407
|
flows: {
|
|
@@ -2409,43 +2409,43 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2409
2409
|
authorizationUrl: string;
|
|
2410
2410
|
tokenUrl: string;
|
|
2411
2411
|
scopes: Record<string, string>;
|
|
2412
|
-
refreshUrl?: string |
|
|
2413
|
-
} |
|
|
2412
|
+
refreshUrl?: string | undefined;
|
|
2413
|
+
} | undefined;
|
|
2414
2414
|
clientCredentials?: {
|
|
2415
2415
|
tokenUrl: string;
|
|
2416
2416
|
scopes: Record<string, string>;
|
|
2417
|
-
refreshUrl?: string |
|
|
2418
|
-
} |
|
|
2417
|
+
refreshUrl?: string | undefined;
|
|
2418
|
+
} | undefined;
|
|
2419
2419
|
implicit?: {
|
|
2420
2420
|
authorizationUrl: string;
|
|
2421
2421
|
scopes: Record<string, string>;
|
|
2422
|
-
refreshUrl?: string |
|
|
2423
|
-
} |
|
|
2422
|
+
refreshUrl?: string | undefined;
|
|
2423
|
+
} | undefined;
|
|
2424
2424
|
password?: {
|
|
2425
2425
|
tokenUrl: string;
|
|
2426
2426
|
scopes: Record<string, string>;
|
|
2427
|
-
refreshUrl?: string |
|
|
2428
|
-
} |
|
|
2427
|
+
refreshUrl?: string | undefined;
|
|
2428
|
+
} | undefined;
|
|
2429
2429
|
};
|
|
2430
|
-
description?: string |
|
|
2431
|
-
oauth2MetadataUrl?: string |
|
|
2430
|
+
description?: string | undefined;
|
|
2431
|
+
oauth2MetadataUrl?: string | undefined;
|
|
2432
2432
|
} | {
|
|
2433
2433
|
type: "openIdConnect";
|
|
2434
2434
|
openIdConnectUrl: string;
|
|
2435
|
-
description?: string |
|
|
2435
|
+
description?: string | undefined;
|
|
2436
2436
|
} | {
|
|
2437
2437
|
type: "mutualTLS";
|
|
2438
|
-
description?: string |
|
|
2439
|
-
}> |
|
|
2440
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
2438
|
+
description?: string | undefined;
|
|
2439
|
+
}> | undefined;
|
|
2440
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
2441
2441
|
signatures?: {
|
|
2442
2442
|
protected: string;
|
|
2443
2443
|
signature: string;
|
|
2444
|
-
header?: Record<string, unknown> |
|
|
2445
|
-
}[] |
|
|
2444
|
+
header?: Record<string, unknown> | undefined;
|
|
2445
|
+
}[] | undefined;
|
|
2446
2446
|
};
|
|
2447
|
-
error?:
|
|
2448
|
-
id?: string | number |
|
|
2447
|
+
error?: undefined;
|
|
2448
|
+
id?: string | number | undefined;
|
|
2449
2449
|
}, {
|
|
2450
2450
|
jsonrpc: "2.0";
|
|
2451
2451
|
result: {
|
|
@@ -2456,13 +2456,13 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2456
2456
|
capabilities: {
|
|
2457
2457
|
extensions?: {
|
|
2458
2458
|
uri: string;
|
|
2459
|
-
required?: boolean |
|
|
2460
|
-
description?: string |
|
|
2461
|
-
params?: Record<string, unknown> |
|
|
2462
|
-
}[] |
|
|
2463
|
-
streaming?: boolean |
|
|
2464
|
-
pushNotifications?: boolean |
|
|
2465
|
-
stateTransitionHistory?: boolean |
|
|
2459
|
+
required?: boolean | undefined;
|
|
2460
|
+
description?: string | undefined;
|
|
2461
|
+
params?: Record<string, unknown> | undefined;
|
|
2462
|
+
}[] | undefined;
|
|
2463
|
+
streaming?: boolean | undefined;
|
|
2464
|
+
pushNotifications?: boolean | undefined;
|
|
2465
|
+
stateTransitionHistory?: boolean | undefined;
|
|
2466
2466
|
};
|
|
2467
2467
|
defaultInputModes: string[];
|
|
2468
2468
|
defaultOutputModes: string[];
|
|
@@ -2471,34 +2471,34 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2471
2471
|
id: string;
|
|
2472
2472
|
description: string;
|
|
2473
2473
|
tags: string[];
|
|
2474
|
-
examples?: string[] |
|
|
2475
|
-
inputModes?: string[] |
|
|
2476
|
-
outputModes?: string[] |
|
|
2477
|
-
security?: Record<string, string[]>[] |
|
|
2474
|
+
examples?: string[] | undefined;
|
|
2475
|
+
inputModes?: string[] | undefined;
|
|
2476
|
+
outputModes?: string[] | undefined;
|
|
2477
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2478
2478
|
}[];
|
|
2479
|
-
security?: Record<string, string[]>[] |
|
|
2479
|
+
security?: Record<string, string[]>[] | undefined;
|
|
2480
2480
|
protocolVersion?: string | undefined;
|
|
2481
|
-
preferredTransport?: string |
|
|
2481
|
+
preferredTransport?: string | undefined;
|
|
2482
2482
|
additionalInterfaces?: {
|
|
2483
2483
|
url: string;
|
|
2484
2484
|
transport: string;
|
|
2485
|
-
}[] |
|
|
2486
|
-
iconUrl?: string |
|
|
2485
|
+
}[] | undefined;
|
|
2486
|
+
iconUrl?: string | undefined;
|
|
2487
2487
|
provider?: {
|
|
2488
2488
|
url: string;
|
|
2489
2489
|
organization: string;
|
|
2490
|
-
} |
|
|
2491
|
-
documentationUrl?: string |
|
|
2490
|
+
} | undefined;
|
|
2491
|
+
documentationUrl?: string | undefined;
|
|
2492
2492
|
securitySchemes?: Record<string, {
|
|
2493
2493
|
name: string;
|
|
2494
2494
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2495
2495
|
in: "header" | "query" | "cookie";
|
|
2496
|
-
description?: string |
|
|
2496
|
+
description?: string | undefined;
|
|
2497
2497
|
} | {
|
|
2498
2498
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2499
2499
|
scheme: string;
|
|
2500
|
-
description?: string |
|
|
2501
|
-
bearerFormat?: string |
|
|
2500
|
+
description?: string | undefined;
|
|
2501
|
+
bearerFormat?: string | undefined;
|
|
2502
2502
|
} | {
|
|
2503
2503
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2504
2504
|
flows: {
|
|
@@ -2506,52 +2506,52 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2506
2506
|
authorizationUrl: string;
|
|
2507
2507
|
tokenUrl: string;
|
|
2508
2508
|
scopes: Record<string, string>;
|
|
2509
|
-
refreshUrl?: string |
|
|
2510
|
-
} |
|
|
2509
|
+
refreshUrl?: string | undefined;
|
|
2510
|
+
} | undefined;
|
|
2511
2511
|
clientCredentials?: {
|
|
2512
2512
|
tokenUrl: string;
|
|
2513
2513
|
scopes: Record<string, string>;
|
|
2514
|
-
refreshUrl?: string |
|
|
2515
|
-
} |
|
|
2514
|
+
refreshUrl?: string | undefined;
|
|
2515
|
+
} | undefined;
|
|
2516
2516
|
implicit?: {
|
|
2517
2517
|
authorizationUrl: string;
|
|
2518
2518
|
scopes: Record<string, string>;
|
|
2519
|
-
refreshUrl?: string |
|
|
2520
|
-
} |
|
|
2519
|
+
refreshUrl?: string | undefined;
|
|
2520
|
+
} | undefined;
|
|
2521
2521
|
password?: {
|
|
2522
2522
|
tokenUrl: string;
|
|
2523
2523
|
scopes: Record<string, string>;
|
|
2524
|
-
refreshUrl?: string |
|
|
2525
|
-
} |
|
|
2524
|
+
refreshUrl?: string | undefined;
|
|
2525
|
+
} | undefined;
|
|
2526
2526
|
};
|
|
2527
|
-
description?: string |
|
|
2528
|
-
oauth2MetadataUrl?: string |
|
|
2527
|
+
description?: string | undefined;
|
|
2528
|
+
oauth2MetadataUrl?: string | undefined;
|
|
2529
2529
|
} | {
|
|
2530
2530
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2531
2531
|
openIdConnectUrl: string;
|
|
2532
|
-
description?: string |
|
|
2532
|
+
description?: string | undefined;
|
|
2533
2533
|
} | {
|
|
2534
2534
|
type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
|
|
2535
|
-
description?: string |
|
|
2536
|
-
}> |
|
|
2537
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
2535
|
+
description?: string | undefined;
|
|
2536
|
+
}> | undefined;
|
|
2537
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
2538
2538
|
signatures?: {
|
|
2539
2539
|
protected: string;
|
|
2540
2540
|
signature: string;
|
|
2541
|
-
header?: Record<string, unknown> |
|
|
2542
|
-
}[] |
|
|
2541
|
+
header?: Record<string, unknown> | undefined;
|
|
2542
|
+
}[] | undefined;
|
|
2543
2543
|
};
|
|
2544
|
-
error?:
|
|
2545
|
-
id?: string | number |
|
|
2544
|
+
error?: undefined;
|
|
2545
|
+
id?: string | number | undefined;
|
|
2546
2546
|
}>, z.ZodObject<{
|
|
2547
2547
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
2548
|
-
id: z.
|
|
2548
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2549
2549
|
} & {
|
|
2550
|
-
result: z.
|
|
2550
|
+
result: z.ZodOptional<z.ZodNever>;
|
|
2551
2551
|
error: z.ZodObject<{
|
|
2552
2552
|
code: z.ZodNumber;
|
|
2553
2553
|
message: z.ZodString;
|
|
2554
|
-
data: z.
|
|
2554
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2555
2555
|
}, "strip", z.ZodTypeAny, {
|
|
2556
2556
|
code: number;
|
|
2557
2557
|
message: string;
|
|
@@ -2568,8 +2568,8 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2568
2568
|
data?: unknown;
|
|
2569
2569
|
};
|
|
2570
2570
|
jsonrpc: "2.0";
|
|
2571
|
-
id?: string | number |
|
|
2572
|
-
result?:
|
|
2571
|
+
id?: string | number | undefined;
|
|
2572
|
+
result?: undefined;
|
|
2573
2573
|
}, {
|
|
2574
2574
|
error: {
|
|
2575
2575
|
code: number;
|
|
@@ -2577,7 +2577,7 @@ export declare const GetAuthenticatedExtendedCardResponseSchema: z.ZodUnion<[z.Z
|
|
|
2577
2577
|
data?: unknown;
|
|
2578
2578
|
};
|
|
2579
2579
|
jsonrpc: "2.0";
|
|
2580
|
-
id?: string | number |
|
|
2581
|
-
result?:
|
|
2580
|
+
id?: string | number | undefined;
|
|
2581
|
+
result?: undefined;
|
|
2582
2582
|
}>]>;
|
|
2583
2583
|
export type GetAuthenticatedExtendedCardResponse = z.infer<typeof GetAuthenticatedExtendedCardResponseSchema>;
|