You've already forked npm-core-sdk
697 lines
40 KiB
TypeScript
697 lines
40 KiB
TypeScript
// @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 { SetUserSiteRolesResult } from "./user";
|
|
import type { SetUserSiteRolesRequest } 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 { ListUserSiteRolesResult } from "./user";
|
|
import type { ListUserSiteRolesRequest } 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 { GetSiteUserResult } from "./user";
|
|
import type { GetSiteUserRequest } from "./user";
|
|
import type { GetProjectUserResult } from "./user";
|
|
import type { GetProjectUserRequest } from "./user";
|
|
import type { GetOrganisationUserResult } from "./user";
|
|
import type { GetOrganisationUserRequest } from "./user";
|
|
import type { GetPlatformUserResult } from "./user";
|
|
import type { GetPlatformUserRequest } from "./user";
|
|
import type { ListUsersInSiteRoleRequest } 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 { FindSitesResult } from "./user";
|
|
import type { FindSiteUsersRequest } 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 { ListSiteUsersResult } from "./user";
|
|
import type { ListSiteUsersRequest } 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 { 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 { EnrollUserSiteWithoutMailRequest } from "./user";
|
|
import type { EnrollUserSiteRequest } 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<EnrollUserRequest, EnrollUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: EnrollUserWithoutMail
|
|
*/
|
|
enrollUserWithoutMail(input: EnrollUserWithoutMailRequest, options?: RpcOptions): UnaryCall<EnrollUserWithoutMailRequest, EnrollUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SendVerificationMail
|
|
*/
|
|
sendVerificationMail(input: SendVerificationMailRequest, options?: RpcOptions): UnaryCall<SendVerificationMailRequest, SendVerificationMailResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SendVerificationMailAs
|
|
*/
|
|
sendVerificationMailAs(input: SendVerificationMailAsRequest, options?: RpcOptions): UnaryCall<SendVerificationMailAsRequest, SendVerificationMailResult>;
|
|
/**
|
|
* @generated from protobuf rpc: EnrollProjectUser
|
|
*/
|
|
enrollProjectUser(input: EnrollUserProjectRequest, options?: RpcOptions): UnaryCall<EnrollUserProjectRequest, EnrollUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: EnrollProjectUserWithoutMail
|
|
*/
|
|
enrollProjectUserWithoutMail(input: EnrollUserProjectWithoutMailRequest, options?: RpcOptions): UnaryCall<EnrollUserProjectWithoutMailRequest, EnrollUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: EnrollSiteUser
|
|
*/
|
|
enrollSiteUser(input: EnrollUserSiteRequest, options?: RpcOptions): UnaryCall<EnrollUserSiteRequest, EnrollUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: EnrollSiteUserWithoutMail
|
|
*/
|
|
enrollSiteUserWithoutMail(input: EnrollUserSiteWithoutMailRequest, options?: RpcOptions): UnaryCall<EnrollUserSiteWithoutMailRequest, EnrollUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SendVerificationMailProject
|
|
*/
|
|
sendVerificationMailProject(input: SendVerificationMailProjectRequest, options?: RpcOptions): UnaryCall<SendVerificationMailProjectRequest, SendVerificationMailResult>;
|
|
/**
|
|
* @generated from protobuf rpc: RemoveUser
|
|
*/
|
|
removeUser(input: RemoveUserRequest, options?: RpcOptions): UnaryCall<RemoveUserRequest, RemoveUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CreateSA
|
|
*/
|
|
createSA(input: CreateSARequest, options?: RpcOptions): UnaryCall<CreateSARequest, CreateSAResult>;
|
|
/**
|
|
* @generated from protobuf rpc: RenewSA
|
|
*/
|
|
renewSA(input: RenewSARequest, options?: RpcOptions): UnaryCall<RenewSARequest, RenewSAResult>;
|
|
/**
|
|
* @generated from protobuf rpc: RemoveSA
|
|
*/
|
|
removeSA(input: RemoveSARequest, options?: RpcOptions): UnaryCall<RemoveSARequest, RemoveSAResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SuggestSAName
|
|
*/
|
|
suggestSAName(input: SuggestSANameRequest, options?: RpcOptions): UnaryCall<SuggestSANameRequest, SuggestSANameResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListPlatformUsers
|
|
*/
|
|
listPlatformUsers(input: ListPlatformUsersRequest, options?: RpcOptions): UnaryCall<ListPlatformUsersRequest, ListPlatformUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListOrganisationUsers
|
|
*/
|
|
listOrganisationUsers(input: ListOrganisationUsersRequest, options?: RpcOptions): UnaryCall<ListOrganisationUsersRequest, ListOrganisationUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListProjectUsers
|
|
*/
|
|
listProjectUsers(input: ListProjectUsersRequest, options?: RpcOptions): UnaryCall<ListProjectUsersRequest, ListProjectUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListPartnerAppUsers
|
|
*/
|
|
listPartnerAppUsers(input: ListPartnerAppUsersRequest, options?: RpcOptions): UnaryCall<ListPartnerAppUsersRequest, ListPartnerAppUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListConnectionUsers
|
|
*/
|
|
listConnectionUsers(input: ListConnectionUsersRequest, options?: RpcOptions): UnaryCall<ListConnectionUsersRequest, ListConnectionUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListSiteUsers
|
|
*/
|
|
listSiteUsers(input: ListSiteUsersRequest, options?: RpcOptions): UnaryCall<ListSiteUsersRequest, ListSiteUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindPlatformUsers
|
|
*/
|
|
findPlatformUsers(input: FindPlatformUsersRequest, options?: RpcOptions): UnaryCall<FindPlatformUsersRequest, FindUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindOrganisationUsers
|
|
*/
|
|
findOrganisationUsers(input: FindOrganisationUsersRequest, options?: RpcOptions): UnaryCall<FindOrganisationUsersRequest, FindUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindProjectUsers
|
|
*/
|
|
findProjectUsers(input: FindProjectUsersRequest, options?: RpcOptions): UnaryCall<FindProjectUsersRequest, FindUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindPartnerAppUsers
|
|
*/
|
|
findPartnerAppUsers(input: FindPartnerAppUsersRequest, options?: RpcOptions): UnaryCall<FindPartnerAppUsersRequest, FindUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindConnectionUsers
|
|
*/
|
|
findConnectionUsers(input: FindConnectionUsersRequest, options?: RpcOptions): UnaryCall<FindConnectionUsersRequest, FindUsersResult>;
|
|
/**
|
|
* @generated from protobuf rpc: FindSiteUsers
|
|
*/
|
|
findSiteUsers(input: FindSiteUsersRequest, options?: RpcOptions): UnaryCall<FindSiteUsersRequest, FindSitesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInPlatformRole
|
|
*/
|
|
listUsersInPlatformRole(input: ListUsersInPlatformRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInPlatformRoleRequest, ListUsersInRoleResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInOrganisationRole
|
|
*/
|
|
listUsersInOrganisationRole(input: ListUsersInOrganisationRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInOrganisationRoleRequest, ListUsersInRoleResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInProjectRole
|
|
*/
|
|
listUsersInProjectRole(input: ListUsersInProjectRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInProjectRoleRequest, ListUsersInRoleResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInPartnerAppRole
|
|
*/
|
|
listUsersInPartnerAppRole(input: ListUsersInPartnerAppRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInPartnerAppRoleRequest, ListUsersInRoleResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInConnectionRole
|
|
*/
|
|
listUsersInConnectionRole(input: ListUsersInConnectionRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInConnectionRoleRequest, ListUsersInRoleResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInSiteRole
|
|
*/
|
|
listUsersInSiteRole(input: ListUsersInSiteRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInSiteRoleRequest, ListUsersInRoleResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetPlatformUser
|
|
*/
|
|
getPlatformUser(input: GetPlatformUserRequest, options?: RpcOptions): UnaryCall<GetPlatformUserRequest, GetPlatformUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetOrganisationUser
|
|
*/
|
|
getOrganisationUser(input: GetOrganisationUserRequest, options?: RpcOptions): UnaryCall<GetOrganisationUserRequest, GetOrganisationUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetProjectUser
|
|
*/
|
|
getProjectUser(input: GetProjectUserRequest, options?: RpcOptions): UnaryCall<GetProjectUserRequest, GetProjectUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetSiteUser
|
|
*/
|
|
getSiteUser(input: GetSiteUserRequest, options?: RpcOptions): UnaryCall<GetSiteUserRequest, GetSiteUserResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListPlatformRoles
|
|
*/
|
|
listPlatformRoles(input: ListUserPlatformRolesRequest, options?: RpcOptions): UnaryCall<ListUserPlatformRolesRequest, ListUserPlatformRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListOrganisationRoles
|
|
*/
|
|
listOrganisationRoles(input: ListUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall<ListUserOrganisationRolesRequest, ListUserOrganisationRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListProjectRoles
|
|
*/
|
|
listProjectRoles(input: ListUserProjectRolesRequest, options?: RpcOptions): UnaryCall<ListUserProjectRolesRequest, ListUserProjectRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListPartnerAppRoles
|
|
*/
|
|
listPartnerAppRoles(input: ListUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall<ListUserPartnerAppRolesRequest, ListUserPartnerAppRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListConnectionRoles
|
|
*/
|
|
listConnectionRoles(input: ListUserConnectionRolesRequest, options?: RpcOptions): UnaryCall<ListUserConnectionRolesRequest, ListUserConnectionRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListAttachmentTypeRoles
|
|
*/
|
|
listAttachmentTypeRoles(input: ListUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<ListUserAttachmentTypeRolesRequest, ListUserAttachmentTypeRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ListSiteRoles
|
|
*/
|
|
listSiteRoles(input: ListUserSiteRolesRequest, options?: RpcOptions): UnaryCall<ListUserSiteRolesRequest, ListUserSiteRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetPlatformRoles
|
|
*/
|
|
setPlatformRoles(input: SetUserPlatformRolesRequest, options?: RpcOptions): UnaryCall<SetUserPlatformRolesRequest, SetUserPlatformRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetOrganisationRoles
|
|
*/
|
|
setOrganisationRoles(input: SetUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall<SetUserOrganisationRolesRequest, SetUserOrganisationRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetProjectRoles
|
|
*/
|
|
setProjectRoles(input: SetUserProjectRolesRequest, options?: RpcOptions): UnaryCall<SetUserProjectRolesRequest, SetUserProjectRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetPartnerAppRoles
|
|
*/
|
|
setPartnerAppRoles(input: SetUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall<SetUserPartnerAppRolesRequest, SetUserPartnerAppRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetConnectionRoles
|
|
*/
|
|
setConnectionRoles(input: SetUserConnectionRolesRequest, options?: RpcOptions): UnaryCall<SetUserConnectionRolesRequest, SetUserConnectionRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetAttachmentTypeRoles
|
|
*/
|
|
setAttachmentTypeRoles(input: SetUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<SetUserAttachmentTypeRolesRequest, SetUserAttachmentTypeRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: SetSiteRoles
|
|
*/
|
|
setSiteRoles(input: SetUserSiteRolesRequest, options?: RpcOptions): UnaryCall<SetUserSiteRolesRequest, SetUserSiteRolesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ForceTwoFA
|
|
*/
|
|
forceTwoFA(input: ForceTwoFAOrganisationRequest, options?: RpcOptions): UnaryCall<ForceTwoFAOrganisationRequest, ForceTwoFAResult>;
|
|
/**
|
|
* @generated from protobuf rpc: ForceProjectUserTwoFA
|
|
*/
|
|
forceProjectUserTwoFA(input: ForceProjectUserTwoFARequest, options?: RpcOptions): UnaryCall<ForceProjectUserTwoFARequest, ForceTwoFAResult>;
|
|
/**
|
|
* @generated from protobuf rpc: UpdatePlatformTwoFA
|
|
*/
|
|
updatePlatformTwoFA(input: UpdateTwoFAPlatformRequest, options?: RpcOptions): UnaryCall<UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult>;
|
|
}
|
|
/**
|
|
* @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<EnrollUserRequest, EnrollUserResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<EnrollUserRequest, EnrollUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: EnrollUserWithoutMail
|
|
*/
|
|
enrollUserWithoutMail(input: EnrollUserWithoutMailRequest, options?: RpcOptions): UnaryCall<EnrollUserWithoutMailRequest, EnrollUserResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<EnrollUserWithoutMailRequest, EnrollUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SendVerificationMail
|
|
*/
|
|
sendVerificationMail(input: SendVerificationMailRequest, options?: RpcOptions): UnaryCall<SendVerificationMailRequest, SendVerificationMailResult> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SendVerificationMailRequest, SendVerificationMailResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SendVerificationMailAs
|
|
*/
|
|
sendVerificationMailAs(input: SendVerificationMailAsRequest, options?: RpcOptions): UnaryCall<SendVerificationMailAsRequest, SendVerificationMailResult> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SendVerificationMailAsRequest, SendVerificationMailResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: EnrollProjectUser
|
|
*/
|
|
enrollProjectUser(input: EnrollUserProjectRequest, options?: RpcOptions): UnaryCall<EnrollUserProjectRequest, EnrollUserResult> {
|
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<EnrollUserProjectRequest, EnrollUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: EnrollProjectUserWithoutMail
|
|
*/
|
|
enrollProjectUserWithoutMail(input: EnrollUserProjectWithoutMailRequest, options?: RpcOptions): UnaryCall<EnrollUserProjectWithoutMailRequest, EnrollUserResult> {
|
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<EnrollUserProjectWithoutMailRequest, EnrollUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: EnrollSiteUser
|
|
*/
|
|
enrollSiteUser(input: EnrollUserSiteRequest, options?: RpcOptions): UnaryCall<EnrollUserSiteRequest, EnrollUserResult> {
|
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<EnrollUserSiteRequest, EnrollUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: EnrollSiteUserWithoutMail
|
|
*/
|
|
enrollSiteUserWithoutMail(input: EnrollUserSiteWithoutMailRequest, options?: RpcOptions): UnaryCall<EnrollUserSiteWithoutMailRequest, EnrollUserResult> {
|
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<EnrollUserSiteWithoutMailRequest, EnrollUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SendVerificationMailProject
|
|
*/
|
|
sendVerificationMailProject(input: SendVerificationMailProjectRequest, options?: RpcOptions): UnaryCall<SendVerificationMailProjectRequest, SendVerificationMailResult> {
|
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SendVerificationMailProjectRequest, SendVerificationMailResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: RemoveUser
|
|
*/
|
|
removeUser(input: RemoveUserRequest, options?: RpcOptions): UnaryCall<RemoveUserRequest, RemoveUserResult> {
|
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<RemoveUserRequest, RemoveUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CreateSA
|
|
*/
|
|
createSA(input: CreateSARequest, options?: RpcOptions): UnaryCall<CreateSARequest, CreateSAResult> {
|
|
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CreateSARequest, CreateSAResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: RenewSA
|
|
*/
|
|
renewSA(input: RenewSARequest, options?: RpcOptions): UnaryCall<RenewSARequest, RenewSAResult> {
|
|
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<RenewSARequest, RenewSAResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: RemoveSA
|
|
*/
|
|
removeSA(input: RemoveSARequest, options?: RpcOptions): UnaryCall<RemoveSARequest, RemoveSAResult> {
|
|
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<RemoveSARequest, RemoveSAResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SuggestSAName
|
|
*/
|
|
suggestSAName(input: SuggestSANameRequest, options?: RpcOptions): UnaryCall<SuggestSANameRequest, SuggestSANameResult> {
|
|
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SuggestSANameRequest, SuggestSANameResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListPlatformUsers
|
|
*/
|
|
listPlatformUsers(input: ListPlatformUsersRequest, options?: RpcOptions): UnaryCall<ListPlatformUsersRequest, ListPlatformUsersResult> {
|
|
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListPlatformUsersRequest, ListPlatformUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListOrganisationUsers
|
|
*/
|
|
listOrganisationUsers(input: ListOrganisationUsersRequest, options?: RpcOptions): UnaryCall<ListOrganisationUsersRequest, ListOrganisationUsersResult> {
|
|
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListOrganisationUsersRequest, ListOrganisationUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListProjectUsers
|
|
*/
|
|
listProjectUsers(input: ListProjectUsersRequest, options?: RpcOptions): UnaryCall<ListProjectUsersRequest, ListProjectUsersResult> {
|
|
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListProjectUsersRequest, ListProjectUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListPartnerAppUsers
|
|
*/
|
|
listPartnerAppUsers(input: ListPartnerAppUsersRequest, options?: RpcOptions): UnaryCall<ListPartnerAppUsersRequest, ListPartnerAppUsersResult> {
|
|
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListPartnerAppUsersRequest, ListPartnerAppUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListConnectionUsers
|
|
*/
|
|
listConnectionUsers(input: ListConnectionUsersRequest, options?: RpcOptions): UnaryCall<ListConnectionUsersRequest, ListConnectionUsersResult> {
|
|
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListConnectionUsersRequest, ListConnectionUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListSiteUsers
|
|
*/
|
|
listSiteUsers(input: ListSiteUsersRequest, options?: RpcOptions): UnaryCall<ListSiteUsersRequest, ListSiteUsersResult> {
|
|
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListSiteUsersRequest, ListSiteUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindPlatformUsers
|
|
*/
|
|
findPlatformUsers(input: FindPlatformUsersRequest, options?: RpcOptions): UnaryCall<FindPlatformUsersRequest, FindUsersResult> {
|
|
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindPlatformUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindOrganisationUsers
|
|
*/
|
|
findOrganisationUsers(input: FindOrganisationUsersRequest, options?: RpcOptions): UnaryCall<FindOrganisationUsersRequest, FindUsersResult> {
|
|
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindOrganisationUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindProjectUsers
|
|
*/
|
|
findProjectUsers(input: FindProjectUsersRequest, options?: RpcOptions): UnaryCall<FindProjectUsersRequest, FindUsersResult> {
|
|
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindProjectUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindPartnerAppUsers
|
|
*/
|
|
findPartnerAppUsers(input: FindPartnerAppUsersRequest, options?: RpcOptions): UnaryCall<FindPartnerAppUsersRequest, FindUsersResult> {
|
|
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindPartnerAppUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindConnectionUsers
|
|
*/
|
|
findConnectionUsers(input: FindConnectionUsersRequest, options?: RpcOptions): UnaryCall<FindConnectionUsersRequest, FindUsersResult> {
|
|
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindConnectionUsersRequest, FindUsersResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: FindSiteUsers
|
|
*/
|
|
findSiteUsers(input: FindSiteUsersRequest, options?: RpcOptions): UnaryCall<FindSiteUsersRequest, FindSitesResult> {
|
|
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<FindSiteUsersRequest, FindSitesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInPlatformRole
|
|
*/
|
|
listUsersInPlatformRole(input: ListUsersInPlatformRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInPlatformRoleRequest, ListUsersInRoleResult> {
|
|
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUsersInPlatformRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInOrganisationRole
|
|
*/
|
|
listUsersInOrganisationRole(input: ListUsersInOrganisationRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInOrganisationRoleRequest, ListUsersInRoleResult> {
|
|
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUsersInOrganisationRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInProjectRole
|
|
*/
|
|
listUsersInProjectRole(input: ListUsersInProjectRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInProjectRoleRequest, ListUsersInRoleResult> {
|
|
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUsersInProjectRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInPartnerAppRole
|
|
*/
|
|
listUsersInPartnerAppRole(input: ListUsersInPartnerAppRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInPartnerAppRoleRequest, ListUsersInRoleResult> {
|
|
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUsersInPartnerAppRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInConnectionRole
|
|
*/
|
|
listUsersInConnectionRole(input: ListUsersInConnectionRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInConnectionRoleRequest, ListUsersInRoleResult> {
|
|
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUsersInConnectionRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListUsersInSiteRole
|
|
*/
|
|
listUsersInSiteRole(input: ListUsersInSiteRoleRequest, options?: RpcOptions): UnaryCall<ListUsersInSiteRoleRequest, ListUsersInRoleResult> {
|
|
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUsersInSiteRoleRequest, ListUsersInRoleResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetPlatformUser
|
|
*/
|
|
getPlatformUser(input: GetPlatformUserRequest, options?: RpcOptions): UnaryCall<GetPlatformUserRequest, GetPlatformUserResult> {
|
|
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetPlatformUserRequest, GetPlatformUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetOrganisationUser
|
|
*/
|
|
getOrganisationUser(input: GetOrganisationUserRequest, options?: RpcOptions): UnaryCall<GetOrganisationUserRequest, GetOrganisationUserResult> {
|
|
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetOrganisationUserRequest, GetOrganisationUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetProjectUser
|
|
*/
|
|
getProjectUser(input: GetProjectUserRequest, options?: RpcOptions): UnaryCall<GetProjectUserRequest, GetProjectUserResult> {
|
|
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetProjectUserRequest, GetProjectUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetSiteUser
|
|
*/
|
|
getSiteUser(input: GetSiteUserRequest, options?: RpcOptions): UnaryCall<GetSiteUserRequest, GetSiteUserResult> {
|
|
const method = this.methods[35], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetSiteUserRequest, GetSiteUserResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListPlatformRoles
|
|
*/
|
|
listPlatformRoles(input: ListUserPlatformRolesRequest, options?: RpcOptions): UnaryCall<ListUserPlatformRolesRequest, ListUserPlatformRolesResult> {
|
|
const method = this.methods[36], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUserPlatformRolesRequest, ListUserPlatformRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListOrganisationRoles
|
|
*/
|
|
listOrganisationRoles(input: ListUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall<ListUserOrganisationRolesRequest, ListUserOrganisationRolesResult> {
|
|
const method = this.methods[37], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUserOrganisationRolesRequest, ListUserOrganisationRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListProjectRoles
|
|
*/
|
|
listProjectRoles(input: ListUserProjectRolesRequest, options?: RpcOptions): UnaryCall<ListUserProjectRolesRequest, ListUserProjectRolesResult> {
|
|
const method = this.methods[38], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUserProjectRolesRequest, ListUserProjectRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListPartnerAppRoles
|
|
*/
|
|
listPartnerAppRoles(input: ListUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall<ListUserPartnerAppRolesRequest, ListUserPartnerAppRolesResult> {
|
|
const method = this.methods[39], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUserPartnerAppRolesRequest, ListUserPartnerAppRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListConnectionRoles
|
|
*/
|
|
listConnectionRoles(input: ListUserConnectionRolesRequest, options?: RpcOptions): UnaryCall<ListUserConnectionRolesRequest, ListUserConnectionRolesResult> {
|
|
const method = this.methods[40], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUserConnectionRolesRequest, ListUserConnectionRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListAttachmentTypeRoles
|
|
*/
|
|
listAttachmentTypeRoles(input: ListUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<ListUserAttachmentTypeRolesRequest, ListUserAttachmentTypeRolesResult> {
|
|
const method = this.methods[41], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUserAttachmentTypeRolesRequest, ListUserAttachmentTypeRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ListSiteRoles
|
|
*/
|
|
listSiteRoles(input: ListUserSiteRolesRequest, options?: RpcOptions): UnaryCall<ListUserSiteRolesRequest, ListUserSiteRolesResult> {
|
|
const method = this.methods[42], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListUserSiteRolesRequest, ListUserSiteRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetPlatformRoles
|
|
*/
|
|
setPlatformRoles(input: SetUserPlatformRolesRequest, options?: RpcOptions): UnaryCall<SetUserPlatformRolesRequest, SetUserPlatformRolesResult> {
|
|
const method = this.methods[43], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetUserPlatformRolesRequest, SetUserPlatformRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetOrganisationRoles
|
|
*/
|
|
setOrganisationRoles(input: SetUserOrganisationRolesRequest, options?: RpcOptions): UnaryCall<SetUserOrganisationRolesRequest, SetUserOrganisationRolesResult> {
|
|
const method = this.methods[44], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetUserOrganisationRolesRequest, SetUserOrganisationRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetProjectRoles
|
|
*/
|
|
setProjectRoles(input: SetUserProjectRolesRequest, options?: RpcOptions): UnaryCall<SetUserProjectRolesRequest, SetUserProjectRolesResult> {
|
|
const method = this.methods[45], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetUserProjectRolesRequest, SetUserProjectRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetPartnerAppRoles
|
|
*/
|
|
setPartnerAppRoles(input: SetUserPartnerAppRolesRequest, options?: RpcOptions): UnaryCall<SetUserPartnerAppRolesRequest, SetUserPartnerAppRolesResult> {
|
|
const method = this.methods[46], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetUserPartnerAppRolesRequest, SetUserPartnerAppRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetConnectionRoles
|
|
*/
|
|
setConnectionRoles(input: SetUserConnectionRolesRequest, options?: RpcOptions): UnaryCall<SetUserConnectionRolesRequest, SetUserConnectionRolesResult> {
|
|
const method = this.methods[47], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetUserConnectionRolesRequest, SetUserConnectionRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetAttachmentTypeRoles
|
|
*/
|
|
setAttachmentTypeRoles(input: SetUserAttachmentTypeRolesRequest, options?: RpcOptions): UnaryCall<SetUserAttachmentTypeRolesRequest, SetUserAttachmentTypeRolesResult> {
|
|
const method = this.methods[48], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetUserAttachmentTypeRolesRequest, SetUserAttachmentTypeRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: SetSiteRoles
|
|
*/
|
|
setSiteRoles(input: SetUserSiteRolesRequest, options?: RpcOptions): UnaryCall<SetUserSiteRolesRequest, SetUserSiteRolesResult> {
|
|
const method = this.methods[49], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<SetUserSiteRolesRequest, SetUserSiteRolesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ForceTwoFA
|
|
*/
|
|
forceTwoFA(input: ForceTwoFAOrganisationRequest, options?: RpcOptions): UnaryCall<ForceTwoFAOrganisationRequest, ForceTwoFAResult> {
|
|
const method = this.methods[50], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ForceTwoFAOrganisationRequest, ForceTwoFAResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: ForceProjectUserTwoFA
|
|
*/
|
|
forceProjectUserTwoFA(input: ForceProjectUserTwoFARequest, options?: RpcOptions): UnaryCall<ForceProjectUserTwoFARequest, ForceTwoFAResult> {
|
|
const method = this.methods[51], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ForceProjectUserTwoFARequest, ForceTwoFAResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: UpdatePlatformTwoFA
|
|
*/
|
|
updatePlatformTwoFA(input: UpdateTwoFAPlatformRequest, options?: RpcOptions): UnaryCall<UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult> {
|
|
const method = this.methods[52], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|