import * as z from "zod/v4"; import { OpenEnum } from "../../types/enums.js"; export type GetMemberPolicyAssignmentGlobals = { /** * 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; }; /** * Policy type the assignment is read or changed for */ export declare const GetMemberPolicyAssignmentPolicyType: { readonly Budget: "budget"; readonly ModelAvailability: "model_availability"; readonly Moderation: "moderation"; readonly RateLimit: "rate_limit"; }; /** * Policy type the assignment is read or changed for */ export type GetMemberPolicyAssignmentPolicyType = OpenEnum; export type GetMemberPolicyAssignmentRequest = { /** * 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; /** * Organization member user ID */ memberId: string; /** * Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other. */ workspaceId?: string | undefined; /** * Policy type the assignment is read or changed for */ policyType: GetMemberPolicyAssignmentPolicyType; }; /** @internal */ export declare const GetMemberPolicyAssignmentPolicyType$outboundSchema: z.ZodType; /** @internal */ export type GetMemberPolicyAssignmentRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; member_id: string; workspace_id?: string | undefined; policy_type: string; }; /** @internal */ export declare const GetMemberPolicyAssignmentRequest$outboundSchema: z.ZodType; export declare function getMemberPolicyAssignmentRequestToJSON(getMemberPolicyAssignmentRequest: GetMemberPolicyAssignmentRequest): string; //# sourceMappingURL=getmemberpolicyassignment.d.ts.map