downgrade typescript api gen

This commit is contained in:
Jacob Overgaard
2024-02-29 17:10:17 +01:00
parent bd41f494b1
commit e7f4928a50
482 changed files with 1253 additions and 47 deletions

View File

@@ -62,7 +62,7 @@
"glob": "^10.3.10",
"lucide-static": "^0.290.0",
"msw": "^1.3.2",
"openapi-typescript-codegen": "^0.27.0",
"openapi-typescript-codegen": "0.25.0",
"playwright-msw": "^3.0.1",
"prettier": "3.0.3",
"react": "^18.2.0",
@@ -132,22 +132,15 @@
}
},
"node_modules/@apidevtools/json-schema-ref-parser": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-10.1.0.tgz",
"integrity": "sha512-3e+viyMuXdrcK8v5pvP+SDoAQ77FH6OyRmuK48SZKmdHJRFm87RsSs8qm6kP39a/pOPURByJw+OXzQIqcfmKtA==",
"version": "9.0.9",
"resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz",
"integrity": "sha512-GBD2Le9w2+lVFoc4vswGI/TjkNIZSVp7+9xPf+X3uidBfWnAeUWmquteSyt0+VCrhNMWj/FTABISQrD3Z/YA+w==",
"dev": true,
"dependencies": {
"@jsdevtools/ono": "^7.1.3",
"@types/json-schema": "^7.0.11",
"@types/lodash.clonedeep": "^4.5.7",
"js-yaml": "^4.1.0",
"lodash.clonedeep": "^4.5.0"
},
"engines": {
"node": ">= 16"
},
"funding": {
"url": "https://github.com/sponsors/philsturgeon"
"@types/json-schema": "^7.0.6",
"call-me-maybe": "^1.0.1",
"js-yaml": "^4.1.0"
}
},
"node_modules/@apidevtools/json-schema-ref-parser/node_modules/argparse": {
@@ -6194,15 +6187,6 @@
"integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==",
"dev": true
},
"node_modules/@types/lodash.clonedeep": {
"version": "4.5.9",
"resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.9.tgz",
"integrity": "sha512-19429mWC+FyaAhOLzsS8kZUsI+/GmBAQ0HFiCPsKGU+7pBXOQWhyrY6xNNDwUSX8SMZMJvuFVMF9O5dQOlQK9Q==",
"dev": true,
"dependencies": {
"@types/lodash": "*"
}
},
"node_modules/@types/mdast": {
"version": "3.0.15",
"resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.15.tgz",
@@ -9373,6 +9357,12 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/call-me-maybe": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz",
"integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==",
"dev": true
},
"node_modules/callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
@@ -14173,6 +14163,19 @@
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
"dev": true
},
"node_modules/json-schema-ref-parser": {
"version": "9.0.9",
"resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz",
"integrity": "sha512-qcP2lmGy+JUoQJ4DOQeLaZDqH9qSkeGCK3suKWxJXS82dg728Mn3j97azDMaOUmJAN4uCq91LdPx4K7E8F1a7Q==",
"deprecated": "Please switch to @apidevtools/json-schema-ref-parser",
"dev": true,
"dependencies": {
"@apidevtools/json-schema-ref-parser": "9.0.9"
},
"engines": {
"node": ">=10"
}
},
"node_modules/json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
@@ -14560,12 +14563,6 @@
"integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==",
"dev": true
},
"node_modules/lodash.clonedeep": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
"integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==",
"dev": true
},
"node_modules/lodash.debounce": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
@@ -16429,16 +16426,16 @@
}
},
"node_modules/openapi-typescript-codegen": {
"version": "0.27.0",
"resolved": "https://registry.npmjs.org/openapi-typescript-codegen/-/openapi-typescript-codegen-0.27.0.tgz",
"integrity": "sha512-QyQEod/vuel3zfnTRC3GgmYsqLPSBzB2OL4ojMYjO9hJmfYW02T+7tbQWEnuqWdhh2KSOBf3L8h59vLStr6vwA==",
"version": "0.25.0",
"resolved": "https://registry.npmjs.org/openapi-typescript-codegen/-/openapi-typescript-codegen-0.25.0.tgz",
"integrity": "sha512-nN/TnIcGbP58qYgwEEy5FrAAjePcYgfMaCe3tsmYyTgI3v4RR9v8os14L+LEWDvV50+CmqiyTzRkKKtJeb6Ybg==",
"dev": true,
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^10.1.0",
"camelcase": "^6.3.0",
"commander": "^11.1.0",
"fs-extra": "^11.2.0",
"handlebars": "^4.7.8"
"commander": "^11.0.0",
"fs-extra": "^11.1.1",
"handlebars": "^4.7.7",
"json-schema-ref-parser": "^9.0.9"
},
"bin": {
"openapi": "bin/index.js"

View File

@@ -212,7 +212,7 @@
"glob": "^10.3.10",
"lucide-static": "^0.290.0",
"msw": "^1.3.2",
"openapi-typescript-codegen": "^0.27.0",
"openapi-typescript-codegen": "0.25.0",
"playwright-msw": "^3.0.1",
"prettier": "3.0.3",
"react": "^18.2.0",

View File

@@ -51,7 +51,7 @@ export class CancelablePromise<T> implements Promise<T> {
return;
}
this.#isResolved = true;
if (this.#resolve) this.#resolve(value);
this.#resolve?.(value);
};
const onReject = (reason?: any): void => {
@@ -59,7 +59,7 @@ export class CancelablePromise<T> implements Promise<T> {
return;
}
this.#isRejected = true;
if (this.#reject) this.#reject(reason);
this.#reject?.(reason);
};
const onCancel = (cancelHandler: () => void): void => {
@@ -122,7 +122,7 @@ export class CancelablePromise<T> implements Promise<T> {
}
}
this.#cancelHandlers.length = 0;
if (this.#reject) this.#reject(new CancelError('Request aborted'));
this.#reject?.(new CancelError('Request aborted'));
}
public get isCancelled(): boolean {

View File

@@ -137,12 +137,10 @@ export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Reso
};
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
const [token, username, password, additionalHeaders] = await Promise.all([
resolve(options, config.TOKEN),
resolve(options, config.USERNAME),
resolve(options, config.PASSWORD),
resolve(options, config.HEADERS),
]);
const token = await resolve(options, config.TOKEN);
const username = await resolve(options, config.USERNAME);
const password = await resolve(options, config.PASSWORD);
const additionalHeaders = await resolve(options, config.HEADERS);
const headers = Object.entries({
Accept: 'application/json',

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type AllowedContentTypeModel = {
id: string;
name: string;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AllowedContentTypeModel } from './AllowedContentTypeModel';
export type AllowedDocumentTypeModel = AllowedContentTypeModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AllowedContentTypeModel } from './AllowedContentTypeModel';
export type AllowedMediaTypeModel = AllowedContentTypeModel;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AuditLogEntityModel } from './AuditLogEntityModel';
import type { AuditTypeModel } from './AuditTypeModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type AuditLogBaseModel = {
user: ReferenceByIdModel;
entity?: AuditLogEntityModel | null;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type AuditLogEntityModel = {
id?: string | null;
type?: string | null;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AuditLogBaseModel } from './AuditLogBaseModel';
export type AuditLogResponseModel = AuditLogBaseModel;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AuditLogBaseModel } from './AuditLogBaseModel';
export type AuditLogWithUsernameResponseModel = (AuditLogBaseModel & {
userName?: string | null;
userAvatars: Array<string>;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum AuditTypeModel {
NEW = 'New',
SAVE = 'Save',

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type AvailableContentTypeCompositionResponseModelBaseModel = {
id: string;
name: string;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AvailableContentTypeCompositionResponseModelBaseModel } from './AvailableContentTypeCompositionResponseModelBaseModel';
export type AvailableDocumentTypeCompositionResponseModel = AvailableContentTypeCompositionResponseModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AvailableContentTypeCompositionResponseModelBaseModel } from './AvailableContentTypeCompositionResponseModelBaseModel';
export type AvailableMediaTypeCompositionResponseModel = AvailableContentTypeCompositionResponseModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AvailableContentTypeCompositionResponseModelBaseModel } from './AvailableContentTypeCompositionResponseModelBaseModel';
export type AvailableMemberTypeCompositionResponseModel = AvailableContentTypeCompositionResponseModelBaseModel;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ChangePasswordUserRequestModel } from './ChangePasswordUserRequestModel';
export type ChangePasswordCurrentUserRequestModel = (ChangePasswordUserRequestModel & {
oldPassword?: string | null;
});

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type ChangePasswordUserRequestModel = {
newPassword: string;
};

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum CompositionTypeModel {
COMPOSITION = 'Composition',
INHERITANCE = 'Inheritance',

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { TelemetryLevelModel } from './TelemetryLevelModel';
export type ConsentLevelPresentationModel = {
level: TelemetryLevelModel;
description: string;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DocumentValueModel } from './DocumentValueModel';
import type { DocumentVariantResponseModel } from './DocumentVariantResponseModel';
export type ContentCollectionResponseModelBaseDocumentValueModelDocumentVariantResponseModel = {
values: Array<DocumentValueModel>;
variants: Array<DocumentVariantResponseModel>;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MediaValueModel } from './MediaValueModel';
import type { MediaVariantResponseModel } from './MediaVariantResponseModel';
export type ContentCollectionResponseModelBaseMediaValueModelMediaVariantResponseModel = {
values: Array<MediaValueModel>;
variants: Array<MediaVariantResponseModel>;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DocumentValueModel } from './DocumentValueModel';
import type { DocumentVariantResponseModel } from './DocumentVariantResponseModel';
export type ContentForDocumentResponseModel = {
values: Array<DocumentValueModel>;
variants: Array<DocumentVariantResponseModel>;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MediaValueModel } from './MediaValueModel';
import type { MediaVariantResponseModel } from './MediaVariantResponseModel';
export type ContentForMediaResponseModel = {
values: Array<MediaValueModel>;
variants: Array<MediaVariantResponseModel>;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MemberValueModel } from './MemberValueModel';
import type { MemberVariantResponseModel } from './MemberVariantResponseModel';
export type ContentForMemberResponseModel = {
values: Array<MemberValueModel>;
variants: Array<MemberVariantResponseModel>;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type ContentTreeItemResponseModel = {
type: string;
hasChildren: boolean;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type ContentTypeCleanupBaseModel = {
preventCleanup: boolean;
keepAllVersionsNewerThanDays?: number | null;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type ContentTypeCollectionReferenceResponseModelBaseModel = {
id: string;
alias: string;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type ContentTypeCompositionRequestModelBaseModel = {
id?: string | null;
currentPropertyAliases: Array<string>;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type ContentTypeCompositionResponseModelBaseModel = {
id: string;
name: string;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DocumentTypePropertyTypeContainerResponseModel } from './DocumentTypePropertyTypeContainerResponseModel';
import type { DocumentTypePropertyTypeResponseModel } from './DocumentTypePropertyTypeResponseModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type ContentTypeForDocumentTypeResponseModel = {
alias: string;
name: string;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MediaTypePropertyTypeContainerResponseModel } from './MediaTypePropertyTypeContainerResponseModel';
import type { MediaTypePropertyTypeResponseModel } from './MediaTypePropertyTypeResponseModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type ContentTypeForMediaTypeResponseModel = {
alias: string;
name: string;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MemberTypePropertyTypeContainerResponseModel } from './MemberTypePropertyTypeContainerResponseModel';
import type { MemberTypePropertyTypeResponseModel } from './MemberTypePropertyTypeResponseModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type ContentTypeForMemberTypeResponseModel = {
alias: string;
name: string;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type ContentTypeReferenceResponseModelBaseModel = {
id: string;
icon: string;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type ContentUrlInfoBaseModel = {
culture?: string | null;
url: string;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CopyDataTypeRequestModel = {
target?: ReferenceByIdModel | null;
};

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CopyDocumentRequestModel = {
target?: ReferenceByIdModel | null;
relateToOriginal: boolean;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CopyDocumentTypeRequestModel = {
target?: ReferenceByIdModel | null;
};

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CopyMediaTypeRequestModel = {
target?: ReferenceByIdModel | null;
};

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DocumentValueModel } from './DocumentValueModel';
import type { DocumentVariantRequestModel } from './DocumentVariantRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateContentForDocumentRequestModel = {
values: Array<DocumentValueModel>;
variants: Array<DocumentVariantRequestModel>;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MediaValueModel } from './MediaValueModel';
import type { MediaVariantRequestModel } from './MediaVariantRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateContentForMediaRequestModel = {
values: Array<MediaValueModel>;
variants: Array<MediaVariantRequestModel>;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MemberValueModel } from './MemberValueModel';
import type { MemberVariantRequestModel } from './MemberVariantRequestModel';
export type CreateContentForMemberRequestModel = {
values: Array<MemberValueModel>;
variants: Array<MemberVariantRequestModel>;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateDocumentTypePropertyTypeContainerRequestModel } from './CreateDocumentTypePropertyTypeContainerRequestModel';
import type { CreateDocumentTypePropertyTypeRequestModel } from './CreateDocumentTypePropertyTypeRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateContentTypeForDocumentTypeRequestModel = {
alias: string;
name: string;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateMediaTypePropertyTypeContainerRequestModel } from './CreateMediaTypePropertyTypeContainerRequestModel';
import type { CreateMediaTypePropertyTypeRequestModel } from './CreateMediaTypePropertyTypeRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateContentTypeForMediaTypeRequestModel = {
alias: string;
name: string;

View File

@@ -2,9 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateMemberTypePropertyTypeContainerRequestModel } from './CreateMemberTypePropertyTypeContainerRequestModel';
import type { CreateMemberTypePropertyTypeRequestModel } from './CreateMemberTypePropertyTypeRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateContentTypeForMemberTypeRequestModel = {
alias: string;
name: string;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DataTypeModelBaseModel } from './DataTypeModelBaseModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateDataTypeRequestModel = (DataTypeModelBaseModel & {
id?: string | null;
parent?: ReferenceByIdModel | null;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DictionaryItemModelBaseModel } from './DictionaryItemModelBaseModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateDictionaryItemRequestModel = (DictionaryItemModelBaseModel & {
id?: string | null;
parent?: ReferenceByIdModel | null;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateContentForDocumentRequestModel } from './CreateContentForDocumentRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateDocumentRequestModel = (CreateContentForDocumentRequestModel & {
documentType: ReferenceByIdModel;
template?: ReferenceByIdModel | null;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PropertyTypeContainerModelBaseModel } from './PropertyTypeContainerModelBaseModel';
export type CreateDocumentTypePropertyTypeContainerRequestModel = PropertyTypeContainerModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PropertyTypeModelBaseModel } from './PropertyTypeModelBaseModel';
export type CreateDocumentTypePropertyTypeRequestModel = PropertyTypeModelBaseModel;

