UNPKG

@mondaycom/apps-cli

Version:

A cli tool to manage apps (and monday-code projects) in monday.com

584 lines (583 loc) 18.5 kB
import { z } from 'zod'; export declare const signedUrlSchema: z.ZodObject<{ signed: z.ZodString; statusCode: z.ZodNumber; headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; }, "strip", z.ZodTypeAny, { statusCode: number; headers: Record<string, string | string[]>; signed: string; }, { statusCode: number; headers: Record<string, string | string[]>; signed: string; }>; export declare const uploadClientSchema: z.ZodObject<{ data: z.ZodObject<{ data: z.ZodObject<{ url: z.ZodString; sourceUrl: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; sourceUrl: string; }, { url: string; sourceUrl: string; }>; }, "strip", z.ZodTypeAny, { data: { url: string; sourceUrl: string; }; }, { data: { url: string; sourceUrl: string; }; }>; statusCode: z.ZodNumber; headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; }, "strip", z.ZodTypeAny, { statusCode: number; headers: Record<string, string | string[]>; data: { data: { url: string; sourceUrl: string; }; }; }, { statusCode: number; headers: Record<string, string | string[]>; data: { data: { url: string; sourceUrl: string; }; }; }>; export declare const tunnelAuthTokenSchema: z.ZodObject<{ token: z.ZodString; domain: z.ZodString; statusCode: z.ZodNumber; headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; }, "strip", z.ZodTypeAny, { statusCode: number; headers: Record<string, string | string[]>; token: string; domain: string; }, { statusCode: number; headers: Record<string, string | string[]>; token: string; domain: string; }>; export declare const tunnelDomainSchema: z.ZodObject<{ domain: z.ZodString; statusCode: z.ZodNumber; headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; }, "strip", z.ZodTypeAny, { statusCode: number; headers: Record<string, string | string[]>; domain: string; }, { statusCode: number; headers: Record<string, string | string[]>; domain: string; }>; export declare const deploymentStatusTypesArray: readonly ["started", "pending", "building", "successful", "failed", "building-infra", "building-app", "deploying-app", "security-scan"]; export declare const deploymentStatusTypesSchema: z.ZodEnum<["started", "pending", "building", "successful", "failed", "building-infra", "building-app", "deploying-app", "security-scan"]>; export declare const securityScanFindingSchema: z.ZodObject<{ tool: z.ZodNullable<z.ZodString>; ruleId: z.ZodNullable<z.ZodString>; severity: z.ZodNullable<z.ZodString>; file: z.ZodNullable<z.ZodString>; line: z.ZodNullable<z.ZodNumber>; message: z.ZodNullable<z.ZodString>; shortDescription: z.ZodNullable<z.ZodString>; fullDescription: z.ZodNullable<z.ZodString>; helpUri: z.ZodNullable<z.ZodString>; help: z.ZodNullable<z.ZodString>; precision: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }>; export declare const securityScanSchema: z.ZodObject<{ version: z.ZodString; timestamp: z.ZodString; summary: z.ZodObject<{ total: z.ZodNumber; error: z.ZodNumber; warning: z.ZodNumber; note: z.ZodNumber; }, "strip", z.ZodTypeAny, { error: number; total: number; warning: number; note: number; }, { error: number; total: number; warning: number; note: number; }>; findings: z.ZodArray<z.ZodObject<{ tool: z.ZodNullable<z.ZodString>; ruleId: z.ZodNullable<z.ZodString>; severity: z.ZodNullable<z.ZodString>; file: z.ZodNullable<z.ZodString>; line: z.ZodNullable<z.ZodNumber>; message: z.ZodNullable<z.ZodString>; shortDescription: z.ZodNullable<z.ZodString>; fullDescription: z.ZodNullable<z.ZodString>; helpUri: z.ZodNullable<z.ZodString>; help: z.ZodNullable<z.ZodString>; precision: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; }, { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; }>; export declare const appVersionDeploymentStatusSchema: z.ZodObject<{ error: z.ZodOptional<z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>>; status: z.ZodEnum<["started", "pending", "building", "successful", "failed", "building-infra", "building-app", "deploying-app", "security-scan"]>; tip: z.ZodOptional<z.ZodString>; deployment: z.ZodOptional<z.ZodObject<{ url: z.ZodString; latestUrl: z.ZodString; liveUrl: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { url: string; latestUrl: string; liveUrl?: string | undefined; }, { url: string; latestUrl: string; liveUrl?: string | undefined; }>>; securityScanResults: z.ZodOptional<z.ZodObject<{ version: z.ZodString; timestamp: z.ZodString; summary: z.ZodObject<{ total: z.ZodNumber; error: z.ZodNumber; warning: z.ZodNumber; note: z.ZodNumber; }, "strip", z.ZodTypeAny, { error: number; total: number; warning: number; note: number; }, { error: number; total: number; warning: number; note: number; }>; findings: z.ZodArray<z.ZodObject<{ tool: z.ZodNullable<z.ZodString>; ruleId: z.ZodNullable<z.ZodString>; severity: z.ZodNullable<z.ZodString>; file: z.ZodNullable<z.ZodString>; line: z.ZodNullable<z.ZodNumber>; message: z.ZodNullable<z.ZodString>; shortDescription: z.ZodNullable<z.ZodString>; fullDescription: z.ZodNullable<z.ZodString>; helpUri: z.ZodNullable<z.ZodString>; help: z.ZodNullable<z.ZodString>; precision: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; }, { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; }>>; statusCode: z.ZodNumber; headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; }, "strip", z.ZodTypeAny, { statusCode: number; headers: Record<string, string | string[]>; status: "started" | "pending" | "building" | "successful" | "failed" | "building-infra" | "building-app" | "deploying-app" | "security-scan"; error?: { message: string; } | undefined; tip?: string | undefined; deployment?: { url: string; latestUrl: string; liveUrl?: string | undefined; } | undefined; securityScanResults?: { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; } | undefined; }, { statusCode: number; headers: Record<string, string | string[]>; status: "started" | "pending" | "building" | "successful" | "failed" | "building-infra" | "building-app" | "deploying-app" | "security-scan"; error?: { message: string; } | undefined; tip?: string | undefined; deployment?: { url: string; latestUrl: string; liveUrl?: string | undefined; } | undefined; securityScanResults?: { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; } | undefined; }>; export declare const securityScanResponseSchema: z.ZodObject<{ securityScanResults: z.ZodNullable<z.ZodObject<{ version: z.ZodString; timestamp: z.ZodString; summary: z.ZodObject<{ total: z.ZodNumber; error: z.ZodNumber; warning: z.ZodNumber; note: z.ZodNumber; }, "strip", z.ZodTypeAny, { error: number; total: number; warning: number; note: number; }, { error: number; total: number; warning: number; note: number; }>; findings: z.ZodArray<z.ZodObject<{ tool: z.ZodNullable<z.ZodString>; ruleId: z.ZodNullable<z.ZodString>; severity: z.ZodNullable<z.ZodString>; file: z.ZodNullable<z.ZodString>; line: z.ZodNullable<z.ZodNumber>; message: z.ZodNullable<z.ZodString>; shortDescription: z.ZodNullable<z.ZodString>; fullDescription: z.ZodNullable<z.ZodString>; helpUri: z.ZodNullable<z.ZodString>; help: z.ZodNullable<z.ZodString>; precision: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }, { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; }, { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; }>>; statusCode: z.ZodNumber; headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>; }, "strip", z.ZodTypeAny, { statusCode: number; headers: Record<string, string | string[]>; securityScanResults: { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; } | null; }, { statusCode: number; headers: Record<string, string | string[]>; securityScanResults: { summary: { error: number; total: number; warning: number; note: number; }; version: string; timestamp: string; findings: { message: string | null; tool: string | null; ruleId: string | null; severity: string | null; file: string | null; line: number | null; shortDescription: string | null; fullDescription: string | null; helpUri: string | null; help: string | null; precision: string | null; }[]; } | null; }>;