import { BaseResourceOptions } from '@gitbeaker/requester-utils' ; import { ResourceCustomAttributes } from '../templates' ; import { CustomAttributeSchema } from '../templates/types' ; import { PaginatedRequestOptions , CamelizedRecord , Sudo } from '../infrastructure' ; export interface UserCustomAttributes < C extends boolean = false > extends ResourceCustomAttributes < C > { all ( userId , options ? ) : Promise < CamelizedRecord < C , CustomAttributeSchema > [ ] > ; set ( userId , customAttributeId , value , options ? ) : Promise < CamelizedRecord < C , CustomAttributeSchema > > ; remove ( userId , customAttributeId , options ? ) : Promise < void > ; show ( userId , customAttributeId , options ? ) : Promise < CamelizedRecord < C , CustomAttributeSchema > > ; } export class UserCustomAttributes < C extends boolean = false > extends ResourceCustomAttributes < C > { constructor ( options ) { super ( 'users' , options ) ; } }