import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { CatalogTypeSchemaV2, CatalogTypeSchemaV2$Outbound } from "./catalogtypeschemav2.js"; export declare const Categories: { readonly Customer: "customer"; readonly IssueTracker: "issue-tracker"; readonly ProductFeature: "product-feature"; readonly Service: "service"; readonly OnCall: "on-call"; readonly Team: "team"; readonly User: "user"; }; export type Categories = ClosedEnum; /** * Sets the display color of this type in the dashboard */ export declare const Color: { readonly Yellow: "yellow"; readonly Green: "green"; readonly Blue: "blue"; readonly Violet: "violet"; readonly Pink: "pink"; readonly Cyan: "cyan"; readonly Orange: "orange"; }; /** * Sets the display color of this type in the dashboard */ export type Color = ClosedEnum; /** * Sets the display icon of this type in the dashboard */ export declare const Icon: { readonly Alert: "alert"; readonly Bolt: "bolt"; readonly Box: "box"; readonly Briefcase: "briefcase"; readonly Browser: "browser"; readonly Bulb: "bulb"; readonly Calendar: "calendar"; readonly Clock: "clock"; readonly Cog: "cog"; readonly Components: "components"; readonly Database: "database"; readonly Doc: "doc"; readonly Email: "email"; readonly EscalationPath: "escalation-path"; readonly Files: "files"; readonly Flag: "flag"; readonly Folder: "folder"; readonly Globe: "globe"; readonly Money: "money"; readonly Server: "server"; readonly Severity: "severity"; readonly StatusPage: "status-page"; readonly Store: "store"; readonly Star: "star"; readonly Tag: "tag"; readonly User: "user"; readonly Users: "users"; }; /** * Sets the display icon of this type in the dashboard */ export type Icon = ClosedEnum; export type CatalogTypeV2 = { /** * Annotations that can track metadata about this type */ annotations: { [k: string]: string; }; /** * What categories is this type considered part of */ categories: Array; /** * Sets the display color of this type in the dashboard */ color: Color; /** * When this type was created */ createdAt: Date; /** * Human readble description of this type */ description: string; /** * If this is a dynamic catalog type, this will be the unique parameter for identitfying this resource externally. */ dynamicResourceParameter?: string | undefined; /** * If populated, gives an estimated count of entries for this type */ estimatedCount?: number | undefined; /** * Sets the display icon of this type in the dashboard */ icon: Icon; /** * ID of this catalog type */ id: string; /** * Catalog types that are synced with external resources can't be edited */ isEditable: boolean; /** * When this type was last synced (if it's ever been sync'd) */ lastSyncedAt?: Date | undefined; /** * Name is the human readable name of this type */ name: string; /** * If this type should be ranked */ ranked: boolean; /** * The registry resource this type is synced from, if any */ registryType?: string | undefined; /** * If populated, the integrations required for this type */ requiredIntegrations?: Array | undefined; schema: CatalogTypeSchemaV2; /** * Semantic type of this resource (unused) */ semanticType: string; /** * The url of the external repository where this type is managed */ sourceRepoUrl?: string | undefined; /** * The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName "] */ typeName: string; /** * When this type was last updated */ updatedAt: Date; }; /** @internal */ export declare const Categories$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Categories$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Categories$ { /** @deprecated use `Categories$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Customer: "customer"; readonly IssueTracker: "issue-tracker"; readonly ProductFeature: "product-feature"; readonly Service: "service"; readonly OnCall: "on-call"; readonly Team: "team"; readonly User: "user"; }>; /** @deprecated use `Categories$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Customer: "customer"; readonly IssueTracker: "issue-tracker"; readonly ProductFeature: "product-feature"; readonly Service: "service"; readonly OnCall: "on-call"; readonly Team: "team"; readonly User: "user"; }>; } /** @internal */ export declare const Color$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Color$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Color$ { /** @deprecated use `Color$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Yellow: "yellow"; readonly Green: "green"; readonly Blue: "blue"; readonly Violet: "violet"; readonly Pink: "pink"; readonly Cyan: "cyan"; readonly Orange: "orange"; }>; /** @deprecated use `Color$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Yellow: "yellow"; readonly Green: "green"; readonly Blue: "blue"; readonly Violet: "violet"; readonly Pink: "pink"; readonly Cyan: "cyan"; readonly Orange: "orange"; }>; } /** @internal */ export declare const Icon$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Icon$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Icon$ { /** @deprecated use `Icon$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Alert: "alert"; readonly Bolt: "bolt"; readonly Box: "box"; readonly Briefcase: "briefcase"; readonly Browser: "browser"; readonly Bulb: "bulb"; readonly Calendar: "calendar"; readonly Clock: "clock"; readonly Cog: "cog"; readonly Components: "components"; readonly Database: "database"; readonly Doc: "doc"; readonly Email: "email"; readonly EscalationPath: "escalation-path"; readonly Files: "files"; readonly Flag: "flag"; readonly Folder: "folder"; readonly Globe: "globe"; readonly Money: "money"; readonly Server: "server"; readonly Severity: "severity"; readonly StatusPage: "status-page"; readonly Store: "store"; readonly Star: "star"; readonly Tag: "tag"; readonly User: "user"; readonly Users: "users"; }>; /** @deprecated use `Icon$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Alert: "alert"; readonly Bolt: "bolt"; readonly Box: "box"; readonly Briefcase: "briefcase"; readonly Browser: "browser"; readonly Bulb: "bulb"; readonly Calendar: "calendar"; readonly Clock: "clock"; readonly Cog: "cog"; readonly Components: "components"; readonly Database: "database"; readonly Doc: "doc"; readonly Email: "email"; readonly EscalationPath: "escalation-path"; readonly Files: "files"; readonly Flag: "flag"; readonly Folder: "folder"; readonly Globe: "globe"; readonly Money: "money"; readonly Server: "server"; readonly Severity: "severity"; readonly StatusPage: "status-page"; readonly Store: "store"; readonly Star: "star"; readonly Tag: "tag"; readonly User: "user"; readonly Users: "users"; }>; } /** @internal */ export declare const CatalogTypeV2$inboundSchema: z.ZodType; /** @internal */ export type CatalogTypeV2$Outbound = { annotations: { [k: string]: string; }; categories: Array; color: string; created_at: string; description: string; dynamic_resource_parameter?: string | undefined; estimated_count?: number | undefined; icon: string; id: string; is_editable: boolean; last_synced_at?: string | undefined; name: string; ranked: boolean; registry_type?: string | undefined; required_integrations?: Array | undefined; schema: CatalogTypeSchemaV2$Outbound; semantic_type: string; source_repo_url?: string | undefined; type_name: string; updated_at: string; }; /** @internal */ export declare const CatalogTypeV2$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CatalogTypeV2$ { /** @deprecated use `CatalogTypeV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CatalogTypeV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CatalogTypeV2$Outbound` instead. */ type Outbound = CatalogTypeV2$Outbound; } //# sourceMappingURL=catalogtypev2.d.ts.map