import { SettingService } from "https://deno.land/x/windmill@v1.423.2/windmill-api/services/SettingService.ts";
Static Methods
acknowledgeAllCriticalAlerts(): CancelablePromise<string>
Acknowledge all unacknowledged critical alerts
acknowledgeCriticalAlert(unnamed 0: { id: number; }): CancelablePromise<string>
Acknowledge a critical alert
createCustomerPortalSession(unnamed 0: { licenseKey?: string; }): CancelablePromise<string>
create customer portal session
getCriticalAlerts(unnamed 0: { page?: number; pageSize?: number; acknowledged?: boolean | null; }): CancelablePromise<Array<CriticalAlert>>
Get all critical alerts
getGlobal(unnamed 0: { key: string; }): CancelablePromise<any>
get global settings
getLatestKeyRenewalAttempt(): CancelablePromise<{ result: string; attempted_at: string; } | null>
get latest key renewal attempt
getLocal(): CancelablePromise<any>
get local settings
listGlobalSettings(): CancelablePromise<Array<GlobalSetting>>
list global settings
renewLicenseKey(unnamed 0: { licenseKey?: string; }): CancelablePromise<string>
renew license key
sendStats(): CancelablePromise<string>
send stats
setGlobal(unnamed 0: { key: string; requestBody: { value?: any; }; }): CancelablePromise<string>
post global settings
testCriticalChannels(unnamed 0: { requestBody: Array<{ email?: string; slack_channel?: string; }>; }): CancelablePromise<string>
test critical channels
testLicenseKey(unnamed 0: { requestBody: { license_key: string; }; }): CancelablePromise<string>
test license key
testMetadata(unnamed 0: { requestBody: string; }): CancelablePromise<string>
test metadata
testObjectStorageConfig(unnamed 0: { requestBody: any; }): CancelablePromise<string>
test object storage config
testSmtp(unnamed 0: { requestBody: { to: string; smtp: { host: string; username: string; password: string; port: number; from: string; tls_implicit: boolean; disable_tls: boolean; }; }; }): CancelablePromise<string>
test smtp