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
|
@@ -44,6 +44,7 @@ const IntelligentFieldPrecondition_1 = require("./IntelligentFieldPrecondition")
|
|
|
44
44
|
const MetadataPrecondition_1 = require("./MetadataPrecondition");
|
|
45
45
|
const ResponseConfigPrecondition_1 = require("./ResponseConfigPrecondition");
|
|
46
46
|
const TagsPrecondition_1 = require("./TagsPrecondition");
|
|
47
|
+
const TimePrecondition_1 = require("./TimePrecondition");
|
|
47
48
|
exports.ConversationPrecondition = core.serialization
|
|
48
49
|
.union("conversationPreconditionType", {
|
|
49
50
|
tags: TagsPrecondition_1.TagsPrecondition,
|
|
@@ -54,6 +55,7 @@ exports.ConversationPrecondition = core.serialization
|
|
|
54
55
|
conversationState: ConversationStatePrecondition_1.ConversationStatePrecondition,
|
|
55
56
|
conversationMode: ConversationModePrecondition_1.ConversationModePrecondition,
|
|
56
57
|
intelligentField: IntelligentFieldPrecondition_1.IntelligentFieldPrecondition,
|
|
58
|
+
time: TimePrecondition_1.TimePrecondition,
|
|
57
59
|
})
|
|
58
60
|
.transform({
|
|
59
61
|
transform: (value) => value,
|
|
@@ -9,9 +9,10 @@ import { IntelligentFieldPreconditionResponse } from "./IntelligentFieldPrecondi
|
|
|
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 ConversationPreconditionResponse: core.serialization.Schema<serializers.ConversationPreconditionResponse.Raw, MavenAGI.ConversationPreconditionResponse>;
|
|
13
14
|
export declare namespace ConversationPreconditionResponse {
|
|
14
|
-
type Raw = ConversationPreconditionResponse.Tags | ConversationPreconditionResponse.Metadata | ConversationPreconditionResponse.ActionExecuted | ConversationPreconditionResponse.ResponseConfig | ConversationPreconditionResponse.App | ConversationPreconditionResponse.ConversationState | ConversationPreconditionResponse.ConversationMode | ConversationPreconditionResponse.IntelligentField;
|
|
15
|
+
type Raw = ConversationPreconditionResponse.Tags | ConversationPreconditionResponse.Metadata | ConversationPreconditionResponse.ActionExecuted | ConversationPreconditionResponse.ResponseConfig | ConversationPreconditionResponse.App | ConversationPreconditionResponse.ConversationState | ConversationPreconditionResponse.ConversationMode | ConversationPreconditionResponse.IntelligentField | ConversationPreconditionResponse.Time;
|
|
15
16
|
interface Tags extends TagsPrecondition.Raw {
|
|
16
17
|
conversationPreconditionType: "tags";
|
|
17
18
|
}
|
|
@@ -36,4 +37,7 @@ export declare namespace ConversationPreconditionResponse {
|
|
|
36
37
|
interface IntelligentField extends IntelligentFieldPreconditionResponse.Raw {
|
|
37
38
|
conversationPreconditionType: "intelligentField";
|
|
38
39
|
}
|
|
40
|
+
interface Time extends TimePrecondition.Raw {
|
|
41
|
+
conversationPreconditionType: "time";
|
|
42
|
+
}
|
|
39
43
|
}
|
|
@@ -44,6 +44,7 @@ const IntelligentFieldPreconditionResponse_1 = require("./IntelligentFieldPrecon
|
|
|
44
44
|
const MetadataPrecondition_1 = require("./MetadataPrecondition");
|
|
45
45
|
const ResponseConfigPrecondition_1 = require("./ResponseConfigPrecondition");
|
|
46
46
|
const TagsPrecondition_1 = require("./TagsPrecondition");
|
|
47
|
+
const TimePrecondition_1 = require("./TimePrecondition");
|
|
47
48
|
exports.ConversationPreconditionResponse = core.serialization
|
|
48
49
|
.union("conversationPreconditionType", {
|
|
49
50
|
tags: TagsPrecondition_1.TagsPrecondition,
|
|
@@ -54,6 +55,7 @@ exports.ConversationPreconditionResponse = core.serialization
|
|
|
54
55
|
conversationState: ConversationStatePrecondition_1.ConversationStatePrecondition,
|
|
55
56
|
conversationMode: ConversationModePrecondition_1.ConversationModePrecondition,
|
|
56
57
|
intelligentField: IntelligentFieldPreconditionResponse_1.IntelligentFieldPreconditionResponse,
|
|
58
|
+
time: TimePrecondition_1.TimePrecondition,
|
|
57
59
|
})
|
|
58
60
|
.transform({
|
|
59
61
|
transform: (value) => value,
|
|
@@ -3,11 +3,13 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AttachmentResponse } from "./AttachmentResponse";
|
|
5
5
|
import { BaseConversationResponse } from "./BaseConversationResponse";
|
|
6
|
+
import { ConversationAudienceResponse } from "./ConversationAudienceResponse";
|
|
6
7
|
import { ConversationMessageResponse } from "./ConversationMessageResponse";
|
|
7
8
|
export declare const ConversationResponse: core.serialization.ObjectSchema<serializers.ConversationResponse.Raw, MavenAGI.ConversationResponse>;
|
|
8
9
|
export declare namespace ConversationResponse {
|
|
9
10
|
interface Raw extends BaseConversationResponse.Raw {
|
|
10
11
|
messages: ConversationMessageResponse.Raw[];
|
|
11
12
|
attachments: AttachmentResponse.Raw[];
|
|
13
|
+
audience: ConversationAudienceResponse.Raw;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -38,10 +38,12 @@ exports.ConversationResponse = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AttachmentResponse_1 = require("./AttachmentResponse");
|
|
40
40
|
const BaseConversationResponse_1 = require("./BaseConversationResponse");
|
|
41
|
+
const ConversationAudienceResponse_1 = require("./ConversationAudienceResponse");
|
|
41
42
|
const ConversationMessageResponse_1 = require("./ConversationMessageResponse");
|
|
42
43
|
exports.ConversationResponse = core.serialization
|
|
43
44
|
.object({
|
|
44
45
|
messages: core.serialization.list(ConversationMessageResponse_1.ConversationMessageResponse),
|
|
45
46
|
attachments: core.serialization.list(AttachmentResponse_1.AttachmentResponse),
|
|
47
|
+
audience: ConversationAudienceResponse_1.ConversationAudienceResponse,
|
|
46
48
|
})
|
|
47
49
|
.extend(BaseConversationResponse_1.BaseConversationResponse);
|
|
@@ -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 { ResponseConfig } from "./ResponseConfig";
|
|
5
|
+
export declare const ConversationSetupFields: core.serialization.ObjectSchema<serializers.ConversationSetupFields.Raw, MavenAGI.ConversationSetupFields>;
|
|
6
|
+
export declare namespace ConversationSetupFields {
|
|
7
|
+
interface Raw {
|
|
8
|
+
responseConfig?: ResponseConfig.Raw | null;
|
|
9
|
+
tags?: string[] | null;
|
|
10
|
+
metadata?: Record<string, 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.ConversationSetupFields = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ResponseConfig_1 = require("./ResponseConfig");
|
|
40
|
+
exports.ConversationSetupFields = core.serialization.object({
|
|
41
|
+
responseConfig: ResponseConfig_1.ResponseConfig.optional(),
|
|
42
|
+
tags: core.serialization.set(core.serialization.string()).optional(),
|
|
43
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
5
|
+
export declare const CrossOrganizationLevelEntityId: core.serialization.ObjectSchema<serializers.CrossOrganizationLevelEntityId.Raw, MavenAGI.CrossOrganizationLevelEntityId>;
|
|
6
|
+
export declare namespace CrossOrganizationLevelEntityId {
|
|
7
|
+
interface Raw extends EntityIdWithoutAgent.Raw {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.CrossOrganizationLevelEntityId = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
40
|
+
exports.CrossOrganizationLevelEntityId = core.serialization.object({}).extend(EntityIdWithoutAgent_1.EntityIdWithoutAgent);
|
|
@@ -0,0 +1,9 @@
|
|
|
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 DayOfMonthDaySelector: core.serialization.ObjectSchema<serializers.DayOfMonthDaySelector.Raw, MavenAGI.DayOfMonthDaySelector>;
|
|
5
|
+
export declare namespace DayOfMonthDaySelector {
|
|
6
|
+
interface Raw {
|
|
7
|
+
days: number[];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -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.DayOfMonthDaySelector = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.DayOfMonthDaySelector = core.serialization.object({
|
|
40
|
+
days: core.serialization.set(core.serialization.number()),
|
|
41
|
+
});
|
|
@@ -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 DayOfWeek: core.serialization.Schema<serializers.DayOfWeek.Raw, MavenAGI.DayOfWeek>;
|
|
5
|
+
export declare namespace DayOfWeek {
|
|
6
|
+
type Raw = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
7
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.DayOfWeek = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.DayOfWeek = core.serialization.forwardCompatibleEnum_([
|
|
40
|
+
"MONDAY",
|
|
41
|
+
"TUESDAY",
|
|
42
|
+
"WEDNESDAY",
|
|
43
|
+
"THURSDAY",
|
|
44
|
+
"FRIDAY",
|
|
45
|
+
"SATURDAY",
|
|
46
|
+
"SUNDAY",
|
|
47
|
+
]);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { DayOfMonthDaySelector } from "./DayOfMonthDaySelector";
|
|
5
|
+
import { NthWeekdayDaySelector } from "./NthWeekdayDaySelector";
|
|
6
|
+
import { WeekdaysDaySelector } from "./WeekdaysDaySelector";
|
|
7
|
+
import { YearlyDatesDaySelector } from "./YearlyDatesDaySelector";
|
|
8
|
+
export declare const DaySelector: core.serialization.Schema<serializers.DaySelector.Raw, MavenAGI.DaySelector>;
|
|
9
|
+
export declare namespace DaySelector {
|
|
10
|
+
type Raw = DaySelector.Weekdays | DaySelector.DayOfMonth | DaySelector.NthWeekday | DaySelector.YearlyDates;
|
|
11
|
+
interface Weekdays extends WeekdaysDaySelector.Raw {
|
|
12
|
+
dayType: "weekdays";
|
|
13
|
+
}
|
|
14
|
+
interface DayOfMonth extends DayOfMonthDaySelector.Raw {
|
|
15
|
+
dayType: "dayOfMonth";
|
|
16
|
+
}
|
|
17
|
+
interface NthWeekday extends NthWeekdayDaySelector.Raw {
|
|
18
|
+
dayType: "nthWeekday";
|
|
19
|
+
}
|
|
20
|
+
interface YearlyDates extends YearlyDatesDaySelector.Raw {
|
|
21
|
+
dayType: "yearlyDates";
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.DaySelector = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const DayOfMonthDaySelector_1 = require("./DayOfMonthDaySelector");
|
|
40
|
+
const NthWeekdayDaySelector_1 = require("./NthWeekdayDaySelector");
|
|
41
|
+
const WeekdaysDaySelector_1 = require("./WeekdaysDaySelector");
|
|
42
|
+
const YearlyDatesDaySelector_1 = require("./YearlyDatesDaySelector");
|
|
43
|
+
exports.DaySelector = core.serialization
|
|
44
|
+
.union("dayType", {
|
|
45
|
+
weekdays: WeekdaysDaySelector_1.WeekdaysDaySelector,
|
|
46
|
+
dayOfMonth: DayOfMonthDaySelector_1.DayOfMonthDaySelector,
|
|
47
|
+
nthWeekday: NthWeekdayDaySelector_1.NthWeekdayDaySelector,
|
|
48
|
+
yearlyDates: YearlyDatesDaySelector_1.YearlyDatesDaySelector,
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => value,
|
|
52
|
+
untransform: (value) => value,
|
|
53
|
+
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const EntityType: core.serialization.Schema<serializers.EntityType.Raw, MavenAGI.EntityType>;
|
|
5
5
|
export declare namespace EntityType {
|
|
6
|
-
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "AGENT_USER" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "ASSET" | "TRAFFIC_CONFIG" | "SCENARIO" | "SCENARIO_SUITE" | "SCENARIO_RUN" | "FUNCTION" | "FUNCTION_VERSION";
|
|
6
|
+
type Raw = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "AGENT_USER" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX" | "SEGMENT" | "CUSTOMER" | "INTELLIGENT_FIELD" | "CHARTER" | "CONVERSATION_KICKOFF" | "AGENT_VARIANT" | "ASSET" | "TRAFFIC_CONFIG" | "SCENARIO" | "SCENARIO_SUITE" | "SCENARIO_RUN" | "FUNCTION" | "FUNCTION_VERSION" | "MAVEN_USER";
|
|
7
7
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CrossOrganizationLevelEntityId } from "./CrossOrganizationLevelEntityId";
|
|
5
|
+
import { EntityId } from "./EntityId";
|
|
6
|
+
import { OrganizationLevelEntityId } from "./OrganizationLevelEntityId";
|
|
7
|
+
export declare const LeveledEntityId: core.serialization.Schema<serializers.LeveledEntityId.Raw, MavenAGI.LeveledEntityId>;
|
|
8
|
+
export declare namespace LeveledEntityId {
|
|
9
|
+
type Raw = LeveledEntityId.Agent | LeveledEntityId.Organization | LeveledEntityId.CrossOrganization;
|
|
10
|
+
interface Agent extends EntityId.Raw {
|
|
11
|
+
level: "AGENT";
|
|
12
|
+
}
|
|
13
|
+
interface Organization extends OrganizationLevelEntityId.Raw {
|
|
14
|
+
level: "ORGANIZATION";
|
|
15
|
+
}
|
|
16
|
+
interface CrossOrganization extends CrossOrganizationLevelEntityId.Raw {
|
|
17
|
+
level: "CROSS_ORGANIZATION";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.LeveledEntityId = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CrossOrganizationLevelEntityId_1 = require("./CrossOrganizationLevelEntityId");
|
|
40
|
+
const EntityId_1 = require("./EntityId");
|
|
41
|
+
const OrganizationLevelEntityId_1 = require("./OrganizationLevelEntityId");
|
|
42
|
+
exports.LeveledEntityId = core.serialization
|
|
43
|
+
.union("level", {
|
|
44
|
+
AGENT: EntityId_1.EntityId,
|
|
45
|
+
ORGANIZATION: OrganizationLevelEntityId_1.OrganizationLevelEntityId,
|
|
46
|
+
CROSS_ORGANIZATION: CrossOrganizationLevelEntityId_1.CrossOrganizationLevelEntityId,
|
|
47
|
+
})
|
|
48
|
+
.transform({
|
|
49
|
+
transform: (value) => value,
|
|
50
|
+
untransform: (value) => value,
|
|
51
|
+
});
|
|
@@ -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 Month: core.serialization.Schema<serializers.Month.Raw, MavenAGI.Month>;
|
|
5
|
+
export declare namespace Month {
|
|
6
|
+
type Raw = "JANUARY" | "FEBRUARY" | "MARCH" | "APRIL" | "MAY" | "JUNE" | "JULY" | "AUGUST" | "SEPTEMBER" | "OCTOBER" | "NOVEMBER" | "DECEMBER";
|
|
7
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.Month = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.Month = core.serialization.forwardCompatibleEnum_([
|
|
40
|
+
"JANUARY",
|
|
41
|
+
"FEBRUARY",
|
|
42
|
+
"MARCH",
|
|
43
|
+
"APRIL",
|
|
44
|
+
"MAY",
|
|
45
|
+
"JUNE",
|
|
46
|
+
"JULY",
|
|
47
|
+
"AUGUST",
|
|
48
|
+
"SEPTEMBER",
|
|
49
|
+
"OCTOBER",
|
|
50
|
+
"NOVEMBER",
|
|
51
|
+
"DECEMBER",
|
|
52
|
+
]);
|
|
@@ -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 MultilineSettingsSchemaEntry: core.serialization.ObjectSchema<serializers.MultilineSettingsSchemaEntry.Raw, MavenAGI.MultilineSettingsSchemaEntry>;
|
|
7
6
|
export declare namespace MultilineSettingsSchemaEntry {
|
|
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.MultilineSettingsSchemaEntry = 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.MultilineSettingsSchemaEntry = 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,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { DayOfWeek } from "./DayOfWeek";
|
|
5
|
+
import { Occurrence } from "./Occurrence";
|
|
6
|
+
export declare const NthWeekdayDaySelector: core.serialization.ObjectSchema<serializers.NthWeekdayDaySelector.Raw, MavenAGI.NthWeekdayDaySelector>;
|
|
7
|
+
export declare namespace NthWeekdayDaySelector {
|
|
8
|
+
interface Raw {
|
|
9
|
+
daysOfWeek: DayOfWeek.Raw[];
|
|
10
|
+
occurrences: Occurrence.Raw[];
|
|
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.NthWeekdayDaySelector = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const DayOfWeek_1 = require("./DayOfWeek");
|
|
40
|
+
const Occurrence_1 = require("./Occurrence");
|
|
41
|
+
exports.NthWeekdayDaySelector = core.serialization.object({
|
|
42
|
+
daysOfWeek: core.serialization.set(DayOfWeek_1.DayOfWeek),
|
|
43
|
+
occurrences: core.serialization.set(Occurrence_1.Occurrence),
|
|
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 NumberSettingsSchemaEntry: core.serialization.ObjectSchema<serializers.NumberSettingsSchemaEntry.Raw, MavenAGI.NumberSettingsSchemaEntry>;
|
|
7
6
|
export declare namespace NumberSettingsSchemaEntry {
|
|
8
|
-
interface Raw extends
|
|
7
|
+
interface Raw extends ValidatedSettingsSchemaEntryBase.Raw {
|
|
9
8
|
defaultValue?: number | null;
|
|
10
|
-
validation?: SettingsSchemaValidation.Raw | null;
|
|
11
9
|
}
|
|
12
10
|
}
|