mavenagi 1.2.69 → 1.2.71
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/BaseClient.js +2 -2
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +3 -1
- package/api/resources/agents/types/AgentPrompting.d.ts +4 -3
- package/api/resources/appSettings/client/Client.d.ts +2 -0
- package/api/resources/appSettings/client/Client.js +2 -0
- package/api/resources/assets/client/Client.d.ts +5 -0
- package/api/resources/assets/client/Client.js +5 -0
- package/api/resources/capabilities/client/Client.d.ts +6 -2
- package/api/resources/capabilities/client/Client.js +6 -2
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +4 -25
- package/api/resources/capabilities/types/CapabilityRunBase.d.ts +31 -0
- package/api/resources/capabilities/types/CapabilityRunBase.js +3 -0
- package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -3
- package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +7 -1
- package/api/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +6 -0
- package/api/resources/capabilities/types/ConversationKickoffSimulationInput.js +3 -0
- package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +1 -7
- package/api/resources/capabilities/types/TriggerRunDetails.d.ts +12 -0
- package/api/resources/capabilities/types/TriggerRunDetails.js +3 -0
- package/api/resources/capabilities/types/TriggerSimulationInput.d.ts +14 -0
- package/api/resources/capabilities/types/TriggerSimulationInput.js +3 -0
- package/api/resources/capabilities/types/TriggerSimulationResult.d.ts +7 -0
- package/api/resources/capabilities/types/TriggerSimulationResult.js +3 -0
- package/api/resources/capabilities/types/index.d.ts +5 -0
- package/api/resources/capabilities/types/index.js +5 -0
- package/api/resources/commons/types/AbsoluteTimeWindow.d.ts +18 -0
- package/api/resources/commons/types/AbsoluteTimeWindow.js +3 -0
- package/api/resources/commons/types/ActionEffects.d.ts +18 -0
- package/api/resources/commons/types/ActionEffects.js +3 -0
- package/api/resources/commons/types/AllUsersConversationAudience.d.ts +1 -0
- package/api/resources/commons/types/AllUsersConversationAudience.js +3 -0
- package/api/resources/commons/types/AppUser.d.ts +9 -0
- package/api/resources/commons/types/ArraySettingsSchemaEntry.d.ts +1 -2
- package/api/resources/commons/types/BotLogic.d.ts +9 -0
- package/api/resources/commons/types/BotLogicIntelligentFieldsItem.d.ts +10 -0
- package/api/resources/commons/types/ChangeAuthor.d.ts +18 -0
- package/api/resources/commons/types/ChangeAuthor.js +3 -0
- package/api/resources/commons/types/ColorSettingsSchemaEntry.d.ts +1 -2
- package/api/resources/commons/types/ConversationAnalysis.d.ts +10 -2
- package/api/resources/commons/types/ConversationAudience.d.ts +19 -0
- package/api/resources/commons/types/ConversationAudience.js +3 -0
- package/api/resources/commons/types/ConversationAudienceResponse.d.ts +16 -0
- package/api/resources/commons/types/ConversationAudienceResponse.js +3 -0
- package/api/resources/commons/types/ConversationKickoffExecutionResponse.d.ts +1 -1
- package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
- package/api/resources/commons/types/ConversationPreconditionResponse.d.ts +4 -1
- package/api/resources/commons/types/ConversationResponse.d.ts +8 -0
- package/api/resources/commons/types/ConversationSetupFields.d.ts +21 -0
- package/api/resources/commons/types/ConversationSetupFields.js +3 -0
- package/api/resources/commons/types/CrossOrganizationLevelEntityId.d.ts +7 -0
- package/api/resources/commons/types/CrossOrganizationLevelEntityId.js +3 -0
- package/api/resources/commons/types/DayOfMonthDaySelector.d.ts +4 -0
- package/api/resources/commons/types/DayOfMonthDaySelector.js +3 -0
- package/api/resources/commons/types/DayOfWeek.d.ts +10 -0
- package/api/resources/commons/types/DayOfWeek.js +13 -0
- package/api/resources/commons/types/DaySelector.d.ts +33 -0
- package/api/resources/commons/types/DaySelector.js +3 -0
- package/api/resources/commons/types/EntityIdBase.d.ts +1 -1
- package/api/resources/commons/types/EntityType.d.ts +4 -0
- package/api/resources/commons/types/EntityType.js +4 -0
- package/api/resources/commons/types/InitializeConversationResponse.d.ts +3 -0
- package/api/resources/commons/types/LeveledEntityId.d.ts +28 -0
- package/api/resources/commons/types/LeveledEntityId.js +3 -0
- package/api/resources/commons/types/Month.d.ts +15 -0
- package/api/resources/commons/types/Month.js +18 -0
- package/api/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +1 -2
- package/api/resources/commons/types/NthWeekdayDaySelector.d.ts +15 -0
- package/api/resources/commons/types/NthWeekdayDaySelector.js +3 -0
- package/api/resources/commons/types/NumberSettingsSchemaEntry.d.ts +1 -2
- package/api/resources/commons/types/Occurrence.d.ts +11 -0
- package/api/resources/commons/types/Occurrence.js +14 -0
- package/api/resources/commons/types/OrganizationLevelEntityId.d.ts +9 -0
- package/api/resources/commons/types/OrganizationLevelEntityId.js +3 -0
- package/api/resources/commons/types/RecurringTimeWindow.d.ts +21 -0
- package/api/resources/commons/types/RecurringTimeWindow.js +3 -0
- package/api/resources/commons/types/ResolutionStatus.d.ts +57 -1
- package/api/resources/commons/types/ResolutionStatus.js +57 -1
- package/api/resources/commons/types/SimulationActionBehavior.d.ts +1 -1
- package/api/resources/commons/types/SimulationContext.d.ts +1 -24
- package/api/resources/commons/types/SimulationFixedResponse.d.ts +14 -0
- package/api/resources/commons/types/SimulationFixedResponse.js +3 -0
- package/api/resources/commons/types/SimulationSetupFields.d.ts +29 -0
- package/api/resources/commons/types/SimulationSetupFields.js +3 -0
- package/api/resources/commons/types/TextSettingsSchemaEntry.d.ts +1 -2
- package/api/resources/commons/types/TimeOfDayRange.d.ts +14 -0
- package/api/resources/commons/types/TimeOfDayRange.js +3 -0
- package/api/resources/commons/types/TimePrecondition.d.ts +110 -0
- package/api/resources/commons/types/TimePrecondition.js +3 -0
- package/api/resources/commons/types/TimeWindow.d.ts +22 -0
- package/api/resources/commons/types/TimeWindow.js +3 -0
- package/api/resources/commons/types/UserData.d.ts +14 -1
- package/api/resources/commons/types/UserDataEffect.d.ts +10 -0
- package/api/resources/commons/types/UserDataEffect.js +3 -0
- package/api/resources/commons/types/UserDataPatch.d.ts +10 -0
- package/api/resources/commons/types/UserDataPatch.js +3 -0
- package/api/resources/commons/types/UsersConversationAudience.d.ts +8 -0
- package/api/resources/commons/types/UsersConversationAudience.js +3 -0
- package/api/resources/commons/types/UsersConversationAudienceResponse.d.ts +9 -0
- package/api/resources/commons/types/UsersConversationAudienceResponse.js +3 -0
- package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +7 -0
- package/api/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +3 -0
- package/api/resources/commons/types/WeekTime.d.ts +9 -0
- package/api/resources/commons/types/WeekTime.js +3 -0
- package/api/resources/commons/types/WeekdaysDaySelector.d.ts +5 -0
- package/api/resources/commons/types/WeekdaysDaySelector.js +3 -0
- package/api/resources/commons/types/WeeklyTimeWindow.d.ts +23 -0
- package/api/resources/commons/types/WeeklyTimeWindow.js +3 -0
- package/api/resources/commons/types/YearlyDatesDaySelector.d.ts +16 -0
- package/api/resources/commons/types/YearlyDatesDaySelector.js +3 -0
- package/api/resources/commons/types/index.d.ts +31 -0
- package/api/resources/commons/types/index.js +31 -0
- package/api/resources/conversation/client/Client.d.ts +71 -10
- package/api/resources/conversation/client/Client.js +71 -10
- package/api/resources/conversation/types/AskRequest.d.ts +4 -1
- package/api/resources/conversation/types/AskRequestBase.d.ts +1 -35
- package/api/resources/conversation/types/AskRequestFields.d.ts +40 -0
- package/api/resources/conversation/types/AskRequestFields.js +3 -0
- package/api/resources/conversation/types/BillableFilterField.d.ts +7 -2
- package/api/resources/conversation/types/BillableFilterField.js +7 -2
- package/api/resources/conversation/types/ConversationFilter.d.ts +11 -8
- package/api/resources/conversation/types/ConversationRequest.d.ts +26 -16
- package/api/resources/conversation/types/DeliverAskRequest.d.ts +9 -0
- package/api/resources/conversation/types/DeliverAskRequest.js +3 -0
- package/api/resources/conversation/types/DeliverContent.d.ts +19 -0
- package/api/resources/conversation/types/DeliverContent.js +3 -0
- package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -3
- package/api/resources/conversation/types/DeliverMessageBase.d.ts +11 -0
- package/api/resources/conversation/types/DeliverMessageBase.js +3 -0
- package/api/resources/conversation/types/DeliverMessageResponse.d.ts +5 -0
- package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +21 -3
- package/api/resources/conversation/types/index.d.ts +4 -0
- package/api/resources/conversation/types/index.js +4 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -0
- package/api/resources/organizations/client/Client.d.ts +0 -4
- package/api/resources/organizations/client/Client.js +0 -4
- package/api/resources/users/client/Client.d.ts +7 -1
- package/api/resources/users/client/Client.js +7 -1
- package/api/resources/users/types/AppUserSummary.d.ts +1 -1
- package/package.json +1 -1
- package/reference.md +50 -15
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -12
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +5 -13
- package/serialization/resources/capabilities/types/CapabilityRunBase.d.ts +20 -0
- package/serialization/resources/capabilities/types/CapabilityRunBase.js +52 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +9 -1
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +4 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +9 -1
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +4 -0
- package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.d.ts +9 -0
- package/serialization/resources/capabilities/types/ConversationKickoffSimulationInput.js +40 -0
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +2 -6
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +3 -6
- package/serialization/resources/capabilities/types/TriggerRunDetails.d.ts +13 -0
- package/serialization/resources/capabilities/types/TriggerRunDetails.js +45 -0
- package/serialization/resources/capabilities/types/TriggerSimulationInput.d.ts +10 -0
- package/serialization/resources/capabilities/types/TriggerSimulationInput.js +42 -0
- package/serialization/resources/capabilities/types/TriggerSimulationResult.d.ts +10 -0
- package/serialization/resources/capabilities/types/TriggerSimulationResult.js +41 -0
- package/serialization/resources/capabilities/types/index.d.ts +5 -0
- package/serialization/resources/capabilities/types/index.js +5 -0
- package/serialization/resources/commons/types/AbsoluteTimeWindow.d.ts +11 -0
- package/serialization/resources/commons/types/AbsoluteTimeWindow.js +43 -0
- package/serialization/resources/commons/types/ActionEffects.d.ts +11 -0
- package/serialization/resources/commons/types/ActionEffects.js +45 -0
- package/serialization/resources/commons/types/AllUsersConversationAudience.d.ts +7 -0
- package/serialization/resources/commons/types/AllUsersConversationAudience.js +39 -0
- package/serialization/resources/commons/types/ArraySettingsSchemaEntry.d.ts +2 -4
- package/serialization/resources/commons/types/ArraySettingsSchemaEntry.js +2 -4
- package/serialization/resources/commons/types/ChangeAuthor.d.ts +12 -0
- package/serialization/resources/commons/types/ChangeAuthor.js +44 -0
- package/serialization/resources/commons/types/ColorSettingsSchemaEntry.d.ts +2 -4
- package/serialization/resources/commons/types/ColorSettingsSchemaEntry.js +2 -4
- package/serialization/resources/commons/types/ConversationAudience.d.ts +15 -0
- package/serialization/resources/commons/types/ConversationAudience.js +49 -0
- package/serialization/resources/commons/types/ConversationAudienceResponse.d.ts +15 -0
- package/serialization/resources/commons/types/ConversationAudienceResponse.js +49 -0
- package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
- package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
- package/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +5 -1
- package/serialization/resources/commons/types/ConversationPreconditionResponse.js +2 -0
- package/serialization/resources/commons/types/ConversationResponse.d.ts +2 -0
- package/serialization/resources/commons/types/ConversationResponse.js +2 -0
- package/serialization/resources/commons/types/ConversationSetupFields.d.ts +12 -0
- package/serialization/resources/commons/types/ConversationSetupFields.js +44 -0
- package/serialization/resources/commons/types/CrossOrganizationLevelEntityId.d.ts +9 -0
- package/serialization/resources/commons/types/CrossOrganizationLevelEntityId.js +40 -0
- package/serialization/resources/commons/types/DayOfMonthDaySelector.d.ts +9 -0
- package/serialization/resources/commons/types/DayOfMonthDaySelector.js +41 -0
- package/serialization/resources/commons/types/DayOfWeek.d.ts +7 -0
- package/serialization/resources/commons/types/DayOfWeek.js +47 -0
- package/serialization/resources/commons/types/DaySelector.d.ts +23 -0
- package/serialization/resources/commons/types/DaySelector.js +53 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/commons/types/LeveledEntityId.d.ts +19 -0
- package/serialization/resources/commons/types/LeveledEntityId.js +51 -0
- package/serialization/resources/commons/types/Month.d.ts +7 -0
- package/serialization/resources/commons/types/Month.js +52 -0
- package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.d.ts +2 -4
- package/serialization/resources/commons/types/MultilineSettingsSchemaEntry.js +2 -4
- package/serialization/resources/commons/types/NthWeekdayDaySelector.d.ts +12 -0
- package/serialization/resources/commons/types/NthWeekdayDaySelector.js +44 -0
- package/serialization/resources/commons/types/NumberSettingsSchemaEntry.d.ts +2 -4
- package/serialization/resources/commons/types/NumberSettingsSchemaEntry.js +2 -4
- package/serialization/resources/commons/types/Occurrence.d.ts +7 -0
- package/serialization/resources/commons/types/Occurrence.js +39 -0
- package/serialization/resources/commons/types/OrganizationLevelEntityId.d.ts +10 -0
- package/serialization/resources/commons/types/OrganizationLevelEntityId.js +44 -0
- package/serialization/resources/commons/types/RecurringTimeWindow.d.ts +15 -0
- package/serialization/resources/commons/types/RecurringTimeWindow.js +47 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +2 -2
- package/serialization/resources/commons/types/SimulationActionBehavior.js +2 -2
- package/serialization/resources/commons/types/SimulationContext.d.ts +2 -6
- package/serialization/resources/commons/types/SimulationContext.js +5 -7
- package/serialization/resources/commons/types/SimulationFixedResponse.d.ts +11 -0
- package/serialization/resources/commons/types/SimulationFixedResponse.js +45 -0
- package/serialization/resources/commons/types/SimulationSetupFields.d.ts +13 -0
- package/serialization/resources/commons/types/SimulationSetupFields.js +45 -0
- package/serialization/resources/commons/types/TextSettingsSchemaEntry.d.ts +2 -4
- package/serialization/resources/commons/types/TextSettingsSchemaEntry.js +2 -4
- package/serialization/resources/commons/types/TimeOfDayRange.d.ts +10 -0
- package/serialization/resources/commons/types/TimeOfDayRange.js +42 -0
- package/serialization/resources/commons/types/TimePrecondition.d.ts +11 -0
- package/serialization/resources/commons/types/TimePrecondition.js +45 -0
- package/serialization/resources/commons/types/TimeWindow.d.ts +19 -0
- package/serialization/resources/commons/types/TimeWindow.js +51 -0
- package/serialization/resources/commons/types/UserDataEffect.d.ts +11 -0
- package/serialization/resources/commons/types/UserDataEffect.js +43 -0
- package/serialization/resources/commons/types/UserDataPatch.d.ts +11 -0
- package/serialization/resources/commons/types/UserDataPatch.js +43 -0
- package/serialization/resources/commons/types/UsersConversationAudience.d.ts +10 -0
- package/serialization/resources/commons/types/UsersConversationAudience.js +42 -0
- package/serialization/resources/commons/types/UsersConversationAudienceResponse.d.ts +10 -0
- package/serialization/resources/commons/types/UsersConversationAudienceResponse.js +42 -0
- package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.d.ts +12 -0
- package/serialization/resources/commons/types/ValidatedSettingsSchemaEntryBase.js +46 -0
- package/serialization/resources/commons/types/WeekTime.d.ts +11 -0
- package/serialization/resources/commons/types/WeekTime.js +43 -0
- package/serialization/resources/commons/types/WeekdaysDaySelector.d.ts +10 -0
- package/serialization/resources/commons/types/WeekdaysDaySelector.js +42 -0
- package/serialization/resources/commons/types/WeeklyTimeWindow.d.ts +12 -0
- package/serialization/resources/commons/types/WeeklyTimeWindow.js +44 -0
- package/serialization/resources/commons/types/YearlyDatesDaySelector.d.ts +10 -0
- package/serialization/resources/commons/types/YearlyDatesDaySelector.js +42 -0
- package/serialization/resources/commons/types/index.d.ts +31 -0
- package/serialization/resources/commons/types/index.js +31 -0
- package/serialization/resources/conversation/types/AskRequestBase.d.ts +2 -11
- package/serialization/resources/conversation/types/AskRequestBase.js +5 -12
- package/serialization/resources/conversation/types/AskRequestFields.d.ts +18 -0
- package/serialization/resources/conversation/types/AskRequestFields.js +50 -0
- package/serialization/resources/conversation/types/ConversationRequest.d.ts +4 -5
- package/serialization/resources/conversation/types/ConversationRequest.js +7 -6
- package/serialization/resources/conversation/types/DeliverAskRequest.d.ts +11 -0
- package/serialization/resources/conversation/types/DeliverAskRequest.js +45 -0
- package/serialization/resources/conversation/types/DeliverContent.d.ts +15 -0
- package/serialization/resources/conversation/types/DeliverContent.js +49 -0
- package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -3
- package/serialization/resources/conversation/types/DeliverConversationMessageRequest.js +5 -4
- package/serialization/resources/conversation/types/DeliverMessageBase.d.ts +12 -0
- package/serialization/resources/conversation/types/DeliverMessageBase.js +44 -0
- package/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +2 -0
- package/serialization/resources/conversation/types/DeliverMessageResponse.js +2 -0
- package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +3 -3
- package/serialization/resources/conversation/types/DeliverUserMessageRequest.js +6 -4
- package/serialization/resources/conversation/types/index.d.ts +4 -0
- package/serialization/resources/conversation/types/index.js +4 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TriggerRunDetails = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EventTriggerType_1 = require("../../commons/types/EventTriggerType");
|
|
40
|
+
const CapabilityExecutionRetryability_1 = require("./CapabilityExecutionRetryability");
|
|
41
|
+
exports.TriggerRunDetails = core.serialization.object({
|
|
42
|
+
eventType: EventTriggerType_1.EventTriggerType,
|
|
43
|
+
retryability: CapabilityExecutionRetryability_1.CapabilityExecutionRetryability.optional(),
|
|
44
|
+
httpStatus: core.serialization.number().optional(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EventRequest } from "../../commons/types/EventRequest";
|
|
5
|
+
export declare const TriggerSimulationInput: core.serialization.ObjectSchema<serializers.TriggerSimulationInput.Raw, MavenAGI.TriggerSimulationInput>;
|
|
6
|
+
export declare namespace TriggerSimulationInput {
|
|
7
|
+
interface Raw {
|
|
8
|
+
event: EventRequest.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TriggerSimulationInput = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EventRequest_1 = require("../../commons/types/EventRequest");
|
|
40
|
+
exports.TriggerSimulationInput = core.serialization.object({
|
|
41
|
+
event: EventRequest_1.EventRequest,
|
|
42
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CapabilityRunBase } from "./CapabilityRunBase";
|
|
5
|
+
import { TriggerRunDetails } from "./TriggerRunDetails";
|
|
6
|
+
export declare const TriggerSimulationResult: core.serialization.ObjectSchema<serializers.TriggerSimulationResult.Raw, MavenAGI.TriggerSimulationResult>;
|
|
7
|
+
export declare namespace TriggerSimulationResult {
|
|
8
|
+
interface Raw extends CapabilityRunBase.Raw, TriggerRunDetails.Raw {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TriggerSimulationResult = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CapabilityRunBase_1 = require("./CapabilityRunBase");
|
|
40
|
+
const TriggerRunDetails_1 = require("./TriggerRunDetails");
|
|
41
|
+
exports.TriggerSimulationResult = core.serialization.object({}).extend(CapabilityRunBase_1.CapabilityRunBase).extend(TriggerRunDetails_1.TriggerRunDetails);
|
|
@@ -7,12 +7,17 @@ export * from "./CapabilityExecutionRetryability";
|
|
|
7
7
|
export * from "./CapabilityExecutionStatus";
|
|
8
8
|
export * from "./CapabilityExecutionsSearchResponse";
|
|
9
9
|
export * from "./CapabilityResponse";
|
|
10
|
+
export * from "./CapabilityRunBase";
|
|
10
11
|
export * from "./CapabilitySimulationInput";
|
|
11
12
|
export * from "./CapabilitySimulationResult";
|
|
12
13
|
export * from "./CapabilitySortField";
|
|
13
14
|
export * from "./CapabilitySummary";
|
|
14
15
|
export * from "./ConversationContextSimulationInput";
|
|
15
16
|
export * from "./ConversationKickoffCapabilityExecution";
|
|
17
|
+
export * from "./ConversationKickoffSimulationInput";
|
|
16
18
|
export * from "./SimulatedUser";
|
|
17
19
|
export * from "./SimulatedUserData";
|
|
18
20
|
export * from "./TriggerCapabilityExecution";
|
|
21
|
+
export * from "./TriggerRunDetails";
|
|
22
|
+
export * from "./TriggerSimulationInput";
|
|
23
|
+
export * from "./TriggerSimulationResult";
|
|
@@ -23,12 +23,17 @@ __exportStar(require("./CapabilityExecutionRetryability"), exports);
|
|
|
23
23
|
__exportStar(require("./CapabilityExecutionStatus"), exports);
|
|
24
24
|
__exportStar(require("./CapabilityExecutionsSearchResponse"), exports);
|
|
25
25
|
__exportStar(require("./CapabilityResponse"), exports);
|
|
26
|
+
__exportStar(require("./CapabilityRunBase"), exports);
|
|
26
27
|
__exportStar(require("./CapabilitySimulationInput"), exports);
|
|
27
28
|
__exportStar(require("./CapabilitySimulationResult"), exports);
|
|
28
29
|
__exportStar(require("./CapabilitySortField"), exports);
|
|
29
30
|
__exportStar(require("./CapabilitySummary"), exports);
|
|
30
31
|
__exportStar(require("./ConversationContextSimulationInput"), exports);
|
|
31
32
|
__exportStar(require("./ConversationKickoffCapabilityExecution"), exports);
|
|
33
|
+
__exportStar(require("./ConversationKickoffSimulationInput"), exports);
|
|
32
34
|
__exportStar(require("./SimulatedUser"), exports);
|
|
33
35
|
__exportStar(require("./SimulatedUserData"), exports);
|
|
34
36
|
__exportStar(require("./TriggerCapabilityExecution"), exports);
|
|
37
|
+
__exportStar(require("./TriggerRunDetails"), exports);
|
|
38
|
+
__exportStar(require("./TriggerSimulationInput"), exports);
|
|
39
|
+
__exportStar(require("./TriggerSimulationResult"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const AbsoluteTimeWindow: core.serialization.ObjectSchema<serializers.AbsoluteTimeWindow.Raw, MavenAGI.AbsoluteTimeWindow>;
|
|
5
|
+
export declare namespace AbsoluteTimeWindow {
|
|
6
|
+
interface Raw {
|
|
7
|
+
timezone?: string | null;
|
|
8
|
+
start?: string | null;
|
|
9
|
+
end?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AbsoluteTimeWindow = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.AbsoluteTimeWindow = core.serialization.object({
|
|
40
|
+
timezone: core.serialization.string().optional(),
|
|
41
|
+
start: core.serialization.date().optional(),
|
|
42
|
+
end: core.serialization.date().optional(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { UserDataEffect } from "./UserDataEffect";
|
|
5
|
+
export declare const ActionEffects: core.serialization.ObjectSchema<serializers.ActionEffects.Raw, MavenAGI.ActionEffects>;
|
|
6
|
+
export declare namespace ActionEffects {
|
|
7
|
+
interface Raw {
|
|
8
|
+
conversationMetadata?: Record<string, string> | null;
|
|
9
|
+
userData?: UserDataEffect.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ActionEffects = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const UserDataEffect_1 = require("./UserDataEffect");
|
|
40
|
+
exports.ActionEffects = core.serialization.object({
|
|
41
|
+
conversationMetadata: core.serialization
|
|
42
|
+
.record(core.serialization.string(), core.serialization.string())
|
|
43
|
+
.optional(),
|
|
44
|
+
userData: UserDataEffect_1.UserDataEffect.optional(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const AllUsersConversationAudience: core.serialization.ObjectSchema<serializers.AllUsersConversationAudience.Raw, MavenAGI.AllUsersConversationAudience>;
|
|
5
|
+
export declare namespace AllUsersConversationAudience {
|
|
6
|
+
type Raw = {};
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AllUsersConversationAudience = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.AllUsersConversationAudience = core.serialization.object({});
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
-
import {
|
|
5
|
-
import { SettingsSchemaValidation } from "./SettingsSchemaValidation";
|
|
4
|
+
import { ValidatedSettingsSchemaEntryBase } from "./ValidatedSettingsSchemaEntryBase";
|
|
6
5
|
export declare const ArraySettingsSchemaEntry: core.serialization.ObjectSchema<serializers.ArraySettingsSchemaEntry.Raw, MavenAGI.ArraySettingsSchemaEntry>;
|
|
7
6
|
export declare namespace ArraySettingsSchemaEntry {
|
|
8
|
-
interface Raw extends
|
|
7
|
+
interface Raw extends ValidatedSettingsSchemaEntryBase.Raw {
|
|
9
8
|
defaultValue?: string[] | null;
|
|
10
|
-
validation?: SettingsSchemaValidation.Raw | null;
|
|
11
9
|
}
|
|
12
10
|
}
|
|
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ArraySettingsSchemaEntry = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const
|
|
40
|
-
const SettingsSchemaValidation_1 = require("./SettingsSchemaValidation");
|
|
39
|
+
const ValidatedSettingsSchemaEntryBase_1 = require("./ValidatedSettingsSchemaEntryBase");
|
|
41
40
|
exports.ArraySettingsSchemaEntry = core.serialization
|
|
42
41
|
.object({
|
|
43
42
|
defaultValue: core.serialization.list(core.serialization.string()).optional(),
|
|
44
|
-
validation: SettingsSchemaValidation_1.SettingsSchemaValidation.optional(),
|
|
45
43
|
})
|
|
46
|
-
.extend(
|
|
44
|
+
.extend(ValidatedSettingsSchemaEntryBase_1.ValidatedSettingsSchemaEntryBase);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { LeveledEntityId } from "./LeveledEntityId";
|
|
5
|
+
export declare const ChangeAuthor: core.serialization.ObjectSchema<serializers.ChangeAuthor.Raw, MavenAGI.ChangeAuthor>;
|
|
6
|
+
export declare namespace ChangeAuthor {
|
|
7
|
+
interface Raw {
|
|
8
|
+
mavenUserId?: LeveledEntityId.Raw | null;
|
|
9
|
+
name?: string | null;
|
|
10
|
+
actingAppId?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ChangeAuthor = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const LeveledEntityId_1 = require("./LeveledEntityId");
|
|
40
|
+
exports.ChangeAuthor = core.serialization.object({
|
|
41
|
+
mavenUserId: LeveledEntityId_1.LeveledEntityId.optional(),
|
|
42
|
+
name: core.serialization.string().optional(),
|
|
43
|
+
actingAppId: core.serialization.string().optional(),
|
|
44
|
+
});
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
-
import {
|
|
5
|
-
import { SettingsSchemaValidation } from "./SettingsSchemaValidation";
|
|
4
|
+
import { ValidatedSettingsSchemaEntryBase } from "./ValidatedSettingsSchemaEntryBase";
|
|
6
5
|
export declare const ColorSettingsSchemaEntry: core.serialization.ObjectSchema<serializers.ColorSettingsSchemaEntry.Raw, MavenAGI.ColorSettingsSchemaEntry>;
|
|
7
6
|
export declare namespace ColorSettingsSchemaEntry {
|
|
8
|
-
interface Raw extends
|
|
7
|
+
interface Raw extends ValidatedSettingsSchemaEntryBase.Raw {
|
|
9
8
|
defaultValue?: string | null;
|
|
10
|
-
validation?: SettingsSchemaValidation.Raw | null;
|
|
11
9
|
}
|
|
12
10
|
}
|
|
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ColorSettingsSchemaEntry = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const
|
|
40
|
-
const SettingsSchemaValidation_1 = require("./SettingsSchemaValidation");
|
|
39
|
+
const ValidatedSettingsSchemaEntryBase_1 = require("./ValidatedSettingsSchemaEntryBase");
|
|
41
40
|
exports.ColorSettingsSchemaEntry = core.serialization
|
|
42
41
|
.object({
|
|
43
42
|
defaultValue: core.serialization.string().optional(),
|
|
44
|
-
validation: SettingsSchemaValidation_1.SettingsSchemaValidation.optional(),
|
|
45
43
|
})
|
|
46
|
-
.extend(
|
|
44
|
+
.extend(ValidatedSettingsSchemaEntryBase_1.ValidatedSettingsSchemaEntryBase);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AllUsersConversationAudience } from "./AllUsersConversationAudience";
|
|
5
|
+
import { UsersConversationAudience } from "./UsersConversationAudience";
|
|
6
|
+
export declare const ConversationAudience: core.serialization.Schema<serializers.ConversationAudience.Raw, MavenAGI.ConversationAudience>;
|
|
7
|
+
export declare namespace ConversationAudience {
|
|
8
|
+
type Raw = ConversationAudience.AllUsers | ConversationAudience.Users;
|
|
9
|
+
interface AllUsers extends AllUsersConversationAudience.Raw {
|
|
10
|
+
type: "allUsers";
|
|
11
|
+
}
|
|
12
|
+
interface Users extends UsersConversationAudience.Raw {
|
|
13
|
+
type: "users";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationAudience = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AllUsersConversationAudience_1 = require("./AllUsersConversationAudience");
|
|
40
|
+
const UsersConversationAudience_1 = require("./UsersConversationAudience");
|
|
41
|
+
exports.ConversationAudience = core.serialization
|
|
42
|
+
.union("type", {
|
|
43
|
+
allUsers: AllUsersConversationAudience_1.AllUsersConversationAudience,
|
|
44
|
+
users: UsersConversationAudience_1.UsersConversationAudience,
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AllUsersConversationAudience } from "./AllUsersConversationAudience";
|
|
5
|
+
import { UsersConversationAudienceResponse } from "./UsersConversationAudienceResponse";
|
|
6
|
+
export declare const ConversationAudienceResponse: core.serialization.Schema<serializers.ConversationAudienceResponse.Raw, MavenAGI.ConversationAudienceResponse>;
|
|
7
|
+
export declare namespace ConversationAudienceResponse {
|
|
8
|
+
type Raw = ConversationAudienceResponse.AllUsers | ConversationAudienceResponse.Users;
|
|
9
|
+
interface AllUsers extends AllUsersConversationAudience.Raw {
|
|
10
|
+
type: "allUsers";
|
|
11
|
+
}
|
|
12
|
+
interface Users extends UsersConversationAudienceResponse.Raw {
|
|
13
|
+
type: "users";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationAudienceResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AllUsersConversationAudience_1 = require("./AllUsersConversationAudience");
|
|
40
|
+
const UsersConversationAudienceResponse_1 = require("./UsersConversationAudienceResponse");
|
|
41
|
+
exports.ConversationAudienceResponse = core.serialization
|
|
42
|
+
.union("type", {
|
|
43
|
+
allUsers: AllUsersConversationAudience_1.AllUsersConversationAudience,
|
|
44
|
+
users: UsersConversationAudienceResponse_1.UsersConversationAudienceResponse,
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|
|
@@ -9,9 +9,10 @@ import { IntelligentFieldPrecondition } from "./IntelligentFieldPrecondition";
|
|
|
9
9
|
import { MetadataPrecondition } from "./MetadataPrecondition";
|
|
10
10
|
import { ResponseConfigPrecondition } from "./ResponseConfigPrecondition";
|
|
11
11
|
import { TagsPrecondition } from "./TagsPrecondition";
|
|
12
|
+
import { TimePrecondition } from "./TimePrecondition";
|
|
12
13
|
export declare const ConversationPrecondition: core.serialization.Schema<serializers.ConversationPrecondition.Raw, MavenAGI.ConversationPrecondition>;
|
|
13
14
|
export declare namespace ConversationPrecondition {
|
|
14
|
-
type Raw = ConversationPrecondition.Tags | ConversationPrecondition.Metadata | ConversationPrecondition.ActionExecuted | ConversationPrecondition.ResponseConfig | ConversationPrecondition.App | ConversationPrecondition.ConversationState | ConversationPrecondition.ConversationMode | ConversationPrecondition.IntelligentField;
|
|
15
|
+
type Raw = ConversationPrecondition.Tags | ConversationPrecondition.Metadata | ConversationPrecondition.ActionExecuted | ConversationPrecondition.ResponseConfig | ConversationPrecondition.App | ConversationPrecondition.ConversationState | ConversationPrecondition.ConversationMode | ConversationPrecondition.IntelligentField | ConversationPrecondition.Time;
|
|
15
16
|
interface Tags extends TagsPrecondition.Raw {
|
|
16
17
|
conversationPreconditionType: "tags";
|
|
17
18
|
}
|
|
@@ -36,4 +37,7 @@ export declare namespace ConversationPrecondition {
|
|
|
36
37
|
interface IntelligentField extends IntelligentFieldPrecondition.Raw {
|
|
37
38
|
conversationPreconditionType: "intelligentField";
|
|
38
39
|
}
|
|
40
|
+
interface Time extends TimePrecondition.Raw {
|
|
41
|
+
conversationPreconditionType: "time";
|
|
42
|
+
}
|
|
39
43
|
}
|