Updated OpenApi.json and TypeScript client

This commit is contained in:
leekelleher
2024-11-12 11:37:36 +00:00
committed by Jacob Overgaard
parent 7b51a0bb64
commit 5963945fc2
3 changed files with 66 additions and 25 deletions

View File

@@ -22887,8 +22887,8 @@
],
"operationId": "PostPublishedCacheCollect",
"responses": {
"200": {
"description": "OK",
"501": {
"description": "Not Implemented",
"headers": {
"Umb-Notifications": {
"description": "The list of notifications produced during the request.",
@@ -22906,6 +22906,7 @@
"description": "The resource is protected and requires an authentication token"
}
},
"deprecated": true,
"security": [
{
"Backoffice User": [ ]
@@ -22986,20 +22987,14 @@
],
"operationId": "GetPublishedCacheStatus",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
"501": {
"description": "Not Implemented"
},
"401": {
"description": "The resource is protected and requires an authentication token"
}
},
"deprecated": true,
"security": [
{
"Backoffice User": [ ]
@@ -33361,6 +33356,9 @@
},
"401": {
"description": "The resource is protected and requires an authentication token"
},
"403": {
"description": "The authenticated user do not have access to this resource"
}
},
"security": [
@@ -33562,6 +33560,9 @@
},
"401": {
"description": "The resource is protected and requires an authentication token"
},
"403": {
"description": "The authenticated user do not have access to this resource"
}
},
"security": [
@@ -33863,6 +33864,9 @@
},
"401": {
"description": "The resource is protected and requires an authentication token"
},
"403": {
"description": "The authenticated user do not have access to this resource"
}
},
"security": [

File diff suppressed because one or more lines are too long

View File

@@ -2027,6 +2027,16 @@ export type PublishDocumentWithDescendantsRequestModel = {
cultures: Array<(string)>;
};
export type PublishedDocumentResponseModel = {
values: Array<(DocumentValueResponseModel)>;
variants: Array<(DocumentVariantResponseModel)>;
id: string;
documentType: (DocumentTypeReferenceResponseModel);
urls: Array<(DocumentUrlInfoModel)>;
template?: ((ReferenceByIdModel) | null);
isTrashed: boolean;
};
export enum RedirectStatusModel {
ENABLED = 'Enabled',
DISABLED = 'Disabled'
@@ -3489,6 +3499,12 @@ export type PutDocumentByIdPublishWithDescendantsData = {
export type PutDocumentByIdPublishWithDescendantsResponse = (string);
export type GetDocumentByIdPublishedData = {
id: string;
};
export type GetDocumentByIdPublishedResponse = ((PublishedDocumentResponseModel));
export type GetDocumentByIdReferencedByData = {
id: string;
skip?: number;
@@ -4543,14 +4559,10 @@ export type GetPropertyTypeIsUsedData = {
export type GetPropertyTypeIsUsedResponse = (boolean);
export type PostPublishedCacheCollectResponse = (string);
export type PostPublishedCacheRebuildResponse = (string);
export type PostPublishedCacheReloadResponse = (string);
export type GetPublishedCacheStatusResponse = (string);
export type GetRedirectManagementData = {
filter?: string;
skip?: number;