Files
Turbine/pkg/shared/proto/gen/develop.pb.go
2025-12-13 22:51:11 +08:00

1695 lines
54 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.10
// protoc v6.33.1
// source: develop.proto
package gen
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type CustomAppStatus int32
const (
CustomAppStatus_CUSTOM_APP_STATUS_UNSPECIFIED CustomAppStatus = 0
CustomAppStatus_DEVELOPING CustomAppStatus = 1
CustomAppStatus_STAGING CustomAppStatus = 2
CustomAppStatus_PRODUCTION CustomAppStatus = 3
CustomAppStatus_SUSPENDED CustomAppStatus = 4
)
// Enum value maps for CustomAppStatus.
var (
CustomAppStatus_name = map[int32]string{
0: "CUSTOM_APP_STATUS_UNSPECIFIED",
1: "DEVELOPING",
2: "STAGING",
3: "PRODUCTION",
4: "SUSPENDED",
}
CustomAppStatus_value = map[string]int32{
"CUSTOM_APP_STATUS_UNSPECIFIED": 0,
"DEVELOPING": 1,
"STAGING": 2,
"PRODUCTION": 3,
"SUSPENDED": 4,
}
)
func (x CustomAppStatus) Enum() *CustomAppStatus {
p := new(CustomAppStatus)
*p = x
return p
}
func (x CustomAppStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CustomAppStatus) Descriptor() protoreflect.EnumDescriptor {
return file_develop_proto_enumTypes[0].Descriptor()
}
func (CustomAppStatus) Type() protoreflect.EnumType {
return &file_develop_proto_enumTypes[0]
}
func (x CustomAppStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CustomAppStatus.Descriptor instead.
func (CustomAppStatus) EnumDescriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{0}
}
type CustomAppOauthConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClientUri string `protobuf:"bytes,1,opt,name=client_uri,json=clientUri,proto3" json:"client_uri,omitempty"`
RedirectUris []string `protobuf:"bytes,2,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"`
PostLogoutRedirectUris []string `protobuf:"bytes,3,rep,name=post_logout_redirect_uris,json=postLogoutRedirectUris,proto3" json:"post_logout_redirect_uris,omitempty"`
AllowedScopes []string `protobuf:"bytes,4,rep,name=allowed_scopes,json=allowedScopes,proto3" json:"allowed_scopes,omitempty"`
AllowedGrantTypes []string `protobuf:"bytes,5,rep,name=allowed_grant_types,json=allowedGrantTypes,proto3" json:"allowed_grant_types,omitempty"`
RequirePkce bool `protobuf:"varint,6,opt,name=require_pkce,json=requirePkce,proto3" json:"require_pkce,omitempty"`
AllowOfflineAccess bool `protobuf:"varint,7,opt,name=allow_offline_access,json=allowOfflineAccess,proto3" json:"allow_offline_access,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CustomAppOauthConfig) Reset() {
*x = CustomAppOauthConfig{}
mi := &file_develop_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CustomAppOauthConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomAppOauthConfig) ProtoMessage() {}
func (x *CustomAppOauthConfig) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomAppOauthConfig.ProtoReflect.Descriptor instead.
func (*CustomAppOauthConfig) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{0}
}
func (x *CustomAppOauthConfig) GetClientUri() string {
if x != nil {
return x.ClientUri
}
return ""
}
func (x *CustomAppOauthConfig) GetRedirectUris() []string {
if x != nil {
return x.RedirectUris
}
return nil
}
func (x *CustomAppOauthConfig) GetPostLogoutRedirectUris() []string {
if x != nil {
return x.PostLogoutRedirectUris
}
return nil
}
func (x *CustomAppOauthConfig) GetAllowedScopes() []string {
if x != nil {
return x.AllowedScopes
}
return nil
}
func (x *CustomAppOauthConfig) GetAllowedGrantTypes() []string {
if x != nil {
return x.AllowedGrantTypes
}
return nil
}
func (x *CustomAppOauthConfig) GetRequirePkce() bool {
if x != nil {
return x.RequirePkce
}
return false
}
func (x *CustomAppOauthConfig) GetAllowOfflineAccess() bool {
if x != nil {
return x.AllowOfflineAccess
}
return false
}
type CustomAppLinks struct {
state protoimpl.MessageState `protogen:"open.v1"`
HomePage string `protobuf:"bytes,1,opt,name=home_page,json=homePage,proto3" json:"home_page,omitempty"`
PrivacyPolicy string `protobuf:"bytes,2,opt,name=privacy_policy,json=privacyPolicy,proto3" json:"privacy_policy,omitempty"`
TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CustomAppLinks) Reset() {
*x = CustomAppLinks{}
mi := &file_develop_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CustomAppLinks) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomAppLinks) ProtoMessage() {}
func (x *CustomAppLinks) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomAppLinks.ProtoReflect.Descriptor instead.
func (*CustomAppLinks) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{1}
}
func (x *CustomAppLinks) GetHomePage() string {
if x != nil {
return x.HomePage
}
return ""
}
func (x *CustomAppLinks) GetPrivacyPolicy() string {
if x != nil {
return x.PrivacyPolicy
}
return ""
}
func (x *CustomAppLinks) GetTermsOfService() string {
if x != nil {
return x.TermsOfService
}
return ""
}
type CustomApp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
Status CustomAppStatus `protobuf:"varint,5,opt,name=status,proto3,enum=proto.CustomAppStatus" json:"status,omitempty"`
// jsonb columns represented as bytes
Picture *CloudFile `protobuf:"bytes,6,opt,name=picture,proto3" json:"picture,omitempty"`
Background *CloudFile `protobuf:"bytes,7,opt,name=background,proto3" json:"background,omitempty"`
Verification *VerificationMark `protobuf:"bytes,8,opt,name=verification,proto3" json:"verification,omitempty"`
Links *CustomAppLinks `protobuf:"bytes,9,opt,name=links,proto3" json:"links,omitempty"`
OauthConfig *CustomAppOauthConfig `protobuf:"bytes,13,opt,name=oauth_config,json=oauthConfig,proto3" json:"oauth_config,omitempty"`
ProjectId string `protobuf:"bytes,10,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CustomApp) Reset() {
*x = CustomApp{}
mi := &file_develop_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CustomApp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomApp) ProtoMessage() {}
func (x *CustomApp) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomApp.ProtoReflect.Descriptor instead.
func (*CustomApp) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{2}
}
func (x *CustomApp) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *CustomApp) GetSlug() string {
if x != nil {
return x.Slug
}
return ""
}
func (x *CustomApp) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CustomApp) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *CustomApp) GetStatus() CustomAppStatus {
if x != nil {
return x.Status
}
return CustomAppStatus_CUSTOM_APP_STATUS_UNSPECIFIED
}
func (x *CustomApp) GetPicture() *CloudFile {
if x != nil {
return x.Picture
}
return nil
}
func (x *CustomApp) GetBackground() *CloudFile {
if x != nil {
return x.Background
}
return nil
}
func (x *CustomApp) GetVerification() *VerificationMark {
if x != nil {
return x.Verification
}
return nil
}
func (x *CustomApp) GetLinks() *CustomAppLinks {
if x != nil {
return x.Links
}
return nil
}
func (x *CustomApp) GetOauthConfig() *CustomAppOauthConfig {
if x != nil {
return x.OauthConfig
}
return nil
}
func (x *CustomApp) GetProjectId() string {
if x != nil {
return x.ProjectId
}
return ""
}
func (x *CustomApp) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *CustomApp) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type CustomAppSecret struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
IsOidc bool `protobuf:"varint,5,opt,name=is_oidc,json=isOidc,proto3" json:"is_oidc,omitempty"`
AppId string `protobuf:"bytes,6,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CustomAppSecret) Reset() {
*x = CustomAppSecret{}
mi := &file_develop_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CustomAppSecret) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomAppSecret) ProtoMessage() {}
func (x *CustomAppSecret) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomAppSecret.ProtoReflect.Descriptor instead.
func (*CustomAppSecret) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{3}
}
func (x *CustomAppSecret) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *CustomAppSecret) GetSecret() string {
if x != nil {
return x.Secret
}
return ""
}
func (x *CustomAppSecret) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *CustomAppSecret) GetExpiredAt() *timestamppb.Timestamp {
if x != nil {
return x.ExpiredAt
}
return nil
}
func (x *CustomAppSecret) GetIsOidc() bool {
if x != nil {
return x.IsOidc
}
return false
}
func (x *CustomAppSecret) GetAppId() string {
if x != nil {
return x.AppId
}
return ""
}
func (x *CustomAppSecret) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *CustomAppSecret) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type GetCustomAppRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Query:
//
// *GetCustomAppRequest_Id
// *GetCustomAppRequest_Slug
Query isGetCustomAppRequest_Query `protobuf_oneof:"Query"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCustomAppRequest) Reset() {
*x = GetCustomAppRequest{}
mi := &file_develop_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCustomAppRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCustomAppRequest) ProtoMessage() {}
func (x *GetCustomAppRequest) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCustomAppRequest.ProtoReflect.Descriptor instead.
func (*GetCustomAppRequest) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{4}
}
func (x *GetCustomAppRequest) GetQuery() isGetCustomAppRequest_Query {
if x != nil {
return x.Query
}
return nil
}
func (x *GetCustomAppRequest) GetId() string {
if x != nil {
if x, ok := x.Query.(*GetCustomAppRequest_Id); ok {
return x.Id
}
}
return ""
}
func (x *GetCustomAppRequest) GetSlug() string {
if x != nil {
if x, ok := x.Query.(*GetCustomAppRequest_Slug); ok {
return x.Slug
}
}
return ""
}
type isGetCustomAppRequest_Query interface {
isGetCustomAppRequest_Query()
}
type GetCustomAppRequest_Id struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}
type GetCustomAppRequest_Slug struct {
Slug string `protobuf:"bytes,2,opt,name=slug,proto3,oneof"`
}
func (*GetCustomAppRequest_Id) isGetCustomAppRequest_Query() {}
func (*GetCustomAppRequest_Slug) isGetCustomAppRequest_Query() {}
type GetCustomAppResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
App *CustomApp `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCustomAppResponse) Reset() {
*x = GetCustomAppResponse{}
mi := &file_develop_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCustomAppResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCustomAppResponse) ProtoMessage() {}
func (x *GetCustomAppResponse) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetCustomAppResponse.ProtoReflect.Descriptor instead.
func (*GetCustomAppResponse) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{5}
}
func (x *GetCustomAppResponse) GetApp() *CustomApp {
if x != nil {
return x.App
}
return nil
}
type CheckCustomAppSecretRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to SecretIdentifier:
//
// *CheckCustomAppSecretRequest_SecretId
// *CheckCustomAppSecretRequest_AppId
SecretIdentifier isCheckCustomAppSecretRequest_SecretIdentifier `protobuf_oneof:"SecretIdentifier"`
Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
IsOidc *bool `protobuf:"varint,4,opt,name=is_oidc,json=isOidc,proto3,oneof" json:"is_oidc,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CheckCustomAppSecretRequest) Reset() {
*x = CheckCustomAppSecretRequest{}
mi := &file_develop_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CheckCustomAppSecretRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckCustomAppSecretRequest) ProtoMessage() {}
func (x *CheckCustomAppSecretRequest) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CheckCustomAppSecretRequest.ProtoReflect.Descriptor instead.
func (*CheckCustomAppSecretRequest) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{6}
}
func (x *CheckCustomAppSecretRequest) GetSecretIdentifier() isCheckCustomAppSecretRequest_SecretIdentifier {
if x != nil {
return x.SecretIdentifier
}
return nil
}
func (x *CheckCustomAppSecretRequest) GetSecretId() string {
if x != nil {
if x, ok := x.SecretIdentifier.(*CheckCustomAppSecretRequest_SecretId); ok {
return x.SecretId
}
}
return ""
}
func (x *CheckCustomAppSecretRequest) GetAppId() string {
if x != nil {
if x, ok := x.SecretIdentifier.(*CheckCustomAppSecretRequest_AppId); ok {
return x.AppId
}
}
return ""
}
func (x *CheckCustomAppSecretRequest) GetSecret() string {
if x != nil {
return x.Secret
}
return ""
}
func (x *CheckCustomAppSecretRequest) GetIsOidc() bool {
if x != nil && x.IsOidc != nil {
return *x.IsOidc
}
return false
}
type isCheckCustomAppSecretRequest_SecretIdentifier interface {
isCheckCustomAppSecretRequest_SecretIdentifier()
}
type CheckCustomAppSecretRequest_SecretId struct {
SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3,oneof"`
}
type CheckCustomAppSecretRequest_AppId struct {
AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3,oneof"`
}
func (*CheckCustomAppSecretRequest_SecretId) isCheckCustomAppSecretRequest_SecretIdentifier() {}
func (*CheckCustomAppSecretRequest_AppId) isCheckCustomAppSecretRequest_SecretIdentifier() {}
type CheckCustomAppSecretResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CheckCustomAppSecretResponse) Reset() {
*x = CheckCustomAppSecretResponse{}
mi := &file_develop_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CheckCustomAppSecretResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckCustomAppSecretResponse) ProtoMessage() {}
func (x *CheckCustomAppSecretResponse) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CheckCustomAppSecretResponse.ProtoReflect.Descriptor instead.
func (*CheckCustomAppSecretResponse) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{7}
}
func (x *CheckCustomAppSecretResponse) GetValid() bool {
if x != nil {
return x.Valid
}
return false
}
// BotAccount represents a bot account in the system
// It extends the base Account with bot-specific fields
type BotAccount struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Base account information
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// Bot-specific information
Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` // Unique identifier for the bot
IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // Whether the bot is currently active
AutomatedId string `protobuf:"bytes,5,opt,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"` // The bot ID
// Timestamps
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BotAccount) Reset() {
*x = BotAccount{}
mi := &file_develop_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BotAccount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BotAccount) ProtoMessage() {}
func (x *BotAccount) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use BotAccount.ProtoReflect.Descriptor instead.
func (*BotAccount) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{8}
}
func (x *BotAccount) GetAccount() *Account {
if x != nil {
return x.Account
}
return nil
}
func (x *BotAccount) GetSlug() string {
if x != nil {
return x.Slug
}
return ""
}
func (x *BotAccount) GetIsActive() bool {
if x != nil {
return x.IsActive
}
return false
}
func (x *BotAccount) GetAutomatedId() string {
if x != nil {
return x.AutomatedId
}
return ""
}
func (x *BotAccount) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *BotAccount) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
// Request/Response messages for BotAccount operations
type CreateBotAccountRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
AutomatedId string `protobuf:"bytes,2,opt,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"`
PictureId *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=picture_id,json=pictureId,proto3" json:"picture_id,omitempty"`
BackgroundId *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=background_id,json=backgroundId,proto3" json:"background_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBotAccountRequest) Reset() {
*x = CreateBotAccountRequest{}
mi := &file_develop_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBotAccountRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBotAccountRequest) ProtoMessage() {}
func (x *CreateBotAccountRequest) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBotAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateBotAccountRequest) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{9}
}
func (x *CreateBotAccountRequest) GetAccount() *Account {
if x != nil {
return x.Account
}
return nil
}
func (x *CreateBotAccountRequest) GetAutomatedId() string {
if x != nil {
return x.AutomatedId
}
return ""
}
func (x *CreateBotAccountRequest) GetPictureId() *wrapperspb.StringValue {
if x != nil {
return x.PictureId
}
return nil
}
func (x *CreateBotAccountRequest) GetBackgroundId() *wrapperspb.StringValue {
if x != nil {
return x.BackgroundId
}
return nil
}
type CreateBotAccountResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bot *BotAccount `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"` // The created bot account
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateBotAccountResponse) Reset() {
*x = CreateBotAccountResponse{}
mi := &file_develop_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateBotAccountResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateBotAccountResponse) ProtoMessage() {}
func (x *CreateBotAccountResponse) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateBotAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateBotAccountResponse) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{10}
}
func (x *CreateBotAccountResponse) GetBot() *BotAccount {
if x != nil {
return x.Bot
}
return nil
}
type UpdateBotAccountRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AutomatedId string `protobuf:"bytes,1,opt,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"` // ID of the bot account to update
Account *Account `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // Updated account information
PictureId *string `protobuf:"bytes,8,opt,name=picture_id,json=pictureId,proto3,oneof" json:"picture_id,omitempty"`
BackgroundId *string `protobuf:"bytes,9,opt,name=background_id,json=backgroundId,proto3,oneof" json:"background_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateBotAccountRequest) Reset() {
*x = UpdateBotAccountRequest{}
mi := &file_develop_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateBotAccountRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateBotAccountRequest) ProtoMessage() {}
func (x *UpdateBotAccountRequest) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateBotAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateBotAccountRequest) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{11}
}
func (x *UpdateBotAccountRequest) GetAutomatedId() string {
if x != nil {
return x.AutomatedId
}
return ""
}
func (x *UpdateBotAccountRequest) GetAccount() *Account {
if x != nil {
return x.Account
}
return nil
}
func (x *UpdateBotAccountRequest) GetPictureId() string {
if x != nil && x.PictureId != nil {
return *x.PictureId
}
return ""
}
func (x *UpdateBotAccountRequest) GetBackgroundId() string {
if x != nil && x.BackgroundId != nil {
return *x.BackgroundId
}
return ""
}
type UpdateBotAccountResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Bot *BotAccount `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"` // The updated bot account
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateBotAccountResponse) Reset() {
*x = UpdateBotAccountResponse{}
mi := &file_develop_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateBotAccountResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateBotAccountResponse) ProtoMessage() {}
func (x *UpdateBotAccountResponse) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateBotAccountResponse.ProtoReflect.Descriptor instead.
func (*UpdateBotAccountResponse) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{12}
}
func (x *UpdateBotAccountResponse) GetBot() *BotAccount {
if x != nil {
return x.Bot
}
return nil
}
type DeleteBotAccountRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AutomatedId string `protobuf:"bytes,1,opt,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"` // ID of the bot account to delete
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // Whether to force delete (bypass soft delete)
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteBotAccountRequest) Reset() {
*x = DeleteBotAccountRequest{}
mi := &file_develop_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteBotAccountRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteBotAccountRequest) ProtoMessage() {}
func (x *DeleteBotAccountRequest) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteBotAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteBotAccountRequest) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{13}
}
func (x *DeleteBotAccountRequest) GetAutomatedId() string {
if x != nil {
return x.AutomatedId
}
return ""
}
func (x *DeleteBotAccountRequest) GetForce() bool {
if x != nil {
return x.Force
}
return false
}
type DeleteBotAccountResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Whether the deletion was successful
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteBotAccountResponse) Reset() {
*x = DeleteBotAccountResponse{}
mi := &file_develop_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteBotAccountResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteBotAccountResponse) ProtoMessage() {}
func (x *DeleteBotAccountResponse) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteBotAccountResponse.ProtoReflect.Descriptor instead.
func (*DeleteBotAccountResponse) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{14}
}
func (x *DeleteBotAccountResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type ApiKey struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
AccountId string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
SessionId string `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Key *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApiKey) Reset() {
*x = ApiKey{}
mi := &file_develop_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApiKey) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApiKey) ProtoMessage() {}
func (x *ApiKey) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ApiKey.ProtoReflect.Descriptor instead.
func (*ApiKey) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{15}
}
func (x *ApiKey) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ApiKey) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *ApiKey) GetAccountId() string {
if x != nil {
return x.AccountId
}
return ""
}
func (x *ApiKey) GetSessionId() string {
if x != nil {
return x.SessionId
}
return ""
}
func (x *ApiKey) GetKey() *wrapperspb.StringValue {
if x != nil {
return x.Key
}
return nil
}
func (x *ApiKey) GetCreatedAt() *timestamppb.Timestamp {
if x != nil {
return x.CreatedAt
}
return nil
}
func (x *ApiKey) GetUpdatedAt() *timestamppb.Timestamp {
if x != nil {
return x.UpdatedAt
}
return nil
}
type GetApiKeyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetApiKeyRequest) Reset() {
*x = GetApiKeyRequest{}
mi := &file_develop_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetApiKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetApiKeyRequest) ProtoMessage() {}
func (x *GetApiKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetApiKeyRequest.ProtoReflect.Descriptor instead.
func (*GetApiKeyRequest) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{16}
}
func (x *GetApiKeyRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListApiKeyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AutomatedId string `protobuf:"bytes,1,opt,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListApiKeyRequest) Reset() {
*x = ListApiKeyRequest{}
mi := &file_develop_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListApiKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListApiKeyRequest) ProtoMessage() {}
func (x *ListApiKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListApiKeyRequest.ProtoReflect.Descriptor instead.
func (*ListApiKeyRequest) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{17}
}
func (x *ListApiKeyRequest) GetAutomatedId() string {
if x != nil {
return x.AutomatedId
}
return ""
}
type GetApiKeyBatchResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data []*ApiKey `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetApiKeyBatchResponse) Reset() {
*x = GetApiKeyBatchResponse{}
mi := &file_develop_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetApiKeyBatchResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetApiKeyBatchResponse) ProtoMessage() {}
func (x *GetApiKeyBatchResponse) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetApiKeyBatchResponse.ProtoReflect.Descriptor instead.
func (*GetApiKeyBatchResponse) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{18}
}
func (x *GetApiKeyBatchResponse) GetData() []*ApiKey {
if x != nil {
return x.Data
}
return nil
}
type DeleteApiKeyResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteApiKeyResponse) Reset() {
*x = DeleteApiKeyResponse{}
mi := &file_develop_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteApiKeyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteApiKeyResponse) ProtoMessage() {}
func (x *DeleteApiKeyResponse) ProtoReflect() protoreflect.Message {
mi := &file_develop_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteApiKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteApiKeyResponse) Descriptor() ([]byte, []int) {
return file_develop_proto_rawDescGZIP(), []int{19}
}
func (x *DeleteApiKeyResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
var File_develop_proto protoreflect.FileDescriptor
const file_develop_proto_rawDesc = "" +
"\n" +
"\rdevelop.proto\x12\x05proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\raccount.proto\x1a\n" +
"file.proto\"\xc1\x02\n" +
"\x14CustomAppOauthConfig\x12\x1d\n" +
"\n" +
"client_uri\x18\x01 \x01(\tR\tclientUri\x12#\n" +
"\rredirect_uris\x18\x02 \x03(\tR\fredirectUris\x129\n" +
"\x19post_logout_redirect_uris\x18\x03 \x03(\tR\x16postLogoutRedirectUris\x12%\n" +
"\x0eallowed_scopes\x18\x04 \x03(\tR\rallowedScopes\x12.\n" +
"\x13allowed_grant_types\x18\x05 \x03(\tR\x11allowedGrantTypes\x12!\n" +
"\frequire_pkce\x18\x06 \x01(\bR\vrequirePkce\x120\n" +
"\x14allow_offline_access\x18\a \x01(\bR\x12allowOfflineAccess\"~\n" +
"\x0eCustomAppLinks\x12\x1b\n" +
"\thome_page\x18\x01 \x01(\tR\bhomePage\x12%\n" +
"\x0eprivacy_policy\x18\x02 \x01(\tR\rprivacyPolicy\x12(\n" +
"\x10terms_of_service\x18\x03 \x01(\tR\x0etermsOfService\"\xb2\x04\n" +
"\tCustomApp\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04slug\x18\x02 \x01(\tR\x04slug\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x12.\n" +
"\x06status\x18\x05 \x01(\x0e2\x16.proto.CustomAppStatusR\x06status\x12*\n" +
"\apicture\x18\x06 \x01(\v2\x10.proto.CloudFileR\apicture\x120\n" +
"\n" +
"background\x18\a \x01(\v2\x10.proto.CloudFileR\n" +
"background\x12;\n" +
"\fverification\x18\b \x01(\v2\x17.proto.VerificationMarkR\fverification\x12+\n" +
"\x05links\x18\t \x01(\v2\x15.proto.CustomAppLinksR\x05links\x12>\n" +
"\foauth_config\x18\r \x01(\v2\x1b.proto.CustomAppOauthConfigR\voauthConfig\x12\x1d\n" +
"\n" +
"project_id\x18\n" +
" \x01(\tR\tprojectId\x129\n" +
"\n" +
"created_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xbc\x02\n" +
"\x0fCustomAppSecret\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
"\x06secret\x18\x02 \x01(\tR\x06secret\x12 \n" +
"\vdescription\x18\x03 \x01(\tR\vdescription\x129\n" +
"\n" +
"expired_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\texpiredAt\x12\x17\n" +
"\ais_oidc\x18\x05 \x01(\bR\x06isOidc\x12\x15\n" +
"\x06app_id\x18\x06 \x01(\tR\x05appId\x129\n" +
"\n" +
"created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"F\n" +
"\x13GetCustomAppRequest\x12\x10\n" +
"\x02id\x18\x01 \x01(\tH\x00R\x02id\x12\x14\n" +
"\x04slug\x18\x02 \x01(\tH\x00R\x04slugB\a\n" +
"\x05Query\":\n" +
"\x14GetCustomAppResponse\x12\"\n" +
"\x03app\x18\x01 \x01(\v2\x10.proto.CustomAppR\x03app\"\xab\x01\n" +
"\x1bCheckCustomAppSecretRequest\x12\x1d\n" +
"\tsecret_id\x18\x01 \x01(\tH\x00R\bsecretId\x12\x17\n" +
"\x06app_id\x18\x02 \x01(\tH\x00R\x05appId\x12\x16\n" +
"\x06secret\x18\x03 \x01(\tR\x06secret\x12\x1c\n" +
"\ais_oidc\x18\x04 \x01(\bH\x01R\x06isOidc\x88\x01\x01B\x12\n" +
"\x10SecretIdentifierB\n" +
"\n" +
"\b_is_oidc\"4\n" +
"\x1cCheckCustomAppSecretResponse\x12\x14\n" +
"\x05valid\x18\x01 \x01(\bR\x05valid\"\x80\x02\n" +
"\n" +
"BotAccount\x12(\n" +
"\aaccount\x18\x01 \x01(\v2\x0e.proto.AccountR\aaccount\x12\x12\n" +
"\x04slug\x18\x02 \x01(\tR\x04slug\x12\x1b\n" +
"\tis_active\x18\x03 \x01(\bR\bisActive\x12!\n" +
"\fautomated_id\x18\x05 \x01(\tR\vautomatedId\x129\n" +
"\n" +
"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xe6\x01\n" +
"\x17CreateBotAccountRequest\x12(\n" +
"\aaccount\x18\x01 \x01(\v2\x0e.proto.AccountR\aaccount\x12!\n" +
"\fautomated_id\x18\x02 \x01(\tR\vautomatedId\x12;\n" +
"\n" +
"picture_id\x18\b \x01(\v2\x1c.google.protobuf.StringValueR\tpictureId\x12A\n" +
"\rbackground_id\x18\t \x01(\v2\x1c.google.protobuf.StringValueR\fbackgroundId\"?\n" +
"\x18CreateBotAccountResponse\x12#\n" +
"\x03bot\x18\x01 \x01(\v2\x11.proto.BotAccountR\x03bot\"\xd5\x01\n" +
"\x17UpdateBotAccountRequest\x12!\n" +
"\fautomated_id\x18\x01 \x01(\tR\vautomatedId\x12(\n" +
"\aaccount\x18\x02 \x01(\v2\x0e.proto.AccountR\aaccount\x12\"\n" +
"\n" +
"picture_id\x18\b \x01(\tH\x00R\tpictureId\x88\x01\x01\x12(\n" +
"\rbackground_id\x18\t \x01(\tH\x01R\fbackgroundId\x88\x01\x01B\r\n" +
"\v_picture_idB\x10\n" +
"\x0e_background_id\"?\n" +
"\x18UpdateBotAccountResponse\x12#\n" +
"\x03bot\x18\x01 \x01(\v2\x11.proto.BotAccountR\x03bot\"R\n" +
"\x17DeleteBotAccountRequest\x12!\n" +
"\fautomated_id\x18\x01 \x01(\tR\vautomatedId\x12\x14\n" +
"\x05force\x18\x02 \x01(\bR\x05force\"4\n" +
"\x18DeleteBotAccountResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\"\x92\x02\n" +
"\x06ApiKey\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
"\x05label\x18\x02 \x01(\tR\x05label\x12\x1d\n" +
"\n" +
"account_id\x18\x03 \x01(\tR\taccountId\x12\x1d\n" +
"\n" +
"session_id\x18\x04 \x01(\tR\tsessionId\x12.\n" +
"\x03key\x18\x05 \x01(\v2\x1c.google.protobuf.StringValueR\x03key\x129\n" +
"\n" +
"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
"\n" +
"updated_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\"\n" +
"\x10GetApiKeyRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"6\n" +
"\x11ListApiKeyRequest\x12!\n" +
"\fautomated_id\x18\x01 \x01(\tR\vautomatedId\";\n" +
"\x16GetApiKeyBatchResponse\x12!\n" +
"\x04data\x18\x01 \x03(\v2\r.proto.ApiKeyR\x04data\"0\n" +
"\x14DeleteApiKeyResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess*p\n" +
"\x0fCustomAppStatus\x12!\n" +
"\x1dCUSTOM_APP_STATUS_UNSPECIFIED\x10\x00\x12\x0e\n" +
"\n" +
"DEVELOPING\x10\x01\x12\v\n" +
"\aSTAGING\x10\x02\x12\x0e\n" +
"\n" +
"PRODUCTION\x10\x03\x12\r\n" +
"\tSUSPENDED\x10\x042\xbc\x01\n" +
"\x10CustomAppService\x12G\n" +
"\fGetCustomApp\x12\x1a.proto.GetCustomAppRequest\x1a\x1b.proto.GetCustomAppResponse\x12_\n" +
"\x14CheckCustomAppSecret\x12\".proto.CheckCustomAppSecretRequest\x1a#.proto.CheckCustomAppSecretResponse2\xf0\x04\n" +
"\x19BotAccountReceiverService\x12S\n" +
"\x10CreateBotAccount\x12\x1e.proto.CreateBotAccountRequest\x1a\x1f.proto.CreateBotAccountResponse\x12S\n" +
"\x10UpdateBotAccount\x12\x1e.proto.UpdateBotAccountRequest\x1a\x1f.proto.UpdateBotAccountResponse\x12S\n" +
"\x10DeleteBotAccount\x12\x1e.proto.DeleteBotAccountRequest\x1a\x1f.proto.DeleteBotAccountResponse\x123\n" +
"\tGetApiKey\x12\x17.proto.GetApiKeyRequest\x1a\r.proto.ApiKey\x12E\n" +
"\n" +
"ListApiKey\x12\x18.proto.ListApiKeyRequest\x1a\x1d.proto.GetApiKeyBatchResponse\x12,\n" +
"\fCreateApiKey\x12\r.proto.ApiKey\x1a\r.proto.ApiKey\x12,\n" +
"\fUpdateApiKey\x12\r.proto.ApiKey\x1a\r.proto.ApiKey\x126\n" +
"\fRotateApiKey\x12\x17.proto.GetApiKeyRequest\x1a\r.proto.ApiKey\x12D\n" +
"\fDeleteApiKey\x12\x17.proto.GetApiKeyRequest\x1a\x1b.proto.DeleteApiKeyResponseBUZ7git.solsynth.dev/goatworks/turbine/pkg/shared/proto/gen\xaa\x02\x19DysonNetwork.Shared.Protob\x06proto3"
var (
file_develop_proto_rawDescOnce sync.Once
file_develop_proto_rawDescData []byte
)
func file_develop_proto_rawDescGZIP() []byte {
file_develop_proto_rawDescOnce.Do(func() {
file_develop_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_develop_proto_rawDesc), len(file_develop_proto_rawDesc)))
})
return file_develop_proto_rawDescData
}
var file_develop_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_develop_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
var file_develop_proto_goTypes = []any{
(CustomAppStatus)(0), // 0: proto.CustomAppStatus
(*CustomAppOauthConfig)(nil), // 1: proto.CustomAppOauthConfig
(*CustomAppLinks)(nil), // 2: proto.CustomAppLinks
(*CustomApp)(nil), // 3: proto.CustomApp
(*CustomAppSecret)(nil), // 4: proto.CustomAppSecret
(*GetCustomAppRequest)(nil), // 5: proto.GetCustomAppRequest
(*GetCustomAppResponse)(nil), // 6: proto.GetCustomAppResponse
(*CheckCustomAppSecretRequest)(nil), // 7: proto.CheckCustomAppSecretRequest
(*CheckCustomAppSecretResponse)(nil), // 8: proto.CheckCustomAppSecretResponse
(*BotAccount)(nil), // 9: proto.BotAccount
(*CreateBotAccountRequest)(nil), // 10: proto.CreateBotAccountRequest
(*CreateBotAccountResponse)(nil), // 11: proto.CreateBotAccountResponse
(*UpdateBotAccountRequest)(nil), // 12: proto.UpdateBotAccountRequest
(*UpdateBotAccountResponse)(nil), // 13: proto.UpdateBotAccountResponse
(*DeleteBotAccountRequest)(nil), // 14: proto.DeleteBotAccountRequest
(*DeleteBotAccountResponse)(nil), // 15: proto.DeleteBotAccountResponse
(*ApiKey)(nil), // 16: proto.ApiKey
(*GetApiKeyRequest)(nil), // 17: proto.GetApiKeyRequest
(*ListApiKeyRequest)(nil), // 18: proto.ListApiKeyRequest
(*GetApiKeyBatchResponse)(nil), // 19: proto.GetApiKeyBatchResponse
(*DeleteApiKeyResponse)(nil), // 20: proto.DeleteApiKeyResponse
(*CloudFile)(nil), // 21: proto.CloudFile
(*VerificationMark)(nil), // 22: proto.VerificationMark
(*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp
(*Account)(nil), // 24: proto.Account
(*wrapperspb.StringValue)(nil), // 25: google.protobuf.StringValue
}
var file_develop_proto_depIdxs = []int32{
0, // 0: proto.CustomApp.status:type_name -> proto.CustomAppStatus
21, // 1: proto.CustomApp.picture:type_name -> proto.CloudFile
21, // 2: proto.CustomApp.background:type_name -> proto.CloudFile
22, // 3: proto.CustomApp.verification:type_name -> proto.VerificationMark
2, // 4: proto.CustomApp.links:type_name -> proto.CustomAppLinks
1, // 5: proto.CustomApp.oauth_config:type_name -> proto.CustomAppOauthConfig
23, // 6: proto.CustomApp.created_at:type_name -> google.protobuf.Timestamp
23, // 7: proto.CustomApp.updated_at:type_name -> google.protobuf.Timestamp
23, // 8: proto.CustomAppSecret.expired_at:type_name -> google.protobuf.Timestamp
23, // 9: proto.CustomAppSecret.created_at:type_name -> google.protobuf.Timestamp
23, // 10: proto.CustomAppSecret.updated_at:type_name -> google.protobuf.Timestamp
3, // 11: proto.GetCustomAppResponse.app:type_name -> proto.CustomApp
24, // 12: proto.BotAccount.account:type_name -> proto.Account
23, // 13: proto.BotAccount.created_at:type_name -> google.protobuf.Timestamp
23, // 14: proto.BotAccount.updated_at:type_name -> google.protobuf.Timestamp
24, // 15: proto.CreateBotAccountRequest.account:type_name -> proto.Account
25, // 16: proto.CreateBotAccountRequest.picture_id:type_name -> google.protobuf.StringValue
25, // 17: proto.CreateBotAccountRequest.background_id:type_name -> google.protobuf.StringValue
9, // 18: proto.CreateBotAccountResponse.bot:type_name -> proto.BotAccount
24, // 19: proto.UpdateBotAccountRequest.account:type_name -> proto.Account
9, // 20: proto.UpdateBotAccountResponse.bot:type_name -> proto.BotAccount
25, // 21: proto.ApiKey.key:type_name -> google.protobuf.StringValue
23, // 22: proto.ApiKey.created_at:type_name -> google.protobuf.Timestamp
23, // 23: proto.ApiKey.updated_at:type_name -> google.protobuf.Timestamp
16, // 24: proto.GetApiKeyBatchResponse.data:type_name -> proto.ApiKey
5, // 25: proto.CustomAppService.GetCustomApp:input_type -> proto.GetCustomAppRequest
7, // 26: proto.CustomAppService.CheckCustomAppSecret:input_type -> proto.CheckCustomAppSecretRequest
10, // 27: proto.BotAccountReceiverService.CreateBotAccount:input_type -> proto.CreateBotAccountRequest
12, // 28: proto.BotAccountReceiverService.UpdateBotAccount:input_type -> proto.UpdateBotAccountRequest
14, // 29: proto.BotAccountReceiverService.DeleteBotAccount:input_type -> proto.DeleteBotAccountRequest
17, // 30: proto.BotAccountReceiverService.GetApiKey:input_type -> proto.GetApiKeyRequest
18, // 31: proto.BotAccountReceiverService.ListApiKey:input_type -> proto.ListApiKeyRequest
16, // 32: proto.BotAccountReceiverService.CreateApiKey:input_type -> proto.ApiKey
16, // 33: proto.BotAccountReceiverService.UpdateApiKey:input_type -> proto.ApiKey
17, // 34: proto.BotAccountReceiverService.RotateApiKey:input_type -> proto.GetApiKeyRequest
17, // 35: proto.BotAccountReceiverService.DeleteApiKey:input_type -> proto.GetApiKeyRequest
6, // 36: proto.CustomAppService.GetCustomApp:output_type -> proto.GetCustomAppResponse
8, // 37: proto.CustomAppService.CheckCustomAppSecret:output_type -> proto.CheckCustomAppSecretResponse
11, // 38: proto.BotAccountReceiverService.CreateBotAccount:output_type -> proto.CreateBotAccountResponse
13, // 39: proto.BotAccountReceiverService.UpdateBotAccount:output_type -> proto.UpdateBotAccountResponse
15, // 40: proto.BotAccountReceiverService.DeleteBotAccount:output_type -> proto.DeleteBotAccountResponse
16, // 41: proto.BotAccountReceiverService.GetApiKey:output_type -> proto.ApiKey
19, // 42: proto.BotAccountReceiverService.ListApiKey:output_type -> proto.GetApiKeyBatchResponse
16, // 43: proto.BotAccountReceiverService.CreateApiKey:output_type -> proto.ApiKey
16, // 44: proto.BotAccountReceiverService.UpdateApiKey:output_type -> proto.ApiKey
16, // 45: proto.BotAccountReceiverService.RotateApiKey:output_type -> proto.ApiKey
20, // 46: proto.BotAccountReceiverService.DeleteApiKey:output_type -> proto.DeleteApiKeyResponse
36, // [36:47] is the sub-list for method output_type
25, // [25:36] is the sub-list for method input_type
25, // [25:25] is the sub-list for extension type_name
25, // [25:25] is the sub-list for extension extendee
0, // [0:25] is the sub-list for field type_name
}
func init() { file_develop_proto_init() }
func file_develop_proto_init() {
if File_develop_proto != nil {
return
}
file_account_proto_init()
file_file_proto_init()
file_develop_proto_msgTypes[4].OneofWrappers = []any{
(*GetCustomAppRequest_Id)(nil),
(*GetCustomAppRequest_Slug)(nil),
}
file_develop_proto_msgTypes[6].OneofWrappers = []any{
(*CheckCustomAppSecretRequest_SecretId)(nil),
(*CheckCustomAppSecretRequest_AppId)(nil),
}
file_develop_proto_msgTypes[11].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_develop_proto_rawDesc), len(file_develop_proto_rawDesc)),
NumEnums: 1,
NumMessages: 20,
NumExtensions: 0,
NumServices: 2,
},
GoTypes: file_develop_proto_goTypes,
DependencyIndexes: file_develop_proto_depIdxs,
EnumInfos: file_develop_proto_enumTypes,
MessageInfos: file_develop_proto_msgTypes,
}.Build()
File_develop_proto = out.File
file_develop_proto_goTypes = nil
file_develop_proto_depIdxs = nil
}