import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type QueueAccessRequestGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type QueueAccessRequestRequest = { id: string; }; export declare const QueueAccessRequestRequesterKind: { readonly User: "user"; readonly ServiceAccount: "serviceAccount"; }; export type QueueAccessRequestRequesterKind = ClosedEnum; export type QueueAccessRequestDeployment = { id: string; name: string; deploymentGroup?: models.DeploymentGroupInfo | undefined; }; /** * How risky an operation is (declared by the plugin metadata). */ export declare const QueueAccessRequestTier: { readonly ReadOnly: "read-only"; readonly Mutating: "mutating"; readonly Destructive: "destructive"; }; /** * How risky an operation is (declared by the plugin metadata). */ export type QueueAccessRequestTier = ClosedEnum; export type QueueAccessRequestCommand = { command: string; summary: string; params?: any | null | undefined; /** * How risky an operation is (declared by the plugin metadata). */ tier?: QueueAccessRequestTier | undefined; }; /** * How risky an operation is (declared by the plugin metadata). */ export declare const QueueAccessRequestMaxRisk: { readonly ReadOnly: "read-only"; readonly Mutating: "mutating"; readonly Destructive: "destructive"; }; /** * How risky an operation is (declared by the plugin metadata). */ export type QueueAccessRequestMaxRisk = ClosedEnum; /** * The queued access request, with the customer approve command. */ export type QueueAccessRequestResponse = { id: string; requesterKind: QueueAccessRequestRequesterKind | null; requesterId: string | null; requestedExpiresAt: string | null; deploymentId: string; deployment?: QueueAccessRequestDeployment | undefined; remediationPlanId: string | null; title: string; reason: string | null; commands: Array; operationPattern: string | null; /** * How risky an operation is (declared by the plugin metadata). */ maxRisk: QueueAccessRequestMaxRisk | null; status: models.AccessRequestStatus; approvedUntil: string | null; kubectlApprove: string | null; }; /** @internal */ export type QueueAccessRequestRequest$Outbound = { id: string; }; /** @internal */ export declare const QueueAccessRequestRequest$outboundSchema: z.ZodType; export declare function queueAccessRequestRequestToJSON(queueAccessRequestRequest: QueueAccessRequestRequest): string; /** @internal */ export declare const QueueAccessRequestRequesterKind$inboundSchema: z.ZodEnum; /** @internal */ export declare const QueueAccessRequestDeployment$inboundSchema: z.ZodType; export declare function queueAccessRequestDeploymentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const QueueAccessRequestTier$inboundSchema: z.ZodEnum; /** @internal */ export declare const QueueAccessRequestCommand$inboundSchema: z.ZodType; export declare function queueAccessRequestCommandFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const QueueAccessRequestMaxRisk$inboundSchema: z.ZodEnum; /** @internal */ export declare const QueueAccessRequestResponse$inboundSchema: z.ZodType; export declare function queueAccessRequestResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=queueaccessrequest.d.ts.map