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

x/windmill/windmill-api/services/SettingService.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.421.2/windmill-api/services/SettingService.ts";

Static Methods

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

create customer portal session

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