/*** * * SaaSquatch Type Definitions * * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. * * Generated on 2026-03-20T21:11:42.771Z * ***/ /*** * HostedPortalConfig.schema.json * Generated on 2026-03-20T21:11:42.899Z * This file was automatically generated. DO NOT edit it by hand, instead edit the related JSON Schema file. ***/ /** * Enable the hosted portal */ export type Enabled = boolean /** * The domain the hosted portal is hosted on */ export type Domain = string /** * The HTML to be injected into the element of the hosted portal */ export type HeadHTML = string /** * The widget key of the hosted portal */ export type WidgetKey = string /** * A list of NPM resources to load into the widget */ export type Dependencies = { /** * An NPM package name or scoped package */ package: string /** * An NPM version string, such as Patch releases: 1.0 or 1.0.x or ~1.0.4 Minor releases: 1 or 1.x or ^1.0.4 Major releases: * or x */ version: string /** * The path to a resource in the specified package */ filePath?: string }[] /** * The URL path for the 404 Not Found page */ export type NotFoundURLPath = string /** * The Google OAuth SDK Client ID configured for the client */ export type GoogleOAuthSDKClientID = string export interface HostedPortalConfig { enabled: Enabled domain?: Domain headHtml?: HeadHTML brandingConfig?: BrandingConfig widgetKey?: WidgetKey dependencies?: Dependencies notFoundUrlPath?: NotFoundURLPath googleOAuthSdkClientId?: GoogleOAuthSDKClientID } export interface BrandingConfig { [k: string]: unknown }