execution/policy
@sarj-ai/workspace-sync/execution/policy ยท Source
import { z } from "zod";export declare const CanaryResolutionPinsSchema: z.ZodObject<{ tickId: z.ZodString; intentId: z.ZodString; workflowId: z.ZodString; paramsDigest: z.ZodString; planHash: z.ZodString; workerVersionId: z.ZodUUID; workerRevision: z.ZodString; workflowVersionId: z.ZodUUID; evidenceId: z.ZodString; scheduledAtMs: z.ZodNumber; attemptedAtMs: z.ZodNumber; expiresAtMs: z.ZodNumber; reservedAtMs: z.ZodNumber; revision: z.ZodNumber; googleUserId: z.ZodString; slackUserId: z.ZodString; slackUserGroupId: z.ZodString;}, z.core.$strict>;export type CanaryResolutionPins = z.output<typeof CanaryResolutionPinsSchema>;export declare const WorkspaceExecutionPolicySchema: z.ZodObject<{ notificationStatusUrl: z.ZodURL; posthog: z.ZodDefault<z.ZodNullable<z.ZodObject<{ origin: z.ZodEnum<{ "https://eu.posthog.com": "https://eu.posthog.com"; "https://us.posthog.com": "https://us.posthog.com"; }>; organizationId: z.ZodString; actorUuid: z.ZodString; authorityGroupEmail: z.ZodPipe<z.ZodEmail, z.ZodTransform<string, string>>; authorityGroupId: z.ZodString; minimumGoogleUsers: z.ZodNumber; adoptedGrants: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{ googleUserId: z.core.$ZodBranded<z.ZodString, "GoogleUserId", "out">; email: z.ZodEmail; evidence: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"invitation">; inviteId: z.core.$ZodBranded<z.ZodString, "PosthogInvitationId", "out">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"membership">; userUuid: z.core.$ZodBranded<z.ZodString, "PosthogUserUuid", "out">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"accepted-invitation">; inviteId: z.core.$ZodBranded<z.ZodString, "PosthogInvitationId", "out">; userUuid: z.core.$ZodBranded<z.ZodString, "PosthogUserUuid", "out">; }, z.core.$strict>], "kind">; state: z.ZodLiteral<"managed">; }, z.core.$strict>, z.ZodObject<{ googleUserId: z.core.$ZodBranded<z.ZodString, "GoogleUserId", "out">; email: z.ZodEmail; evidence: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"invitation">; inviteId: z.core.$ZodBranded<z.ZodString, "PosthogInvitationId", "out">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"membership">; userUuid: z.core.$ZodBranded<z.ZodString, "PosthogUserUuid", "out">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"accepted-invitation">; inviteId: z.core.$ZodBranded<z.ZodString, "PosthogInvitationId", "out">; userUuid: z.core.$ZodBranded<z.ZodString, "PosthogUserUuid", "out">; }, z.core.$strict>], "kind">; state: z.ZodLiteral<"retired">; }, z.core.$strict>], "state">>>; }, z.core.$strict>>>; sentry: z.ZodObject<{ organizationSlug: z.ZodString; authorityGroupEmail: z.ZodEmail; applyLeaseKey: z.ZodString; }, z.core.$strict>; expectedNoTeamAssignmentIdentities: z.ZodArray<z.ZodEmail>; accessGuard: z.ZodObject<{ allowedEmptyManagerGoogleUserIds: z.ZodArray<z.ZodString>; alertsChannelId: z.ZodString; alertsChannelName: z.ZodLiteral<"alerts-it-admin">; enabled: z.ZodBoolean; expectedAttioWorkspaceId: z.ZodNullable<z.ZodUUID>; expectedGitHubOrganization: z.ZodString; expectedLinearOrganizationId: z.ZodNullable<z.ZodUUID>; expectedLinearOrganizationUrlKey: z.ZodString; maxAutomaticLinearSuspensions: z.ZodLiteral<0>; maxReviewedLinearSuspensions: z.ZodNumber; minimumProviderAccounts: z.ZodObject<{ attio: z.ZodNumber; github: z.ZodNumber; linear: z.ZodNumber; pagerduty: z.ZodNumber; slack: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; ledger: z.ZodObject<{ channelId: z.ZodString; channelName: z.ZodString; }, z.core.$strict>; legacyCanaryResolution: z.ZodObject<{ tickId: z.ZodString; intentId: z.ZodString; workflowId: z.ZodString; paramsDigest: z.ZodString; planHash: z.ZodString; workerVersionId: z.ZodUUID; workerRevision: z.ZodString; workflowVersionId: z.ZodUUID; evidenceId: z.ZodString; scheduledAtMs: z.ZodNumber; attemptedAtMs: z.ZodNumber; expiresAtMs: z.ZodNumber; reservedAtMs: z.ZodNumber; revision: z.ZodNumber; googleUserId: z.ZodString; slackUserId: z.ZodString; slackUserGroupId: z.ZodString; }, z.core.$strict>;}, z.core.$strict>;