eddyter 1.3.76 → 1.3.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,14 @@ export interface PaymentWarning {
11
11
  message: string;
12
12
  daysRemaining: number;
13
13
  }
14
+ /** BYOK plan: which provider API keys the user has (from license validate) */
15
+ export interface ByokApiKeys {
16
+ hasOpenaiKey: boolean;
17
+ hasAnthropicKey: boolean;
18
+ hasGrokKey: boolean;
19
+ hasAssemblyaiKey: boolean;
20
+ hasGeminiKey: boolean;
21
+ }
14
22
  interface EditorContextType {
15
23
  isAuthenticated: boolean;
16
24
  isLoading: boolean;
@@ -24,6 +32,10 @@ interface EditorContextType {
24
32
  verifyKey: (apiKey: string) => Promise<void>;
25
33
  /** Warning for payment issues (null when no issues) */
26
34
  paymentWarning: PaymentWarning | null;
35
+ /** True when the license is on a BYOK (Bring Your Own Key) plan */
36
+ isByokPlan: boolean;
37
+ /** When isByokPlan, which provider keys the user has (used to restrict AI/voice features) */
38
+ byokApiKeys: ByokApiKeys | null;
27
39
  }
28
40
  export declare const useEditor: () => EditorContextType;
29
41
  export declare const useEditorOptional: () => EditorContextType | undefined;
@@ -107,6 +107,16 @@ export interface ProjectData {
107
107
  message: string;
108
108
  daysRemaining: number;
109
109
  } | null;
110
+ /** True when the plan is BYOK (Bring Your Own Key) */
111
+ isByokPlan?: boolean;
112
+ /** When isByokPlan is true, indicates which provider API keys the user has configured (editor uses this to restrict features) */
113
+ byokApiKeys?: {
114
+ hasOpenaiKey: boolean;
115
+ hasAnthropicKey: boolean;
116
+ hasGrokKey: boolean;
117
+ hasAssemblyaiKey: boolean;
118
+ hasGeminiKey: boolean;
119
+ };
110
120
  }
111
121
  export interface ApiResponse {
112
122
  success: boolean;
@@ -3,6 +3,7 @@ export interface BugReport {
3
3
  title: string;
4
4
  description: string;
5
5
  errorMessage?: string;
6
+ url?: string;
6
7
  status: string;
7
8
  createdAt: string;
8
9
  attachments?: {
@@ -15,6 +16,7 @@ export interface CreateBugReportData {
15
16
  title: string;
16
17
  description: string;
17
18
  errorMessage?: string;
19
+ url?: string;
18
20
  attachments?: {
19
21
  fileName: string;
20
22
  fileUrl: string;