/** * 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. */ /** * * @export * @interface NotificationAttributesSchema */ export interface NotificationAttributesSchema { /** * The notification title * @type {string} * @memberof NotificationAttributesSchema */ title: string; /** * The notification subtitle * @type {string} * @memberof NotificationAttributesSchema */ subtitle?: string; /** * The notification category * @type {NotificationAttributesSchemaCategoryEnum} * @memberof NotificationAttributesSchema */ category?: NotificationAttributesSchemaCategoryEnum; /** * Read/unread status * @type {NotificationAttributesSchemaStatusEnum} * @memberof NotificationAttributesSchema */ status?: NotificationAttributesSchemaStatusEnum; /** * Tabler icon name for the notification avatar * @type {string} * @memberof NotificationAttributesSchema */ avatarIcon?: string; /** * Text to display in the notification avatar * @type {string} * @memberof NotificationAttributesSchema */ avatarText?: string; /** * Image URL for the notification avatar * @type {string} * @memberof NotificationAttributesSchema */ avatarImage?: string; /** * Color theme for the notification avatar * @type {string} * @memberof NotificationAttributesSchema */ avatarColor?: string; /** * Identifier of the message to render, e.g. `user.pendingApproval`. The bell looks it up in the client's own dictionaries and substitutes messageParams, so the sentence is produced in whatever language the reader has set AT DISPLAY TIME - switching language re-renders the whole history, and adding a platform language needs no backend change and no migration of stored rows. Same shape the mobile platforms use natively (APNs loc-key/loc-args, FCM loc_key/loc_args). Absent on producers that have not migrated yet; `title`/`subtitle` remain the English fallback, so a client that does not recognise a key must fall back to them rather than render nothing. * @type {string} * @memberof NotificationAttributesSchema */ readonly messageKey?: string; /** * Variable parts of the message, substituted into the dictionary entry for messageKey - e.g. {name, email} for `user.pendingApproval`. Names must match what the client dictionary expects: a mismatch surfaces as an untranslated placeholder, so the agreed keys and parameter names belong in the FE task, not in tribal memory. * @type {{ [key: string]: any; }} * @memberof NotificationAttributesSchema */ readonly messageParams?: { [key: string]: any; }; /** * Creation timestamp * @type {Date} * @memberof NotificationAttributesSchema */ created?: Date; /** * Last modified timestamp * @type {Date} * @memberof NotificationAttributesSchema */ modified?: Date; } /** * @export */ export declare const NotificationAttributesSchemaCategoryEnum: { readonly General: "general"; readonly Task: "task"; readonly Finder: "finder"; readonly Candidate: "candidate"; readonly File: "file"; readonly Assessment: "assessment"; }; export type NotificationAttributesSchemaCategoryEnum = typeof NotificationAttributesSchemaCategoryEnum[keyof typeof NotificationAttributesSchemaCategoryEnum]; /** * @export */ export declare const NotificationAttributesSchemaStatusEnum: { readonly Read: "read"; readonly Unread: "unread"; }; export type NotificationAttributesSchemaStatusEnum = typeof NotificationAttributesSchemaStatusEnum[keyof typeof NotificationAttributesSchemaStatusEnum]; /** * Check if a given object implements the NotificationAttributesSchema interface. */ export declare function instanceOfNotificationAttributesSchema(value: object): value is NotificationAttributesSchema; export declare function NotificationAttributesSchemaFromJSON(json: any): NotificationAttributesSchema; export declare function NotificationAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationAttributesSchema; export declare function NotificationAttributesSchemaToJSON(json: any): NotificationAttributesSchema; export declare function NotificationAttributesSchemaToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=NotificationAttributesSchema.d.ts.map