/** * ============================================================================ * ENDPOINT DEFINITIONS - Notification * ============================================================================ * * Location: @plyaz/api/src/api/endpoints/notification.ts * * ============================================================================ * TODO: INTEGRATION STEPS (REQUIRED) * ============================================================================ * * 1. UPDATE @plyaz/api/src/api/endpoints/index.ts: * * // Add import at top: * import { notificationEndpoints } from './notification'; * * // Add to endpoints object: * export const endpoints = { * ...notificationEndpoints, * // ... other endpoints * } as const; * * // Add export for selective imports: * export { notificationEndpoints } from './notification'; * * 2. UPDATE @plyaz/types/src/api/endpoints/types.ts: * * // Add import: * import type { NotificationEndpointTypes } from './notification'; * * // Extend EndpointTypes interface: * export interface EndpointTypes * extends CampaignEndpointTypes, * // ... other types * NotificationEndpointTypes { // <-- ADD THIS * } * * ============================================================================ */ /** * Notification API Endpoints * * Available endpoints: * - [x] GET /notifications - listNotifications * - [x] DELETE /notifications/:id - deleteNotification * * Note: Notifications are created via @plyaz/notifications package, * not directly via API. No POST/PUT/PATCH/GET-by-ID endpoints. */ export declare const notificationEndpoints: { /** * GET /notifications * List all notifications with optional filters */ readonly listNotifications: { readonly url: "/notifications"; readonly method: "GET"; }; /** * DELETE /notifications/:id * Delete a notification */ readonly deleteNotification: { readonly url: "/notifications/:id"; readonly method: "DELETE"; }; }; /** * Type for Notification endpoint keys */ export type NotificationEndpointKey = keyof typeof notificationEndpoints; //# sourceMappingURL=notification.d.ts.map