updated server models
This commit is contained in:
@@ -7,5 +7,8 @@ import type { DataTypeChangeModeModel } from './DataTypeChangeModeModel';
|
||||
|
||||
export type DatatypeConfigurationResponseModel = {
|
||||
canBeChanged: DataTypeChangeModeModel;
|
||||
documentListViewId: string;
|
||||
mediaListViewId: string;
|
||||
memberListViewId: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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`,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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`,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user