feat(organization): add organization rename redirects and redirect management endpoints
This commit is contained in:
@@ -61,6 +61,7 @@ export interface IReq_UpdateOrganization extends
|
||||
request: {
|
||||
identity: data.IIdentity;
|
||||
organizationId: string;
|
||||
name?: string;
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
avatarUrl?: string;
|
||||
@@ -159,3 +160,37 @@ export interface IReq_RemoveOrganizationMember extends
|
||||
message: string;
|
||||
};
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// Organization Redirect Requests
|
||||
// ============================================================================
|
||||
|
||||
export interface IReq_GetOrgRedirects extends
|
||||
plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IReq_GetOrgRedirects
|
||||
> {
|
||||
method: 'getOrgRedirects';
|
||||
request: {
|
||||
identity: data.IIdentity;
|
||||
organizationId: string;
|
||||
};
|
||||
response: {
|
||||
redirects: data.IOrgRedirect[];
|
||||
};
|
||||
}
|
||||
|
||||
export interface IReq_DeleteOrgRedirect extends
|
||||
plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IReq_DeleteOrgRedirect
|
||||
> {
|
||||
method: 'deleteOrgRedirect';
|
||||
request: {
|
||||
identity: data.IIdentity;
|
||||
redirectId: string;
|
||||
};
|
||||
response: {
|
||||
message: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user