hume 0.8.0 → 0.8.1-beta0

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.
Files changed (96) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +3 -65
  2. package/Client.d.ts +3 -0
  3. package/api/resources/empathicVoice/client/Client.d.ts +3 -0
  4. package/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +8 -8
  5. package/api/resources/empathicVoice/resources/chat/client/Socket.js +13 -40
  6. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +3 -0
  7. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  8. package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +3 -0
  9. package/api/resources/empathicVoice/resources/chats/client/Client.js +4 -4
  10. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +3 -0
  11. package/api/resources/empathicVoice/resources/configs/client/Client.js +19 -23
  12. package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +3 -0
  13. package/api/resources/empathicVoice/resources/prompts/client/Client.js +19 -23
  14. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +3 -0
  15. package/api/resources/empathicVoice/resources/tools/client/Client.js +19 -19
  16. package/api/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  17. package/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -2
  18. package/api/resources/empathicVoice/types/index.d.ts +0 -1
  19. package/api/resources/empathicVoice/types/index.js +0 -1
  20. package/api/resources/expressionMeasurement/client/Client.d.ts +3 -0
  21. package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +3 -0
  22. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +12 -12
  23. package/core/form-data-utils/FormDataWrapper.js +1 -3
  24. package/core/schemas/Schema.d.ts +3 -4
  25. package/core/schemas/builders/lazy/lazy.d.ts +2 -2
  26. package/core/schemas/builders/lazy/lazy.js +8 -19
  27. package/core/schemas/builders/lazy/lazyObject.js +1 -10
  28. package/core/schemas/builders/list/list.js +31 -44
  29. package/core/schemas/builders/object/object.js +88 -111
  30. package/core/schemas/builders/object/types.d.ts +2 -2
  31. package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
  32. package/core/schemas/builders/record/record.js +49 -60
  33. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
  34. package/core/schemas/builders/schema-utils/getSchemaUtils.js +12 -21
  35. package/core/schemas/builders/set/set.js +6 -15
  36. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
  37. package/core/schemas/builders/union/union.js +51 -62
  38. package/core/schemas/utils/maybeSkipValidation.js +3 -12
  39. package/dist/Client.d.ts +3 -0
  40. package/dist/api/resources/empathicVoice/client/Client.d.ts +3 -0
  41. package/dist/api/resources/empathicVoice/resources/chat/client/Socket.d.ts +8 -8
  42. package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +13 -40
  43. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +3 -0
  44. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  45. package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +3 -0
  46. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +4 -4
  47. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +3 -0
  48. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +19 -23
  49. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +3 -0
  50. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +19 -23
  51. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +3 -0
  52. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +19 -19
  53. package/dist/api/resources/empathicVoice/types/SessionSettings.d.ts +2 -0
  54. package/dist/api/resources/empathicVoice/types/VoiceArgs.d.ts +0 -2
  55. package/dist/api/resources/empathicVoice/types/index.d.ts +0 -1
  56. package/dist/api/resources/empathicVoice/types/index.js +0 -1
  57. package/dist/api/resources/expressionMeasurement/client/Client.d.ts +3 -0
  58. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +3 -0
  59. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +12 -12
  60. package/dist/core/form-data-utils/FormDataWrapper.js +1 -3
  61. package/dist/core/schemas/Schema.d.ts +3 -4
  62. package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
  63. package/dist/core/schemas/builders/lazy/lazy.js +8 -19
  64. package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
  65. package/dist/core/schemas/builders/list/list.js +31 -44
  66. package/dist/core/schemas/builders/object/object.js +88 -111
  67. package/dist/core/schemas/builders/object/types.d.ts +2 -2
  68. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
  69. package/dist/core/schemas/builders/record/record.js +49 -60
  70. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
  71. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +12 -21
  72. package/dist/core/schemas/builders/set/set.js +6 -15
  73. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
  74. package/dist/core/schemas/builders/union/union.js +51 -62
  75. package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
  76. package/dist/serialization/resources/empathicVoice/types/SessionSettings.d.ts +1 -0
  77. package/dist/serialization/resources/empathicVoice/types/SessionSettings.js +1 -0
  78. package/dist/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -3
  79. package/dist/serialization/resources/empathicVoice/types/VoiceArgs.js +0 -3
  80. package/dist/serialization/resources/empathicVoice/types/index.d.ts +0 -1
  81. package/dist/serialization/resources/empathicVoice/types/index.js +0 -1
  82. package/package.json +1 -1
  83. package/serialization/resources/empathicVoice/types/SessionSettings.d.ts +1 -0
  84. package/serialization/resources/empathicVoice/types/SessionSettings.js +1 -0
  85. package/serialization/resources/empathicVoice/types/VoiceArgs.d.ts +0 -3
  86. package/serialization/resources/empathicVoice/types/VoiceArgs.js +0 -3
  87. package/serialization/resources/empathicVoice/types/index.d.ts +0 -1
  88. package/serialization/resources/empathicVoice/types/index.js +0 -1
  89. package/api/resources/empathicVoice/types/Features.d.ts +0 -21
  90. package/api/resources/empathicVoice/types/Features.js +0 -5
  91. package/dist/api/resources/empathicVoice/types/Features.d.ts +0 -21
  92. package/dist/api/resources/empathicVoice/types/Features.js +0 -5
  93. package/dist/serialization/resources/empathicVoice/types/Features.d.ts +0 -19
  94. package/dist/serialization/resources/empathicVoice/types/Features.js +0 -40
  95. package/serialization/resources/empathicVoice/types/Features.d.ts +0 -19
  96. package/serialization/resources/empathicVoice/types/Features.js +0 -40
