updated server models

This commit is contained in:
Jacob Overgaard
2024-03-22 09:53:46 +01:00
parent c647843c00
commit dab87d518d
5 changed files with 25 additions and 2 deletions

View File

@@ -7,5 +7,8 @@ import type { DataTypeChangeModeModel } from './DataTypeChangeModeModel';
export type DatatypeConfigurationResponseModel = {
canBeChanged: DataTypeChangeModeModel;
documentListViewId: string;
mediaListViewId: string;
memberListViewId: string;
};

View File

@@ -21,6 +21,9 @@ export class MemberResource {
*/
public static getFilterMember({
memberTypeId,
memberGroupName,
isApproved,
isLockedOut,
orderBy = 'username',
orderDirection,
filter,
@@ -28,6 +31,9 @@ export class MemberResource {
take = 100,
}: {
memberTypeId?: string,
memberGroupName?: string,
isApproved?: boolean,
isLockedOut?: boolean,
orderBy?: string,
orderDirection?: DirectionModel,
filter?: string,
@@ -39,6 +45,9 @@ export class MemberResource {
url: '/umbraco/management/api/v1/filter/member',
query: {
'memberTypeId': memberTypeId,
'memberGroupName': memberGroupName,
'isApproved': isApproved,
'isLockedOut': isLockedOut,
'orderBy': orderBy,
'orderDirection': orderDirection,
'filter': filter,

View File

@@ -209,6 +209,17 @@ 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

@@ -44,6 +44,7 @@ export class SecurityResource {
responseHeader: 'Umb-Notifications',
errors: {
400: `Bad Request`,
401: `The resource is protected and requires an authentication token`,
},
});
}
@@ -86,7 +87,6 @@ export class SecurityResource {
mediaType: 'application/json',
errors: {
400: `Bad Request`,
401: `The resource is protected and requires an authentication token`,
404: `Not Found`,
},
});

View File

@@ -618,6 +618,7 @@ export class UserResource {
},
errors: {
401: `The resource is protected and requires an authentication token`,
404: `Not Found`,
},
});
}
@@ -800,7 +801,6 @@ export class UserResource {
responseHeader: 'Umb-Notifications',
errors: {
400: `Bad Request`,
401: `The resource is protected and requires an authentication token`,
404: `Not Found`,
},
});