@animaapp/anima-sdk 0.22.0 → 0.23.0

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.
package/dist/index.d.ts CHANGED
@@ -182,7 +182,7 @@ export declare type CodegenSettings = BaseSettings & {
182
182
  /**
183
183
  * Errors from Anima API, common across multiple routes.
184
184
  */
185
- export declare type CommonApiError = "Missing Authorization header" | "Invalid Authorization header" | "Missing teamId" | "Internal server error" | "Forbidden, no team access" | "Requested Usage Exceeds Limit" | "Too many concurrent jobs" | "Invalid Anima token" | "Job not found";
185
+ export declare type CommonApiError = "Missing Authorization header" | "Invalid Authorization header" | "Missing teamId" | "Internal server error" | "Forbidden, no team access" | "Requested Usage Exceeds Limit" | "Too many concurrent jobs" | "Invalid Anima token" | "Job not found" | "Code generation failed";
186
186
 
187
187
  /**
188
188
  * Creates a Server-Sent Events (SSE) `Response` that forwards all messages from the code generation from prompt stream.
@@ -647,7 +647,7 @@ export declare type ProgressMessage = {
647
647
  title: string;
648
648
  subtitle?: string;
649
649
  body?: string;
650
- status: "success" | "running";
650
+ status: "success" | "running" | "failure";
651
651
  };
652
652
 
653
653
  export declare class RateLimitExceeded extends Error {