generete server models

This commit is contained in:
Mads Rasmussen
2024-03-22 13:01:53 +01:00
parent b6eeb08631
commit 060bfd5bb7
8 changed files with 4 additions and 39 deletions

View File

@@ -69,7 +69,6 @@ export type { CreateMemberTypeRequestModel } from './models/CreateMemberTypeRequ
export type { CreatePackageRequestModel } from './models/CreatePackageRequestModel';
export type { CreatePartialViewFolderRequestModel } from './models/CreatePartialViewFolderRequestModel';
export type { CreatePartialViewRequestModel } from './models/CreatePartialViewRequestModel';
export type { CreateRelationTypeRequestModel } from './models/CreateRelationTypeRequestModel';
export type { CreateScriptFolderRequestModel } from './models/CreateScriptFolderRequestModel';
export type { CreateScriptRequestModel } from './models/CreateScriptRequestModel';
export type { CreateStylesheetFolderRequestModel } from './models/CreateStylesheetFolderRequestModel';
@@ -409,7 +408,6 @@ export type { UpdateMemberTypePropertyTypeRequestModel } from './models/UpdateMe
export type { UpdateMemberTypeRequestModel } from './models/UpdateMemberTypeRequestModel';
export type { UpdatePackageRequestModel } from './models/UpdatePackageRequestModel';
export type { UpdatePartialViewRequestModel } from './models/UpdatePartialViewRequestModel';
export type { UpdateRelationTypeRequestModel } from './models/UpdateRelationTypeRequestModel';
export type { UpdateScriptRequestModel } from './models/UpdateScriptRequestModel';
export type { UpdateStylesheetRequestModel } from './models/UpdateStylesheetRequestModel';
export type { UpdateTemplateRequestModel } from './models/UpdateTemplateRequestModel';

View File

@@ -1,11 +0,0 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { RelationTypeBaseModel } from './RelationTypeBaseModel';
export type CreateRelationTypeRequestModel = (RelationTypeBaseModel & {
id?: string | null;
});

View File

@@ -7,6 +7,7 @@ import type { ReferenceByIdModel } from './ReferenceByIdModel';
import type { RelationReferenceModel } from './RelationReferenceModel';
export type RelationResponseModel = {
id: string;
relationType: ReferenceByIdModel;
parent: RelationReferenceModel;
child: RelationReferenceModel;

View File

@@ -6,8 +6,6 @@
export type RelationTypeBaseModel = {
name: string;
isBidirectional: boolean;
parentObjectType?: string | null;
childObjectType?: string | null;
isDependency: boolean;
};

View File

@@ -3,13 +3,13 @@
/* tslint:disable */
/* eslint-disable */
import type { ObjectTypeResponseModel } from './ObjectTypeResponseModel';
import type { RelationTypeBaseModel } from './RelationTypeBaseModel';
export type RelationTypeResponseModel = (RelationTypeBaseModel & {
id: string;
alias?: string | null;
isDeletable: boolean;
parentObjectTypeName?: string | null;
childObjectTypeName?: string | null;
parentObject?: ObjectTypeResponseModel | null;
childObject?: ObjectTypeResponseModel | null;
});

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { RelationTypeBaseModel } from './RelationTypeBaseModel';
export type UpdateRelationTypeRequestModel = RelationTypeBaseModel;

View File

@@ -209,17 +209,6 @@ export class PackageResource {
});
}
/**
* @returns any Success
* @throws ApiError
*/
public static getPackageManifestPublic(): CancelablePromise<Array<PackageManifestResponseModel>> {
return __request(OpenAPI, {
method: 'GET',
url: '/umbraco/management/api/v1/package/manifest/public',
});
}
/**
* @returns PagedPackageMigrationStatusResponseModel Success
* @throws ApiError

View File

@@ -618,7 +618,6 @@ export class UserResource {
},
errors: {
401: `The resource is protected and requires an authentication token`,
404: `Not Found`,
},
});
}