syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/enums.proto"; import "onprem/user/v1/error.proto"; import "onprem/user/v1/invite.proto"; message InviteFilter { optional string created_by_user_id = 1; optional string recipient_email = 2; optional string team_id = 3; optional InviteType type = 4; } message AfterAcceptInviteRequest { string id = 1; } message AfterAcceptInviteResponse { bool suggest_redirect_to_registration = 1; } message CreateInviteRequest { Invite invite = 1; } message CreateInviteResponse { Invite invite = 1; } message DeleteInviteRequest { string id = 1; } message DeleteInviteResponse { } message FindInviteRequest { string id = 1; } message FindInviteResponse { Invite invite = 1; } message FindInvitesRequest { InviteFilter filter = 1; } message FindInvitesResponse { repeated Invite invites = 1; } message ValidateInviteRequest { Invite invite = 1; } message ValidateInviteResponse { repeated ErrorObject errors = 1; }