View File

@@ -2,11 +2,13 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateContentTypeForDocumentTypeRequestModel } from './CreateContentTypeForDocumentTypeRequestModel';
import type { DocumentTypeCleanupModel } from './DocumentTypeCleanupModel';
import type { DocumentTypeCompositionModel } from './DocumentTypeCompositionModel';
import type { DocumentTypeSortModel } from './DocumentTypeSortModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateDocumentTypeRequestModel = (CreateContentTypeForDocumentTypeRequestModel & {
allowedTemplates: Array<ReferenceByIdModel>;
defaultTemplate?: ReferenceByIdModel | null;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FolderModelBaseModel } from './FolderModelBaseModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateFolderRequestModel = (FolderModelBaseModel & {
id?: string | null;
parent?: ReferenceByIdModel | null;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { VerifyInviteUserRequestModel } from './VerifyInviteUserRequestModel';
export type CreateInitialPasswordUserRequestModel = (VerifyInviteUserRequestModel & {
password: string;
});

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { LanguageModelBaseModel } from './LanguageModelBaseModel';
export type CreateLanguageRequestModel = (LanguageModelBaseModel & {
isoCode: string;
});

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateContentForMediaRequestModel } from './CreateContentForMediaRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateMediaRequestModel = (CreateContentForMediaRequestModel & {
mediaType: ReferenceByIdModel;
});

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PropertyTypeContainerModelBaseModel } from './PropertyTypeContainerModelBaseModel';
export type CreateMediaTypePropertyTypeContainerRequestModel = PropertyTypeContainerModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PropertyTypeModelBaseModel } from './PropertyTypeModelBaseModel';
export type CreateMediaTypePropertyTypeRequestModel = PropertyTypeModelBaseModel;

