@builder.io/ai-utils 0.8.6 → 0.8.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +20 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -1062,3 +1062,23 @@ export interface AnalyzeChatSentimentResults {
1062
1062
  urgency: "none" | "low" | "medium" | "high";
1063
1063
  satisfaction: "none" | "low" | "medium" | "high";
1064
1064
  }
1065
+ export interface PushChangesOptions {
1066
+ actor?: string;
1067
+ refreshRemote?: boolean;
1068
+ pullFirst?: boolean;
1069
+ updateRepo?: {
1070
+ repoFullName: string;
1071
+ repoUrl: string;
1072
+ };
1073
+ }
1074
+ export type PushChangesArgs = PushChangesOptions | boolean;
1075
+ export type CodegenApiResult = CodegenApiSuccess | CodegenApiFailure;
1076
+ export interface CodegenApiSuccess {
1077
+ success: true;
1078
+ message?: string;
1079
+ }
1080
+ export interface CodegenApiFailure {
1081
+ success: false;
1082
+ message: string;
1083
+ error: Error;
1084
+ }