/** * Copyright 2025 The Artinet Project * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod/v4'; /** * Defines parameters for fetching a specific push notification configuration for a task. */ export declare const GetTaskPushNotificationConfigParamSchema: z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional>; pushNotificationConfigId: z.ZodOptional; }, z.core.$strip>; export type GetTaskPushNotificationConfigParam = z.output; export declare const GetTaskPushNotificationConfigParamsSchema: z.ZodUnion>; pushNotificationConfigId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>]>; export type GetTaskPushNotificationConfigParams = z.output; /** * Defines parameters for listing all push notification configurations for a task. */ export declare const ListTaskPushNotificationConfigParamsSchema: z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; export type ListTaskPushNotificationConfigParams = z.output; /** * Defines parameters for deleting a specific push notification configuration for a task. */ export declare const DeleteTaskPushNotificationConfigParamsSchema: z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional>; pushNotificationConfigId: z.ZodString; }, z.core.$strip>; export type DeleteTaskPushNotificationConfigParams = z.output; /** * @description Defines authentication details for a push notification endpoint. */ export declare const PushNotificationAuthenticationInfoSchema: z.ZodObject<{ schemes: z.ZodArray; credentials: z.ZodOptional; }, z.core.$strip>; export type PushNotificationAuthenticationInfo = z.output; /** * @description Defines the configuration for setting up push notifications for task updates. */ export declare const PushNotificationConfigSchema: z.ZodObject<{ id: z.ZodOptional; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type PushNotificationConfig = z.output; /** * @description A container associating a push notification configuration with a specific task. */ export declare const TaskPushNotificationConfigSchema: z.ZodObject<{ taskId: z.ZodString; pushNotificationConfig: z.ZodObject<{ id: z.ZodOptional; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export type TaskPushNotificationConfig = z.output; /** * @description Request to set or update the push notification config for a task. */ export declare const SetTaskPushNotificationConfigRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; method: z.ZodLiteral<"tasks/pushNotificationConfig/set">; params: z.ZodObject<{ taskId: z.ZodString; pushNotificationConfig: z.ZodObject<{ id: z.ZodOptional; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strict>; export type SetTaskPushNotificationConfigRequest = z.output; /** * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/set' method. */ export declare const SetTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; result: z.ZodObject<{ taskId: z.ZodString; pushNotificationConfig: z.ZodObject<{ id: z.ZodOptional; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strict>; export type SetTaskPushNotificationConfigSuccessResponse = z.output; /** * @description Response to a `tasks/pushNotificationConfig/set` request. */ export declare const SetTaskPushNotificationConfigResponseSchema: z.ZodUnion; id: z.ZodUnion; result: z.ZodObject<{ taskId: z.ZodString; pushNotificationConfig: z.ZodObject<{ id: z.ZodOptional; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strict>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodOptional>; error: z.ZodObject<{ code: z.ZodNumber; message: z.ZodString; data: z.ZodOptional; }, z.core.$strip>; }, z.core.$strict>]>; export type SetTaskPushNotificationConfigResponse = z.output; /** * @description Request to retrieve the currently configured push notification configuration for a task. */ export declare const GetTaskPushNotificationConfigRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; method: z.ZodLiteral<"tasks/pushNotificationConfig/get">; params: z.ZodUnion>; pushNotificationConfigId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>]>; }, z.core.$strict>; export type GetTaskPushNotificationConfigRequest = z.output; /** * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/get' method. */ export declare const GetTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; result: z.ZodObject<{ taskId: z.ZodString; pushNotificationConfig: z.ZodObject<{ id: z.ZodOptional; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strict>; export type GetTaskPushNotificationConfigSuccessResponse = z.output; /** * @description Response to a `tasks/pushNotificationConfig/get` request. */ export declare const GetTaskPushNotificationConfigResponseSchema: z.ZodUnion; id: z.ZodUnion; result: z.ZodObject<{ taskId: z.ZodString; pushNotificationConfig: z.ZodObject<{ id: z.ZodOptional; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strict>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodOptional>; error: z.ZodObject<{ code: z.ZodNumber; message: z.ZodString; data: z.ZodOptional; }, z.core.$strip>; }, z.core.$strict>]>; export type GetTaskPushNotificationConfigResponse = z.output; /** * @description Request to list all push notification configurations for a task. */ export declare const ListTaskPushNotificationConfigRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; method: z.ZodLiteral<"tasks/pushNotificationConfig/list">; params: z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strict>; export type ListTaskPushNotificationConfigRequest = z.output; export declare const ListTaskPushNotificationConfigResultSchema: z.ZodArray; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; export type ListTaskPushNotificationConfigResult = z.output; /** * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/list' method. */ export declare const ListTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; result: z.ZodArray; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strict>; export type ListTaskPushNotificationConfigSuccessResponse = z.output; /** * @description Response to a `tasks/pushNotificationConfig/list` request. */ export declare const ListTaskPushNotificationConfigResponseSchema: z.ZodUnion; id: z.ZodUnion; result: z.ZodArray; url: z.ZodURL; token: z.ZodOptional; authentication: z.ZodOptional; credentials: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strict>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodOptional>; error: z.ZodObject<{ code: z.ZodNumber; message: z.ZodString; data: z.ZodOptional; }, z.core.$strip>; }, z.core.$strict>]>; export type ListTaskPushNotificationConfigResponse = z.output; /** * @description Request to delete a specific push notification configuration for a task. */ export declare const DeleteTaskPushNotificationConfigRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; method: z.ZodLiteral<"tasks/pushNotificationConfig/delete">; params: z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional>; pushNotificationConfigId: z.ZodString; }, z.core.$strip>; }, z.core.$strict>; export type DeleteTaskPushNotificationConfigRequest = z.output; /** * @description JSON-RPC success response model for the 'tasks/pushNotificationConfig/delete' method. */ export declare const DeleteTaskPushNotificationConfigSuccessResponseSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; result: z.ZodNull; }, z.core.$strict>; export type DeleteTaskPushNotificationConfigSuccessResponse = z.output; /** * @description Response to a `tasks/pushNotificationConfig/delete` request. */ export declare const DeleteTaskPushNotificationConfigResponseSchema: z.ZodUnion; id: z.ZodUnion; result: z.ZodNull; }, z.core.$strict>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodOptional>; error: z.ZodObject<{ code: z.ZodNumber; message: z.ZodString; data: z.ZodOptional; }, z.core.$strip>; }, z.core.$strict>]>; export type DeleteTaskPushNotificationConfigResponse = z.output; //# sourceMappingURL=notification.d.ts.map