Adds ListPosts(ctx, ListPostsParams) to the content.Content capability so
wasm plugins can list posts with bodies — the per-plugin Postgres role
denies direct public.blog_posts reads (42501) and GetPost only fetches a
single post's metadata. Extends PostInfo with Body, AuthorName, AuthorSlug
and PublishedAt (additive; existing get_post golden unchanged). Wires all
layers: interface, ABI PostInfo/ContentListPosts{Request,Response} messages
(buf breaking clean), guest stub, and a deterministic content_list_posts
golden replayed by the cms host parity test.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5348 lines
162 KiB
Go
5348 lines
162 KiB
Go
// capability.proto — guest→host capability calls (WO-WZ-001).
|
|
//
|
|
// Each CoreServices interface (core/plugin/deps.go) becomes a host-function
|
|
// family; every interface method gets one request/response message pair
|
|
// here, mirroring the Go signature 1:1. UUIDs travel as canonical strings;
|
|
// map[string]any / []byte-JSON values travel as JSON bytes.
|
|
//
|
|
// Calls cross via the generic HostCallRequest/HostCallResponse envelope; the
|
|
// method string selects the pair (e.g. "content.get_author_profile" →
|
|
// ContentGetAuthorProfileRequest/Response). Full method table in
|
|
// core/docs/wasm-abi.md.
|
|
//
|
|
// Not represented here by design:
|
|
// - CoreServices.Pool → db.proto (the DB driver messages)
|
|
// - CoreServices.Interceptors → host-side only (never crosses)
|
|
// - CoreServices.AppURL/MediaPath → LoadRequest.host_config (invoke.proto)
|
|
// - CoreServices.CoreServiceBindings → manifest core_service_bindings
|
|
// - RAGService.RegisterContentFetcher → manifest rag_content_fetcher_types
|
|
// + the RAG_FETCH hook (callback inversion)
|
|
// - ai.ToolDefinition.Handler → host→guest tool execution is a runtime-WO
|
|
// concern (flagged in core/docs/wasm-abi.md)
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: v1/capability.proto
|
|
|
|
package abiv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
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)
|
|
)
|
|
|
|
// HostCallRequest is the generic guest→host capability envelope.
|
|
type HostCallRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Capability method, "<family>.<method>" (e.g. "crypto.encrypt_secret").
|
|
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
|
|
// Serialized family request message.
|
|
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HostCallRequest) Reset() {
|
|
*x = HostCallRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HostCallRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HostCallRequest) ProtoMessage() {}
|
|
|
|
func (x *HostCallRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 HostCallRequest.ProtoReflect.Descriptor instead.
|
|
func (*HostCallRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *HostCallRequest) GetMethod() string {
|
|
if x != nil {
|
|
return x.Method
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HostCallRequest) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// HostCallResponse is the generic host→guest capability return envelope.
|
|
type HostCallResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Serialized family response message; empty when error is set.
|
|
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
// Set when the capability call failed; the guest SDK surfaces it as a
|
|
// normal Go error.
|
|
Error *AbiError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HostCallResponse) Reset() {
|
|
*x = HostCallResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HostCallResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HostCallResponse) ProtoMessage() {}
|
|
|
|
func (x *HostCallResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 HostCallResponse.ProtoReflect.Descriptor instead.
|
|
func (*HostCallResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *HostCallResponse) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HostCallResponse) GetError() *AbiError {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentGetAuthorProfileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGetAuthorProfileRequest) Reset() {
|
|
*x = ContentGetAuthorProfileRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGetAuthorProfileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGetAuthorProfileRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentGetAuthorProfileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGetAuthorProfileRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetAuthorProfileRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ContentGetAuthorProfileRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentGetAuthorProfileResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Author *AuthorProfile `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGetAuthorProfileResponse) Reset() {
|
|
*x = ContentGetAuthorProfileResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGetAuthorProfileResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGetAuthorProfileResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentGetAuthorProfileResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGetAuthorProfileResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetAuthorProfileResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ContentGetAuthorProfileResponse) GetAuthor() *AuthorProfile {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AuthorProfile mirrors content.AuthorProfile.
|
|
type AuthorProfile struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Bio string `protobuf:"bytes,4,opt,name=bio,proto3" json:"bio,omitempty"`
|
|
AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
|
|
Website string `protobuf:"bytes,6,opt,name=website,proto3" json:"website,omitempty"`
|
|
SocialLinks map[string]string `protobuf:"bytes,7,rep,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthorProfile) Reset() {
|
|
*x = AuthorProfile{}
|
|
mi := &file_v1_capability_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthorProfile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthorProfile) ProtoMessage() {}
|
|
|
|
func (x *AuthorProfile) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 AuthorProfile.ProtoReflect.Descriptor instead.
|
|
func (*AuthorProfile) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AuthorProfile) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorProfile) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorProfile) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorProfile) GetBio() string {
|
|
if x != nil {
|
|
return x.Bio
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorProfile) GetAvatarUrl() string {
|
|
if x != nil {
|
|
return x.AvatarUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorProfile) GetWebsite() string {
|
|
if x != nil {
|
|
return x.Website
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthorProfile) GetSocialLinks() map[string]string {
|
|
if x != nil {
|
|
return x.SocialLinks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentGetPageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGetPageRequest) Reset() {
|
|
*x = ContentGetPageRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGetPageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGetPageRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentGetPageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGetPageRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetPageRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ContentGetPageRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentGetPageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page *PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGetPageResponse) Reset() {
|
|
*x = ContentGetPageResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGetPageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGetPageResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentGetPageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGetPageResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetPageResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ContentGetPageResponse) GetPage() *PageInfo {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// PageInfo mirrors content.PageInfo.
|
|
type PageInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PageInfo) Reset() {
|
|
*x = PageInfo{}
|
|
mi := &file_v1_capability_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PageInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PageInfo) ProtoMessage() {}
|
|
|
|
func (x *PageInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 PageInfo.ProtoReflect.Descriptor instead.
|
|
func (*PageInfo) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *PageInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageInfo) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageInfo) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentGetPostRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGetPostRequest) Reset() {
|
|
*x = ContentGetPostRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGetPostRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGetPostRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentGetPostRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGetPostRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetPostRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ContentGetPostRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentGetPostResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Post *PostInfo `protobuf:"bytes,1,opt,name=post,proto3" json:"post,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGetPostResponse) Reset() {
|
|
*x = ContentGetPostResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGetPostResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGetPostResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentGetPostResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGetPostResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetPostResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ContentGetPostResponse) GetPost() *PostInfo {
|
|
if x != nil {
|
|
return x.Post
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// PostInfo mirrors content.PostInfo.
|
|
type PostInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
Excerpt string `protobuf:"bytes,4,opt,name=excerpt,proto3" json:"excerpt,omitempty"`
|
|
FeaturedImageUrl string `protobuf:"bytes,5,opt,name=featured_image_url,json=featuredImageUrl,proto3" json:"featured_image_url,omitempty"`
|
|
AuthorId string `protobuf:"bytes,6,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"` // UUID
|
|
Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // rendered HTML; set by get_post / list_posts(include_body)
|
|
AuthorName string `protobuf:"bytes,8,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"`
|
|
AuthorSlug string `protobuf:"bytes,9,opt,name=author_slug,json=authorSlug,proto3" json:"author_slug,omitempty"`
|
|
PublishedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PostInfo) Reset() {
|
|
*x = PostInfo{}
|
|
mi := &file_v1_capability_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PostInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PostInfo) ProtoMessage() {}
|
|
|
|
func (x *PostInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 PostInfo.ProtoReflect.Descriptor instead.
|
|
func (*PostInfo) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *PostInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetExcerpt() string {
|
|
if x != nil {
|
|
return x.Excerpt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetFeaturedImageUrl() string {
|
|
if x != nil {
|
|
return x.FeaturedImageUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetAuthorId() string {
|
|
if x != nil {
|
|
return x.AuthorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetAuthorName() string {
|
|
if x != nil {
|
|
return x.AuthorName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetAuthorSlug() string {
|
|
if x != nil {
|
|
return x.AuthorSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PostInfo) GetPublishedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.PublishedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentListPostsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` // optional category slug filter ("" = all)
|
|
PublishedOnly bool `protobuf:"varint,4,opt,name=published_only,json=publishedOnly,proto3" json:"published_only,omitempty"`
|
|
IncludeBody bool `protobuf:"varint,5,opt,name=include_body,json=includeBody,proto3" json:"include_body,omitempty"`
|
|
IncludeExcerpt bool `protobuf:"varint,6,opt,name=include_excerpt,json=includeExcerpt,proto3" json:"include_excerpt,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) Reset() {
|
|
*x = ContentListPostsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentListPostsRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentListPostsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentListPostsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentListPostsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) GetCategory() string {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) GetPublishedOnly() bool {
|
|
if x != nil {
|
|
return x.PublishedOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) GetIncludeBody() bool {
|
|
if x != nil {
|
|
return x.IncludeBody
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ContentListPostsRequest) GetIncludeExcerpt() bool {
|
|
if x != nil {
|
|
return x.IncludeExcerpt
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ContentListPostsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Posts []*PostInfo `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentListPostsResponse) Reset() {
|
|
*x = ContentListPostsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentListPostsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentListPostsResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentListPostsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentListPostsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentListPostsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ContentListPostsResponse) GetPosts() []*PostInfo {
|
|
if x != nil {
|
|
return x.Posts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentSlugifyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentSlugifyRequest) Reset() {
|
|
*x = ContentSlugifyRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentSlugifyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentSlugifyRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentSlugifyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentSlugifyRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentSlugifyRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ContentSlugifyRequest) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentSlugifyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentSlugifyResponse) Reset() {
|
|
*x = ContentSlugifyResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentSlugifyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentSlugifyResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentSlugifyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentSlugifyResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentSlugifyResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ContentSlugifyResponse) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentBlockNoteToHtmlRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// JSON encoding of the BlockNote document map.
|
|
DocJson []byte `protobuf:"bytes,1,opt,name=doc_json,json=docJson,proto3" json:"doc_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentBlockNoteToHtmlRequest) Reset() {
|
|
*x = ContentBlockNoteToHtmlRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentBlockNoteToHtmlRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentBlockNoteToHtmlRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentBlockNoteToHtmlRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentBlockNoteToHtmlRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentBlockNoteToHtmlRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ContentBlockNoteToHtmlRequest) GetDocJson() []byte {
|
|
if x != nil {
|
|
return x.DocJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentBlockNoteToHtmlResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentBlockNoteToHtmlResponse) Reset() {
|
|
*x = ContentBlockNoteToHtmlResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentBlockNoteToHtmlResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentBlockNoteToHtmlResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentBlockNoteToHtmlResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentBlockNoteToHtmlResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentBlockNoteToHtmlResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *ContentBlockNoteToHtmlResponse) GetHtml() string {
|
|
if x != nil {
|
|
return x.Html
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentGenerateExcerptRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"`
|
|
MaxLen int32 `protobuf:"varint,2,opt,name=max_len,json=maxLen,proto3" json:"max_len,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGenerateExcerptRequest) Reset() {
|
|
*x = ContentGenerateExcerptRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGenerateExcerptRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGenerateExcerptRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentGenerateExcerptRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGenerateExcerptRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentGenerateExcerptRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ContentGenerateExcerptRequest) GetHtml() string {
|
|
if x != nil {
|
|
return x.Html
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentGenerateExcerptRequest) GetMaxLen() int32 {
|
|
if x != nil {
|
|
return x.MaxLen
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ContentGenerateExcerptResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Excerpt string `protobuf:"bytes,1,opt,name=excerpt,proto3" json:"excerpt,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentGenerateExcerptResponse) Reset() {
|
|
*x = ContentGenerateExcerptResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentGenerateExcerptResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentGenerateExcerptResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentGenerateExcerptResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentGenerateExcerptResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentGenerateExcerptResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *ContentGenerateExcerptResponse) GetExcerpt() string {
|
|
if x != nil {
|
|
return x.Excerpt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentStripHtmlRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Html string `protobuf:"bytes,1,opt,name=html,proto3" json:"html,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentStripHtmlRequest) Reset() {
|
|
*x = ContentStripHtmlRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentStripHtmlRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentStripHtmlRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentStripHtmlRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_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 ContentStripHtmlRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentStripHtmlRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *ContentStripHtmlRequest) GetHtml() string {
|
|
if x != nil {
|
|
return x.Html
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentStripHtmlResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentStripHtmlResponse) Reset() {
|
|
*x = ContentStripHtmlResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentStripHtmlResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentStripHtmlResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentStripHtmlResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[20]
|
|
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 ContentStripHtmlResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentStripHtmlResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *ContentStripHtmlResponse) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SettingsGetSiteSettingsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsGetSiteSettingsRequest) Reset() {
|
|
*x = SettingsGetSiteSettingsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsGetSiteSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsGetSiteSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *SettingsGetSiteSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[21]
|
|
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 SettingsGetSiteSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetSiteSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
type SettingsGetSiteSettingsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// JSON encoding of the site settings map.
|
|
SettingsJson []byte `protobuf:"bytes,1,opt,name=settings_json,json=settingsJson,proto3" json:"settings_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsGetSiteSettingsResponse) Reset() {
|
|
*x = SettingsGetSiteSettingsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsGetSiteSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsGetSiteSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *SettingsGetSiteSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[22]
|
|
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 SettingsGetSiteSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetSiteSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *SettingsGetSiteSettingsResponse) GetSettingsJson() []byte {
|
|
if x != nil {
|
|
return x.SettingsJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SettingsGetPluginSettingsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsGetPluginSettingsRequest) Reset() {
|
|
*x = SettingsGetPluginSettingsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsGetPluginSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsGetPluginSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *SettingsGetPluginSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[23]
|
|
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 SettingsGetPluginSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetPluginSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *SettingsGetPluginSettingsRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SettingsGetPluginSettingsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// JSON encoding of the plugin settings map.
|
|
SettingsJson []byte `protobuf:"bytes,1,opt,name=settings_json,json=settingsJson,proto3" json:"settings_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsGetPluginSettingsResponse) Reset() {
|
|
*x = SettingsGetPluginSettingsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsGetPluginSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsGetPluginSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *SettingsGetPluginSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[24]
|
|
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 SettingsGetPluginSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetPluginSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *SettingsGetPluginSettingsResponse) GetSettingsJson() []byte {
|
|
if x != nil {
|
|
return x.SettingsJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SettingsUpdateSiteSettingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
// JSON encoding of the value.
|
|
ValueJson []byte `protobuf:"bytes,2,opt,name=value_json,json=valueJson,proto3" json:"value_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsUpdateSiteSettingRequest) Reset() {
|
|
*x = SettingsUpdateSiteSettingRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsUpdateSiteSettingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsUpdateSiteSettingRequest) ProtoMessage() {}
|
|
|
|
func (x *SettingsUpdateSiteSettingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[25]
|
|
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 SettingsUpdateSiteSettingRequest.ProtoReflect.Descriptor instead.
|
|
func (*SettingsUpdateSiteSettingRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *SettingsUpdateSiteSettingRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SettingsUpdateSiteSettingRequest) GetValueJson() []byte {
|
|
if x != nil {
|
|
return x.ValueJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SettingsUpdateSiteSettingResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsUpdateSiteSettingResponse) Reset() {
|
|
*x = SettingsUpdateSiteSettingResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsUpdateSiteSettingResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsUpdateSiteSettingResponse) ProtoMessage() {}
|
|
|
|
func (x *SettingsUpdateSiteSettingResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[26]
|
|
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 SettingsUpdateSiteSettingResponse.ProtoReflect.Descriptor instead.
|
|
func (*SettingsUpdateSiteSettingResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
type GatingGetSubscriberTierLevelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GatingGetSubscriberTierLevelRequest) Reset() {
|
|
*x = GatingGetSubscriberTierLevelRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GatingGetSubscriberTierLevelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GatingGetSubscriberTierLevelRequest) ProtoMessage() {}
|
|
|
|
func (x *GatingGetSubscriberTierLevelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[27]
|
|
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 GatingGetSubscriberTierLevelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GatingGetSubscriberTierLevelRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *GatingGetSubscriberTierLevelRequest) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GatingGetSubscriberTierLevelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GatingGetSubscriberTierLevelResponse) Reset() {
|
|
*x = GatingGetSubscriberTierLevelResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GatingGetSubscriberTierLevelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GatingGetSubscriberTierLevelResponse) ProtoMessage() {}
|
|
|
|
func (x *GatingGetSubscriberTierLevelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[28]
|
|
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 GatingGetSubscriberTierLevelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GatingGetSubscriberTierLevelResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *GatingGetSubscriberTierLevelResponse) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GatingEvaluateAccessRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserTierLevel int32 `protobuf:"varint,1,opt,name=user_tier_level,json=userTierLevel,proto3" json:"user_tier_level,omitempty"`
|
|
// Absent rule means "no rule" (access granted).
|
|
Rule *AccessRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GatingEvaluateAccessRequest) Reset() {
|
|
*x = GatingEvaluateAccessRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GatingEvaluateAccessRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GatingEvaluateAccessRequest) ProtoMessage() {}
|
|
|
|
func (x *GatingEvaluateAccessRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[29]
|
|
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 GatingEvaluateAccessRequest.ProtoReflect.Descriptor instead.
|
|
func (*GatingEvaluateAccessRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *GatingEvaluateAccessRequest) GetUserTierLevel() int32 {
|
|
if x != nil {
|
|
return x.UserTierLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GatingEvaluateAccessRequest) GetRule() *AccessRule {
|
|
if x != nil {
|
|
return x.Rule
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GatingEvaluateAccessResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Result *AccessResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GatingEvaluateAccessResponse) Reset() {
|
|
*x = GatingEvaluateAccessResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GatingEvaluateAccessResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GatingEvaluateAccessResponse) ProtoMessage() {}
|
|
|
|
func (x *GatingEvaluateAccessResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[30]
|
|
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 GatingEvaluateAccessResponse.ProtoReflect.Descriptor instead.
|
|
func (*GatingEvaluateAccessResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *GatingEvaluateAccessResponse) GetResult() *AccessResult {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AccessRule mirrors gating.AccessRule.
|
|
type AccessRule struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MinTierLevel int32 `protobuf:"varint,1,opt,name=min_tier_level,json=minTierLevel,proto3" json:"min_tier_level,omitempty"`
|
|
OverrideTierId string `protobuf:"bytes,2,opt,name=override_tier_id,json=overrideTierId,proto3" json:"override_tier_id,omitempty"`
|
|
TeaserMode string `protobuf:"bytes,3,opt,name=teaser_mode,json=teaserMode,proto3" json:"teaser_mode,omitempty"` // "hard", "soft", "none"
|
|
TeaserPercent int32 `protobuf:"varint,4,opt,name=teaser_percent,json=teaserPercent,proto3" json:"teaser_percent,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessRule) Reset() {
|
|
*x = AccessRule{}
|
|
mi := &file_v1_capability_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessRule) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessRule) ProtoMessage() {}
|
|
|
|
func (x *AccessRule) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[31]
|
|
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 AccessRule.ProtoReflect.Descriptor instead.
|
|
func (*AccessRule) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *AccessRule) GetMinTierLevel() int32 {
|
|
if x != nil {
|
|
return x.MinTierLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccessRule) GetOverrideTierId() string {
|
|
if x != nil {
|
|
return x.OverrideTierId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessRule) GetTeaserMode() string {
|
|
if x != nil {
|
|
return x.TeaserMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessRule) GetTeaserPercent() int32 {
|
|
if x != nil {
|
|
return x.TeaserPercent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// AccessResult mirrors gating.AccessResult.
|
|
type AccessResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
HasAccess bool `protobuf:"varint,1,opt,name=has_access,json=hasAccess,proto3" json:"has_access,omitempty"`
|
|
TeaserMode string `protobuf:"bytes,2,opt,name=teaser_mode,json=teaserMode,proto3" json:"teaser_mode,omitempty"`
|
|
TeaserPercent int32 `protobuf:"varint,3,opt,name=teaser_percent,json=teaserPercent,proto3" json:"teaser_percent,omitempty"`
|
|
RequiredLevel int32 `protobuf:"varint,4,opt,name=required_level,json=requiredLevel,proto3" json:"required_level,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccessResult) Reset() {
|
|
*x = AccessResult{}
|
|
mi := &file_v1_capability_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccessResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccessResult) ProtoMessage() {}
|
|
|
|
func (x *AccessResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[32]
|
|
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 AccessResult.ProtoReflect.Descriptor instead.
|
|
func (*AccessResult) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *AccessResult) GetHasAccess() bool {
|
|
if x != nil {
|
|
return x.HasAccess
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccessResult) GetTeaserMode() string {
|
|
if x != nil {
|
|
return x.TeaserMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccessResult) GetTeaserPercent() int32 {
|
|
if x != nil {
|
|
return x.TeaserPercent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccessResult) GetRequiredLevel() int32 {
|
|
if x != nil {
|
|
return x.RequiredLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CryptoEncryptSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plaintext string `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CryptoEncryptSecretRequest) Reset() {
|
|
*x = CryptoEncryptSecretRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CryptoEncryptSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CryptoEncryptSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *CryptoEncryptSecretRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[33]
|
|
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 CryptoEncryptSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*CryptoEncryptSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *CryptoEncryptSecretRequest) GetPlaintext() string {
|
|
if x != nil {
|
|
return x.Plaintext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CryptoEncryptSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ciphertext string `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CryptoEncryptSecretResponse) Reset() {
|
|
*x = CryptoEncryptSecretResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CryptoEncryptSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CryptoEncryptSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *CryptoEncryptSecretResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[34]
|
|
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 CryptoEncryptSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*CryptoEncryptSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *CryptoEncryptSecretResponse) GetCiphertext() string {
|
|
if x != nil {
|
|
return x.Ciphertext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CryptoDecryptSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ciphertext string `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CryptoDecryptSecretRequest) Reset() {
|
|
*x = CryptoDecryptSecretRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CryptoDecryptSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CryptoDecryptSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *CryptoDecryptSecretRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[35]
|
|
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 CryptoDecryptSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*CryptoDecryptSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *CryptoDecryptSecretRequest) GetCiphertext() string {
|
|
if x != nil {
|
|
return x.Ciphertext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CryptoDecryptSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plaintext string `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CryptoDecryptSecretResponse) Reset() {
|
|
*x = CryptoDecryptSecretResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CryptoDecryptSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CryptoDecryptSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *CryptoDecryptSecretResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[36]
|
|
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 CryptoDecryptSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*CryptoDecryptSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *CryptoDecryptSecretResponse) GetPlaintext() string {
|
|
if x != nil {
|
|
return x.Plaintext
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MenusGetMenuByNameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenusGetMenuByNameRequest) Reset() {
|
|
*x = MenusGetMenuByNameRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenusGetMenuByNameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenusGetMenuByNameRequest) ProtoMessage() {}
|
|
|
|
func (x *MenusGetMenuByNameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[37]
|
|
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 MenusGetMenuByNameRequest.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuByNameRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *MenusGetMenuByNameRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MenusGetMenuByNameResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Menu *Menu `protobuf:"bytes,1,opt,name=menu,proto3" json:"menu,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenusGetMenuByNameResponse) Reset() {
|
|
*x = MenusGetMenuByNameResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenusGetMenuByNameResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenusGetMenuByNameResponse) ProtoMessage() {}
|
|
|
|
func (x *MenusGetMenuByNameResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[38]
|
|
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 MenusGetMenuByNameResponse.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuByNameResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *MenusGetMenuByNameResponse) GetMenu() *Menu {
|
|
if x != nil {
|
|
return x.Menu
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Menu mirrors menus.Menu.
|
|
type Menu struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Menu) Reset() {
|
|
*x = Menu{}
|
|
mi := &file_v1_capability_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Menu) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Menu) ProtoMessage() {}
|
|
|
|
func (x *Menu) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[39]
|
|
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 Menu.ProtoReflect.Descriptor instead.
|
|
func (*Menu) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *Menu) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Menu) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MenusGetMenuItemsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MenuId string `protobuf:"bytes,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenusGetMenuItemsRequest) Reset() {
|
|
*x = MenusGetMenuItemsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenusGetMenuItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenusGetMenuItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *MenusGetMenuItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[40]
|
|
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 MenusGetMenuItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *MenusGetMenuItemsRequest) GetMenuId() string {
|
|
if x != nil {
|
|
return x.MenuId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MenusGetMenuItemsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*MenuItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenusGetMenuItemsResponse) Reset() {
|
|
*x = MenusGetMenuItemsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenusGetMenuItemsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenusGetMenuItemsResponse) ProtoMessage() {}
|
|
|
|
func (x *MenusGetMenuItemsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[41]
|
|
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 MenusGetMenuItemsResponse.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuItemsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *MenusGetMenuItemsResponse) GetItems() []*MenuItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MenuItem mirrors menus.MenuItem.
|
|
type MenuItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
MenuId string `protobuf:"bytes,2,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` // UUID
|
|
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
|
|
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
|
|
PageSlug string `protobuf:"bytes,5,opt,name=page_slug,json=pageSlug,proto3" json:"page_slug,omitempty"`
|
|
ParentId *string `protobuf:"bytes,6,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` // UUID; unset mirrors nil *uuid.UUID
|
|
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
|
OpenInNewTab bool `protobuf:"varint,8,opt,name=open_in_new_tab,json=openInNewTab,proto3" json:"open_in_new_tab,omitempty"`
|
|
CssClass string `protobuf:"bytes,9,opt,name=css_class,json=cssClass,proto3" json:"css_class,omitempty"`
|
|
ItemType string `protobuf:"bytes,10,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
|
|
Icon string `protobuf:"bytes,11,opt,name=icon,proto3" json:"icon,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MenuItem) Reset() {
|
|
*x = MenuItem{}
|
|
mi := &file_v1_capability_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MenuItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MenuItem) ProtoMessage() {}
|
|
|
|
func (x *MenuItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[42]
|
|
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 MenuItem.ProtoReflect.Descriptor instead.
|
|
func (*MenuItem) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *MenuItem) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetMenuId() string {
|
|
if x != nil {
|
|
return x.MenuId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetPageSlug() string {
|
|
if x != nil {
|
|
return x.PageSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetParentId() string {
|
|
if x != nil && x.ParentId != nil {
|
|
return *x.ParentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetSortOrder() int32 {
|
|
if x != nil {
|
|
return x.SortOrder
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MenuItem) GetOpenInNewTab() bool {
|
|
if x != nil {
|
|
return x.OpenInNewTab
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MenuItem) GetCssClass() string {
|
|
if x != nil {
|
|
return x.CssClass
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetItemType() string {
|
|
if x != nil {
|
|
return x.ItemType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MenuItem) GetIcon() string {
|
|
if x != nil {
|
|
return x.Icon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DatasourcesResolveBucketRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketRequest) Reset() {
|
|
*x = DatasourcesResolveBucketRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatasourcesResolveBucketRequest) ProtoMessage() {}
|
|
|
|
func (x *DatasourcesResolveBucketRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[43]
|
|
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 DatasourcesResolveBucketRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketRequest) GetBucketId() string {
|
|
if x != nil {
|
|
return x.BucketId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DatasourcesResolveBucketResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Result *DatasourceResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketResponse) Reset() {
|
|
*x = DatasourcesResolveBucketResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatasourcesResolveBucketResponse) ProtoMessage() {}
|
|
|
|
func (x *DatasourcesResolveBucketResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[44]
|
|
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 DatasourcesResolveBucketResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketResponse) GetResult() *DatasourceResult {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatasourcesResolveBucketByKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BucketKey string `protobuf:"bytes,1,opt,name=bucket_key,json=bucketKey,proto3" json:"bucket_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyRequest) Reset() {
|
|
*x = DatasourcesResolveBucketByKeyRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatasourcesResolveBucketByKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[45]
|
|
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 DatasourcesResolveBucketByKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketByKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyRequest) GetBucketKey() string {
|
|
if x != nil {
|
|
return x.BucketKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DatasourcesResolveBucketByKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Result *DatasourceResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyResponse) Reset() {
|
|
*x = DatasourcesResolveBucketByKeyResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatasourcesResolveBucketByKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[46]
|
|
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 DatasourcesResolveBucketByKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketByKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *DatasourcesResolveBucketByKeyResponse) GetResult() *DatasourceResult {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DatasourceResult mirrors datasources.Result ([]any / map[string]any as
|
|
// JSON bytes).
|
|
type DatasourceResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// JSON array of items.
|
|
ItemsJson []byte `protobuf:"bytes,1,opt,name=items_json,json=itemsJson,proto3" json:"items_json,omitempty"`
|
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
|
// JSON object; empty when absent.
|
|
MetaJson []byte `protobuf:"bytes,3,opt,name=meta_json,json=metaJson,proto3" json:"meta_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatasourceResult) Reset() {
|
|
*x = DatasourceResult{}
|
|
mi := &file_v1_capability_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatasourceResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatasourceResult) ProtoMessage() {}
|
|
|
|
func (x *DatasourceResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[47]
|
|
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 DatasourceResult.ProtoReflect.Descriptor instead.
|
|
func (*DatasourceResult) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *DatasourceResult) GetItemsJson() []byte {
|
|
if x != nil {
|
|
return x.ItemsJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DatasourceResult) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DatasourceResult) GetMetaJson() []byte {
|
|
if x != nil {
|
|
return x.MetaJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UsersGetByUsernameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UsersGetByUsernameRequest) Reset() {
|
|
*x = UsersGetByUsernameRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UsersGetByUsernameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UsersGetByUsernameRequest) ProtoMessage() {}
|
|
|
|
func (x *UsersGetByUsernameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[48]
|
|
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 UsersGetByUsernameRequest.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByUsernameRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *UsersGetByUsernameRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UsersGetByUsernameResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
User *PublicUserProfile `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UsersGetByUsernameResponse) Reset() {
|
|
*x = UsersGetByUsernameResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UsersGetByUsernameResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UsersGetByUsernameResponse) ProtoMessage() {}
|
|
|
|
func (x *UsersGetByUsernameResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[49]
|
|
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 UsersGetByUsernameResponse.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByUsernameResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *UsersGetByUsernameResponse) GetUser() *PublicUserProfile {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UsersGetByIdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UsersGetByIdRequest) Reset() {
|
|
*x = UsersGetByIdRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UsersGetByIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UsersGetByIdRequest) ProtoMessage() {}
|
|
|
|
func (x *UsersGetByIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[50]
|
|
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 UsersGetByIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *UsersGetByIdRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UsersGetByIdResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
User *PublicUserProfile `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UsersGetByIdResponse) Reset() {
|
|
*x = UsersGetByIdResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UsersGetByIdResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UsersGetByIdResponse) ProtoMessage() {}
|
|
|
|
func (x *UsersGetByIdResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[51]
|
|
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 UsersGetByIdResponse.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByIdResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *UsersGetByIdResponse) GetUser() *PublicUserProfile {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// PublicUserProfile mirrors auth.PublicUserProfile.
|
|
type PublicUserProfile struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
|
|
Bio string `protobuf:"bytes,6,opt,name=bio,proto3" json:"bio,omitempty"`
|
|
EmailVerified bool `protobuf:"varint,7,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
|
|
Role string `protobuf:"bytes,8,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublicUserProfile) Reset() {
|
|
*x = PublicUserProfile{}
|
|
mi := &file_v1_capability_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublicUserProfile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublicUserProfile) ProtoMessage() {}
|
|
|
|
func (x *PublicUserProfile) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[52]
|
|
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 PublicUserProfile.ProtoReflect.Descriptor instead.
|
|
func (*PublicUserProfile) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetAvatarUrl() string {
|
|
if x != nil {
|
|
return x.AvatarUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetBio() string {
|
|
if x != nil {
|
|
return x.Bio
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetEmailVerified() bool {
|
|
if x != nil {
|
|
return x.EmailVerified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PublicUserProfile) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscriptionsGetUserTierLevelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelRequest) Reset() {
|
|
*x = SubscriptionsGetUserTierLevelRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsGetUserTierLevelRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[53]
|
|
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 SubscriptionsGetUserTierLevelRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetUserTierLevelRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelRequest) GetUserId() string {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscriptionsGetUserTierLevelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TierLevel *TierLevel `protobuf:"bytes,1,opt,name=tier_level,json=tierLevel,proto3" json:"tier_level,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelResponse) Reset() {
|
|
*x = SubscriptionsGetUserTierLevelResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsGetUserTierLevelResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[54]
|
|
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 SubscriptionsGetUserTierLevelResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetUserTierLevelResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *SubscriptionsGetUserTierLevelResponse) GetTierLevel() *TierLevel {
|
|
if x != nil {
|
|
return x.TierLevel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// TierLevel mirrors subscriptions.TierLevel.
|
|
type TierLevel struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
|
// JSON feature payload.
|
|
Features []byte `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TierLevel) Reset() {
|
|
*x = TierLevel{}
|
|
mi := &file_v1_capability_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TierLevel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TierLevel) ProtoMessage() {}
|
|
|
|
func (x *TierLevel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[55]
|
|
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 TierLevel.ProtoReflect.Descriptor instead.
|
|
func (*TierLevel) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *TierLevel) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TierLevel) GetFeatures() []byte {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscriptionsGetTierBySlugRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsGetTierBySlugRequest) Reset() {
|
|
*x = SubscriptionsGetTierBySlugRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsGetTierBySlugRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsGetTierBySlugRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsGetTierBySlugRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[56]
|
|
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 SubscriptionsGetTierBySlugRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetTierBySlugRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *SubscriptionsGetTierBySlugRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscriptionsGetTierBySlugResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tier *Tier `protobuf:"bytes,1,opt,name=tier,proto3" json:"tier,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsGetTierBySlugResponse) Reset() {
|
|
*x = SubscriptionsGetTierBySlugResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsGetTierBySlugResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsGetTierBySlugResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsGetTierBySlugResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[57]
|
|
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 SubscriptionsGetTierBySlugResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetTierBySlugResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *SubscriptionsGetTierBySlugResponse) GetTier() *Tier {
|
|
if x != nil {
|
|
return x.Tier
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Tier mirrors subscriptions.Tier.
|
|
type Tier struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
|
|
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
|
|
// JSON feature payload.
|
|
Features []byte `protobuf:"bytes,6,opt,name=features,proto3" json:"features,omitempty"`
|
|
IsDefault bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
|
|
Position int32 `protobuf:"varint,8,opt,name=position,proto3" json:"position,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Tier) Reset() {
|
|
*x = Tier{}
|
|
mi := &file_v1_capability_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Tier) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Tier) ProtoMessage() {}
|
|
|
|
func (x *Tier) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[58]
|
|
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 Tier.ProtoReflect.Descriptor instead.
|
|
func (*Tier) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *Tier) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tier) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tier) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tier) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Tier) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tier) GetFeatures() []byte {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Tier) GetIsDefault() bool {
|
|
if x != nil {
|
|
return x.IsDefault
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Tier) GetPosition() int32 {
|
|
if x != nil {
|
|
return x.Position
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SubscriptionsListTiersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsListTiersRequest) Reset() {
|
|
*x = SubscriptionsListTiersRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsListTiersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsListTiersRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsListTiersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[59]
|
|
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 SubscriptionsListTiersRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListTiersRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
type SubscriptionsListTiersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tiers []*Tier `protobuf:"bytes,1,rep,name=tiers,proto3" json:"tiers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsListTiersResponse) Reset() {
|
|
*x = SubscriptionsListTiersResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsListTiersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsListTiersResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsListTiersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[60]
|
|
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 SubscriptionsListTiersResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListTiersResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *SubscriptionsListTiersResponse) GetTiers() []*Tier {
|
|
if x != nil {
|
|
return x.Tiers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscriptionsListActivePlansRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TierId string `protobuf:"bytes,1,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsListActivePlansRequest) Reset() {
|
|
*x = SubscriptionsListActivePlansRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsListActivePlansRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsListActivePlansRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsListActivePlansRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[61]
|
|
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 SubscriptionsListActivePlansRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListActivePlansRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *SubscriptionsListActivePlansRequest) GetTierId() string {
|
|
if x != nil {
|
|
return x.TierId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscriptionsListActivePlansResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Plans []*Plan `protobuf:"bytes,1,rep,name=plans,proto3" json:"plans,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriptionsListActivePlansResponse) Reset() {
|
|
*x = SubscriptionsListActivePlansResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriptionsListActivePlansResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriptionsListActivePlansResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscriptionsListActivePlansResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[62]
|
|
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 SubscriptionsListActivePlansResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListActivePlansResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *SubscriptionsListActivePlansResponse) GetPlans() []*Plan {
|
|
if x != nil {
|
|
return x.Plans
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Plan mirrors subscriptions.Plan.
|
|
type Plan struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
TierId string `protobuf:"bytes,2,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"` // UUID
|
|
BillingInterval string `protobuf:"bytes,3,opt,name=billing_interval,json=billingInterval,proto3" json:"billing_interval,omitempty"`
|
|
Amount int32 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
Currency string `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"`
|
|
IsActive bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Plan) Reset() {
|
|
*x = Plan{}
|
|
mi := &file_v1_capability_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Plan) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Plan) ProtoMessage() {}
|
|
|
|
func (x *Plan) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[63]
|
|
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 Plan.ProtoReflect.Descriptor instead.
|
|
func (*Plan) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *Plan) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plan) GetTierId() string {
|
|
if x != nil {
|
|
return x.TierId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plan) GetBillingInterval() string {
|
|
if x != nil {
|
|
return x.BillingInterval
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plan) GetAmount() int32 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Plan) GetCurrency() string {
|
|
if x != nil {
|
|
return x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Plan) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Plan) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MediaDepositRequest mirrors plugin.MediaDeposit.
|
|
type MediaDepositRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Optional deterministic media row ID (UUID); empty = host generates one.
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
AltText string `protobuf:"bytes,4,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"`
|
|
Folder string `protobuf:"bytes,5,opt,name=folder,proto3" json:"folder,omitempty"`
|
|
Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MediaDepositRequest) Reset() {
|
|
*x = MediaDepositRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MediaDepositRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MediaDepositRequest) ProtoMessage() {}
|
|
|
|
func (x *MediaDepositRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[64]
|
|
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 MediaDepositRequest.ProtoReflect.Descriptor instead.
|
|
func (*MediaDepositRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *MediaDepositRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MediaDepositRequest) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MediaDepositRequest) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MediaDepositRequest) GetAltText() string {
|
|
if x != nil {
|
|
return x.AltText
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MediaDepositRequest) GetFolder() string {
|
|
if x != nil {
|
|
return x.Folder
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MediaDepositRequest) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// MediaDepositResponse mirrors plugin.MediaResult.
|
|
type MediaDepositResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
// Ready-to-use reference ("media:<uuid>").
|
|
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Created bool `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MediaDepositResponse) Reset() {
|
|
*x = MediaDepositResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MediaDepositResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MediaDepositResponse) ProtoMessage() {}
|
|
|
|
func (x *MediaDepositResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[65]
|
|
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 MediaDepositResponse.ProtoReflect.Descriptor instead.
|
|
func (*MediaDepositResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *MediaDepositResponse) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MediaDepositResponse) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MediaDepositResponse) GetCreated() bool {
|
|
if x != nil {
|
|
return x.Created
|
|
}
|
|
return false
|
|
}
|
|
|
|
type EmailSendRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
|
|
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmailSendRequest) Reset() {
|
|
*x = EmailSendRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmailSendRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmailSendRequest) ProtoMessage() {}
|
|
|
|
func (x *EmailSendRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[66]
|
|
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 EmailSendRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmailSendRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *EmailSendRequest) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EmailSendRequest) GetSubject() string {
|
|
if x != nil {
|
|
return x.Subject
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EmailSendRequest) GetBody() string {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EmailSendResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmailSendResponse) Reset() {
|
|
*x = EmailSendResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmailSendResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmailSendResponse) ProtoMessage() {}
|
|
|
|
func (x *EmailSendResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[67]
|
|
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 EmailSendResponse.ProtoReflect.Descriptor instead.
|
|
func (*EmailSendResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
type AiTextCallRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskKey string `protobuf:"bytes,1,opt,name=task_key,json=taskKey,proto3" json:"task_key,omitempty"`
|
|
SystemPrompt string `protobuf:"bytes,2,opt,name=system_prompt,json=systemPrompt,proto3" json:"system_prompt,omitempty"`
|
|
UserMessage string `protobuf:"bytes,3,opt,name=user_message,json=userMessage,proto3" json:"user_message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AiTextCallRequest) Reset() {
|
|
*x = AiTextCallRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AiTextCallRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AiTextCallRequest) ProtoMessage() {}
|
|
|
|
func (x *AiTextCallRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[68]
|
|
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 AiTextCallRequest.ProtoReflect.Descriptor instead.
|
|
func (*AiTextCallRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (x *AiTextCallRequest) GetTaskKey() string {
|
|
if x != nil {
|
|
return x.TaskKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AiTextCallRequest) GetSystemPrompt() string {
|
|
if x != nil {
|
|
return x.SystemPrompt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AiTextCallRequest) GetUserMessage() string {
|
|
if x != nil {
|
|
return x.UserMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AiTextCallResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AiTextCallResponse) Reset() {
|
|
*x = AiTextCallResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AiTextCallResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AiTextCallResponse) ProtoMessage() {}
|
|
|
|
func (x *AiTextCallResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[69]
|
|
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 AiTextCallResponse.ProtoReflect.Descriptor instead.
|
|
func (*AiTextCallResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
func (x *AiTextCallResponse) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// AiToolRegisterRequest mirrors ai.ToolDefinition (minus Handler, which
|
|
// stays guest-side; execution direction is a runtime-WO concern).
|
|
type AiToolRegisterRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
// JSON encoding of the parameter schema map.
|
|
ParameterSchemaJson []byte `protobuf:"bytes,4,opt,name=parameter_schema_json,json=parameterSchemaJson,proto3" json:"parameter_schema_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AiToolRegisterRequest) Reset() {
|
|
*x = AiToolRegisterRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AiToolRegisterRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AiToolRegisterRequest) ProtoMessage() {}
|
|
|
|
func (x *AiToolRegisterRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[70]
|
|
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 AiToolRegisterRequest.ProtoReflect.Descriptor instead.
|
|
func (*AiToolRegisterRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
func (x *AiToolRegisterRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AiToolRegisterRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AiToolRegisterRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AiToolRegisterRequest) GetParameterSchemaJson() []byte {
|
|
if x != nil {
|
|
return x.ParameterSchemaJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AiToolRegisterResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AiToolRegisterResponse) Reset() {
|
|
*x = AiToolRegisterResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AiToolRegisterResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AiToolRegisterResponse) ProtoMessage() {}
|
|
|
|
func (x *AiToolRegisterResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[71]
|
|
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 AiToolRegisterResponse.ProtoReflect.Descriptor instead.
|
|
func (*AiToolRegisterResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
type BridgeRegisterServiceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BridgeRegisterServiceRequest) Reset() {
|
|
*x = BridgeRegisterServiceRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BridgeRegisterServiceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BridgeRegisterServiceRequest) ProtoMessage() {}
|
|
|
|
func (x *BridgeRegisterServiceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[72]
|
|
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 BridgeRegisterServiceRequest.ProtoReflect.Descriptor instead.
|
|
func (*BridgeRegisterServiceRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
func (x *BridgeRegisterServiceRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BridgeRegisterServiceRequest) GetServiceName() string {
|
|
if x != nil {
|
|
return x.ServiceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BridgeRegisterServiceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BridgeRegisterServiceResponse) Reset() {
|
|
*x = BridgeRegisterServiceResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BridgeRegisterServiceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BridgeRegisterServiceResponse) ProtoMessage() {}
|
|
|
|
func (x *BridgeRegisterServiceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[73]
|
|
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 BridgeRegisterServiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*BridgeRegisterServiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
type BridgeGetServiceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BridgeGetServiceRequest) Reset() {
|
|
*x = BridgeGetServiceRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BridgeGetServiceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BridgeGetServiceRequest) ProtoMessage() {}
|
|
|
|
func (x *BridgeGetServiceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[74]
|
|
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 BridgeGetServiceRequest.ProtoReflect.Descriptor instead.
|
|
func (*BridgeGetServiceRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *BridgeGetServiceRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BridgeGetServiceRequest) GetServiceName() string {
|
|
if x != nil {
|
|
return x.ServiceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BridgeGetServiceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BridgeGetServiceResponse) Reset() {
|
|
*x = BridgeGetServiceResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BridgeGetServiceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BridgeGetServiceResponse) ProtoMessage() {}
|
|
|
|
func (x *BridgeGetServiceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[75]
|
|
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 BridgeGetServiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*BridgeGetServiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
func (x *BridgeGetServiceResponse) GetAvailable() bool {
|
|
if x != nil {
|
|
return x.Available
|
|
}
|
|
return false
|
|
}
|
|
|
|
type JobsSubmitRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
JobType string `protobuf:"bytes,1,opt,name=job_type,json=jobType,proto3" json:"job_type,omitempty"`
|
|
// JSON job configuration.
|
|
ConfigJson []byte `protobuf:"bytes,2,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *JobsSubmitRequest) Reset() {
|
|
*x = JobsSubmitRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *JobsSubmitRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JobsSubmitRequest) ProtoMessage() {}
|
|
|
|
func (x *JobsSubmitRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[76]
|
|
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 JobsSubmitRequest.ProtoReflect.Descriptor instead.
|
|
func (*JobsSubmitRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
func (x *JobsSubmitRequest) GetJobType() string {
|
|
if x != nil {
|
|
return x.JobType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *JobsSubmitRequest) GetConfigJson() []byte {
|
|
if x != nil {
|
|
return x.ConfigJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type JobsSubmitResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *JobsSubmitResponse) Reset() {
|
|
*x = JobsSubmitResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *JobsSubmitResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JobsSubmitResponse) ProtoMessage() {}
|
|
|
|
func (x *JobsSubmitResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[77]
|
|
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 JobsSubmitResponse.ProtoReflect.Descriptor instead.
|
|
func (*JobsSubmitResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
type EmbeddingsGenerateEmbeddingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingRequest) Reset() {
|
|
*x = EmbeddingsGenerateEmbeddingRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmbeddingsGenerateEmbeddingRequest) ProtoMessage() {}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[78]
|
|
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 EmbeddingsGenerateEmbeddingRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmbeddingsGenerateEmbeddingRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingRequest) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EmbeddingsGenerateEmbeddingResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Embedding []float32 `protobuf:"fixed32,1,rep,packed,name=embedding,proto3" json:"embedding,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingResponse) Reset() {
|
|
*x = EmbeddingsGenerateEmbeddingResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmbeddingsGenerateEmbeddingResponse) ProtoMessage() {}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[79]
|
|
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 EmbeddingsGenerateEmbeddingResponse.ProtoReflect.Descriptor instead.
|
|
func (*EmbeddingsGenerateEmbeddingResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
func (x *EmbeddingsGenerateEmbeddingResponse) GetEmbedding() []float32 {
|
|
if x != nil {
|
|
return x.Embedding
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EmbeddingsEmbedContentRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SourceType string `protobuf:"bytes,1,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"`
|
|
SourceId string `protobuf:"bytes,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` // UUID
|
|
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentRequest) Reset() {
|
|
*x = EmbeddingsEmbedContentRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[80]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmbeddingsEmbedContentRequest) ProtoMessage() {}
|
|
|
|
func (x *EmbeddingsEmbedContentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[80]
|
|
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 EmbeddingsEmbedContentRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmbeddingsEmbedContentRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentRequest) GetSourceType() string {
|
|
if x != nil {
|
|
return x.SourceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentRequest) GetSourceId() string {
|
|
if x != nil {
|
|
return x.SourceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentRequest) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EmbeddingsEmbedContentResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Embedded bool `protobuf:"varint,1,opt,name=embedded,proto3" json:"embedded,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentResponse) Reset() {
|
|
*x = EmbeddingsEmbedContentResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmbeddingsEmbedContentResponse) ProtoMessage() {}
|
|
|
|
func (x *EmbeddingsEmbedContentResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[81]
|
|
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 EmbeddingsEmbedContentResponse.ProtoReflect.Descriptor instead.
|
|
func (*EmbeddingsEmbedContentResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
func (x *EmbeddingsEmbedContentResponse) GetEmbedded() bool {
|
|
if x != nil {
|
|
return x.Embedded
|
|
}
|
|
return false
|
|
}
|
|
|
|
type EmbeddingsIsAvailableRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmbeddingsIsAvailableRequest) Reset() {
|
|
*x = EmbeddingsIsAvailableRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmbeddingsIsAvailableRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmbeddingsIsAvailableRequest) ProtoMessage() {}
|
|
|
|
func (x *EmbeddingsIsAvailableRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[82]
|
|
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 EmbeddingsIsAvailableRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmbeddingsIsAvailableRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
type EmbeddingsIsAvailableResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmbeddingsIsAvailableResponse) Reset() {
|
|
*x = EmbeddingsIsAvailableResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmbeddingsIsAvailableResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmbeddingsIsAvailableResponse) ProtoMessage() {}
|
|
|
|
func (x *EmbeddingsIsAvailableResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[83]
|
|
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 EmbeddingsIsAvailableResponse.ProtoReflect.Descriptor instead.
|
|
func (*EmbeddingsIsAvailableResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
func (x *EmbeddingsIsAvailableResponse) GetAvailable() bool {
|
|
if x != nil {
|
|
return x.Available
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RagQueryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RagQueryRequest) Reset() {
|
|
*x = RagQueryRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RagQueryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RagQueryRequest) ProtoMessage() {}
|
|
|
|
func (x *RagQueryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[84]
|
|
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 RagQueryRequest.ProtoReflect.Descriptor instead.
|
|
func (*RagQueryRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
func (x *RagQueryRequest) GetQuery() string {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RagQueryRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RagQueryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Results []*RagResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RagQueryResponse) Reset() {
|
|
*x = RagQueryResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RagQueryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RagQueryResponse) ProtoMessage() {}
|
|
|
|
func (x *RagQueryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[85]
|
|
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 RagQueryResponse.ProtoReflect.Descriptor instead.
|
|
func (*RagQueryResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
func (x *RagQueryResponse) GetResults() []*RagResult {
|
|
if x != nil {
|
|
return x.Results
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// RagResult mirrors plugin.RAGResult.
|
|
type RagResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
|
Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
|
|
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RagResult) Reset() {
|
|
*x = RagResult{}
|
|
mi := &file_v1_capability_proto_msgTypes[86]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RagResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RagResult) ProtoMessage() {}
|
|
|
|
func (x *RagResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[86]
|
|
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 RagResult.ProtoReflect.Descriptor instead.
|
|
func (*RagResult) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
func (x *RagResult) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RagResult) GetScore() float64 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RagResult) GetMetadata() map[string]string {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RagOnContentChangedRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
ContentId string `protobuf:"bytes,2,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RagOnContentChangedRequest) Reset() {
|
|
*x = RagOnContentChangedRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[87]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RagOnContentChangedRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RagOnContentChangedRequest) ProtoMessage() {}
|
|
|
|
func (x *RagOnContentChangedRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[87]
|
|
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 RagOnContentChangedRequest.ProtoReflect.Descriptor instead.
|
|
func (*RagOnContentChangedRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
func (x *RagOnContentChangedRequest) GetContentType() string {
|
|
if x != nil {
|
|
return x.ContentType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RagOnContentChangedRequest) GetContentId() string {
|
|
if x != nil {
|
|
return x.ContentId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RagOnContentChangedResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RagOnContentChangedResponse) Reset() {
|
|
*x = RagOnContentChangedResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[88]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RagOnContentChangedResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RagOnContentChangedResponse) ProtoMessage() {}
|
|
|
|
func (x *RagOnContentChangedResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[88]
|
|
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 RagOnContentChangedResponse.ProtoReflect.Descriptor instead.
|
|
func (*RagOnContentChangedResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
// ReviewsSubmitReviewRequest mirrors plugin.SubmitReviewParams.
|
|
type ReviewsSubmitReviewRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // UUID
|
|
RowId string `protobuf:"bytes,2,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"` // UUID
|
|
OverallRating int32 `protobuf:"varint,3,opt,name=overall_rating,json=overallRating,proto3" json:"overall_rating,omitempty"`
|
|
ReviewText string `protobuf:"bytes,4,opt,name=review_text,json=reviewText,proto3" json:"review_text,omitempty"`
|
|
// JSON encoding of the per-criterion ratings map.
|
|
RatingsJson []byte `protobuf:"bytes,5,opt,name=ratings_json,json=ratingsJson,proto3" json:"ratings_json,omitempty"`
|
|
Photos []string `protobuf:"bytes,6,rep,name=photos,proto3" json:"photos,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) Reset() {
|
|
*x = ReviewsSubmitReviewRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[89]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReviewsSubmitReviewRequest) ProtoMessage() {}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[89]
|
|
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 ReviewsSubmitReviewRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReviewsSubmitReviewRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) GetTableId() string {
|
|
if x != nil {
|
|
return x.TableId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) GetRowId() string {
|
|
if x != nil {
|
|
return x.RowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) GetOverallRating() int32 {
|
|
if x != nil {
|
|
return x.OverallRating
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) GetReviewText() string {
|
|
if x != nil {
|
|
return x.ReviewText
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) GetRatingsJson() []byte {
|
|
if x != nil {
|
|
return x.RatingsJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewRequest) GetPhotos() []string {
|
|
if x != nil {
|
|
return x.Photos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReviewsSubmitReviewResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ReviewId string `protobuf:"bytes,1,opt,name=review_id,json=reviewId,proto3" json:"review_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewResponse) Reset() {
|
|
*x = ReviewsSubmitReviewResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[90]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReviewsSubmitReviewResponse) ProtoMessage() {}
|
|
|
|
func (x *ReviewsSubmitReviewResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[90]
|
|
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 ReviewsSubmitReviewResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReviewsSubmitReviewResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
func (x *ReviewsSubmitReviewResponse) GetReviewId() string {
|
|
if x != nil {
|
|
return x.ReviewId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BadgesRefreshBadgesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // UUID
|
|
RowId string `protobuf:"bytes,2,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BadgesRefreshBadgesRequest) Reset() {
|
|
*x = BadgesRefreshBadgesRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[91]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BadgesRefreshBadgesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BadgesRefreshBadgesRequest) ProtoMessage() {}
|
|
|
|
func (x *BadgesRefreshBadgesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[91]
|
|
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 BadgesRefreshBadgesRequest.ProtoReflect.Descriptor instead.
|
|
func (*BadgesRefreshBadgesRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
func (x *BadgesRefreshBadgesRequest) GetTableId() string {
|
|
if x != nil {
|
|
return x.TableId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BadgesRefreshBadgesRequest) GetRowId() string {
|
|
if x != nil {
|
|
return x.RowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BadgesRefreshBadgesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BadgesRefreshBadgesResponse) Reset() {
|
|
*x = BadgesRefreshBadgesResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[92]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BadgesRefreshBadgesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BadgesRefreshBadgesResponse) ProtoMessage() {}
|
|
|
|
func (x *BadgesRefreshBadgesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[92]
|
|
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 BadgesRefreshBadgesResponse.ProtoReflect.Descriptor instead.
|
|
func (*BadgesRefreshBadgesResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
var File_v1_capability_proto protoreflect.FileDescriptor
|
|
|
|
const file_v1_capability_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x13v1/capability.proto\x12\x06abi.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x0fv1/invoke.proto\"C\n" +
|
|
"\x0fHostCallRequest\x12\x16\n" +
|
|
"\x06method\x18\x01 \x01(\tR\x06method\x12\x18\n" +
|
|
"\apayload\x18\x02 \x01(\fR\apayload\"T\n" +
|
|
"\x10HostCallResponse\x12\x18\n" +
|
|
"\apayload\x18\x01 \x01(\fR\apayload\x12&\n" +
|
|
"\x05error\x18\x02 \x01(\v2\x10.abi.v1.AbiErrorR\x05error\"0\n" +
|
|
"\x1eContentGetAuthorProfileRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"P\n" +
|
|
"\x1fContentGetAuthorProfileResponse\x12-\n" +
|
|
"\x06author\x18\x01 \x01(\v2\x15.abi.v1.AuthorProfileR\x06author\"\x9d\x02\n" +
|
|
"\rAuthorProfile\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04slug\x18\x03 \x01(\tR\x04slug\x12\x10\n" +
|
|
"\x03bio\x18\x04 \x01(\tR\x03bio\x12\x1d\n" +
|
|
"\n" +
|
|
"avatar_url\x18\x05 \x01(\tR\tavatarUrl\x12\x18\n" +
|
|
"\awebsite\x18\x06 \x01(\tR\awebsite\x12I\n" +
|
|
"\fsocial_links\x18\a \x03(\v2&.abi.v1.AuthorProfile.SocialLinksEntryR\vsocialLinks\x1a>\n" +
|
|
"\x10SocialLinksEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"+\n" +
|
|
"\x15ContentGetPageRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\">\n" +
|
|
"\x16ContentGetPageResponse\x12$\n" +
|
|
"\x04page\x18\x01 \x01(\v2\x10.abi.v1.PageInfoR\x04page\"D\n" +
|
|
"\bPageInfo\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04slug\x18\x02 \x01(\tR\x04slug\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\"+\n" +
|
|
"\x15ContentGetPostRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\">\n" +
|
|
"\x16ContentGetPostResponse\x12$\n" +
|
|
"\x04post\x18\x01 \x01(\v2\x10.abi.v1.PostInfoR\x04post\"\xbe\x02\n" +
|
|
"\bPostInfo\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04slug\x18\x02 \x01(\tR\x04slug\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12\x18\n" +
|
|
"\aexcerpt\x18\x04 \x01(\tR\aexcerpt\x12,\n" +
|
|
"\x12featured_image_url\x18\x05 \x01(\tR\x10featuredImageUrl\x12\x1b\n" +
|
|
"\tauthor_id\x18\x06 \x01(\tR\bauthorId\x12\x12\n" +
|
|
"\x04body\x18\a \x01(\tR\x04body\x12\x1f\n" +
|
|
"\vauthor_name\x18\b \x01(\tR\n" +
|
|
"authorName\x12\x1f\n" +
|
|
"\vauthor_slug\x18\t \x01(\tR\n" +
|
|
"authorSlug\x12=\n" +
|
|
"\fpublished_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\vpublishedAt\"\xd6\x01\n" +
|
|
"\x17ContentListPostsRequest\x12\x14\n" +
|
|
"\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x02 \x01(\x05R\x06offset\x12\x1a\n" +
|
|
"\bcategory\x18\x03 \x01(\tR\bcategory\x12%\n" +
|
|
"\x0epublished_only\x18\x04 \x01(\bR\rpublishedOnly\x12!\n" +
|
|
"\finclude_body\x18\x05 \x01(\bR\vincludeBody\x12'\n" +
|
|
"\x0finclude_excerpt\x18\x06 \x01(\bR\x0eincludeExcerpt\"B\n" +
|
|
"\x18ContentListPostsResponse\x12&\n" +
|
|
"\x05posts\x18\x01 \x03(\v2\x10.abi.v1.PostInfoR\x05posts\"+\n" +
|
|
"\x15ContentSlugifyRequest\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\",\n" +
|
|
"\x16ContentSlugifyResponse\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\":\n" +
|
|
"\x1dContentBlockNoteToHtmlRequest\x12\x19\n" +
|
|
"\bdoc_json\x18\x01 \x01(\fR\adocJson\"4\n" +
|
|
"\x1eContentBlockNoteToHtmlResponse\x12\x12\n" +
|
|
"\x04html\x18\x01 \x01(\tR\x04html\"L\n" +
|
|
"\x1dContentGenerateExcerptRequest\x12\x12\n" +
|
|
"\x04html\x18\x01 \x01(\tR\x04html\x12\x17\n" +
|
|
"\amax_len\x18\x02 \x01(\x05R\x06maxLen\":\n" +
|
|
"\x1eContentGenerateExcerptResponse\x12\x18\n" +
|
|
"\aexcerpt\x18\x01 \x01(\tR\aexcerpt\"-\n" +
|
|
"\x17ContentStripHtmlRequest\x12\x12\n" +
|
|
"\x04html\x18\x01 \x01(\tR\x04html\".\n" +
|
|
"\x18ContentStripHtmlResponse\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\" \n" +
|
|
"\x1eSettingsGetSiteSettingsRequest\"F\n" +
|
|
"\x1fSettingsGetSiteSettingsResponse\x12#\n" +
|
|
"\rsettings_json\x18\x01 \x01(\fR\fsettingsJson\"C\n" +
|
|
" SettingsGetPluginSettingsRequest\x12\x1f\n" +
|
|
"\vplugin_name\x18\x01 \x01(\tR\n" +
|
|
"pluginName\"H\n" +
|
|
"!SettingsGetPluginSettingsResponse\x12#\n" +
|
|
"\rsettings_json\x18\x01 \x01(\fR\fsettingsJson\"S\n" +
|
|
" SettingsUpdateSiteSettingRequest\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x1d\n" +
|
|
"\n" +
|
|
"value_json\x18\x02 \x01(\fR\tvalueJson\"#\n" +
|
|
"!SettingsUpdateSiteSettingResponse\">\n" +
|
|
"#GatingGetSubscriberTierLevelRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\tR\x06userId\"<\n" +
|
|
"$GatingGetSubscriberTierLevelResponse\x12\x14\n" +
|
|
"\x05level\x18\x01 \x01(\x05R\x05level\"m\n" +
|
|
"\x1bGatingEvaluateAccessRequest\x12&\n" +
|
|
"\x0fuser_tier_level\x18\x01 \x01(\x05R\ruserTierLevel\x12&\n" +
|
|
"\x04rule\x18\x02 \x01(\v2\x12.abi.v1.AccessRuleR\x04rule\"L\n" +
|
|
"\x1cGatingEvaluateAccessResponse\x12,\n" +
|
|
"\x06result\x18\x01 \x01(\v2\x14.abi.v1.AccessResultR\x06result\"\xa4\x01\n" +
|
|
"\n" +
|
|
"AccessRule\x12$\n" +
|
|
"\x0emin_tier_level\x18\x01 \x01(\x05R\fminTierLevel\x12(\n" +
|
|
"\x10override_tier_id\x18\x02 \x01(\tR\x0eoverrideTierId\x12\x1f\n" +
|
|
"\vteaser_mode\x18\x03 \x01(\tR\n" +
|
|
"teaserMode\x12%\n" +
|
|
"\x0eteaser_percent\x18\x04 \x01(\x05R\rteaserPercent\"\x9c\x01\n" +
|
|
"\fAccessResult\x12\x1d\n" +
|
|
"\n" +
|
|
"has_access\x18\x01 \x01(\bR\thasAccess\x12\x1f\n" +
|
|
"\vteaser_mode\x18\x02 \x01(\tR\n" +
|
|
"teaserMode\x12%\n" +
|
|
"\x0eteaser_percent\x18\x03 \x01(\x05R\rteaserPercent\x12%\n" +
|
|
"\x0erequired_level\x18\x04 \x01(\x05R\rrequiredLevel\":\n" +
|
|
"\x1aCryptoEncryptSecretRequest\x12\x1c\n" +
|
|
"\tplaintext\x18\x01 \x01(\tR\tplaintext\"=\n" +
|
|
"\x1bCryptoEncryptSecretResponse\x12\x1e\n" +
|
|
"\n" +
|
|
"ciphertext\x18\x01 \x01(\tR\n" +
|
|
"ciphertext\"<\n" +
|
|
"\x1aCryptoDecryptSecretRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"ciphertext\x18\x01 \x01(\tR\n" +
|
|
"ciphertext\";\n" +
|
|
"\x1bCryptoDecryptSecretResponse\x12\x1c\n" +
|
|
"\tplaintext\x18\x01 \x01(\tR\tplaintext\"/\n" +
|
|
"\x19MenusGetMenuByNameRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\">\n" +
|
|
"\x1aMenusGetMenuByNameResponse\x12 \n" +
|
|
"\x04menu\x18\x01 \x01(\v2\f.abi.v1.MenuR\x04menu\"*\n" +
|
|
"\x04Menu\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"3\n" +
|
|
"\x18MenusGetMenuItemsRequest\x12\x17\n" +
|
|
"\amenu_id\x18\x01 \x01(\tR\x06menuId\"C\n" +
|
|
"\x19MenusGetMenuItemsResponse\x12&\n" +
|
|
"\x05items\x18\x01 \x03(\v2\x10.abi.v1.MenuItemR\x05items\"\xbc\x02\n" +
|
|
"\bMenuItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
|
|
"\amenu_id\x18\x02 \x01(\tR\x06menuId\x12\x14\n" +
|
|
"\x05label\x18\x03 \x01(\tR\x05label\x12\x10\n" +
|
|
"\x03url\x18\x04 \x01(\tR\x03url\x12\x1b\n" +
|
|
"\tpage_slug\x18\x05 \x01(\tR\bpageSlug\x12 \n" +
|
|
"\tparent_id\x18\x06 \x01(\tH\x00R\bparentId\x88\x01\x01\x12\x1d\n" +
|
|
"\n" +
|
|
"sort_order\x18\a \x01(\x05R\tsortOrder\x12%\n" +
|
|
"\x0fopen_in_new_tab\x18\b \x01(\bR\fopenInNewTab\x12\x1b\n" +
|
|
"\tcss_class\x18\t \x01(\tR\bcssClass\x12\x1b\n" +
|
|
"\titem_type\x18\n" +
|
|
" \x01(\tR\bitemType\x12\x12\n" +
|
|
"\x04icon\x18\v \x01(\tR\x04iconB\f\n" +
|
|
"\n" +
|
|
"_parent_id\">\n" +
|
|
"\x1fDatasourcesResolveBucketRequest\x12\x1b\n" +
|
|
"\tbucket_id\x18\x01 \x01(\tR\bbucketId\"T\n" +
|
|
" DatasourcesResolveBucketResponse\x120\n" +
|
|
"\x06result\x18\x01 \x01(\v2\x18.abi.v1.DatasourceResultR\x06result\"E\n" +
|
|
"$DatasourcesResolveBucketByKeyRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"bucket_key\x18\x01 \x01(\tR\tbucketKey\"Y\n" +
|
|
"%DatasourcesResolveBucketByKeyResponse\x120\n" +
|
|
"\x06result\x18\x01 \x01(\v2\x18.abi.v1.DatasourceResultR\x06result\"d\n" +
|
|
"\x10DatasourceResult\x12\x1d\n" +
|
|
"\n" +
|
|
"items_json\x18\x01 \x01(\fR\titemsJson\x12\x14\n" +
|
|
"\x05total\x18\x02 \x01(\x05R\x05total\x12\x1b\n" +
|
|
"\tmeta_json\x18\x03 \x01(\fR\bmetaJson\"7\n" +
|
|
"\x19UsersGetByUsernameRequest\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\"K\n" +
|
|
"\x1aUsersGetByUsernameResponse\x12-\n" +
|
|
"\x04user\x18\x01 \x01(\v2\x19.abi.v1.PublicUserProfileR\x04user\"%\n" +
|
|
"\x13UsersGetByIdRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"E\n" +
|
|
"\x14UsersGetByIdResponse\x12-\n" +
|
|
"\x04user\x18\x01 \x01(\v2\x19.abi.v1.PublicUserProfileR\x04user\"\xe4\x01\n" +
|
|
"\x11PublicUserProfile\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
|
|
"\x05email\x18\x02 \x01(\tR\x05email\x12\x1a\n" +
|
|
"\busername\x18\x03 \x01(\tR\busername\x12!\n" +
|
|
"\fdisplay_name\x18\x04 \x01(\tR\vdisplayName\x12\x1d\n" +
|
|
"\n" +
|
|
"avatar_url\x18\x05 \x01(\tR\tavatarUrl\x12\x10\n" +
|
|
"\x03bio\x18\x06 \x01(\tR\x03bio\x12%\n" +
|
|
"\x0eemail_verified\x18\a \x01(\bR\remailVerified\x12\x12\n" +
|
|
"\x04role\x18\b \x01(\tR\x04role\"?\n" +
|
|
"$SubscriptionsGetUserTierLevelRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\tR\x06userId\"Y\n" +
|
|
"%SubscriptionsGetUserTierLevelResponse\x120\n" +
|
|
"\n" +
|
|
"tier_level\x18\x01 \x01(\v2\x11.abi.v1.TierLevelR\ttierLevel\"=\n" +
|
|
"\tTierLevel\x12\x14\n" +
|
|
"\x05level\x18\x01 \x01(\x05R\x05level\x12\x1a\n" +
|
|
"\bfeatures\x18\x02 \x01(\fR\bfeatures\"7\n" +
|
|
"!SubscriptionsGetTierBySlugRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\"F\n" +
|
|
"\"SubscriptionsGetTierBySlugResponse\x12 \n" +
|
|
"\x04tier\x18\x01 \x01(\v2\f.abi.v1.TierR\x04tier\"\xcd\x01\n" +
|
|
"\x04Tier\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04slug\x18\x03 \x01(\tR\x04slug\x12\x14\n" +
|
|
"\x05level\x18\x04 \x01(\x05R\x05level\x12 \n" +
|
|
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x1a\n" +
|
|
"\bfeatures\x18\x06 \x01(\fR\bfeatures\x12\x1d\n" +
|
|
"\n" +
|
|
"is_default\x18\a \x01(\bR\tisDefault\x12\x1a\n" +
|
|
"\bposition\x18\b \x01(\x05R\bposition\"\x1f\n" +
|
|
"\x1dSubscriptionsListTiersRequest\"D\n" +
|
|
"\x1eSubscriptionsListTiersResponse\x12\"\n" +
|
|
"\x05tiers\x18\x01 \x03(\v2\f.abi.v1.TierR\x05tiers\">\n" +
|
|
"#SubscriptionsListActivePlansRequest\x12\x17\n" +
|
|
"\atier_id\x18\x01 \x01(\tR\x06tierId\"J\n" +
|
|
"$SubscriptionsListActivePlansResponse\x12\"\n" +
|
|
"\x05plans\x18\x01 \x03(\v2\f.abi.v1.PlanR\x05plans\"\xe6\x01\n" +
|
|
"\x04Plan\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
|
|
"\atier_id\x18\x02 \x01(\tR\x06tierId\x12)\n" +
|
|
"\x10billing_interval\x18\x03 \x01(\tR\x0fbillingInterval\x12\x16\n" +
|
|
"\x06amount\x18\x04 \x01(\x05R\x06amount\x12\x1a\n" +
|
|
"\bcurrency\x18\x05 \x01(\tR\bcurrency\x12\x1b\n" +
|
|
"\tis_active\x18\x06 \x01(\bR\bisActive\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"\xa0\x01\n" +
|
|
"\x13MediaDepositRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
|
|
"\bfilename\x18\x02 \x01(\tR\bfilename\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\fR\x04data\x12\x19\n" +
|
|
"\balt_text\x18\x04 \x01(\tR\aaltText\x12\x16\n" +
|
|
"\x06folder\x18\x05 \x01(\tR\x06folder\x12\x16\n" +
|
|
"\x06source\x18\x06 \x01(\tR\x06source\"R\n" +
|
|
"\x14MediaDepositResponse\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n" +
|
|
"\x03ref\x18\x02 \x01(\tR\x03ref\x12\x18\n" +
|
|
"\acreated\x18\x03 \x01(\bR\acreated\"P\n" +
|
|
"\x10EmailSendRequest\x12\x0e\n" +
|
|
"\x02to\x18\x01 \x01(\tR\x02to\x12\x18\n" +
|
|
"\asubject\x18\x02 \x01(\tR\asubject\x12\x12\n" +
|
|
"\x04body\x18\x03 \x01(\tR\x04body\"\x13\n" +
|
|
"\x11EmailSendResponse\"v\n" +
|
|
"\x11AiTextCallRequest\x12\x19\n" +
|
|
"\btask_key\x18\x01 \x01(\tR\ataskKey\x12#\n" +
|
|
"\rsystem_prompt\x18\x02 \x01(\tR\fsystemPrompt\x12!\n" +
|
|
"\fuser_message\x18\x03 \x01(\tR\vuserMessage\"(\n" +
|
|
"\x12AiTextCallResponse\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"\x95\x01\n" +
|
|
"\x15AiToolRegisterRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x122\n" +
|
|
"\x15parameter_schema_json\x18\x04 \x01(\fR\x13parameterSchemaJson\"\x18\n" +
|
|
"\x16AiToolRegisterResponse\"b\n" +
|
|
"\x1cBridgeRegisterServiceRequest\x12\x1f\n" +
|
|
"\vplugin_name\x18\x01 \x01(\tR\n" +
|
|
"pluginName\x12!\n" +
|
|
"\fservice_name\x18\x02 \x01(\tR\vserviceName\"\x1f\n" +
|
|
"\x1dBridgeRegisterServiceResponse\"]\n" +
|
|
"\x17BridgeGetServiceRequest\x12\x1f\n" +
|
|
"\vplugin_name\x18\x01 \x01(\tR\n" +
|
|
"pluginName\x12!\n" +
|
|
"\fservice_name\x18\x02 \x01(\tR\vserviceName\"8\n" +
|
|
"\x18BridgeGetServiceResponse\x12\x1c\n" +
|
|
"\tavailable\x18\x01 \x01(\bR\tavailable\"O\n" +
|
|
"\x11JobsSubmitRequest\x12\x19\n" +
|
|
"\bjob_type\x18\x01 \x01(\tR\ajobType\x12\x1f\n" +
|
|
"\vconfig_json\x18\x02 \x01(\fR\n" +
|
|
"configJson\"\x14\n" +
|
|
"\x12JobsSubmitResponse\"8\n" +
|
|
"\"EmbeddingsGenerateEmbeddingRequest\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"C\n" +
|
|
"#EmbeddingsGenerateEmbeddingResponse\x12\x1c\n" +
|
|
"\tembedding\x18\x01 \x03(\x02R\tembedding\"q\n" +
|
|
"\x1dEmbeddingsEmbedContentRequest\x12\x1f\n" +
|
|
"\vsource_type\x18\x01 \x01(\tR\n" +
|
|
"sourceType\x12\x1b\n" +
|
|
"\tsource_id\x18\x02 \x01(\tR\bsourceId\x12\x12\n" +
|
|
"\x04text\x18\x03 \x01(\tR\x04text\"<\n" +
|
|
"\x1eEmbeddingsEmbedContentResponse\x12\x1a\n" +
|
|
"\bembedded\x18\x01 \x01(\bR\bembedded\"\x1e\n" +
|
|
"\x1cEmbeddingsIsAvailableRequest\"=\n" +
|
|
"\x1dEmbeddingsIsAvailableResponse\x12\x1c\n" +
|
|
"\tavailable\x18\x01 \x01(\bR\tavailable\"=\n" +
|
|
"\x0fRagQueryRequest\x12\x14\n" +
|
|
"\x05query\x18\x01 \x01(\tR\x05query\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x05R\x05limit\"?\n" +
|
|
"\x10RagQueryResponse\x12+\n" +
|
|
"\aresults\x18\x01 \x03(\v2\x11.abi.v1.RagResultR\aresults\"\xb5\x01\n" +
|
|
"\tRagResult\x12\x18\n" +
|
|
"\acontent\x18\x01 \x01(\tR\acontent\x12\x14\n" +
|
|
"\x05score\x18\x02 \x01(\x01R\x05score\x12;\n" +
|
|
"\bmetadata\x18\x03 \x03(\v2\x1f.abi.v1.RagResult.MetadataEntryR\bmetadata\x1a;\n" +
|
|
"\rMetadataEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"^\n" +
|
|
"\x1aRagOnContentChangedRequest\x12!\n" +
|
|
"\fcontent_type\x18\x01 \x01(\tR\vcontentType\x12\x1d\n" +
|
|
"\n" +
|
|
"content_id\x18\x02 \x01(\tR\tcontentId\"\x1d\n" +
|
|
"\x1bRagOnContentChangedResponse\"\xd1\x01\n" +
|
|
"\x1aReviewsSubmitReviewRequest\x12\x19\n" +
|
|
"\btable_id\x18\x01 \x01(\tR\atableId\x12\x15\n" +
|
|
"\x06row_id\x18\x02 \x01(\tR\x05rowId\x12%\n" +
|
|
"\x0eoverall_rating\x18\x03 \x01(\x05R\roverallRating\x12\x1f\n" +
|
|
"\vreview_text\x18\x04 \x01(\tR\n" +
|
|
"reviewText\x12!\n" +
|
|
"\fratings_json\x18\x05 \x01(\fR\vratingsJson\x12\x16\n" +
|
|
"\x06photos\x18\x06 \x03(\tR\x06photos\":\n" +
|
|
"\x1bReviewsSubmitReviewResponse\x12\x1b\n" +
|
|
"\treview_id\x18\x01 \x01(\tR\breviewId\"N\n" +
|
|
"\x1aBadgesRefreshBadgesRequest\x12\x19\n" +
|
|
"\btable_id\x18\x01 \x01(\tR\atableId\x12\x15\n" +
|
|
"\x06row_id\x18\x02 \x01(\tR\x05rowId\"\x1d\n" +
|
|
"\x1bBadgesRefreshBadgesResponseB0Z.git.dev.alexdunmow.com/block/core/abi/v1;abiv1b\x06proto3"
|
|
|
|
var (
|
|
file_v1_capability_proto_rawDescOnce sync.Once
|
|
file_v1_capability_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_v1_capability_proto_rawDescGZIP() []byte {
|
|
file_v1_capability_proto_rawDescOnce.Do(func() {
|
|
file_v1_capability_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_v1_capability_proto_rawDesc), len(file_v1_capability_proto_rawDesc)))
|
|
})
|
|
return file_v1_capability_proto_rawDescData
|
|
}
|
|
|
|
var file_v1_capability_proto_msgTypes = make([]protoimpl.MessageInfo, 95)
|
|
var file_v1_capability_proto_goTypes = []any{
|
|
(*HostCallRequest)(nil), // 0: abi.v1.HostCallRequest
|
|
(*HostCallResponse)(nil), // 1: abi.v1.HostCallResponse
|
|
(*ContentGetAuthorProfileRequest)(nil), // 2: abi.v1.ContentGetAuthorProfileRequest
|
|
(*ContentGetAuthorProfileResponse)(nil), // 3: abi.v1.ContentGetAuthorProfileResponse
|
|
(*AuthorProfile)(nil), // 4: abi.v1.AuthorProfile
|
|
(*ContentGetPageRequest)(nil), // 5: abi.v1.ContentGetPageRequest
|
|
(*ContentGetPageResponse)(nil), // 6: abi.v1.ContentGetPageResponse
|
|
(*PageInfo)(nil), // 7: abi.v1.PageInfo
|
|
(*ContentGetPostRequest)(nil), // 8: abi.v1.ContentGetPostRequest
|
|
(*ContentGetPostResponse)(nil), // 9: abi.v1.ContentGetPostResponse
|
|
(*PostInfo)(nil), // 10: abi.v1.PostInfo
|
|
(*ContentListPostsRequest)(nil), // 11: abi.v1.ContentListPostsRequest
|
|
(*ContentListPostsResponse)(nil), // 12: abi.v1.ContentListPostsResponse
|
|
(*ContentSlugifyRequest)(nil), // 13: abi.v1.ContentSlugifyRequest
|
|
(*ContentSlugifyResponse)(nil), // 14: abi.v1.ContentSlugifyResponse
|
|
(*ContentBlockNoteToHtmlRequest)(nil), // 15: abi.v1.ContentBlockNoteToHtmlRequest
|
|
(*ContentBlockNoteToHtmlResponse)(nil), // 16: abi.v1.ContentBlockNoteToHtmlResponse
|
|
(*ContentGenerateExcerptRequest)(nil), // 17: abi.v1.ContentGenerateExcerptRequest
|
|
(*ContentGenerateExcerptResponse)(nil), // 18: abi.v1.ContentGenerateExcerptResponse
|
|
(*ContentStripHtmlRequest)(nil), // 19: abi.v1.ContentStripHtmlRequest
|
|
(*ContentStripHtmlResponse)(nil), // 20: abi.v1.ContentStripHtmlResponse
|
|
(*SettingsGetSiteSettingsRequest)(nil), // 21: abi.v1.SettingsGetSiteSettingsRequest
|
|
(*SettingsGetSiteSettingsResponse)(nil), // 22: abi.v1.SettingsGetSiteSettingsResponse
|
|
(*SettingsGetPluginSettingsRequest)(nil), // 23: abi.v1.SettingsGetPluginSettingsRequest
|
|
(*SettingsGetPluginSettingsResponse)(nil), // 24: abi.v1.SettingsGetPluginSettingsResponse
|
|
(*SettingsUpdateSiteSettingRequest)(nil), // 25: abi.v1.SettingsUpdateSiteSettingRequest
|
|
(*SettingsUpdateSiteSettingResponse)(nil), // 26: abi.v1.SettingsUpdateSiteSettingResponse
|
|
(*GatingGetSubscriberTierLevelRequest)(nil), // 27: abi.v1.GatingGetSubscriberTierLevelRequest
|
|
(*GatingGetSubscriberTierLevelResponse)(nil), // 28: abi.v1.GatingGetSubscriberTierLevelResponse
|
|
(*GatingEvaluateAccessRequest)(nil), // 29: abi.v1.GatingEvaluateAccessRequest
|
|
(*GatingEvaluateAccessResponse)(nil), // 30: abi.v1.GatingEvaluateAccessResponse
|
|
(*AccessRule)(nil), // 31: abi.v1.AccessRule
|
|
(*AccessResult)(nil), // 32: abi.v1.AccessResult
|
|
(*CryptoEncryptSecretRequest)(nil), // 33: abi.v1.CryptoEncryptSecretRequest
|
|
(*CryptoEncryptSecretResponse)(nil), // 34: abi.v1.CryptoEncryptSecretResponse
|
|
(*CryptoDecryptSecretRequest)(nil), // 35: abi.v1.CryptoDecryptSecretRequest
|
|
(*CryptoDecryptSecretResponse)(nil), // 36: abi.v1.CryptoDecryptSecretResponse
|
|
(*MenusGetMenuByNameRequest)(nil), // 37: abi.v1.MenusGetMenuByNameRequest
|
|
(*MenusGetMenuByNameResponse)(nil), // 38: abi.v1.MenusGetMenuByNameResponse
|
|
(*Menu)(nil), // 39: abi.v1.Menu
|
|
(*MenusGetMenuItemsRequest)(nil), // 40: abi.v1.MenusGetMenuItemsRequest
|
|
(*MenusGetMenuItemsResponse)(nil), // 41: abi.v1.MenusGetMenuItemsResponse
|
|
(*MenuItem)(nil), // 42: abi.v1.MenuItem
|
|
(*DatasourcesResolveBucketRequest)(nil), // 43: abi.v1.DatasourcesResolveBucketRequest
|
|
(*DatasourcesResolveBucketResponse)(nil), // 44: abi.v1.DatasourcesResolveBucketResponse
|
|
(*DatasourcesResolveBucketByKeyRequest)(nil), // 45: abi.v1.DatasourcesResolveBucketByKeyRequest
|
|
(*DatasourcesResolveBucketByKeyResponse)(nil), // 46: abi.v1.DatasourcesResolveBucketByKeyResponse
|
|
(*DatasourceResult)(nil), // 47: abi.v1.DatasourceResult
|
|
(*UsersGetByUsernameRequest)(nil), // 48: abi.v1.UsersGetByUsernameRequest
|
|
(*UsersGetByUsernameResponse)(nil), // 49: abi.v1.UsersGetByUsernameResponse
|
|
(*UsersGetByIdRequest)(nil), // 50: abi.v1.UsersGetByIdRequest
|
|
(*UsersGetByIdResponse)(nil), // 51: abi.v1.UsersGetByIdResponse
|
|
(*PublicUserProfile)(nil), // 52: abi.v1.PublicUserProfile
|
|
(*SubscriptionsGetUserTierLevelRequest)(nil), // 53: abi.v1.SubscriptionsGetUserTierLevelRequest
|
|
(*SubscriptionsGetUserTierLevelResponse)(nil), // 54: abi.v1.SubscriptionsGetUserTierLevelResponse
|
|
(*TierLevel)(nil), // 55: abi.v1.TierLevel
|
|
(*SubscriptionsGetTierBySlugRequest)(nil), // 56: abi.v1.SubscriptionsGetTierBySlugRequest
|
|
(*SubscriptionsGetTierBySlugResponse)(nil), // 57: abi.v1.SubscriptionsGetTierBySlugResponse
|
|
(*Tier)(nil), // 58: abi.v1.Tier
|
|
(*SubscriptionsListTiersRequest)(nil), // 59: abi.v1.SubscriptionsListTiersRequest
|
|
(*SubscriptionsListTiersResponse)(nil), // 60: abi.v1.SubscriptionsListTiersResponse
|
|
(*SubscriptionsListActivePlansRequest)(nil), // 61: abi.v1.SubscriptionsListActivePlansRequest
|
|
(*SubscriptionsListActivePlansResponse)(nil), // 62: abi.v1.SubscriptionsListActivePlansResponse
|
|
(*Plan)(nil), // 63: abi.v1.Plan
|
|
(*MediaDepositRequest)(nil), // 64: abi.v1.MediaDepositRequest
|
|
(*MediaDepositResponse)(nil), // 65: abi.v1.MediaDepositResponse
|
|
(*EmailSendRequest)(nil), // 66: abi.v1.EmailSendRequest
|
|
(*EmailSendResponse)(nil), // 67: abi.v1.EmailSendResponse
|
|
(*AiTextCallRequest)(nil), // 68: abi.v1.AiTextCallRequest
|
|
(*AiTextCallResponse)(nil), // 69: abi.v1.AiTextCallResponse
|
|
(*AiToolRegisterRequest)(nil), // 70: abi.v1.AiToolRegisterRequest
|
|
(*AiToolRegisterResponse)(nil), // 71: abi.v1.AiToolRegisterResponse
|
|
(*BridgeRegisterServiceRequest)(nil), // 72: abi.v1.BridgeRegisterServiceRequest
|
|
(*BridgeRegisterServiceResponse)(nil), // 73: abi.v1.BridgeRegisterServiceResponse
|
|
(*BridgeGetServiceRequest)(nil), // 74: abi.v1.BridgeGetServiceRequest
|
|
(*BridgeGetServiceResponse)(nil), // 75: abi.v1.BridgeGetServiceResponse
|
|
(*JobsSubmitRequest)(nil), // 76: abi.v1.JobsSubmitRequest
|
|
(*JobsSubmitResponse)(nil), // 77: abi.v1.JobsSubmitResponse
|
|
(*EmbeddingsGenerateEmbeddingRequest)(nil), // 78: abi.v1.EmbeddingsGenerateEmbeddingRequest
|
|
(*EmbeddingsGenerateEmbeddingResponse)(nil), // 79: abi.v1.EmbeddingsGenerateEmbeddingResponse
|
|
(*EmbeddingsEmbedContentRequest)(nil), // 80: abi.v1.EmbeddingsEmbedContentRequest
|
|
(*EmbeddingsEmbedContentResponse)(nil), // 81: abi.v1.EmbeddingsEmbedContentResponse
|
|
(*EmbeddingsIsAvailableRequest)(nil), // 82: abi.v1.EmbeddingsIsAvailableRequest
|
|
(*EmbeddingsIsAvailableResponse)(nil), // 83: abi.v1.EmbeddingsIsAvailableResponse
|
|
(*RagQueryRequest)(nil), // 84: abi.v1.RagQueryRequest
|
|
(*RagQueryResponse)(nil), // 85: abi.v1.RagQueryResponse
|
|
(*RagResult)(nil), // 86: abi.v1.RagResult
|
|
(*RagOnContentChangedRequest)(nil), // 87: abi.v1.RagOnContentChangedRequest
|
|
(*RagOnContentChangedResponse)(nil), // 88: abi.v1.RagOnContentChangedResponse
|
|
(*ReviewsSubmitReviewRequest)(nil), // 89: abi.v1.ReviewsSubmitReviewRequest
|
|
(*ReviewsSubmitReviewResponse)(nil), // 90: abi.v1.ReviewsSubmitReviewResponse
|
|
(*BadgesRefreshBadgesRequest)(nil), // 91: abi.v1.BadgesRefreshBadgesRequest
|
|
(*BadgesRefreshBadgesResponse)(nil), // 92: abi.v1.BadgesRefreshBadgesResponse
|
|
nil, // 93: abi.v1.AuthorProfile.SocialLinksEntry
|
|
nil, // 94: abi.v1.RagResult.MetadataEntry
|
|
(*AbiError)(nil), // 95: abi.v1.AbiError
|
|
(*timestamppb.Timestamp)(nil), // 96: google.protobuf.Timestamp
|
|
}
|
|
var file_v1_capability_proto_depIdxs = []int32{
|
|
95, // 0: abi.v1.HostCallResponse.error:type_name -> abi.v1.AbiError
|
|
4, // 1: abi.v1.ContentGetAuthorProfileResponse.author:type_name -> abi.v1.AuthorProfile
|
|
93, // 2: abi.v1.AuthorProfile.social_links:type_name -> abi.v1.AuthorProfile.SocialLinksEntry
|
|
7, // 3: abi.v1.ContentGetPageResponse.page:type_name -> abi.v1.PageInfo
|
|
10, // 4: abi.v1.ContentGetPostResponse.post:type_name -> abi.v1.PostInfo
|
|
96, // 5: abi.v1.PostInfo.published_at:type_name -> google.protobuf.Timestamp
|
|
10, // 6: abi.v1.ContentListPostsResponse.posts:type_name -> abi.v1.PostInfo
|
|
31, // 7: abi.v1.GatingEvaluateAccessRequest.rule:type_name -> abi.v1.AccessRule
|
|
32, // 8: abi.v1.GatingEvaluateAccessResponse.result:type_name -> abi.v1.AccessResult
|
|
39, // 9: abi.v1.MenusGetMenuByNameResponse.menu:type_name -> abi.v1.Menu
|
|
42, // 10: abi.v1.MenusGetMenuItemsResponse.items:type_name -> abi.v1.MenuItem
|
|
47, // 11: abi.v1.DatasourcesResolveBucketResponse.result:type_name -> abi.v1.DatasourceResult
|
|
47, // 12: abi.v1.DatasourcesResolveBucketByKeyResponse.result:type_name -> abi.v1.DatasourceResult
|
|
52, // 13: abi.v1.UsersGetByUsernameResponse.user:type_name -> abi.v1.PublicUserProfile
|
|
52, // 14: abi.v1.UsersGetByIdResponse.user:type_name -> abi.v1.PublicUserProfile
|
|
55, // 15: abi.v1.SubscriptionsGetUserTierLevelResponse.tier_level:type_name -> abi.v1.TierLevel
|
|
58, // 16: abi.v1.SubscriptionsGetTierBySlugResponse.tier:type_name -> abi.v1.Tier
|
|
58, // 17: abi.v1.SubscriptionsListTiersResponse.tiers:type_name -> abi.v1.Tier
|
|
63, // 18: abi.v1.SubscriptionsListActivePlansResponse.plans:type_name -> abi.v1.Plan
|
|
96, // 19: abi.v1.Plan.created_at:type_name -> google.protobuf.Timestamp
|
|
86, // 20: abi.v1.RagQueryResponse.results:type_name -> abi.v1.RagResult
|
|
94, // 21: abi.v1.RagResult.metadata:type_name -> abi.v1.RagResult.MetadataEntry
|
|
22, // [22:22] is the sub-list for method output_type
|
|
22, // [22:22] is the sub-list for method input_type
|
|
22, // [22:22] is the sub-list for extension type_name
|
|
22, // [22:22] is the sub-list for extension extendee
|
|
0, // [0:22] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_v1_capability_proto_init() }
|
|
func file_v1_capability_proto_init() {
|
|
if File_v1_capability_proto != nil {
|
|
return
|
|
}
|
|
file_v1_invoke_proto_init()
|
|
file_v1_capability_proto_msgTypes[42].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_v1_capability_proto_rawDesc), len(file_v1_capability_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 95,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_v1_capability_proto_goTypes,
|
|
DependencyIndexes: file_v1_capability_proto_depIdxs,
|
|
MessageInfos: file_v1_capability_proto_msgTypes,
|
|
}.Build()
|
|
File_v1_capability_proto = out.File
|
|
file_v1_capability_proto_goTypes = nil
|
|
file_v1_capability_proto_depIdxs = nil
|
|
}
|