@hahnpro/hpc-api 2025.2.3 → 2025.2.4

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": "@hahnpro/hpc-api",
3
- "version": "2025.2.3",
3
+ "version": "2025.2.4",
4
4
  "description": "Module for easy access to the HahnPRO Cloud API",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -0,0 +1,9 @@
1
+ import { APIBase } from '../api-base';
2
+ import { HttpClient } from '../http.service';
3
+ import { SpeechToken } from '../interfaces';
4
+ import { AiService } from '../services';
5
+ export declare class AiMockService extends APIBase implements AiService {
6
+ httpClient: HttpClient;
7
+ basePath: string;
8
+ getSpeechToken(): Promise<SpeechToken>;
9
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiMockService = void 0;
4
+ const api_base_1 = require("../api-base");
5
+ class AiMockService extends api_base_1.APIBase {
6
+ async getSpeechToken() {
7
+ throw new Error('Method not implemented.');
8
+ }
9
+ }
10
+ exports.AiMockService = AiMockService;
@@ -15,6 +15,7 @@ import { Label } from '../label.interface';
15
15
  import { Notification } from '../notification.interface';
16
16
  import { Organization } from '../organization.interface';
17
17
  import { Secret } from '../secret.interface';
18
+ import { AiService } from '../services';
18
19
  import { Artifact } from '../storage.interface';
19
20
  import { Task } from '../task.interface';
20
21
  import { TimeSeries, TimeSeriesValue } from '../timeseries.interface';
@@ -55,7 +56,8 @@ export interface MockAPIInitData {
55
56
  notifications?: NotificationInit[];
56
57
  organizations?: OrganizationInit[];
57
58
  }
58
- export declare class MockAPI implements Partial<API> {
59
+ export declare class MockAPI implements API {
60
+ ai: AiService;
59
61
  httpClient: HttpMockService;
60
62
  assets: AssetMockService;
61
63
  assetTypes: AssetTypesMockService;