Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/index.ts>SettingService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class SettingService
import { SettingService } from "https://deno.land/x/windmill@v1.423.1/windmill-api/index.ts";

Static Methods

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

get local settings

list global settings

renewLicenseKey(unnamed 0: { licenseKey?: string; }): CancelablePromise<string>

renew license key

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