Wasm plugins' isolated Postgres role is deliberately denied on core tables, which left no sanctioned path to data_tables/data_table_rows. Adds the datatables.* capability family (get_table_by_key, get_row, list_rows, create_row, update_row_data, find_row_by_field) following the datasources pattern: interface package, ABI proto messages, guest stub, CoreServices wiring, golden round-trip coverage. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
9155 lines
285 KiB
Go
9155 lines
285 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 ""
|
|
}
|
|
|
|
// ContentPublishedBlockConfigsRequest asks the host for the stored content
|
|
// (config JSON) of every block with the given key inside a CURRENTLY
|
|
// published page snapshot. Lets a guest resolve server-authoritative
|
|
// per-block settings (e.g. a captcha requirement) it cannot query itself.
|
|
type ContentPublishedBlockConfigsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BlockKey string `protobuf:"bytes,1,opt,name=block_key,json=blockKey,proto3" json:"block_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentPublishedBlockConfigsRequest) Reset() {
|
|
*x = ContentPublishedBlockConfigsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentPublishedBlockConfigsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentPublishedBlockConfigsRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentPublishedBlockConfigsRequest) 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 ContentPublishedBlockConfigsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentPublishedBlockConfigsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ContentPublishedBlockConfigsRequest) GetBlockKey() string {
|
|
if x != nil {
|
|
return x.BlockKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentPublishedBlockConfigsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Configs [][]byte `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` // each entry: one block's content as JSON
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentPublishedBlockConfigsResponse) Reset() {
|
|
*x = ContentPublishedBlockConfigsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentPublishedBlockConfigsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentPublishedBlockConfigsResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentPublishedBlockConfigsResponse) 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 ContentPublishedBlockConfigsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentPublishedBlockConfigsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ContentPublishedBlockConfigsResponse) GetConfigs() [][]byte {
|
|
if x != nil {
|
|
return x.Configs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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[10]
|
|
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[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 ContentGetPostRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetPostRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
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[11]
|
|
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[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 ContentGetPostResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentGetPostResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
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[12]
|
|
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[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 PostInfo.ProtoReflect.Descriptor instead.
|
|
func (*PostInfo) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
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[13]
|
|
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[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 ContentListPostsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentListPostsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
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[14]
|
|
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[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 ContentListPostsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentListPostsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
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[15]
|
|
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[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 ContentSlugifyRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentSlugifyRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
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[16]
|
|
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[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 ContentSlugifyResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentSlugifyResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
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[17]
|
|
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[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 ContentBlockNoteToHtmlRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentBlockNoteToHtmlRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
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[18]
|
|
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[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 ContentBlockNoteToHtmlResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentBlockNoteToHtmlResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
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[19]
|
|
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[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 ContentGenerateExcerptRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentGenerateExcerptRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
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[20]
|
|
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[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 ContentGenerateExcerptResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentGenerateExcerptResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
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[21]
|
|
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[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 ContentStripHtmlRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentStripHtmlRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
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[22]
|
|
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[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 ContentStripHtmlResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentStripHtmlResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
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[23]
|
|
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[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 SettingsGetSiteSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetSiteSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
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[24]
|
|
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[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 SettingsGetSiteSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetSiteSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
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[25]
|
|
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[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 SettingsGetPluginSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetPluginSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
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[26]
|
|
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[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 SettingsGetPluginSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SettingsGetPluginSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
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[27]
|
|
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[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 SettingsUpdateSiteSettingRequest.ProtoReflect.Descriptor instead.
|
|
func (*SettingsUpdateSiteSettingRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
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[28]
|
|
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[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 SettingsUpdateSiteSettingResponse.ProtoReflect.Descriptor instead.
|
|
func (*SettingsUpdateSiteSettingResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
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[29]
|
|
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[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 GatingGetSubscriberTierLevelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GatingGetSubscriberTierLevelRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
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[30]
|
|
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[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 GatingGetSubscriberTierLevelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GatingGetSubscriberTierLevelResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
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[31]
|
|
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[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 GatingEvaluateAccessRequest.ProtoReflect.Descriptor instead.
|
|
func (*GatingEvaluateAccessRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
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[32]
|
|
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[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 GatingEvaluateAccessResponse.ProtoReflect.Descriptor instead.
|
|
func (*GatingEvaluateAccessResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
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[33]
|
|
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[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 AccessRule.ProtoReflect.Descriptor instead.
|
|
func (*AccessRule) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
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[34]
|
|
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[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 AccessResult.ProtoReflect.Descriptor instead.
|
|
func (*AccessResult) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
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[35]
|
|
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[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 CryptoEncryptSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*CryptoEncryptSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
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[36]
|
|
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[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 CryptoEncryptSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*CryptoEncryptSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
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[37]
|
|
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[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 CryptoDecryptSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*CryptoDecryptSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
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[38]
|
|
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[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 CryptoDecryptSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*CryptoDecryptSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
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[39]
|
|
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[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 MenusGetMenuByNameRequest.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuByNameRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
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[40]
|
|
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[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 MenusGetMenuByNameResponse.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuByNameResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
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[41]
|
|
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[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 Menu.ProtoReflect.Descriptor instead.
|
|
func (*Menu) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
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[42]
|
|
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[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 MenusGetMenuItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
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[43]
|
|
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[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 MenusGetMenuItemsResponse.ProtoReflect.Descriptor instead.
|
|
func (*MenusGetMenuItemsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
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[44]
|
|
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[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 MenuItem.ProtoReflect.Descriptor instead.
|
|
func (*MenuItem) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
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[45]
|
|
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[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 DatasourcesResolveBucketRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
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[46]
|
|
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[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 DatasourcesResolveBucketResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
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[47]
|
|
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[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 DatasourcesResolveBucketByKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketByKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
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[48]
|
|
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[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 DatasourcesResolveBucketByKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatasourcesResolveBucketByKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
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[49]
|
|
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[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 DatasourceResult.ProtoReflect.Descriptor instead.
|
|
func (*DatasourceResult) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
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 DatatablesGetTableByKeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TableKey string `protobuf:"bytes,1,opt,name=table_key,json=tableKey,proto3" json:"table_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesGetTableByKeyRequest) Reset() {
|
|
*x = DatatablesGetTableByKeyRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesGetTableByKeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesGetTableByKeyRequest) ProtoMessage() {}
|
|
|
|
func (x *DatatablesGetTableByKeyRequest) 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 DatatablesGetTableByKeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesGetTableByKeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *DatatablesGetTableByKeyRequest) GetTableKey() string {
|
|
if x != nil {
|
|
return x.TableKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DatatablesGetTableByKeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Table *DataTableInfo `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesGetTableByKeyResponse) Reset() {
|
|
*x = DatatablesGetTableByKeyResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesGetTableByKeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesGetTableByKeyResponse) ProtoMessage() {}
|
|
|
|
func (x *DatatablesGetTableByKeyResponse) 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 DatatablesGetTableByKeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesGetTableByKeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *DatatablesGetTableByKeyResponse) GetTable() *DataTableInfo {
|
|
if x != nil {
|
|
return x.Table
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatatablesGetRowRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RowId string `protobuf:"bytes,1,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesGetRowRequest) Reset() {
|
|
*x = DatatablesGetRowRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesGetRowRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesGetRowRequest) ProtoMessage() {}
|
|
|
|
func (x *DatatablesGetRowRequest) 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 DatatablesGetRowRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesGetRowRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *DatatablesGetRowRequest) GetRowId() string {
|
|
if x != nil {
|
|
return x.RowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DatatablesGetRowResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Row *DataTableRowInfo `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesGetRowResponse) Reset() {
|
|
*x = DatatablesGetRowResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesGetRowResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesGetRowResponse) ProtoMessage() {}
|
|
|
|
func (x *DatatablesGetRowResponse) 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 DatatablesGetRowResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesGetRowResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *DatatablesGetRowResponse) GetRow() *DataTableRowInfo {
|
|
if x != nil {
|
|
return x.Row
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatatablesListRowsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // UUID
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesListRowsRequest) Reset() {
|
|
*x = DatatablesListRowsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesListRowsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesListRowsRequest) ProtoMessage() {}
|
|
|
|
func (x *DatatablesListRowsRequest) 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 DatatablesListRowsRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesListRowsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *DatatablesListRowsRequest) GetTableId() string {
|
|
if x != nil {
|
|
return x.TableId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DatatablesListRowsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DatatablesListRowsRequest) GetOffset() int32 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DatatablesListRowsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Rows []*DataTableRowInfo `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesListRowsResponse) Reset() {
|
|
*x = DatatablesListRowsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesListRowsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesListRowsResponse) ProtoMessage() {}
|
|
|
|
func (x *DatatablesListRowsResponse) 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 DatatablesListRowsResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesListRowsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *DatatablesListRowsResponse) GetRows() []*DataTableRowInfo {
|
|
if x != nil {
|
|
return x.Rows
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatatablesCreateRowRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // UUID
|
|
DataJson []byte `protobuf:"bytes,2,opt,name=data_json,json=dataJson,proto3" json:"data_json,omitempty"` // JSON object
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesCreateRowRequest) Reset() {
|
|
*x = DatatablesCreateRowRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesCreateRowRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesCreateRowRequest) ProtoMessage() {}
|
|
|
|
func (x *DatatablesCreateRowRequest) 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 DatatablesCreateRowRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesCreateRowRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *DatatablesCreateRowRequest) GetTableId() string {
|
|
if x != nil {
|
|
return x.TableId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DatatablesCreateRowRequest) GetDataJson() []byte {
|
|
if x != nil {
|
|
return x.DataJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatatablesCreateRowResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Row *DataTableRowInfo `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesCreateRowResponse) Reset() {
|
|
*x = DatatablesCreateRowResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesCreateRowResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesCreateRowResponse) ProtoMessage() {}
|
|
|
|
func (x *DatatablesCreateRowResponse) 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 DatatablesCreateRowResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesCreateRowResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *DatatablesCreateRowResponse) GetRow() *DataTableRowInfo {
|
|
if x != nil {
|
|
return x.Row
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatatablesUpdateRowDataRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RowId string `protobuf:"bytes,1,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"` // UUID
|
|
DataJson []byte `protobuf:"bytes,2,opt,name=data_json,json=dataJson,proto3" json:"data_json,omitempty"` // JSON object
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesUpdateRowDataRequest) Reset() {
|
|
*x = DatatablesUpdateRowDataRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesUpdateRowDataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesUpdateRowDataRequest) ProtoMessage() {}
|
|
|
|
func (x *DatatablesUpdateRowDataRequest) 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 DatatablesUpdateRowDataRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesUpdateRowDataRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *DatatablesUpdateRowDataRequest) GetRowId() string {
|
|
if x != nil {
|
|
return x.RowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DatatablesUpdateRowDataRequest) GetDataJson() []byte {
|
|
if x != nil {
|
|
return x.DataJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatatablesUpdateRowDataResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Row *DataTableRowInfo `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesUpdateRowDataResponse) Reset() {
|
|
*x = DatatablesUpdateRowDataResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesUpdateRowDataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesUpdateRowDataResponse) ProtoMessage() {}
|
|
|
|
func (x *DatatablesUpdateRowDataResponse) 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 DatatablesUpdateRowDataResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesUpdateRowDataResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *DatatablesUpdateRowDataResponse) GetRow() *DataTableRowInfo {
|
|
if x != nil {
|
|
return x.Row
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DatatablesFindRowByFieldRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // UUID
|
|
Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldRequest) Reset() {
|
|
*x = DatatablesFindRowByFieldRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesFindRowByFieldRequest) ProtoMessage() {}
|
|
|
|
func (x *DatatablesFindRowByFieldRequest) 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 DatatablesFindRowByFieldRequest.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesFindRowByFieldRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldRequest) GetTableId() string {
|
|
if x != nil {
|
|
return x.TableId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldRequest) GetField() string {
|
|
if x != nil {
|
|
return x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldRequest) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DatatablesFindRowByFieldResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Unset when no row matches (the guest maps that to nil, nil).
|
|
Row *DataTableRowInfo `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldResponse) Reset() {
|
|
*x = DatatablesFindRowByFieldResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DatatablesFindRowByFieldResponse) ProtoMessage() {}
|
|
|
|
func (x *DatatablesFindRowByFieldResponse) 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 DatatablesFindRowByFieldResponse.ProtoReflect.Descriptor instead.
|
|
func (*DatatablesFindRowByFieldResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *DatatablesFindRowByFieldResponse) GetRow() *DataTableRowInfo {
|
|
if x != nil {
|
|
return x.Row
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DataTableInfo mirrors datatables.Table.
|
|
type DataTableInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
TableKey string `protobuf:"bytes,2,opt,name=table_key,json=tableKey,proto3" json:"table_key,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
RowCount int32 `protobuf:"varint,4,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DataTableInfo) Reset() {
|
|
*x = DataTableInfo{}
|
|
mi := &file_v1_capability_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DataTableInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DataTableInfo) ProtoMessage() {}
|
|
|
|
func (x *DataTableInfo) 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 DataTableInfo.ProtoReflect.Descriptor instead.
|
|
func (*DataTableInfo) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *DataTableInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataTableInfo) GetTableKey() string {
|
|
if x != nil {
|
|
return x.TableKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataTableInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataTableInfo) GetRowCount() int32 {
|
|
if x != nil {
|
|
return x.RowCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// DataTableRowInfo mirrors datatables.Row (data column as JSON bytes).
|
|
type DataTableRowInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
|
|
TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // UUID
|
|
DataJson []byte `protobuf:"bytes,3,opt,name=data_json,json=dataJson,proto3" json:"data_json,omitempty"` // JSON object
|
|
SortOrder int32 `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DataTableRowInfo) Reset() {
|
|
*x = DataTableRowInfo{}
|
|
mi := &file_v1_capability_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DataTableRowInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DataTableRowInfo) ProtoMessage() {}
|
|
|
|
func (x *DataTableRowInfo) 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 DataTableRowInfo.ProtoReflect.Descriptor instead.
|
|
func (*DataTableRowInfo) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *DataTableRowInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataTableRowInfo) GetTableId() string {
|
|
if x != nil {
|
|
return x.TableId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DataTableRowInfo) GetDataJson() []byte {
|
|
if x != nil {
|
|
return x.DataJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DataTableRowInfo) GetSortOrder() int32 {
|
|
if x != nil {
|
|
return x.SortOrder
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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[64]
|
|
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[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 UsersGetByUsernameRequest.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByUsernameRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
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[65]
|
|
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[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 UsersGetByUsernameResponse.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByUsernameResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
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[66]
|
|
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[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 UsersGetByIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
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[67]
|
|
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[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 UsersGetByIdResponse.ProtoReflect.Descriptor instead.
|
|
func (*UsersGetByIdResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
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[68]
|
|
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[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 PublicUserProfile.ProtoReflect.Descriptor instead.
|
|
func (*PublicUserProfile) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
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[69]
|
|
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[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 SubscriptionsGetUserTierLevelRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetUserTierLevelRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
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[70]
|
|
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[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 SubscriptionsGetUserTierLevelResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetUserTierLevelResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
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[71]
|
|
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[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 TierLevel.ProtoReflect.Descriptor instead.
|
|
func (*TierLevel) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
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[72]
|
|
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[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 SubscriptionsGetTierBySlugRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetTierBySlugRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
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[73]
|
|
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[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 SubscriptionsGetTierBySlugResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsGetTierBySlugResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
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[74]
|
|
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[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 Tier.ProtoReflect.Descriptor instead.
|
|
func (*Tier) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
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[75]
|
|
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[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 SubscriptionsListTiersRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListTiersRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
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[76]
|
|
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[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 SubscriptionsListTiersResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListTiersResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
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[77]
|
|
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[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 SubscriptionsListActivePlansRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListActivePlansRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
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[78]
|
|
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[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 SubscriptionsListActivePlansResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriptionsListActivePlansResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
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[79]
|
|
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[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 Plan.ProtoReflect.Descriptor instead.
|
|
func (*Plan) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
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[80]
|
|
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[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 MediaDepositRequest.ProtoReflect.Descriptor instead.
|
|
func (*MediaDepositRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
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[81]
|
|
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[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 MediaDepositResponse.ProtoReflect.Descriptor instead.
|
|
func (*MediaDepositResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
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[82]
|
|
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[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 EmailSendRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmailSendRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
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[83]
|
|
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[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 EmailSendResponse.ProtoReflect.Descriptor instead.
|
|
func (*EmailSendResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
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[84]
|
|
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[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 AiTextCallRequest.ProtoReflect.Descriptor instead.
|
|
func (*AiTextCallRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
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[85]
|
|
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[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 AiTextCallResponse.ProtoReflect.Descriptor instead.
|
|
func (*AiTextCallResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
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[86]
|
|
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[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 AiToolRegisterRequest.ProtoReflect.Descriptor instead.
|
|
func (*AiToolRegisterRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
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[87]
|
|
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[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 AiToolRegisterResponse.ProtoReflect.Descriptor instead.
|
|
func (*AiToolRegisterResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
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[88]
|
|
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[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 BridgeRegisterServiceRequest.ProtoReflect.Descriptor instead.
|
|
func (*BridgeRegisterServiceRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
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[89]
|
|
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[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 BridgeRegisterServiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*BridgeRegisterServiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
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[90]
|
|
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[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 BridgeGetServiceRequest.ProtoReflect.Descriptor instead.
|
|
func (*BridgeGetServiceRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
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[91]
|
|
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[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 BridgeGetServiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*BridgeGetServiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
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[92]
|
|
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[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 JobsSubmitRequest.ProtoReflect.Descriptor instead.
|
|
func (*JobsSubmitRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
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[93]
|
|
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[93]
|
|
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{93}
|
|
}
|
|
|
|
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[94]
|
|
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[94]
|
|
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{94}
|
|
}
|
|
|
|
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[95]
|
|
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[95]
|
|
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{95}
|
|
}
|
|
|
|
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[96]
|
|
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[96]
|
|
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{96}
|
|
}
|
|
|
|
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[97]
|
|
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[97]
|
|
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{97}
|
|
}
|
|
|
|
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[98]
|
|
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[98]
|
|
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{98}
|
|
}
|
|
|
|
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[99]
|
|
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[99]
|
|
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{99}
|
|
}
|
|
|
|
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[100]
|
|
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[100]
|
|
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{100}
|
|
}
|
|
|
|
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[101]
|
|
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[101]
|
|
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{101}
|
|
}
|
|
|
|
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[102]
|
|
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[102]
|
|
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{102}
|
|
}
|
|
|
|
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[103]
|
|
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[103]
|
|
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{103}
|
|
}
|
|
|
|
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[104]
|
|
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[104]
|
|
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{104}
|
|
}
|
|
|
|
// 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[105]
|
|
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[105]
|
|
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{105}
|
|
}
|
|
|
|
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[106]
|
|
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[106]
|
|
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{106}
|
|
}
|
|
|
|
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[107]
|
|
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[107]
|
|
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{107}
|
|
}
|
|
|
|
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[108]
|
|
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[108]
|
|
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{108}
|
|
}
|
|
|
|
type ContentCreatePageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
ParentSlug string `protobuf:"bytes,2,opt,name=parent_slug,json=parentSlug,proto3" json:"parent_slug,omitempty"` // "" = root
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
TemplateKey string `protobuf:"bytes,4,opt,name=template_key,json=templateKey,proto3" json:"template_key,omitempty"`
|
|
MasterPageKey string `protobuf:"bytes,5,opt,name=master_page_key,json=masterPageKey,proto3" json:"master_page_key,omitempty"` // "" = none
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentCreatePageRequest) Reset() {
|
|
*x = ContentCreatePageRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[109]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentCreatePageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentCreatePageRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentCreatePageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[109]
|
|
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 ContentCreatePageRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentCreatePageRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{109}
|
|
}
|
|
|
|
func (x *ContentCreatePageRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentCreatePageRequest) GetParentSlug() string {
|
|
if x != nil {
|
|
return x.ParentSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentCreatePageRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentCreatePageRequest) GetTemplateKey() string {
|
|
if x != nil {
|
|
return x.TemplateKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentCreatePageRequest) GetMasterPageKey() string {
|
|
if x != nil {
|
|
return x.MasterPageKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentCreatePageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` // UUID
|
|
// False when a page with this slug already existed (the existing ID is
|
|
// returned and nothing is modified).
|
|
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentCreatePageResponse) Reset() {
|
|
*x = ContentCreatePageResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[110]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentCreatePageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentCreatePageResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentCreatePageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[110]
|
|
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 ContentCreatePageResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentCreatePageResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{110}
|
|
}
|
|
|
|
func (x *ContentCreatePageResponse) GetPageId() string {
|
|
if x != nil {
|
|
return x.PageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentCreatePageResponse) GetCreated() bool {
|
|
if x != nil {
|
|
return x.Created
|
|
}
|
|
return false
|
|
}
|
|
|
|
// PageBlock is one block instance placed on a page (mirrors
|
|
// plugin.PageBlockConfig / MasterPageBlock).
|
|
type PageBlock struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BlockKey string `protobuf:"bytes,1,opt,name=block_key,json=blockKey,proto3" json:"block_key,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
// JSON encoding of the block's content map.
|
|
ContentJson []byte `protobuf:"bytes,3,opt,name=content_json,json=contentJson,proto3" json:"content_json,omitempty"`
|
|
HtmlContent *string `protobuf:"bytes,4,opt,name=html_content,json=htmlContent,proto3,oneof" json:"html_content,omitempty"`
|
|
Slot string `protobuf:"bytes,5,opt,name=slot,proto3" json:"slot,omitempty"`
|
|
SortOrder int32 `protobuf:"varint,6,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PageBlock) Reset() {
|
|
*x = PageBlock{}
|
|
mi := &file_v1_capability_proto_msgTypes[111]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PageBlock) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PageBlock) ProtoMessage() {}
|
|
|
|
func (x *PageBlock) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[111]
|
|
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 PageBlock.ProtoReflect.Descriptor instead.
|
|
func (*PageBlock) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{111}
|
|
}
|
|
|
|
func (x *PageBlock) GetBlockKey() string {
|
|
if x != nil {
|
|
return x.BlockKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageBlock) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageBlock) GetContentJson() []byte {
|
|
if x != nil {
|
|
return x.ContentJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PageBlock) GetHtmlContent() string {
|
|
if x != nil && x.HtmlContent != nil {
|
|
return *x.HtmlContent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageBlock) GetSlot() string {
|
|
if x != nil {
|
|
return x.Slot
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageBlock) GetSortOrder() int32 {
|
|
if x != nil {
|
|
return x.SortOrder
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ContentSetPageBlocksRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` // UUID
|
|
// Full replacement set for the page's draft document blocks.
|
|
Blocks []*PageBlock `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentSetPageBlocksRequest) Reset() {
|
|
*x = ContentSetPageBlocksRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[112]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentSetPageBlocksRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentSetPageBlocksRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentSetPageBlocksRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[112]
|
|
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 ContentSetPageBlocksRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentSetPageBlocksRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{112}
|
|
}
|
|
|
|
func (x *ContentSetPageBlocksRequest) GetPageId() string {
|
|
if x != nil {
|
|
return x.PageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageBlocksRequest) GetBlocks() []*PageBlock {
|
|
if x != nil {
|
|
return x.Blocks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContentSetPageBlocksResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentSetPageBlocksResponse) Reset() {
|
|
*x = ContentSetPageBlocksResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[113]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentSetPageBlocksResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentSetPageBlocksResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentSetPageBlocksResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[113]
|
|
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 ContentSetPageBlocksResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentSetPageBlocksResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{113}
|
|
}
|
|
|
|
type ContentPublishPageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` // UUID
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentPublishPageRequest) Reset() {
|
|
*x = ContentPublishPageRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[114]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentPublishPageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentPublishPageRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentPublishPageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[114]
|
|
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 ContentPublishPageRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentPublishPageRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{114}
|
|
}
|
|
|
|
func (x *ContentPublishPageRequest) GetPageId() string {
|
|
if x != nil {
|
|
return x.PageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentPublishPageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentPublishPageResponse) Reset() {
|
|
*x = ContentPublishPageResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[115]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentPublishPageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentPublishPageResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentPublishPageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[115]
|
|
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 ContentPublishPageResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentPublishPageResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{115}
|
|
}
|
|
|
|
// ContentSetPageSeoRequest mirrors the CMS UpdatePageSEO surface. Unset
|
|
// optionals leave the existing value untouched.
|
|
type ContentSetPageSeoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` // UUID
|
|
MetaTitle *string `protobuf:"bytes,2,opt,name=meta_title,json=metaTitle,proto3,oneof" json:"meta_title,omitempty"`
|
|
MetaDescription *string `protobuf:"bytes,3,opt,name=meta_description,json=metaDescription,proto3,oneof" json:"meta_description,omitempty"`
|
|
OgTitle *string `protobuf:"bytes,4,opt,name=og_title,json=ogTitle,proto3,oneof" json:"og_title,omitempty"`
|
|
OgDescription *string `protobuf:"bytes,5,opt,name=og_description,json=ogDescription,proto3,oneof" json:"og_description,omitempty"`
|
|
OgImage *string `protobuf:"bytes,6,opt,name=og_image,json=ogImage,proto3,oneof" json:"og_image,omitempty"`
|
|
FocusKeyphrase *string `protobuf:"bytes,7,opt,name=focus_keyphrase,json=focusKeyphrase,proto3,oneof" json:"focus_keyphrase,omitempty"`
|
|
CanonicalUrl *string `protobuf:"bytes,8,opt,name=canonical_url,json=canonicalUrl,proto3,oneof" json:"canonical_url,omitempty"`
|
|
RobotsDirective *string `protobuf:"bytes,9,opt,name=robots_directive,json=robotsDirective,proto3,oneof" json:"robots_directive,omitempty"`
|
|
TwitterTitle *string `protobuf:"bytes,10,opt,name=twitter_title,json=twitterTitle,proto3,oneof" json:"twitter_title,omitempty"`
|
|
TwitterDescription *string `protobuf:"bytes,11,opt,name=twitter_description,json=twitterDescription,proto3,oneof" json:"twitter_description,omitempty"`
|
|
TwitterImage *string `protobuf:"bytes,12,opt,name=twitter_image,json=twitterImage,proto3,oneof" json:"twitter_image,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) Reset() {
|
|
*x = ContentSetPageSeoRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[116]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentSetPageSeoRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentSetPageSeoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[116]
|
|
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 ContentSetPageSeoRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentSetPageSeoRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{116}
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetPageId() string {
|
|
if x != nil {
|
|
return x.PageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetMetaTitle() string {
|
|
if x != nil && x.MetaTitle != nil {
|
|
return *x.MetaTitle
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetMetaDescription() string {
|
|
if x != nil && x.MetaDescription != nil {
|
|
return *x.MetaDescription
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetOgTitle() string {
|
|
if x != nil && x.OgTitle != nil {
|
|
return *x.OgTitle
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetOgDescription() string {
|
|
if x != nil && x.OgDescription != nil {
|
|
return *x.OgDescription
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetOgImage() string {
|
|
if x != nil && x.OgImage != nil {
|
|
return *x.OgImage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetFocusKeyphrase() string {
|
|
if x != nil && x.FocusKeyphrase != nil {
|
|
return *x.FocusKeyphrase
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetCanonicalUrl() string {
|
|
if x != nil && x.CanonicalUrl != nil {
|
|
return *x.CanonicalUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetRobotsDirective() string {
|
|
if x != nil && x.RobotsDirective != nil {
|
|
return *x.RobotsDirective
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetTwitterTitle() string {
|
|
if x != nil && x.TwitterTitle != nil {
|
|
return *x.TwitterTitle
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetTwitterDescription() string {
|
|
if x != nil && x.TwitterDescription != nil {
|
|
return *x.TwitterDescription
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentSetPageSeoRequest) GetTwitterImage() string {
|
|
if x != nil && x.TwitterImage != nil {
|
|
return *x.TwitterImage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ContentSetPageSeoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentSetPageSeoResponse) Reset() {
|
|
*x = ContentSetPageSeoResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[117]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentSetPageSeoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentSetPageSeoResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentSetPageSeoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[117]
|
|
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 ContentSetPageSeoResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentSetPageSeoResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{117}
|
|
}
|
|
|
|
// ContentUpsertPostRequest creates or updates a blog post by slug (posts live
|
|
// in the dedicated blog_posts table).
|
|
type ContentUpsertPostRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
// JSON encoding of the BlockNote document.
|
|
DocumentJson []byte `protobuf:"bytes,3,opt,name=document_json,json=documentJson,proto3" json:"document_json,omitempty"`
|
|
Excerpt *string `protobuf:"bytes,4,opt,name=excerpt,proto3,oneof" json:"excerpt,omitempty"`
|
|
AuthorProfileId *string `protobuf:"bytes,5,opt,name=author_profile_id,json=authorProfileId,proto3,oneof" json:"author_profile_id,omitempty"` // UUID
|
|
FeaturedImageId *string `protobuf:"bytes,6,opt,name=featured_image_id,json=featuredImageId,proto3,oneof" json:"featured_image_id,omitempty"` // UUID (e.g. from media.deposit)
|
|
// Publish immediately after the upsert.
|
|
Publish bool `protobuf:"varint,7,opt,name=publish,proto3" json:"publish,omitempty"`
|
|
IsFeatured bool `protobuf:"varint,8,opt,name=is_featured,json=isFeatured,proto3" json:"is_featured,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) Reset() {
|
|
*x = ContentUpsertPostRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[118]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentUpsertPostRequest) ProtoMessage() {}
|
|
|
|
func (x *ContentUpsertPostRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[118]
|
|
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 ContentUpsertPostRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContentUpsertPostRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{118}
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetDocumentJson() []byte {
|
|
if x != nil {
|
|
return x.DocumentJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetExcerpt() string {
|
|
if x != nil && x.Excerpt != nil {
|
|
return *x.Excerpt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetAuthorProfileId() string {
|
|
if x != nil && x.AuthorProfileId != nil {
|
|
return *x.AuthorProfileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetFeaturedImageId() string {
|
|
if x != nil && x.FeaturedImageId != nil {
|
|
return *x.FeaturedImageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetPublish() bool {
|
|
if x != nil {
|
|
return x.Publish
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ContentUpsertPostRequest) GetIsFeatured() bool {
|
|
if x != nil {
|
|
return x.IsFeatured
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ContentUpsertPostResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PostId string `protobuf:"bytes,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"` // UUID
|
|
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ContentUpsertPostResponse) Reset() {
|
|
*x = ContentUpsertPostResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[119]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ContentUpsertPostResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContentUpsertPostResponse) ProtoMessage() {}
|
|
|
|
func (x *ContentUpsertPostResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[119]
|
|
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 ContentUpsertPostResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContentUpsertPostResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{119}
|
|
}
|
|
|
|
func (x *ContentUpsertPostResponse) GetPostId() string {
|
|
if x != nil {
|
|
return x.PostId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContentUpsertPostResponse) GetCreated() bool {
|
|
if x != nil {
|
|
return x.Created
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ProvisionerEnsureDataTableRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,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 schema of the table (json.RawMessage in DataTableConfig).
|
|
SchemaJson []byte `protobuf:"bytes,4,opt,name=schema_json,json=schemaJson,proto3" json:"schema_json,omitempty"`
|
|
PrimaryKey string `protobuf:"bytes,5,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) Reset() {
|
|
*x = ProvisionerEnsureDataTableRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[120]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureDataTableRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[120]
|
|
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 ProvisionerEnsureDataTableRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureDataTableRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{120}
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) GetSchemaJson() []byte {
|
|
if x != nil {
|
|
return x.SchemaJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableRequest) GetPrimaryKey() string {
|
|
if x != nil {
|
|
return x.PrimaryKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ProvisionerEnsureDataTableResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableResponse) Reset() {
|
|
*x = ProvisionerEnsureDataTableResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[121]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureDataTableResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureDataTableResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureDataTableResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[121]
|
|
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 ProvisionerEnsureDataTableResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureDataTableResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{121}
|
|
}
|
|
|
|
type ProvisionerMergeSiteSettingsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// JSON encoding of the defaults map; existing keys win.
|
|
DefaultsJson []byte `protobuf:"bytes,1,opt,name=defaults_json,json=defaultsJson,proto3" json:"defaults_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerMergeSiteSettingsRequest) Reset() {
|
|
*x = ProvisionerMergeSiteSettingsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[122]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerMergeSiteSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerMergeSiteSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerMergeSiteSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[122]
|
|
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 ProvisionerMergeSiteSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerMergeSiteSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{122}
|
|
}
|
|
|
|
func (x *ProvisionerMergeSiteSettingsRequest) GetDefaultsJson() []byte {
|
|
if x != nil {
|
|
return x.DefaultsJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProvisionerMergeSiteSettingsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerMergeSiteSettingsResponse) Reset() {
|
|
*x = ProvisionerMergeSiteSettingsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[123]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerMergeSiteSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerMergeSiteSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerMergeSiteSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[123]
|
|
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 ProvisionerMergeSiteSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerMergeSiteSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{123}
|
|
}
|
|
|
|
type ProvisionerEnsureSettingRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
// JSON encoding of the default value.
|
|
DefaultValueJson []byte `protobuf:"bytes,2,opt,name=default_value_json,json=defaultValueJson,proto3" json:"default_value_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureSettingRequest) Reset() {
|
|
*x = ProvisionerEnsureSettingRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[124]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureSettingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureSettingRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureSettingRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[124]
|
|
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 ProvisionerEnsureSettingRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureSettingRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{124}
|
|
}
|
|
|
|
func (x *ProvisionerEnsureSettingRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureSettingRequest) GetDefaultValueJson() []byte {
|
|
if x != nil {
|
|
return x.DefaultValueJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProvisionerEnsureSettingResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureSettingResponse) Reset() {
|
|
*x = ProvisionerEnsureSettingResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[125]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureSettingResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureSettingResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureSettingResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[125]
|
|
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 ProvisionerEnsureSettingResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureSettingResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{125}
|
|
}
|
|
|
|
// PageSeed mirrors plugin.PageConfig.
|
|
type PageSeed struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
ParentSlug string `protobuf:"bytes,2,opt,name=parent_slug,json=parentSlug,proto3" json:"parent_slug,omitempty"`
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
|
TemplateKey string `protobuf:"bytes,4,opt,name=template_key,json=templateKey,proto3" json:"template_key,omitempty"`
|
|
Blocks []*PageBlock `protobuf:"bytes,5,rep,name=blocks,proto3" json:"blocks,omitempty"`
|
|
DetailSourceType string `protobuf:"bytes,6,opt,name=detail_source_type,json=detailSourceType,proto3" json:"detail_source_type,omitempty"`
|
|
DetailSourceKey string `protobuf:"bytes,7,opt,name=detail_source_key,json=detailSourceKey,proto3" json:"detail_source_key,omitempty"`
|
|
DetailSlugField string `protobuf:"bytes,8,opt,name=detail_slug_field,json=detailSlugField,proto3" json:"detail_slug_field,omitempty"`
|
|
ReconcileBlocks bool `protobuf:"varint,9,opt,name=reconcile_blocks,json=reconcileBlocks,proto3" json:"reconcile_blocks,omitempty"`
|
|
ReconcileTemplate bool `protobuf:"varint,10,opt,name=reconcile_template,json=reconcileTemplate,proto3" json:"reconcile_template,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PageSeed) Reset() {
|
|
*x = PageSeed{}
|
|
mi := &file_v1_capability_proto_msgTypes[126]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PageSeed) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PageSeed) ProtoMessage() {}
|
|
|
|
func (x *PageSeed) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[126]
|
|
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 PageSeed.ProtoReflect.Descriptor instead.
|
|
func (*PageSeed) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{126}
|
|
}
|
|
|
|
func (x *PageSeed) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageSeed) GetParentSlug() string {
|
|
if x != nil {
|
|
return x.ParentSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageSeed) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageSeed) GetTemplateKey() string {
|
|
if x != nil {
|
|
return x.TemplateKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageSeed) GetBlocks() []*PageBlock {
|
|
if x != nil {
|
|
return x.Blocks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PageSeed) GetDetailSourceType() string {
|
|
if x != nil {
|
|
return x.DetailSourceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageSeed) GetDetailSourceKey() string {
|
|
if x != nil {
|
|
return x.DetailSourceKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageSeed) GetDetailSlugField() string {
|
|
if x != nil {
|
|
return x.DetailSlugField
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PageSeed) GetReconcileBlocks() bool {
|
|
if x != nil {
|
|
return x.ReconcileBlocks
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PageSeed) GetReconcileTemplate() bool {
|
|
if x != nil {
|
|
return x.ReconcileTemplate
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ProvisionerEnsurePageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page *PageSeed `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePageRequest) Reset() {
|
|
*x = ProvisionerEnsurePageRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[127]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsurePageRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsurePageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[127]
|
|
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 ProvisionerEnsurePageRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsurePageRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{127}
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePageRequest) GetPage() *PageSeed {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProvisionerEnsurePageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePageResponse) Reset() {
|
|
*x = ProvisionerEnsurePageResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[128]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsurePageResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsurePageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[128]
|
|
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 ProvisionerEnsurePageResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsurePageResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{128}
|
|
}
|
|
|
|
type ProvisionerOverrideSiteSettingsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// JSON encoding of the overrides map; plugin values win.
|
|
OverridesJson []byte `protobuf:"bytes,1,opt,name=overrides_json,json=overridesJson,proto3" json:"overrides_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerOverrideSiteSettingsRequest) Reset() {
|
|
*x = ProvisionerOverrideSiteSettingsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[129]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerOverrideSiteSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerOverrideSiteSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerOverrideSiteSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[129]
|
|
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 ProvisionerOverrideSiteSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerOverrideSiteSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{129}
|
|
}
|
|
|
|
func (x *ProvisionerOverrideSiteSettingsRequest) GetOverridesJson() []byte {
|
|
if x != nil {
|
|
return x.OverridesJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProvisionerOverrideSiteSettingsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerOverrideSiteSettingsResponse) Reset() {
|
|
*x = ProvisionerOverrideSiteSettingsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[130]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerOverrideSiteSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerOverrideSiteSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerOverrideSiteSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[130]
|
|
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 ProvisionerOverrideSiteSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerOverrideSiteSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{130}
|
|
}
|
|
|
|
// ProvisionerEnsureMenuItemRequest mirrors plugin.MenuItemConfig under a
|
|
// named menu.
|
|
type ProvisionerEnsureMenuItemRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MenuName string `protobuf:"bytes,1,opt,name=menu_name,json=menuName,proto3" json:"menu_name,omitempty"`
|
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
|
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
|
|
PageSlug string `protobuf:"bytes,4,opt,name=page_slug,json=pageSlug,proto3" json:"page_slug,omitempty"`
|
|
SortOrder int32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) Reset() {
|
|
*x = ProvisionerEnsureMenuItemRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[131]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureMenuItemRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[131]
|
|
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 ProvisionerEnsureMenuItemRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureMenuItemRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{131}
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) GetMenuName() string {
|
|
if x != nil {
|
|
return x.MenuName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) GetPageSlug() string {
|
|
if x != nil {
|
|
return x.PageSlug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemRequest) GetSortOrder() int32 {
|
|
if x != nil {
|
|
return x.SortOrder
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ProvisionerEnsureMenuItemResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemResponse) Reset() {
|
|
*x = ProvisionerEnsureMenuItemResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[132]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMenuItemResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureMenuItemResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureMenuItemResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[132]
|
|
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 ProvisionerEnsureMenuItemResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureMenuItemResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{132}
|
|
}
|
|
|
|
// ProvisionerRegisterEmbeddingConfigRequest mirrors plugin.EmbeddingConfigDef.
|
|
type ProvisionerRegisterEmbeddingConfigRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TableKey string `protobuf:"bytes,1,opt,name=table_key,json=tableKey,proto3" json:"table_key,omitempty"`
|
|
TextTemplate string `protobuf:"bytes,2,opt,name=text_template,json=textTemplate,proto3" json:"text_template,omitempty"`
|
|
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigRequest) Reset() {
|
|
*x = ProvisionerRegisterEmbeddingConfigRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[133]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerRegisterEmbeddingConfigRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[133]
|
|
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 ProvisionerRegisterEmbeddingConfigRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerRegisterEmbeddingConfigRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{133}
|
|
}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigRequest) GetTableKey() string {
|
|
if x != nil {
|
|
return x.TableKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigRequest) GetTextTemplate() string {
|
|
if x != nil {
|
|
return x.TextTemplate
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigRequest) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ProvisionerRegisterEmbeddingConfigResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigResponse) Reset() {
|
|
*x = ProvisionerRegisterEmbeddingConfigResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[134]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerRegisterEmbeddingConfigResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerRegisterEmbeddingConfigResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[134]
|
|
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 ProvisionerRegisterEmbeddingConfigResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerRegisterEmbeddingConfigResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{134}
|
|
}
|
|
|
|
// ProvisionerEnsureEmbedRequest mirrors plugin.EmbedConfig minus RenderFunc
|
|
// (function values cannot cross; the Template renders host-side).
|
|
type ProvisionerEnsureEmbedRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
|
|
LabelField string `protobuf:"bytes,5,opt,name=label_field,json=labelField,proto3" json:"label_field,omitempty"`
|
|
Template string `protobuf:"bytes,6,opt,name=template,proto3" json:"template,omitempty"`
|
|
DataSourceType string `protobuf:"bytes,7,opt,name=data_source_type,json=dataSourceType,proto3" json:"data_source_type,omitempty"` // EmbedDataSource.Type
|
|
DataSourceTableKey string `protobuf:"bytes,8,opt,name=data_source_table_key,json=dataSourceTableKey,proto3" json:"data_source_table_key,omitempty"` // EmbedDataSource.TableKey
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) Reset() {
|
|
*x = ProvisionerEnsureEmbedRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[135]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureEmbedRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[135]
|
|
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 ProvisionerEnsureEmbedRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureEmbedRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{135}
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetIcon() string {
|
|
if x != nil {
|
|
return x.Icon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetLabelField() string {
|
|
if x != nil {
|
|
return x.LabelField
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetTemplate() string {
|
|
if x != nil {
|
|
return x.Template
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetDataSourceType() string {
|
|
if x != nil {
|
|
return x.DataSourceType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedRequest) GetDataSourceTableKey() string {
|
|
if x != nil {
|
|
return x.DataSourceTableKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ProvisionerEnsureEmbedResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedResponse) Reset() {
|
|
*x = ProvisionerEnsureEmbedResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[136]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureEmbedResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureEmbedResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureEmbedResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[136]
|
|
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 ProvisionerEnsureEmbedResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureEmbedResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{136}
|
|
}
|
|
|
|
// ProvisionerEnsureJobScheduleRequest mirrors plugin.JobScheduleConfig.
|
|
type ProvisionerEnsureJobScheduleRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
JobType string `protobuf:"bytes,1,opt,name=job_type,json=jobType,proto3" json:"job_type,omitempty"`
|
|
CronExpression string `protobuf:"bytes,2,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"`
|
|
// JSON job configuration.
|
|
ConfigJson []byte `protobuf:"bytes,3,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleRequest) Reset() {
|
|
*x = ProvisionerEnsureJobScheduleRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[137]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureJobScheduleRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[137]
|
|
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 ProvisionerEnsureJobScheduleRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureJobScheduleRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{137}
|
|
}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleRequest) GetJobType() string {
|
|
if x != nil {
|
|
return x.JobType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleRequest) GetCronExpression() string {
|
|
if x != nil {
|
|
return x.CronExpression
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleRequest) GetConfigJson() []byte {
|
|
if x != nil {
|
|
return x.ConfigJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProvisionerEnsureJobScheduleResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleResponse) Reset() {
|
|
*x = ProvisionerEnsureJobScheduleResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[138]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureJobScheduleResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureJobScheduleResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[138]
|
|
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 ProvisionerEnsureJobScheduleResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureJobScheduleResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{138}
|
|
}
|
|
|
|
type ProvisionerUpdateDataTableRowFieldRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RowId string `protobuf:"bytes,1,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"` // UUID
|
|
FieldKey string `protobuf:"bytes,2,opt,name=field_key,json=fieldKey,proto3" json:"field_key,omitempty"`
|
|
// JSON encoding of the value.
|
|
ValueJson []byte `protobuf:"bytes,3,opt,name=value_json,json=valueJson,proto3" json:"value_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldRequest) Reset() {
|
|
*x = ProvisionerUpdateDataTableRowFieldRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[139]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerUpdateDataTableRowFieldRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[139]
|
|
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 ProvisionerUpdateDataTableRowFieldRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerUpdateDataTableRowFieldRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{139}
|
|
}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldRequest) GetRowId() string {
|
|
if x != nil {
|
|
return x.RowId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldRequest) GetFieldKey() string {
|
|
if x != nil {
|
|
return x.FieldKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldRequest) GetValueJson() []byte {
|
|
if x != nil {
|
|
return x.ValueJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProvisionerUpdateDataTableRowFieldResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldResponse) Reset() {
|
|
*x = ProvisionerUpdateDataTableRowFieldResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[140]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerUpdateDataTableRowFieldResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerUpdateDataTableRowFieldResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[140]
|
|
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 ProvisionerUpdateDataTableRowFieldResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerUpdateDataTableRowFieldResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{140}
|
|
}
|
|
|
|
type ProvisionerDisableOrphanedJobSchedulesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RegisteredTypes []string `protobuf:"bytes,1,rep,name=registered_types,json=registeredTypes,proto3" json:"registered_types,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerDisableOrphanedJobSchedulesRequest) Reset() {
|
|
*x = ProvisionerDisableOrphanedJobSchedulesRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[141]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerDisableOrphanedJobSchedulesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerDisableOrphanedJobSchedulesRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerDisableOrphanedJobSchedulesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[141]
|
|
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 ProvisionerDisableOrphanedJobSchedulesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerDisableOrphanedJobSchedulesRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{141}
|
|
}
|
|
|
|
func (x *ProvisionerDisableOrphanedJobSchedulesRequest) GetRegisteredTypes() []string {
|
|
if x != nil {
|
|
return x.RegisteredTypes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProvisionerDisableOrphanedJobSchedulesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerDisableOrphanedJobSchedulesResponse) Reset() {
|
|
*x = ProvisionerDisableOrphanedJobSchedulesResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[142]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerDisableOrphanedJobSchedulesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerDisableOrphanedJobSchedulesResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerDisableOrphanedJobSchedulesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[142]
|
|
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 ProvisionerDisableOrphanedJobSchedulesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerDisableOrphanedJobSchedulesResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{142}
|
|
}
|
|
|
|
type ProvisionerEnsurePluginRequest 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 *ProvisionerEnsurePluginRequest) Reset() {
|
|
*x = ProvisionerEnsurePluginRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[143]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePluginRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsurePluginRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsurePluginRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[143]
|
|
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 ProvisionerEnsurePluginRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsurePluginRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{143}
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePluginRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ProvisionerEnsurePluginResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePluginResponse) Reset() {
|
|
*x = ProvisionerEnsurePluginResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[144]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsurePluginResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsurePluginResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsurePluginResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[144]
|
|
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 ProvisionerEnsurePluginResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsurePluginResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{144}
|
|
}
|
|
|
|
// ProvisionerEnsureCustomColorRequest mirrors plugin.CustomColorConfig.
|
|
type ProvisionerEnsureCustomColorRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
LightValue string `protobuf:"bytes,2,opt,name=light_value,json=lightValue,proto3" json:"light_value,omitempty"`
|
|
DarkValue string `protobuf:"bytes,3,opt,name=dark_value,json=darkValue,proto3" json:"dark_value,omitempty"`
|
|
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorRequest) Reset() {
|
|
*x = ProvisionerEnsureCustomColorRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[145]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureCustomColorRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureCustomColorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[145]
|
|
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 ProvisionerEnsureCustomColorRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureCustomColorRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{145}
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorRequest) GetLightValue() string {
|
|
if x != nil {
|
|
return x.LightValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorRequest) GetDarkValue() string {
|
|
if x != nil {
|
|
return x.DarkValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorRequest) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ProvisionerEnsureCustomColorResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorResponse) Reset() {
|
|
*x = ProvisionerEnsureCustomColorResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[146]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureCustomColorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureCustomColorResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureCustomColorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[146]
|
|
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 ProvisionerEnsureCustomColorResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureCustomColorResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{146}
|
|
}
|
|
|
|
// ProvisionerEnsureMediaRequest mirrors plugin.MediaDeposit with a REQUIRED
|
|
// deterministic id (the template-referable key). Idempotent: an existing id
|
|
// is a no-op; changed bytes warn rather than overwrite.
|
|
type ProvisionerEnsureMediaRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID, required
|
|
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 *ProvisionerEnsureMediaRequest) Reset() {
|
|
*x = ProvisionerEnsureMediaRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[147]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureMediaRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[147]
|
|
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 ProvisionerEnsureMediaRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureMediaRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{147}
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) GetAltText() string {
|
|
if x != nil {
|
|
return x.AltText
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) GetFolder() string {
|
|
if x != nil {
|
|
return x.Folder
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaRequest) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ProvisionerEnsureMediaResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaResponse) Reset() {
|
|
*x = ProvisionerEnsureMediaResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[148]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProvisionerEnsureMediaResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionerEnsureMediaResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionerEnsureMediaResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[148]
|
|
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 ProvisionerEnsureMediaResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionerEnsureMediaResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{148}
|
|
}
|
|
|
|
// SettingsUpdatePluginSettingsRequest replaces the calling plugin's own
|
|
// settings map. The host binds the target plugin from the caller's identity;
|
|
// plugin_name is advisory and MUST match it (PERMISSION_DENIED otherwise).
|
|
type SettingsUpdatePluginSettingsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
|
|
// JSON encoding of the full settings map.
|
|
SettingsJson []byte `protobuf:"bytes,2,opt,name=settings_json,json=settingsJson,proto3" json:"settings_json,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsUpdatePluginSettingsRequest) Reset() {
|
|
*x = SettingsUpdatePluginSettingsRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[149]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsUpdatePluginSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsUpdatePluginSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *SettingsUpdatePluginSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[149]
|
|
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 SettingsUpdatePluginSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SettingsUpdatePluginSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{149}
|
|
}
|
|
|
|
func (x *SettingsUpdatePluginSettingsRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SettingsUpdatePluginSettingsRequest) GetSettingsJson() []byte {
|
|
if x != nil {
|
|
return x.SettingsJson
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SettingsUpdatePluginSettingsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SettingsUpdatePluginSettingsResponse) Reset() {
|
|
*x = SettingsUpdatePluginSettingsResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[150]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SettingsUpdatePluginSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SettingsUpdatePluginSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *SettingsUpdatePluginSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[150]
|
|
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 SettingsUpdatePluginSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SettingsUpdatePluginSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{150}
|
|
}
|
|
|
|
// JobsProgressRequest reports progress for the CURRENTLY EXECUTING job. The
|
|
// host correlates it to the job via the invoking HOOK_JOB call's context, so
|
|
// it is only meaningful while a JOB hook is on the stack; outside one it is
|
|
// accepted and discarded.
|
|
type JobsProgressRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Current int32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"`
|
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *JobsProgressRequest) Reset() {
|
|
*x = JobsProgressRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[151]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *JobsProgressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JobsProgressRequest) ProtoMessage() {}
|
|
|
|
func (x *JobsProgressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[151]
|
|
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 JobsProgressRequest.ProtoReflect.Descriptor instead.
|
|
func (*JobsProgressRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{151}
|
|
}
|
|
|
|
func (x *JobsProgressRequest) GetCurrent() int32 {
|
|
if x != nil {
|
|
return x.Current
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *JobsProgressRequest) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *JobsProgressRequest) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type JobsProgressResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *JobsProgressResponse) Reset() {
|
|
*x = JobsProgressResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[152]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *JobsProgressResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*JobsProgressResponse) ProtoMessage() {}
|
|
|
|
func (x *JobsProgressResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[152]
|
|
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 JobsProgressResponse.ProtoReflect.Descriptor instead.
|
|
func (*JobsProgressResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{152}
|
|
}
|
|
|
|
// BridgeInvokeRequest calls a method on another plugin's registered bridge
|
|
// service. The provider answers via HOOK_BRIDGE_CALL (wasm) or an in-process
|
|
// plugin.BridgeInvokable (bundled). Payloads are opaque bytes — the two
|
|
// plugins agree on the encoding (JSON by convention).
|
|
type BridgeInvokeRequest 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"`
|
|
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
|
|
Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BridgeInvokeRequest) Reset() {
|
|
*x = BridgeInvokeRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[153]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BridgeInvokeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BridgeInvokeRequest) ProtoMessage() {}
|
|
|
|
func (x *BridgeInvokeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[153]
|
|
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 BridgeInvokeRequest.ProtoReflect.Descriptor instead.
|
|
func (*BridgeInvokeRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{153}
|
|
}
|
|
|
|
func (x *BridgeInvokeRequest) GetPluginName() string {
|
|
if x != nil {
|
|
return x.PluginName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BridgeInvokeRequest) GetServiceName() string {
|
|
if x != nil {
|
|
return x.ServiceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BridgeInvokeRequest) GetMethod() string {
|
|
if x != nil {
|
|
return x.Method
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BridgeInvokeRequest) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BridgeInvokeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BridgeInvokeResponse) Reset() {
|
|
*x = BridgeInvokeResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[154]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BridgeInvokeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BridgeInvokeResponse) ProtoMessage() {}
|
|
|
|
func (x *BridgeInvokeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[154]
|
|
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 BridgeInvokeResponse.ProtoReflect.Descriptor instead.
|
|
func (*BridgeInvokeResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{154}
|
|
}
|
|
|
|
func (x *BridgeInvokeResponse) GetPayload() []byte {
|
|
if x != nil {
|
|
return x.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// HttpRequestRequest asks the host to perform one outbound HTTPS request on
|
|
// the plugin's behalf. The host enforces the plugin's egress grant (host
|
|
// patterns + response cap), the platform denylist, the SSRF guard, and the
|
|
// redirect policy before any bytes leave — the guest never touches a socket.
|
|
// Names differ from the HANDLE_HTTP hook pair (HttpRequest/HttpResponse in
|
|
// http.proto), which is inbound traffic INTO the guest mux.
|
|
type HttpRequestRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
|
|
// Absolute https URL (scheme required; http is refused by policy).
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
Headers map[string]*HeaderValues `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
|
|
// Optional guest-side deadline. It may only LOWER the host's per-fetch
|
|
// ceiling, never raise it; zero means the host ceiling applies.
|
|
TimeoutMs uint32 `protobuf:"varint,5,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HttpRequestRequest) Reset() {
|
|
*x = HttpRequestRequest{}
|
|
mi := &file_v1_capability_proto_msgTypes[155]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HttpRequestRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HttpRequestRequest) ProtoMessage() {}
|
|
|
|
func (x *HttpRequestRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[155]
|
|
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 HttpRequestRequest.ProtoReflect.Descriptor instead.
|
|
func (*HttpRequestRequest) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{155}
|
|
}
|
|
|
|
func (x *HttpRequestRequest) GetMethod() string {
|
|
if x != nil {
|
|
return x.Method
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HttpRequestRequest) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HttpRequestRequest) GetHeaders() map[string]*HeaderValues {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HttpRequestRequest) GetBody() []byte {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HttpRequestRequest) GetTimeoutMs() uint32 {
|
|
if x != nil {
|
|
return x.TimeoutMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// HttpRequestResponse is the fully buffered upstream response. Bodies larger
|
|
// than the granted cap fail the call (EGRESS_DENIED is policy; oversize is
|
|
// INTERNAL with a too-large message) — never a silent truncation.
|
|
type HttpRequestResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
Headers map[string]*HeaderValues `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
// URL that produced the response after any (allowlist-validated)
|
|
// redirects.
|
|
FinalUrl string `protobuf:"bytes,4,opt,name=final_url,json=finalUrl,proto3" json:"final_url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HttpRequestResponse) Reset() {
|
|
*x = HttpRequestResponse{}
|
|
mi := &file_v1_capability_proto_msgTypes[156]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HttpRequestResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HttpRequestResponse) ProtoMessage() {}
|
|
|
|
func (x *HttpRequestResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_v1_capability_proto_msgTypes[156]
|
|
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 HttpRequestResponse.ProtoReflect.Descriptor instead.
|
|
func (*HttpRequestResponse) Descriptor() ([]byte, []int) {
|
|
return file_v1_capability_proto_rawDescGZIP(), []int{156}
|
|
}
|
|
|
|
func (x *HttpRequestResponse) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HttpRequestResponse) GetHeaders() map[string]*HeaderValues {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HttpRequestResponse) GetBody() []byte {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HttpRequestResponse) GetFinalUrl() string {
|
|
if x != nil {
|
|
return x.FinalUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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\rv1/http.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\"B\n" +
|
|
"#ContentPublishedBlockConfigsRequest\x12\x1b\n" +
|
|
"\tblock_key\x18\x01 \x01(\tR\bblockKey\"@\n" +
|
|
"$ContentPublishedBlockConfigsResponse\x12\x18\n" +
|
|
"\aconfigs\x18\x01 \x03(\fR\aconfigs\"+\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\"=\n" +
|
|
"\x1eDatatablesGetTableByKeyRequest\x12\x1b\n" +
|
|
"\ttable_key\x18\x01 \x01(\tR\btableKey\"N\n" +
|
|
"\x1fDatatablesGetTableByKeyResponse\x12+\n" +
|
|
"\x05table\x18\x01 \x01(\v2\x15.abi.v1.DataTableInfoR\x05table\"0\n" +
|
|
"\x17DatatablesGetRowRequest\x12\x15\n" +
|
|
"\x06row_id\x18\x01 \x01(\tR\x05rowId\"F\n" +
|
|
"\x18DatatablesGetRowResponse\x12*\n" +
|
|
"\x03row\x18\x01 \x01(\v2\x18.abi.v1.DataTableRowInfoR\x03row\"d\n" +
|
|
"\x19DatatablesListRowsRequest\x12\x19\n" +
|
|
"\btable_id\x18\x01 \x01(\tR\atableId\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x03 \x01(\x05R\x06offset\"J\n" +
|
|
"\x1aDatatablesListRowsResponse\x12,\n" +
|
|
"\x04rows\x18\x01 \x03(\v2\x18.abi.v1.DataTableRowInfoR\x04rows\"T\n" +
|
|
"\x1aDatatablesCreateRowRequest\x12\x19\n" +
|
|
"\btable_id\x18\x01 \x01(\tR\atableId\x12\x1b\n" +
|
|
"\tdata_json\x18\x02 \x01(\fR\bdataJson\"I\n" +
|
|
"\x1bDatatablesCreateRowResponse\x12*\n" +
|
|
"\x03row\x18\x01 \x01(\v2\x18.abi.v1.DataTableRowInfoR\x03row\"T\n" +
|
|
"\x1eDatatablesUpdateRowDataRequest\x12\x15\n" +
|
|
"\x06row_id\x18\x01 \x01(\tR\x05rowId\x12\x1b\n" +
|
|
"\tdata_json\x18\x02 \x01(\fR\bdataJson\"M\n" +
|
|
"\x1fDatatablesUpdateRowDataResponse\x12*\n" +
|
|
"\x03row\x18\x01 \x01(\v2\x18.abi.v1.DataTableRowInfoR\x03row\"h\n" +
|
|
"\x1fDatatablesFindRowByFieldRequest\x12\x19\n" +
|
|
"\btable_id\x18\x01 \x01(\tR\atableId\x12\x14\n" +
|
|
"\x05field\x18\x02 \x01(\tR\x05field\x12\x14\n" +
|
|
"\x05value\x18\x03 \x01(\tR\x05value\"N\n" +
|
|
" DatatablesFindRowByFieldResponse\x12*\n" +
|
|
"\x03row\x18\x01 \x01(\v2\x18.abi.v1.DataTableRowInfoR\x03row\"m\n" +
|
|
"\rDataTableInfo\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
|
|
"\ttable_key\x18\x02 \x01(\tR\btableKey\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\trow_count\x18\x04 \x01(\x05R\browCount\"y\n" +
|
|
"\x10DataTableRowInfo\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
|
|
"\btable_id\x18\x02 \x01(\tR\atableId\x12\x1b\n" +
|
|
"\tdata_json\x18\x03 \x01(\fR\bdataJson\x12\x1d\n" +
|
|
"\n" +
|
|
"sort_order\x18\x04 \x01(\x05R\tsortOrder\"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" +
|
|
"\x1bBadgesRefreshBadgesResponse\"\xb0\x01\n" +
|
|
"\x18ContentCreatePageRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\x12\x1f\n" +
|
|
"\vparent_slug\x18\x02 \x01(\tR\n" +
|
|
"parentSlug\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12!\n" +
|
|
"\ftemplate_key\x18\x04 \x01(\tR\vtemplateKey\x12&\n" +
|
|
"\x0fmaster_page_key\x18\x05 \x01(\tR\rmasterPageKey\"N\n" +
|
|
"\x19ContentCreatePageResponse\x12\x17\n" +
|
|
"\apage_id\x18\x01 \x01(\tR\x06pageId\x12\x18\n" +
|
|
"\acreated\x18\x02 \x01(\bR\acreated\"\xcd\x01\n" +
|
|
"\tPageBlock\x12\x1b\n" +
|
|
"\tblock_key\x18\x01 \x01(\tR\bblockKey\x12\x14\n" +
|
|
"\x05title\x18\x02 \x01(\tR\x05title\x12!\n" +
|
|
"\fcontent_json\x18\x03 \x01(\fR\vcontentJson\x12&\n" +
|
|
"\fhtml_content\x18\x04 \x01(\tH\x00R\vhtmlContent\x88\x01\x01\x12\x12\n" +
|
|
"\x04slot\x18\x05 \x01(\tR\x04slot\x12\x1d\n" +
|
|
"\n" +
|
|
"sort_order\x18\x06 \x01(\x05R\tsortOrderB\x0f\n" +
|
|
"\r_html_content\"a\n" +
|
|
"\x1bContentSetPageBlocksRequest\x12\x17\n" +
|
|
"\apage_id\x18\x01 \x01(\tR\x06pageId\x12)\n" +
|
|
"\x06blocks\x18\x02 \x03(\v2\x11.abi.v1.PageBlockR\x06blocks\"\x1e\n" +
|
|
"\x1cContentSetPageBlocksResponse\"4\n" +
|
|
"\x19ContentPublishPageRequest\x12\x17\n" +
|
|
"\apage_id\x18\x01 \x01(\tR\x06pageId\"\x1c\n" +
|
|
"\x1aContentPublishPageResponse\"\xcd\x05\n" +
|
|
"\x18ContentSetPageSeoRequest\x12\x17\n" +
|
|
"\apage_id\x18\x01 \x01(\tR\x06pageId\x12\"\n" +
|
|
"\n" +
|
|
"meta_title\x18\x02 \x01(\tH\x00R\tmetaTitle\x88\x01\x01\x12.\n" +
|
|
"\x10meta_description\x18\x03 \x01(\tH\x01R\x0fmetaDescription\x88\x01\x01\x12\x1e\n" +
|
|
"\bog_title\x18\x04 \x01(\tH\x02R\aogTitle\x88\x01\x01\x12*\n" +
|
|
"\x0eog_description\x18\x05 \x01(\tH\x03R\rogDescription\x88\x01\x01\x12\x1e\n" +
|
|
"\bog_image\x18\x06 \x01(\tH\x04R\aogImage\x88\x01\x01\x12,\n" +
|
|
"\x0ffocus_keyphrase\x18\a \x01(\tH\x05R\x0efocusKeyphrase\x88\x01\x01\x12(\n" +
|
|
"\rcanonical_url\x18\b \x01(\tH\x06R\fcanonicalUrl\x88\x01\x01\x12.\n" +
|
|
"\x10robots_directive\x18\t \x01(\tH\aR\x0frobotsDirective\x88\x01\x01\x12(\n" +
|
|
"\rtwitter_title\x18\n" +
|
|
" \x01(\tH\bR\ftwitterTitle\x88\x01\x01\x124\n" +
|
|
"\x13twitter_description\x18\v \x01(\tH\tR\x12twitterDescription\x88\x01\x01\x12(\n" +
|
|
"\rtwitter_image\x18\f \x01(\tH\n" +
|
|
"R\ftwitterImage\x88\x01\x01B\r\n" +
|
|
"\v_meta_titleB\x13\n" +
|
|
"\x11_meta_descriptionB\v\n" +
|
|
"\t_og_titleB\x11\n" +
|
|
"\x0f_og_descriptionB\v\n" +
|
|
"\t_og_imageB\x12\n" +
|
|
"\x10_focus_keyphraseB\x10\n" +
|
|
"\x0e_canonical_urlB\x13\n" +
|
|
"\x11_robots_directiveB\x10\n" +
|
|
"\x0e_twitter_titleB\x16\n" +
|
|
"\x14_twitter_descriptionB\x10\n" +
|
|
"\x0e_twitter_image\"\x1b\n" +
|
|
"\x19ContentSetPageSeoResponse\"\xdd\x02\n" +
|
|
"\x18ContentUpsertPostRequest\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\x12\x14\n" +
|
|
"\x05title\x18\x02 \x01(\tR\x05title\x12#\n" +
|
|
"\rdocument_json\x18\x03 \x01(\fR\fdocumentJson\x12\x1d\n" +
|
|
"\aexcerpt\x18\x04 \x01(\tH\x00R\aexcerpt\x88\x01\x01\x12/\n" +
|
|
"\x11author_profile_id\x18\x05 \x01(\tH\x01R\x0fauthorProfileId\x88\x01\x01\x12/\n" +
|
|
"\x11featured_image_id\x18\x06 \x01(\tH\x02R\x0ffeaturedImageId\x88\x01\x01\x12\x18\n" +
|
|
"\apublish\x18\a \x01(\bR\apublish\x12\x1f\n" +
|
|
"\vis_featured\x18\b \x01(\bR\n" +
|
|
"isFeaturedB\n" +
|
|
"\n" +
|
|
"\b_excerptB\x14\n" +
|
|
"\x12_author_profile_idB\x14\n" +
|
|
"\x12_featured_image_id\"N\n" +
|
|
"\x19ContentUpsertPostResponse\x12\x17\n" +
|
|
"\apost_id\x18\x01 \x01(\tR\x06postId\x12\x18\n" +
|
|
"\acreated\x18\x02 \x01(\bR\acreated\"\xad\x01\n" +
|
|
"!ProvisionerEnsureDataTableRequest\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1f\n" +
|
|
"\vschema_json\x18\x04 \x01(\fR\n" +
|
|
"schemaJson\x12\x1f\n" +
|
|
"\vprimary_key\x18\x05 \x01(\tR\n" +
|
|
"primaryKey\"$\n" +
|
|
"\"ProvisionerEnsureDataTableResponse\"J\n" +
|
|
"#ProvisionerMergeSiteSettingsRequest\x12#\n" +
|
|
"\rdefaults_json\x18\x01 \x01(\fR\fdefaultsJson\"&\n" +
|
|
"$ProvisionerMergeSiteSettingsResponse\"a\n" +
|
|
"\x1fProvisionerEnsureSettingRequest\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x12default_value_json\x18\x02 \x01(\fR\x10defaultValueJson\"\"\n" +
|
|
" ProvisionerEnsureSettingResponse\"\x83\x03\n" +
|
|
"\bPageSeed\x12\x12\n" +
|
|
"\x04slug\x18\x01 \x01(\tR\x04slug\x12\x1f\n" +
|
|
"\vparent_slug\x18\x02 \x01(\tR\n" +
|
|
"parentSlug\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12!\n" +
|
|
"\ftemplate_key\x18\x04 \x01(\tR\vtemplateKey\x12)\n" +
|
|
"\x06blocks\x18\x05 \x03(\v2\x11.abi.v1.PageBlockR\x06blocks\x12,\n" +
|
|
"\x12detail_source_type\x18\x06 \x01(\tR\x10detailSourceType\x12*\n" +
|
|
"\x11detail_source_key\x18\a \x01(\tR\x0fdetailSourceKey\x12*\n" +
|
|
"\x11detail_slug_field\x18\b \x01(\tR\x0fdetailSlugField\x12)\n" +
|
|
"\x10reconcile_blocks\x18\t \x01(\bR\x0freconcileBlocks\x12-\n" +
|
|
"\x12reconcile_template\x18\n" +
|
|
" \x01(\bR\x11reconcileTemplate\"D\n" +
|
|
"\x1cProvisionerEnsurePageRequest\x12$\n" +
|
|
"\x04page\x18\x01 \x01(\v2\x10.abi.v1.PageSeedR\x04page\"\x1f\n" +
|
|
"\x1dProvisionerEnsurePageResponse\"O\n" +
|
|
"&ProvisionerOverrideSiteSettingsRequest\x12%\n" +
|
|
"\x0eoverrides_json\x18\x01 \x01(\fR\roverridesJson\")\n" +
|
|
"'ProvisionerOverrideSiteSettingsResponse\"\xa3\x01\n" +
|
|
" ProvisionerEnsureMenuItemRequest\x12\x1b\n" +
|
|
"\tmenu_name\x18\x01 \x01(\tR\bmenuName\x12\x14\n" +
|
|
"\x05label\x18\x02 \x01(\tR\x05label\x12\x10\n" +
|
|
"\x03url\x18\x03 \x01(\tR\x03url\x12\x1b\n" +
|
|
"\tpage_slug\x18\x04 \x01(\tR\bpageSlug\x12\x1d\n" +
|
|
"\n" +
|
|
"sort_order\x18\x05 \x01(\x05R\tsortOrder\"#\n" +
|
|
"!ProvisionerEnsureMenuItemResponse\"\x87\x01\n" +
|
|
")ProvisionerRegisterEmbeddingConfigRequest\x12\x1b\n" +
|
|
"\ttable_key\x18\x01 \x01(\tR\btableKey\x12#\n" +
|
|
"\rtext_template\x18\x02 \x01(\tR\ftextTemplate\x12\x18\n" +
|
|
"\aenabled\x18\x03 \x01(\bR\aenabled\",\n" +
|
|
"*ProvisionerRegisterEmbeddingConfigResponse\"\x97\x02\n" +
|
|
"\x1dProvisionerEnsureEmbedRequest\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05title\x18\x02 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x12\n" +
|
|
"\x04icon\x18\x04 \x01(\tR\x04icon\x12\x1f\n" +
|
|
"\vlabel_field\x18\x05 \x01(\tR\n" +
|
|
"labelField\x12\x1a\n" +
|
|
"\btemplate\x18\x06 \x01(\tR\btemplate\x12(\n" +
|
|
"\x10data_source_type\x18\a \x01(\tR\x0edataSourceType\x121\n" +
|
|
"\x15data_source_table_key\x18\b \x01(\tR\x12dataSourceTableKey\" \n" +
|
|
"\x1eProvisionerEnsureEmbedResponse\"\x8a\x01\n" +
|
|
"#ProvisionerEnsureJobScheduleRequest\x12\x19\n" +
|
|
"\bjob_type\x18\x01 \x01(\tR\ajobType\x12'\n" +
|
|
"\x0fcron_expression\x18\x02 \x01(\tR\x0ecronExpression\x12\x1f\n" +
|
|
"\vconfig_json\x18\x03 \x01(\fR\n" +
|
|
"configJson\"&\n" +
|
|
"$ProvisionerEnsureJobScheduleResponse\"~\n" +
|
|
")ProvisionerUpdateDataTableRowFieldRequest\x12\x15\n" +
|
|
"\x06row_id\x18\x01 \x01(\tR\x05rowId\x12\x1b\n" +
|
|
"\tfield_key\x18\x02 \x01(\tR\bfieldKey\x12\x1d\n" +
|
|
"\n" +
|
|
"value_json\x18\x03 \x01(\fR\tvalueJson\",\n" +
|
|
"*ProvisionerUpdateDataTableRowFieldResponse\"Z\n" +
|
|
"-ProvisionerDisableOrphanedJobSchedulesRequest\x12)\n" +
|
|
"\x10registered_types\x18\x01 \x03(\tR\x0fregisteredTypes\"0\n" +
|
|
".ProvisionerDisableOrphanedJobSchedulesResponse\"4\n" +
|
|
"\x1eProvisionerEnsurePluginRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"!\n" +
|
|
"\x1fProvisionerEnsurePluginResponse\"\x91\x01\n" +
|
|
"#ProvisionerEnsureCustomColorRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" +
|
|
"\vlight_value\x18\x02 \x01(\tR\n" +
|
|
"lightValue\x12\x1d\n" +
|
|
"\n" +
|
|
"dark_value\x18\x03 \x01(\tR\tdarkValue\x12\x16\n" +
|
|
"\x06source\x18\x04 \x01(\tR\x06source\"&\n" +
|
|
"$ProvisionerEnsureCustomColorResponse\"\xaa\x01\n" +
|
|
"\x1dProvisionerEnsureMediaRequest\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\" \n" +
|
|
"\x1eProvisionerEnsureMediaResponse\"k\n" +
|
|
"#SettingsUpdatePluginSettingsRequest\x12\x1f\n" +
|
|
"\vplugin_name\x18\x01 \x01(\tR\n" +
|
|
"pluginName\x12#\n" +
|
|
"\rsettings_json\x18\x02 \x01(\fR\fsettingsJson\"&\n" +
|
|
"$SettingsUpdatePluginSettingsResponse\"_\n" +
|
|
"\x13JobsProgressRequest\x12\x18\n" +
|
|
"\acurrent\x18\x01 \x01(\x05R\acurrent\x12\x14\n" +
|
|
"\x05total\x18\x02 \x01(\x05R\x05total\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"\x16\n" +
|
|
"\x14JobsProgressResponse\"\x8b\x01\n" +
|
|
"\x13BridgeInvokeRequest\x12\x1f\n" +
|
|
"\vplugin_name\x18\x01 \x01(\tR\n" +
|
|
"pluginName\x12!\n" +
|
|
"\fservice_name\x18\x02 \x01(\tR\vserviceName\x12\x16\n" +
|
|
"\x06method\x18\x03 \x01(\tR\x06method\x12\x18\n" +
|
|
"\apayload\x18\x04 \x01(\fR\apayload\"0\n" +
|
|
"\x14BridgeInvokeResponse\x12\x18\n" +
|
|
"\apayload\x18\x01 \x01(\fR\apayload\"\x86\x02\n" +
|
|
"\x12HttpRequestRequest\x12\x16\n" +
|
|
"\x06method\x18\x01 \x01(\tR\x06method\x12\x10\n" +
|
|
"\x03url\x18\x02 \x01(\tR\x03url\x12A\n" +
|
|
"\aheaders\x18\x03 \x03(\v2'.abi.v1.HttpRequestRequest.HeadersEntryR\aheaders\x12\x12\n" +
|
|
"\x04body\x18\x04 \x01(\fR\x04body\x12\x1d\n" +
|
|
"\n" +
|
|
"timeout_ms\x18\x05 \x01(\rR\ttimeoutMs\x1aP\n" +
|
|
"\fHeadersEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12*\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x14.abi.v1.HeaderValuesR\x05value:\x028\x01\"\xf4\x01\n" +
|
|
"\x13HttpRequestResponse\x12\x16\n" +
|
|
"\x06status\x18\x01 \x01(\x05R\x06status\x12B\n" +
|
|
"\aheaders\x18\x02 \x03(\v2(.abi.v1.HttpRequestResponse.HeadersEntryR\aheaders\x12\x12\n" +
|
|
"\x04body\x18\x03 \x01(\fR\x04body\x12\x1b\n" +
|
|
"\tfinal_url\x18\x04 \x01(\tR\bfinalUrl\x1aP\n" +
|
|
"\fHeadersEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12*\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x14.abi.v1.HeaderValuesR\x05value:\x028\x01B5Z3git.dev.alexdunmow.com/block/pluginsdk/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, 161)
|
|
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
|
|
(*ContentPublishedBlockConfigsRequest)(nil), // 8: abi.v1.ContentPublishedBlockConfigsRequest
|
|
(*ContentPublishedBlockConfigsResponse)(nil), // 9: abi.v1.ContentPublishedBlockConfigsResponse
|
|
(*ContentGetPostRequest)(nil), // 10: abi.v1.ContentGetPostRequest
|
|
(*ContentGetPostResponse)(nil), // 11: abi.v1.ContentGetPostResponse
|
|
(*PostInfo)(nil), // 12: abi.v1.PostInfo
|
|
(*ContentListPostsRequest)(nil), // 13: abi.v1.ContentListPostsRequest
|
|
(*ContentListPostsResponse)(nil), // 14: abi.v1.ContentListPostsResponse
|
|
(*ContentSlugifyRequest)(nil), // 15: abi.v1.ContentSlugifyRequest
|
|
(*ContentSlugifyResponse)(nil), // 16: abi.v1.ContentSlugifyResponse
|
|
(*ContentBlockNoteToHtmlRequest)(nil), // 17: abi.v1.ContentBlockNoteToHtmlRequest
|
|
(*ContentBlockNoteToHtmlResponse)(nil), // 18: abi.v1.ContentBlockNoteToHtmlResponse
|
|
(*ContentGenerateExcerptRequest)(nil), // 19: abi.v1.ContentGenerateExcerptRequest
|
|
(*ContentGenerateExcerptResponse)(nil), // 20: abi.v1.ContentGenerateExcerptResponse
|
|
(*ContentStripHtmlRequest)(nil), // 21: abi.v1.ContentStripHtmlRequest
|
|
(*ContentStripHtmlResponse)(nil), // 22: abi.v1.ContentStripHtmlResponse
|
|
(*SettingsGetSiteSettingsRequest)(nil), // 23: abi.v1.SettingsGetSiteSettingsRequest
|
|
(*SettingsGetSiteSettingsResponse)(nil), // 24: abi.v1.SettingsGetSiteSettingsResponse
|
|
(*SettingsGetPluginSettingsRequest)(nil), // 25: abi.v1.SettingsGetPluginSettingsRequest
|
|
(*SettingsGetPluginSettingsResponse)(nil), // 26: abi.v1.SettingsGetPluginSettingsResponse
|
|
(*SettingsUpdateSiteSettingRequest)(nil), // 27: abi.v1.SettingsUpdateSiteSettingRequest
|
|
(*SettingsUpdateSiteSettingResponse)(nil), // 28: abi.v1.SettingsUpdateSiteSettingResponse
|
|
(*GatingGetSubscriberTierLevelRequest)(nil), // 29: abi.v1.GatingGetSubscriberTierLevelRequest
|
|
(*GatingGetSubscriberTierLevelResponse)(nil), // 30: abi.v1.GatingGetSubscriberTierLevelResponse
|
|
(*GatingEvaluateAccessRequest)(nil), // 31: abi.v1.GatingEvaluateAccessRequest
|
|
(*GatingEvaluateAccessResponse)(nil), // 32: abi.v1.GatingEvaluateAccessResponse
|
|
(*AccessRule)(nil), // 33: abi.v1.AccessRule
|
|
(*AccessResult)(nil), // 34: abi.v1.AccessResult
|
|
(*CryptoEncryptSecretRequest)(nil), // 35: abi.v1.CryptoEncryptSecretRequest
|
|
(*CryptoEncryptSecretResponse)(nil), // 36: abi.v1.CryptoEncryptSecretResponse
|
|
(*CryptoDecryptSecretRequest)(nil), // 37: abi.v1.CryptoDecryptSecretRequest
|
|
(*CryptoDecryptSecretResponse)(nil), // 38: abi.v1.CryptoDecryptSecretResponse
|
|
(*MenusGetMenuByNameRequest)(nil), // 39: abi.v1.MenusGetMenuByNameRequest
|
|
(*MenusGetMenuByNameResponse)(nil), // 40: abi.v1.MenusGetMenuByNameResponse
|
|
(*Menu)(nil), // 41: abi.v1.Menu
|
|
(*MenusGetMenuItemsRequest)(nil), // 42: abi.v1.MenusGetMenuItemsRequest
|
|
(*MenusGetMenuItemsResponse)(nil), // 43: abi.v1.MenusGetMenuItemsResponse
|
|
(*MenuItem)(nil), // 44: abi.v1.MenuItem
|
|
(*DatasourcesResolveBucketRequest)(nil), // 45: abi.v1.DatasourcesResolveBucketRequest
|
|
(*DatasourcesResolveBucketResponse)(nil), // 46: abi.v1.DatasourcesResolveBucketResponse
|
|
(*DatasourcesResolveBucketByKeyRequest)(nil), // 47: abi.v1.DatasourcesResolveBucketByKeyRequest
|
|
(*DatasourcesResolveBucketByKeyResponse)(nil), // 48: abi.v1.DatasourcesResolveBucketByKeyResponse
|
|
(*DatasourceResult)(nil), // 49: abi.v1.DatasourceResult
|
|
(*DatatablesGetTableByKeyRequest)(nil), // 50: abi.v1.DatatablesGetTableByKeyRequest
|
|
(*DatatablesGetTableByKeyResponse)(nil), // 51: abi.v1.DatatablesGetTableByKeyResponse
|
|
(*DatatablesGetRowRequest)(nil), // 52: abi.v1.DatatablesGetRowRequest
|
|
(*DatatablesGetRowResponse)(nil), // 53: abi.v1.DatatablesGetRowResponse
|
|
(*DatatablesListRowsRequest)(nil), // 54: abi.v1.DatatablesListRowsRequest
|
|
(*DatatablesListRowsResponse)(nil), // 55: abi.v1.DatatablesListRowsResponse
|
|
(*DatatablesCreateRowRequest)(nil), // 56: abi.v1.DatatablesCreateRowRequest
|
|
(*DatatablesCreateRowResponse)(nil), // 57: abi.v1.DatatablesCreateRowResponse
|
|
(*DatatablesUpdateRowDataRequest)(nil), // 58: abi.v1.DatatablesUpdateRowDataRequest
|
|
(*DatatablesUpdateRowDataResponse)(nil), // 59: abi.v1.DatatablesUpdateRowDataResponse
|
|
(*DatatablesFindRowByFieldRequest)(nil), // 60: abi.v1.DatatablesFindRowByFieldRequest
|
|
(*DatatablesFindRowByFieldResponse)(nil), // 61: abi.v1.DatatablesFindRowByFieldResponse
|
|
(*DataTableInfo)(nil), // 62: abi.v1.DataTableInfo
|
|
(*DataTableRowInfo)(nil), // 63: abi.v1.DataTableRowInfo
|
|
(*UsersGetByUsernameRequest)(nil), // 64: abi.v1.UsersGetByUsernameRequest
|
|
(*UsersGetByUsernameResponse)(nil), // 65: abi.v1.UsersGetByUsernameResponse
|
|
(*UsersGetByIdRequest)(nil), // 66: abi.v1.UsersGetByIdRequest
|
|
(*UsersGetByIdResponse)(nil), // 67: abi.v1.UsersGetByIdResponse
|
|
(*PublicUserProfile)(nil), // 68: abi.v1.PublicUserProfile
|
|
(*SubscriptionsGetUserTierLevelRequest)(nil), // 69: abi.v1.SubscriptionsGetUserTierLevelRequest
|
|
(*SubscriptionsGetUserTierLevelResponse)(nil), // 70: abi.v1.SubscriptionsGetUserTierLevelResponse
|
|
(*TierLevel)(nil), // 71: abi.v1.TierLevel
|
|
(*SubscriptionsGetTierBySlugRequest)(nil), // 72: abi.v1.SubscriptionsGetTierBySlugRequest
|
|
(*SubscriptionsGetTierBySlugResponse)(nil), // 73: abi.v1.SubscriptionsGetTierBySlugResponse
|
|
(*Tier)(nil), // 74: abi.v1.Tier
|
|
(*SubscriptionsListTiersRequest)(nil), // 75: abi.v1.SubscriptionsListTiersRequest
|
|
(*SubscriptionsListTiersResponse)(nil), // 76: abi.v1.SubscriptionsListTiersResponse
|
|
(*SubscriptionsListActivePlansRequest)(nil), // 77: abi.v1.SubscriptionsListActivePlansRequest
|
|
(*SubscriptionsListActivePlansResponse)(nil), // 78: abi.v1.SubscriptionsListActivePlansResponse
|
|
(*Plan)(nil), // 79: abi.v1.Plan
|
|
(*MediaDepositRequest)(nil), // 80: abi.v1.MediaDepositRequest
|
|
(*MediaDepositResponse)(nil), // 81: abi.v1.MediaDepositResponse
|
|
(*EmailSendRequest)(nil), // 82: abi.v1.EmailSendRequest
|
|
(*EmailSendResponse)(nil), // 83: abi.v1.EmailSendResponse
|
|
(*AiTextCallRequest)(nil), // 84: abi.v1.AiTextCallRequest
|
|
(*AiTextCallResponse)(nil), // 85: abi.v1.AiTextCallResponse
|
|
(*AiToolRegisterRequest)(nil), // 86: abi.v1.AiToolRegisterRequest
|
|
(*AiToolRegisterResponse)(nil), // 87: abi.v1.AiToolRegisterResponse
|
|
(*BridgeRegisterServiceRequest)(nil), // 88: abi.v1.BridgeRegisterServiceRequest
|
|
(*BridgeRegisterServiceResponse)(nil), // 89: abi.v1.BridgeRegisterServiceResponse
|
|
(*BridgeGetServiceRequest)(nil), // 90: abi.v1.BridgeGetServiceRequest
|
|
(*BridgeGetServiceResponse)(nil), // 91: abi.v1.BridgeGetServiceResponse
|
|
(*JobsSubmitRequest)(nil), // 92: abi.v1.JobsSubmitRequest
|
|
(*JobsSubmitResponse)(nil), // 93: abi.v1.JobsSubmitResponse
|
|
(*EmbeddingsGenerateEmbeddingRequest)(nil), // 94: abi.v1.EmbeddingsGenerateEmbeddingRequest
|
|
(*EmbeddingsGenerateEmbeddingResponse)(nil), // 95: abi.v1.EmbeddingsGenerateEmbeddingResponse
|
|
(*EmbeddingsEmbedContentRequest)(nil), // 96: abi.v1.EmbeddingsEmbedContentRequest
|
|
(*EmbeddingsEmbedContentResponse)(nil), // 97: abi.v1.EmbeddingsEmbedContentResponse
|
|
(*EmbeddingsIsAvailableRequest)(nil), // 98: abi.v1.EmbeddingsIsAvailableRequest
|
|
(*EmbeddingsIsAvailableResponse)(nil), // 99: abi.v1.EmbeddingsIsAvailableResponse
|
|
(*RagQueryRequest)(nil), // 100: abi.v1.RagQueryRequest
|
|
(*RagQueryResponse)(nil), // 101: abi.v1.RagQueryResponse
|
|
(*RagResult)(nil), // 102: abi.v1.RagResult
|
|
(*RagOnContentChangedRequest)(nil), // 103: abi.v1.RagOnContentChangedRequest
|
|
(*RagOnContentChangedResponse)(nil), // 104: abi.v1.RagOnContentChangedResponse
|
|
(*ReviewsSubmitReviewRequest)(nil), // 105: abi.v1.ReviewsSubmitReviewRequest
|
|
(*ReviewsSubmitReviewResponse)(nil), // 106: abi.v1.ReviewsSubmitReviewResponse
|
|
(*BadgesRefreshBadgesRequest)(nil), // 107: abi.v1.BadgesRefreshBadgesRequest
|
|
(*BadgesRefreshBadgesResponse)(nil), // 108: abi.v1.BadgesRefreshBadgesResponse
|
|
(*ContentCreatePageRequest)(nil), // 109: abi.v1.ContentCreatePageRequest
|
|
(*ContentCreatePageResponse)(nil), // 110: abi.v1.ContentCreatePageResponse
|
|
(*PageBlock)(nil), // 111: abi.v1.PageBlock
|
|
(*ContentSetPageBlocksRequest)(nil), // 112: abi.v1.ContentSetPageBlocksRequest
|
|
(*ContentSetPageBlocksResponse)(nil), // 113: abi.v1.ContentSetPageBlocksResponse
|
|
(*ContentPublishPageRequest)(nil), // 114: abi.v1.ContentPublishPageRequest
|
|
(*ContentPublishPageResponse)(nil), // 115: abi.v1.ContentPublishPageResponse
|
|
(*ContentSetPageSeoRequest)(nil), // 116: abi.v1.ContentSetPageSeoRequest
|
|
(*ContentSetPageSeoResponse)(nil), // 117: abi.v1.ContentSetPageSeoResponse
|
|
(*ContentUpsertPostRequest)(nil), // 118: abi.v1.ContentUpsertPostRequest
|
|
(*ContentUpsertPostResponse)(nil), // 119: abi.v1.ContentUpsertPostResponse
|
|
(*ProvisionerEnsureDataTableRequest)(nil), // 120: abi.v1.ProvisionerEnsureDataTableRequest
|
|
(*ProvisionerEnsureDataTableResponse)(nil), // 121: abi.v1.ProvisionerEnsureDataTableResponse
|
|
(*ProvisionerMergeSiteSettingsRequest)(nil), // 122: abi.v1.ProvisionerMergeSiteSettingsRequest
|
|
(*ProvisionerMergeSiteSettingsResponse)(nil), // 123: abi.v1.ProvisionerMergeSiteSettingsResponse
|
|
(*ProvisionerEnsureSettingRequest)(nil), // 124: abi.v1.ProvisionerEnsureSettingRequest
|
|
(*ProvisionerEnsureSettingResponse)(nil), // 125: abi.v1.ProvisionerEnsureSettingResponse
|
|
(*PageSeed)(nil), // 126: abi.v1.PageSeed
|
|
(*ProvisionerEnsurePageRequest)(nil), // 127: abi.v1.ProvisionerEnsurePageRequest
|
|
(*ProvisionerEnsurePageResponse)(nil), // 128: abi.v1.ProvisionerEnsurePageResponse
|
|
(*ProvisionerOverrideSiteSettingsRequest)(nil), // 129: abi.v1.ProvisionerOverrideSiteSettingsRequest
|
|
(*ProvisionerOverrideSiteSettingsResponse)(nil), // 130: abi.v1.ProvisionerOverrideSiteSettingsResponse
|
|
(*ProvisionerEnsureMenuItemRequest)(nil), // 131: abi.v1.ProvisionerEnsureMenuItemRequest
|
|
(*ProvisionerEnsureMenuItemResponse)(nil), // 132: abi.v1.ProvisionerEnsureMenuItemResponse
|
|
(*ProvisionerRegisterEmbeddingConfigRequest)(nil), // 133: abi.v1.ProvisionerRegisterEmbeddingConfigRequest
|
|
(*ProvisionerRegisterEmbeddingConfigResponse)(nil), // 134: abi.v1.ProvisionerRegisterEmbeddingConfigResponse
|
|
(*ProvisionerEnsureEmbedRequest)(nil), // 135: abi.v1.ProvisionerEnsureEmbedRequest
|
|
(*ProvisionerEnsureEmbedResponse)(nil), // 136: abi.v1.ProvisionerEnsureEmbedResponse
|
|
(*ProvisionerEnsureJobScheduleRequest)(nil), // 137: abi.v1.ProvisionerEnsureJobScheduleRequest
|
|
(*ProvisionerEnsureJobScheduleResponse)(nil), // 138: abi.v1.ProvisionerEnsureJobScheduleResponse
|
|
(*ProvisionerUpdateDataTableRowFieldRequest)(nil), // 139: abi.v1.ProvisionerUpdateDataTableRowFieldRequest
|
|
(*ProvisionerUpdateDataTableRowFieldResponse)(nil), // 140: abi.v1.ProvisionerUpdateDataTableRowFieldResponse
|
|
(*ProvisionerDisableOrphanedJobSchedulesRequest)(nil), // 141: abi.v1.ProvisionerDisableOrphanedJobSchedulesRequest
|
|
(*ProvisionerDisableOrphanedJobSchedulesResponse)(nil), // 142: abi.v1.ProvisionerDisableOrphanedJobSchedulesResponse
|
|
(*ProvisionerEnsurePluginRequest)(nil), // 143: abi.v1.ProvisionerEnsurePluginRequest
|
|
(*ProvisionerEnsurePluginResponse)(nil), // 144: abi.v1.ProvisionerEnsurePluginResponse
|
|
(*ProvisionerEnsureCustomColorRequest)(nil), // 145: abi.v1.ProvisionerEnsureCustomColorRequest
|
|
(*ProvisionerEnsureCustomColorResponse)(nil), // 146: abi.v1.ProvisionerEnsureCustomColorResponse
|
|
(*ProvisionerEnsureMediaRequest)(nil), // 147: abi.v1.ProvisionerEnsureMediaRequest
|
|
(*ProvisionerEnsureMediaResponse)(nil), // 148: abi.v1.ProvisionerEnsureMediaResponse
|
|
(*SettingsUpdatePluginSettingsRequest)(nil), // 149: abi.v1.SettingsUpdatePluginSettingsRequest
|
|
(*SettingsUpdatePluginSettingsResponse)(nil), // 150: abi.v1.SettingsUpdatePluginSettingsResponse
|
|
(*JobsProgressRequest)(nil), // 151: abi.v1.JobsProgressRequest
|
|
(*JobsProgressResponse)(nil), // 152: abi.v1.JobsProgressResponse
|
|
(*BridgeInvokeRequest)(nil), // 153: abi.v1.BridgeInvokeRequest
|
|
(*BridgeInvokeResponse)(nil), // 154: abi.v1.BridgeInvokeResponse
|
|
(*HttpRequestRequest)(nil), // 155: abi.v1.HttpRequestRequest
|
|
(*HttpRequestResponse)(nil), // 156: abi.v1.HttpRequestResponse
|
|
nil, // 157: abi.v1.AuthorProfile.SocialLinksEntry
|
|
nil, // 158: abi.v1.RagResult.MetadataEntry
|
|
nil, // 159: abi.v1.HttpRequestRequest.HeadersEntry
|
|
nil, // 160: abi.v1.HttpRequestResponse.HeadersEntry
|
|
(*AbiError)(nil), // 161: abi.v1.AbiError
|
|
(*timestamppb.Timestamp)(nil), // 162: google.protobuf.Timestamp
|
|
(*HeaderValues)(nil), // 163: abi.v1.HeaderValues
|
|
}
|
|
var file_v1_capability_proto_depIdxs = []int32{
|
|
161, // 0: abi.v1.HostCallResponse.error:type_name -> abi.v1.AbiError
|
|
4, // 1: abi.v1.ContentGetAuthorProfileResponse.author:type_name -> abi.v1.AuthorProfile
|
|
157, // 2: abi.v1.AuthorProfile.social_links:type_name -> abi.v1.AuthorProfile.SocialLinksEntry
|
|
7, // 3: abi.v1.ContentGetPageResponse.page:type_name -> abi.v1.PageInfo
|
|
12, // 4: abi.v1.ContentGetPostResponse.post:type_name -> abi.v1.PostInfo
|
|
162, // 5: abi.v1.PostInfo.published_at:type_name -> google.protobuf.Timestamp
|
|
12, // 6: abi.v1.ContentListPostsResponse.posts:type_name -> abi.v1.PostInfo
|
|
33, // 7: abi.v1.GatingEvaluateAccessRequest.rule:type_name -> abi.v1.AccessRule
|
|
34, // 8: abi.v1.GatingEvaluateAccessResponse.result:type_name -> abi.v1.AccessResult
|
|
41, // 9: abi.v1.MenusGetMenuByNameResponse.menu:type_name -> abi.v1.Menu
|
|
44, // 10: abi.v1.MenusGetMenuItemsResponse.items:type_name -> abi.v1.MenuItem
|
|
49, // 11: abi.v1.DatasourcesResolveBucketResponse.result:type_name -> abi.v1.DatasourceResult
|
|
49, // 12: abi.v1.DatasourcesResolveBucketByKeyResponse.result:type_name -> abi.v1.DatasourceResult
|
|
62, // 13: abi.v1.DatatablesGetTableByKeyResponse.table:type_name -> abi.v1.DataTableInfo
|
|
63, // 14: abi.v1.DatatablesGetRowResponse.row:type_name -> abi.v1.DataTableRowInfo
|
|
63, // 15: abi.v1.DatatablesListRowsResponse.rows:type_name -> abi.v1.DataTableRowInfo
|
|
63, // 16: abi.v1.DatatablesCreateRowResponse.row:type_name -> abi.v1.DataTableRowInfo
|
|
63, // 17: abi.v1.DatatablesUpdateRowDataResponse.row:type_name -> abi.v1.DataTableRowInfo
|
|
63, // 18: abi.v1.DatatablesFindRowByFieldResponse.row:type_name -> abi.v1.DataTableRowInfo
|
|
68, // 19: abi.v1.UsersGetByUsernameResponse.user:type_name -> abi.v1.PublicUserProfile
|
|
68, // 20: abi.v1.UsersGetByIdResponse.user:type_name -> abi.v1.PublicUserProfile
|
|
71, // 21: abi.v1.SubscriptionsGetUserTierLevelResponse.tier_level:type_name -> abi.v1.TierLevel
|
|
74, // 22: abi.v1.SubscriptionsGetTierBySlugResponse.tier:type_name -> abi.v1.Tier
|
|
74, // 23: abi.v1.SubscriptionsListTiersResponse.tiers:type_name -> abi.v1.Tier
|
|
79, // 24: abi.v1.SubscriptionsListActivePlansResponse.plans:type_name -> abi.v1.Plan
|
|
162, // 25: abi.v1.Plan.created_at:type_name -> google.protobuf.Timestamp
|
|
102, // 26: abi.v1.RagQueryResponse.results:type_name -> abi.v1.RagResult
|
|
158, // 27: abi.v1.RagResult.metadata:type_name -> abi.v1.RagResult.MetadataEntry
|
|
111, // 28: abi.v1.ContentSetPageBlocksRequest.blocks:type_name -> abi.v1.PageBlock
|
|
111, // 29: abi.v1.PageSeed.blocks:type_name -> abi.v1.PageBlock
|
|
126, // 30: abi.v1.ProvisionerEnsurePageRequest.page:type_name -> abi.v1.PageSeed
|
|
159, // 31: abi.v1.HttpRequestRequest.headers:type_name -> abi.v1.HttpRequestRequest.HeadersEntry
|
|
160, // 32: abi.v1.HttpRequestResponse.headers:type_name -> abi.v1.HttpRequestResponse.HeadersEntry
|
|
163, // 33: abi.v1.HttpRequestRequest.HeadersEntry.value:type_name -> abi.v1.HeaderValues
|
|
163, // 34: abi.v1.HttpRequestResponse.HeadersEntry.value:type_name -> abi.v1.HeaderValues
|
|
35, // [35:35] is the sub-list for method output_type
|
|
35, // [35:35] is the sub-list for method input_type
|
|
35, // [35:35] is the sub-list for extension type_name
|
|
35, // [35:35] is the sub-list for extension extendee
|
|
0, // [0:35] 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_http_proto_init()
|
|
file_v1_invoke_proto_init()
|
|
file_v1_capability_proto_msgTypes[44].OneofWrappers = []any{}
|
|
file_v1_capability_proto_msgTypes[111].OneofWrappers = []any{}
|
|
file_v1_capability_proto_msgTypes[116].OneofWrappers = []any{}
|
|
file_v1_capability_proto_msgTypes[118].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: 161,
|
|
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
|
|
}
|