View File

@@ -2,10 +2,12 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateContentTypeForMediaTypeRequestModel } from './CreateContentTypeForMediaTypeRequestModel';
import type { MediaTypeCompositionModel } from './MediaTypeCompositionModel';
import type { MediaTypeSortModel } from './MediaTypeSortModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateMediaTypeRequestModel = (CreateContentTypeForMediaTypeRequestModel & {
allowedMediaTypes: Array<MediaTypeSortModel>;
compositions: Array<MediaTypeCompositionModel>;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { MemberGroupPresentationBaseModel } from './MemberGroupPresentationBaseModel';
export type CreateMemberGroupRequestModel = (MemberGroupPresentationBaseModel & {
id?: string | null;
});

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateContentForMemberRequestModel } from './CreateContentForMemberRequestModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type CreateMemberRequestModel = (CreateContentForMemberRequestModel & {
email: string;
username: string;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PropertyTypeContainerModelBaseModel } from './PropertyTypeContainerModelBaseModel';
export type CreateMemberTypePropertyTypeContainerRequestModel = PropertyTypeContainerModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PropertyTypeModelBaseModel } from './PropertyTypeModelBaseModel';
export type CreateMemberTypePropertyTypeRequestModel = PropertyTypeModelBaseModel;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateContentTypeForMemberTypeRequestModel } from './CreateContentTypeForMemberTypeRequestModel';
import type { MemberTypeCompositionModel } from './MemberTypeCompositionModel';
export type CreateMemberTypeRequestModel = (CreateContentTypeForMemberTypeRequestModel & {
compositions: Array<MemberTypeCompositionModel>;
});

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PackageModelBaseModel } from './PackageModelBaseModel';
export type CreatePackageRequestModel = PackageModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FileSystemCreateRequestModelBaseModel } from './FileSystemCreateRequestModelBaseModel';
export type CreatePartialViewFolderRequestModel = FileSystemCreateRequestModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FileSystemFileCreateRequestModelBaseModel } from './FileSystemFileCreateRequestModelBaseModel';
export type CreatePartialViewRequestModel = FileSystemFileCreateRequestModelBaseModel;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { RelationTypeBaseModel } from './RelationTypeBaseModel';
export type CreateRelationTypeRequestModel = (RelationTypeBaseModel & {
id?: string | null;
});

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FileSystemCreateRequestModelBaseModel } from './FileSystemCreateRequestModelBaseModel';
export type CreateScriptFolderRequestModel = FileSystemCreateRequestModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FileSystemFileCreateRequestModelBaseModel } from './FileSystemFileCreateRequestModelBaseModel';
export type CreateScriptRequestModel = FileSystemFileCreateRequestModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FileSystemCreateRequestModelBaseModel } from './FileSystemCreateRequestModelBaseModel';
export type CreateStylesheetFolderRequestModel = FileSystemCreateRequestModelBaseModel;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FileSystemFileCreateRequestModelBaseModel } from './FileSystemFileCreateRequestModelBaseModel';
export type CreateStylesheetRequestModel = FileSystemFileCreateRequestModelBaseModel;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { TemplateModelBaseModel } from './TemplateModelBaseModel';
export type CreateTemplateRequestModel = (TemplateModelBaseModel & {
id?: string | null;
});

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { UserGroupBaseModel } from './UserGroupBaseModel';
export type CreateUserGroupRequestModel = UserGroupBaseModel;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { UserPresentationBaseModel } from './UserPresentationBaseModel';
export type CreateUserRequestModel = (UserPresentationBaseModel & {
id?: string | null;
});

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { WebhookModelBaseModel } from './WebhookModelBaseModel';
export type CreateWebhookRequestModel = (WebhookModelBaseModel & {
id?: string | null;
events: Array<string>;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ScheduleRequestModel } from './ScheduleRequestModel';
export type CultureAndScheduleRequestModel = {
culture?: string | null;
schedule?: ScheduleRequestModel | null;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CultureReponseModel = {
name: string;
englishName: string;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PasswordConfigurationResponseModel } from './PasswordConfigurationResponseModel';
export type CurrenUserConfigurationResponseModel = {
keepUserLoggedIn: boolean;
usernameIsEmail: boolean;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DocumentPermissionPresentationModel } from './DocumentPermissionPresentationModel';
import type { UnknownTypePermissionPresentationModel } from './UnknownTypePermissionPresentationModel';
export type CurrentUserResponseModel = {
id: string;
email: string;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum DataTypeChangeModeModel {
TRUE = 'True',
FALSE = 'False',

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { NamedItemResponseModelBaseModel } from './NamedItemResponseModelBaseModel';
export type DataTypeItemResponseModel = (NamedItemResponseModelBaseModel & {
editorUiAlias?: string | null;
isDeletable: boolean;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DataTypePropertyPresentationModel } from './DataTypePropertyPresentationModel';
export type DataTypeModelBaseModel = {
name: string;
editorAlias: string;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DataTypePropertyPresentationModel = {
alias: string;
value?: any;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DataTypePropertyReferenceModel = {
name: string;
alias: string;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DataTypePropertyReferenceModel } from './DataTypePropertyReferenceModel';
export type DataTypeReferenceResponseModel = {
id: string;
type: string;

View File

@@ -2,8 +2,10 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DataTypeModelBaseModel } from './DataTypeModelBaseModel';
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type DataTypeResponseModel = (DataTypeModelBaseModel & {
id: string;
parent?: ReferenceByIdModel | null;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { FolderTreeItemResponseModel } from './FolderTreeItemResponseModel';
export type DataTypeTreeItemResponseModel = (FolderTreeItemResponseModel & {
editorUiAlias?: string | null;
isDeletable: boolean;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DatabaseInstallPresentationModel = {
id: string;
providerName: string;

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DatabaseInstallPresentationModel } from './DatabaseInstallPresentationModel';
export type DatabaseInstallRequestModel = DatabaseInstallPresentationModel;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DatabaseSettingsPresentationModel = {
id: string;
sortOrder: number;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DataTypeChangeModeModel } from './DataTypeChangeModeModel';
export type DatatypeConfigurationResponseModel = {
canBeChanged: DataTypeChangeModeModel;
};

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DeleteUserGroupsRequestModel = {
userGroupIds: Array<string>;
};

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DeleteUsersRequestModel = {
userIds: Array<string>;
};

View File

@@ -2,6 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { NamedItemResponseModelBaseModel } from './NamedItemResponseModelBaseModel';
export type DictionaryItemItemResponseModel = NamedItemResponseModelBaseModel;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DictionaryItemTranslationModel } from './DictionaryItemTranslationModel';
export type DictionaryItemModelBaseModel = {
name: string;
translations: Array<DictionaryItemTranslationModel>;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DictionaryItemModelBaseModel } from './DictionaryItemModelBaseModel';
export type DictionaryItemResponseModel = (DictionaryItemModelBaseModel & {
id: string;
});

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DictionaryItemTranslationModel = {
isoCode: string;
translation: string;

View File

@@ -2,7 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ReferenceByIdModel } from './ReferenceByIdModel';
export type DictionaryOverviewResponseModel = {
name?: string | null;
id: string;

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum DirectionModel {
ASCENDING = 'Ascending',
DESCENDING = 'Descending',

View File

@@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DisableUserRequestModel = {
userIds: Array<string>;
};

Some files were not shown because too many files have changed in this diff Show More