mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
19 lines
689 B
TypeScript
19 lines
689 B
TypeScript
import { ResourceCustomAttributes } from '../templates';
|
|
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure';
|
|
|
|
export interface UserCustomAttributes extends ResourceCustomAttributes {
|
|
all(userId: string | number, options?: PaginatedRequestOptions);
|
|
|
|
set(userId: string | number, customAttributeId: number, value: string, options?: Sudo);
|
|
|
|
remove(userId: string | number, customAttributeId: number, options?: Sudo);
|
|
|
|
show(userId: string | number, customAttributeId: number, options?: Sudo);
|
|
}
|
|
|
|
export class UserCustomAttributes extends ResourceCustomAttributes {
|
|
constructor(options: BaseServiceOptions = {}) {
|
|
super('users', options);
|
|
}
|
|
}
|