Skip to content

Commit b07440c

Browse files
chore: rebuild project due to codegen change (#33)
1 parent d460f37 commit b07440c

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

src/index.ts

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,21 @@ export class RunwayML extends Core.APIClient {
178178
static fileFromPath = Uploads.fileFromPath;
179179
}
180180

181+
RunwayML.Tasks = Tasks;
182+
RunwayML.ImageToVideo = ImageToVideo;
183+
export declare namespace RunwayML {
184+
export type RequestOptions = Core.RequestOptions;
185+
186+
export { Tasks as Tasks, type TaskRetrieveResponse as TaskRetrieveResponse };
187+
188+
export {
189+
ImageToVideo as ImageToVideo,
190+
type ImageToVideoCreateResponse as ImageToVideoCreateResponse,
191+
type ImageToVideoCreateParams as ImageToVideoCreateParams,
192+
};
193+
}
194+
195+
export { toFile, fileFromPath } from '@runwayml/sdk/uploads';
181196
export {
182197
RunwayMLError,
183198
APIError,
@@ -192,24 +207,6 @@ export {
192207
InternalServerError,
193208
PermissionDeniedError,
194209
UnprocessableEntityError,
195-
} from './error';
196-
197-
export import toFile = Uploads.toFile;
198-
export import fileFromPath = Uploads.fileFromPath;
199-
200-
RunwayML.Tasks = Tasks;
201-
RunwayML.ImageToVideo = ImageToVideo;
202-
203-
export declare namespace RunwayML {
204-
export type RequestOptions = Core.RequestOptions;
205-
206-
export { Tasks as Tasks, type TaskRetrieveResponse as TaskRetrieveResponse };
207-
208-
export {
209-
ImageToVideo as ImageToVideo,
210-
type ImageToVideoCreateResponse as ImageToVideoCreateResponse,
211-
type ImageToVideoCreateParams as ImageToVideoCreateParams,
212-
};
213-
}
210+
} from '@runwayml/sdk/error';
214211

215212
export default RunwayML;

0 commit comments

Comments
 (0)