/** * 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'; /** * * @export * @interface AggregateAttributesSchema */ export interface AggregateAttributesSchema { /** * The resource being counted (e.g. `emails`, `candidates`). Matches the `resourceType` enum used by the state service. * @type {string} * @memberof AggregateAttributesSchema */ resourceType?: string; /** * The categorisation axis (e.g. `byFolder` for emails, `byStatus` for candidates). Each owning service publishes its own dimensions. * @type {string} * @memberof AggregateAttributesSchema */ dimension?: string; /** * A specific value within the dimension (e.g. `received`, `sent`, `draft` when dimension=byFolder). Lives in the composite id between dimension and kind. * @type {string} * @memberof AggregateAttributesSchema */ category?: string; /** * Which projection of the category this row holds. `total` counts every resource; `seen` counts states with isSeen=true; `unseen` is total minus seen. * @type {AggregateAttributesSchemaKindEnum} * @memberof AggregateAttributesSchema */ kind?: AggregateAttributesSchemaKindEnum; /** * Current counter value. Updated via atomic ADD on event consumption; admin PATCH allows manual correction for drift recovery. * @type {number} * @memberof AggregateAttributesSchema */ value?: number; /** * * @type {ResourceTimestampsSchema} * @memberof AggregateAttributesSchema */ timestamps?: ResourceTimestampsSchema; } /** * @export */ export declare const AggregateAttributesSchemaKindEnum: { readonly Total: "total"; readonly Unseen: "unseen"; readonly Seen: "seen"; }; export type AggregateAttributesSchemaKindEnum = typeof AggregateAttributesSchemaKindEnum[keyof typeof AggregateAttributesSchemaKindEnum]; /** * Check if a given object implements the AggregateAttributesSchema interface. */ export declare function instanceOfAggregateAttributesSchema(value: object): value is AggregateAttributesSchema; export declare function AggregateAttributesSchemaFromJSON(json: any): AggregateAttributesSchema; export declare function AggregateAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AggregateAttributesSchema; export declare function AggregateAttributesSchemaToJSON(json: any): AggregateAttributesSchema; export declare function AggregateAttributesSchemaToJSONTyped(value?: AggregateAttributesSchema | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=AggregateAttributesSchema.d.ts.map