import { OidcClientMetadata, CustomClientMetadata, ProtectedAppMetadata, JsonObject, GeneratedSchema } from './../foundations/index.js'; import { ApplicationType } from './custom-types.js'; /** * * @remarks This is a type for database creation. * @see {@link Application} for the original type. */ export type CreateApplication = { tenantId?: string; id: string; name: string; /** @deprecated The internal client secret. Note it is only used for internal validation, and the actual secret should be stored in the `application_secrets` table. You should NOT use it unless you are sure what you are doing. */ secret: string; description?: string | null; type: ApplicationType; oidcClientMetadata: OidcClientMetadata; customClientMetadata?: CustomClientMetadata; protectedAppMetadata?: ProtectedAppMetadata | null; customData?: JsonObject; isThirdParty?: boolean; createdAt?: number; }; export type Application = { tenantId: string; id: string; name: string; /** @deprecated The internal client secret. Note it is only used for internal validation, and the actual secret should be stored in the `application_secrets` table. You should NOT use it unless you are sure what you are doing. */ secret: string; description: string | null; type: ApplicationType; oidcClientMetadata: OidcClientMetadata; customClientMetadata: CustomClientMetadata; protectedAppMetadata: ProtectedAppMetadata | null; customData: JsonObject; isThirdParty: boolean; createdAt: number; }; export type ApplicationKeys = 'tenantId' | 'id' | 'name' | 'secret' | 'description' | 'type' | 'oidcClientMetadata' | 'customClientMetadata' | 'protectedAppMetadata' | 'customData' | 'isThirdParty' | 'createdAt'; export declare const Applications: GeneratedSchema;