syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/account.proto"; import "onprem/user/v1/error.proto"; import "onprem/user/v1/linked_account.proto"; message LinkedAccountFilter { optional string created_by_user_id = 1; optional string identity_provider = 2; optional string user_id = 3; } message CreateLinkedAccountRequest { LinkedAccount linked_account = 1; } message CreateLinkedAccountResponse { LinkedAccount linked_account = 1; optional Account changed_account = 2; } message DeleteLinkedAccountRequest { string id = 1; } message DeleteLinkedAccountResponse { optional Account changed_account = 1; } message FindLinkedAccountRequest { string id = 1; } message FindLinkedAccountResponse { LinkedAccount linked_account = 1; } message FindLinkedAccountsRequest { LinkedAccountFilter filter = 1; } message FindLinkedAccountsResponse { repeated LinkedAccount linked_accounts = 1; } message UpdateLinkedAccountRequest { LinkedAccount linked_account = 1; } message UpdateLinkedAccountResponse { LinkedAccount linked_account = 1; } message ValidateLinkedAccountRequest { LinkedAccount linked_account = 1; } message ValidateLinkedAccountResponse { repeated ErrorObject errors = 1; }