Documentation
¶
Index ¶
- Variables
- type CheckoutCustomerPortalRequest
- func (*CheckoutCustomerPortalRequest) Descriptor() ([]byte, []int)deprecated
- func (*CheckoutCustomerPortalRequest) ProtoMessage()
- func (x *CheckoutCustomerPortalRequest) ProtoReflect() protoreflect.Message
- func (x *CheckoutCustomerPortalRequest) Reset()
- func (x *CheckoutCustomerPortalRequest) String() string
- type CheckoutCustomerPortalResponse
- func (*CheckoutCustomerPortalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckoutCustomerPortalResponse) GetUrl() string
- func (*CheckoutCustomerPortalResponse) ProtoMessage()
- func (x *CheckoutCustomerPortalResponse) ProtoReflect() protoreflect.Message
- func (x *CheckoutCustomerPortalResponse) Reset()
- func (x *CheckoutCustomerPortalResponse) String() string
- type CheckoutGetLinkRequest
- func (*CheckoutGetLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckoutGetLinkRequest) GetProduct() CheckoutProduct
- func (*CheckoutGetLinkRequest) ProtoMessage()
- func (x *CheckoutGetLinkRequest) ProtoReflect() protoreflect.Message
- func (x *CheckoutGetLinkRequest) Reset()
- func (x *CheckoutGetLinkRequest) String() string
- type CheckoutGetLinkResponse
- func (*CheckoutGetLinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckoutGetLinkResponse) GetLink() string
- func (*CheckoutGetLinkResponse) ProtoMessage()
- func (x *CheckoutGetLinkResponse) ProtoReflect() protoreflect.Message
- func (x *CheckoutGetLinkResponse) Reset()
- func (x *CheckoutGetLinkResponse) String() string
- type CheckoutProduct
- func (CheckoutProduct) Descriptor() protoreflect.EnumDescriptor
- func (x CheckoutProduct) Enum() *CheckoutProduct
- func (CheckoutProduct) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckoutProduct) Number() protoreflect.EnumNumber
- func (x CheckoutProduct) String() string
- func (CheckoutProduct) Type() protoreflect.EnumType
- type DeviceHandshakeRequest
- func (*DeviceHandshakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceHandshakeRequest) GetAppVersion() string
- func (x *DeviceHandshakeRequest) GetDeviceFingerprint() string
- func (x *DeviceHandshakeRequest) GetOsPlatform() string
- func (x *DeviceHandshakeRequest) GetOsVersion() string
- func (*DeviceHandshakeRequest) ProtoMessage()
- func (x *DeviceHandshakeRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceHandshakeRequest) Reset()
- func (x *DeviceHandshakeRequest) String() string
- type DeviceHandshakeResponse
- func (*DeviceHandshakeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceHandshakeResponse) GetAccountTier() DeviceHandshakeResponse_AccountTier
- func (x *DeviceHandshakeResponse) GetExpiresAt() int64
- func (x *DeviceHandshakeResponse) GetSessionToken() string
- func (x *DeviceHandshakeResponse) GetTrialEndsAt() int64
- func (x *DeviceHandshakeResponse) GetUserId() int64
- func (*DeviceHandshakeResponse) ProtoMessage()
- func (x *DeviceHandshakeResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceHandshakeResponse) Reset()
- func (x *DeviceHandshakeResponse) String() string
- type DeviceHandshakeResponse_AccountTier
- func (DeviceHandshakeResponse_AccountTier) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceHandshakeResponse_AccountTier) Enum() *DeviceHandshakeResponse_AccountTier
- func (DeviceHandshakeResponse_AccountTier) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceHandshakeResponse_AccountTier) Number() protoreflect.EnumNumber
- func (x DeviceHandshakeResponse_AccountTier) String() string
- func (DeviceHandshakeResponse_AccountTier) Type() protoreflect.EnumType
- type LLMClassifyRequest
- func (*LLMClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LLMClassifyRequest) GetBundleId() string
- func (x *LLMClassifyRequest) GetWebsiteContentSnapshot() string
- func (x *LLMClassifyRequest) GetWebsiteDescription() string
- func (x *LLMClassifyRequest) GetWebsiteTitle() string
- func (x *LLMClassifyRequest) GetWebsiteUrl() string
- func (x *LLMClassifyRequest) GetWindowTitle() string
- func (*LLMClassifyRequest) ProtoMessage()
- func (x *LLMClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *LLMClassifyRequest) Reset()
- func (x *LLMClassifyRequest) String() string
- type LLMClassifyResponse
- func (*LLMClassifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LLMClassifyResponse) GetClassification() string
- func (x *LLMClassifyResponse) GetDetectedCommunicationChannel() string
- func (x *LLMClassifyResponse) GetDetectedProject() string
- func (x *LLMClassifyResponse) GetReasoning() string
- func (x *LLMClassifyResponse) GetTags() []string
- func (*LLMClassifyResponse) ProtoMessage()
- func (x *LLMClassifyResponse) ProtoReflect() protoreflect.Message
- func (x *LLMClassifyResponse) Reset()
- func (x *LLMClassifyResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CheckoutProduct_name = map[int32]string{ 0: "CHECKOUT_PRODUCT_UNSPECIFIED", 1: "CHECKOUT_PRODUCT_PLUS", 2: "CHECKOUT_PRODUCT_PRO", } CheckoutProduct_value = map[string]int32{ "CHECKOUT_PRODUCT_UNSPECIFIED": 0, "CHECKOUT_PRODUCT_PLUS": 1, "CHECKOUT_PRODUCT_PRO": 2, } )
Enum value maps for CheckoutProduct.
var ( DeviceHandshakeResponse_AccountTier_name = map[int32]string{ 0: "ACCOUNT_TIER_UNSPECIFIED", 1: "ACCOUNT_TIER_FREE", 2: "ACCOUNT_TIER_TRIAL", 3: "ACCOUNT_TIER_PLUS", 4: "ACCOUNT_TIER_PRO", } DeviceHandshakeResponse_AccountTier_value = map[string]int32{ "ACCOUNT_TIER_UNSPECIFIED": 0, "ACCOUNT_TIER_FREE": 1, "ACCOUNT_TIER_TRIAL": 2, "ACCOUNT_TIER_PLUS": 3, "ACCOUNT_TIER_PRO": 4, } )
Enum value maps for DeviceHandshakeResponse_AccountTier.
var File_api_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckoutCustomerPortalRequest ¶ added in v0.0.24
type CheckoutCustomerPortalRequest struct {
// contains filtered or unexported fields
}
func (*CheckoutCustomerPortalRequest) Descriptor
deprecated
added in
v0.0.24
func (*CheckoutCustomerPortalRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutCustomerPortalRequest.ProtoReflect.Descriptor instead.
func (*CheckoutCustomerPortalRequest) ProtoMessage ¶ added in v0.0.24
func (*CheckoutCustomerPortalRequest) ProtoMessage()
func (*CheckoutCustomerPortalRequest) ProtoReflect ¶ added in v0.0.24
func (x *CheckoutCustomerPortalRequest) ProtoReflect() protoreflect.Message
func (*CheckoutCustomerPortalRequest) Reset ¶ added in v0.0.24
func (x *CheckoutCustomerPortalRequest) Reset()
func (*CheckoutCustomerPortalRequest) String ¶ added in v0.0.24
func (x *CheckoutCustomerPortalRequest) String() string
type CheckoutCustomerPortalResponse ¶ added in v0.0.24
type CheckoutCustomerPortalResponse struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*CheckoutCustomerPortalResponse) Descriptor
deprecated
added in
v0.0.24
func (*CheckoutCustomerPortalResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutCustomerPortalResponse.ProtoReflect.Descriptor instead.
func (*CheckoutCustomerPortalResponse) GetUrl ¶ added in v0.0.24
func (x *CheckoutCustomerPortalResponse) GetUrl() string
func (*CheckoutCustomerPortalResponse) ProtoMessage ¶ added in v0.0.24
func (*CheckoutCustomerPortalResponse) ProtoMessage()
func (*CheckoutCustomerPortalResponse) ProtoReflect ¶ added in v0.0.24
func (x *CheckoutCustomerPortalResponse) ProtoReflect() protoreflect.Message
func (*CheckoutCustomerPortalResponse) Reset ¶ added in v0.0.24
func (x *CheckoutCustomerPortalResponse) Reset()
func (*CheckoutCustomerPortalResponse) String ¶ added in v0.0.24
func (x *CheckoutCustomerPortalResponse) String() string
type CheckoutGetLinkRequest ¶
type CheckoutGetLinkRequest struct {
Product CheckoutProduct `protobuf:"varint,1,opt,name=product,proto3,enum=api.v1.CheckoutProduct" json:"product,omitempty"`
// contains filtered or unexported fields
}
func (*CheckoutGetLinkRequest) Descriptor
deprecated
func (*CheckoutGetLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutGetLinkRequest.ProtoReflect.Descriptor instead.
func (*CheckoutGetLinkRequest) GetProduct ¶
func (x *CheckoutGetLinkRequest) GetProduct() CheckoutProduct
func (*CheckoutGetLinkRequest) ProtoMessage ¶
func (*CheckoutGetLinkRequest) ProtoMessage()
func (*CheckoutGetLinkRequest) ProtoReflect ¶
func (x *CheckoutGetLinkRequest) ProtoReflect() protoreflect.Message
func (*CheckoutGetLinkRequest) Reset ¶
func (x *CheckoutGetLinkRequest) Reset()
func (*CheckoutGetLinkRequest) String ¶
func (x *CheckoutGetLinkRequest) String() string
type CheckoutGetLinkResponse ¶
type CheckoutGetLinkResponse struct {
Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
// contains filtered or unexported fields
}
func (*CheckoutGetLinkResponse) Descriptor
deprecated
func (*CheckoutGetLinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutGetLinkResponse.ProtoReflect.Descriptor instead.
func (*CheckoutGetLinkResponse) GetLink ¶
func (x *CheckoutGetLinkResponse) GetLink() string
func (*CheckoutGetLinkResponse) ProtoMessage ¶
func (*CheckoutGetLinkResponse) ProtoMessage()
func (*CheckoutGetLinkResponse) ProtoReflect ¶
func (x *CheckoutGetLinkResponse) ProtoReflect() protoreflect.Message
func (*CheckoutGetLinkResponse) Reset ¶
func (x *CheckoutGetLinkResponse) Reset()
func (*CheckoutGetLinkResponse) String ¶
func (x *CheckoutGetLinkResponse) String() string
type CheckoutProduct ¶
type CheckoutProduct int32
--------------------------------------------------------- Checkout & Subscription Management ---------------------------------------------------------
const ( CheckoutProduct_CHECKOUT_PRODUCT_UNSPECIFIED CheckoutProduct = 0 CheckoutProduct_CHECKOUT_PRODUCT_PLUS CheckoutProduct = 1 CheckoutProduct_CHECKOUT_PRODUCT_PRO CheckoutProduct = 2 )
func (CheckoutProduct) Descriptor ¶
func (CheckoutProduct) Descriptor() protoreflect.EnumDescriptor
func (CheckoutProduct) Enum ¶
func (x CheckoutProduct) Enum() *CheckoutProduct
func (CheckoutProduct) EnumDescriptor
deprecated
func (CheckoutProduct) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckoutProduct.Descriptor instead.
func (CheckoutProduct) Number ¶
func (x CheckoutProduct) Number() protoreflect.EnumNumber
func (CheckoutProduct) String ¶
func (x CheckoutProduct) String() string
func (CheckoutProduct) Type ¶
func (CheckoutProduct) Type() protoreflect.EnumType
type DeviceHandshakeRequest ¶
type DeviceHandshakeRequest struct {
DeviceFingerprint string `protobuf:"bytes,1,opt,name=device_fingerprint,json=deviceFingerprint,proto3" json:"device_fingerprint,omitempty"`
OsPlatform string `protobuf:"bytes,2,opt,name=os_platform,json=osPlatform,proto3" json:"os_platform,omitempty"` // e.g. "darwin", "windows" - for analytics
OsVersion string `protobuf:"bytes,3,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` // e.g. "14.2.1"
AppVersion string `protobuf:"bytes,4,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` // e.g. "1.0.4" - allows force-update checks
// contains filtered or unexported fields
}
--------------------------------------------------------- IDENTITY MANAGEMENT ---------------------------------------------------------
func (*DeviceHandshakeRequest) Descriptor
deprecated
func (*DeviceHandshakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceHandshakeRequest.ProtoReflect.Descriptor instead.
func (*DeviceHandshakeRequest) GetAppVersion ¶
func (x *DeviceHandshakeRequest) GetAppVersion() string
func (*DeviceHandshakeRequest) GetDeviceFingerprint ¶
func (x *DeviceHandshakeRequest) GetDeviceFingerprint() string
func (*DeviceHandshakeRequest) GetOsPlatform ¶
func (x *DeviceHandshakeRequest) GetOsPlatform() string
func (*DeviceHandshakeRequest) GetOsVersion ¶
func (x *DeviceHandshakeRequest) GetOsVersion() string
func (*DeviceHandshakeRequest) ProtoMessage ¶
func (*DeviceHandshakeRequest) ProtoMessage()
func (*DeviceHandshakeRequest) ProtoReflect ¶
func (x *DeviceHandshakeRequest) ProtoReflect() protoreflect.Message
func (*DeviceHandshakeRequest) Reset ¶
func (x *DeviceHandshakeRequest) Reset()
func (*DeviceHandshakeRequest) String ¶
func (x *DeviceHandshakeRequest) String() string
type DeviceHandshakeResponse ¶
type DeviceHandshakeResponse struct {
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The user ID
SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` // The PASETO v2.local token
ExpiresAt int64 `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Unix timestamp (hint for client refresh)
// Limits / Account Status
AccountTier DeviceHandshakeResponse_AccountTier `` /* 143-byte string literal not displayed */
TrialEndsAt int64 `protobuf:"varint,5,opt,name=trial_ends_at,json=trialEndsAt,proto3" json:"trial_ends_at,omitempty"` // Unix timestamp, 0 if not trialing
// contains filtered or unexported fields
}
func (*DeviceHandshakeResponse) Descriptor
deprecated
func (*DeviceHandshakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceHandshakeResponse.ProtoReflect.Descriptor instead.
func (*DeviceHandshakeResponse) GetAccountTier ¶
func (x *DeviceHandshakeResponse) GetAccountTier() DeviceHandshakeResponse_AccountTier
func (*DeviceHandshakeResponse) GetExpiresAt ¶
func (x *DeviceHandshakeResponse) GetExpiresAt() int64
func (*DeviceHandshakeResponse) GetSessionToken ¶
func (x *DeviceHandshakeResponse) GetSessionToken() string
func (*DeviceHandshakeResponse) GetTrialEndsAt ¶ added in v0.0.24
func (x *DeviceHandshakeResponse) GetTrialEndsAt() int64
func (*DeviceHandshakeResponse) GetUserId ¶
func (x *DeviceHandshakeResponse) GetUserId() int64
func (*DeviceHandshakeResponse) ProtoMessage ¶
func (*DeviceHandshakeResponse) ProtoMessage()
func (*DeviceHandshakeResponse) ProtoReflect ¶
func (x *DeviceHandshakeResponse) ProtoReflect() protoreflect.Message
func (*DeviceHandshakeResponse) Reset ¶
func (x *DeviceHandshakeResponse) Reset()
func (*DeviceHandshakeResponse) String ¶
func (x *DeviceHandshakeResponse) String() string
type DeviceHandshakeResponse_AccountTier ¶
type DeviceHandshakeResponse_AccountTier int32
const ( DeviceHandshakeResponse_ACCOUNT_TIER_UNSPECIFIED DeviceHandshakeResponse_AccountTier = 0 DeviceHandshakeResponse_ACCOUNT_TIER_FREE DeviceHandshakeResponse_AccountTier = 1 DeviceHandshakeResponse_ACCOUNT_TIER_TRIAL DeviceHandshakeResponse_AccountTier = 2 DeviceHandshakeResponse_ACCOUNT_TIER_PLUS DeviceHandshakeResponse_AccountTier = 3 DeviceHandshakeResponse_ACCOUNT_TIER_PRO DeviceHandshakeResponse_AccountTier = 4 )
func (DeviceHandshakeResponse_AccountTier) Descriptor ¶
func (DeviceHandshakeResponse_AccountTier) Descriptor() protoreflect.EnumDescriptor
func (DeviceHandshakeResponse_AccountTier) Enum ¶
func (x DeviceHandshakeResponse_AccountTier) Enum() *DeviceHandshakeResponse_AccountTier
func (DeviceHandshakeResponse_AccountTier) EnumDescriptor
deprecated
func (DeviceHandshakeResponse_AccountTier) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceHandshakeResponse_AccountTier.Descriptor instead.
func (DeviceHandshakeResponse_AccountTier) Number ¶
func (x DeviceHandshakeResponse_AccountTier) Number() protoreflect.EnumNumber
func (DeviceHandshakeResponse_AccountTier) String ¶
func (x DeviceHandshakeResponse_AccountTier) String() string
func (DeviceHandshakeResponse_AccountTier) Type ¶
func (DeviceHandshakeResponse_AccountTier) Type() protoreflect.EnumType
type LLMClassifyRequest ¶
type LLMClassifyRequest struct {
BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
WindowTitle string `protobuf:"bytes,2,opt,name=window_title,json=windowTitle,proto3" json:"window_title,omitempty"`
WebsiteUrl string `protobuf:"bytes,3,opt,name=website_url,json=websiteUrl,proto3" json:"website_url,omitempty"`
WebsiteTitle string `protobuf:"bytes,4,opt,name=website_title,json=websiteTitle,proto3" json:"website_title,omitempty"`
WebsiteDescription string `protobuf:"bytes,5,opt,name=website_description,json=websiteDescription,proto3" json:"website_description,omitempty"`
WebsiteContentSnapshot string `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
--------------------------------------------------------- LLM METHODS ---------------------------------------------------------
func (*LLMClassifyRequest) Descriptor
deprecated
func (*LLMClassifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use LLMClassifyRequest.ProtoReflect.Descriptor instead.
func (*LLMClassifyRequest) GetBundleId ¶
func (x *LLMClassifyRequest) GetBundleId() string
func (*LLMClassifyRequest) GetWebsiteContentSnapshot ¶
func (x *LLMClassifyRequest) GetWebsiteContentSnapshot() string
func (*LLMClassifyRequest) GetWebsiteDescription ¶
func (x *LLMClassifyRequest) GetWebsiteDescription() string
func (*LLMClassifyRequest) GetWebsiteTitle ¶
func (x *LLMClassifyRequest) GetWebsiteTitle() string
func (*LLMClassifyRequest) GetWebsiteUrl ¶
func (x *LLMClassifyRequest) GetWebsiteUrl() string
func (*LLMClassifyRequest) GetWindowTitle ¶
func (x *LLMClassifyRequest) GetWindowTitle() string
func (*LLMClassifyRequest) ProtoMessage ¶
func (*LLMClassifyRequest) ProtoMessage()
func (*LLMClassifyRequest) ProtoReflect ¶
func (x *LLMClassifyRequest) ProtoReflect() protoreflect.Message
func (*LLMClassifyRequest) Reset ¶
func (x *LLMClassifyRequest) Reset()
func (*LLMClassifyRequest) String ¶
func (x *LLMClassifyRequest) String() string
type LLMClassifyResponse ¶
type LLMClassifyResponse struct {
Classification string `protobuf:"bytes,1,opt,name=classification,proto3" json:"classification,omitempty"`
Reasoning string `protobuf:"bytes,2,opt,name=reasoning,proto3" json:"reasoning,omitempty"`
Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
DetectedProject string `protobuf:"bytes,4,opt,name=detected_project,json=detectedProject,proto3" json:"detected_project,omitempty"`
DetectedCommunicationChannel string `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*LLMClassifyResponse) Descriptor
deprecated
func (*LLMClassifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use LLMClassifyResponse.ProtoReflect.Descriptor instead.
func (*LLMClassifyResponse) GetClassification ¶
func (x *LLMClassifyResponse) GetClassification() string
func (*LLMClassifyResponse) GetDetectedCommunicationChannel ¶
func (x *LLMClassifyResponse) GetDetectedCommunicationChannel() string
func (*LLMClassifyResponse) GetDetectedProject ¶
func (x *LLMClassifyResponse) GetDetectedProject() string
func (*LLMClassifyResponse) GetReasoning ¶
func (x *LLMClassifyResponse) GetReasoning() string
func (*LLMClassifyResponse) GetTags ¶
func (x *LLMClassifyResponse) GetTags() []string
func (*LLMClassifyResponse) ProtoMessage ¶
func (*LLMClassifyResponse) ProtoMessage()
func (*LLMClassifyResponse) ProtoReflect ¶
func (x *LLMClassifyResponse) ProtoReflect() protoreflect.Message
func (*LLMClassifyResponse) Reset ¶
func (x *LLMClassifyResponse) Reset()
func (*LLMClassifyResponse) String ¶
func (x *LLMClassifyResponse) String() string