import { z } from 'zod'; /** * Schema for the API application configuration. * * This schema validates the structure of the configuration object used for the API application. * * Properties: * - `environment` (optional): A record of key-value pairs where the value can be of any type. Defaults to an empty object. * - `endpoints` (optional): A record where each key maps to an object containing: * - `url`: A string representing the endpoint URL. * - `scopes` (optional): An array of strings representing the scopes. Defaults to an empty array. */ export declare const ApiAppConfigSchema: z.ZodObject<{ environment: z.ZodDefault>>; endpoints: z.ZodOptional>>; }, z.core.$strip>>>; }, z.core.$strip>; export type ApiAppConfig = z.infer; /** * Schema for validating the structure of an API application build. * * Properties: * - `version`: The version of the application build. * - `entryPoint`: The entry point of the application. * - `tags`: An optional array of tags associated with the build. * - `tag`: An optional tag indicating the build type (can be any string, commonly 'latest' or 'preview'). * - `assetPath`: An optional path to the build assets. * - `configUrl`: An optional URL to the build configuration. * - `timestamp`: An optional timestamp of the build. * - `commitSha`: An optional commit SHA of the build. * - `githubRepo`: An optional GitHub repository associated with the build. * - `projectPage`: An optional project page URL. * - `allowedExtensions`: An optional array of allowed extensions for the build. * - `uploadedBy`: An optional schema for the person who uploaded the build. */ export declare const ApiApplicationBuildSchema: z.ZodObject<{ version: z.ZodString; entryPoint: z.ZodString; tags: z.ZodOptional>>; tag: z.ZodOptional>; assetPath: z.ZodOptional>; configUrl: z.ZodOptional>; timestamp: z.ZodOptional>; commitSha: z.ZodOptional>; githubRepo: z.ZodOptional>; projectPage: z.ZodOptional>; allowedExtensions: z.ZodOptional>>; uploadedBy: z.ZodOptional>; upn: z.ZodOptional>; accountType: z.ZodString; accountClassification: z.ZodOptional>; isExpired: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; /** * Schema for validating API application data. * * Properties: * - `appKey` (string): Unique key for the application. * - `displayName` (string): Display name of the application. * - `description` (string): Description of the application. * - `type` (string): Type of the application. * - `isPinned` (boolean | nullish): Indicates if the application is pinned. * - `templateSource` (string | nullish): Source template of the application. * - `category` (object | nullish): Category details of the application. * - `id` (string): Unique identifier for the category. * - `name` (string): Name of the category. * - `displayName` (string): Display name of the category. * - `color` (string): Color associated with the category. * - `defaultIcon` (string): Default icon for the category. * - `sortOrder` (number): Sort order for the category. * - `visualization` (object | nullish): Visualization details of the application. * - `color` (string | nullish): Color for visualization. * - `icon` (string | nullish): Icon for visualization. * - `sortOrder` (number): Sort order for visualization. * - `keywords` (array of strings | nullish): Keywords associated with the application. * - `admins` (array of ApiApplicationPersonSchema | nullish): List of admin users for the application. * - `owners` (array of ApiApplicationPersonSchema | nullish): List of owner users for the application. * - `build` (ApiApplicationBuildSchema | nullish): Build details of the application. */ export declare const ApiApplicationSchema: z.ZodObject<{ appKey: z.ZodString; displayName: z.ZodString; description: z.ZodString; type: z.ZodString; isPinned: z.ZodOptional>; templateSource: z.ZodOptional>; category: z.ZodOptional>>; visualization: z.ZodOptional>; icon: z.ZodOptional>; sortOrder: z.ZodNumber; }, z.core.$strip>>>; keywords: z.ZodOptional>>; admins: z.ZodOptional>; upn: z.ZodOptional>; accountType: z.ZodString; accountClassification: z.ZodOptional>; isExpired: z.ZodOptional>; }, z.core.$strip>>>>; owners: z.ZodOptional>; upn: z.ZodOptional>; accountType: z.ZodString; accountClassification: z.ZodOptional>; isExpired: z.ZodOptional>; }, z.core.$strip>>>>; build: z.ZodOptional>>; tag: z.ZodOptional>; assetPath: z.ZodOptional>; configUrl: z.ZodOptional>; timestamp: z.ZodOptional>; commitSha: z.ZodOptional>; githubRepo: z.ZodOptional>; projectPage: z.ZodOptional>; allowedExtensions: z.ZodOptional>>; uploadedBy: z.ZodOptional>; upn: z.ZodOptional>; accountType: z.ZodString; accountClassification: z.ZodOptional>; isExpired: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>>>; }, z.core.$strip>; export type ApiApplication = z.infer;