import * as z from "zod/v3"; import { FacetFilter, FacetFilter$Outbound } from "./facetfilter.js"; import { Thumbnail, Thumbnail$Outbound } from "./thumbnail.js"; import { UserRoleSpecification, UserRoleSpecification$Outbound } from "./userrolespecification.js"; export type CreateCollectionRequest = { /** * The unique name of the Collection. */ name: string; /** * A brief summary of the Collection's contents. */ description?: string | undefined; /** * A list of added user roles for the Collection. */ addedRoles?: Array | undefined; /** * A list of removed user roles for the Collection. */ removedRoles?: Array | undefined; /** * Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search. */ audienceFilters?: Array | undefined; /** * The emoji icon of this Collection. */ icon?: string | undefined; /** * Indicates whether edits are allowed for everyone or only admins. */ adminLocked?: boolean | undefined; /** * The parent of this Collection, or 0 if it's a top-level Collection. */ parentId?: number | undefined; thumbnail?: Thumbnail | undefined; /** * The datasource type this Collection can hold. */ allowedDatasource?: string | undefined; /** * The (optional) ItemId of the next CollectionItem in sequence. If omitted, will be added to the end of the Collection. Only used if parentId is specified. */ newNextItemId?: string | undefined; }; /** @internal */ export type CreateCollectionRequest$Outbound = { name: string; description?: string | undefined; addedRoles?: Array | undefined; removedRoles?: Array | undefined; audienceFilters?: Array | undefined; icon?: string | undefined; adminLocked?: boolean | undefined; parentId?: number | undefined; thumbnail?: Thumbnail$Outbound | undefined; allowedDatasource?: string | undefined; newNextItemId?: string | undefined; }; /** @internal */ export declare const CreateCollectionRequest$outboundSchema: z.ZodType; export declare function createCollectionRequestToJSON(createCollectionRequest: CreateCollectionRequest): string; //# sourceMappingURL=createcollectionrequest.d.ts.map