You've already forked npm-core-sdk
423 lines
13 KiB
TypeScript
423 lines
13 KiB
TypeScript
// @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts"
|
|
// @generated from file user.proto (package api, syntax proto3)
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { CreateSARequest, CreateSAResult, EnrollUserProjectRequest, EnrollUserProjectWithoutMailRequest, EnrollUserRequest, EnrollUserResult, EnrollUserWithoutMailRequest, FindConnectionUsersRequest, FindOrganisationUsersRequest, FindPartnerAppUsersRequest, FindPlatformUsersRequest, FindProjectUsersRequest, FindUsersResult, ForceProjectUserTwoFARequest, ForceTwoFAOrganisationRequest, ForceTwoFAResult, GetOrganisationUserRequest, GetOrganisationUserResult, GetPlatformUserRequest, GetPlatformUserResult, GetProjectUserRequest, GetProjectUserResult, ListConnectionUsersRequest, ListConnectionUsersResult, ListOrganisationUsersRequest, ListOrganisationUsersResult, ListPartnerAppUsersRequest, ListPartnerAppUsersResult, ListPlatformUsersRequest, ListPlatformUsersResult, ListProjectUsersRequest, ListProjectUsersResult, ListUserAttachmentTypeRolesRequest, ListUserAttachmentTypeRolesResult, ListUserConnectionRolesRequest, ListUserConnectionRolesResult, ListUserOrganisationRolesRequest, ListUserOrganisationRolesResult, ListUserPartnerAppRolesRequest, ListUserPartnerAppRolesResult, ListUserPlatformRolesRequest, ListUserPlatformRolesResult, ListUserProjectRolesRequest, ListUserProjectRolesResult, ListUsersInConnectionRoleRequest, ListUsersInOrganisationRoleRequest, ListUsersInPartnerAppRoleRequest, ListUsersInPlatformRoleRequest, ListUsersInProjectRoleRequest, ListUsersInRoleResult, RemoveSARequest, RemoveSAResult, RemoveUserRequest, RemoveUserResult, RenewSARequest, RenewSAResult, SendVerificationMailAsRequest, SendVerificationMailProjectRequest, SendVerificationMailRequest, SendVerificationMailResult, SetUserAttachmentTypeRolesRequest, SetUserAttachmentTypeRolesResult, SetUserConnectionRolesRequest, SetUserConnectionRolesResult, SetUserOrganisationRolesRequest, SetUserOrganisationRolesResult, SetUserPartnerAppRolesRequest, SetUserPartnerAppRolesResult, SetUserPlatformRolesRequest, SetUserPlatformRolesResult, SetUserProjectRolesRequest, SetUserProjectRolesResult, SuggestSANameRequest, SuggestSANameResult, UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult } from "./user_pb.js";
|
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* @generated from service api.UserService
|
|
*/
|
|
export const UserService = {
|
|
typeName: "api.UserService",
|
|
methods: {
|
|
/**
|
|
* @generated from rpc api.UserService.EnrollUser
|
|
*/
|
|
enrollUser: {
|
|
name: "EnrollUser",
|
|
I: EnrollUserRequest,
|
|
O: EnrollUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.EnrollUserWithoutMail
|
|
*/
|
|
enrollUserWithoutMail: {
|
|
name: "EnrollUserWithoutMail",
|
|
I: EnrollUserWithoutMailRequest,
|
|
O: EnrollUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SendVerificationMail
|
|
*/
|
|
sendVerificationMail: {
|
|
name: "SendVerificationMail",
|
|
I: SendVerificationMailRequest,
|
|
O: SendVerificationMailResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SendVerificationMailAs
|
|
*/
|
|
sendVerificationMailAs: {
|
|
name: "SendVerificationMailAs",
|
|
I: SendVerificationMailAsRequest,
|
|
O: SendVerificationMailResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.EnrollProjectUser
|
|
*/
|
|
enrollProjectUser: {
|
|
name: "EnrollProjectUser",
|
|
I: EnrollUserProjectRequest,
|
|
O: EnrollUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.EnrollProjectUserWithoutMail
|
|
*/
|
|
enrollProjectUserWithoutMail: {
|
|
name: "EnrollProjectUserWithoutMail",
|
|
I: EnrollUserProjectWithoutMailRequest,
|
|
O: EnrollUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SendVerificationMailProject
|
|
*/
|
|
sendVerificationMailProject: {
|
|
name: "SendVerificationMailProject",
|
|
I: SendVerificationMailProjectRequest,
|
|
O: SendVerificationMailResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.RemoveUser
|
|
*/
|
|
removeUser: {
|
|
name: "RemoveUser",
|
|
I: RemoveUserRequest,
|
|
O: RemoveUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.CreateSA
|
|
*/
|
|
createSA: {
|
|
name: "CreateSA",
|
|
I: CreateSARequest,
|
|
O: CreateSAResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.RenewSA
|
|
*/
|
|
renewSA: {
|
|
name: "RenewSA",
|
|
I: RenewSARequest,
|
|
O: RenewSAResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.RemoveSA
|
|
*/
|
|
removeSA: {
|
|
name: "RemoveSA",
|
|
I: RemoveSARequest,
|
|
O: RemoveSAResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SuggestSAName
|
|
*/
|
|
suggestSAName: {
|
|
name: "SuggestSAName",
|
|
I: SuggestSANameRequest,
|
|
O: SuggestSANameResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListPlatformUsers
|
|
*/
|
|
listPlatformUsers: {
|
|
name: "ListPlatformUsers",
|
|
I: ListPlatformUsersRequest,
|
|
O: ListPlatformUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListOrganisationUsers
|
|
*/
|
|
listOrganisationUsers: {
|
|
name: "ListOrganisationUsers",
|
|
I: ListOrganisationUsersRequest,
|
|
O: ListOrganisationUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListProjectUsers
|
|
*/
|
|
listProjectUsers: {
|
|
name: "ListProjectUsers",
|
|
I: ListProjectUsersRequest,
|
|
O: ListProjectUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListPartnerAppUsers
|
|
*/
|
|
listPartnerAppUsers: {
|
|
name: "ListPartnerAppUsers",
|
|
I: ListPartnerAppUsersRequest,
|
|
O: ListPartnerAppUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListConnectionUsers
|
|
*/
|
|
listConnectionUsers: {
|
|
name: "ListConnectionUsers",
|
|
I: ListConnectionUsersRequest,
|
|
O: ListConnectionUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.FindPlatformUsers
|
|
*/
|
|
findPlatformUsers: {
|
|
name: "FindPlatformUsers",
|
|
I: FindPlatformUsersRequest,
|
|
O: FindUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.FindOrganisationUsers
|
|
*/
|
|
findOrganisationUsers: {
|
|
name: "FindOrganisationUsers",
|
|
I: FindOrganisationUsersRequest,
|
|
O: FindUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.FindProjectUsers
|
|
*/
|
|
findProjectUsers: {
|
|
name: "FindProjectUsers",
|
|
I: FindProjectUsersRequest,
|
|
O: FindUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.FindPartnerAppUsers
|
|
*/
|
|
findPartnerAppUsers: {
|
|
name: "FindPartnerAppUsers",
|
|
I: FindPartnerAppUsersRequest,
|
|
O: FindUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.FindConnectionUsers
|
|
*/
|
|
findConnectionUsers: {
|
|
name: "FindConnectionUsers",
|
|
I: FindConnectionUsersRequest,
|
|
O: FindUsersResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListUsersInPlatformRole
|
|
*/
|
|
listUsersInPlatformRole: {
|
|
name: "ListUsersInPlatformRole",
|
|
I: ListUsersInPlatformRoleRequest,
|
|
O: ListUsersInRoleResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListUsersInOrganisationRole
|
|
*/
|
|
listUsersInOrganisationRole: {
|
|
name: "ListUsersInOrganisationRole",
|
|
I: ListUsersInOrganisationRoleRequest,
|
|
O: ListUsersInRoleResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListUsersInProjectRole
|
|
*/
|
|
listUsersInProjectRole: {
|
|
name: "ListUsersInProjectRole",
|
|
I: ListUsersInProjectRoleRequest,
|
|
O: ListUsersInRoleResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListUsersInPartnerAppRole
|
|
*/
|
|
listUsersInPartnerAppRole: {
|
|
name: "ListUsersInPartnerAppRole",
|
|
I: ListUsersInPartnerAppRoleRequest,
|
|
O: ListUsersInRoleResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListUsersInConnectionRole
|
|
*/
|
|
listUsersInConnectionRole: {
|
|
name: "ListUsersInConnectionRole",
|
|
I: ListUsersInConnectionRoleRequest,
|
|
O: ListUsersInRoleResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.GetPlatformUser
|
|
*/
|
|
getPlatformUser: {
|
|
name: "GetPlatformUser",
|
|
I: GetPlatformUserRequest,
|
|
O: GetPlatformUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.GetOrganisationUser
|
|
*/
|
|
getOrganisationUser: {
|
|
name: "GetOrganisationUser",
|
|
I: GetOrganisationUserRequest,
|
|
O: GetOrganisationUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.GetProjectUser
|
|
*/
|
|
getProjectUser: {
|
|
name: "GetProjectUser",
|
|
I: GetProjectUserRequest,
|
|
O: GetProjectUserResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListPlatformRoles
|
|
*/
|
|
listPlatformRoles: {
|
|
name: "ListPlatformRoles",
|
|
I: ListUserPlatformRolesRequest,
|
|
O: ListUserPlatformRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListOrganisationRoles
|
|
*/
|
|
listOrganisationRoles: {
|
|
name: "ListOrganisationRoles",
|
|
I: ListUserOrganisationRolesRequest,
|
|
O: ListUserOrganisationRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListProjectRoles
|
|
*/
|
|
listProjectRoles: {
|
|
name: "ListProjectRoles",
|
|
I: ListUserProjectRolesRequest,
|
|
O: ListUserProjectRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListPartnerAppRoles
|
|
*/
|
|
listPartnerAppRoles: {
|
|
name: "ListPartnerAppRoles",
|
|
I: ListUserPartnerAppRolesRequest,
|
|
O: ListUserPartnerAppRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListConnectionRoles
|
|
*/
|
|
listConnectionRoles: {
|
|
name: "ListConnectionRoles",
|
|
I: ListUserConnectionRolesRequest,
|
|
O: ListUserConnectionRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ListAttachmentTypeRoles
|
|
*/
|
|
listAttachmentTypeRoles: {
|
|
name: "ListAttachmentTypeRoles",
|
|
I: ListUserAttachmentTypeRolesRequest,
|
|
O: ListUserAttachmentTypeRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SetPlatformRoles
|
|
*/
|
|
setPlatformRoles: {
|
|
name: "SetPlatformRoles",
|
|
I: SetUserPlatformRolesRequest,
|
|
O: SetUserPlatformRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SetOrganisationRoles
|
|
*/
|
|
setOrganisationRoles: {
|
|
name: "SetOrganisationRoles",
|
|
I: SetUserOrganisationRolesRequest,
|
|
O: SetUserOrganisationRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SetProjectRoles
|
|
*/
|
|
setProjectRoles: {
|
|
name: "SetProjectRoles",
|
|
I: SetUserProjectRolesRequest,
|
|
O: SetUserProjectRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SetPartnerAppRoles
|
|
*/
|
|
setPartnerAppRoles: {
|
|
name: "SetPartnerAppRoles",
|
|
I: SetUserPartnerAppRolesRequest,
|
|
O: SetUserPartnerAppRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SetConnectionRoles
|
|
*/
|
|
setConnectionRoles: {
|
|
name: "SetConnectionRoles",
|
|
I: SetUserConnectionRolesRequest,
|
|
O: SetUserConnectionRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.SetAttachmentTypeRoles
|
|
*/
|
|
setAttachmentTypeRoles: {
|
|
name: "SetAttachmentTypeRoles",
|
|
I: SetUserAttachmentTypeRolesRequest,
|
|
O: SetUserAttachmentTypeRolesResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ForceTwoFA
|
|
*/
|
|
forceTwoFA: {
|
|
name: "ForceTwoFA",
|
|
I: ForceTwoFAOrganisationRequest,
|
|
O: ForceTwoFAResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.ForceProjectUserTwoFA
|
|
*/
|
|
forceProjectUserTwoFA: {
|
|
name: "ForceProjectUserTwoFA",
|
|
I: ForceProjectUserTwoFARequest,
|
|
O: ForceTwoFAResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
/**
|
|
* @generated from rpc api.UserService.UpdatePlatformTwoFA
|
|
*/
|
|
updatePlatformTwoFA: {
|
|
name: "UpdatePlatformTwoFA",
|
|
I: UpdateTwoFAPlatformRequest,
|
|
O: UpdateTwoFAPlatformResult,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
}
|
|
} as const;
|
|
|