hume 0.15.0 → 0.15.1

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.
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as environments from "./environments.js";
5
5
  import * as core from "./core/index.js";
6
- import { Tts } from "./api/resources/tts/client/Client.js";
7
6
  import { EmpathicVoice } from "./api/resources/empathicVoice/client/Client.js";
7
+ import { Tts } from "./api/resources/tts/client/Client.js";
8
8
  import { ExpressionMeasurement } from "./api/resources/expressionMeasurement/client/Client.js";
9
9
  export declare namespace HumeClient {
10
10
  interface Options {
@@ -31,11 +31,11 @@ export declare namespace HumeClient {
31
31
  }
32
32
  export declare class HumeClient {
33
33
  protected readonly _options: HumeClient.Options;
34
- protected _tts: Tts | undefined;
35
34
  protected _empathicVoice: EmpathicVoice | undefined;
35
+ protected _tts: Tts | undefined;
36
36
  protected _expressionMeasurement: ExpressionMeasurement | undefined;
37
37
  constructor(_options?: HumeClient.Options);
38
- get tts(): Tts;
39
38
  get empathicVoice(): EmpathicVoice;
39
+ get tts(): Tts;
40
40
  get expressionMeasurement(): ExpressionMeasurement;
41
41
  }
@@ -39,27 +39,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.HumeClient = void 0;
40
40
  const core = __importStar(require("./core/index.js"));
41
41
  const headers_js_1 = require("./core/headers.js");
42
- const Client_js_1 = require("./api/resources/tts/client/Client.js");
43
- const Client_js_2 = require("./api/resources/empathicVoice/client/Client.js");
42
+ const Client_js_1 = require("./api/resources/empathicVoice/client/Client.js");
43
+ const Client_js_2 = require("./api/resources/tts/client/Client.js");
44
44
  const Client_js_3 = require("./api/resources/expressionMeasurement/client/Client.js");
45
45
  class HumeClient {
46
46
  constructor(_options = {}) {
47
47
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
48
48
  "X-Fern-Language": "JavaScript",
49
49
  "X-Fern-SDK-Name": "hume",
50
- "X-Fern-SDK-Version": "0.15.0",
51
- "User-Agent": "hume/0.15.0",
50
+ "X-Fern-SDK-Version": "0.15.1",
51
+ "User-Agent": "hume/0.15.1",
52
52
  "X-Fern-Runtime": core.RUNTIME.type,
53
53
  "X-Fern-Runtime-Version": core.RUNTIME.version,
54
54
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
55
55
  }
56
- get tts() {
56
+ get empathicVoice() {
57
57
  var _a;
58
- return ((_a = this._tts) !== null && _a !== void 0 ? _a : (this._tts = new Client_js_1.Tts(this._options)));
58
+ return ((_a = this._empathicVoice) !== null && _a !== void 0 ? _a : (this._empathicVoice = new Client_js_1.EmpathicVoice(this._options)));
59
59
  }
60
- get empathicVoice() {
60
+ get tts() {
61
61
  var _a;
62
- return ((_a = this._empathicVoice) !== null && _a !== void 0 ? _a : (this._empathicVoice = new Client_js_2.EmpathicVoice(this._options)));
62
+ return ((_a = this._tts) !== null && _a !== void 0 ? _a : (this._tts = new Client_js_2.Tts(this._options)));
63
63
  }
64
64
  get expressionMeasurement() {
65
65
  var _a;
@@ -1,3 +1,3 @@
1
- export * as tts from "./tts/index.js";
2
1
  export * as empathicVoice from "./empathicVoice/index.js";
2
+ export * as tts from "./tts/index.js";
3
3
  export * as expressionMeasurement from "./expressionMeasurement/index.js";
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.expressionMeasurement = exports.empathicVoice = exports.tts = void 0;
37
- exports.tts = __importStar(require("./tts/index.js"));
36
+ exports.expressionMeasurement = exports.tts = exports.empathicVoice = void 0;
38
37
  exports.empathicVoice = __importStar(require("./empathicVoice/index.js"));
38
+ exports.tts = __importStar(require("./tts/index.js"));
39
39
  exports.expressionMeasurement = __importStar(require("./expressionMeasurement/index.js"));
@@ -3,8 +3,8 @@ export * from "./runtime/index.js";
3
3
  export * as url from "./url/index.js";
4
4
  export * as serialization from "./schemas/index.js";
5
5
  export * from "./websocket/index.js";
6
- export * from "./stream/index.js";
7
6
  export * from "./utils/index.js";
8
7
  export * from "./pagination/index.js";
8
+ export * from "./stream/index.js";
9
9
  export * from "./form-data-utils/index.js";
10
10
  export * as file from "./file/index.js";
@@ -42,8 +42,8 @@ __exportStar(require("./runtime/index.js"), exports);
42
42
  exports.url = __importStar(require("./url/index.js"));
43
43
  exports.serialization = __importStar(require("./schemas/index.js"));
44
44
  __exportStar(require("./websocket/index.js"), exports);
45
- __exportStar(require("./stream/index.js"), exports);
46
45
  __exportStar(require("./utils/index.js"), exports);
47
46
  __exportStar(require("./pagination/index.js"), exports);
47
+ __exportStar(require("./stream/index.js"), exports);
48
48
  __exportStar(require("./form-data-utils/index.js"), exports);
49
49
  exports.file = __importStar(require("./file/index.js"));
@@ -1,3 +1,3 @@
1
- export * as tts from "./tts/index.js";
2
1
  export * as empathicVoice from "./empathicVoice/index.js";
2
+ export * as tts from "./tts/index.js";
3
3
  export * as expressionMeasurement from "./expressionMeasurement/index.js";
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.expressionMeasurement = exports.empathicVoice = exports.tts = void 0;
37
- exports.tts = __importStar(require("./tts/index.js"));
36
+ exports.expressionMeasurement = exports.tts = exports.empathicVoice = void 0;
38
37
  exports.empathicVoice = __importStar(require("./empathicVoice/index.js"));
38
+ exports.tts = __importStar(require("./tts/index.js"));
39
39
  exports.expressionMeasurement = __importStar(require("./expressionMeasurement/index.js"));
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.15.0";
1
+ export declare const SDK_VERSION = "0.15.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.15.0";
4
+ exports.SDK_VERSION = "0.15.1";
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as environments from "./environments.mjs";
5
5
  import * as core from "./core/index.mjs";
6
- import { Tts } from "./api/resources/tts/client/Client.mjs";
7
6
  import { EmpathicVoice } from "./api/resources/empathicVoice/client/Client.mjs";
7
+ import { Tts } from "./api/resources/tts/client/Client.mjs";
8
8
  import { ExpressionMeasurement } from "./api/resources/expressionMeasurement/client/Client.mjs";
9
9
  export declare namespace HumeClient {
10
10
  interface Options {
@@ -31,11 +31,11 @@ export declare namespace HumeClient {
31
31
  }
32
32
  export declare class HumeClient {
33
33
  protected readonly _options: HumeClient.Options;
34
- protected _tts: Tts | undefined;
35
34
  protected _empathicVoice: EmpathicVoice | undefined;
35
+ protected _tts: Tts | undefined;
36
36
  protected _expressionMeasurement: ExpressionMeasurement | undefined;
37
37
  constructor(_options?: HumeClient.Options);
38
- get tts(): Tts;
39
38
  get empathicVoice(): EmpathicVoice;
39
+ get tts(): Tts;
40
40
  get expressionMeasurement(): ExpressionMeasurement;
41
41
  }
@@ -3,28 +3,28 @@
3
3
  */
4
4
  import * as core from "./core/index.mjs";
5
5
  import { mergeHeaders } from "./core/headers.mjs";
6
- import { Tts } from "./api/resources/tts/client/Client.mjs";
7
6
  import { EmpathicVoice } from "./api/resources/empathicVoice/client/Client.mjs";
7
+ import { Tts } from "./api/resources/tts/client/Client.mjs";
8
8
  import { ExpressionMeasurement } from "./api/resources/expressionMeasurement/client/Client.mjs";
9
9
  export class HumeClient {
10
10
  constructor(_options = {}) {
11
11
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
12
12
  "X-Fern-Language": "JavaScript",
13
13
  "X-Fern-SDK-Name": "hume",
14
- "X-Fern-SDK-Version": "0.15.0",
15
- "User-Agent": "hume/0.15.0",
14
+ "X-Fern-SDK-Version": "0.15.1",
15
+ "User-Agent": "hume/0.15.1",
16
16
  "X-Fern-Runtime": core.RUNTIME.type,
17
17
  "X-Fern-Runtime-Version": core.RUNTIME.version,
18
18
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
19
19
  }
20
- get tts() {
21
- var _a;
22
- return ((_a = this._tts) !== null && _a !== void 0 ? _a : (this._tts = new Tts(this._options)));
23
- }
24
20
  get empathicVoice() {
25
21
  var _a;
26
22
  return ((_a = this._empathicVoice) !== null && _a !== void 0 ? _a : (this._empathicVoice = new EmpathicVoice(this._options)));
27
23
  }
24
+ get tts() {
25
+ var _a;
26
+ return ((_a = this._tts) !== null && _a !== void 0 ? _a : (this._tts = new Tts(this._options)));
27
+ }
28
28
  get expressionMeasurement() {
29
29
  var _a;
30
30
  return ((_a = this._expressionMeasurement) !== null && _a !== void 0 ? _a : (this._expressionMeasurement = new ExpressionMeasurement(this._options)));
@@ -1,3 +1,3 @@
1
- export * as tts from "./tts/index.mjs";
2
1
  export * as empathicVoice from "./empathicVoice/index.mjs";
2
+ export * as tts from "./tts/index.mjs";
3
3
  export * as expressionMeasurement from "./expressionMeasurement/index.mjs";
@@ -1,3 +1,3 @@
1
- export * as tts from "./tts/index.mjs";
2
1
  export * as empathicVoice from "./empathicVoice/index.mjs";
2
+ export * as tts from "./tts/index.mjs";
3
3
  export * as expressionMeasurement from "./expressionMeasurement/index.mjs";
@@ -3,8 +3,8 @@ export * from "./runtime/index.mjs";
3
3
  export * as url from "./url/index.mjs";
4
4
  export * as serialization from "./schemas/index.mjs";
5
5
  export * from "./websocket/index.mjs";
6
- export * from "./stream/index.mjs";
7
6
  export * from "./utils/index.mjs";
8
7
  export * from "./pagination/index.mjs";
8
+ export * from "./stream/index.mjs";
9
9
  export * from "./form-data-utils/index.mjs";
10
10
  export * as file from "./file/index.mjs";
@@ -3,8 +3,8 @@ export * from "./runtime/index.mjs";
3
3
  export * as url from "./url/index.mjs";
4
4
  export * as serialization from "./schemas/index.mjs";
5
5
  export * from "./websocket/index.mjs";
6
- export * from "./stream/index.mjs";
7
6
  export * from "./utils/index.mjs";
8
7
  export * from "./pagination/index.mjs";
8
+ export * from "./stream/index.mjs";
9
9
  export * from "./form-data-utils/index.mjs";
10
10
  export * as file from "./file/index.mjs";
@@ -1,3 +1,3 @@
1
- export * as tts from "./tts/index.mjs";
2
1
  export * as empathicVoice from "./empathicVoice/index.mjs";
2
+ export * as tts from "./tts/index.mjs";
3
3
  export * as expressionMeasurement from "./expressionMeasurement/index.mjs";
@@ -1,3 +1,3 @@
1
- export * as tts from "./tts/index.mjs";
2
1
  export * as empathicVoice from "./empathicVoice/index.mjs";
2
+ export * as tts from "./tts/index.mjs";
3
3
  export * as expressionMeasurement from "./expressionMeasurement/index.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.15.0";
1
+ export declare const SDK_VERSION = "0.15.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.15.0";
1
+ export const SDK_VERSION = "0.15.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hume",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "private": false,
5
5
  "repository": "github:humeai/hume-typescript-sdk",
6
6
  "type": "commonjs",