@dataclouder/nest-vertex 0.0.60 → 0.0.62

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/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export * from './services/adapter-image-gen.service';
15
15
  export * from './services/generated-asset.service';
16
16
  export * from './services/vertex-veo-genai.service';
17
17
  export * from './services/whisper/groq.service';
18
+ export * from './services/ai-services.client';
18
19
  export * from './models/gemini-models';
19
20
  export * from './models/adapter.models';
20
21
  export * from './models/google-voices';
package/index.js CHANGED
@@ -31,6 +31,7 @@ __exportStar(require("./services/adapter-image-gen.service"), exports);
31
31
  __exportStar(require("./services/generated-asset.service"), exports);
32
32
  __exportStar(require("./services/vertex-veo-genai.service"), exports);
33
33
  __exportStar(require("./services/whisper/groq.service"), exports);
34
+ __exportStar(require("./services/ai-services.client"), exports);
34
35
  __exportStar(require("./models/gemini-models"), exports);
35
36
  __exportStar(require("./models/adapter.models"), exports);
36
37
  __exportStar(require("./models/google-voices"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataclouder/nest-vertex",
3
- "version": "0.0.60",
3
+ "version": "0.0.62",
4
4
  "description": "NestJS Vertex AI library for Dataclouder",
5
5
  "author": "dataclouder",
6
6
  "license": "MIT",
@@ -26,7 +26,7 @@ declare class BaseService {
26
26
  }
27
27
  declare class Video extends BaseService {
28
28
  generate(dto: GenerateVideoDto): Promise<any>;
29
- generateFromAsset(id: string): Promise<any>;
29
+ generateFromAssetId(id: string): Promise<any>;
30
30
  generateVeo(dto: GenerateVideoDto): Promise<any>;
31
31
  getStatus(operationName: string): Promise<any>;
32
32
  getVeoStatus(operationName: string): Promise<any>;
@@ -70,9 +70,10 @@ class Video extends BaseService {
70
70
  const endpoint = '/api/vertex-adapter/video/generate-video';
71
71
  return this.post(endpoint, dto);
72
72
  }
73
- async generateFromAsset(id) {
74
- const endpoint = '/api/vertex-adapter/video/generate-video-from-asset-id';
75
- return this.post(endpoint, { id });
73
+ async generateFromAssetId(id) {
74
+ const endpoint = '/api/vertex-adapter/video/generate-video-from-asset-id/' + id;
75
+ console.log('Requesting to.. ' + endpoint);
76
+ return this.post(endpoint, {});
76
77
  }
77
78
  async generateVeo(dto) {
78
79
  const endpoint = '/api/vertex-adapter/video/generate-veo-video';