@@ -77,7 +77,6 @@ export * from "./TtsInput";
77
77
  export * from "./TextInput";
78
78
  export * from "./FunctionCallResponseInput";
79
79
  export * from "./ExtendedVoiceArgs";
80
- export * from "./Features";
81
80
  export * from "./HttpValidationError";
82
81
  export * from "./ValidationErrorLocItem";
83
82
  export * from "./ValidationError";
@@ -93,7 +93,6 @@ __exportStar(require("./TtsInput"), exports);
93
93
  __exportStar(require("./TextInput"), exports);
94
94
  __exportStar(require("./FunctionCallResponseInput"), exports);
95
95
  __exportStar(require("./ExtendedVoiceArgs"), exports);
96
- __exportStar(require("./Features"), exports);
97
96
  __exportStar(require("./HttpValidationError"), exports);
98
97
  __exportStar(require("./ValidationErrorLocItem"), exports);
99
98
  __exportStar(require("./ValidationError"), exports);
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface Features {
5
- /** Confidence (F->M) */
6
- confidence?: number;
7
- /** Enthusiasm (M->A) */
8
- enthusiasm?: number;
9
- /** Affirmative (F->A/M) */
10
- affirmative?: number;
11
- /** Articulate (A->M) */
12
- articulate?: number;
13
- /** Maturity (M->F) */
14
- maturity?: number;
15
- /** Defeated (N->M) */
16
- defeated?: number;
17
- /** Feminine (M->F) */
18
- feminine?: number;
19
- /** Nerdy (A->A) */
20
- nerdy?: number;
21
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface Features {
5
- /** Confidence (F->M) */
6
- confidence?: number;
7
- /** Enthusiasm (M->A) */
8
- enthusiasm?: number;
9
- /** Affirmative (F->A/M) */
10
- affirmative?: number;
11
- /** Articulate (A->M) */
12
- articulate?: number;
13
- /** Maturity (M->F) */
14
- maturity?: number;
15
- /** Defeated (N->M) */
16
- defeated?: number;
17
- /** Feminine (M->F) */
18
- feminine?: number;
19
- /** Nerdy (A->A) */
20
- nerdy?: number;
21
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const Features: core.serialization.ObjectSchema<serializers.empathicVoice.Features.Raw, Hume.empathicVoice.Features>;
8
- export declare namespace Features {
9
- interface Raw {
10
- confidence?: number | null;
11
- enthusiasm?: number | null;
12
- affirmative?: number | null;
13
- articulate?: number | null;
14
- maturity?: number | null;
15
- defeated?: number | null;
16
- feminine?: number | null;
17
- nerdy?: number | null;
18
- }
19
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Features = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.Features = core.serialization.object({
32
- confidence: core.serialization.number().optional(),
33
- enthusiasm: core.serialization.number().optional(),
34
- affirmative: core.serialization.number().optional(),
35
- articulate: core.serialization.number().optional(),
36
- maturity: core.serialization.number().optional(),
37
- defeated: core.serialization.number().optional(),
38
- feminine: core.serialization.number().optional(),
39
- nerdy: core.serialization.number().optional(),
40
- });
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const Features: core.serialization.ObjectSchema<serializers.empathicVoice.Features.Raw, Hume.empathicVoice.Features>;
8
- export declare namespace Features {
9
- interface Raw {
10
- confidence?: number | null;
11
- enthusiasm?: number | null;
12
- affirmative?: number | null;
13
- articulate?: number | null;
14
- maturity?: number | null;
15
- defeated?: number | null;
16
- feminine?: number | null;
17
- nerdy?: number | null;
18
- }
19
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Features = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.Features = core.serialization.object({
32
- confidence: core.serialization.number().optional(),
33
- enthusiasm: core.serialization.number().optional(),
34
- affirmative: core.serialization.number().optional(),
35
- articulate: core.serialization.number().optional(),
36
- maturity: core.serialization.number().optional(),
37
- defeated: core.serialization.number().optional(),
38
- feminine: core.serialization.number().optional(),
39
- nerdy: core.serialization.number().optional(),
40
- });