Initial commit: Paperclip plugin for Legal AI integration
16 agent tools, event handler for auto-linking, sync job every 15m. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
56
node_modules/@paperclipai/shared/dist/validators/budget.d.ts
generated
vendored
Normal file
56
node_modules/@paperclipai/shared/dist/validators/budget.d.ts
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
import { z } from "zod";
|
||||
export declare const upsertBudgetPolicySchema: z.ZodObject<{
|
||||
scopeType: z.ZodEnum<["company", "agent", "project"]>;
|
||||
scopeId: z.ZodString;
|
||||
metric: z.ZodDefault<z.ZodOptional<z.ZodEnum<["billed_cents"]>>>;
|
||||
windowKind: z.ZodDefault<z.ZodOptional<z.ZodEnum<["calendar_month_utc", "lifetime"]>>>;
|
||||
amount: z.ZodNumber;
|
||||
warnPercent: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
||||
hardStopEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
||||
notifyEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
||||
isActive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
scopeType: "agent" | "company" | "project";
|
||||
scopeId: string;
|
||||
metric: "billed_cents";
|
||||
windowKind: "calendar_month_utc" | "lifetime";
|
||||
amount: number;
|
||||
warnPercent: number;
|
||||
hardStopEnabled: boolean;
|
||||
notifyEnabled: boolean;
|
||||
isActive: boolean;
|
||||
}, {
|
||||
scopeType: "agent" | "company" | "project";
|
||||
scopeId: string;
|
||||
amount: number;
|
||||
metric?: "billed_cents" | undefined;
|
||||
windowKind?: "calendar_month_utc" | "lifetime" | undefined;
|
||||
warnPercent?: number | undefined;
|
||||
hardStopEnabled?: boolean | undefined;
|
||||
notifyEnabled?: boolean | undefined;
|
||||
isActive?: boolean | undefined;
|
||||
}>;
|
||||
export type UpsertBudgetPolicy = z.infer<typeof upsertBudgetPolicySchema>;
|
||||
export declare const resolveBudgetIncidentSchema: z.ZodEffects<z.ZodObject<{
|
||||
action: z.ZodEnum<["keep_paused", "raise_budget_and_resume"]>;
|
||||
amount: z.ZodOptional<z.ZodNumber>;
|
||||
decisionNote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
action: "keep_paused" | "raise_budget_and_resume";
|
||||
amount?: number | undefined;
|
||||
decisionNote?: string | null | undefined;
|
||||
}, {
|
||||
action: "keep_paused" | "raise_budget_and_resume";
|
||||
amount?: number | undefined;
|
||||
decisionNote?: string | null | undefined;
|
||||
}>, {
|
||||
action: "keep_paused" | "raise_budget_and_resume";
|
||||
amount?: number | undefined;
|
||||
decisionNote?: string | null | undefined;
|
||||
}, {
|
||||
action: "keep_paused" | "raise_budget_and_resume";
|
||||
amount?: number | undefined;
|
||||
decisionNote?: string | null | undefined;
|
||||
}>;
|
||||
export type ResolveBudgetIncident = z.infer<typeof resolveBudgetIncidentSchema>;
|
||||
//# sourceMappingURL=budget.d.ts.map
|
||||
Reference in New Issue
Block a user