@a2a-js/sdk 0.2.2 → 0.2.4
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 +106 -89
- package/dist/client/index.cjs +396 -0
- package/dist/client/index.d.cts +120 -0
- package/{build/src/client/client.d.ts → dist/client/index.d.ts} +5 -3
- package/dist/client/index.js +370 -0
- package/dist/index.cjs +17 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +0 -0
- package/dist/server/index.cjs +885 -0
- package/dist/server/index.d.cts +207 -0
- package/dist/server/index.d.ts +207 -0
- package/dist/server/index.js +841 -0
- package/{build/src/types.d.ts → dist/types-CcBgkR2G.d.cts} +105 -103
- package/dist/types-CcBgkR2G.d.ts +2048 -0
- package/package.json +25 -7
- package/build/src/a2a_response.d.ts +0 -5
- package/build/src/a2a_response.js +0 -2
- package/build/src/client/client.js +0 -409
- package/build/src/index.d.ts +0 -21
- package/build/src/index.js +0 -18
- package/build/src/samples/agents/movie-agent/genkit.d.ts +0 -2
- package/build/src/samples/agents/movie-agent/genkit.js +0 -11
- package/build/src/samples/agents/movie-agent/index.d.ts +0 -1
- package/build/src/samples/agents/movie-agent/index.js +0 -252
- package/build/src/samples/agents/movie-agent/tmdb.d.ts +0 -7
- package/build/src/samples/agents/movie-agent/tmdb.js +0 -32
- package/build/src/samples/agents/movie-agent/tools.d.ts +0 -15
- package/build/src/samples/agents/movie-agent/tools.js +0 -74
- package/build/src/samples/cli.d.ts +0 -2
- package/build/src/samples/cli.js +0 -289
- package/build/src/server/a2a_express_app.d.ts +0 -14
- package/build/src/server/a2a_express_app.js +0 -98
- package/build/src/server/agent_execution/agent_executor.d.ts +0 -18
- package/build/src/server/agent_execution/agent_executor.js +0 -2
- package/build/src/server/agent_execution/request_context.d.ts +0 -9
- package/build/src/server/agent_execution/request_context.js +0 -15
- package/build/src/server/error.d.ts +0 -23
- package/build/src/server/error.js +0 -57
- package/build/src/server/events/execution_event_bus.d.ts +0 -16
- package/build/src/server/events/execution_event_bus.js +0 -13
- package/build/src/server/events/execution_event_bus_manager.d.ts +0 -27
- package/build/src/server/events/execution_event_bus_manager.js +0 -36
- package/build/src/server/events/execution_event_queue.d.ts +0 -24
- package/build/src/server/events/execution_event_queue.js +0 -63
- package/build/src/server/request_handler/a2a_request_handler.d.ts +0 -11
- package/build/src/server/request_handler/a2a_request_handler.js +0 -2
- package/build/src/server/request_handler/default_request_handler.d.ts +0 -23
- package/build/src/server/request_handler/default_request_handler.js +0 -340
- package/build/src/server/result_manager.d.ts +0 -29
- package/build/src/server/result_manager.js +0 -149
- package/build/src/server/store.d.ts +0 -25
- package/build/src/server/store.js +0 -17
- package/build/src/server/transports/jsonrpc_transport_handler.d.ts +0 -15
- package/build/src/server/transports/jsonrpc_transport_handler.js +0 -114
- package/build/src/server/utils.d.ts +0 -22
- package/build/src/server/utils.js +0 -34
- package/build/src/types-old.d.ts +0 -832
- package/build/src/types-old.js +0 -20
- package/build/src/types.js +0 -8
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
8
8
|
* via the `definition` "A2AError".
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type A2AError = JSONParseError | InvalidRequestError | MethodNotFoundError | InvalidParamsError | InternalError | TaskNotFoundError | TaskNotCancelableError | PushNotificationNotSupportedError | UnsupportedOperationError | ContentTypeNotSupportedError | InvalidAgentResponseError;
|
|
11
11
|
/**
|
|
12
12
|
* A2A supported request types
|
|
13
13
|
*
|
|
14
14
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
15
15
|
* via the `definition` "A2ARequest".
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
type A2ARequest = SendMessageRequest | SendStreamingMessageRequest | GetTaskRequest | CancelTaskRequest | SetTaskPushNotificationConfigRequest | GetTaskPushNotificationConfigRequest | TaskResubscriptionRequest;
|
|
18
18
|
/**
|
|
19
19
|
* Represents a part of a message, which can be text, a file, or structured data.
|
|
20
20
|
*
|
|
21
21
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
22
22
|
* via the `definition` "Part".
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
type Part = TextPart | FilePart | DataPart;
|
|
25
25
|
/**
|
|
26
26
|
* Mirrors the OpenAPI Security Scheme Object
|
|
27
27
|
* (https://swagger.io/specification/#security-scheme-object)
|
|
@@ -29,64 +29,64 @@ export type Part = TextPart | FilePart | DataPart;
|
|
|
29
29
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
30
30
|
* via the `definition` "SecurityScheme".
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
type SecurityScheme = APIKeySecurityScheme | HTTPAuthSecurityScheme | OAuth2SecurityScheme | OpenIdConnectSecurityScheme;
|
|
33
33
|
/**
|
|
34
34
|
* JSON-RPC response for the 'tasks/cancel' method.
|
|
35
35
|
*
|
|
36
36
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
37
37
|
* via the `definition` "CancelTaskResponse".
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
type CancelTaskResponse = JSONRPCErrorResponse | CancelTaskSuccessResponse;
|
|
40
40
|
/**
|
|
41
41
|
* Represents the possible states of a Task.
|
|
42
42
|
*
|
|
43
43
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
44
44
|
* via the `definition` "TaskState".
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
type TaskState = "submitted" | "working" | "input-required" | "completed" | "canceled" | "failed" | "rejected" | "auth-required" | "unknown";
|
|
47
47
|
/**
|
|
48
48
|
* JSON-RPC response for the 'tasks/pushNotificationConfig/set' method.
|
|
49
49
|
*
|
|
50
50
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
51
51
|
* via the `definition` "GetTaskPushNotificationConfigResponse".
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
type GetTaskPushNotificationConfigResponse = JSONRPCErrorResponse | GetTaskPushNotificationConfigSuccessResponse;
|
|
54
54
|
/**
|
|
55
55
|
* JSON-RPC response for the 'tasks/get' method.
|
|
56
56
|
*
|
|
57
57
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
58
58
|
* via the `definition` "GetTaskResponse".
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
type GetTaskResponse = JSONRPCErrorResponse | GetTaskSuccessResponse;
|
|
61
61
|
/**
|
|
62
62
|
* Represents a JSON-RPC 2.0 Response object.
|
|
63
63
|
*
|
|
64
64
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
65
65
|
* via the `definition` "JSONRPCResponse".
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
type JSONRPCResponse = JSONRPCErrorResponse | SendMessageSuccessResponse | SendStreamingMessageSuccessResponse | GetTaskSuccessResponse | CancelTaskSuccessResponse | SetTaskPushNotificationConfigSuccessResponse | GetTaskPushNotificationConfigSuccessResponse;
|
|
68
68
|
/**
|
|
69
69
|
* JSON-RPC response model for the 'message/send' method.
|
|
70
70
|
*
|
|
71
71
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
72
72
|
* via the `definition` "SendMessageResponse".
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
type SendMessageResponse = JSONRPCErrorResponse | SendMessageSuccessResponse;
|
|
75
75
|
/**
|
|
76
76
|
* JSON-RPC response model for the 'message/stream' method.
|
|
77
77
|
*
|
|
78
78
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
79
79
|
* via the `definition` "SendStreamingMessageResponse".
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
type SendStreamingMessageResponse = JSONRPCErrorResponse | SendStreamingMessageSuccessResponse;
|
|
82
82
|
/**
|
|
83
83
|
* JSON-RPC response for the 'tasks/pushNotificationConfig/set' method.
|
|
84
84
|
*
|
|
85
85
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
86
86
|
* via the `definition` "SetTaskPushNotificationConfigResponse".
|
|
87
87
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
type SetTaskPushNotificationConfigResponse = JSONRPCErrorResponse | SetTaskPushNotificationConfigSuccessResponse;
|
|
89
|
+
interface MySchema {
|
|
90
90
|
[k: string]: unknown;
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
@@ -95,7 +95,7 @@ export interface MySchema {
|
|
|
95
95
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
96
96
|
* via the `definition` "JSONParseError".
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
interface JSONParseError {
|
|
99
99
|
/**
|
|
100
100
|
* A Number that indicates the error type that occurred.
|
|
101
101
|
*/
|
|
@@ -118,7 +118,7 @@ export interface JSONParseError {
|
|
|
118
118
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
119
119
|
* via the `definition` "InvalidRequestError".
|
|
120
120
|
*/
|
|
121
|
-
|
|
121
|
+
interface InvalidRequestError {
|
|
122
122
|
/**
|
|
123
123
|
* A Number that indicates the error type that occurred.
|
|
124
124
|
*/
|
|
@@ -141,7 +141,7 @@ export interface InvalidRequestError {
|
|
|
141
141
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
142
142
|
* via the `definition` "MethodNotFoundError".
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
interface MethodNotFoundError {
|
|
145
145
|
/**
|
|
146
146
|
* A Number that indicates the error type that occurred.
|
|
147
147
|
*/
|
|
@@ -164,7 +164,7 @@ export interface MethodNotFoundError {
|
|
|
164
164
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
165
165
|
* via the `definition` "InvalidParamsError".
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
interface InvalidParamsError {
|
|
168
168
|
/**
|
|
169
169
|
* A Number that indicates the error type that occurred.
|
|
170
170
|
*/
|
|
@@ -187,7 +187,7 @@ export interface InvalidParamsError {
|
|
|
187
187
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
188
188
|
* via the `definition` "InternalError".
|
|
189
189
|
*/
|
|
190
|
-
|
|
190
|
+
interface InternalError {
|
|
191
191
|
/**
|
|
192
192
|
* A Number that indicates the error type that occurred.
|
|
193
193
|
*/
|
|
@@ -210,7 +210,7 @@ export interface InternalError {
|
|
|
210
210
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
211
211
|
* via the `definition` "TaskNotFoundError".
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
interface TaskNotFoundError {
|
|
214
214
|
/**
|
|
215
215
|
* A Number that indicates the error type that occurred.
|
|
216
216
|
*/
|
|
@@ -233,7 +233,7 @@ export interface TaskNotFoundError {
|
|
|
233
233
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
234
234
|
* via the `definition` "TaskNotCancelableError".
|
|
235
235
|
*/
|
|
236
|
-
|
|
236
|
+
interface TaskNotCancelableError {
|
|
237
237
|
/**
|
|
238
238
|
* A Number that indicates the error type that occurred.
|
|
239
239
|
*/
|
|
@@ -256,7 +256,7 @@ export interface TaskNotCancelableError {
|
|
|
256
256
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
257
257
|
* via the `definition` "PushNotificationNotSupportedError".
|
|
258
258
|
*/
|
|
259
|
-
|
|
259
|
+
interface PushNotificationNotSupportedError {
|
|
260
260
|
/**
|
|
261
261
|
* A Number that indicates the error type that occurred.
|
|
262
262
|
*/
|
|
@@ -279,7 +279,7 @@ export interface PushNotificationNotSupportedError {
|
|
|
279
279
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
280
280
|
* via the `definition` "UnsupportedOperationError".
|
|
281
281
|
*/
|
|
282
|
-
|
|
282
|
+
interface UnsupportedOperationError {
|
|
283
283
|
/**
|
|
284
284
|
* A Number that indicates the error type that occurred.
|
|
285
285
|
*/
|
|
@@ -302,7 +302,7 @@ export interface UnsupportedOperationError {
|
|
|
302
302
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
303
303
|
* via the `definition` "ContentTypeNotSupportedError".
|
|
304
304
|
*/
|
|
305
|
-
|
|
305
|
+
interface ContentTypeNotSupportedError {
|
|
306
306
|
/**
|
|
307
307
|
* A Number that indicates the error type that occurred.
|
|
308
308
|
*/
|
|
@@ -325,7 +325,7 @@ export interface ContentTypeNotSupportedError {
|
|
|
325
325
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
326
326
|
* via the `definition` "InvalidAgentResponseError".
|
|
327
327
|
*/
|
|
328
|
-
|
|
328
|
+
interface InvalidAgentResponseError {
|
|
329
329
|
/**
|
|
330
330
|
* A Number that indicates the error type that occurred.
|
|
331
331
|
*/
|
|
@@ -348,7 +348,7 @@ export interface InvalidAgentResponseError {
|
|
|
348
348
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
349
349
|
* via the `definition` "SendMessageRequest".
|
|
350
350
|
*/
|
|
351
|
-
|
|
351
|
+
interface SendMessageRequest {
|
|
352
352
|
/**
|
|
353
353
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
354
354
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -367,7 +367,7 @@ export interface SendMessageRequest {
|
|
|
367
367
|
/**
|
|
368
368
|
* A Structured value that holds the parameter values to be used during the invocation of the method.
|
|
369
369
|
*/
|
|
370
|
-
|
|
370
|
+
interface MessageSendParams {
|
|
371
371
|
configuration?: MessageSendConfiguration;
|
|
372
372
|
message: Message;
|
|
373
373
|
/**
|
|
@@ -380,7 +380,7 @@ export interface MessageSendParams {
|
|
|
380
380
|
/**
|
|
381
381
|
* Send message configuration.
|
|
382
382
|
*/
|
|
383
|
-
|
|
383
|
+
interface MessageSendConfiguration {
|
|
384
384
|
/**
|
|
385
385
|
* Accepted output modalities by the client.
|
|
386
386
|
*/
|
|
@@ -398,7 +398,7 @@ export interface MessageSendConfiguration {
|
|
|
398
398
|
/**
|
|
399
399
|
* Where the server should send notifications when disconnected.
|
|
400
400
|
*/
|
|
401
|
-
|
|
401
|
+
interface PushNotificationConfig {
|
|
402
402
|
authentication?: PushNotificationAuthenticationInfo;
|
|
403
403
|
/**
|
|
404
404
|
* Push Notification ID - created by server to support multiple callbacks
|
|
@@ -419,7 +419,7 @@ export interface PushNotificationConfig {
|
|
|
419
419
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
420
420
|
* via the `definition` "PushNotificationAuthenticationInfo".
|
|
421
421
|
*/
|
|
422
|
-
|
|
422
|
+
interface PushNotificationAuthenticationInfo {
|
|
423
423
|
/**
|
|
424
424
|
* Optional credentials
|
|
425
425
|
*/
|
|
@@ -432,7 +432,7 @@ export interface PushNotificationAuthenticationInfo {
|
|
|
432
432
|
/**
|
|
433
433
|
* The message being sent to the server.
|
|
434
434
|
*/
|
|
435
|
-
|
|
435
|
+
interface Message {
|
|
436
436
|
/**
|
|
437
437
|
* The context the message is associated with
|
|
438
438
|
*/
|
|
@@ -478,7 +478,7 @@ export interface Message {
|
|
|
478
478
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
479
479
|
* via the `definition` "TextPart".
|
|
480
480
|
*/
|
|
481
|
-
|
|
481
|
+
interface TextPart {
|
|
482
482
|
/**
|
|
483
483
|
* Part type - text for TextParts
|
|
484
484
|
*/
|
|
@@ -500,7 +500,7 @@ export interface TextPart {
|
|
|
500
500
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
501
501
|
* via the `definition` "FilePart".
|
|
502
502
|
*/
|
|
503
|
-
|
|
503
|
+
interface FilePart {
|
|
504
504
|
/**
|
|
505
505
|
* File content either as url or bytes
|
|
506
506
|
*/
|
|
@@ -522,7 +522,7 @@ export interface FilePart {
|
|
|
522
522
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
523
523
|
* via the `definition` "FileWithBytes".
|
|
524
524
|
*/
|
|
525
|
-
|
|
525
|
+
interface FileWithBytes {
|
|
526
526
|
/**
|
|
527
527
|
* base64 encoded content of the file
|
|
528
528
|
*/
|
|
@@ -542,7 +542,7 @@ export interface FileWithBytes {
|
|
|
542
542
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
543
543
|
* via the `definition` "FileWithUri".
|
|
544
544
|
*/
|
|
545
|
-
|
|
545
|
+
interface FileWithUri {
|
|
546
546
|
/**
|
|
547
547
|
* Optional mimeType for the file
|
|
548
548
|
*/
|
|
@@ -562,7 +562,7 @@ export interface FileWithUri {
|
|
|
562
562
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
563
563
|
* via the `definition` "DataPart".
|
|
564
564
|
*/
|
|
565
|
-
|
|
565
|
+
interface DataPart {
|
|
566
566
|
/**
|
|
567
567
|
* Structured data content
|
|
568
568
|
*/
|
|
@@ -586,7 +586,7 @@ export interface DataPart {
|
|
|
586
586
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
587
587
|
* via the `definition` "SendStreamingMessageRequest".
|
|
588
588
|
*/
|
|
589
|
-
|
|
589
|
+
interface SendStreamingMessageRequest {
|
|
590
590
|
/**
|
|
591
591
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
592
592
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -605,7 +605,7 @@ export interface SendStreamingMessageRequest {
|
|
|
605
605
|
/**
|
|
606
606
|
* A Structured value that holds the parameter values to be used during the invocation of the method.
|
|
607
607
|
*/
|
|
608
|
-
|
|
608
|
+
interface MessageSendParams1 {
|
|
609
609
|
configuration?: MessageSendConfiguration;
|
|
610
610
|
message: Message;
|
|
611
611
|
/**
|
|
@@ -621,7 +621,7 @@ export interface MessageSendParams1 {
|
|
|
621
621
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
622
622
|
* via the `definition` "GetTaskRequest".
|
|
623
623
|
*/
|
|
624
|
-
|
|
624
|
+
interface GetTaskRequest {
|
|
625
625
|
/**
|
|
626
626
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
627
627
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -640,7 +640,7 @@ export interface GetTaskRequest {
|
|
|
640
640
|
/**
|
|
641
641
|
* A Structured value that holds the parameter values to be used during the invocation of the method.
|
|
642
642
|
*/
|
|
643
|
-
|
|
643
|
+
interface TaskQueryParams {
|
|
644
644
|
/**
|
|
645
645
|
* Number of recent messages to be retrieved.
|
|
646
646
|
*/
|
|
@@ -659,7 +659,7 @@ export interface TaskQueryParams {
|
|
|
659
659
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
660
660
|
* via the `definition` "CancelTaskRequest".
|
|
661
661
|
*/
|
|
662
|
-
|
|
662
|
+
interface CancelTaskRequest {
|
|
663
663
|
/**
|
|
664
664
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
665
665
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -678,7 +678,7 @@ export interface CancelTaskRequest {
|
|
|
678
678
|
/**
|
|
679
679
|
* A Structured value that holds the parameter values to be used during the invocation of the method.
|
|
680
680
|
*/
|
|
681
|
-
|
|
681
|
+
interface TaskIdParams {
|
|
682
682
|
/**
|
|
683
683
|
* Task id.
|
|
684
684
|
*/
|
|
@@ -693,7 +693,7 @@ export interface TaskIdParams {
|
|
|
693
693
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
694
694
|
* via the `definition` "SetTaskPushNotificationConfigRequest".
|
|
695
695
|
*/
|
|
696
|
-
|
|
696
|
+
interface SetTaskPushNotificationConfigRequest {
|
|
697
697
|
/**
|
|
698
698
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
699
699
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -712,7 +712,7 @@ export interface SetTaskPushNotificationConfigRequest {
|
|
|
712
712
|
/**
|
|
713
713
|
* A Structured value that holds the parameter values to be used during the invocation of the method.
|
|
714
714
|
*/
|
|
715
|
-
|
|
715
|
+
interface TaskPushNotificationConfig {
|
|
716
716
|
pushNotificationConfig: PushNotificationConfig1;
|
|
717
717
|
/**
|
|
718
718
|
* Task id.
|
|
@@ -722,7 +722,7 @@ export interface TaskPushNotificationConfig {
|
|
|
722
722
|
/**
|
|
723
723
|
* Push notification configuration.
|
|
724
724
|
*/
|
|
725
|
-
|
|
725
|
+
interface PushNotificationConfig1 {
|
|
726
726
|
authentication?: PushNotificationAuthenticationInfo;
|
|
727
727
|
/**
|
|
728
728
|
* Push Notification ID - created by server to support multiple callbacks
|
|
@@ -743,7 +743,7 @@ export interface PushNotificationConfig1 {
|
|
|
743
743
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
744
744
|
* via the `definition` "GetTaskPushNotificationConfigRequest".
|
|
745
745
|
*/
|
|
746
|
-
|
|
746
|
+
interface GetTaskPushNotificationConfigRequest {
|
|
747
747
|
/**
|
|
748
748
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
749
749
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -762,7 +762,7 @@ export interface GetTaskPushNotificationConfigRequest {
|
|
|
762
762
|
/**
|
|
763
763
|
* A Structured value that holds the parameter values to be used during the invocation of the method.
|
|
764
764
|
*/
|
|
765
|
-
|
|
765
|
+
interface TaskIdParams1 {
|
|
766
766
|
/**
|
|
767
767
|
* Task id.
|
|
768
768
|
*/
|
|
@@ -777,7 +777,7 @@ export interface TaskIdParams1 {
|
|
|
777
777
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
778
778
|
* via the `definition` "TaskResubscriptionRequest".
|
|
779
779
|
*/
|
|
780
|
-
|
|
780
|
+
interface TaskResubscriptionRequest {
|
|
781
781
|
/**
|
|
782
782
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
783
783
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -796,7 +796,7 @@ export interface TaskResubscriptionRequest {
|
|
|
796
796
|
/**
|
|
797
797
|
* A Structured value that holds the parameter values to be used during the invocation of the method.
|
|
798
798
|
*/
|
|
799
|
-
|
|
799
|
+
interface TaskIdParams2 {
|
|
800
800
|
/**
|
|
801
801
|
* Task id.
|
|
802
802
|
*/
|
|
@@ -811,7 +811,7 @@ export interface TaskIdParams2 {
|
|
|
811
811
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
812
812
|
* via the `definition` "APIKeySecurityScheme".
|
|
813
813
|
*/
|
|
814
|
-
|
|
814
|
+
interface APIKeySecurityScheme {
|
|
815
815
|
/**
|
|
816
816
|
* Description of this security scheme.
|
|
817
817
|
*/
|
|
@@ -832,7 +832,7 @@ export interface APIKeySecurityScheme {
|
|
|
832
832
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
833
833
|
* via the `definition` "AgentCapabilities".
|
|
834
834
|
*/
|
|
835
|
-
|
|
835
|
+
interface AgentCapabilities {
|
|
836
836
|
/**
|
|
837
837
|
* extensions supported by this agent.
|
|
838
838
|
*/
|
|
@@ -856,7 +856,7 @@ export interface AgentCapabilities {
|
|
|
856
856
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
857
857
|
* via the `definition` "AgentExtension".
|
|
858
858
|
*/
|
|
859
|
-
|
|
859
|
+
interface AgentExtension {
|
|
860
860
|
/**
|
|
861
861
|
* A description of how this agent uses this extension.
|
|
862
862
|
*/
|
|
@@ -886,7 +886,7 @@ export interface AgentExtension {
|
|
|
886
886
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
887
887
|
* via the `definition` "AgentCard".
|
|
888
888
|
*/
|
|
889
|
-
|
|
889
|
+
interface AgentCard {
|
|
890
890
|
capabilities: AgentCapabilities1;
|
|
891
891
|
/**
|
|
892
892
|
* The set of interaction modes that the agent supports across all skills. This can be overridden per-skill.
|
|
@@ -948,7 +948,7 @@ export interface AgentCard {
|
|
|
948
948
|
/**
|
|
949
949
|
* Optional capabilities supported by the agent.
|
|
950
950
|
*/
|
|
951
|
-
|
|
951
|
+
interface AgentCapabilities1 {
|
|
952
952
|
/**
|
|
953
953
|
* extensions supported by this agent.
|
|
954
954
|
*/
|
|
@@ -969,7 +969,7 @@ export interface AgentCapabilities1 {
|
|
|
969
969
|
/**
|
|
970
970
|
* The service provider of the agent
|
|
971
971
|
*/
|
|
972
|
-
|
|
972
|
+
interface AgentProvider {
|
|
973
973
|
/**
|
|
974
974
|
* Agent provider's organization name.
|
|
975
975
|
*/
|
|
@@ -985,7 +985,7 @@ export interface AgentProvider {
|
|
|
985
985
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
986
986
|
* via the `definition` "HTTPAuthSecurityScheme".
|
|
987
987
|
*/
|
|
988
|
-
|
|
988
|
+
interface HTTPAuthSecurityScheme {
|
|
989
989
|
/**
|
|
990
990
|
* A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually
|
|
991
991
|
* generated by an authorization server, so this information is primarily for documentation
|
|
@@ -1010,7 +1010,7 @@ export interface HTTPAuthSecurityScheme {
|
|
|
1010
1010
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1011
1011
|
* via the `definition` "OAuth2SecurityScheme".
|
|
1012
1012
|
*/
|
|
1013
|
-
|
|
1013
|
+
interface OAuth2SecurityScheme {
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Description of this security scheme.
|
|
1016
1016
|
*/
|
|
@@ -1021,7 +1021,7 @@ export interface OAuth2SecurityScheme {
|
|
|
1021
1021
|
/**
|
|
1022
1022
|
* An object containing configuration information for the flow types supported.
|
|
1023
1023
|
*/
|
|
1024
|
-
|
|
1024
|
+
interface OAuthFlows {
|
|
1025
1025
|
authorizationCode?: AuthorizationCodeOAuthFlow;
|
|
1026
1026
|
clientCredentials?: ClientCredentialsOAuthFlow;
|
|
1027
1027
|
implicit?: ImplicitOAuthFlow;
|
|
@@ -1030,7 +1030,7 @@ export interface OAuthFlows {
|
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.
|
|
1032
1032
|
*/
|
|
1033
|
-
|
|
1033
|
+
interface AuthorizationCodeOAuthFlow {
|
|
1034
1034
|
/**
|
|
1035
1035
|
* The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
|
|
1036
1036
|
* standard requires the use of TLS
|
|
@@ -1057,7 +1057,7 @@ export interface AuthorizationCodeOAuthFlow {
|
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0
|
|
1059
1059
|
*/
|
|
1060
|
-
|
|
1060
|
+
interface ClientCredentialsOAuthFlow {
|
|
1061
1061
|
/**
|
|
1062
1062
|
* The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
|
|
1063
1063
|
* standard requires the use of TLS.
|
|
@@ -1079,7 +1079,7 @@ export interface ClientCredentialsOAuthFlow {
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Configuration for the OAuth Implicit flow
|
|
1081
1081
|
*/
|
|
1082
|
-
|
|
1082
|
+
interface ImplicitOAuthFlow {
|
|
1083
1083
|
/**
|
|
1084
1084
|
* The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
|
|
1085
1085
|
* standard requires the use of TLS
|
|
@@ -1101,7 +1101,7 @@ export interface ImplicitOAuthFlow {
|
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Configuration for the OAuth Resource Owner Password flow
|
|
1103
1103
|
*/
|
|
1104
|
-
|
|
1104
|
+
interface PasswordOAuthFlow {
|
|
1105
1105
|
/**
|
|
1106
1106
|
* The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
|
|
1107
1107
|
* standard requires the use of TLS.
|
|
@@ -1126,7 +1126,7 @@ export interface PasswordOAuthFlow {
|
|
|
1126
1126
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1127
1127
|
* via the `definition` "OpenIdConnectSecurityScheme".
|
|
1128
1128
|
*/
|
|
1129
|
-
|
|
1129
|
+
interface OpenIdConnectSecurityScheme {
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Description of this security scheme.
|
|
1132
1132
|
*/
|
|
@@ -1143,7 +1143,7 @@ export interface OpenIdConnectSecurityScheme {
|
|
|
1143
1143
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1144
1144
|
* via the `definition` "AgentSkill".
|
|
1145
1145
|
*/
|
|
1146
|
-
|
|
1146
|
+
interface AgentSkill {
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Description of the skill - will be used by the client or a human
|
|
1149
1149
|
* as a hint to understand what the skill does.
|
|
@@ -1183,7 +1183,7 @@ export interface AgentSkill {
|
|
|
1183
1183
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1184
1184
|
* via the `definition` "AgentProvider".
|
|
1185
1185
|
*/
|
|
1186
|
-
|
|
1186
|
+
interface AgentProvider1 {
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Agent provider's organization name.
|
|
1189
1189
|
*/
|
|
@@ -1199,7 +1199,7 @@ export interface AgentProvider1 {
|
|
|
1199
1199
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1200
1200
|
* via the `definition` "Artifact".
|
|
1201
1201
|
*/
|
|
1202
|
-
|
|
1202
|
+
interface Artifact {
|
|
1203
1203
|
/**
|
|
1204
1204
|
* Unique identifier for the artifact.
|
|
1205
1205
|
*/
|
|
@@ -1233,7 +1233,7 @@ export interface Artifact {
|
|
|
1233
1233
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1234
1234
|
* via the `definition` "AuthorizationCodeOAuthFlow".
|
|
1235
1235
|
*/
|
|
1236
|
-
|
|
1236
|
+
interface AuthorizationCodeOAuthFlow1 {
|
|
1237
1237
|
/**
|
|
1238
1238
|
* The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
|
|
1239
1239
|
* standard requires the use of TLS
|
|
@@ -1263,7 +1263,7 @@ export interface AuthorizationCodeOAuthFlow1 {
|
|
|
1263
1263
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1264
1264
|
* via the `definition` "JSONRPCErrorResponse".
|
|
1265
1265
|
*/
|
|
1266
|
-
|
|
1266
|
+
interface JSONRPCErrorResponse {
|
|
1267
1267
|
error: JSONRPCError | JSONParseError | InvalidRequestError | MethodNotFoundError | InvalidParamsError | InternalError | TaskNotFoundError | TaskNotCancelableError | PushNotificationNotSupportedError | UnsupportedOperationError | ContentTypeNotSupportedError | InvalidAgentResponseError;
|
|
1268
1268
|
/**
|
|
1269
1269
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
@@ -1282,7 +1282,7 @@ export interface JSONRPCErrorResponse {
|
|
|
1282
1282
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1283
1283
|
* via the `definition` "JSONRPCError".
|
|
1284
1284
|
*/
|
|
1285
|
-
|
|
1285
|
+
interface JSONRPCError {
|
|
1286
1286
|
/**
|
|
1287
1287
|
* A Number that indicates the error type that occurred.
|
|
1288
1288
|
*/
|
|
@@ -1305,7 +1305,7 @@ export interface JSONRPCError {
|
|
|
1305
1305
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1306
1306
|
* via the `definition` "CancelTaskSuccessResponse".
|
|
1307
1307
|
*/
|
|
1308
|
-
|
|
1308
|
+
interface CancelTaskSuccessResponse {
|
|
1309
1309
|
/**
|
|
1310
1310
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1311
1311
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1320,7 +1320,7 @@ export interface CancelTaskSuccessResponse {
|
|
|
1320
1320
|
/**
|
|
1321
1321
|
* The result object on success.
|
|
1322
1322
|
*/
|
|
1323
|
-
|
|
1323
|
+
interface Task {
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Collection of artifacts created by the agent.
|
|
1326
1326
|
*/
|
|
@@ -1352,7 +1352,7 @@ export interface Task {
|
|
|
1352
1352
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1353
1353
|
* via the `definition` "Message".
|
|
1354
1354
|
*/
|
|
1355
|
-
|
|
1355
|
+
interface Message1 {
|
|
1356
1356
|
/**
|
|
1357
1357
|
* The context the message is associated with
|
|
1358
1358
|
*/
|
|
@@ -1395,7 +1395,7 @@ export interface Message1 {
|
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Current status of the task
|
|
1397
1397
|
*/
|
|
1398
|
-
|
|
1398
|
+
interface TaskStatus {
|
|
1399
1399
|
message?: Message2;
|
|
1400
1400
|
state: TaskState;
|
|
1401
1401
|
/**
|
|
@@ -1406,7 +1406,7 @@ export interface TaskStatus {
|
|
|
1406
1406
|
/**
|
|
1407
1407
|
* Represents a single message exchanged between user and agent.
|
|
1408
1408
|
*/
|
|
1409
|
-
|
|
1409
|
+
interface Message2 {
|
|
1410
1410
|
/**
|
|
1411
1411
|
* The context the message is associated with
|
|
1412
1412
|
*/
|
|
@@ -1452,7 +1452,7 @@ export interface Message2 {
|
|
|
1452
1452
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1453
1453
|
* via the `definition` "ClientCredentialsOAuthFlow".
|
|
1454
1454
|
*/
|
|
1455
|
-
|
|
1455
|
+
interface ClientCredentialsOAuthFlow1 {
|
|
1456
1456
|
/**
|
|
1457
1457
|
* The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
|
|
1458
1458
|
* standard requires the use of TLS.
|
|
@@ -1477,7 +1477,7 @@ export interface ClientCredentialsOAuthFlow1 {
|
|
|
1477
1477
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1478
1478
|
* via the `definition` "FileBase".
|
|
1479
1479
|
*/
|
|
1480
|
-
|
|
1480
|
+
interface FileBase {
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Optional mimeType for the file
|
|
1483
1483
|
*/
|
|
@@ -1493,7 +1493,7 @@ export interface FileBase {
|
|
|
1493
1493
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1494
1494
|
* via the `definition` "GetTaskPushNotificationConfigSuccessResponse".
|
|
1495
1495
|
*/
|
|
1496
|
-
|
|
1496
|
+
interface GetTaskPushNotificationConfigSuccessResponse {
|
|
1497
1497
|
/**
|
|
1498
1498
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1499
1499
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1508,7 +1508,7 @@ export interface GetTaskPushNotificationConfigSuccessResponse {
|
|
|
1508
1508
|
/**
|
|
1509
1509
|
* The result object on success.
|
|
1510
1510
|
*/
|
|
1511
|
-
|
|
1511
|
+
interface TaskPushNotificationConfig1 {
|
|
1512
1512
|
pushNotificationConfig: PushNotificationConfig1;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Task id.
|
|
@@ -1521,7 +1521,7 @@ export interface TaskPushNotificationConfig1 {
|
|
|
1521
1521
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1522
1522
|
* via the `definition` "GetTaskSuccessResponse".
|
|
1523
1523
|
*/
|
|
1524
|
-
|
|
1524
|
+
interface GetTaskSuccessResponse {
|
|
1525
1525
|
/**
|
|
1526
1526
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1527
1527
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1536,7 +1536,7 @@ export interface GetTaskSuccessResponse {
|
|
|
1536
1536
|
/**
|
|
1537
1537
|
* The result object on success.
|
|
1538
1538
|
*/
|
|
1539
|
-
|
|
1539
|
+
interface Task1 {
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Collection of artifacts created by the agent.
|
|
1542
1542
|
*/
|
|
@@ -1568,7 +1568,7 @@ export interface Task1 {
|
|
|
1568
1568
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1569
1569
|
* via the `definition` "ImplicitOAuthFlow".
|
|
1570
1570
|
*/
|
|
1571
|
-
|
|
1571
|
+
interface ImplicitOAuthFlow1 {
|
|
1572
1572
|
/**
|
|
1573
1573
|
* The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
|
|
1574
1574
|
* standard requires the use of TLS
|
|
@@ -1593,7 +1593,7 @@ export interface ImplicitOAuthFlow1 {
|
|
|
1593
1593
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1594
1594
|
* via the `definition` "JSONRPCMessage".
|
|
1595
1595
|
*/
|
|
1596
|
-
|
|
1596
|
+
interface JSONRPCMessage {
|
|
1597
1597
|
/**
|
|
1598
1598
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1599
1599
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1610,7 +1610,7 @@ export interface JSONRPCMessage {
|
|
|
1610
1610
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1611
1611
|
* via the `definition` "JSONRPCRequest".
|
|
1612
1612
|
*/
|
|
1613
|
-
|
|
1613
|
+
interface JSONRPCRequest {
|
|
1614
1614
|
/**
|
|
1615
1615
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1616
1616
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1637,7 +1637,7 @@ export interface JSONRPCRequest {
|
|
|
1637
1637
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1638
1638
|
* via the `definition` "SendMessageSuccessResponse".
|
|
1639
1639
|
*/
|
|
1640
|
-
|
|
1640
|
+
interface SendMessageSuccessResponse {
|
|
1641
1641
|
/**
|
|
1642
1642
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1643
1643
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1656,7 +1656,7 @@ export interface SendMessageSuccessResponse {
|
|
|
1656
1656
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1657
1657
|
* via the `definition` "Task".
|
|
1658
1658
|
*/
|
|
1659
|
-
|
|
1659
|
+
interface Task2 {
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Collection of artifacts created by the agent.
|
|
1662
1662
|
*/
|
|
@@ -1688,7 +1688,7 @@ export interface Task2 {
|
|
|
1688
1688
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1689
1689
|
* via the `definition` "SendStreamingMessageSuccessResponse".
|
|
1690
1690
|
*/
|
|
1691
|
-
|
|
1691
|
+
interface SendStreamingMessageSuccessResponse {
|
|
1692
1692
|
/**
|
|
1693
1693
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1694
1694
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1709,7 +1709,7 @@ export interface SendStreamingMessageSuccessResponse {
|
|
|
1709
1709
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1710
1710
|
* via the `definition` "TaskStatusUpdateEvent".
|
|
1711
1711
|
*/
|
|
1712
|
-
|
|
1712
|
+
interface TaskStatusUpdateEvent {
|
|
1713
1713
|
/**
|
|
1714
1714
|
* The context the task is associated with
|
|
1715
1715
|
*/
|
|
@@ -1737,7 +1737,7 @@ export interface TaskStatusUpdateEvent {
|
|
|
1737
1737
|
/**
|
|
1738
1738
|
* Current status of the task
|
|
1739
1739
|
*/
|
|
1740
|
-
|
|
1740
|
+
interface TaskStatus1 {
|
|
1741
1741
|
message?: Message2;
|
|
1742
1742
|
state: TaskState;
|
|
1743
1743
|
/**
|
|
@@ -1751,7 +1751,7 @@ export interface TaskStatus1 {
|
|
|
1751
1751
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1752
1752
|
* via the `definition` "TaskArtifactUpdateEvent".
|
|
1753
1753
|
*/
|
|
1754
|
-
|
|
1754
|
+
interface TaskArtifactUpdateEvent {
|
|
1755
1755
|
/**
|
|
1756
1756
|
* Indicates if this artifact appends to a previous one
|
|
1757
1757
|
*/
|
|
@@ -1783,7 +1783,7 @@ export interface TaskArtifactUpdateEvent {
|
|
|
1783
1783
|
/**
|
|
1784
1784
|
* Represents an artifact generated for a task.
|
|
1785
1785
|
*/
|
|
1786
|
-
|
|
1786
|
+
interface Artifact1 {
|
|
1787
1787
|
/**
|
|
1788
1788
|
* Unique identifier for the artifact.
|
|
1789
1789
|
*/
|
|
@@ -1817,7 +1817,7 @@ export interface Artifact1 {
|
|
|
1817
1817
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1818
1818
|
* via the `definition` "SetTaskPushNotificationConfigSuccessResponse".
|
|
1819
1819
|
*/
|
|
1820
|
-
|
|
1820
|
+
interface SetTaskPushNotificationConfigSuccessResponse {
|
|
1821
1821
|
/**
|
|
1822
1822
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1823
1823
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1832,7 +1832,7 @@ export interface SetTaskPushNotificationConfigSuccessResponse {
|
|
|
1832
1832
|
/**
|
|
1833
1833
|
* The result object on success.
|
|
1834
1834
|
*/
|
|
1835
|
-
|
|
1835
|
+
interface TaskPushNotificationConfig2 {
|
|
1836
1836
|
pushNotificationConfig: PushNotificationConfig1;
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Task id.
|
|
@@ -1845,7 +1845,7 @@ export interface TaskPushNotificationConfig2 {
|
|
|
1845
1845
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1846
1846
|
* via the `definition` "JSONRPCSuccessResponse".
|
|
1847
1847
|
*/
|
|
1848
|
-
|
|
1848
|
+
interface JSONRPCSuccessResponse {
|
|
1849
1849
|
/**
|
|
1850
1850
|
* An identifier established by the Client that MUST contain a String, Number.
|
|
1851
1851
|
* Numbers SHOULD NOT contain fractional parts.
|
|
@@ -1868,7 +1868,7 @@ export interface JSONRPCSuccessResponse {
|
|
|
1868
1868
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1869
1869
|
* via the `definition` "MessageSendConfiguration".
|
|
1870
1870
|
*/
|
|
1871
|
-
|
|
1871
|
+
interface MessageSendConfiguration1 {
|
|
1872
1872
|
/**
|
|
1873
1873
|
* Accepted output modalities by the client.
|
|
1874
1874
|
*/
|
|
@@ -1889,7 +1889,7 @@ export interface MessageSendConfiguration1 {
|
|
|
1889
1889
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1890
1890
|
* via the `definition` "MessageSendParams".
|
|
1891
1891
|
*/
|
|
1892
|
-
|
|
1892
|
+
interface MessageSendParams2 {
|
|
1893
1893
|
configuration?: MessageSendConfiguration;
|
|
1894
1894
|
message: Message;
|
|
1895
1895
|
/**
|
|
@@ -1905,7 +1905,7 @@ export interface MessageSendParams2 {
|
|
|
1905
1905
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1906
1906
|
* via the `definition` "OAuthFlows".
|
|
1907
1907
|
*/
|
|
1908
|
-
|
|
1908
|
+
interface OAuthFlows1 {
|
|
1909
1909
|
authorizationCode?: AuthorizationCodeOAuthFlow;
|
|
1910
1910
|
clientCredentials?: ClientCredentialsOAuthFlow;
|
|
1911
1911
|
implicit?: ImplicitOAuthFlow;
|
|
@@ -1917,7 +1917,7 @@ export interface OAuthFlows1 {
|
|
|
1917
1917
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1918
1918
|
* via the `definition` "PartBase".
|
|
1919
1919
|
*/
|
|
1920
|
-
|
|
1920
|
+
interface PartBase {
|
|
1921
1921
|
/**
|
|
1922
1922
|
* Optional metadata associated with the part.
|
|
1923
1923
|
*/
|
|
@@ -1931,7 +1931,7 @@ export interface PartBase {
|
|
|
1931
1931
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1932
1932
|
* via the `definition` "PasswordOAuthFlow".
|
|
1933
1933
|
*/
|
|
1934
|
-
|
|
1934
|
+
interface PasswordOAuthFlow1 {
|
|
1935
1935
|
/**
|
|
1936
1936
|
* The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
|
|
1937
1937
|
* standard requires the use of TLS.
|
|
@@ -1956,7 +1956,7 @@ export interface PasswordOAuthFlow1 {
|
|
|
1956
1956
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1957
1957
|
* via the `definition` "PushNotificationConfig".
|
|
1958
1958
|
*/
|
|
1959
|
-
|
|
1959
|
+
interface PushNotificationConfig2 {
|
|
1960
1960
|
authentication?: PushNotificationAuthenticationInfo;
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Push Notification ID - created by server to support multiple callbacks
|
|
@@ -1977,7 +1977,7 @@ export interface PushNotificationConfig2 {
|
|
|
1977
1977
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1978
1978
|
* via the `definition` "SecuritySchemeBase".
|
|
1979
1979
|
*/
|
|
1980
|
-
|
|
1980
|
+
interface SecuritySchemeBase {
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Description of this security scheme.
|
|
1983
1983
|
*/
|
|
@@ -1989,7 +1989,7 @@ export interface SecuritySchemeBase {
|
|
|
1989
1989
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
1990
1990
|
* via the `definition` "TaskIdParams".
|
|
1991
1991
|
*/
|
|
1992
|
-
|
|
1992
|
+
interface TaskIdParams3 {
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Task id.
|
|
1995
1995
|
*/
|
|
@@ -2004,7 +2004,7 @@ export interface TaskIdParams3 {
|
|
|
2004
2004
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
2005
2005
|
* via the `definition` "TaskPushNotificationConfig".
|
|
2006
2006
|
*/
|
|
2007
|
-
|
|
2007
|
+
interface TaskPushNotificationConfig3 {
|
|
2008
2008
|
pushNotificationConfig: PushNotificationConfig1;
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Task id.
|
|
@@ -2017,7 +2017,7 @@ export interface TaskPushNotificationConfig3 {
|
|
|
2017
2017
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
2018
2018
|
* via the `definition` "TaskQueryParams".
|
|
2019
2019
|
*/
|
|
2020
|
-
|
|
2020
|
+
interface TaskQueryParams1 {
|
|
2021
2021
|
/**
|
|
2022
2022
|
* Number of recent messages to be retrieved.
|
|
2023
2023
|
*/
|
|
@@ -2036,7 +2036,7 @@ export interface TaskQueryParams1 {
|
|
|
2036
2036
|
* This interface was referenced by `MySchema`'s JSON-Schema
|
|
2037
2037
|
* via the `definition` "TaskStatus".
|
|
2038
2038
|
*/
|
|
2039
|
-
|
|
2039
|
+
interface TaskStatus2 {
|
|
2040
2040
|
message?: Message2;
|
|
2041
2041
|
state: TaskState;
|
|
2042
2042
|
/**
|
|
@@ -2044,3 +2044,5 @@ export interface TaskStatus2 {
|
|
|
2044
2044
|
*/
|
|
2045
2045
|
timestamp?: string;
|
|
2046
2046
|
}
|
|
2047
|
+
|
|
2048
|
+
export type { TaskIdParams2 as $, AgentCard as A, MessageSendConfiguration as B, CancelTaskResponse as C, PushNotificationConfig as D, PushNotificationAuthenticationInfo as E, TextPart as F, GetTaskPushNotificationConfigResponse as G, FilePart as H, InvalidRequestError as I, JSONRPCResponse as J, FileWithBytes as K, FileWithUri as L, MessageSendParams as M, DataPart as N, SendStreamingMessageRequest as O, Part as P, MessageSendParams1 as Q, GetTaskRequest as R, SendMessageResponse as S, Task as T, UnsupportedOperationError as U, CancelTaskRequest as V, SetTaskPushNotificationConfigRequest as W, PushNotificationConfig1 as X, GetTaskPushNotificationConfigRequest as Y, TaskIdParams1 as Z, TaskResubscriptionRequest as _, Message as a, APIKeySecurityScheme as a0, AgentCapabilities as a1, AgentExtension as a2, AgentCapabilities1 as a3, AgentProvider as a4, HTTPAuthSecurityScheme as a5, OAuth2SecurityScheme as a6, OAuthFlows as a7, AuthorizationCodeOAuthFlow as a8, ClientCredentialsOAuthFlow as a9, TaskPushNotificationConfig2 as aA, JSONRPCSuccessResponse as aB, MessageSendConfiguration1 as aC, MessageSendParams2 as aD, OAuthFlows1 as aE, PartBase as aF, PasswordOAuthFlow1 as aG, PushNotificationConfig2 as aH, SecuritySchemeBase as aI, TaskIdParams3 as aJ, TaskPushNotificationConfig3 as aK, TaskQueryParams1 as aL, TaskStatus2 as aM, ImplicitOAuthFlow as aa, PasswordOAuthFlow as ab, OpenIdConnectSecurityScheme as ac, AgentSkill as ad, AgentProvider1 as ae, Artifact as af, AuthorizationCodeOAuthFlow1 as ag, CancelTaskSuccessResponse as ah, Message1 as ai, TaskStatus as aj, Message2 as ak, ClientCredentialsOAuthFlow1 as al, FileBase as am, GetTaskPushNotificationConfigSuccessResponse as an, TaskPushNotificationConfig1 as ao, GetTaskSuccessResponse as ap, Task1 as aq, ImplicitOAuthFlow1 as ar, JSONRPCMessage as as, JSONRPCRequest as at, SendMessageSuccessResponse as au, Task2 as av, SendStreamingMessageSuccessResponse as aw, TaskStatus1 as ax, Artifact1 as ay, SetTaskPushNotificationConfigSuccessResponse as az, TaskStatusUpdateEvent as b, TaskArtifactUpdateEvent as c, TaskPushNotificationConfig as d, SetTaskPushNotificationConfigResponse as e, TaskIdParams as f, TaskQueryParams as g, GetTaskResponse as h, JSONRPCErrorResponse as i, JSONRPCError as j, SendStreamingMessageResponse as k, A2AError as l, A2ARequest as m, SecurityScheme as n, TaskState as o, MySchema as p, JSONParseError as q, MethodNotFoundError as r, InvalidParamsError as s, InternalError as t, TaskNotFoundError as u, TaskNotCancelableError as v, PushNotificationNotSupportedError as w, ContentTypeNotSupportedError as x, InvalidAgentResponseError as y, SendMessageRequest as z };
|