// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "user.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { UserService } from "./user"; import type { UpdateTwoFAPlatformResult } from "./user"; import type { UpdateTwoFAPlatformRequest } from "./user"; import type { ForceProjectUserTwoFARequest } from "./user"; import type { ForceTwoFAResult } from "./user"; import type { ForceTwoFAOrganisationRequest } from "./user"; import type { SetUserAttachmentTypeRolesResult } from "./user"; import type { SetUserAttachmentTypeRolesRequest } from "./user"; import type { SetUserConnectionRolesResult } from "./user"; import type { SetUserConnectionRolesRequest } from "./user"; import type { SetUserPartnerAppRolesResult } from "./user"; import type { SetUserPartnerAppRolesRequest } from "./user"; import type { SetUserProjectRolesResult } from "./user"; import type { SetUserProjectRolesRequest } from "./user"; import type { SetUserOrganisationRolesResult } from "./user"; import type { SetUserOrganisationRolesRequest } from "./user"; import type { SetUserPlatformRolesResult } from "./user"; import type { SetUserPlatformRolesRequest } from "./user"; import type { ListUserAttachmentTypeRolesResult } from "./user"; import type { ListUserAttachmentTypeRolesRequest } from "./user"; import type { ListUserConnectionRolesResult } from "./user"; import type { ListUserConnectionRolesRequest } from "./user"; import type { ListUserPartnerAppRolesResult } from "./user"; import type { ListUserPartnerAppRolesRequest } from "./user"; import type { ListUserProjectRolesResult } from "./user"; import type { ListUserProjectRolesRequest } from "./user"; import type { ListUserOrganisationRolesResult } from "./user"; import type { ListUserOrganisationRolesRequest } from "./user"; import type { ListUserPlatformRolesResult } from "./user"; import type { ListUserPlatformRolesRequest } from "./user"; import type { GetProjectUserByMailRequest } from "./user"; import type { GetProjectUserResult } from "./user"; import type { GetProjectUserRequest } from "./user"; import type { GetOrganisationUserResult } from "./user"; import type { GetOrganisationUserRequest } from "./user"; import type { GetPlatformUserByMailRequest } from "./user"; import type { GetPlatformUserResult } from "./user"; import type { GetPlatformUserRequest } from "./user"; import type { ListUsersInConnectionRoleRequest } from "./user"; import type { ListUsersInPartnerAppRoleRequest } from "./user"; import type { ListUsersInProjectRoleRequest } from "./user"; import type { ListUsersInOrganisationRoleRequest } from "./user"; import type { ListUsersInRoleResult } from "./user"; import type { ListUsersInPlatformRoleRequest } from "./user"; import type { FindConnectionUsersRequest } from "./user"; import type { FindPartnerAppUsersRequest } from "./user"; import type { FindProjectUsersRequest } from "./user"; import type { FindOrganisationUsersRequest } from "./user"; import type { FindUsersResult } from "./user"; import type { FindPlatformUsersRequest } from "./user"; import type { ListConnectionUsersResult } from "./user"; import type { ListConnectionUsersRequest } from "./user"; import type { ListPartnerAppUsersResult } from "./user"; import type { ListPartnerAppUsersRequest } from "./user"; import type { ListProjectUsersResult } from "./user"; import type { ListProjectUsersRequest } from "./user"; import type { ListOrganisationUsersResult } from "./user"; import type { ListOrganisationUsersRequest } from "./user"; import type { ListPlatformUsersResult } from "./user"; import type { ListPlatformUsersRequest } from "./user"; import type { SuggestProjectSANameRequest } from "./user"; import type { RemoveProjectSARequest } from "./user"; import type { RenewProjectSARequest } from "./user"; import type { CreateProjectSARequest } from "./user"; import type { SuggestSANameResult } from "./user"; import type { SuggestSANameRequest } from "./user"; import type { RemoveSAResult } from "./user"; import type { RemoveSARequest } from "./user"; import type { RenewSAResult } from "./user"; import type { RenewSARequest } from "./user"; import type { CreateSAResult } from "./user"; import type { CreateSARequest } from "./user"; import type { RemoveUserResult } from "./user"; import type { RemoveUserRequest } from "./user"; import type { SendVerificationMailProjectRequest } from "./user"; import type { EnrollUserProjectWithoutMailRequest } from "./user"; import type { EnrollUserProjectRequest } from "./user"; import type { SendVerificationMailAsRequest } from "./user"; import type { SendVerificationMailResult } from "./user"; import type { SendVerificationMailRequest } from "./user"; import type { EnrollUserWithoutMailRequest } from "./user"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { EnrollUserResult } from "./user"; import type { EnrollUserRequest } from "./user"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.UserService */ export interface IUserServiceClient { /** * @generated from protobuf rpc: EnrollUser */ enrollUser(input: EnrollUserRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: EnrollUserWithoutMail */ enrollUserWithoutMail(input: EnrollUserWithoutMailRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendVerificationMail */ sendVerificationMail(input: SendVerificationMailRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendVerificationMailAs */ sendVerificationMailAs(input: SendVerificationMailAsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: EnrollProjectUser */ enrollProjectUser(input: EnrollUserProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: EnrollProjectUserWithoutMail */ enrollProjectUserWithoutMail(input: EnrollUserProjectWithoutMailRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SendVerificationMailProject */ sendVerificationMailProject(input: SendVerificationMailProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RemoveUser */ removeUser(input: RemoveUserRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateSA */ createSA(input: CreateSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RenewSA */ renewSA(input: RenewSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RemoveSA */ removeSA(input: RemoveSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SuggestSAName */ suggestSAName(input: SuggestSANameRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateProjectSA */ createProjectSA(input: CreateProjectSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RenewProjectSA */ renewProjectSA(input: RenewProjectSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RemoveProjectSA */ removeProjectSA(input: RemoveProjectSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SuggestProjectSAName */ suggestProjectSAName(input: SuggestProjectSANameRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListPlatformUsers */ listPlatformUsers(input: ListPlatformUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListOrganisationUsers */ listOrganisationUsers(input: ListOrganisationUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListProjectUsers */ listProjectUsers(input: ListProjectUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListPartnerAppUsers */ listPartnerAppUsers(input: ListPartnerAppUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListConnectionUsers */ listConnectionUsers(input: ListConnectionUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindPlatformUsers */ findPlatformUsers(input: FindPlatformUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindOrganisationUsers */ findOrganisationUsers(input: FindOrganisationUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindProjectUsers */ findProjectUsers(input: FindProjectUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindPartnerAppUsers */ findPartnerAppUsers(input: FindPartnerAppUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindConnectionUsers */ findConnectionUsers(input: FindConnectionUsersRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListUsersInPlatformRole */ listUsersInPlatformRole(input: ListUsersInPlatformRoleRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListUsersInOrganisationRole */ listUsersInOrganisationRole(input: ListUsersInOrganisationRoleRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListUsersInProjectRole */ listUsersInProjectRole(input: ListUsersInProjectRoleRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListUsersInPartnerAppRole */ listUsersInPartnerAppRole(input: ListUsersInPartnerAppRoleRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListUsersInConnectionRole */ listUsersInConnectionRole(input: ListUsersInConnectionRoleRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetPlatformUser */ getPlatformUser(input: GetPlatformUserRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetPlatformUserByMail */ getPlatformUserByMail(input: GetPlatformUserByMailRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetOrganisationUser */ getOrganisationUser(input: GetOrganisationUserRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetProjectUser */ getProjectUser(input: GetProjectUserRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetProjectUserByMail */ getProjectUserByMail(input: GetProjectUserByMailRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListPlatformRoles */ listPlatformRoles(input: ListUserPlatformRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListOrganisationRoles */ listOrganisationRoles(input: ListUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListProjectRoles */ listProjectRoles(input: ListUserProjectRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListPartnerAppRoles */ listPartnerAppRoles(input: ListUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListConnectionRoles */ listConnectionRoles(input: ListUserConnectionRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListAttachmentTypeRoles */ listAttachmentTypeRoles(input: ListUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetPlatformRoles */ setPlatformRoles(input: SetUserPlatformRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetOrganisationRoles */ setOrganisationRoles(input: SetUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetProjectRoles */ setProjectRoles(input: SetUserProjectRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetPartnerAppRoles */ setPartnerAppRoles(input: SetUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetConnectionRoles */ setConnectionRoles(input: SetUserConnectionRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetAttachmentTypeRoles */ setAttachmentTypeRoles(input: SetUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceTwoFA */ forceTwoFA(input: ForceTwoFAOrganisationRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ForceProjectUserTwoFA */ forceProjectUserTwoFA(input: ForceProjectUserTwoFARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdatePlatformTwoFA */ updatePlatformTwoFA(input: UpdateTwoFAPlatformRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.UserService */ export class UserServiceClient implements IUserServiceClient, ServiceInfo { typeName = UserService.typeName; methods = UserService.methods; options = UserService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: EnrollUser */ enrollUser(input: EnrollUserRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: EnrollUserWithoutMail */ enrollUserWithoutMail(input: EnrollUserWithoutMailRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SendVerificationMail */ sendVerificationMail(input: SendVerificationMailRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SendVerificationMailAs */ sendVerificationMailAs(input: SendVerificationMailAsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: EnrollProjectUser */ enrollProjectUser(input: EnrollUserProjectRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: EnrollProjectUserWithoutMail */ enrollProjectUserWithoutMail(input: EnrollUserProjectWithoutMailRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SendVerificationMailProject */ sendVerificationMailProject(input: SendVerificationMailProjectRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: RemoveUser */ removeUser(input: RemoveUserRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CreateSA */ createSA(input: CreateSARequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: RenewSA */ renewSA(input: RenewSARequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: RemoveSA */ removeSA(input: RemoveSARequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SuggestSAName */ suggestSAName(input: SuggestSANameRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CreateProjectSA */ createProjectSA(input: CreateProjectSARequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: RenewProjectSA */ renewProjectSA(input: RenewProjectSARequest, options?: RpcOptions): UnaryCall { const method = this.methods[13], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: RemoveProjectSA */ removeProjectSA(input: RemoveProjectSARequest, options?: RpcOptions): UnaryCall { const method = this.methods[14], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SuggestProjectSAName */ suggestProjectSAName(input: SuggestProjectSANameRequest, options?: RpcOptions): UnaryCall { const method = this.methods[15], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListPlatformUsers */ listPlatformUsers(input: ListPlatformUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[16], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListOrganisationUsers */ listOrganisationUsers(input: ListOrganisationUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListProjectUsers */ listProjectUsers(input: ListProjectUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[18], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListPartnerAppUsers */ listPartnerAppUsers(input: ListPartnerAppUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[19], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListConnectionUsers */ listConnectionUsers(input: ListConnectionUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[20], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindPlatformUsers */ findPlatformUsers(input: FindPlatformUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[21], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindOrganisationUsers */ findOrganisationUsers(input: FindOrganisationUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[22], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindProjectUsers */ findProjectUsers(input: FindProjectUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[23], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindPartnerAppUsers */ findPartnerAppUsers(input: FindPartnerAppUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[24], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindConnectionUsers */ findConnectionUsers(input: FindConnectionUsersRequest, options?: RpcOptions): UnaryCall { const method = this.methods[25], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListUsersInPlatformRole */ listUsersInPlatformRole(input: ListUsersInPlatformRoleRequest, options?: RpcOptions): UnaryCall { const method = this.methods[26], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListUsersInOrganisationRole */ listUsersInOrganisationRole(input: ListUsersInOrganisationRoleRequest, options?: RpcOptions): UnaryCall { const method = this.methods[27], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListUsersInProjectRole */ listUsersInProjectRole(input: ListUsersInProjectRoleRequest, options?: RpcOptions): UnaryCall { const method = this.methods[28], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListUsersInPartnerAppRole */ listUsersInPartnerAppRole(input: ListUsersInPartnerAppRoleRequest, options?: RpcOptions): UnaryCall { const method = this.methods[29], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListUsersInConnectionRole */ listUsersInConnectionRole(input: ListUsersInConnectionRoleRequest, options?: RpcOptions): UnaryCall { const method = this.methods[30], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetPlatformUser */ getPlatformUser(input: GetPlatformUserRequest, options?: RpcOptions): UnaryCall { const method = this.methods[31], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetPlatformUserByMail */ getPlatformUserByMail(input: GetPlatformUserByMailRequest, options?: RpcOptions): UnaryCall { const method = this.methods[32], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetOrganisationUser */ getOrganisationUser(input: GetOrganisationUserRequest, options?: RpcOptions): UnaryCall { const method = this.methods[33], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetProjectUser */ getProjectUser(input: GetProjectUserRequest, options?: RpcOptions): UnaryCall { const method = this.methods[34], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetProjectUserByMail */ getProjectUserByMail(input: GetProjectUserByMailRequest, options?: RpcOptions): UnaryCall { const method = this.methods[35], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListPlatformRoles */ listPlatformRoles(input: ListUserPlatformRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[36], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListOrganisationRoles */ listOrganisationRoles(input: ListUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[37], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListProjectRoles */ listProjectRoles(input: ListUserProjectRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[38], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListPartnerAppRoles */ listPartnerAppRoles(input: ListUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[39], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListConnectionRoles */ listConnectionRoles(input: ListUserConnectionRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[40], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListAttachmentTypeRoles */ listAttachmentTypeRoles(input: ListUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[41], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetPlatformRoles */ setPlatformRoles(input: SetUserPlatformRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[42], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetOrganisationRoles */ setOrganisationRoles(input: SetUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[43], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetProjectRoles */ setProjectRoles(input: SetUserProjectRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[44], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetPartnerAppRoles */ setPartnerAppRoles(input: SetUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[45], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetConnectionRoles */ setConnectionRoles(input: SetUserConnectionRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[46], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetAttachmentTypeRoles */ setAttachmentTypeRoles(input: SetUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall { const method = this.methods[47], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ForceTwoFA */ forceTwoFA(input: ForceTwoFAOrganisationRequest, options?: RpcOptions): UnaryCall { const method = this.methods[48], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ForceProjectUserTwoFA */ forceProjectUserTwoFA(input: ForceProjectUserTwoFARequest, options?: RpcOptions): UnaryCall { const method = this.methods[49], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: UpdatePlatformTwoFA */ updatePlatformTwoFA(input: UpdateTwoFAPlatformRequest, options?: RpcOptions): UnaryCall { const method = this.methods[50], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }