/** * 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 { TimelineAttributesSchemaChangesValue } from './TimelineAttributesSchemaChangesValue'; import type { TimelineAttributesSchemaSummaryValue } from './TimelineAttributesSchemaSummaryValue'; import type { TimelineAttributesSchemaTimestamps } from './TimelineAttributesSchemaTimestamps'; /** * * @export * @interface TimelineAttributesSchema */ export interface TimelineAttributesSchema { /** * The type of entity this timeline entry refers to (e.g., "jobs", "candidates") * @type {TimelineAttributesSchemaEntityTypeEnum} * @memberof TimelineAttributesSchema */ entityType?: TimelineAttributesSchemaEntityTypeEnum; /** * The ID of the entity this timeline entry refers to * @type {string} * @memberof TimelineAttributesSchema */ entityId?: string; /** * The type of change that was made. INSERT/MODIFY/REMOVE are row-diff * entries; EVENT marks a project-lifecycle domain event (kind=event). * @type {TimelineAttributesSchemaActionEnum} * @memberof TimelineAttributesSchema */ action?: TimelineAttributesSchemaActionEnum; /** * The entry kind. "change" = a row-diff entry from the entity's own * history (carries `changes`, summarized asynchronously by AI - the * summary can arrive seconds late and stays null on AI failure). * "event" = a project-lifecycle domain event (job activated, form * generated, ads created, assessment created, feedback created), * keyed under the job's entityKey, with a deterministic summary * written synchronously in all supported locales. Absent on rows * written before 2026-08; absent means "change". * @type {TimelineAttributesSchemaKindEnum} * @memberof TimelineAttributesSchema */ kind?: TimelineAttributesSchemaKindEnum; /** * For kind=event entries - what happened: "activated", "ready", * "accepted", "generated", "created". Null on change entries. New * verbs may appear; treat unknown values as a generic event. * @type {string} * @memberof TimelineAttributesSchema */ verb?: string; /** * Who made the change: a human user, the tenant's virtual recruiter * (boe), an automated workflow, or the system itself. Absent on rows * written before 2026-08. * @type {TimelineAttributesSchemaActorKindEnum} * @memberof TimelineAttributesSchema */ actorKind?: TimelineAttributesSchemaActorKindEnum; /** * The ID of the user who made the change * @type {string} * @memberof TimelineAttributesSchema */ userId?: string; /** * A map of changed fields with old and new values (empty object on kind=event entries) * @type {{ [key: string]: TimelineAttributesSchemaChangesValue; }} * @memberof TimelineAttributesSchema */ changes?: { [key: string]: TimelineAttributesSchemaChangesValue; }; /** * Summary of the entry, keyed by locale (e.g., "en-US"). For * kind=change entries it is AI-generated asynchronously (null until * the pipeline finishes; render a fallback from `action`+`changes`). * For kind=event entries it is deterministic and present from the * start in all supported locales. * @type {{ [key: string]: TimelineAttributesSchemaSummaryValue; }} * @memberof TimelineAttributesSchema */ summary?: { [key: string]: TimelineAttributesSchemaSummaryValue; }; /** * * @type {TimelineAttributesSchemaTimestamps} * @memberof TimelineAttributesSchema */ timestamps?: TimelineAttributesSchemaTimestamps; } /** * @export */ export declare const TimelineAttributesSchemaEntityTypeEnum: { readonly Jobs: "jobs"; readonly Candidates: "candidates"; }; export type TimelineAttributesSchemaEntityTypeEnum = typeof TimelineAttributesSchemaEntityTypeEnum[keyof typeof TimelineAttributesSchemaEntityTypeEnum]; /** * @export */ export declare const TimelineAttributesSchemaActionEnum: { readonly Insert: "INSERT"; readonly Modify: "MODIFY"; readonly Remove: "REMOVE"; readonly Event: "EVENT"; }; export type TimelineAttributesSchemaActionEnum = typeof TimelineAttributesSchemaActionEnum[keyof typeof TimelineAttributesSchemaActionEnum]; /** * @export */ export declare const TimelineAttributesSchemaKindEnum: { readonly Change: "change"; readonly Event: "event"; }; export type TimelineAttributesSchemaKindEnum = typeof TimelineAttributesSchemaKindEnum[keyof typeof TimelineAttributesSchemaKindEnum]; /** * @export */ export declare const TimelineAttributesSchemaActorKindEnum: { readonly Human: "human"; readonly Boe: "boe"; readonly Workflow: "workflow"; readonly System: "system"; }; export type TimelineAttributesSchemaActorKindEnum = typeof TimelineAttributesSchemaActorKindEnum[keyof typeof TimelineAttributesSchemaActorKindEnum]; /** * Check if a given object implements the TimelineAttributesSchema interface. */ export declare function instanceOfTimelineAttributesSchema(value: object): value is TimelineAttributesSchema; export declare function TimelineAttributesSchemaFromJSON(json: any): TimelineAttributesSchema; export declare function TimelineAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimelineAttributesSchema; export declare function TimelineAttributesSchemaToJSON(json: any): TimelineAttributesSchema; export declare function TimelineAttributesSchemaToJSONTyped(value?: TimelineAttributesSchema | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=TimelineAttributesSchema.d.ts.map