regenerate models based on v13 branch
This commit is contained in:
@@ -23,6 +23,10 @@ export type { CustomAttributeNamedArgument } from './models/CustomAttributeNamed
|
||||
export type { CustomAttributeTypedArgument } from './models/CustomAttributeTypedArgument';
|
||||
export type { DatabaseInstall } from './models/DatabaseInstall';
|
||||
export type { DatabaseSettings } from './models/DatabaseSettings';
|
||||
export type { DataType } from './models/DataType';
|
||||
export type { DataTypeCreateModel } from './models/DataTypeCreateModel';
|
||||
export type { DataTypeProperty } from './models/DataTypeProperty';
|
||||
export type { DataTypeUpdateModel } from './models/DataTypeUpdateModel';
|
||||
export type { Dictionary } from './models/Dictionary';
|
||||
export type { DictionaryImport } from './models/DictionaryImport';
|
||||
export type { DictionaryItem } from './models/DictionaryItem';
|
||||
@@ -42,6 +46,12 @@ export type { FieldInfo } from './models/FieldInfo';
|
||||
export type { FileSystemTreeItem } from './models/FileSystemTreeItem';
|
||||
export type { FolderTreeItem } from './models/FolderTreeItem';
|
||||
export { GenericParameterAttributes } from './models/GenericParameterAttributes';
|
||||
export type { HealthCheck } from './models/HealthCheck';
|
||||
export type { HealthCheckAction } from './models/HealthCheckAction';
|
||||
export type { HealthCheckGroup } from './models/HealthCheckGroup';
|
||||
export type { HealthCheckGroupWithResult } from './models/HealthCheckGroupWithResult';
|
||||
export type { HealthCheckResult } from './models/HealthCheckResult';
|
||||
export type { HealthCheckWithResult } from './models/HealthCheckWithResult';
|
||||
export type { HelpPage } from './models/HelpPage';
|
||||
export type { ICustomAttributeProvider } from './models/ICustomAttributeProvider';
|
||||
export type { Index } from './models/Index';
|
||||
@@ -76,10 +86,12 @@ export type { PagedDocumentTypeTreeItem } from './models/PagedDocumentTypeTreeIt
|
||||
export type { PagedEntityTreeItem } from './models/PagedEntityTreeItem';
|
||||
export type { PagedFileSystemTreeItem } from './models/PagedFileSystemTreeItem';
|
||||
export type { PagedFolderTreeItem } from './models/PagedFolderTreeItem';
|
||||
export type { PagedHealthCheckGroup } from './models/PagedHealthCheckGroup';
|
||||
export type { PagedHelpPage } from './models/PagedHelpPage';
|
||||
export type { PagedIndex } from './models/PagedIndex';
|
||||
export type { PagedLanguage } from './models/PagedLanguage';
|
||||
export type { PagedRecycleBinItem } from './models/PagedRecycleBinItem';
|
||||
export type { PagedRedirectUrl } from './models/PagedRedirectUrl';
|
||||
export type { PagedRelation } from './models/PagedRelation';
|
||||
export type { PagedRelationItem } from './models/PagedRelationItem';
|
||||
export type { PagedSearcher } from './models/PagedSearcher';
|
||||
@@ -92,6 +104,9 @@ export type { ProfilingStatus } from './models/ProfilingStatus';
|
||||
export { PropertyAttributes } from './models/PropertyAttributes';
|
||||
export type { PropertyInfo } from './models/PropertyInfo';
|
||||
export type { RecycleBinItem } from './models/RecycleBinItem';
|
||||
export { RedirectStatus } from './models/RedirectStatus';
|
||||
export type { RedirectUrl } from './models/RedirectUrl';
|
||||
export type { RedirectUrlStatus } from './models/RedirectUrlStatus';
|
||||
export type { Relation } from './models/Relation';
|
||||
export type { RelationItem } from './models/RelationItem';
|
||||
export type { RuntimeFieldHandle } from './models/RuntimeFieldHandle';
|
||||
@@ -102,6 +117,7 @@ export type { Searcher } from './models/Searcher';
|
||||
export type { SearchResult } from './models/SearchResult';
|
||||
export { SecurityRuleSet } from './models/SecurityRuleSet';
|
||||
export type { ServerStatus } from './models/ServerStatus';
|
||||
export { StatusResultType } from './models/StatusResultType';
|
||||
export type { StructLayoutAttribute } from './models/StructLayoutAttribute';
|
||||
export type { Telemetry } from './models/Telemetry';
|
||||
export { TelemetryLevel } from './models/TelemetryLevel';
|
||||
@@ -119,6 +135,7 @@ export { DictionaryResource } from './services/DictionaryResource';
|
||||
export { DocumentResource } from './services/DocumentResource';
|
||||
export { DocumentBlueprintResource } from './services/DocumentBlueprintResource';
|
||||
export { DocumentTypeResource } from './services/DocumentTypeResource';
|
||||
export { HealthCheckResource } from './services/HealthCheckResource';
|
||||
export { HelpResource } from './services/HelpResource';
|
||||
export { IndexerResource } from './services/IndexerResource';
|
||||
export { InstallResource } from './services/InstallResource';
|
||||
@@ -131,6 +148,7 @@ export { ModelsBuilderResource } from './services/ModelsBuilderResource';
|
||||
export { PartialViewResource } from './services/PartialViewResource';
|
||||
export { ProfilingResource } from './services/ProfilingResource';
|
||||
export { PublishedCacheResource } from './services/PublishedCacheResource';
|
||||
export { RedirectManagementResource } from './services/RedirectManagementResource';
|
||||
export { RelationResource } from './services/RelationResource';
|
||||
export { RelationTypeResource } from './services/RelationTypeResource';
|
||||
export { ScriptResource } from './services/ScriptResource';
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { DataTypeProperty } from './DataTypeProperty';
|
||||
|
||||
export type DataType = {
|
||||
name?: string | null;
|
||||
propertyEditorAlias?: string | null;
|
||||
data?: Array<DataTypeProperty> | null;
|
||||
key?: string;
|
||||
parentKey?: string | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { DataTypeProperty } from './DataTypeProperty';
|
||||
|
||||
export type DataTypeCreateModel = {
|
||||
name?: string | null;
|
||||
propertyEditorAlias?: string | null;
|
||||
data?: Array<DataTypeProperty> | null;
|
||||
parentKey?: string | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
export type DataTypeProperty = {
|
||||
alias?: string | null;
|
||||
value?: any;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { DataTypeProperty } from './DataTypeProperty';
|
||||
|
||||
export type DataTypeUpdateModel = {
|
||||
name?: string | null;
|
||||
propertyEditorAlias?: string | null;
|
||||
data?: Array<DataTypeProperty> | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
export type HealthCheck = {
|
||||
key?: string;
|
||||
name?: string | null;
|
||||
description?: string | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
export type HealthCheckAction = {
|
||||
healthCheckKey?: string;
|
||||
alias?: string | null;
|
||||
name?: string | null;
|
||||
description?: string | null;
|
||||
valueRequired?: boolean;
|
||||
providedValue?: string | null;
|
||||
providedValueValidation?: string | null;
|
||||
providedValueValidationRegex?: string | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { HealthCheck } from './HealthCheck';
|
||||
|
||||
export type HealthCheckGroup = {
|
||||
name?: string | null;
|
||||
checks?: Array<HealthCheck> | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { HealthCheckWithResult } from './HealthCheckWithResult';
|
||||
|
||||
export type HealthCheckGroupWithResult = {
|
||||
name?: string | null;
|
||||
checks?: Array<HealthCheckWithResult> | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { HealthCheckAction } from './HealthCheckAction';
|
||||
import type { StatusResultType } from './StatusResultType';
|
||||
|
||||
export type HealthCheckResult = {
|
||||
message?: string | null;
|
||||
resultType?: StatusResultType;
|
||||
actions?: Array<HealthCheckAction> | null;
|
||||
readMoreLink?: string | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { HealthCheckResult } from './HealthCheckResult';
|
||||
|
||||
export type HealthCheckWithResult = {
|
||||
key?: string;
|
||||
name?: string | null;
|
||||
description?: string | null;
|
||||
results?: Array<HealthCheckResult> | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { HealthCheckGroup } from './HealthCheckGroup';
|
||||
|
||||
export type PagedHealthCheckGroup = {
|
||||
total: number;
|
||||
items: Array<HealthCheckGroup>;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { RedirectUrl } from './RedirectUrl';
|
||||
|
||||
export type PagedRedirectUrl = {
|
||||
total: number;
|
||||
items: Array<RedirectUrl>;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
export enum RedirectStatus {
|
||||
ENABLED = 'Enabled',
|
||||
DISABLED = 'Disabled',
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
export type RedirectUrl = {
|
||||
key?: string;
|
||||
originalUrl?: string | null;
|
||||
destinationUrl?: string | null;
|
||||
created?: string;
|
||||
contentKey?: string;
|
||||
culture?: string | null;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { RedirectStatus } from './RedirectStatus';
|
||||
|
||||
export type RedirectUrlStatus = {
|
||||
status?: RedirectStatus;
|
||||
userIsAdmin?: boolean;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
export enum StatusResultType {
|
||||
SUCCESS = 'Success',
|
||||
WARNING = 'Warning',
|
||||
ERROR = 'Error',
|
||||
INFO = 'Info',
|
||||
}
|
||||
@@ -1,6 +1,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DataType } from '../models/DataType';
|
||||
import type { DataTypeCreateModel } from '../models/DataTypeCreateModel';
|
||||
import type { DataTypeUpdateModel } from '../models/DataTypeUpdateModel';
|
||||
import type { FolderTreeItem } from '../models/FolderTreeItem';
|
||||
import type { PagedFolderTreeItem } from '../models/PagedFolderTreeItem';
|
||||
|
||||
@@ -10,6 +13,72 @@ import { request as __request } from '../core/request';
|
||||
|
||||
export class DataTypeResource {
|
||||
|
||||
/**
|
||||
* @returns DataType Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static postDataType({
|
||||
requestBody,
|
||||
}: {
|
||||
requestBody?: DataTypeCreateModel,
|
||||
}): CancelablePromise<DataType> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/umbraco/management/api/v1/data-type',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
404: `Not Found`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns DataType Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getDataTypeByKey({
|
||||
key,
|
||||
}: {
|
||||
key: string,
|
||||
}): CancelablePromise<DataType> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/umbraco/management/api/v1/data-type/{key}',
|
||||
path: {
|
||||
'key': key,
|
||||
},
|
||||
errors: {
|
||||
404: `Not Found`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns DataType Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static putDataTypeByKey({
|
||||
key,
|
||||
requestBody,
|
||||
}: {
|
||||
key: string,
|
||||
requestBody?: DataTypeUpdateModel,
|
||||
}): CancelablePromise<DataType> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'PUT',
|
||||
url: '/umbraco/management/api/v1/data-type/{key}',
|
||||
path: {
|
||||
'key': key,
|
||||
},
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
404: `Not Found`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns PagedFolderTreeItem Success
|
||||
* @throws ApiError
|
||||
|
||||
@@ -38,6 +38,26 @@ export class DictionaryResource {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns CreatedResult Created
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static postDictionary({
|
||||
requestBody,
|
||||
}: {
|
||||
requestBody?: DictionaryItem,
|
||||
}): CancelablePromise<CreatedResult> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/umbraco/management/api/v1/dictionary',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
400: `Bad Request`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns ContentResult Success
|
||||
* @throws ApiError
|
||||
@@ -105,26 +125,6 @@ export class DictionaryResource {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns CreatedResult Created
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static postDictionaryCreate({
|
||||
requestBody,
|
||||
}: {
|
||||
requestBody?: DictionaryItem,
|
||||
}): CancelablePromise<CreatedResult> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/umbraco/management/api/v1/dictionary/create',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
400: `Bad Request`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns binary Success
|
||||
* @throws ApiError
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { HealthCheckAction } from '../models/HealthCheckAction';
|
||||
import type { HealthCheckGroupWithResult } from '../models/HealthCheckGroupWithResult';
|
||||
import type { HealthCheckResult } from '../models/HealthCheckResult';
|
||||
import type { PagedHealthCheckGroup } from '../models/PagedHealthCheckGroup';
|
||||
|
||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||
import { OpenAPI } from '../core/OpenAPI';
|
||||
import { request as __request } from '../core/request';
|
||||
|
||||
export class HealthCheckResource {
|
||||
|
||||
/**
|
||||
* @returns PagedHealthCheckGroup Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getHealthCheckGroup({
|
||||
skip,
|
||||
take = 100,
|
||||
}: {
|
||||
skip?: number,
|
||||
take?: number,
|
||||
}): CancelablePromise<PagedHealthCheckGroup> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/umbraco/management/api/v1/health-check-group',
|
||||
query: {
|
||||
'skip': skip,
|
||||
'take': take,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns HealthCheckGroupWithResult Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getHealthCheckGroupByName({
|
||||
name,
|
||||
}: {
|
||||
name: string,
|
||||
}): CancelablePromise<HealthCheckGroupWithResult> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/umbraco/management/api/v1/health-check-group/{name}',
|
||||
path: {
|
||||
'name': name,
|
||||
},
|
||||
errors: {
|
||||
404: `Not Found`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns HealthCheckResult Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static postHealthCheckExecuteAction({
|
||||
requestBody,
|
||||
}: {
|
||||
requestBody?: HealthCheckAction,
|
||||
}): CancelablePromise<HealthCheckResult> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/umbraco/management/api/v1/health-check/execute-action',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
400: `Bad Request`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
@@ -10,6 +10,26 @@ import { request as __request } from '../core/request';
|
||||
|
||||
export class LanguageResource {
|
||||
|
||||
/**
|
||||
* @returns any Created
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static postLanguage({
|
||||
requestBody,
|
||||
}: {
|
||||
requestBody?: Language,
|
||||
}): CancelablePromise<any> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/umbraco/management/api/v1/language',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
400: `Bad Request`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns PagedLanguage Success
|
||||
* @throws ApiError
|
||||
@@ -74,38 +94,23 @@ export class LanguageResource {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns any Created
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static postLanguageCreate({
|
||||
requestBody,
|
||||
}: {
|
||||
requestBody?: Language,
|
||||
}): CancelablePromise<any> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/umbraco/management/api/v1/language/create',
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
400: `Bad Request`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static putLanguageUpdate({
|
||||
public static putLanguageById({
|
||||
id,
|
||||
requestBody,
|
||||
}: {
|
||||
id: number,
|
||||
requestBody?: Language,
|
||||
}): CancelablePromise<any> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'PUT',
|
||||
url: '/umbraco/management/api/v1/language/update',
|
||||
url: '/umbraco/management/api/v1/language/{id}',
|
||||
path: {
|
||||
'id': id,
|
||||
},
|
||||
body: requestBody,
|
||||
mediaType: 'application/json',
|
||||
errors: {
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PagedRedirectUrl } from '../models/PagedRedirectUrl';
|
||||
import type { RedirectStatus } from '../models/RedirectStatus';
|
||||
import type { RedirectUrlStatus } from '../models/RedirectUrlStatus';
|
||||
|
||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||
import { OpenAPI } from '../core/OpenAPI';
|
||||
import { request as __request } from '../core/request';
|
||||
|
||||
export class RedirectManagementResource {
|
||||
|
||||
/**
|
||||
* @returns PagedRedirectUrl Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getRedirectManagement({
|
||||
filter,
|
||||
skip,
|
||||
take,
|
||||
}: {
|
||||
filter?: string,
|
||||
skip?: number,
|
||||
take?: number,
|
||||
}): CancelablePromise<PagedRedirectUrl> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/umbraco/management/api/v1/redirect-management',
|
||||
query: {
|
||||
'filter': filter,
|
||||
'skip': skip,
|
||||
'take': take,
|
||||
},
|
||||
errors: {
|
||||
400: `Bad Request`,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns PagedRedirectUrl Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getRedirectManagementByKey({
|
||||
key,
|
||||
skip,
|
||||
take,
|
||||
}: {
|
||||
key: string,
|
||||
skip?: number,
|
||||
take?: number,
|
||||
}): CancelablePromise<PagedRedirectUrl> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/umbraco/management/api/v1/redirect-management/{key}',
|
||||
path: {
|
||||
'key': key,
|
||||
},
|
||||
query: {
|
||||
'skip': skip,
|
||||
'take': take,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static deleteRedirectManagementByKey({
|
||||
key,
|
||||
}: {
|
||||
key: string,
|
||||
}): CancelablePromise<any> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'DELETE',
|
||||
url: '/umbraco/management/api/v1/redirect-management/{key}',
|
||||
path: {
|
||||
'key': key,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns RedirectUrlStatus Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static getRedirectManagementStatus(): CancelablePromise<RedirectUrlStatus> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'GET',
|
||||
url: '/umbraco/management/api/v1/redirect-management/status',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static postRedirectManagementStatus({
|
||||
status,
|
||||
}: {
|
||||
status?: RedirectStatus,
|
||||
}): CancelablePromise<any> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/umbraco/management/api/v1/redirect-management/status',
|
||||
query: {
|
||||
'status': status,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user