// Copyright 2022 LTN Global Communications, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. syntax = "proto3"; package tv.make.api; import "google/protobuf/timestamp.proto"; option go_package = "git.ltnglobal.com/make.tv/genproto/api;api"; message Account { enum Provider { PROVIDER_UNSPECIFIED = 0; FACEBOOK = 1; TWITCH = 2; GOOGLE = 3; TWITTER = 4; LINKEDIN = 5; MIXER = 6; } enum Status { STATUS_UNSPECIFIED = 0; CONNECTED = 1; DISCONNECTED = 2; } // The unique identifier of the account string id = 1; // The unique identifier of the owning team string team_id = 2; // The display name of the account. string display_name = 3; // The description name of the account. string description = 4; // When has this account been created. // // Output only. google.protobuf.Timestamp create_time = 5; // When has this account been modified. // // Output only. google.protobuf.Timestamp update_time = 6; // The user who created this account. // // Output only. string creator_id = 7; // The provider of the account. Provider provider = 8; // The status of the account. // // Output only. Status status = 9; // Account labels. map labels = 10; // Outputs that use this account in one of their push targets. // // Output only. repeated string output_ids = 11; }