/** * SmartyMeet Dev03 API REST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.1 * Contact: developer@smartymeet.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { CreateNotificationRequestBody, NotificationSchema, NotificationsSchema, UpdateNotificationRequestBody } from '../models/index'; export interface CreateNotificationRequest { createNotificationRequestBody: CreateNotificationRequestBody; } export interface DeleteNotificationRequest { notificationId: string; } export interface GetNotificationRequest { notificationId: string; } export interface ListNotificationsRequest { filterStatus?: ListNotificationsFilterStatusEnum; filterCreatedFrom?: Date; filterCreatedTo?: Date; filterModifiedFrom?: Date; filterModifiedTo?: Date; pageSize?: number; pageNumber?: number; pageAfter?: string; pageBefore?: string; } export interface NotificationOptionsRequest { notificationId: string; } export interface UpdateNotificationRequest { notificationId: string; updateNotificationRequestBody: UpdateNotificationRequestBody; } /** * */ export declare class NotificationsApi extends runtime.BaseAPI { /** * Creates request options for createNotification without sending the request */ createNotificationRequestOpts(requestParameters: CreateNotificationRequest): Promise; /** * Creates a new notification. * Create Notification */ createNotificationRaw(requestParameters: CreateNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates a new notification. * Create Notification */ createNotification(requestParameters: CreateNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for deleteNotification without sending the request */ deleteNotificationRequestOpts(requestParameters: DeleteNotificationRequest): Promise; /** * Deletes a notification. * Delete Notification */ deleteNotificationRaw(requestParameters: DeleteNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Deletes a notification. * Delete Notification */ deleteNotification(requestParameters: DeleteNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for getNotification without sending the request */ getNotificationRequestOpts(requestParameters: GetNotificationRequest): Promise; /** * Returns a single notification by ID. * Get Notification */ getNotificationRaw(requestParameters: GetNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a single notification by ID. * Get Notification */ getNotification(requestParameters: GetNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for listNotifications without sending the request */ listNotificationsRequestOpts(requestParameters: ListNotificationsRequest): Promise; /** * Returns a collection of notifications for the authenticated user, sorted by creation time descending. * List Notifications */ listNotificationsRaw(requestParameters: ListNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a collection of notifications for the authenticated user, sorted by creation time descending. * List Notifications */ listNotifications(requestParameters?: ListNotificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for notificationOptions without sending the request */ notificationOptionsRequestOpts(requestParameters: NotificationOptionsRequest): Promise; /** * Enable CORS by returning correct headers * Notification Options */ notificationOptionsRaw(requestParameters: NotificationOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * Notification Options */ notificationOptions(requestParameters: NotificationOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for notificationsOptions without sending the request */ notificationsOptionsRequestOpts(): Promise; /** * Enable CORS by returning correct headers * Notifications Options */ notificationsOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Enable CORS by returning correct headers * Notifications Options */ notificationsOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for updateNotification without sending the request */ updateNotificationRequestOpts(requestParameters: UpdateNotificationRequest): Promise; /** * Updates a notification (e.g., mark as read/unread). * Update Notification */ updateNotificationRaw(requestParameters: UpdateNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates a notification (e.g., mark as read/unread). * Update Notification */ updateNotification(requestParameters: UpdateNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const ListNotificationsFilterStatusEnum: { readonly Read: "read"; readonly Unread: "unread"; }; export type ListNotificationsFilterStatusEnum = typeof ListNotificationsFilterStatusEnum[keyof typeof ListNotificationsFilterStatusEnum]; //# sourceMappingURL=NotificationsApi.d.ts.map