207 lines
4.6 KiB
TypeScript
207 lines
4.6 KiB
TypeScript
/**
|
|
* This file was auto-generated by openapi-typescript.
|
|
* Do not make direct changes to the file.
|
|
*/
|
|
|
|
export interface paths {
|
|
"/init": {
|
|
get: operations["GetInit"];
|
|
};
|
|
"/version": {
|
|
get: operations["GetVersion"];
|
|
};
|
|
"/user/login": {
|
|
post: operations["PostUserLogin"];
|
|
};
|
|
"/user/logout": {
|
|
post: operations["PostUserLogout"];
|
|
};
|
|
"/user": {
|
|
get: operations["GetUser"];
|
|
};
|
|
"/install": {
|
|
get: operations["GetInstall"];
|
|
post: operations["PostInstall"];
|
|
};
|
|
}
|
|
|
|
export interface components {
|
|
schemas: {
|
|
InitResponse: {
|
|
installed: boolean;
|
|
};
|
|
ErrorResponse: {
|
|
errorMessage: string;
|
|
};
|
|
VersionResponse: {
|
|
version: string;
|
|
};
|
|
UserLoginRequest: {
|
|
username: string;
|
|
password: string;
|
|
persist: boolean;
|
|
};
|
|
UserResponse: {
|
|
username: string;
|
|
role: string;
|
|
};
|
|
ConsentLevel: {
|
|
/** @enum {string} */
|
|
level: "Minimal" | "Basic" | "Detailed";
|
|
description: string;
|
|
};
|
|
UmbracoDatabaseConfiguration: {
|
|
id: string;
|
|
/** Format: float */
|
|
sortOrder: number;
|
|
displayName: string;
|
|
defaultDatabaseName: string;
|
|
providerName: string | null;
|
|
supportsQuickInstall: boolean;
|
|
isAvailable: boolean;
|
|
requiresServer: boolean;
|
|
serverPlaceholder: string | null;
|
|
requiresCredentials: boolean;
|
|
supportsIntegratedAuthentication: boolean;
|
|
requiresConnectionTest: boolean;
|
|
};
|
|
UmbracoDatabaseConfigurationQuickInstall: {
|
|
displayName: string;
|
|
defaultDatabaseName: string;
|
|
};
|
|
UmbracoInstallerStepModel: {
|
|
/** Format: float */
|
|
minCharLength?: number;
|
|
/** Format: float */
|
|
minNonAlphaNumericLength?: number;
|
|
customInstallAvailable?: boolean;
|
|
consentLevels?: components["schemas"]["ConsentLevel"][];
|
|
databases?: components["schemas"]["UmbracoDatabaseConfiguration"][];
|
|
quickInstallSettings?: components["schemas"]["UmbracoDatabaseConfigurationQuickInstall"];
|
|
};
|
|
UmbracoInstallerStep: {
|
|
model: components["schemas"]["UmbracoInstallerStepModel"] | null;
|
|
view: string;
|
|
name: string;
|
|
description: string;
|
|
/** Format: float */
|
|
serverOrder: number;
|
|
};
|
|
UmbracoInstaller: {
|
|
installId: string;
|
|
steps: components["schemas"]["UmbracoInstallerStep"][];
|
|
};
|
|
};
|
|
}
|
|
|
|
export interface operations {
|
|
GetInit: {
|
|
responses: {
|
|
/** 200 response */
|
|
200: {
|
|
content: {
|
|
"application/json": components["schemas"]["InitResponse"];
|
|
};
|
|
};
|
|
/** default response */
|
|
default: {
|
|
content: {
|
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
GetVersion: {
|
|
responses: {
|
|
/** 200 response */
|
|
200: {
|
|
content: {
|
|
"application/json": components["schemas"]["VersionResponse"];
|
|
};
|
|
};
|
|
/** default response */
|
|
default: {
|
|
content: {
|
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
PostUserLogin: {
|
|
parameters: {};
|
|
responses: {
|
|
/** 201 response */
|
|
201: unknown;
|
|
/** 403 response */
|
|
403: {
|
|
content: {
|
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
};
|
|
};
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["UserLoginRequest"];
|
|
};
|
|
};
|
|
};
|
|
PostUserLogout: {
|
|
responses: {
|
|
/** 201 response */
|
|
201: unknown;
|
|
/** default response */
|
|
default: {
|
|
content: {
|
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
GetUser: {
|
|
responses: {
|
|
/** 200 response */
|
|
200: {
|
|
content: {
|
|
"application/json": components["schemas"]["UserResponse"];
|
|
};
|
|
};
|
|
/** 403 response */
|
|
403: {
|
|
content: {
|
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
GetInstall: {
|
|
responses: {
|
|
/** 200 response */
|
|
200: {
|
|
content: {
|
|
"application/json": components["schemas"]["UmbracoInstaller"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
PostInstall: {
|
|
parameters: {};
|
|
responses: {
|
|
/** 201 response */
|
|
201: unknown;
|
|
/** 400 response */
|
|
400: {
|
|
content: {
|
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
};
|
|
};
|
|
};
|
|
requestBody: {
|
|
content: {
|
|
"application/json": components["schemas"]["UmbracoInstaller"];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|
|
export interface external {}
|