/** * 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 { AggregateCountsBucketSchema } from './AggregateCountsBucketSchema'; import type { ResourcesMetaPageSchema } from './ResourcesMetaPageSchema'; /** * Inherits `ResourcesMetaSchema` (page cursors, totalItems). When the * list request supplied `filterDimension`, an overlay is added whose * key is `by{Dimension}` (e.g. `byFolder`, `byStatus`). The overlay's * value is a map of category name to counts. * * Each `by{Dimension}` overlay must be declared explicitly here so the * OpenAPI generator emits it on the typed SDK surface - typescript-fetch * and other strict generators strip properties they do not know about, * which is why we cannot rely on `additionalProperties` alone. New * dimensions added in future phases (e.g. `byStatus` for candidates) * append a peer property below `byFolder`. * @export * @interface AggregatesMetaSchema */ export interface AggregatesMetaSchema { /** * * @type {ResourcesMetaPageSchema} * @memberof AggregatesMetaSchema */ page?: ResourcesMetaPageSchema; /** * * @type {object} * @memberof AggregatesMetaSchema */ count?: object; /** * Email folder counts. Present in the response only when * `filterDimension=byFolder` was supplied. Keys are folder * names: `received`, `sent`, `draft`, `scheduled`, `archived`, * `trashed`. Categories with zero rows may be absent rather * than present-with-zero - clients should treat missing keys * as 0. * @type {{ [key: string]: AggregateCountsBucketSchema; }} * @memberof AggregatesMetaSchema */ byFolder?: { [key: string]: AggregateCountsBucketSchema; }; } /** * Check if a given object implements the AggregatesMetaSchema interface. */ export declare function instanceOfAggregatesMetaSchema(value: object): value is AggregatesMetaSchema; export declare function AggregatesMetaSchemaFromJSON(json: any): AggregatesMetaSchema; export declare function AggregatesMetaSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AggregatesMetaSchema; export declare function AggregatesMetaSchemaToJSON(json: any): AggregatesMetaSchema; export declare function AggregatesMetaSchemaToJSONTyped(value?: AggregatesMetaSchema | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=AggregatesMetaSchema.d.ts.map