import * as z from "zod/v3"; import { DatasourceGroupDefinition, DatasourceGroupDefinition$Outbound } from "./datasourcegroupdefinition.js"; /** * Describes the request body for the /bulkindexgroups API call */ export type BulkIndexGroupsRequest = { /** * Unique id that must be used for this instance of datasource groups upload */ uploadId: string; /** * true if this is the first page of the upload. Defaults to false */ isFirstPage?: boolean | undefined; /** * true if this is the last page of the upload. Defaults to false */ isLastPage?: boolean | undefined; /** * Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true */ forceRestartUpload?: boolean | undefined; /** * datasource of the groups */ datasource: string; /** * batch of groups for the datasource */ groups: Array; /** * True if older group data needs to be force deleted after the upload completes. Defaults to older data being deleted only if the percentage of data being deleted is less than a reasonable threshold. This must only be set when `isLastPage = true` */ disableStaleDataDeletionCheck?: boolean | undefined; }; /** @internal */ export type BulkIndexGroupsRequest$Outbound = { uploadId: string; isFirstPage?: boolean | undefined; isLastPage?: boolean | undefined; forceRestartUpload?: boolean | undefined; datasource: string; groups: Array; disableStaleDataDeletionCheck?: boolean | undefined; }; /** @internal */ export declare const BulkIndexGroupsRequest$outboundSchema: z.ZodType; export declare function bulkIndexGroupsRequestToJSON(bulkIndexGroupsRequest: BulkIndexGroupsRequest): string; //# sourceMappingURL=bulkindexgroupsrequest.d.ts.map