@vectorx/ai-types 0.3.0 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectorx/ai-types",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Cloud AI Types",
5
5
  "main": "lib/index.js",
6
6
  "types": "types/index.d.ts",
@@ -118,3 +118,19 @@ export interface QueryTasksData {
118
118
  }
119
119
  export type RawQueryTasksResponse = QueryTasksData;
120
120
  export type QueryTasksResponse = BaseResponse<QueryTasksData>;
121
+ export interface UploadFileInput {
122
+ file: File | Buffer | string;
123
+ filename: string;
124
+ purpose?: string;
125
+ }
126
+ export interface UploadFileData {
127
+ id: string;
128
+ object: string;
129
+ bytes: number;
130
+ created_at: number;
131
+ filename: string;
132
+ purpose: string;
133
+ status: string;
134
+ status_details?: any;
135
+ }
136
+ export type UploadFileResponse = BaseResponse<UploadFileData>;