mavenagi 1.0.8 → 1.0.10
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/Client.d.ts +3 -0
- package/Client.js +11 -6
- package/api/resources/actions/client/Client.d.ts +2 -1
- package/api/resources/actions/client/Client.js +5 -4
- package/api/resources/actions/types/ActionRequest.d.ts +2 -1
- package/api/resources/analytics/client/Client.js +3 -3
- package/api/resources/appSettings/client/Client.d.ts +24 -0
- package/api/resources/appSettings/client/Client.js +91 -1
- package/api/resources/commons/types/ActionBase.d.ts +3 -1
- package/api/resources/commons/types/ActionResponse.d.ts +2 -1
- package/api/resources/commons/types/{ConversationBase.d.ts → BaseConversationResponse.d.ts} +9 -1
- package/api/resources/commons/types/BasePaginatedRequest.d.ts +11 -0
- package/api/resources/commons/types/BotMessage.d.ts +1 -0
- package/api/resources/commons/types/BotMessageStatus.d.ts +22 -0
- package/api/resources/commons/types/BotMessageStatus.js +14 -0
- package/api/resources/commons/types/ConversationAnalysis.d.ts +8 -0
- package/api/resources/commons/types/ConversationPreview.d.ts +6 -0
- package/api/resources/commons/types/ConversationPreview.js +5 -0
- package/api/resources/commons/types/ConversationResponse.d.ts +4 -10
- package/{dist/api/resources/conversation → api/resources/commons}/types/QualityReason.d.ts +1 -2
- package/api/resources/{conversation → commons}/types/QualityReason.js +0 -1
- package/api/resources/commons/types/index.d.ts +8 -3
- package/api/resources/commons/types/index.js +8 -3
- package/api/resources/conversation/client/Client.d.ts +22 -6
- package/api/resources/conversation/client/Client.js +100 -18
- package/api/resources/conversation/types/ConversationFilter.d.ts +1 -0
- package/api/resources/conversation/types/ConversationRequest.d.ts +15 -1
- package/api/resources/conversation/types/ConversationsResponse.d.ts +8 -0
- package/api/resources/conversation/types/ConversationsResponse.js +5 -0
- package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +8 -0
- package/api/resources/conversation/types/ConversationsSearchRequest.js +5 -0
- package/api/resources/conversation/types/index.d.ts +2 -2
- package/api/resources/conversation/types/index.js +2 -2
- package/api/resources/inbox/client/Client.js +5 -5
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/knowledge/client/Client.d.ts +4 -3
- package/api/resources/knowledge/client/Client.js +11 -10
- package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -4
- package/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -2
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -4
- package/api/resources/knowledge/types/KnowledgeBaseType.js +0 -2
- package/api/resources/knowledge/types/index.d.ts +1 -1
- package/api/resources/knowledge/types/index.js +1 -1
- package/api/resources/realtime/client/Client.d.ts +34 -0
- package/api/resources/realtime/client/Client.js +87 -0
- package/api/resources/realtime/client/Socket.d.ts +41 -0
- package/api/resources/realtime/client/Socket.js +155 -0
- package/api/resources/realtime/client/index.d.ts +1 -0
- package/api/resources/realtime/client/index.js +2 -0
- package/api/resources/realtime/index.d.ts +2 -0
- package/api/resources/realtime/index.js +18 -0
- package/api/resources/realtime/types/AudioPublishEvent.d.ts +6 -0
- package/api/resources/realtime/types/AudioPublishEvent.js +5 -0
- package/api/resources/realtime/types/AudioSubscribeEvent.d.ts +6 -0
- package/api/resources/realtime/types/AudioSubscribeEvent.js +5 -0
- package/api/resources/realtime/types/ControlEvent.d.ts +6 -0
- package/api/resources/realtime/types/ControlEvent.js +5 -0
- package/api/resources/realtime/types/HangUpPublishEvent.d.ts +6 -0
- package/api/resources/realtime/types/HangUpPublishEvent.js +5 -0
- package/api/resources/realtime/types/PublishEvent.d.ts +16 -0
- package/api/resources/realtime/types/PublishEvent.js +5 -0
- package/api/resources/realtime/types/SubscribeEvent.d.ts +22 -0
- package/api/resources/realtime/types/SubscribeEvent.js +5 -0
- package/api/resources/realtime/types/index.d.ts +6 -0
- package/api/resources/realtime/types/index.js +22 -0
- package/api/resources/translations/client/Client.js +1 -1
- package/api/resources/triggers/client/Client.js +3 -3
- package/api/resources/users/client/Client.js +3 -3
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/websocket/events.d.ts +36 -0
- package/core/websocket/events.js +27 -0
- package/core/websocket/index.d.ts +1 -0
- package/core/websocket/index.js +17 -0
- package/core/websocket/ws.d.ts +137 -0
- package/core/websocket/ws.js +452 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +11 -6
- package/dist/api/resources/actions/client/Client.d.ts +2 -1
- package/dist/api/resources/actions/client/Client.js +5 -4
- package/dist/api/resources/actions/types/ActionRequest.d.ts +2 -1
- package/dist/api/resources/analytics/client/Client.js +3 -3
- package/dist/api/resources/appSettings/client/Client.d.ts +24 -0
- package/dist/api/resources/appSettings/client/Client.js +91 -1
- package/dist/api/resources/commons/types/ActionBase.d.ts +3 -1
- package/dist/api/resources/commons/types/ActionResponse.d.ts +2 -1
- package/dist/api/resources/commons/types/{ConversationBase.d.ts → BaseConversationResponse.d.ts} +9 -1
- package/dist/api/resources/commons/types/BaseConversationResponse.js +5 -0
- package/dist/api/resources/commons/types/BasePaginatedRequest.d.ts +11 -0
- package/dist/api/resources/commons/types/BasePaginatedRequest.js +5 -0
- package/dist/api/resources/commons/types/BotMessage.d.ts +1 -0
- package/dist/api/resources/commons/types/BotMessageStatus.d.ts +22 -0
- package/dist/api/resources/commons/types/BotMessageStatus.js +14 -0
- package/dist/api/resources/commons/types/ConversationAnalysis.d.ts +8 -0
- package/dist/api/resources/commons/types/ConversationPreview.d.ts +6 -0
- package/dist/api/resources/commons/types/ConversationPreview.js +5 -0
- package/dist/api/resources/commons/types/ConversationResponse.d.ts +4 -10
- package/{api/resources/conversation → dist/api/resources/commons}/types/QualityReason.d.ts +1 -2
- package/dist/api/resources/{conversation → commons}/types/QualityReason.js +0 -1
- package/dist/api/resources/commons/types/index.d.ts +8 -3
- package/dist/api/resources/commons/types/index.js +8 -3
- package/dist/api/resources/conversation/client/Client.d.ts +22 -6
- package/dist/api/resources/conversation/client/Client.js +100 -18
- package/dist/api/resources/conversation/types/ConversationFilter.d.ts +1 -0
- package/dist/api/resources/conversation/types/ConversationRequest.d.ts +15 -1
- package/dist/api/resources/conversation/types/ConversationsResponse.d.ts +8 -0
- package/dist/api/resources/conversation/types/ConversationsResponse.js +5 -0
- package/dist/api/resources/conversation/types/ConversationsSearchRequest.d.ts +8 -0
- package/dist/api/resources/conversation/types/ConversationsSearchRequest.js +5 -0
- package/dist/api/resources/conversation/types/index.d.ts +2 -2
- package/dist/api/resources/conversation/types/index.js +2 -2
- package/dist/api/resources/inbox/client/Client.js +5 -5
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/knowledge/client/Client.d.ts +4 -3
- package/dist/api/resources/knowledge/client/Client.js +11 -10
- package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -4
- package/dist/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -2
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -4
- package/dist/api/resources/knowledge/types/KnowledgeBaseType.js +0 -2
- package/dist/api/resources/knowledge/types/index.d.ts +1 -1
- package/dist/api/resources/knowledge/types/index.js +1 -1
- package/dist/api/resources/realtime/client/Client.d.ts +34 -0
- package/dist/api/resources/realtime/client/Client.js +87 -0
- package/dist/api/resources/realtime/client/Socket.d.ts +41 -0
- package/dist/api/resources/realtime/client/Socket.js +155 -0
- package/dist/api/resources/realtime/client/index.d.ts +1 -0
- package/dist/api/resources/realtime/client/index.js +2 -0
- package/dist/api/resources/realtime/index.d.ts +2 -0
- package/dist/api/resources/realtime/index.js +18 -0
- package/dist/api/resources/realtime/types/AudioPublishEvent.d.ts +6 -0
- package/dist/api/resources/realtime/types/AudioPublishEvent.js +5 -0
- package/dist/api/resources/realtime/types/AudioSubscribeEvent.d.ts +6 -0
- package/dist/api/resources/realtime/types/AudioSubscribeEvent.js +5 -0
- package/dist/api/resources/realtime/types/ControlEvent.d.ts +6 -0
- package/dist/api/resources/realtime/types/ControlEvent.js +5 -0
- package/dist/api/resources/realtime/types/HangUpPublishEvent.d.ts +6 -0
- package/dist/api/resources/realtime/types/HangUpPublishEvent.js +5 -0
- package/dist/api/resources/realtime/types/PublishEvent.d.ts +16 -0
- package/dist/api/resources/realtime/types/PublishEvent.js +5 -0
- package/dist/api/resources/realtime/types/SubscribeEvent.d.ts +22 -0
- package/dist/api/resources/realtime/types/SubscribeEvent.js +5 -0
- package/dist/api/resources/realtime/types/index.d.ts +6 -0
- package/dist/api/resources/realtime/types/index.js +22 -0
- package/dist/api/resources/translations/client/Client.js +1 -1
- package/dist/api/resources/triggers/client/Client.js +3 -3
- package/dist/api/resources/users/client/Client.js +3 -3
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/websocket/events.d.ts +36 -0
- package/dist/core/websocket/events.js +27 -0
- package/dist/core/websocket/index.d.ts +1 -0
- package/dist/core/websocket/index.js +17 -0
- package/dist/core/websocket/ws.d.ts +137 -0
- package/dist/core/websocket/ws.js +452 -0
- package/dist/serialization/resources/appSettings/client/index.d.ts +1 -0
- package/dist/serialization/resources/appSettings/client/index.js +2 -1
- package/dist/serialization/resources/appSettings/client/update.d.ts +13 -0
- package/dist/serialization/resources/appSettings/client/update.js +42 -0
- package/dist/serialization/resources/commons/types/ActionBase.d.ts +1 -0
- package/dist/serialization/resources/commons/types/ActionBase.js +1 -0
- package/{serialization/resources/commons/types/ConversationBase.d.ts → dist/serialization/resources/commons/types/BaseConversationResponse.d.ts} +9 -2
- package/dist/serialization/resources/commons/types/{ConversationBase.js → BaseConversationResponse.js} +9 -2
- package/dist/serialization/resources/commons/types/BasePaginatedRequest.d.ts +14 -0
- package/dist/serialization/resources/commons/types/BasePaginatedRequest.js +45 -0
- package/dist/serialization/resources/commons/types/BotMessage.d.ts +2 -0
- package/dist/serialization/resources/commons/types/BotMessage.js +2 -0
- package/dist/serialization/resources/commons/types/BotMessageStatus.d.ts +10 -0
- package/dist/serialization/resources/commons/types/BotMessageStatus.js +41 -0
- package/dist/serialization/resources/commons/types/ConversationAnalysis.d.ts +6 -0
- package/dist/serialization/resources/commons/types/ConversationAnalysis.js +6 -0
- package/dist/serialization/resources/commons/types/ConversationPreview.d.ts +12 -0
- package/dist/serialization/resources/commons/types/ConversationPreview.js +42 -0
- package/dist/serialization/resources/commons/types/ConversationResponse.d.ts +2 -9
- package/dist/serialization/resources/commons/types/ConversationResponse.js +2 -9
- package/dist/serialization/resources/{conversation → commons}/types/QualityReason.d.ts +1 -1
- package/dist/serialization/resources/{conversation → commons}/types/QualityReason.js +0 -1
- package/dist/serialization/resources/commons/types/index.d.ts +8 -3
- package/dist/serialization/resources/commons/types/index.js +8 -3
- package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -2
- package/dist/serialization/resources/conversation/types/ConversationFilter.js +3 -2
- package/dist/serialization/resources/conversation/types/ConversationRequest.d.ts +9 -2
- package/dist/serialization/resources/conversation/types/ConversationRequest.js +10 -5
- package/dist/serialization/resources/conversation/types/ConversationsResponse.d.ts +14 -0
- package/dist/serialization/resources/conversation/types/ConversationsResponse.js +47 -0
- package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +16 -0
- package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.js +49 -0
- package/dist/serialization/resources/conversation/types/index.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/index.js +2 -2
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +0 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseType.js +1 -1
- package/dist/serialization/resources/knowledge/types/index.d.ts +1 -1
- package/dist/serialization/resources/knowledge/types/index.js +1 -1
- package/dist/serialization/resources/realtime/index.d.ts +1 -0
- package/dist/serialization/resources/realtime/index.js +17 -0
- package/dist/serialization/resources/realtime/types/AudioPublishEvent.d.ts +12 -0
- package/dist/serialization/resources/realtime/types/AudioPublishEvent.js +43 -0
- package/dist/serialization/resources/realtime/types/AudioSubscribeEvent.d.ts +12 -0
- package/dist/serialization/resources/realtime/types/AudioSubscribeEvent.js +43 -0
- package/dist/serialization/resources/realtime/types/ControlEvent.d.ts +12 -0
- package/dist/serialization/resources/realtime/types/ControlEvent.js +43 -0
- package/dist/serialization/resources/realtime/types/HangUpPublishEvent.d.ts +12 -0
- package/dist/serialization/resources/realtime/types/HangUpPublishEvent.js +43 -0
- package/dist/serialization/resources/realtime/types/PublishEvent.d.ts +18 -0
- package/dist/serialization/resources/realtime/types/PublishEvent.js +51 -0
- package/dist/serialization/resources/realtime/types/SubscribeEvent.d.ts +24 -0
- package/dist/serialization/resources/realtime/types/SubscribeEvent.js +53 -0
- package/dist/serialization/resources/realtime/types/index.d.ts +6 -0
- package/dist/serialization/resources/realtime/types/index.js +22 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -1
- package/reference.md +151 -11
- package/serialization/resources/appSettings/client/index.d.ts +1 -0
- package/serialization/resources/appSettings/client/index.js +2 -1
- package/serialization/resources/appSettings/client/update.d.ts +13 -0
- package/serialization/resources/appSettings/client/update.js +42 -0
- package/serialization/resources/commons/types/ActionBase.d.ts +1 -0
- package/serialization/resources/commons/types/ActionBase.js +1 -0
- package/{dist/serialization/resources/commons/types/ConversationBase.d.ts → serialization/resources/commons/types/BaseConversationResponse.d.ts} +9 -2
- package/serialization/resources/commons/types/{ConversationBase.js → BaseConversationResponse.js} +9 -2
- package/serialization/resources/commons/types/BasePaginatedRequest.d.ts +14 -0
- package/serialization/resources/commons/types/BasePaginatedRequest.js +45 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +2 -0
- package/serialization/resources/commons/types/BotMessage.js +2 -0
- package/serialization/resources/commons/types/BotMessageStatus.d.ts +10 -0
- package/serialization/resources/commons/types/BotMessageStatus.js +41 -0
- package/serialization/resources/commons/types/ConversationAnalysis.d.ts +6 -0
- package/serialization/resources/commons/types/ConversationAnalysis.js +6 -0
- package/serialization/resources/commons/types/ConversationPreview.d.ts +12 -0
- package/serialization/resources/commons/types/ConversationPreview.js +42 -0
- package/serialization/resources/commons/types/ConversationResponse.d.ts +2 -9
- package/serialization/resources/commons/types/ConversationResponse.js +2 -9
- package/serialization/resources/{conversation → commons}/types/QualityReason.d.ts +1 -1
- package/serialization/resources/{conversation → commons}/types/QualityReason.js +0 -1
- package/serialization/resources/commons/types/index.d.ts +8 -3
- package/serialization/resources/commons/types/index.js +8 -3
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -2
- package/serialization/resources/conversation/types/ConversationFilter.js +3 -2
- package/serialization/resources/conversation/types/ConversationRequest.d.ts +9 -2
- package/serialization/resources/conversation/types/ConversationRequest.js +10 -5
- package/serialization/resources/conversation/types/ConversationsResponse.d.ts +14 -0
- package/serialization/resources/conversation/types/ConversationsResponse.js +47 -0
- package/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +16 -0
- package/serialization/resources/conversation/types/ConversationsSearchRequest.js +49 -0
- package/serialization/resources/conversation/types/index.d.ts +2 -2
- package/serialization/resources/conversation/types/index.js +2 -2
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +0 -3
- package/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +0 -3
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseType.js +1 -1
- package/serialization/resources/knowledge/types/index.d.ts +1 -1
- package/serialization/resources/knowledge/types/index.js +1 -1
- package/serialization/resources/realtime/index.d.ts +1 -0
- package/serialization/resources/realtime/index.js +17 -0
- package/serialization/resources/realtime/types/AudioPublishEvent.d.ts +12 -0
- package/serialization/resources/realtime/types/AudioPublishEvent.js +43 -0
- package/serialization/resources/realtime/types/AudioSubscribeEvent.d.ts +12 -0
- package/serialization/resources/realtime/types/AudioSubscribeEvent.js +43 -0
- package/serialization/resources/realtime/types/ControlEvent.d.ts +12 -0
- package/serialization/resources/realtime/types/ControlEvent.js +43 -0
- package/serialization/resources/realtime/types/HangUpPublishEvent.d.ts +12 -0
- package/serialization/resources/realtime/types/HangUpPublishEvent.js +43 -0
- package/serialization/resources/realtime/types/PublishEvent.d.ts +18 -0
- package/serialization/resources/realtime/types/PublishEvent.js +51 -0
- package/serialization/resources/realtime/types/SubscribeEvent.d.ts +24 -0
- package/serialization/resources/realtime/types/SubscribeEvent.js +53 -0
- package/serialization/resources/realtime/types/index.d.ts +6 -0
- package/serialization/resources/realtime/types/index.js +22 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/commons/types/{ConversationBase.js → BaseConversationResponse.js} +0 -0
- /package/{dist/api/resources/commons/types/ConversationBase.js → api/resources/commons/types/BasePaginatedRequest.js} +0 -0
- /package/api/resources/{conversation → commons}/types/Quality.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/Quality.js +0 -0
- /package/dist/api/resources/{conversation → commons}/types/Quality.d.ts +0 -0
- /package/dist/api/resources/{conversation → commons}/types/Quality.js +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/Quality.d.ts +0 -0
- /package/dist/serialization/resources/{conversation → commons}/types/Quality.js +0 -0
- /package/serialization/resources/{conversation → commons}/types/Quality.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/Quality.js +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ConversationsResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const ConversationPreview_1 = require("../../commons/types/ConversationPreview");
|
|
42
|
+
const Page_1 = require("../../commons/types/Page");
|
|
43
|
+
exports.ConversationsResponse = core.serialization
|
|
44
|
+
.object({
|
|
45
|
+
conversations: core.serialization.list(ConversationPreview_1.ConversationPreview),
|
|
46
|
+
})
|
|
47
|
+
.extend(Page_1.Page);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { ConversationField } from "./ConversationField";
|
|
8
|
+
import { ConversationFilter } from "./ConversationFilter";
|
|
9
|
+
import { BasePaginatedRequest } from "../../commons/types/BasePaginatedRequest";
|
|
10
|
+
export declare const ConversationsSearchRequest: core.serialization.ObjectSchema<serializers.ConversationsSearchRequest.Raw, MavenAGI.ConversationsSearchRequest>;
|
|
11
|
+
export declare namespace ConversationsSearchRequest {
|
|
12
|
+
interface Raw extends BasePaginatedRequest.Raw {
|
|
13
|
+
sort?: ConversationField.Raw | null;
|
|
14
|
+
filter?: ConversationFilter.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ConversationsSearchRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const ConversationField_1 = require("./ConversationField");
|
|
42
|
+
const ConversationFilter_1 = require("./ConversationFilter");
|
|
43
|
+
const BasePaginatedRequest_1 = require("../../commons/types/BasePaginatedRequest");
|
|
44
|
+
exports.ConversationsSearchRequest = core.serialization
|
|
45
|
+
.object({
|
|
46
|
+
sort: ConversationField_1.ConversationField.optional(),
|
|
47
|
+
filter: ConversationFilter_1.ConversationFilter.optional(),
|
|
48
|
+
})
|
|
49
|
+
.extend(BasePaginatedRequest_1.BasePaginatedRequest);
|
|
@@ -16,8 +16,8 @@ export * from "./CategorizationResponse";
|
|
|
16
16
|
export * from "./ConversationField";
|
|
17
17
|
export * from "./NumericConversationField";
|
|
18
18
|
export * from "./ResolutionStatus";
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
19
|
+
export * from "./ConversationsSearchRequest";
|
|
20
|
+
export * from "./ConversationsResponse";
|
|
21
21
|
export * from "./ConversationFilter";
|
|
22
22
|
export * from "./FeedbackField";
|
|
23
23
|
export * from "./FeedbackFilter";
|
|
@@ -32,8 +32,8 @@ __exportStar(require("./CategorizationResponse"), exports);
|
|
|
32
32
|
__exportStar(require("./ConversationField"), exports);
|
|
33
33
|
__exportStar(require("./NumericConversationField"), exports);
|
|
34
34
|
__exportStar(require("./ResolutionStatus"), exports);
|
|
35
|
-
__exportStar(require("./
|
|
36
|
-
__exportStar(require("./
|
|
35
|
+
__exportStar(require("./ConversationsSearchRequest"), exports);
|
|
36
|
+
__exportStar(require("./ConversationsResponse"), exports);
|
|
37
37
|
__exportStar(require("./ConversationFilter"), exports);
|
|
38
38
|
__exportStar(require("./FeedbackField"), exports);
|
|
39
39
|
__exportStar(require("./FeedbackFilter"), exports);
|
|
@@ -10,6 +10,8 @@ export * as inbox from "./inbox";
|
|
|
10
10
|
export * from "./inbox/types";
|
|
11
11
|
export * as knowledge from "./knowledge";
|
|
12
12
|
export * from "./knowledge/types";
|
|
13
|
+
export * as realtime from "./realtime";
|
|
14
|
+
export * from "./realtime/types";
|
|
13
15
|
export * as translations from "./translations";
|
|
14
16
|
export * from "./translations/types";
|
|
15
17
|
export * as triggers from "./triggers";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.appSettings = exports.triggers = exports.translations = exports.knowledge = exports.inbox = exports.conversation = exports.commons = exports.analytics = exports.actions = void 0;
|
|
39
|
+
exports.appSettings = exports.triggers = exports.translations = exports.realtime = exports.knowledge = exports.inbox = exports.conversation = exports.commons = exports.analytics = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/types"), exports);
|
|
42
42
|
exports.analytics = __importStar(require("./analytics"));
|
|
@@ -49,6 +49,8 @@ exports.inbox = __importStar(require("./inbox"));
|
|
|
49
49
|
__exportStar(require("./inbox/types"), exports);
|
|
50
50
|
exports.knowledge = __importStar(require("./knowledge"));
|
|
51
51
|
__exportStar(require("./knowledge/types"), exports);
|
|
52
|
+
exports.realtime = __importStar(require("./realtime"));
|
|
53
|
+
__exportStar(require("./realtime/types"), exports);
|
|
52
54
|
exports.translations = __importStar(require("./translations"));
|
|
53
55
|
__exportStar(require("./translations/types"), exports);
|
|
54
56
|
exports.triggers = __importStar(require("./triggers"));
|
|
@@ -4,13 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as MavenAGI from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import { KnowledgeBaseType } from "./KnowledgeBaseType";
|
|
8
7
|
export declare const KnowledgeBaseProperties: core.serialization.ObjectSchema<serializers.KnowledgeBaseProperties.Raw, MavenAGI.KnowledgeBaseProperties>;
|
|
9
8
|
export declare namespace KnowledgeBaseProperties {
|
|
10
9
|
interface Raw {
|
|
11
10
|
name: string;
|
|
12
|
-
type: KnowledgeBaseType.Raw;
|
|
13
|
-
url?: string | null;
|
|
14
11
|
precondition?: serializers.Precondition.Raw | null;
|
|
15
12
|
}
|
|
16
13
|
}
|
|
@@ -39,10 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.KnowledgeBaseProperties = void 0;
|
|
40
40
|
const serializers = __importStar(require("../../../index"));
|
|
41
41
|
const core = __importStar(require("../../../../core"));
|
|
42
|
-
const KnowledgeBaseType_1 = require("./KnowledgeBaseType");
|
|
43
42
|
exports.KnowledgeBaseProperties = core.serialization.object({
|
|
44
43
|
name: core.serialization.string(),
|
|
45
|
-
type: KnowledgeBaseType_1.KnowledgeBaseType,
|
|
46
|
-
url: core.serialization.string().optional(),
|
|
47
44
|
precondition: core.serialization.lazy(() => serializers.Precondition).optional(),
|
|
48
45
|
});
|
|
@@ -5,10 +5,12 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as MavenAGI from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { EntityId } from "../../commons/types/EntityId";
|
|
8
|
+
import { KnowledgeBaseType } from "./KnowledgeBaseType";
|
|
8
9
|
import { KnowledgeBaseProperties } from "./KnowledgeBaseProperties";
|
|
9
10
|
export declare const KnowledgeBaseResponse: core.serialization.ObjectSchema<serializers.KnowledgeBaseResponse.Raw, MavenAGI.KnowledgeBaseResponse>;
|
|
10
11
|
export declare namespace KnowledgeBaseResponse {
|
|
11
12
|
interface Raw extends KnowledgeBaseProperties.Raw {
|
|
12
13
|
knowledgeBaseId: EntityId.Raw;
|
|
14
|
+
type: KnowledgeBaseType.Raw;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -39,9 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.KnowledgeBaseResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
42
|
+
const KnowledgeBaseType_1 = require("./KnowledgeBaseType");
|
|
42
43
|
const KnowledgeBaseProperties_1 = require("./KnowledgeBaseProperties");
|
|
43
44
|
exports.KnowledgeBaseResponse = core.serialization
|
|
44
45
|
.object({
|
|
45
46
|
knowledgeBaseId: EntityId_1.EntityId,
|
|
47
|
+
type: KnowledgeBaseType_1.KnowledgeBaseType,
|
|
46
48
|
})
|
|
47
49
|
.extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
|
|
@@ -6,5 +6,5 @@ import * as MavenAGI from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const KnowledgeBaseType: core.serialization.Schema<serializers.KnowledgeBaseType.Raw, MavenAGI.KnowledgeBaseType>;
|
|
8
8
|
export declare namespace KnowledgeBaseType {
|
|
9
|
-
type Raw = "API"
|
|
9
|
+
type Raw = "API";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.KnowledgeBaseType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.KnowledgeBaseType = core.serialization.enum_(["API"
|
|
41
|
+
exports.KnowledgeBaseType = core.serialization.enum_(["API"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./KnowledgeBaseProperties";
|
|
2
|
-
export * from "./KnowledgeBaseType";
|
|
3
2
|
export * from "./KnowledgeBaseRequest";
|
|
4
3
|
export * from "./KnowledgeBaseResponse";
|
|
4
|
+
export * from "./KnowledgeBaseType";
|
|
5
5
|
export * from "./KnowledgeBaseVersion";
|
|
6
6
|
export * from "./KnowledgeBaseVersionType";
|
|
7
7
|
export * from "./BaseKnowledgeDocument";
|
|
@@ -15,9 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./KnowledgeBaseProperties"), exports);
|
|
18
|
-
__exportStar(require("./KnowledgeBaseType"), exports);
|
|
19
18
|
__exportStar(require("./KnowledgeBaseRequest"), exports);
|
|
20
19
|
__exportStar(require("./KnowledgeBaseResponse"), exports);
|
|
20
|
+
__exportStar(require("./KnowledgeBaseType"), exports);
|
|
21
21
|
__exportStar(require("./KnowledgeBaseVersion"), exports);
|
|
22
22
|
__exportStar(require("./KnowledgeBaseVersionType"), exports);
|
|
23
23
|
__exportStar(require("./BaseKnowledgeDocument"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AudioPublishEvent: core.serialization.ObjectSchema<serializers.AudioPublishEvent.Raw, MavenAGI.AudioPublishEvent>;
|
|
8
|
+
export declare namespace AudioPublishEvent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
audioContent: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AudioPublishEvent = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AudioPublishEvent = core.serialization.object({
|
|
42
|
+
audioContent: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AudioSubscribeEvent: core.serialization.ObjectSchema<serializers.AudioSubscribeEvent.Raw, MavenAGI.AudioSubscribeEvent>;
|
|
8
|
+
export declare namespace AudioSubscribeEvent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
audioContent: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AudioSubscribeEvent = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AudioSubscribeEvent = core.serialization.object({
|
|
42
|
+
audioContent: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ControlEvent: core.serialization.ObjectSchema<serializers.ControlEvent.Raw, MavenAGI.ControlEvent>;
|
|
8
|
+
export declare namespace ControlEvent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
reason?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ControlEvent = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.ControlEvent = core.serialization.object({
|
|
42
|
+
reason: core.serialization.string().optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const HangUpPublishEvent: core.serialization.ObjectSchema<serializers.HangUpPublishEvent.Raw, MavenAGI.HangUpPublishEvent>;
|
|
8
|
+
export declare namespace HangUpPublishEvent {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.HangUpPublishEvent = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.HangUpPublishEvent = core.serialization.object({
|
|
42
|
+
message: core.serialization.string().optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AudioPublishEvent } from "./AudioPublishEvent";
|
|
8
|
+
import { HangUpPublishEvent } from "./HangUpPublishEvent";
|
|
9
|
+
export declare const PublishEvent: core.serialization.Schema<serializers.PublishEvent.Raw, MavenAGI.PublishEvent>;
|
|
10
|
+
export declare namespace PublishEvent {
|
|
11
|
+
type Raw = PublishEvent.Audio | PublishEvent.HangUp;
|
|
12
|
+
interface Audio extends AudioPublishEvent.Raw {
|
|
13
|
+
messageType: "audio";
|
|
14
|
+
}
|
|
15
|
+
interface HangUp extends HangUpPublishEvent.Raw {
|
|
16
|
+
messageType: "hangUp";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PublishEvent = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AudioPublishEvent_1 = require("./AudioPublishEvent");
|
|
42
|
+
const HangUpPublishEvent_1 = require("./HangUpPublishEvent");
|
|
43
|
+
exports.PublishEvent = core.serialization
|
|
44
|
+
.union("messageType", {
|
|
45
|
+
audio: AudioPublishEvent_1.AudioPublishEvent,
|
|
46
|
+
hangUp: HangUpPublishEvent_1.HangUpPublishEvent,
|
|
47
|
+
})
|
|
48
|
+
.transform({
|
|
49
|
+
transform: (value) => value,
|
|
50
|
+
untransform: (value) => value,
|
|
51
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AudioSubscribeEvent } from "./AudioSubscribeEvent";
|
|
8
|
+
import { ControlEvent } from "./ControlEvent";
|
|
9
|
+
export declare const SubscribeEvent: core.serialization.Schema<serializers.SubscribeEvent.Raw, MavenAGI.SubscribeEvent>;
|
|
10
|
+
export declare namespace SubscribeEvent {
|
|
11
|
+
type Raw = SubscribeEvent.Audio | SubscribeEvent.ControlSessionStart | SubscribeEvent.ControlSessionStop | SubscribeEvent.ControlAudioDone;
|
|
12
|
+
interface Audio extends AudioSubscribeEvent.Raw {
|
|
13
|
+
messageType: "audio";
|
|
14
|
+
}
|
|
15
|
+
interface ControlSessionStart extends ControlEvent.Raw {
|
|
16
|
+
messageType: "controlSessionStart";
|
|
17
|
+
}
|
|
18
|
+
interface ControlSessionStop extends ControlEvent.Raw {
|
|
19
|
+
messageType: "controlSessionStop";
|
|
20
|
+
}
|
|
21
|
+
interface ControlAudioDone extends ControlEvent.Raw {
|
|
22
|
+
messageType: "controlAudioDone";
|
|
23
|
+
}
|
|
24
|
+
}
|