mavenagi 1.2.67 → 1.2.68

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 (143) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/actions/client/Client.d.ts +14 -0
  3. package/api/resources/actions/client/Client.js +14 -0
  4. package/api/resources/agents/client/Client.d.ts +10 -12
  5. package/api/resources/agents/client/Client.js +10 -12
  6. package/api/resources/analytics/client/Client.d.ts +10 -0
  7. package/api/resources/analytics/client/Client.js +10 -0
  8. package/api/resources/appDirectory/client/Client.d.ts +3 -1
  9. package/api/resources/appDirectory/client/Client.js +3 -1
  10. package/api/resources/assets/client/Client.d.ts +4 -0
  11. package/api/resources/assets/client/Client.js +4 -0
  12. package/api/resources/capabilities/client/Client.d.ts +20 -0
  13. package/api/resources/capabilities/client/Client.js +20 -0
  14. package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +4 -0
  15. package/api/resources/charters/client/Client.d.ts +18 -0
  16. package/api/resources/charters/client/Client.js +18 -0
  17. package/api/resources/commons/types/MetadataComparisonOperator.d.ts +4 -4
  18. package/api/resources/commons/types/MetadataComparisonOperator.js +4 -4
  19. package/api/resources/commons/types/MetadataConversationValueFilter.d.ts +1 -1
  20. package/api/resources/commons/types/MetadataFilter.d.ts +6 -1
  21. package/api/resources/commons/types/SimulationContext.d.ts +9 -0
  22. package/api/resources/commons/types/SystemEventName.d.ts +3 -0
  23. package/api/resources/commons/types/SystemEventName.js +3 -0
  24. package/api/resources/conversation/client/Client.d.ts +42 -3
  25. package/api/resources/conversation/client/Client.js +42 -3
  26. package/api/resources/conversation/types/AskRequest.d.ts +1 -62
  27. package/api/resources/conversation/types/AskRequestBase.d.ts +67 -0
  28. package/api/resources/conversation/types/index.d.ts +1 -0
  29. package/api/resources/conversation/types/index.js +1 -0
  30. package/api/resources/conversationKickoffs/client/Client.d.ts +2 -0
  31. package/api/resources/conversationKickoffs/client/Client.js +2 -0
  32. package/api/resources/customers/client/Client.d.ts +14 -0
  33. package/api/resources/customers/client/Client.js +14 -0
  34. package/api/resources/events/client/Client.d.ts +16 -3
  35. package/api/resources/events/client/Client.js +16 -3
  36. package/api/resources/inbox/client/Client.d.ts +20 -0
  37. package/api/resources/inbox/client/Client.js +20 -0
  38. package/api/resources/intelligentFields/client/Client.d.ts +10 -0
  39. package/api/resources/intelligentFields/client/Client.js +10 -0
  40. package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +1 -1
  41. package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +2 -1
  42. package/api/resources/knowledge/client/Client.d.ts +40 -0
  43. package/api/resources/knowledge/client/Client.js +40 -0
  44. package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +5 -1
  45. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +1 -1
  46. package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +1 -1
  47. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -5
  48. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -1
  49. package/api/resources/knowledge/types/KnowledgeDocumentMetadataValue.d.ts +4 -0
  50. package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +9 -3
  51. package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +2 -2
  52. package/api/resources/knowledge/types/index.d.ts +1 -0
  53. package/api/resources/knowledge/types/index.js +1 -0
  54. package/api/resources/segments/client/Client.d.ts +16 -0
  55. package/api/resources/segments/client/Client.js +16 -0
  56. package/api/resources/translations/client/Client.d.ts +2 -0
  57. package/api/resources/translations/client/Client.js +2 -0
  58. package/api/resources/triggers/client/Client.d.ts +10 -0
  59. package/api/resources/triggers/client/Client.js +10 -0
  60. package/api/resources/users/client/Client.d.ts +16 -0
  61. package/api/resources/users/client/Client.js +16 -0
  62. package/api/resources/voice/client/Client.d.ts +1 -1
  63. package/api/resources/voice/client/Client.js +1 -1
  64. package/api/resources/voice/types/VoiceSessionTokenRequest.d.ts +4 -2
  65. package/api/resources/voiceConversations/client/Client.d.ts +5 -2
  66. package/api/resources/voiceConversations/client/Client.js +6 -3
  67. package/api/resources/voiceConversations/client/Socket.d.ts +2 -1
  68. package/api/resources/voiceConversations/client/Socket.js +10 -0
  69. package/api/resources/voiceConversations/types/AgentAudioChunk.d.ts +1 -1
  70. package/api/resources/voiceConversations/types/AudioFormat.d.ts +13 -0
  71. package/api/resources/voiceConversations/types/AudioFormat.js +13 -0
  72. package/api/resources/voiceConversations/types/ClientMark.d.ts +10 -0
  73. package/api/resources/voiceConversations/types/Config.d.ts +2 -6
  74. package/api/resources/voiceConversations/types/ConversationReady.d.ts +5 -2
  75. package/api/resources/voiceConversations/types/Error_.d.ts +8 -0
  76. package/api/resources/voiceConversations/types/Mark.d.ts +9 -0
  77. package/api/resources/voiceConversations/types/ServerEventBase.d.ts +3 -2
  78. package/api/resources/voiceConversations/types/Transcript.d.ts +11 -0
  79. package/api/resources/voiceConversations/types/TranscriptRole.d.ts +5 -0
  80. package/api/resources/voiceConversations/types/TranscriptRole.js +8 -0
  81. package/api/resources/voiceConversations/types/VadSpeechStarted.d.ts +8 -0
  82. package/api/resources/voiceConversations/types/VadSpeechStarted.js +3 -0
  83. package/api/resources/voiceConversations/types/VadSpeechStopped.d.ts +7 -0
  84. package/api/resources/voiceConversations/types/VadSpeechStopped.js +3 -0
  85. package/api/resources/voiceConversations/types/index.d.ts +6 -5
  86. package/api/resources/voiceConversations/types/index.js +6 -5
  87. package/package.json +1 -1
  88. package/reference.md +290 -20
  89. package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +2 -0
  90. package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +2 -0
  91. package/serialization/resources/commons/types/SimulationContext.d.ts +1 -0
  92. package/serialization/resources/commons/types/SimulationContext.js +1 -0
  93. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  94. package/serialization/resources/commons/types/SystemEventName.js +1 -0
  95. package/serialization/resources/conversation/types/AskRequest.d.ts +2 -12
  96. package/serialization/resources/conversation/types/AskRequest.js +5 -13
  97. package/serialization/resources/conversation/types/AskRequestBase.d.ts +20 -0
  98. package/serialization/resources/conversation/types/AskRequestBase.js +52 -0
  99. package/serialization/resources/conversation/types/index.d.ts +1 -0
  100. package/serialization/resources/conversation/types/index.js +1 -0
  101. package/serialization/resources/knowledge/types/KnowledgeDocumentMetadataValue.d.ts +7 -0
  102. package/serialization/resources/{voiceConversations/types/UserTranscript.js → knowledge/types/KnowledgeDocumentMetadataValue.js} +5 -8
  103. package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +2 -1
  104. package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +2 -1
  105. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +2 -1
  106. package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +2 -1
  107. package/serialization/resources/knowledge/types/index.d.ts +1 -0
  108. package/serialization/resources/knowledge/types/index.js +1 -0
  109. package/serialization/resources/voiceConversations/client/socket/VoiceConversationsSocketResponse.d.ts +6 -7
  110. package/serialization/resources/voiceConversations/client/socket/VoiceConversationsSocketResponse.js +8 -10
  111. package/serialization/resources/voiceConversations/types/ClientMark.d.ts +10 -0
  112. package/serialization/resources/voiceConversations/types/ClientMark.js +42 -0
  113. package/serialization/resources/voiceConversations/types/Config.d.ts +0 -2
  114. package/serialization/resources/voiceConversations/types/Config.js +0 -2
  115. package/serialization/resources/voiceConversations/types/ConversationReady.d.ts +3 -1
  116. package/serialization/resources/voiceConversations/types/ConversationReady.js +6 -2
  117. package/serialization/resources/voiceConversations/types/{ConversationEnded.d.ts → Mark.d.ts} +4 -3
  118. package/serialization/resources/voiceConversations/types/{UserStartedSpeaking.js → Mark.js} +4 -3
  119. package/serialization/resources/voiceConversations/types/ServerEventBase.d.ts +1 -1
  120. package/serialization/resources/voiceConversations/types/ServerEventBase.js +1 -1
  121. package/serialization/resources/voiceConversations/types/{AgentTranscript.d.ts → Transcript.d.ts} +5 -3
  122. package/serialization/resources/voiceConversations/types/{AgentTranscript.js → Transcript.js} +5 -3
  123. package/serialization/resources/voiceConversations/types/TranscriptRole.d.ts +7 -0
  124. package/serialization/resources/voiceConversations/types/TranscriptRole.js +39 -0
  125. package/serialization/resources/voiceConversations/types/{UserTranscript.d.ts → VadSpeechStarted.d.ts} +3 -4
  126. package/serialization/resources/voiceConversations/types/{ConversationEnded.js → VadSpeechStarted.js} +3 -3
  127. package/serialization/resources/voiceConversations/types/{UserStartedSpeaking.d.ts → VadSpeechStopped.d.ts} +3 -3
  128. package/serialization/resources/voiceConversations/types/{UserFinishedSpeaking.js → VadSpeechStopped.js} +3 -3
  129. package/serialization/resources/voiceConversations/types/index.d.ts +6 -5
  130. package/serialization/resources/voiceConversations/types/index.js +6 -5
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
  133. package/api/resources/voiceConversations/types/AgentTranscript.d.ts +0 -9
  134. package/api/resources/voiceConversations/types/ConversationEnded.d.ts +0 -7
  135. package/api/resources/voiceConversations/types/UserFinishedSpeaking.d.ts +0 -7
  136. package/api/resources/voiceConversations/types/UserStartedSpeaking.d.ts +0 -7
  137. package/api/resources/voiceConversations/types/UserTranscript.d.ts +0 -9
  138. package/serialization/resources/voiceConversations/types/UserFinishedSpeaking.d.ts +0 -10
  139. /package/api/resources/{voiceConversations/types/AgentTranscript.js → conversation/types/AskRequestBase.js} +0 -0
  140. /package/api/resources/{voiceConversations/types/ConversationEnded.js → knowledge/types/KnowledgeDocumentMetadataValue.js} +0 -0
  141. /package/api/resources/voiceConversations/types/{UserFinishedSpeaking.js → ClientMark.js} +0 -0
  142. /package/api/resources/voiceConversations/types/{UserStartedSpeaking.js → Mark.js} +0 -0
  143. /package/api/resources/voiceConversations/types/{UserTranscript.js → Transcript.js} +0 -0
