box-node-sdk
Version:
Official SDK for Box Platform APIs
26 lines • 1.48 kB
TypeScript
import { QueryInsightMetricResultV2026R0 } from './queryInsightMetricResultV2026R0.js';
import { SerializedData } from '../../serialization/json.js';
export type QueryInsightEntryV2026R0TypeField = 'group' | 'overall' | 'other';
export interface QueryInsightEntryV2026R0 {
/**
* The grouping key values associated with the entry. Contains one value per
* `group_by` field for `group` entries, and is empty for `overall` and
* `other` entries. */
readonly key: readonly string[];
/**
* The type of insight entry, indicating how the associated metrics are
* aggregated. */
readonly type: QueryInsightEntryV2026R0TypeField;
/**
* A map of metric aliases to their computed results. For `other` entries, the
* count is reported under the `totalCountBeyondTopGroups` key. */
readonly metrics: {
readonly [key: string]: QueryInsightMetricResultV2026R0;
};
readonly rawData?: SerializedData;
}
export declare function serializeQueryInsightEntryV2026R0TypeField(val: QueryInsightEntryV2026R0TypeField): SerializedData;
export declare function deserializeQueryInsightEntryV2026R0TypeField(val: SerializedData): QueryInsightEntryV2026R0TypeField;
export declare function serializeQueryInsightEntryV2026R0(val: QueryInsightEntryV2026R0): SerializedData;
export declare function deserializeQueryInsightEntryV2026R0(val: SerializedData): QueryInsightEntryV2026R0;
//# sourceMappingURL=queryInsightEntryV2026R0.d.ts.map