/** * 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 type { ResourceTimestampsSchema } from './ResourceTimestampsSchema'; /** * Generic threaded note attached to any entity (calls, chats, * candidates, jobs, ...). targetType + targetId form the polymorphic * foreign key. Mentions push live notifications via the notification * service. Per-target counts maintained in aggregate service via * EVENT_COUNT_DELTA on the `byTarget` dimension - FE renders * ` 5` badges with one aggregate query. * @export * @interface CommentAttributesSchema */ export interface CommentAttributesSchema { /** * Plain-text comment body. Max 5000 characters. No markdown rendering today. * @type {string} * @memberof CommentAttributesSchema */ body?: string; /** * Soft-delete via ARCHIVED. Hard-delete via `?permanentDelete=true`. * @type {CommentAttributesSchemaStatusEnum} * @memberof CommentAttributesSchema */ status?: CommentAttributesSchemaStatusEnum; /** * Resource type the comment is attached to. Polymorphic foreign key paired with targetId. * @type {CommentAttributesSchemaTargetTypeEnum} * @memberof CommentAttributesSchema */ targetType?: CommentAttributesSchemaTargetTypeEnum; /** * ID of the resource the comment is attached to (call/chat/candidate/etc.). * @type {string} * @memberof CommentAttributesSchema */ targetId?: string; /** * Reserved for threaded replies; null on top-level comments. Threading is not implemented today. * @type {string} * @memberof CommentAttributesSchema */ parentCommentId?: string; /** * FE-resolved user IDs that this comment @mentions. On create, each gets a NOTIFICATION_USER_PUSH (live WebSocket + notification row). Cap at 10 per comment. Self-mentions are silently dropped. * @type {Array} * @memberof CommentAttributesSchema */ mentionedUserIds?: Array; /** * Flips to true on first PATCH of `body`. FE shows an `edited` badge. * @type {boolean} * @memberof CommentAttributesSchema */ isEdited?: boolean; /** * Optional ` resolved` flag for issue-thread UX. Operator-toggled via PATCH. * @type {boolean} * @memberof CommentAttributesSchema */ isResolved?: boolean; /** * * @type {ResourceTimestampsSchema} * @memberof CommentAttributesSchema */ timestamps?: ResourceTimestampsSchema; } /** * @export */ export declare const CommentAttributesSchemaStatusEnum: { readonly Active: "active"; readonly Archived: "archived"; }; export type CommentAttributesSchemaStatusEnum = typeof CommentAttributesSchemaStatusEnum[keyof typeof CommentAttributesSchemaStatusEnum]; /** * @export */ export declare const CommentAttributesSchemaTargetTypeEnum: { readonly Calls: "calls"; readonly Chats: "chats"; readonly Emails: "emails"; readonly Candidates: "candidates"; readonly Jobs: "jobs"; readonly Talents: "talents"; readonly Briefs: "briefs"; readonly Tasks: "tasks"; }; export type CommentAttributesSchemaTargetTypeEnum = typeof CommentAttributesSchemaTargetTypeEnum[keyof typeof CommentAttributesSchemaTargetTypeEnum]; /** * Check if a given object implements the CommentAttributesSchema interface. */ export declare function instanceOfCommentAttributesSchema(value: object): value is CommentAttributesSchema; export declare function CommentAttributesSchemaFromJSON(json: any): CommentAttributesSchema; export declare function CommentAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommentAttributesSchema; export declare function CommentAttributesSchemaToJSON(json: any): CommentAttributesSchema; export declare function CommentAttributesSchemaToJSONTyped(value?: CommentAttributesSchema | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=CommentAttributesSchema.d.ts.map