@@ -34,11 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.ConversationEnded = void 0;
37
+ exports.VadSpeechStarted = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const ServerEventBase_1 = require("./ServerEventBase");
40
- exports.ConversationEnded = core.serialization
40
+ exports.VadSpeechStarted = core.serialization
41
41
  .object({
42
- type: core.serialization.stringLiteral("conversation_ended"),
42
+ type: core.serialization.stringLiteral("vad_speech_started"),
43
43
  })
44
44
  .extend(ServerEventBase_1.ServerEventBase);
@@ -2,9 +2,9 @@ import type * as MavenAGI from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { ServerEventBase } from "./ServerEventBase";
5
- export declare const UserStartedSpeaking: core.serialization.ObjectSchema<serializers.UserStartedSpeaking.Raw, MavenAGI.UserStartedSpeaking>;
6
- export declare namespace UserStartedSpeaking {
5
+ export declare const VadSpeechStopped: core.serialization.ObjectSchema<serializers.VadSpeechStopped.Raw, MavenAGI.VadSpeechStopped>;
6
+ export declare namespace VadSpeechStopped {
7
7
  interface Raw extends ServerEventBase.Raw {
8
- type: "user_started_speaking";
8
+ type: "vad_speech_stopped";
9
9
  }
10
10
  }
@@ -34,11 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.UserFinishedSpeaking = void 0;
37
+ exports.VadSpeechStopped = void 0;
38
38
  const core = __importStar(require("../../../../core"));
39
39
  const ServerEventBase_1 = require("./ServerEventBase");
40
- exports.UserFinishedSpeaking = core.serialization
40
+ exports.VadSpeechStopped = core.serialization
41
41
  .object({
42
- type: core.serialization.stringLiteral("user_finished_speaking"),
42
+ type: core.serialization.stringLiteral("vad_speech_stopped"),
43
43
  })
44
44
  .extend(ServerEventBase_1.ServerEventBase);
@@ -1,12 +1,13 @@
1
1
  export * from "./AgentAudioChunk";
2
- export * from "./AgentTranscript";
3
2
  export * from "./AudioFormat";
3
+ export * from "./ClientMark";
4
4
  export * from "./Config";
5
- export * from "./ConversationEnded";
6
5
  export * from "./ConversationReady";
7
6
  export * from "./Error_";
7
+ export * from "./Mark";
8
8
  export * from "./ServerEventBase";
9
+ export * from "./Transcript";
10
+ export * from "./TranscriptRole";
9
11
  export * from "./UserAudioChunk";
10
- export * from "./UserFinishedSpeaking";
11
- export * from "./UserStartedSpeaking";
12
- export * from "./UserTranscript";
12
+ export * from "./VadSpeechStarted";
13
+ export * from "./VadSpeechStopped";
@@ -15,14 +15,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AgentAudioChunk"), exports);
18
- __exportStar(require("./AgentTranscript"), exports);
19
18
  __exportStar(require("./AudioFormat"), exports);
19
+ __exportStar(require("./ClientMark"), exports);
20
20
  __exportStar(require("./Config"), exports);
21
- __exportStar(require("./ConversationEnded"), exports);
22
21
  __exportStar(require("./ConversationReady"), exports);
23
22
  __exportStar(require("./Error_"), exports);
23
+ __exportStar(require("./Mark"), exports);
24
24
  __exportStar(require("./ServerEventBase"), exports);
25
+ __exportStar(require("./Transcript"), exports);
26
+ __exportStar(require("./TranscriptRole"), exports);
25
27
  __exportStar(require("./UserAudioChunk"), exports);
26
- __exportStar(require("./UserFinishedSpeaking"), exports);
27
- __exportStar(require("./UserStartedSpeaking"), exports);
28
- __exportStar(require("./UserTranscript"), exports);
28
+ __exportStar(require("./VadSpeechStarted"), exports);
29
+ __exportStar(require("./VadSpeechStopped"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.67";
1
+ export declare const SDK_VERSION = "1.2.68";
package/version.js CHANGED
@@ -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 = "1.2.67";
4
+ exports.SDK_VERSION = "1.2.68";
@@ -1,9 +0,0 @@
1
- import type * as MavenAGI from "../../../index";
2
- /**
3
- * Transcribed agent speech
4
- */
5
- export interface AgentTranscript extends MavenAGI.ServerEventBase {
6
- type: "agent_transcript";
7
- /** Transcribed agent speech */
8
- text: string;
9
- }
@@ -1,7 +0,0 @@
1
- import type * as MavenAGI from "../../../index";
2
- /**
3
- * AI ended the conversation
4
- */
5
- export interface ConversationEnded extends MavenAGI.ServerEventBase {
6
- type: "conversation_ended";
7
- }
@@ -1,7 +0,0 @@
1
- import type * as MavenAGI from "../../../index";
2
- /**
3
- * User finished speaking
4
- */
5
- export interface UserFinishedSpeaking extends MavenAGI.ServerEventBase {
6
- type: "user_finished_speaking";
7
- }
@@ -1,7 +0,0 @@
1
- import type * as MavenAGI from "../../../index";
2
- /**
3
- * User started speaking
4
- */
5
- export interface UserStartedSpeaking extends MavenAGI.ServerEventBase {
6
- type: "user_started_speaking";
7
- }
@@ -1,9 +0,0 @@
1
- import type * as MavenAGI from "../../../index";
2
- /**
3
- * Transcribed user speech
4
- */
5
- export interface UserTranscript extends MavenAGI.ServerEventBase {
6
- type: "user_transcript";
7
- /** Transcribed user speech */
8
- text: string;
9
- }
@@ -1,10 +0,0 @@
1
- import type * as MavenAGI from "../../../../api/index";
2
- import * as core from "../../../../core";
3
- import type * as serializers from "../../../index";
4
- import { ServerEventBase } from "./ServerEventBase";
5
- export declare const UserFinishedSpeaking: core.serialization.ObjectSchema<serializers.UserFinishedSpeaking.Raw, MavenAGI.UserFinishedSpeaking>;
6
- export declare namespace UserFinishedSpeaking {
7
- interface Raw extends ServerEventBase.Raw {
8
- type: "user_finished_speaking";
9
- }
10
- }