execution/reviewed-pagerduty-team
@sarj-ai/workspace-sync/execution/reviewed-pagerduty-team ยท Source
import { z } from "zod";export declare const ReviewedPagerDutyTeamSchema: z.ZodObject<{ action: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{ email: z.ZodEmail; pagerDutyTeamId: z.ZodString; pagerDutyUserId: z.ZodString; googleGroupId: z.ZodString; googleUserId: z.ZodString; desiredPagerDutyRole: z.ZodEnum<{ manager: "manager"; observer: "observer"; responder: "responder"; }>; type: z.ZodLiteral<"add">; }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{ email: z.ZodEmail; pagerDutyTeamId: z.ZodString; pagerDutyUserId: z.ZodString; googleGroupId: z.ZodString; googleUserId: z.ZodString; currentPagerDutyRole: z.ZodEnum<{ manager: "manager"; observer: "observer"; responder: "responder"; }>; desiredPagerDutyRole: z.ZodEnum<{ manager: "manager"; observer: "observer"; responder: "responder"; }>; type: z.ZodLiteral<"set-role">; }, z.core.$strict>>], "type">; expectedPlanHash: z.ZodString; reviewId: z.ZodUUID;}, z.core.$strict>;export type ReviewedPagerDutyTeam = z.output<typeof ReviewedPagerDutyTeamSchema>;export declare function pagerDutyTeamManagedSlice(reviewed: ReviewedPagerDutyTeam, state: "converged" | "pending"): z.JSONType;export declare function pagerDutyTeamSourceIdentity(reviewed: ReviewedPagerDutyTeam): { kind: "identity"; systemId: "pagerduty"; googleUserId: string; providerAccountId: string;};export declare function pagerDutyTeamResourceId(reviewed: ReviewedPagerDutyTeam): string;