@artinet/sdk 0.5.13 → 0.5.15
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 +6 -2
- package/dist/client/a2a-client.d.ts +10 -0
- package/dist/client/a2a-client.js +20 -9
- package/dist/server/express/server.d.ts +24 -24
- package/dist/services/a2a/factory/builder.d.ts +24 -24
- package/dist/services/a2a/helpers/message-builder.d.ts +1 -1
- package/dist/services/a2a/helpers/message-builder.js +4 -4
- package/dist/services/a2a/methods/get-task.d.ts +47 -47
- package/dist/services/a2a/methods/send-message.js +1 -1
- package/dist/services/a2a/methods/stream-message.js +1 -1
- package/dist/services/a2a/service.d.ts +157 -157
- package/dist/services/a2a/state/load.d.ts +1 -1
- package/dist/transport/trpc/a2a/factory/router.d.ts +1096 -1096
- package/dist/transport/trpc/a2a/routes/info.d.ts +37 -37
- package/dist/transport/trpc/a2a/routes/message/route.d.ts +227 -227
- package/dist/transport/trpc/a2a/routes/tasks/route.d.ts +260 -260
- package/dist/transport/trpc/a2a/trpc.d.ts +120 -120
- package/dist/types/interfaces/services/a2a/service.d.ts +1 -1
- package/dist/types/schemas/a2a/agent.d.ts +840 -840
- package/dist/types/schemas/a2a/agent.js +23 -2
- package/dist/types/schemas/a2a/auth.d.ts +197 -197
- package/dist/types/schemas/a2a/auth.js +19 -4
- package/dist/types/schemas/a2a/error.d.ts +24 -24
- package/dist/types/schemas/a2a/message.d.ts +4525 -4525
- package/dist/types/schemas/a2a/message.js +10 -2
- package/dist/types/schemas/a2a/notification.d.ts +403 -403
- package/dist/types/schemas/a2a/notification.js +7 -3
- package/dist/types/schemas/a2a/parameters.d.ts +264 -264
- package/dist/types/schemas/a2a/parameters.js +14 -1
- package/dist/types/schemas/a2a/protocol.d.ts +6042 -6042
- package/dist/types/schemas/a2a/rpc.d.ts +20 -20
- package/dist/types/schemas/a2a/rpc.js +5 -0
- package/dist/types/schemas/a2a/task.d.ts +2536 -2536
- package/dist/types/schemas/a2a/task.js +12 -11
- package/package.json +2 -2
|
@@ -8,47 +8,47 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const GetTaskPushNotificationConfigParamSchema: z.ZodObject<{
|
|
10
10
|
id: z.ZodString;
|
|
11
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
11
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
12
|
} & {
|
|
13
13
|
/**
|
|
14
14
|
* @optional The ID of the push notification configuration to retrieve.
|
|
15
15
|
*/
|
|
16
|
-
pushNotificationConfigId: z.ZodOptional<z.ZodString
|
|
16
|
+
pushNotificationConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
id: string;
|
|
19
|
-
metadata?: Record<string, unknown> | undefined;
|
|
20
|
-
pushNotificationConfigId?: string | undefined;
|
|
19
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
20
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
id: string;
|
|
23
|
-
metadata?: Record<string, unknown> | undefined;
|
|
24
|
-
pushNotificationConfigId?: string | undefined;
|
|
23
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
24
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export type GetTaskPushNotificationConfigParam = z.infer<typeof GetTaskPushNotificationConfigParamSchema>;
|
|
27
27
|
export declare const GetTaskPushNotificationConfigParamsSchema: z.ZodUnion<[z.ZodObject<{
|
|
28
28
|
id: z.ZodString;
|
|
29
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
29
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
30
30
|
} & {
|
|
31
31
|
/**
|
|
32
32
|
* @optional The ID of the push notification configuration to retrieve.
|
|
33
33
|
*/
|
|
34
|
-
pushNotificationConfigId: z.ZodOptional<z.ZodString
|
|
34
|
+
pushNotificationConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
id: string;
|
|
37
|
-
metadata?: Record<string, unknown> | undefined;
|
|
38
|
-
pushNotificationConfigId?: string | undefined;
|
|
37
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
38
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
id: string;
|
|
41
|
-
metadata?: Record<string, unknown> | undefined;
|
|
42
|
-
pushNotificationConfigId?: string | undefined;
|
|
41
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
42
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
43
43
|
}>, z.ZodObject<{
|
|
44
44
|
id: z.ZodString;
|
|
45
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
45
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
id: string;
|
|
48
|
-
metadata?: Record<string, unknown> | undefined;
|
|
48
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
id: string;
|
|
51
|
-
metadata?: Record<string, unknown> | undefined;
|
|
51
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
52
52
|
}>]>;
|
|
53
53
|
export type GetTaskPushNotificationConfigParams = z.infer<typeof GetTaskPushNotificationConfigParamsSchema>;
|
|
54
54
|
/**
|
|
@@ -56,13 +56,13 @@ export type GetTaskPushNotificationConfigParams = z.infer<typeof GetTaskPushNoti
|
|
|
56
56
|
*/
|
|
57
57
|
export declare const ListTaskPushNotificationConfigsParamsSchema: z.ZodObject<{
|
|
58
58
|
id: z.ZodString;
|
|
59
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
59
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
61
|
id: string;
|
|
62
|
-
metadata?: Record<string, unknown> | undefined;
|
|
62
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
id: string;
|
|
65
|
-
metadata?: Record<string, unknown> | undefined;
|
|
65
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
export type ListTaskPushNotificationConfigsParams = z.infer<typeof ListTaskPushNotificationConfigsParamsSchema>;
|
|
68
68
|
/**
|
|
@@ -70,7 +70,7 @@ export type ListTaskPushNotificationConfigsParams = z.infer<typeof ListTaskPushN
|
|
|
70
70
|
*/
|
|
71
71
|
export declare const DeleteTaskPushNotificationConfigParamsSchema: z.ZodObject<{
|
|
72
72
|
id: z.ZodString;
|
|
73
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
73
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
74
74
|
} & {
|
|
75
75
|
/**
|
|
76
76
|
* @required The ID of the push notification configuration to delete.
|
|
@@ -79,11 +79,11 @@ export declare const DeleteTaskPushNotificationConfigParamsSchema: z.ZodObject<{
|
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
id: string;
|
|
81
81
|
pushNotificationConfigId: string;
|
|
82
|
-
metadata?: Record<string, unknown> | undefined;
|
|
82
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
id: string;
|
|
85
85
|
pushNotificationConfigId: string;
|
|
86
|
-
metadata?: Record<string, unknown> | undefined;
|
|
86
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export type DeleteTaskPushNotificationConfigParams = z.infer<typeof DeleteTaskPushNotificationConfigParamsSchema>;
|
|
89
89
|
/**
|
|
@@ -97,13 +97,13 @@ export declare const PushNotificationAuthenticationInfoSchema: z.ZodObject<{
|
|
|
97
97
|
/**
|
|
98
98
|
* @optional Optional credentials required by the push notification endpoint.
|
|
99
99
|
*/
|
|
100
|
-
credentials: z.ZodOptional<z.ZodString
|
|
100
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
schemes: string[];
|
|
103
|
-
credentials?: string | undefined;
|
|
103
|
+
credentials?: string | null | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
schemes: string[];
|
|
106
|
-
credentials?: string | undefined;
|
|
106
|
+
credentials?: string | null | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
export type PushNotificationAuthenticationInfo = z.infer<typeof PushNotificationAuthenticationInfoSchema>;
|
|
109
109
|
/**
|
|
@@ -114,7 +114,7 @@ export declare const PushNotificationConfigSchema: z.ZodObject<{
|
|
|
114
114
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
115
115
|
* to support multiple notification callbacks.
|
|
116
116
|
*/
|
|
117
|
-
id: z.ZodOptional<z.ZodString
|
|
117
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
118
118
|
/**
|
|
119
119
|
* @required The callback URL where the agent should send push notifications.
|
|
120
120
|
*/
|
|
@@ -122,11 +122,11 @@ export declare const PushNotificationConfigSchema: z.ZodObject<{
|
|
|
122
122
|
/**
|
|
123
123
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
124
124
|
*/
|
|
125
|
-
token: z.ZodOptional<z.ZodString
|
|
125
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
126
|
/**
|
|
127
127
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
128
128
|
*/
|
|
129
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
130
130
|
/**
|
|
131
131
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
132
132
|
*/
|
|
@@ -134,30 +134,30 @@ export declare const PushNotificationConfigSchema: z.ZodObject<{
|
|
|
134
134
|
/**
|
|
135
135
|
* @optional Optional credentials required by the push notification endpoint.
|
|
136
136
|
*/
|
|
137
|
-
credentials: z.ZodOptional<z.ZodString
|
|
137
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
schemes: string[];
|
|
140
|
-
credentials?: string | undefined;
|
|
140
|
+
credentials?: string | null | undefined;
|
|
141
141
|
}, {
|
|
142
142
|
schemes: string[];
|
|
143
|
-
credentials?: string | undefined;
|
|
144
|
-
}
|
|
143
|
+
credentials?: string | null | undefined;
|
|
144
|
+
}>>>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
146
|
url: string;
|
|
147
|
-
id?: string | undefined;
|
|
148
|
-
token?: string | undefined;
|
|
147
|
+
id?: string | null | undefined;
|
|
148
|
+
token?: string | null | undefined;
|
|
149
149
|
authentication?: {
|
|
150
150
|
schemes: string[];
|
|
151
|
-
credentials?: string | undefined;
|
|
152
|
-
} | undefined;
|
|
151
|
+
credentials?: string | null | undefined;
|
|
152
|
+
} | null | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
url: string;
|
|
155
|
-
id?: string | undefined;
|
|
156
|
-
token?: string | undefined;
|
|
155
|
+
id?: string | null | undefined;
|
|
156
|
+
token?: string | null | undefined;
|
|
157
157
|
authentication?: {
|
|
158
158
|
schemes: string[];
|
|
159
|
-
credentials?: string | undefined;
|
|
160
|
-
} | undefined;
|
|
159
|
+
credentials?: string | null | undefined;
|
|
160
|
+
} | null | undefined;
|
|
161
161
|
}>;
|
|
162
162
|
export type PushNotificationConfig = z.infer<typeof PushNotificationConfigSchema>;
|
|
163
163
|
/**
|
|
@@ -176,7 +176,7 @@ export declare const TaskPushNotificationConfigSchema: z.ZodObject<{
|
|
|
176
176
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
177
177
|
* to support multiple notification callbacks.
|
|
178
178
|
*/
|
|
179
|
-
id: z.ZodOptional<z.ZodString
|
|
179
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
180
180
|
/**
|
|
181
181
|
* @required The callback URL where the agent should send push notifications.
|
|
182
182
|
*/
|
|
@@ -184,11 +184,11 @@ export declare const TaskPushNotificationConfigSchema: z.ZodObject<{
|
|
|
184
184
|
/**
|
|
185
185
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
186
186
|
*/
|
|
187
|
-
token: z.ZodOptional<z.ZodString
|
|
187
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
188
188
|
/**
|
|
189
189
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
190
190
|
*/
|
|
191
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
192
192
|
/**
|
|
193
193
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
194
194
|
*/
|
|
@@ -196,52 +196,52 @@ export declare const TaskPushNotificationConfigSchema: z.ZodObject<{
|
|
|
196
196
|
/**
|
|
197
197
|
* @optional Optional credentials required by the push notification endpoint.
|
|
198
198
|
*/
|
|
199
|
-
credentials: z.ZodOptional<z.ZodString
|
|
199
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
201
|
schemes: string[];
|
|
202
|
-
credentials?: string | undefined;
|
|
202
|
+
credentials?: string | null | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
schemes: string[];
|
|
205
|
-
credentials?: string | undefined;
|
|
206
|
-
}
|
|
205
|
+
credentials?: string | null | undefined;
|
|
206
|
+
}>>>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
208
|
url: string;
|
|
209
|
-
id?: string | undefined;
|
|
210
|
-
token?: string | undefined;
|
|
209
|
+
id?: string | null | undefined;
|
|
210
|
+
token?: string | null | undefined;
|
|
211
211
|
authentication?: {
|
|
212
212
|
schemes: string[];
|
|
213
|
-
credentials?: string | undefined;
|
|
214
|
-
} | undefined;
|
|
213
|
+
credentials?: string | null | undefined;
|
|
214
|
+
} | null | undefined;
|
|
215
215
|
}, {
|
|
216
216
|
url: string;
|
|
217
|
-
id?: string | undefined;
|
|
218
|
-
token?: string | undefined;
|
|
217
|
+
id?: string | null | undefined;
|
|
218
|
+
token?: string | null | undefined;
|
|
219
219
|
authentication?: {
|
|
220
220
|
schemes: string[];
|
|
221
|
-
credentials?: string | undefined;
|
|
222
|
-
} | undefined;
|
|
221
|
+
credentials?: string | null | undefined;
|
|
222
|
+
} | null | undefined;
|
|
223
223
|
}>;
|
|
224
224
|
}, "strip", z.ZodTypeAny, {
|
|
225
225
|
taskId: string;
|
|
226
226
|
pushNotificationConfig: {
|
|
227
227
|
url: string;
|
|
228
|
-
id?: string | undefined;
|
|
229
|
-
token?: string | undefined;
|
|
228
|
+
id?: string | null | undefined;
|
|
229
|
+
token?: string | null | undefined;
|
|
230
230
|
authentication?: {
|
|
231
231
|
schemes: string[];
|
|
232
|
-
credentials?: string | undefined;
|
|
233
|
-
} | undefined;
|
|
232
|
+
credentials?: string | null | undefined;
|
|
233
|
+
} | null | undefined;
|
|
234
234
|
};
|
|
235
235
|
}, {
|
|
236
236
|
taskId: string;
|
|
237
237
|
pushNotificationConfig: {
|
|
238
238
|
url: string;
|
|
239
|
-
id?: string | undefined;
|
|
240
|
-
token?: string | undefined;
|
|
239
|
+
id?: string | null | undefined;
|
|
240
|
+
token?: string | null | undefined;
|
|
241
241
|
authentication?: {
|
|
242
242
|
schemes: string[];
|
|
243
|
-
credentials?: string | undefined;
|
|
244
|
-
} | undefined;
|
|
243
|
+
credentials?: string | null | undefined;
|
|
244
|
+
} | null | undefined;
|
|
245
245
|
};
|
|
246
246
|
}>;
|
|
247
247
|
export type TaskPushNotificationConfig = z.infer<typeof TaskPushNotificationConfigSchema>;
|
|
@@ -266,7 +266,7 @@ export declare const SetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
266
266
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
267
267
|
* to support multiple notification callbacks.
|
|
268
268
|
*/
|
|
269
|
-
id: z.ZodOptional<z.ZodString
|
|
269
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
270
270
|
/**
|
|
271
271
|
* @required The callback URL where the agent should send push notifications.
|
|
272
272
|
*/
|
|
@@ -274,11 +274,11 @@ export declare const SetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
274
274
|
/**
|
|
275
275
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
276
276
|
*/
|
|
277
|
-
token: z.ZodOptional<z.ZodString
|
|
277
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
278
278
|
/**
|
|
279
279
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
280
280
|
*/
|
|
281
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
282
282
|
/**
|
|
283
283
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
284
284
|
*/
|
|
@@ -286,52 +286,52 @@ export declare const SetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
286
286
|
/**
|
|
287
287
|
* @optional Optional credentials required by the push notification endpoint.
|
|
288
288
|
*/
|
|
289
|
-
credentials: z.ZodOptional<z.ZodString
|
|
289
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
291
|
schemes: string[];
|
|
292
|
-
credentials?: string | undefined;
|
|
292
|
+
credentials?: string | null | undefined;
|
|
293
293
|
}, {
|
|
294
294
|
schemes: string[];
|
|
295
|
-
credentials?: string | undefined;
|
|
296
|
-
}
|
|
295
|
+
credentials?: string | null | undefined;
|
|
296
|
+
}>>>;
|
|
297
297
|
}, "strip", z.ZodTypeAny, {
|
|
298
298
|
url: string;
|
|
299
|
-
id?: string | undefined;
|
|
300
|
-
token?: string | undefined;
|
|
299
|
+
id?: string | null | undefined;
|
|
300
|
+
token?: string | null | undefined;
|
|
301
301
|
authentication?: {
|
|
302
302
|
schemes: string[];
|
|
303
|
-
credentials?: string | undefined;
|
|
304
|
-
} | undefined;
|
|
303
|
+
credentials?: string | null | undefined;
|
|
304
|
+
} | null | undefined;
|
|
305
305
|
}, {
|
|
306
306
|
url: string;
|
|
307
|
-
id?: string | undefined;
|
|
308
|
-
token?: string | undefined;
|
|
307
|
+
id?: string | null | undefined;
|
|
308
|
+
token?: string | null | undefined;
|
|
309
309
|
authentication?: {
|
|
310
310
|
schemes: string[];
|
|
311
|
-
credentials?: string | undefined;
|
|
312
|
-
} | undefined;
|
|
311
|
+
credentials?: string | null | undefined;
|
|
312
|
+
} | null | undefined;
|
|
313
313
|
}>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
315
|
taskId: string;
|
|
316
316
|
pushNotificationConfig: {
|
|
317
317
|
url: string;
|
|
318
|
-
id?: string | undefined;
|
|
319
|
-
token?: string | undefined;
|
|
318
|
+
id?: string | null | undefined;
|
|
319
|
+
token?: string | null | undefined;
|
|
320
320
|
authentication?: {
|
|
321
321
|
schemes: string[];
|
|
322
|
-
credentials?: string | undefined;
|
|
323
|
-
} | undefined;
|
|
322
|
+
credentials?: string | null | undefined;
|
|
323
|
+
} | null | undefined;
|
|
324
324
|
};
|
|
325
325
|
}, {
|
|
326
326
|
taskId: string;
|
|
327
327
|
pushNotificationConfig: {
|
|
328
328
|
url: string;
|
|
329
|
-
id?: string | undefined;
|
|
330
|
-
token?: string | undefined;
|
|
329
|
+
id?: string | null | undefined;
|
|
330
|
+
token?: string | null | undefined;
|
|
331
331
|
authentication?: {
|
|
332
332
|
schemes: string[];
|
|
333
|
-
credentials?: string | undefined;
|
|
334
|
-
} | undefined;
|
|
333
|
+
credentials?: string | null | undefined;
|
|
334
|
+
} | null | undefined;
|
|
335
335
|
};
|
|
336
336
|
}>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -341,12 +341,12 @@ export declare const SetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
341
341
|
taskId: string;
|
|
342
342
|
pushNotificationConfig: {
|
|
343
343
|
url: string;
|
|
344
|
-
id?: string | undefined;
|
|
345
|
-
token?: string | undefined;
|
|
344
|
+
id?: string | null | undefined;
|
|
345
|
+
token?: string | null | undefined;
|
|
346
346
|
authentication?: {
|
|
347
347
|
schemes: string[];
|
|
348
|
-
credentials?: string | undefined;
|
|
349
|
-
} | undefined;
|
|
348
|
+
credentials?: string | null | undefined;
|
|
349
|
+
} | null | undefined;
|
|
350
350
|
};
|
|
351
351
|
};
|
|
352
352
|
jsonrpc: "2.0";
|
|
@@ -357,12 +357,12 @@ export declare const SetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
357
357
|
taskId: string;
|
|
358
358
|
pushNotificationConfig: {
|
|
359
359
|
url: string;
|
|
360
|
-
id?: string | undefined;
|
|
361
|
-
token?: string | undefined;
|
|
360
|
+
id?: string | null | undefined;
|
|
361
|
+
token?: string | null | undefined;
|
|
362
362
|
authentication?: {
|
|
363
363
|
schemes: string[];
|
|
364
|
-
credentials?: string | undefined;
|
|
365
|
-
} | undefined;
|
|
364
|
+
credentials?: string | null | undefined;
|
|
365
|
+
} | null | undefined;
|
|
366
366
|
};
|
|
367
367
|
};
|
|
368
368
|
jsonrpc: "2.0";
|
|
@@ -373,8 +373,8 @@ export type SetTaskPushNotificationConfigRequest = z.infer<typeof SetTaskPushNot
|
|
|
373
373
|
*/
|
|
374
374
|
export declare const SetTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
|
|
375
375
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
376
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
377
|
-
error: z.ZodOptional<z.ZodNever
|
|
376
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
377
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
378
378
|
} & {
|
|
379
379
|
result: z.ZodObject<{
|
|
380
380
|
/**
|
|
@@ -389,7 +389,7 @@ export declare const SetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
389
389
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
390
390
|
* to support multiple notification callbacks.
|
|
391
391
|
*/
|
|
392
|
-
id: z.ZodOptional<z.ZodString
|
|
392
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
393
393
|
/**
|
|
394
394
|
* @required The callback URL where the agent should send push notifications.
|
|
395
395
|
*/
|
|
@@ -397,11 +397,11 @@ export declare const SetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
397
397
|
/**
|
|
398
398
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
399
399
|
*/
|
|
400
|
-
token: z.ZodOptional<z.ZodString
|
|
400
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
401
401
|
/**
|
|
402
402
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
403
403
|
*/
|
|
404
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
405
405
|
/**
|
|
406
406
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
407
407
|
*/
|
|
@@ -409,52 +409,52 @@ export declare const SetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
409
409
|
/**
|
|
410
410
|
* @optional Optional credentials required by the push notification endpoint.
|
|
411
411
|
*/
|
|
412
|
-
credentials: z.ZodOptional<z.ZodString
|
|
412
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
413
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
414
|
schemes: string[];
|
|
415
|
-
credentials?: string | undefined;
|
|
415
|
+
credentials?: string | null | undefined;
|
|
416
416
|
}, {
|
|
417
417
|
schemes: string[];
|
|
418
|
-
credentials?: string | undefined;
|
|
419
|
-
}
|
|
418
|
+
credentials?: string | null | undefined;
|
|
419
|
+
}>>>;
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
421
|
url: string;
|
|
422
|
-
id?: string | undefined;
|
|
423
|
-
token?: string | undefined;
|
|
422
|
+
id?: string | null | undefined;
|
|
423
|
+
token?: string | null | undefined;
|
|
424
424
|
authentication?: {
|
|
425
425
|
schemes: string[];
|
|
426
|
-
credentials?: string | undefined;
|
|
427
|
-
} | undefined;
|
|
426
|
+
credentials?: string | null | undefined;
|
|
427
|
+
} | null | undefined;
|
|
428
428
|
}, {
|
|
429
429
|
url: string;
|
|
430
|
-
id?: string | undefined;
|
|
431
|
-
token?: string | undefined;
|
|
430
|
+
id?: string | null | undefined;
|
|
431
|
+
token?: string | null | undefined;
|
|
432
432
|
authentication?: {
|
|
433
433
|
schemes: string[];
|
|
434
|
-
credentials?: string | undefined;
|
|
435
|
-
} | undefined;
|
|
434
|
+
credentials?: string | null | undefined;
|
|
435
|
+
} | null | undefined;
|
|
436
436
|
}>;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
438
|
taskId: string;
|
|
439
439
|
pushNotificationConfig: {
|
|
440
440
|
url: string;
|
|
441
|
-
id?: string | undefined;
|
|
442
|
-
token?: string | undefined;
|
|
441
|
+
id?: string | null | undefined;
|
|
442
|
+
token?: string | null | undefined;
|
|
443
443
|
authentication?: {
|
|
444
444
|
schemes: string[];
|
|
445
|
-
credentials?: string | undefined;
|
|
446
|
-
} | undefined;
|
|
445
|
+
credentials?: string | null | undefined;
|
|
446
|
+
} | null | undefined;
|
|
447
447
|
};
|
|
448
448
|
}, {
|
|
449
449
|
taskId: string;
|
|
450
450
|
pushNotificationConfig: {
|
|
451
451
|
url: string;
|
|
452
|
-
id?: string | undefined;
|
|
453
|
-
token?: string | undefined;
|
|
452
|
+
id?: string | null | undefined;
|
|
453
|
+
token?: string | null | undefined;
|
|
454
454
|
authentication?: {
|
|
455
455
|
schemes: string[];
|
|
456
|
-
credentials?: string | undefined;
|
|
457
|
-
} | undefined;
|
|
456
|
+
credentials?: string | null | undefined;
|
|
457
|
+
} | null | undefined;
|
|
458
458
|
};
|
|
459
459
|
}>;
|
|
460
460
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -463,32 +463,32 @@ export declare const SetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
463
463
|
taskId: string;
|
|
464
464
|
pushNotificationConfig: {
|
|
465
465
|
url: string;
|
|
466
|
-
id?: string | undefined;
|
|
467
|
-
token?: string | undefined;
|
|
466
|
+
id?: string | null | undefined;
|
|
467
|
+
token?: string | null | undefined;
|
|
468
468
|
authentication?: {
|
|
469
469
|
schemes: string[];
|
|
470
|
-
credentials?: string | undefined;
|
|
471
|
-
} | undefined;
|
|
470
|
+
credentials?: string | null | undefined;
|
|
471
|
+
} | null | undefined;
|
|
472
472
|
};
|
|
473
473
|
};
|
|
474
|
-
error?: undefined;
|
|
475
|
-
id?: string | number | undefined;
|
|
474
|
+
error?: null | undefined;
|
|
475
|
+
id?: string | number | null | undefined;
|
|
476
476
|
}, {
|
|
477
477
|
jsonrpc: "2.0";
|
|
478
478
|
result: {
|
|
479
479
|
taskId: string;
|
|
480
480
|
pushNotificationConfig: {
|
|
481
481
|
url: string;
|
|
482
|
-
id?: string | undefined;
|
|
483
|
-
token?: string | undefined;
|
|
482
|
+
id?: string | null | undefined;
|
|
483
|
+
token?: string | null | undefined;
|
|
484
484
|
authentication?: {
|
|
485
485
|
schemes: string[];
|
|
486
|
-
credentials?: string | undefined;
|
|
487
|
-
} | undefined;
|
|
486
|
+
credentials?: string | null | undefined;
|
|
487
|
+
} | null | undefined;
|
|
488
488
|
};
|
|
489
489
|
};
|
|
490
|
-
error?: undefined;
|
|
491
|
-
id?: string | number | undefined;
|
|
490
|
+
error?: null | undefined;
|
|
491
|
+
id?: string | number | null | undefined;
|
|
492
492
|
}>;
|
|
493
493
|
export type SetTaskPushNotificationConfigSuccessResponse = z.infer<typeof SetTaskPushNotificationConfigSuccessResponseSchema>;
|
|
494
494
|
/**
|
|
@@ -496,8 +496,8 @@ export type SetTaskPushNotificationConfigSuccessResponse = z.infer<typeof SetTas
|
|
|
496
496
|
*/
|
|
497
497
|
export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
498
498
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
499
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
500
|
-
error: z.ZodOptional<z.ZodNever
|
|
499
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
500
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
501
501
|
} & {
|
|
502
502
|
result: z.ZodObject<{
|
|
503
503
|
/**
|
|
@@ -512,7 +512,7 @@ export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
512
512
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
513
513
|
* to support multiple notification callbacks.
|
|
514
514
|
*/
|
|
515
|
-
id: z.ZodOptional<z.ZodString
|
|
515
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
516
516
|
/**
|
|
517
517
|
* @required The callback URL where the agent should send push notifications.
|
|
518
518
|
*/
|
|
@@ -520,11 +520,11 @@ export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
520
520
|
/**
|
|
521
521
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
522
522
|
*/
|
|
523
|
-
token: z.ZodOptional<z.ZodString
|
|
523
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
524
524
|
/**
|
|
525
525
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
526
526
|
*/
|
|
527
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
528
528
|
/**
|
|
529
529
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
530
530
|
*/
|
|
@@ -532,52 +532,52 @@ export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
532
532
|
/**
|
|
533
533
|
* @optional Optional credentials required by the push notification endpoint.
|
|
534
534
|
*/
|
|
535
|
-
credentials: z.ZodOptional<z.ZodString
|
|
535
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
536
536
|
}, "strip", z.ZodTypeAny, {
|
|
537
537
|
schemes: string[];
|
|
538
|
-
credentials?: string | undefined;
|
|
538
|
+
credentials?: string | null | undefined;
|
|
539
539
|
}, {
|
|
540
540
|
schemes: string[];
|
|
541
|
-
credentials?: string | undefined;
|
|
542
|
-
}
|
|
541
|
+
credentials?: string | null | undefined;
|
|
542
|
+
}>>>;
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
544
|
url: string;
|
|
545
|
-
id?: string | undefined;
|
|
546
|
-
token?: string | undefined;
|
|
545
|
+
id?: string | null | undefined;
|
|
546
|
+
token?: string | null | undefined;
|
|
547
547
|
authentication?: {
|
|
548
548
|
schemes: string[];
|
|
549
|
-
credentials?: string | undefined;
|
|
550
|
-
} | undefined;
|
|
549
|
+
credentials?: string | null | undefined;
|
|
550
|
+
} | null | undefined;
|
|
551
551
|
}, {
|
|
552
552
|
url: string;
|
|
553
|
-
id?: string | undefined;
|
|
554
|
-
token?: string | undefined;
|
|
553
|
+
id?: string | null | undefined;
|
|
554
|
+
token?: string | null | undefined;
|
|
555
555
|
authentication?: {
|
|
556
556
|
schemes: string[];
|
|
557
|
-
credentials?: string | undefined;
|
|
558
|
-
} | undefined;
|
|
557
|
+
credentials?: string | null | undefined;
|
|
558
|
+
} | null | undefined;
|
|
559
559
|
}>;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
561
|
taskId: string;
|
|
562
562
|
pushNotificationConfig: {
|
|
563
563
|
url: string;
|
|
564
|
-
id?: string | undefined;
|
|
565
|
-
token?: string | undefined;
|
|
564
|
+
id?: string | null | undefined;
|
|
565
|
+
token?: string | null | undefined;
|
|
566
566
|
authentication?: {
|
|
567
567
|
schemes: string[];
|
|
568
|
-
credentials?: string | undefined;
|
|
569
|
-
} | undefined;
|
|
568
|
+
credentials?: string | null | undefined;
|
|
569
|
+
} | null | undefined;
|
|
570
570
|
};
|
|
571
571
|
}, {
|
|
572
572
|
taskId: string;
|
|
573
573
|
pushNotificationConfig: {
|
|
574
574
|
url: string;
|
|
575
|
-
id?: string | undefined;
|
|
576
|
-
token?: string | undefined;
|
|
575
|
+
id?: string | null | undefined;
|
|
576
|
+
token?: string | null | undefined;
|
|
577
577
|
authentication?: {
|
|
578
578
|
schemes: string[];
|
|
579
|
-
credentials?: string | undefined;
|
|
580
|
-
} | undefined;
|
|
579
|
+
credentials?: string | null | undefined;
|
|
580
|
+
} | null | undefined;
|
|
581
581
|
};
|
|
582
582
|
}>;
|
|
583
583
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -586,41 +586,41 @@ export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
586
586
|
taskId: string;
|
|
587
587
|
pushNotificationConfig: {
|
|
588
588
|
url: string;
|
|
589
|
-
id?: string | undefined;
|
|
590
|
-
token?: string | undefined;
|
|
589
|
+
id?: string | null | undefined;
|
|
590
|
+
token?: string | null | undefined;
|
|
591
591
|
authentication?: {
|
|
592
592
|
schemes: string[];
|
|
593
|
-
credentials?: string | undefined;
|
|
594
|
-
} | undefined;
|
|
593
|
+
credentials?: string | null | undefined;
|
|
594
|
+
} | null | undefined;
|
|
595
595
|
};
|
|
596
596
|
};
|
|
597
|
-
error?: undefined;
|
|
598
|
-
id?: string | number | undefined;
|
|
597
|
+
error?: null | undefined;
|
|
598
|
+
id?: string | number | null | undefined;
|
|
599
599
|
}, {
|
|
600
600
|
jsonrpc: "2.0";
|
|
601
601
|
result: {
|
|
602
602
|
taskId: string;
|
|
603
603
|
pushNotificationConfig: {
|
|
604
604
|
url: string;
|
|
605
|
-
id?: string | undefined;
|
|
606
|
-
token?: string | undefined;
|
|
605
|
+
id?: string | null | undefined;
|
|
606
|
+
token?: string | null | undefined;
|
|
607
607
|
authentication?: {
|
|
608
608
|
schemes: string[];
|
|
609
|
-
credentials?: string | undefined;
|
|
610
|
-
} | undefined;
|
|
609
|
+
credentials?: string | null | undefined;
|
|
610
|
+
} | null | undefined;
|
|
611
611
|
};
|
|
612
612
|
};
|
|
613
|
-
error?: undefined;
|
|
614
|
-
id?: string | number | undefined;
|
|
613
|
+
error?: null | undefined;
|
|
614
|
+
id?: string | number | null | undefined;
|
|
615
615
|
}>, z.ZodObject<{
|
|
616
616
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
617
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
617
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
618
618
|
} & {
|
|
619
|
-
result: z.ZodOptional<z.ZodNever
|
|
619
|
+
result: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
620
620
|
error: z.ZodObject<{
|
|
621
621
|
code: z.ZodNumber;
|
|
622
622
|
message: z.ZodString;
|
|
623
|
-
data: z.ZodOptional<z.ZodUnknown
|
|
623
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
code: number;
|
|
626
626
|
message: string;
|
|
@@ -637,8 +637,8 @@ export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
637
637
|
data?: unknown;
|
|
638
638
|
};
|
|
639
639
|
jsonrpc: "2.0";
|
|
640
|
-
id?: string | number | undefined;
|
|
641
|
-
result?: undefined;
|
|
640
|
+
id?: string | number | null | undefined;
|
|
641
|
+
result?: null | undefined;
|
|
642
642
|
}, {
|
|
643
643
|
error: {
|
|
644
644
|
code: number;
|
|
@@ -646,8 +646,8 @@ export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
646
646
|
data?: unknown;
|
|
647
647
|
};
|
|
648
648
|
jsonrpc: "2.0";
|
|
649
|
-
id?: string | number | undefined;
|
|
650
|
-
result?: undefined;
|
|
649
|
+
id?: string | number | null | undefined;
|
|
650
|
+
result?: null | undefined;
|
|
651
651
|
}>]>;
|
|
652
652
|
export type SetTaskPushNotificationConfigResponse = z.infer<typeof SetTaskPushNotificationConfigResponseSchema>;
|
|
653
653
|
/**
|
|
@@ -660,40 +660,40 @@ export declare const GetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
660
660
|
method: z.ZodLiteral<"tasks/pushNotificationConfig/get">;
|
|
661
661
|
params: z.ZodUnion<[z.ZodObject<{
|
|
662
662
|
id: z.ZodString;
|
|
663
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
663
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
664
664
|
} & {
|
|
665
665
|
/**
|
|
666
666
|
* @optional The ID of the push notification configuration to retrieve.
|
|
667
667
|
*/
|
|
668
|
-
pushNotificationConfigId: z.ZodOptional<z.ZodString
|
|
668
|
+
pushNotificationConfigId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
669
669
|
}, "strip", z.ZodTypeAny, {
|
|
670
670
|
id: string;
|
|
671
|
-
metadata?: Record<string, unknown> | undefined;
|
|
672
|
-
pushNotificationConfigId?: string | undefined;
|
|
671
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
672
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
673
673
|
}, {
|
|
674
674
|
id: string;
|
|
675
|
-
metadata?: Record<string, unknown> | undefined;
|
|
676
|
-
pushNotificationConfigId?: string | undefined;
|
|
675
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
676
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
677
677
|
}>, z.ZodObject<{
|
|
678
678
|
id: z.ZodString;
|
|
679
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
679
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
680
680
|
}, "strip", z.ZodTypeAny, {
|
|
681
681
|
id: string;
|
|
682
|
-
metadata?: Record<string, unknown> | undefined;
|
|
682
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
683
683
|
}, {
|
|
684
684
|
id: string;
|
|
685
|
-
metadata?: Record<string, unknown> | undefined;
|
|
685
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
686
686
|
}>]>;
|
|
687
687
|
}, "strip", z.ZodTypeAny, {
|
|
688
688
|
id: string | number;
|
|
689
689
|
method: "tasks/pushNotificationConfig/get";
|
|
690
690
|
params: {
|
|
691
691
|
id: string;
|
|
692
|
-
metadata?: Record<string, unknown> | undefined;
|
|
692
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
693
693
|
} | {
|
|
694
694
|
id: string;
|
|
695
|
-
metadata?: Record<string, unknown> | undefined;
|
|
696
|
-
pushNotificationConfigId?: string | undefined;
|
|
695
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
696
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
697
697
|
};
|
|
698
698
|
jsonrpc: "2.0";
|
|
699
699
|
}, {
|
|
@@ -701,11 +701,11 @@ export declare const GetTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
701
701
|
method: "tasks/pushNotificationConfig/get";
|
|
702
702
|
params: {
|
|
703
703
|
id: string;
|
|
704
|
-
metadata?: Record<string, unknown> | undefined;
|
|
704
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
705
705
|
} | {
|
|
706
706
|
id: string;
|
|
707
|
-
metadata?: Record<string, unknown> | undefined;
|
|
708
|
-
pushNotificationConfigId?: string | undefined;
|
|
707
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
708
|
+
pushNotificationConfigId?: string | null | undefined;
|
|
709
709
|
};
|
|
710
710
|
jsonrpc: "2.0";
|
|
711
711
|
}>;
|
|
@@ -715,8 +715,8 @@ export type GetTaskPushNotificationConfigRequest = z.infer<typeof GetTaskPushNot
|
|
|
715
715
|
*/
|
|
716
716
|
export declare const GetTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
|
|
717
717
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
718
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
719
|
-
error: z.ZodOptional<z.ZodNever
|
|
718
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
719
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
720
720
|
} & {
|
|
721
721
|
result: z.ZodObject<{
|
|
722
722
|
/**
|
|
@@ -731,7 +731,7 @@ export declare const GetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
731
731
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
732
732
|
* to support multiple notification callbacks.
|
|
733
733
|
*/
|
|
734
|
-
id: z.ZodOptional<z.ZodString
|
|
734
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
735
735
|
/**
|
|
736
736
|
* @required The callback URL where the agent should send push notifications.
|
|
737
737
|
*/
|
|
@@ -739,11 +739,11 @@ export declare const GetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
739
739
|
/**
|
|
740
740
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
741
741
|
*/
|
|
742
|
-
token: z.ZodOptional<z.ZodString
|
|
742
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
743
743
|
/**
|
|
744
744
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
745
745
|
*/
|
|
746
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
746
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
747
747
|
/**
|
|
748
748
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
749
749
|
*/
|
|
@@ -751,52 +751,52 @@ export declare const GetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
751
751
|
/**
|
|
752
752
|
* @optional Optional credentials required by the push notification endpoint.
|
|
753
753
|
*/
|
|
754
|
-
credentials: z.ZodOptional<z.ZodString
|
|
754
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
755
755
|
}, "strip", z.ZodTypeAny, {
|
|
756
756
|
schemes: string[];
|
|
757
|
-
credentials?: string | undefined;
|
|
757
|
+
credentials?: string | null | undefined;
|
|
758
758
|
}, {
|
|
759
759
|
schemes: string[];
|
|
760
|
-
credentials?: string | undefined;
|
|
761
|
-
}
|
|
760
|
+
credentials?: string | null | undefined;
|
|
761
|
+
}>>>;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
763
|
url: string;
|
|
764
|
-
id?: string | undefined;
|
|
765
|
-
token?: string | undefined;
|
|
764
|
+
id?: string | null | undefined;
|
|
765
|
+
token?: string | null | undefined;
|
|
766
766
|
authentication?: {
|
|
767
767
|
schemes: string[];
|
|
768
|
-
credentials?: string | undefined;
|
|
769
|
-
} | undefined;
|
|
768
|
+
credentials?: string | null | undefined;
|
|
769
|
+
} | null | undefined;
|
|
770
770
|
}, {
|
|
771
771
|
url: string;
|
|
772
|
-
id?: string | undefined;
|
|
773
|
-
token?: string | undefined;
|
|
772
|
+
id?: string | null | undefined;
|
|
773
|
+
token?: string | null | undefined;
|
|
774
774
|
authentication?: {
|
|
775
775
|
schemes: string[];
|
|
776
|
-
credentials?: string | undefined;
|
|
777
|
-
} | undefined;
|
|
776
|
+
credentials?: string | null | undefined;
|
|
777
|
+
} | null | undefined;
|
|
778
778
|
}>;
|
|
779
779
|
}, "strip", z.ZodTypeAny, {
|
|
780
780
|
taskId: string;
|
|
781
781
|
pushNotificationConfig: {
|
|
782
782
|
url: string;
|
|
783
|
-
id?: string | undefined;
|
|
784
|
-
token?: string | undefined;
|
|
783
|
+
id?: string | null | undefined;
|
|
784
|
+
token?: string | null | undefined;
|
|
785
785
|
authentication?: {
|
|
786
786
|
schemes: string[];
|
|
787
|
-
credentials?: string | undefined;
|
|
788
|
-
} | undefined;
|
|
787
|
+
credentials?: string | null | undefined;
|
|
788
|
+
} | null | undefined;
|
|
789
789
|
};
|
|
790
790
|
}, {
|
|
791
791
|
taskId: string;
|
|
792
792
|
pushNotificationConfig: {
|
|
793
793
|
url: string;
|
|
794
|
-
id?: string | undefined;
|
|
795
|
-
token?: string | undefined;
|
|
794
|
+
id?: string | null | undefined;
|
|
795
|
+
token?: string | null | undefined;
|
|
796
796
|
authentication?: {
|
|
797
797
|
schemes: string[];
|
|
798
|
-
credentials?: string | undefined;
|
|
799
|
-
} | undefined;
|
|
798
|
+
credentials?: string | null | undefined;
|
|
799
|
+
} | null | undefined;
|
|
800
800
|
};
|
|
801
801
|
}>;
|
|
802
802
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -805,32 +805,32 @@ export declare const GetTaskPushNotificationConfigSuccessResponseSchema: z.ZodOb
|
|
|
805
805
|
taskId: string;
|
|
806
806
|
pushNotificationConfig: {
|
|
807
807
|
url: string;
|
|
808
|
-
id?: string | undefined;
|
|
809
|
-
token?: string | undefined;
|
|
808
|
+
id?: string | null | undefined;
|
|
809
|
+
token?: string | null | undefined;
|
|
810
810
|
authentication?: {
|
|
811
811
|
schemes: string[];
|
|
812
|
-
credentials?: string | undefined;
|
|
813
|
-
} | undefined;
|
|
812
|
+
credentials?: string | null | undefined;
|
|
813
|
+
} | null | undefined;
|
|
814
814
|
};
|
|
815
815
|
};
|
|
816
|
-
error?: undefined;
|
|
817
|
-
id?: string | number | undefined;
|
|
816
|
+
error?: null | undefined;
|
|
817
|
+
id?: string | number | null | undefined;
|
|
818
818
|
}, {
|
|
819
819
|
jsonrpc: "2.0";
|
|
820
820
|
result: {
|
|
821
821
|
taskId: string;
|
|
822
822
|
pushNotificationConfig: {
|
|
823
823
|
url: string;
|
|
824
|
-
id?: string | undefined;
|
|
825
|
-
token?: string | undefined;
|
|
824
|
+
id?: string | null | undefined;
|
|
825
|
+
token?: string | null | undefined;
|
|
826
826
|
authentication?: {
|
|
827
827
|
schemes: string[];
|
|
828
|
-
credentials?: string | undefined;
|
|
829
|
-
} | undefined;
|
|
828
|
+
credentials?: string | null | undefined;
|
|
829
|
+
} | null | undefined;
|
|
830
830
|
};
|
|
831
831
|
};
|
|
832
|
-
error?: undefined;
|
|
833
|
-
id?: string | number | undefined;
|
|
832
|
+
error?: null | undefined;
|
|
833
|
+
id?: string | number | null | undefined;
|
|
834
834
|
}>;
|
|
835
835
|
export type GetTaskPushNotificationConfigSuccessResponse = z.infer<typeof GetTaskPushNotificationConfigSuccessResponseSchema>;
|
|
836
836
|
/**
|
|
@@ -838,8 +838,8 @@ export type GetTaskPushNotificationConfigSuccessResponse = z.infer<typeof GetTas
|
|
|
838
838
|
*/
|
|
839
839
|
export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
840
840
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
841
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
842
|
-
error: z.ZodOptional<z.ZodNever
|
|
841
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
842
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
843
843
|
} & {
|
|
844
844
|
result: z.ZodObject<{
|
|
845
845
|
/**
|
|
@@ -854,7 +854,7 @@ export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
854
854
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
855
855
|
* to support multiple notification callbacks.
|
|
856
856
|
*/
|
|
857
|
-
id: z.ZodOptional<z.ZodString
|
|
857
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
858
858
|
/**
|
|
859
859
|
* @required The callback URL where the agent should send push notifications.
|
|
860
860
|
*/
|
|
@@ -862,11 +862,11 @@ export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
862
862
|
/**
|
|
863
863
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
864
864
|
*/
|
|
865
|
-
token: z.ZodOptional<z.ZodString
|
|
865
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
866
866
|
/**
|
|
867
867
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
868
868
|
*/
|
|
869
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
870
870
|
/**
|
|
871
871
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
872
872
|
*/
|
|
@@ -874,52 +874,52 @@ export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
874
874
|
/**
|
|
875
875
|
* @optional Optional credentials required by the push notification endpoint.
|
|
876
876
|
*/
|
|
877
|
-
credentials: z.ZodOptional<z.ZodString
|
|
877
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
878
878
|
}, "strip", z.ZodTypeAny, {
|
|
879
879
|
schemes: string[];
|
|
880
|
-
credentials?: string | undefined;
|
|
880
|
+
credentials?: string | null | undefined;
|
|
881
881
|
}, {
|
|
882
882
|
schemes: string[];
|
|
883
|
-
credentials?: string | undefined;
|
|
884
|
-
}
|
|
883
|
+
credentials?: string | null | undefined;
|
|
884
|
+
}>>>;
|
|
885
885
|
}, "strip", z.ZodTypeAny, {
|
|
886
886
|
url: string;
|
|
887
|
-
id?: string | undefined;
|
|
888
|
-
token?: string | undefined;
|
|
887
|
+
id?: string | null | undefined;
|
|
888
|
+
token?: string | null | undefined;
|
|
889
889
|
authentication?: {
|
|
890
890
|
schemes: string[];
|
|
891
|
-
credentials?: string | undefined;
|
|
892
|
-
} | undefined;
|
|
891
|
+
credentials?: string | null | undefined;
|
|
892
|
+
} | null | undefined;
|
|
893
893
|
}, {
|
|
894
894
|
url: string;
|
|
895
|
-
id?: string | undefined;
|
|
896
|
-
token?: string | undefined;
|
|
895
|
+
id?: string | null | undefined;
|
|
896
|
+
token?: string | null | undefined;
|
|
897
897
|
authentication?: {
|
|
898
898
|
schemes: string[];
|
|
899
|
-
credentials?: string | undefined;
|
|
900
|
-
} | undefined;
|
|
899
|
+
credentials?: string | null | undefined;
|
|
900
|
+
} | null | undefined;
|
|
901
901
|
}>;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
903
|
taskId: string;
|
|
904
904
|
pushNotificationConfig: {
|
|
905
905
|
url: string;
|
|
906
|
-
id?: string | undefined;
|
|
907
|
-
token?: string | undefined;
|
|
906
|
+
id?: string | null | undefined;
|
|
907
|
+
token?: string | null | undefined;
|
|
908
908
|
authentication?: {
|
|
909
909
|
schemes: string[];
|
|
910
|
-
credentials?: string | undefined;
|
|
911
|
-
} | undefined;
|
|
910
|
+
credentials?: string | null | undefined;
|
|
911
|
+
} | null | undefined;
|
|
912
912
|
};
|
|
913
913
|
}, {
|
|
914
914
|
taskId: string;
|
|
915
915
|
pushNotificationConfig: {
|
|
916
916
|
url: string;
|
|
917
|
-
id?: string | undefined;
|
|
918
|
-
token?: string | undefined;
|
|
917
|
+
id?: string | null | undefined;
|
|
918
|
+
token?: string | null | undefined;
|
|
919
919
|
authentication?: {
|
|
920
920
|
schemes: string[];
|
|
921
|
-
credentials?: string | undefined;
|
|
922
|
-
} | undefined;
|
|
921
|
+
credentials?: string | null | undefined;
|
|
922
|
+
} | null | undefined;
|
|
923
923
|
};
|
|
924
924
|
}>;
|
|
925
925
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -928,41 +928,41 @@ export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
928
928
|
taskId: string;
|
|
929
929
|
pushNotificationConfig: {
|
|
930
930
|
url: string;
|
|
931
|
-
id?: string | undefined;
|
|
932
|
-
token?: string | undefined;
|
|
931
|
+
id?: string | null | undefined;
|
|
932
|
+
token?: string | null | undefined;
|
|
933
933
|
authentication?: {
|
|
934
934
|
schemes: string[];
|
|
935
|
-
credentials?: string | undefined;
|
|
936
|
-
} | undefined;
|
|
935
|
+
credentials?: string | null | undefined;
|
|
936
|
+
} | null | undefined;
|
|
937
937
|
};
|
|
938
938
|
};
|
|
939
|
-
error?: undefined;
|
|
940
|
-
id?: string | number | undefined;
|
|
939
|
+
error?: null | undefined;
|
|
940
|
+
id?: string | number | null | undefined;
|
|
941
941
|
}, {
|
|
942
942
|
jsonrpc: "2.0";
|
|
943
943
|
result: {
|
|
944
944
|
taskId: string;
|
|
945
945
|
pushNotificationConfig: {
|
|
946
946
|
url: string;
|
|
947
|
-
id?: string | undefined;
|
|
948
|
-
token?: string | undefined;
|
|
947
|
+
id?: string | null | undefined;
|
|
948
|
+
token?: string | null | undefined;
|
|
949
949
|
authentication?: {
|
|
950
950
|
schemes: string[];
|
|
951
|
-
credentials?: string | undefined;
|
|
952
|
-
} | undefined;
|
|
951
|
+
credentials?: string | null | undefined;
|
|
952
|
+
} | null | undefined;
|
|
953
953
|
};
|
|
954
954
|
};
|
|
955
|
-
error?: undefined;
|
|
956
|
-
id?: string | number | undefined;
|
|
955
|
+
error?: null | undefined;
|
|
956
|
+
id?: string | number | null | undefined;
|
|
957
957
|
}>, z.ZodObject<{
|
|
958
958
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
959
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
959
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
960
960
|
} & {
|
|
961
|
-
result: z.ZodOptional<z.ZodNever
|
|
961
|
+
result: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
962
962
|
error: z.ZodObject<{
|
|
963
963
|
code: z.ZodNumber;
|
|
964
964
|
message: z.ZodString;
|
|
965
|
-
data: z.ZodOptional<z.ZodUnknown
|
|
965
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
966
966
|
}, "strip", z.ZodTypeAny, {
|
|
967
967
|
code: number;
|
|
968
968
|
message: string;
|
|
@@ -979,8 +979,8 @@ export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
979
979
|
data?: unknown;
|
|
980
980
|
};
|
|
981
981
|
jsonrpc: "2.0";
|
|
982
|
-
id?: string | number | undefined;
|
|
983
|
-
result?: undefined;
|
|
982
|
+
id?: string | number | null | undefined;
|
|
983
|
+
result?: null | undefined;
|
|
984
984
|
}, {
|
|
985
985
|
error: {
|
|
986
986
|
code: number;
|
|
@@ -988,8 +988,8 @@ export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.
|
|
|
988
988
|
data?: unknown;
|
|
989
989
|
};
|
|
990
990
|
jsonrpc: "2.0";
|
|
991
|
-
id?: string | number | undefined;
|
|
992
|
-
result?: undefined;
|
|
991
|
+
id?: string | number | null | undefined;
|
|
992
|
+
result?: null | undefined;
|
|
993
993
|
}>]>;
|
|
994
994
|
export type GetTaskPushNotificationConfigResponse = z.infer<typeof GetTaskPushNotificationConfigResponseSchema>;
|
|
995
995
|
/**
|
|
@@ -1002,20 +1002,20 @@ export declare const ListTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
1002
1002
|
method: z.ZodLiteral<"tasks/pushNotificationConfig/list">;
|
|
1003
1003
|
params: z.ZodObject<{
|
|
1004
1004
|
id: z.ZodString;
|
|
1005
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
1005
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1006
1006
|
}, "strip", z.ZodTypeAny, {
|
|
1007
1007
|
id: string;
|
|
1008
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1008
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1009
1009
|
}, {
|
|
1010
1010
|
id: string;
|
|
1011
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1011
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1012
1012
|
}>;
|
|
1013
1013
|
}, "strip", z.ZodTypeAny, {
|
|
1014
1014
|
id: string | number;
|
|
1015
1015
|
method: "tasks/pushNotificationConfig/list";
|
|
1016
1016
|
params: {
|
|
1017
1017
|
id: string;
|
|
1018
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1018
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1019
1019
|
};
|
|
1020
1020
|
jsonrpc: "2.0";
|
|
1021
1021
|
}, {
|
|
@@ -1023,7 +1023,7 @@ export declare const ListTaskPushNotificationConfigRequestSchema: z.ZodObject<{
|
|
|
1023
1023
|
method: "tasks/pushNotificationConfig/list";
|
|
1024
1024
|
params: {
|
|
1025
1025
|
id: string;
|
|
1026
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1026
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1027
1027
|
};
|
|
1028
1028
|
jsonrpc: "2.0";
|
|
1029
1029
|
}>;
|
|
@@ -1041,7 +1041,7 @@ export declare const ListTaskPushNotificationConfigResultSchema: z.ZodArray<z.Zo
|
|
|
1041
1041
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
1042
1042
|
* to support multiple notification callbacks.
|
|
1043
1043
|
*/
|
|
1044
|
-
id: z.ZodOptional<z.ZodString
|
|
1044
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1045
1045
|
/**
|
|
1046
1046
|
* @required The callback URL where the agent should send push notifications.
|
|
1047
1047
|
*/
|
|
@@ -1049,11 +1049,11 @@ export declare const ListTaskPushNotificationConfigResultSchema: z.ZodArray<z.Zo
|
|
|
1049
1049
|
/**
|
|
1050
1050
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
1051
1051
|
*/
|
|
1052
|
-
token: z.ZodOptional<z.ZodString
|
|
1052
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1053
1053
|
/**
|
|
1054
1054
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
1055
1055
|
*/
|
|
1056
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
1056
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1057
1057
|
/**
|
|
1058
1058
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
1059
1059
|
*/
|
|
@@ -1061,52 +1061,52 @@ export declare const ListTaskPushNotificationConfigResultSchema: z.ZodArray<z.Zo
|
|
|
1061
1061
|
/**
|
|
1062
1062
|
* @optional Optional credentials required by the push notification endpoint.
|
|
1063
1063
|
*/
|
|
1064
|
-
credentials: z.ZodOptional<z.ZodString
|
|
1064
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1065
1065
|
}, "strip", z.ZodTypeAny, {
|
|
1066
1066
|
schemes: string[];
|
|
1067
|
-
credentials?: string | undefined;
|
|
1067
|
+
credentials?: string | null | undefined;
|
|
1068
1068
|
}, {
|
|
1069
1069
|
schemes: string[];
|
|
1070
|
-
credentials?: string | undefined;
|
|
1071
|
-
}
|
|
1070
|
+
credentials?: string | null | undefined;
|
|
1071
|
+
}>>>;
|
|
1072
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1073
1073
|
url: string;
|
|
1074
|
-
id?: string | undefined;
|
|
1075
|
-
token?: string | undefined;
|
|
1074
|
+
id?: string | null | undefined;
|
|
1075
|
+
token?: string | null | undefined;
|
|
1076
1076
|
authentication?: {
|
|
1077
1077
|
schemes: string[];
|
|
1078
|
-
credentials?: string | undefined;
|
|
1079
|
-
} | undefined;
|
|
1078
|
+
credentials?: string | null | undefined;
|
|
1079
|
+
} | null | undefined;
|
|
1080
1080
|
}, {
|
|
1081
1081
|
url: string;
|
|
1082
|
-
id?: string | undefined;
|
|
1083
|
-
token?: string | undefined;
|
|
1082
|
+
id?: string | null | undefined;
|
|
1083
|
+
token?: string | null | undefined;
|
|
1084
1084
|
authentication?: {
|
|
1085
1085
|
schemes: string[];
|
|
1086
|
-
credentials?: string | undefined;
|
|
1087
|
-
} | undefined;
|
|
1086
|
+
credentials?: string | null | undefined;
|
|
1087
|
+
} | null | undefined;
|
|
1088
1088
|
}>;
|
|
1089
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1090
1090
|
taskId: string;
|
|
1091
1091
|
pushNotificationConfig: {
|
|
1092
1092
|
url: string;
|
|
1093
|
-
id?: string | undefined;
|
|
1094
|
-
token?: string | undefined;
|
|
1093
|
+
id?: string | null | undefined;
|
|
1094
|
+
token?: string | null | undefined;
|
|
1095
1095
|
authentication?: {
|
|
1096
1096
|
schemes: string[];
|
|
1097
|
-
credentials?: string | undefined;
|
|
1098
|
-
} | undefined;
|
|
1097
|
+
credentials?: string | null | undefined;
|
|
1098
|
+
} | null | undefined;
|
|
1099
1099
|
};
|
|
1100
1100
|
}, {
|
|
1101
1101
|
taskId: string;
|
|
1102
1102
|
pushNotificationConfig: {
|
|
1103
1103
|
url: string;
|
|
1104
|
-
id?: string | undefined;
|
|
1105
|
-
token?: string | undefined;
|
|
1104
|
+
id?: string | null | undefined;
|
|
1105
|
+
token?: string | null | undefined;
|
|
1106
1106
|
authentication?: {
|
|
1107
1107
|
schemes: string[];
|
|
1108
|
-
credentials?: string | undefined;
|
|
1109
|
-
} | undefined;
|
|
1108
|
+
credentials?: string | null | undefined;
|
|
1109
|
+
} | null | undefined;
|
|
1110
1110
|
};
|
|
1111
1111
|
}>, "many">;
|
|
1112
1112
|
export type ListTaskPushNotificationConfigResult = z.infer<typeof ListTaskPushNotificationConfigResultSchema>;
|
|
@@ -1115,8 +1115,8 @@ export type ListTaskPushNotificationConfigResult = z.infer<typeof ListTaskPushNo
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
export declare const ListTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
|
|
1117
1117
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1118
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1119
|
-
error: z.ZodOptional<z.ZodNever
|
|
1118
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1119
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
1120
1120
|
} & {
|
|
1121
1121
|
result: z.ZodArray<z.ZodObject<{
|
|
1122
1122
|
/**
|
|
@@ -1131,7 +1131,7 @@ export declare const ListTaskPushNotificationConfigSuccessResponseSchema: z.ZodO
|
|
|
1131
1131
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
1132
1132
|
* to support multiple notification callbacks.
|
|
1133
1133
|
*/
|
|
1134
|
-
id: z.ZodOptional<z.ZodString
|
|
1134
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1135
1135
|
/**
|
|
1136
1136
|
* @required The callback URL where the agent should send push notifications.
|
|
1137
1137
|
*/
|
|
@@ -1139,11 +1139,11 @@ export declare const ListTaskPushNotificationConfigSuccessResponseSchema: z.ZodO
|
|
|
1139
1139
|
/**
|
|
1140
1140
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
1141
1141
|
*/
|
|
1142
|
-
token: z.ZodOptional<z.ZodString
|
|
1142
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1143
1143
|
/**
|
|
1144
1144
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
1145
1145
|
*/
|
|
1146
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
1146
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1147
1147
|
/**
|
|
1148
1148
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
1149
1149
|
*/
|
|
@@ -1151,52 +1151,52 @@ export declare const ListTaskPushNotificationConfigSuccessResponseSchema: z.ZodO
|
|
|
1151
1151
|
/**
|
|
1152
1152
|
* @optional Optional credentials required by the push notification endpoint.
|
|
1153
1153
|
*/
|
|
1154
|
-
credentials: z.ZodOptional<z.ZodString
|
|
1154
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1155
1155
|
}, "strip", z.ZodTypeAny, {
|
|
1156
1156
|
schemes: string[];
|
|
1157
|
-
credentials?: string | undefined;
|
|
1157
|
+
credentials?: string | null | undefined;
|
|
1158
1158
|
}, {
|
|
1159
1159
|
schemes: string[];
|
|
1160
|
-
credentials?: string | undefined;
|
|
1161
|
-
}
|
|
1160
|
+
credentials?: string | null | undefined;
|
|
1161
|
+
}>>>;
|
|
1162
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1163
1163
|
url: string;
|
|
1164
|
-
id?: string | undefined;
|
|
1165
|
-
token?: string | undefined;
|
|
1164
|
+
id?: string | null | undefined;
|
|
1165
|
+
token?: string | null | undefined;
|
|
1166
1166
|
authentication?: {
|
|
1167
1167
|
schemes: string[];
|
|
1168
|
-
credentials?: string | undefined;
|
|
1169
|
-
} | undefined;
|
|
1168
|
+
credentials?: string | null | undefined;
|
|
1169
|
+
} | null | undefined;
|
|
1170
1170
|
}, {
|
|
1171
1171
|
url: string;
|
|
1172
|
-
id?: string | undefined;
|
|
1173
|
-
token?: string | undefined;
|
|
1172
|
+
id?: string | null | undefined;
|
|
1173
|
+
token?: string | null | undefined;
|
|
1174
1174
|
authentication?: {
|
|
1175
1175
|
schemes: string[];
|
|
1176
|
-
credentials?: string | undefined;
|
|
1177
|
-
} | undefined;
|
|
1176
|
+
credentials?: string | null | undefined;
|
|
1177
|
+
} | null | undefined;
|
|
1178
1178
|
}>;
|
|
1179
1179
|
}, "strip", z.ZodTypeAny, {
|
|
1180
1180
|
taskId: string;
|
|
1181
1181
|
pushNotificationConfig: {
|
|
1182
1182
|
url: string;
|
|
1183
|
-
id?: string | undefined;
|
|
1184
|
-
token?: string | undefined;
|
|
1183
|
+
id?: string | null | undefined;
|
|
1184
|
+
token?: string | null | undefined;
|
|
1185
1185
|
authentication?: {
|
|
1186
1186
|
schemes: string[];
|
|
1187
|
-
credentials?: string | undefined;
|
|
1188
|
-
} | undefined;
|
|
1187
|
+
credentials?: string | null | undefined;
|
|
1188
|
+
} | null | undefined;
|
|
1189
1189
|
};
|
|
1190
1190
|
}, {
|
|
1191
1191
|
taskId: string;
|
|
1192
1192
|
pushNotificationConfig: {
|
|
1193
1193
|
url: string;
|
|
1194
|
-
id?: string | undefined;
|
|
1195
|
-
token?: string | undefined;
|
|
1194
|
+
id?: string | null | undefined;
|
|
1195
|
+
token?: string | null | undefined;
|
|
1196
1196
|
authentication?: {
|
|
1197
1197
|
schemes: string[];
|
|
1198
|
-
credentials?: string | undefined;
|
|
1199
|
-
} | undefined;
|
|
1198
|
+
credentials?: string | null | undefined;
|
|
1199
|
+
} | null | undefined;
|
|
1200
1200
|
};
|
|
1201
1201
|
}>, "many">;
|
|
1202
1202
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1205,32 +1205,32 @@ export declare const ListTaskPushNotificationConfigSuccessResponseSchema: z.ZodO
|
|
|
1205
1205
|
taskId: string;
|
|
1206
1206
|
pushNotificationConfig: {
|
|
1207
1207
|
url: string;
|
|
1208
|
-
id?: string | undefined;
|
|
1209
|
-
token?: string | undefined;
|
|
1208
|
+
id?: string | null | undefined;
|
|
1209
|
+
token?: string | null | undefined;
|
|
1210
1210
|
authentication?: {
|
|
1211
1211
|
schemes: string[];
|
|
1212
|
-
credentials?: string | undefined;
|
|
1213
|
-
} | undefined;
|
|
1212
|
+
credentials?: string | null | undefined;
|
|
1213
|
+
} | null | undefined;
|
|
1214
1214
|
};
|
|
1215
1215
|
}[];
|
|
1216
|
-
error?: undefined;
|
|
1217
|
-
id?: string | number | undefined;
|
|
1216
|
+
error?: null | undefined;
|
|
1217
|
+
id?: string | number | null | undefined;
|
|
1218
1218
|
}, {
|
|
1219
1219
|
jsonrpc: "2.0";
|
|
1220
1220
|
result: {
|
|
1221
1221
|
taskId: string;
|
|
1222
1222
|
pushNotificationConfig: {
|
|
1223
1223
|
url: string;
|
|
1224
|
-
id?: string | undefined;
|
|
1225
|
-
token?: string | undefined;
|
|
1224
|
+
id?: string | null | undefined;
|
|
1225
|
+
token?: string | null | undefined;
|
|
1226
1226
|
authentication?: {
|
|
1227
1227
|
schemes: string[];
|
|
1228
|
-
credentials?: string | undefined;
|
|
1229
|
-
} | undefined;
|
|
1228
|
+
credentials?: string | null | undefined;
|
|
1229
|
+
} | null | undefined;
|
|
1230
1230
|
};
|
|
1231
1231
|
}[];
|
|
1232
|
-
error?: undefined;
|
|
1233
|
-
id?: string | number | undefined;
|
|
1232
|
+
error?: null | undefined;
|
|
1233
|
+
id?: string | number | null | undefined;
|
|
1234
1234
|
}>;
|
|
1235
1235
|
export type ListTaskPushNotificationConfigSuccessResponse = z.infer<typeof ListTaskPushNotificationConfigSuccessResponseSchema>;
|
|
1236
1236
|
/**
|
|
@@ -1238,8 +1238,8 @@ export type ListTaskPushNotificationConfigSuccessResponse = z.infer<typeof ListT
|
|
|
1238
1238
|
*/
|
|
1239
1239
|
export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
1240
1240
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1241
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1242
|
-
error: z.ZodOptional<z.ZodNever
|
|
1241
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1242
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
1243
1243
|
} & {
|
|
1244
1244
|
result: z.ZodArray<z.ZodObject<{
|
|
1245
1245
|
/**
|
|
@@ -1254,7 +1254,7 @@ export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z
|
|
|
1254
1254
|
* @optional A unique ID for the push notification configuration, created by the server
|
|
1255
1255
|
* to support multiple notification callbacks.
|
|
1256
1256
|
*/
|
|
1257
|
-
id: z.ZodOptional<z.ZodString
|
|
1257
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1258
1258
|
/**
|
|
1259
1259
|
* @required The callback URL where the agent should send push notifications.
|
|
1260
1260
|
*/
|
|
@@ -1262,11 +1262,11 @@ export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z
|
|
|
1262
1262
|
/**
|
|
1263
1263
|
* @optional A unique token for this task or session to validate incoming push notifications.
|
|
1264
1264
|
*/
|
|
1265
|
-
token: z.ZodOptional<z.ZodString
|
|
1265
|
+
token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1266
1266
|
/**
|
|
1267
1267
|
* @optional Authentication details for the agent to use when calling the notification URL.
|
|
1268
1268
|
*/
|
|
1269
|
-
authentication: z.ZodOptional<z.ZodObject<{
|
|
1269
|
+
authentication: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1270
1270
|
/**
|
|
1271
1271
|
* @required A list of supported authentication schemes (e.g., 'Basic', 'Bearer').
|
|
1272
1272
|
*/
|
|
@@ -1274,52 +1274,52 @@ export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z
|
|
|
1274
1274
|
/**
|
|
1275
1275
|
* @optional Optional credentials required by the push notification endpoint.
|
|
1276
1276
|
*/
|
|
1277
|
-
credentials: z.ZodOptional<z.ZodString
|
|
1277
|
+
credentials: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1278
1278
|
}, "strip", z.ZodTypeAny, {
|
|
1279
1279
|
schemes: string[];
|
|
1280
|
-
credentials?: string | undefined;
|
|
1280
|
+
credentials?: string | null | undefined;
|
|
1281
1281
|
}, {
|
|
1282
1282
|
schemes: string[];
|
|
1283
|
-
credentials?: string | undefined;
|
|
1284
|
-
}
|
|
1283
|
+
credentials?: string | null | undefined;
|
|
1284
|
+
}>>>;
|
|
1285
1285
|
}, "strip", z.ZodTypeAny, {
|
|
1286
1286
|
url: string;
|
|
1287
|
-
id?: string | undefined;
|
|
1288
|
-
token?: string | undefined;
|
|
1287
|
+
id?: string | null | undefined;
|
|
1288
|
+
token?: string | null | undefined;
|
|
1289
1289
|
authentication?: {
|
|
1290
1290
|
schemes: string[];
|
|
1291
|
-
credentials?: string | undefined;
|
|
1292
|
-
} | undefined;
|
|
1291
|
+
credentials?: string | null | undefined;
|
|
1292
|
+
} | null | undefined;
|
|
1293
1293
|
}, {
|
|
1294
1294
|
url: string;
|
|
1295
|
-
id?: string | undefined;
|
|
1296
|
-
token?: string | undefined;
|
|
1295
|
+
id?: string | null | undefined;
|
|
1296
|
+
token?: string | null | undefined;
|
|
1297
1297
|
authentication?: {
|
|
1298
1298
|
schemes: string[];
|
|
1299
|
-
credentials?: string | undefined;
|
|
1300
|
-
} | undefined;
|
|
1299
|
+
credentials?: string | null | undefined;
|
|
1300
|
+
} | null | undefined;
|
|
1301
1301
|
}>;
|
|
1302
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1303
1303
|
taskId: string;
|
|
1304
1304
|
pushNotificationConfig: {
|
|
1305
1305
|
url: string;
|
|
1306
|
-
id?: string | undefined;
|
|
1307
|
-
token?: string | undefined;
|
|
1306
|
+
id?: string | null | undefined;
|
|
1307
|
+
token?: string | null | undefined;
|
|
1308
1308
|
authentication?: {
|
|
1309
1309
|
schemes: string[];
|
|
1310
|
-
credentials?: string | undefined;
|
|
1311
|
-
} | undefined;
|
|
1310
|
+
credentials?: string | null | undefined;
|
|
1311
|
+
} | null | undefined;
|
|
1312
1312
|
};
|
|
1313
1313
|
}, {
|
|
1314
1314
|
taskId: string;
|
|
1315
1315
|
pushNotificationConfig: {
|
|
1316
1316
|
url: string;
|
|
1317
|
-
id?: string | undefined;
|
|
1318
|
-
token?: string | undefined;
|
|
1317
|
+
id?: string | null | undefined;
|
|
1318
|
+
token?: string | null | undefined;
|
|
1319
1319
|
authentication?: {
|
|
1320
1320
|
schemes: string[];
|
|
1321
|
-
credentials?: string | undefined;
|
|
1322
|
-
} | undefined;
|
|
1321
|
+
credentials?: string | null | undefined;
|
|
1322
|
+
} | null | undefined;
|
|
1323
1323
|
};
|
|
1324
1324
|
}>, "many">;
|
|
1325
1325
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1328,41 +1328,41 @@ export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z
|
|
|
1328
1328
|
taskId: string;
|
|
1329
1329
|
pushNotificationConfig: {
|
|
1330
1330
|
url: string;
|
|
1331
|
-
id?: string | undefined;
|
|
1332
|
-
token?: string | undefined;
|
|
1331
|
+
id?: string | null | undefined;
|
|
1332
|
+
token?: string | null | undefined;
|
|
1333
1333
|
authentication?: {
|
|
1334
1334
|
schemes: string[];
|
|
1335
|
-
credentials?: string | undefined;
|
|
1336
|
-
} | undefined;
|
|
1335
|
+
credentials?: string | null | undefined;
|
|
1336
|
+
} | null | undefined;
|
|
1337
1337
|
};
|
|
1338
1338
|
}[];
|
|
1339
|
-
error?: undefined;
|
|
1340
|
-
id?: string | number | undefined;
|
|
1339
|
+
error?: null | undefined;
|
|
1340
|
+
id?: string | number | null | undefined;
|
|
1341
1341
|
}, {
|
|
1342
1342
|
jsonrpc: "2.0";
|
|
1343
1343
|
result: {
|
|
1344
1344
|
taskId: string;
|
|
1345
1345
|
pushNotificationConfig: {
|
|
1346
1346
|
url: string;
|
|
1347
|
-
id?: string | undefined;
|
|
1348
|
-
token?: string | undefined;
|
|
1347
|
+
id?: string | null | undefined;
|
|
1348
|
+
token?: string | null | undefined;
|
|
1349
1349
|
authentication?: {
|
|
1350
1350
|
schemes: string[];
|
|
1351
|
-
credentials?: string | undefined;
|
|
1352
|
-
} | undefined;
|
|
1351
|
+
credentials?: string | null | undefined;
|
|
1352
|
+
} | null | undefined;
|
|
1353
1353
|
};
|
|
1354
1354
|
}[];
|
|
1355
|
-
error?: undefined;
|
|
1356
|
-
id?: string | number | undefined;
|
|
1355
|
+
error?: null | undefined;
|
|
1356
|
+
id?: string | number | null | undefined;
|
|
1357
1357
|
}>, z.ZodObject<{
|
|
1358
1358
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1359
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1359
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1360
1360
|
} & {
|
|
1361
|
-
result: z.ZodOptional<z.ZodNever
|
|
1361
|
+
result: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
1362
1362
|
error: z.ZodObject<{
|
|
1363
1363
|
code: z.ZodNumber;
|
|
1364
1364
|
message: z.ZodString;
|
|
1365
|
-
data: z.ZodOptional<z.ZodUnknown
|
|
1365
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
1366
1366
|
}, "strip", z.ZodTypeAny, {
|
|
1367
1367
|
code: number;
|
|
1368
1368
|
message: string;
|
|
@@ -1379,8 +1379,8 @@ export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z
|
|
|
1379
1379
|
data?: unknown;
|
|
1380
1380
|
};
|
|
1381
1381
|
jsonrpc: "2.0";
|
|
1382
|
-
id?: string | number | undefined;
|
|
1383
|
-
result?: undefined;
|
|
1382
|
+
id?: string | number | null | undefined;
|
|
1383
|
+
result?: null | undefined;
|
|
1384
1384
|
}, {
|
|
1385
1385
|
error: {
|
|
1386
1386
|
code: number;
|
|
@@ -1388,8 +1388,8 @@ export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z
|
|
|
1388
1388
|
data?: unknown;
|
|
1389
1389
|
};
|
|
1390
1390
|
jsonrpc: "2.0";
|
|
1391
|
-
id?: string | number | undefined;
|
|
1392
|
-
result?: undefined;
|
|
1391
|
+
id?: string | number | null | undefined;
|
|
1392
|
+
result?: null | undefined;
|
|
1393
1393
|
}>]>;
|
|
1394
1394
|
export type ListTaskPushNotificationConfigResponse = z.infer<typeof ListTaskPushNotificationConfigResponseSchema>;
|
|
1395
1395
|
/**
|
|
@@ -1402,7 +1402,7 @@ export declare const DeleteTaskPushNotificationConfigRequestSchema: z.ZodObject<
|
|
|
1402
1402
|
method: z.ZodLiteral<"tasks/pushNotificationConfig/delete">;
|
|
1403
1403
|
params: z.ZodObject<{
|
|
1404
1404
|
id: z.ZodString;
|
|
1405
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
1405
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1406
1406
|
} & {
|
|
1407
1407
|
/**
|
|
1408
1408
|
* @required The ID of the push notification configuration to delete.
|
|
@@ -1411,11 +1411,11 @@ export declare const DeleteTaskPushNotificationConfigRequestSchema: z.ZodObject<
|
|
|
1411
1411
|
}, "strip", z.ZodTypeAny, {
|
|
1412
1412
|
id: string;
|
|
1413
1413
|
pushNotificationConfigId: string;
|
|
1414
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1414
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1415
1415
|
}, {
|
|
1416
1416
|
id: string;
|
|
1417
1417
|
pushNotificationConfigId: string;
|
|
1418
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1418
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1419
1419
|
}>;
|
|
1420
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1421
1421
|
id: string | number;
|
|
@@ -1423,7 +1423,7 @@ export declare const DeleteTaskPushNotificationConfigRequestSchema: z.ZodObject<
|
|
|
1423
1423
|
params: {
|
|
1424
1424
|
id: string;
|
|
1425
1425
|
pushNotificationConfigId: string;
|
|
1426
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1426
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1427
1427
|
};
|
|
1428
1428
|
jsonrpc: "2.0";
|
|
1429
1429
|
}, {
|
|
@@ -1432,7 +1432,7 @@ export declare const DeleteTaskPushNotificationConfigRequestSchema: z.ZodObject<
|
|
|
1432
1432
|
params: {
|
|
1433
1433
|
id: string;
|
|
1434
1434
|
pushNotificationConfigId: string;
|
|
1435
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1435
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
1436
1436
|
};
|
|
1437
1437
|
jsonrpc: "2.0";
|
|
1438
1438
|
}>;
|
|
@@ -1442,20 +1442,20 @@ export type DeleteTaskPushNotificationConfigRequest = z.infer<typeof DeleteTaskP
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
export declare const DeleteTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{
|
|
1444
1444
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1445
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1446
|
-
error: z.ZodOptional<z.ZodNever
|
|
1445
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1446
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
1447
1447
|
} & {
|
|
1448
1448
|
result: z.ZodNull;
|
|
1449
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1450
1450
|
jsonrpc: "2.0";
|
|
1451
1451
|
result: null;
|
|
1452
|
-
error?: undefined;
|
|
1453
|
-
id?: string | number | undefined;
|
|
1452
|
+
error?: null | undefined;
|
|
1453
|
+
id?: string | number | null | undefined;
|
|
1454
1454
|
}, {
|
|
1455
1455
|
jsonrpc: "2.0";
|
|
1456
1456
|
result: null;
|
|
1457
|
-
error?: undefined;
|
|
1458
|
-
id?: string | number | undefined;
|
|
1457
|
+
error?: null | undefined;
|
|
1458
|
+
id?: string | number | null | undefined;
|
|
1459
1459
|
}>;
|
|
1460
1460
|
export type DeleteTaskPushNotificationConfigSuccessResponse = z.infer<typeof DeleteTaskPushNotificationConfigSuccessResponseSchema>;
|
|
1461
1461
|
/**
|
|
@@ -1463,29 +1463,29 @@ export type DeleteTaskPushNotificationConfigSuccessResponse = z.infer<typeof Del
|
|
|
1463
1463
|
*/
|
|
1464
1464
|
export declare const DeleteTaskPushNotificationConfigResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
1465
1465
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1466
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1467
|
-
error: z.ZodOptional<z.ZodNever
|
|
1466
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1467
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
1468
1468
|
} & {
|
|
1469
1469
|
result: z.ZodNull;
|
|
1470
1470
|
}, "strip", z.ZodTypeAny, {
|
|
1471
1471
|
jsonrpc: "2.0";
|
|
1472
1472
|
result: null;
|
|
1473
|
-
error?: undefined;
|
|
1474
|
-
id?: string | number | undefined;
|
|
1473
|
+
error?: null | undefined;
|
|
1474
|
+
id?: string | number | null | undefined;
|
|
1475
1475
|
}, {
|
|
1476
1476
|
jsonrpc: "2.0";
|
|
1477
1477
|
result: null;
|
|
1478
|
-
error?: undefined;
|
|
1479
|
-
id?: string | number | undefined;
|
|
1478
|
+
error?: null | undefined;
|
|
1479
|
+
id?: string | number | null | undefined;
|
|
1480
1480
|
}>, z.ZodObject<{
|
|
1481
1481
|
jsonrpc: z.ZodLiteral<"2.0">;
|
|
1482
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]
|
|
1482
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1483
1483
|
} & {
|
|
1484
|
-
result: z.ZodOptional<z.ZodNever
|
|
1484
|
+
result: z.ZodNullable<z.ZodOptional<z.ZodNever>>;
|
|
1485
1485
|
error: z.ZodObject<{
|
|
1486
1486
|
code: z.ZodNumber;
|
|
1487
1487
|
message: z.ZodString;
|
|
1488
|
-
data: z.ZodOptional<z.ZodUnknown
|
|
1488
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
1489
1489
|
}, "strip", z.ZodTypeAny, {
|
|
1490
1490
|
code: number;
|
|
1491
1491
|
message: string;
|
|
@@ -1502,8 +1502,8 @@ export declare const DeleteTaskPushNotificationConfigResponseSchema: z.ZodUnion<
|
|
|
1502
1502
|
data?: unknown;
|
|
1503
1503
|
};
|
|
1504
1504
|
jsonrpc: "2.0";
|
|
1505
|
-
id?: string | number | undefined;
|
|
1506
|
-
result?: undefined;
|
|
1505
|
+
id?: string | number | null | undefined;
|
|
1506
|
+
result?: null | undefined;
|
|
1507
1507
|
}, {
|
|
1508
1508
|
error: {
|
|
1509
1509
|
code: number;
|
|
@@ -1511,7 +1511,7 @@ export declare const DeleteTaskPushNotificationConfigResponseSchema: z.ZodUnion<
|
|
|
1511
1511
|
data?: unknown;
|
|
1512
1512
|
};
|
|
1513
1513
|
jsonrpc: "2.0";
|
|
1514
|
-
id?: string | number | undefined;
|
|
1515
|
-
result?: undefined;
|
|
1514
|
+
id?: string | number | null | undefined;
|
|
1515
|
+
result?: null | undefined;
|
|
1516
1516
|
}>]>;
|
|
1517
1517
|
export type DeleteTaskPushNotificationConfigResponse = z.infer<typeof DeleteTaskPushNotificationConfigResponseSchema>;
|