import * as z from "zod/v4"; import { OpenEnum } from "../../types/enums.js"; export type DeleteScimGroupMappingGlobals = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; }; export declare const KeepMembersEnum: { readonly True: "true"; readonly False: "false"; }; export type KeepMembersEnum = OpenEnum; /** * Required. Whether to keep workspace members after deleting the mapping. `false` **removes** the members this mapping granted access to; `true` deletes the mapping while leaving membership intact as manually-managed. Exception: for an `admin` mapping, `keep_members=true` returns `403` and leaves the mapping in place — management keys cannot preserve members as workspace admins, so do not plan an admin mapping rotation around preserving members through this endpoint (use the dashboard instead). There is deliberately no default — omitting it returns `400` so the destructive path cannot be reached by accident. Mirrors the dashboard, whose `DeleteMappingSchema.keepMembers` is likewise required. */ export type KeepMembers = KeepMembersEnum | boolean; export type DeleteScimGroupMappingRequest = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; id: string; /** * Required. Whether to keep workspace members after deleting the mapping. `false` **removes** the members this mapping granted access to; `true` deletes the mapping while leaving membership intact as manually-managed. Exception: for an `admin` mapping, `keep_members=true` returns `403` and leaves the mapping in place — management keys cannot preserve members as workspace admins, so do not plan an admin mapping rotation around preserving members through this endpoint (use the dashboard instead). There is deliberately no default — omitting it returns `400` so the destructive path cannot be reached by accident. Mirrors the dashboard, whose `DeleteMappingSchema.keepMembers` is likewise required. */ keepMembers: KeepMembersEnum | boolean; }; /** @internal */ export declare const KeepMembersEnum$outboundSchema: z.ZodType; /** @internal */ export type KeepMembers$Outbound = string | boolean; /** @internal */ export declare const KeepMembers$outboundSchema: z.ZodType; export declare function keepMembersToJSON(keepMembers: KeepMembers): string; /** @internal */ export type DeleteScimGroupMappingRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; id: string; keep_members: string | boolean; }; /** @internal */ export declare const DeleteScimGroupMappingRequest$outboundSchema: z.ZodType; export declare function deleteScimGroupMappingRequestToJSON(deleteScimGroupMappingRequest: DeleteScimGroupMappingRequest): string; //# sourceMappingURL=deletescimgroupmapping.d.ts.map