mavenagi 1.2.72 → 1.2.73
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/Client.d.ts +3 -0
- package/Client.js +47 -42
- package/api/resources/agentVariants/client/Client.d.ts +484 -0
- package/api/resources/agentVariants/client/Client.js +1888 -0
- package/api/resources/agentVariants/client/index.d.ts +1 -0
- package/api/resources/agentVariants/client/index.js +17 -0
- package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +27 -0
- package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.d.ts +10 -0
- package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +17 -0
- package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +13 -0
- package/api/resources/agentVariants/client/requests/GetSettingEditRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.d.ts +12 -0
- package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +15 -0
- package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/index.d.ts +10 -0
- package/api/resources/agentVariants/client/requests/index.js +2 -0
- package/api/resources/agentVariants/exports.d.ts +2 -0
- package/api/resources/agentVariants/exports.js +21 -0
- package/api/resources/agentVariants/index.d.ts +2 -0
- package/api/resources/agentVariants/index.js +18 -0
- package/api/resources/agentVariants/types/AddedCharterDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/AddedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentSettingEdits.d.ts +16 -0
- package/api/resources/agentVariants/types/AgentSettingEdits.js +3 -0
- package/api/resources/agentVariants/types/AgentSettingsDiff.d.ts +12 -0
- package/api/resources/agentVariants/types/AgentSettingsDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
- package/api/resources/agentVariants/types/AgentVariantCompareRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +78 -0
- package/api/resources/agentVariants/types/AgentVariantCompareResponse.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantDiff.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantFilter.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantFilter.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantListRequest.d.ts +3 -0
- package/api/resources/agentVariants/types/AgentVariantListRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantRequest.d.ts +28 -0
- package/api/resources/agentVariants/types/AgentVariantRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.d.ts +43 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantSearchResult.d.ts +7 -0
- package/api/resources/agentVariants/types/AgentVariantSearchResult.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantSortField.d.ts +6 -0
- package/api/resources/agentVariants/types/AgentVariantSortField.js +9 -0
- package/api/resources/agentVariants/types/AgentVariantStatus.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantStatus.js +12 -0
- package/api/resources/agentVariants/types/AgentVariantTraffic.d.ts +7 -0
- package/api/resources/agentVariants/types/AgentVariantTraffic.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +6 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +63 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchResponse.js +3 -0
- package/api/resources/agentVariants/types/CharterDiff.d.ts +29 -0
- package/api/resources/agentVariants/types/CharterDiff.js +3 -0
- package/api/resources/agentVariants/types/CharterEntityEdit.d.ts +5 -0
- package/api/resources/agentVariants/types/CharterEntityEdit.js +3 -0
- package/api/resources/agentVariants/types/DeletedCharterDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/DeletedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/EntityEdit.d.ts +16 -0
- package/api/resources/agentVariants/types/EntityEdit.js +3 -0
- package/api/resources/agentVariants/types/EntityEditResponse.d.ts +7 -0
- package/api/resources/agentVariants/types/EntityEditResponse.js +3 -0
- package/api/resources/agentVariants/types/IntelligentFieldDiff.d.ts +27 -0
- package/api/resources/agentVariants/types/IntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +5 -0
- package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.js +3 -0
- package/api/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +42 -0
- package/api/resources/agentVariants/types/ListAgentVariantsResponse.js +3 -0
- package/api/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +5 -0
- package/api/resources/agentVariants/types/ListTrafficConfigsResponse.js +3 -0
- package/api/resources/agentVariants/types/ModifiedCharterDiff.d.ts +7 -0
- package/api/resources/agentVariants/types/ModifiedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +7 -0
- package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/TrafficAllocation.d.ts +15 -0
- package/api/resources/agentVariants/types/TrafficAllocation.js +3 -0
- package/api/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
- package/api/resources/agentVariants/types/TrafficConfigResponse.js +3 -0
- package/api/resources/agentVariants/types/TrafficFraction.d.ts +4 -0
- package/api/resources/agentVariants/types/TrafficFraction.js +3 -0
- package/api/resources/agentVariants/types/TrafficRule.d.ts +9 -0
- package/api/resources/agentVariants/types/TrafficRule.js +3 -0
- package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +7 -0
- package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.js +3 -0
- package/api/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +12 -0
- package/api/resources/agentVariants/types/WorkingSetDiffResponse.js +3 -0
- package/api/resources/agentVariants/types/index.d.ts +35 -0
- package/api/resources/agentVariants/types/index.js +51 -0
- package/api/resources/agents/client/Client.d.ts +62 -0
- package/api/resources/agents/client/Client.js +234 -0
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +8 -3
- package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.d.ts +10 -0
- package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.js +3 -0
- package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +17 -0
- package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +3 -0
- package/api/resources/agents/client/requests/index.d.ts +2 -0
- package/api/resources/agents/types/Agent.d.ts +9 -1
- package/api/resources/agents/types/AgentMigrations.d.ts +20 -0
- package/api/resources/agents/types/AgentMigrations.js +3 -0
- package/api/resources/agents/types/AgentMigrationsPatch.d.ts +7 -0
- package/api/resources/agents/types/AgentMigrationsPatch.js +3 -0
- package/api/resources/agents/types/AgentPrompting.d.ts +1 -1
- package/api/resources/agents/types/AgentSettingName.d.ts +6 -0
- package/api/resources/agents/types/AgentSettingName.js +9 -0
- package/api/resources/agents/types/VersionedAgentSettings.d.ts +13 -0
- package/api/resources/agents/types/VersionedAgentSettings.js +3 -0
- package/api/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +5 -0
- package/api/resources/agents/types/VersionedEntityTypeOrSetting.js +3 -0
- package/api/resources/agents/types/index.d.ts +5 -0
- package/api/resources/agents/types/index.js +5 -0
- package/api/resources/analytics/client/Client.d.ts +1 -1
- package/api/resources/analytics/client/Client.js +1 -1
- package/api/resources/analytics/types/AgentUserTableRequest.d.ts +2 -0
- package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +7 -1
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +7 -1
- package/api/resources/analytics/types/EventTableRequest.d.ts +1 -0
- package/api/resources/analytics/types/GroupByBase.d.ts +1 -1
- package/api/resources/analytics/types/TimeInterval.d.ts +11 -0
- package/api/resources/analytics/types/TimeInterval.js +11 -0
- package/api/resources/appDirectory/client/Client.d.ts +41 -2
- package/api/resources/appDirectory/client/Client.js +49 -2
- package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +27 -5
- package/api/resources/appSettings/client/Client.d.ts +11 -4
- package/api/resources/appSettings/client/Client.js +11 -4
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +4 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +4 -0
- package/api/resources/charters/client/Client.d.ts +8 -1
- package/api/resources/charters/client/Client.js +8 -1
- package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +7 -4
- package/api/resources/charters/types/CharterBase.d.ts +5 -3
- package/api/resources/charters/types/CharterEdit.d.ts +18 -0
- package/api/resources/charters/types/CharterEdit.js +3 -0
- package/api/resources/charters/types/CharterPayload.d.ts +10 -0
- package/api/resources/charters/types/CharterPayload.js +3 -0
- package/api/resources/charters/types/CharterResponse.d.ts +17 -2
- package/api/resources/charters/types/CharterSummary.d.ts +17 -2
- package/api/resources/charters/types/index.d.ts +2 -0
- package/api/resources/charters/types/index.js +2 -0
- package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -0
- package/api/resources/commons/types/BotResponseMetadata.d.ts +5 -0
- package/api/resources/commons/types/CapabilityBase.d.ts +4 -0
- package/api/resources/commons/types/ErrorReason.d.ts +2 -2
- package/api/resources/commons/types/ErrorReason.js +2 -2
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +9 -1
- package/api/resources/commons/types/ResolutionStatus.d.ts +4 -4
- package/api/resources/commons/types/ResolutionStatus.js +4 -4
- package/api/resources/commons/types/SimulationSetupFields.d.ts +2 -3
- package/api/resources/commons/types/SystemEventName.d.ts +6 -0
- package/api/resources/commons/types/SystemEventName.js +6 -0
- package/api/resources/conversation/client/Client.d.ts +19 -0
- package/api/resources/conversation/client/Client.js +19 -0
- package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.js +1 -1
- package/api/resources/conversation/types/ConversationRequest.d.ts +2 -1
- package/api/resources/conversation/types/NumericConversationField.d.ts +13 -0
- package/api/resources/conversation/types/NumericConversationField.js +13 -0
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +3 -2
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/intelligentFields/client/Client.d.ts +13 -4
- package/api/resources/intelligentFields/client/Client.js +13 -4
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +16 -0
- package/api/resources/intelligentFields/types/IntelligentFieldEdit.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +12 -0
- package/api/resources/intelligentFields/types/IntelligentFieldPayload.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -4
- package/api/resources/intelligentFields/types/index.d.ts +2 -0
- package/api/resources/intelligentFields/types/index.js +2 -0
- package/api/resources/knowledge/client/Client.d.ts +19 -2
- package/api/resources/knowledge/client/Client.js +19 -2
- package/api/resources/knowledge/types/KnowledgeBaseResponse.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/KnowledgeBaseVersion.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +4 -0
- package/api/resources/organizations/types/Organization.d.ts +8 -0
- package/api/resources/triggers/client/Client.d.ts +6 -1
- package/api/resources/triggers/client/Client.js +6 -1
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
- package/api/resources/triggers/types/DebounceWait.d.ts +14 -0
- package/api/resources/triggers/types/DebounceWait.js +3 -0
- package/api/resources/triggers/types/DelayWait.d.ts +13 -0
- package/api/resources/triggers/types/DelayWait.js +3 -0
- package/api/resources/triggers/types/EventTriggerBase.d.ts +21 -0
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +12 -0
- package/api/resources/triggers/types/IntervalSchedule.d.ts +17 -0
- package/api/resources/triggers/types/IntervalSchedule.js +3 -0
- package/api/resources/triggers/types/ScheduleInterval.d.ts +9 -0
- package/api/resources/triggers/types/ScheduleInterval.js +12 -0
- package/api/resources/triggers/types/ScheduleSpec.d.ts +11 -0
- package/api/resources/triggers/types/ScheduleSpec.js +3 -0
- package/api/resources/triggers/types/TimeSpan.d.ts +10 -0
- package/api/resources/triggers/types/TimeSpan.js +3 -0
- package/api/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
- package/api/resources/triggers/types/TimeSpanUnit.js +10 -0
- package/api/resources/triggers/types/TriggerRateLimit.d.ts +20 -0
- package/api/resources/triggers/types/TriggerRateLimit.js +3 -0
- package/api/resources/triggers/types/TriggerSchedule.d.ts +30 -0
- package/api/resources/triggers/types/TriggerSchedule.js +3 -0
- package/api/resources/triggers/types/TriggerWait.d.ts +16 -0
- package/api/resources/triggers/types/TriggerWait.js +3 -0
- package/api/resources/triggers/types/TriggerWaitBase.d.ts +9 -0
- package/api/resources/triggers/types/TriggerWaitBase.js +3 -0
- package/api/resources/triggers/types/index.d.ts +11 -0
- package/api/resources/triggers/types/index.js +11 -0
- package/api/resources/users/client/Client.d.ts +1 -3
- package/api/resources/users/client/Client.js +1 -3
- package/api/resources/workingSet/index.d.ts +1 -0
- package/api/resources/workingSet/index.js +17 -0
- package/api/resources/workingSet/types/VariantDebugInfo.d.ts +15 -0
- package/api/resources/workingSet/types/VariantDebugInfo.js +3 -0
- package/api/resources/workingSet/types/index.d.ts +1 -0
- package/api/resources/workingSet/types/index.js +17 -0
- package/package.json +1 -1
- package/reference.md +1525 -12
- package/serialization/resources/agentVariants/client/index.d.ts +1 -0
- package/serialization/resources/agentVariants/client/index.js +17 -0
- package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +15 -0
- package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +47 -0
- package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +43 -0
- package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.js +43 -0
- package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +13 -0
- package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +45 -0
- package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +9 -0
- package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +41 -0
- package/serialization/resources/agentVariants/client/requests/index.d.ts +5 -0
- package/serialization/resources/agentVariants/client/requests/index.js +13 -0
- package/serialization/resources/agentVariants/index.d.ts +2 -0
- package/serialization/resources/agentVariants/index.js +18 -0
- package/serialization/resources/agentVariants/types/AddedCharterDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/AddedCharterDiff.js +42 -0
- package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.js +42 -0
- package/serialization/resources/agentVariants/types/AgentSettingEdits.d.ts +17 -0
- package/serialization/resources/agentVariants/types/AgentSettingEdits.js +49 -0
- package/serialization/resources/agentVariants/types/AgentSettingsDiff.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentSettingsDiff.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantDiff.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantDiff.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantFilter.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantFilter.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantListRequest.d.ts +9 -0
- package/serialization/resources/agentVariants/types/AgentVariantListRequest.js +40 -0
- package/serialization/resources/agentVariants/types/AgentVariantRequest.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantRequest.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.d.ts +21 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.js +53 -0
- package/serialization/resources/agentVariants/types/AgentVariantSearchResult.d.ts +12 -0
- package/serialization/resources/agentVariants/types/AgentVariantSearchResult.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantSortField.d.ts +7 -0
- package/serialization/resources/agentVariants/types/AgentVariantSortField.js +39 -0
- package/serialization/resources/agentVariants/types/AgentVariantStatus.d.ts +7 -0
- package/serialization/resources/agentVariants/types/AgentVariantStatus.js +39 -0
- package/serialization/resources/agentVariants/types/AgentVariantTraffic.d.ts +11 -0
- package/serialization/resources/agentVariants/types/AgentVariantTraffic.js +43 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.js +47 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.js +45 -0
- package/serialization/resources/agentVariants/types/CharterDiff.d.ts +19 -0
- package/serialization/resources/agentVariants/types/CharterDiff.js +51 -0
- package/serialization/resources/agentVariants/types/CharterEntityEdit.d.ts +10 -0
- package/serialization/resources/agentVariants/types/CharterEntityEdit.js +42 -0
- package/serialization/resources/agentVariants/types/DeletedCharterDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/DeletedCharterDiff.js +42 -0
- package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +42 -0
- package/serialization/resources/agentVariants/types/EntityEdit.d.ts +15 -0
- package/serialization/resources/agentVariants/types/EntityEdit.js +49 -0
- package/serialization/resources/agentVariants/types/EntityEditResponse.d.ts +12 -0
- package/serialization/resources/agentVariants/types/EntityEditResponse.js +44 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldDiff.d.ts +19 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldDiff.js +51 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +10 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.js +42 -0
- package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.js +45 -0
- package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.js +45 -0
- package/serialization/resources/agentVariants/types/ModifiedCharterDiff.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ModifiedCharterDiff.js +43 -0
- package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +43 -0
- package/serialization/resources/agentVariants/types/TrafficAllocation.d.ts +11 -0
- package/serialization/resources/agentVariants/types/TrafficAllocation.js +47 -0
- package/serialization/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
- package/serialization/resources/agentVariants/types/TrafficConfigResponse.js +48 -0
- package/serialization/resources/agentVariants/types/TrafficFraction.d.ts +9 -0
- package/serialization/resources/agentVariants/types/TrafficFraction.js +41 -0
- package/serialization/resources/agentVariants/types/TrafficRule.d.ts +12 -0
- package/serialization/resources/agentVariants/types/TrafficRule.js +44 -0
- package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.js +43 -0
- package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +13 -0
- package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.js +45 -0
- package/serialization/resources/agentVariants/types/index.d.ts +35 -0
- package/serialization/resources/agentVariants/types/index.js +51 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
- package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +12 -0
- package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +44 -0
- package/serialization/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/agents/types/Agent.d.ts +6 -0
- package/serialization/resources/agents/types/Agent.js +6 -0
- package/serialization/resources/agents/types/AgentMigrations.d.ts +11 -0
- package/serialization/resources/agents/types/AgentMigrations.js +43 -0
- package/serialization/resources/agents/types/AgentMigrationsPatch.d.ts +9 -0
- package/serialization/resources/agents/types/AgentMigrationsPatch.js +41 -0
- package/serialization/resources/agents/types/AgentSettingName.d.ts +7 -0
- package/serialization/resources/agents/types/AgentSettingName.js +42 -0
- package/serialization/resources/agents/types/VersionedAgentSettings.d.ts +10 -0
- package/serialization/resources/agents/types/VersionedAgentSettings.js +42 -0
- package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +9 -0
- package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.js +41 -0
- package/serialization/resources/agents/types/index.d.ts +5 -0
- package/serialization/resources/agents/types/index.js +5 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +1 -1
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +1 -0
- package/serialization/resources/charters/types/CharterEdit.d.ts +17 -0
- package/serialization/resources/charters/types/CharterEdit.js +49 -0
- package/serialization/resources/charters/types/CharterPayload.d.ts +11 -0
- package/serialization/resources/charters/types/CharterPayload.js +45 -0
- package/serialization/resources/charters/types/CharterResponse.d.ts +3 -0
- package/serialization/resources/charters/types/CharterResponse.js +3 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +3 -0
- package/serialization/resources/charters/types/CharterSummary.js +3 -0
- package/serialization/resources/charters/types/index.d.ts +2 -0
- package/serialization/resources/charters/types/index.js +2 -0
- package/serialization/resources/commons/types/CapabilityBase.d.ts +3 -0
- package/serialization/resources/commons/types/CapabilityBase.js +3 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +2 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +6 -1
- package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +17 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.js +49 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +0 -3
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +0 -3
- package/serialization/resources/intelligentFields/types/index.d.ts +2 -0
- package/serialization/resources/intelligentFields/types/index.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +3 -0
- package/serialization/resources/organizations/types/Organization.d.ts +5 -0
- package/serialization/resources/organizations/types/Organization.js +5 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +6 -0
- package/serialization/resources/triggers/types/DebounceWait.d.ts +11 -0
- package/serialization/resources/triggers/types/DebounceWait.js +45 -0
- package/serialization/resources/triggers/types/DelayWait.d.ts +11 -0
- package/serialization/resources/triggers/types/DelayWait.js +45 -0
- package/serialization/resources/triggers/types/EventTriggerBase.d.ts +6 -0
- package/serialization/resources/triggers/types/EventTriggerBase.js +6 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.js +2 -0
- package/serialization/resources/triggers/types/IntervalSchedule.d.ts +14 -0
- package/serialization/resources/triggers/types/IntervalSchedule.js +46 -0
- package/serialization/resources/triggers/types/ScheduleInterval.d.ts +7 -0
- package/serialization/resources/triggers/types/ScheduleInterval.js +39 -0
- package/serialization/resources/triggers/types/ScheduleSpec.d.ts +11 -0
- package/serialization/resources/triggers/types/ScheduleSpec.js +47 -0
- package/serialization/resources/triggers/types/TimeSpan.d.ts +11 -0
- package/serialization/resources/triggers/types/TimeSpan.js +43 -0
- package/serialization/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
- package/serialization/resources/triggers/types/TimeSpanUnit.js +39 -0
- package/serialization/resources/triggers/types/TriggerRateLimit.d.ts +13 -0
- package/serialization/resources/triggers/types/TriggerRateLimit.js +45 -0
- package/serialization/resources/triggers/types/TriggerSchedule.d.ts +12 -0
- package/serialization/resources/triggers/types/TriggerSchedule.js +44 -0
- package/serialization/resources/triggers/types/TriggerWait.d.ts +15 -0
- package/serialization/resources/triggers/types/TriggerWait.js +49 -0
- package/serialization/resources/triggers/types/TriggerWaitBase.d.ts +10 -0
- package/serialization/resources/triggers/types/TriggerWaitBase.js +42 -0
- package/serialization/resources/triggers/types/index.d.ts +11 -0
- package/serialization/resources/triggers/types/index.js +11 -0
- package/serialization/resources/workingSet/index.d.ts +1 -0
- package/serialization/resources/workingSet/index.js +17 -0
- package/serialization/resources/workingSet/types/VariantDebugInfo.d.ts +10 -0
- package/serialization/resources/workingSet/types/VariantDebugInfo.js +42 -0
- package/serialization/resources/workingSet/types/index.d.ts +1 -0
- package/serialization/resources/workingSet/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -3,10 +3,12 @@ export * from "./CharterBase";
|
|
|
3
3
|
export * from "./CharterChildrenExclusionPolicy";
|
|
4
4
|
export * from "./CharterChildrenGroup";
|
|
5
5
|
export * from "./CharterContent";
|
|
6
|
+
export * from "./CharterEdit";
|
|
6
7
|
export * from "./CharterKnowledgeBaseReference";
|
|
7
8
|
export * from "./CharterListChildrenRequest";
|
|
8
9
|
export * from "./CharterListChildrenResponse";
|
|
9
10
|
export * from "./CharterPatchReferences";
|
|
11
|
+
export * from "./CharterPayload";
|
|
10
12
|
export * from "./CharterReferences";
|
|
11
13
|
export * from "./CharterRequest";
|
|
12
14
|
export * from "./CharterResponse";
|
|
@@ -19,10 +19,12 @@ __exportStar(require("./CharterBase"), exports);
|
|
|
19
19
|
__exportStar(require("./CharterChildrenExclusionPolicy"), exports);
|
|
20
20
|
__exportStar(require("./CharterChildrenGroup"), exports);
|
|
21
21
|
__exportStar(require("./CharterContent"), exports);
|
|
22
|
+
__exportStar(require("./CharterEdit"), exports);
|
|
22
23
|
__exportStar(require("./CharterKnowledgeBaseReference"), exports);
|
|
23
24
|
__exportStar(require("./CharterListChildrenRequest"), exports);
|
|
24
25
|
__exportStar(require("./CharterListChildrenResponse"), exports);
|
|
25
26
|
__exportStar(require("./CharterPatchReferences"), exports);
|
|
27
|
+
__exportStar(require("./CharterPayload"), exports);
|
|
26
28
|
__exportStar(require("./CharterReferences"), exports);
|
|
27
29
|
__exportStar(require("./CharterRequest"), exports);
|
|
28
30
|
__exportStar(require("./CharterResponse"), exports);
|
|
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { CapabilityStatus } from "./CapabilityStatus";
|
|
5
|
+
import { ChangeAuthor } from "./ChangeAuthor";
|
|
5
6
|
export declare const CapabilityBase: core.serialization.ObjectSchema<serializers.CapabilityBase.Raw, MavenAGI.CapabilityBase>;
|
|
6
7
|
export declare namespace CapabilityBase {
|
|
7
8
|
interface Raw {
|
|
@@ -10,5 +11,7 @@ export declare namespace CapabilityBase {
|
|
|
10
11
|
createdAt: string;
|
|
11
12
|
updatedAt: string;
|
|
12
13
|
status: CapabilityStatus.Raw;
|
|
14
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
15
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -37,10 +37,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CapabilityBase = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const CapabilityStatus_1 = require("./CapabilityStatus");
|
|
40
|
+
const ChangeAuthor_1 = require("./ChangeAuthor");
|
|
40
41
|
exports.CapabilityBase = core.serialization.object({
|
|
41
42
|
name: core.serialization.string(),
|
|
42
43
|
description: core.serialization.string().optional(),
|
|
43
44
|
createdAt: core.serialization.date(),
|
|
44
45
|
updatedAt: core.serialization.date(),
|
|
45
46
|
status: CapabilityStatus_1.CapabilityStatus,
|
|
47
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
48
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
46
49
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const SystemEventName: core.serialization.Schema<serializers.SystemEventName.Raw, MavenAGI.SystemEventName>;
|
|
5
5
|
export declare namespace SystemEventName {
|
|
6
|
-
type Raw = "APP_INSTALLED" | "APP_UNINSTALLED" | "APP_UPDATED" | "NOTIFICATION_SENT" | "NOTIFICATION_DELIVERED" | "NOTIFICATION_FAILED" | "INTEGRATION_CONNECTED" | "INTEGRATION_DISCONNECTED" | "SYNC_STARTED" | "SYNC_COMPLETED" | "SYNC_FAILED" | "CONVERSATION_CLOSED" | "BOT_REPLY_CREATED" | "USER_MESSAGE_CREATED" | "INTELLIGENT_FIELD_VALUE_CHANGED";
|
|
6
|
+
type Raw = "APP_INSTALLED" | "APP_UNINSTALLED" | "APP_UPDATED" | "NOTIFICATION_SENT" | "NOTIFICATION_DELIVERED" | "NOTIFICATION_FAILED" | "INTEGRATION_CONNECTED" | "INTEGRATION_DISCONNECTED" | "SYNC_STARTED" | "SYNC_COMPLETED" | "SYNC_FAILED" | "CONVERSATION_CLOSED" | "BOT_REPLY_CREATED" | "USER_MESSAGE_CREATED" | "TRIGGER_SCHEDULE_FIRED" | "INTELLIGENT_FIELD_VALUE_CHANGED" | "AGENT_CREATED";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const NumericConversationField: core.serialization.Schema<serializers.NumericConversationField.Raw, MavenAGI.NumericConversationField>;
|
|
5
5
|
export declare namespace NumericConversationField {
|
|
6
|
-
type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS" | "Csat" | "ActionExecutionCount" | "ActionErrorCount" | "IntelligentField";
|
|
6
|
+
type Raw = "ThumbsUpCount" | "ThumbsDownCount" | "InsertCount" | "UserMessageCount" | "BotMessageCount" | "HandleTime" | "FirstResponseTime" | "PredictedNPS" | "Csat" | "ActionExecutionCount" | "ActionErrorCount" | "ActionDuration" | "IntelligentField";
|
|
7
7
|
}
|
|
@@ -4,6 +4,9 @@ export * from "./actions/types";
|
|
|
4
4
|
export * as agents from "./agents";
|
|
5
5
|
export * from "./agents/client/requests";
|
|
6
6
|
export * from "./agents/types";
|
|
7
|
+
export * as agentVariants from "./agentVariants";
|
|
8
|
+
export * from "./agentVariants/client/requests";
|
|
9
|
+
export * from "./agentVariants/types";
|
|
7
10
|
export * as analytics from "./analytics";
|
|
8
11
|
export * from "./analytics/types";
|
|
9
12
|
export * as appDirectory from "./appDirectory";
|
|
@@ -57,3 +60,5 @@ export * from "./voice/types";
|
|
|
57
60
|
export * as voiceConversations from "./voiceConversations";
|
|
58
61
|
export * from "./voiceConversations/client/socket";
|
|
59
62
|
export * from "./voiceConversations/types";
|
|
63
|
+
export * as workingSet from "./workingSet";
|
|
64
|
+
export * from "./workingSet/types";
|
|
@@ -36,13 +36,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.developersCommons = exports.customers = exports.conversationKickoffs = exports.conversation = exports.commons = exports.charters = exports.capabilities = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = exports.agents = exports.actions = void 0;
|
|
39
|
+
exports.workingSet = exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.developersCommons = exports.customers = exports.conversationKickoffs = exports.conversation = exports.commons = exports.charters = exports.capabilities = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = exports.agentVariants = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/client/requests"), exports);
|
|
42
42
|
__exportStar(require("./actions/types"), exports);
|
|
43
43
|
exports.agents = __importStar(require("./agents"));
|
|
44
44
|
__exportStar(require("./agents/client/requests"), exports);
|
|
45
45
|
__exportStar(require("./agents/types"), exports);
|
|
46
|
+
exports.agentVariants = __importStar(require("./agentVariants"));
|
|
47
|
+
__exportStar(require("./agentVariants/client/requests"), exports);
|
|
48
|
+
__exportStar(require("./agentVariants/types"), exports);
|
|
46
49
|
exports.analytics = __importStar(require("./analytics"));
|
|
47
50
|
__exportStar(require("./analytics/types"), exports);
|
|
48
51
|
exports.appDirectory = __importStar(require("./appDirectory"));
|
|
@@ -96,3 +99,5 @@ __exportStar(require("./voice/types"), exports);
|
|
|
96
99
|
exports.voiceConversations = __importStar(require("./voiceConversations"));
|
|
97
100
|
__exportStar(require("./voiceConversations/client/socket"), exports);
|
|
98
101
|
__exportStar(require("./voiceConversations/types"), exports);
|
|
102
|
+
exports.workingSet = __importStar(require("./workingSet"));
|
|
103
|
+
__exportStar(require("./workingSet/types"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { ChangeAuthor } from "../../commons/types/ChangeAuthor";
|
|
5
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
6
|
+
import { VariantDebugInfo } from "../../workingSet/types/VariantDebugInfo";
|
|
7
|
+
import { IntelligentFieldPayload } from "./IntelligentFieldPayload";
|
|
8
|
+
export declare const IntelligentFieldEdit: core.serialization.ObjectSchema<serializers.IntelligentFieldEdit.Raw, MavenAGI.IntelligentFieldEdit>;
|
|
9
|
+
export declare namespace IntelligentFieldEdit {
|
|
10
|
+
interface Raw {
|
|
11
|
+
entityId: EntityIdWithoutAgent.Raw;
|
|
12
|
+
debugInfo: VariantDebugInfo.Raw;
|
|
13
|
+
payload: IntelligentFieldPayload.Raw;
|
|
14
|
+
updatedAt?: string | null;
|
|
15
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -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.IntelligentFieldEdit = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("../../commons/types/ChangeAuthor");
|
|
40
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
41
|
+
const VariantDebugInfo_1 = require("../../workingSet/types/VariantDebugInfo");
|
|
42
|
+
const IntelligentFieldPayload_1 = require("./IntelligentFieldPayload");
|
|
43
|
+
exports.IntelligentFieldEdit = core.serialization.object({
|
|
44
|
+
entityId: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
|
|
45
|
+
debugInfo: VariantDebugInfo_1.VariantDebugInfo,
|
|
46
|
+
payload: IntelligentFieldPayload_1.IntelligentFieldPayload,
|
|
47
|
+
updatedAt: core.serialization.date().optional(),
|
|
48
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
49
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CapabilityStatus } from "../../commons/types/CapabilityStatus";
|
|
5
|
+
import { IntelligentFieldCore } from "./IntelligentFieldCore";
|
|
6
|
+
export declare const IntelligentFieldPayload: core.serialization.ObjectSchema<serializers.IntelligentFieldPayload.Raw, MavenAGI.IntelligentFieldPayload>;
|
|
7
|
+
export declare namespace IntelligentFieldPayload {
|
|
8
|
+
interface Raw extends IntelligentFieldCore.Raw {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
status?: CapabilityStatus.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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.IntelligentFieldPayload = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CapabilityStatus_1 = require("../../commons/types/CapabilityStatus");
|
|
40
|
+
const IntelligentFieldCore_1 = require("./IntelligentFieldCore");
|
|
41
|
+
exports.IntelligentFieldPayload = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
description: core.serialization.string().optional(),
|
|
45
|
+
status: CapabilityStatus_1.CapabilityStatus.optional(),
|
|
46
|
+
})
|
|
47
|
+
.extend(IntelligentFieldCore_1.IntelligentFieldCore);
|
|
@@ -2,14 +2,11 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { CapabilityBase } from "../../commons/types/CapabilityBase";
|
|
5
|
-
import { ChangeAuthor } from "../../commons/types/ChangeAuthor";
|
|
6
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
7
6
|
import { IntelligentFieldBase } from "./IntelligentFieldBase";
|
|
8
7
|
export declare const IntelligentFieldResponse: core.serialization.ObjectSchema<serializers.IntelligentFieldResponse.Raw, MavenAGI.IntelligentFieldResponse>;
|
|
9
8
|
export declare namespace IntelligentFieldResponse {
|
|
10
9
|
interface Raw extends IntelligentFieldBase.Raw, CapabilityBase.Raw {
|
|
11
10
|
fieldId: EntityId.Raw;
|
|
12
|
-
createdBy?: ChangeAuthor.Raw | null;
|
|
13
|
-
updatedBy?: ChangeAuthor.Raw | null;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
@@ -37,14 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.IntelligentFieldResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const CapabilityBase_1 = require("../../commons/types/CapabilityBase");
|
|
40
|
-
const ChangeAuthor_1 = require("../../commons/types/ChangeAuthor");
|
|
41
40
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
42
41
|
const IntelligentFieldBase_1 = require("./IntelligentFieldBase");
|
|
43
42
|
exports.IntelligentFieldResponse = core.serialization
|
|
44
43
|
.object({
|
|
45
44
|
fieldId: EntityId_1.EntityId,
|
|
46
|
-
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
47
|
-
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
48
45
|
})
|
|
49
46
|
.extend(IntelligentFieldBase_1.IntelligentFieldBase)
|
|
50
47
|
.extend(CapabilityBase_1.CapabilityBase);
|
|
@@ -2,6 +2,8 @@ export * from "./EnumOption";
|
|
|
2
2
|
export * from "./IntelligentFieldBase";
|
|
3
3
|
export * from "./IntelligentFieldCore";
|
|
4
4
|
export * from "./IntelligentFieldDetailResponse";
|
|
5
|
+
export * from "./IntelligentFieldEdit";
|
|
6
|
+
export * from "./IntelligentFieldPayload";
|
|
5
7
|
export * from "./IntelligentFieldRequest";
|
|
6
8
|
export * from "./IntelligentFieldResponse";
|
|
7
9
|
export * from "./IntelligentFieldType";
|
|
@@ -18,6 +18,8 @@ __exportStar(require("./EnumOption"), exports);
|
|
|
18
18
|
__exportStar(require("./IntelligentFieldBase"), exports);
|
|
19
19
|
__exportStar(require("./IntelligentFieldCore"), exports);
|
|
20
20
|
__exportStar(require("./IntelligentFieldDetailResponse"), exports);
|
|
21
|
+
__exportStar(require("./IntelligentFieldEdit"), exports);
|
|
22
|
+
__exportStar(require("./IntelligentFieldPayload"), exports);
|
|
21
23
|
__exportStar(require("./IntelligentFieldRequest"), exports);
|
|
22
24
|
__exportStar(require("./IntelligentFieldResponse"), exports);
|
|
23
25
|
__exportStar(require("./IntelligentFieldType"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { ChangeAuthor } from "../../commons/types/ChangeAuthor";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { LlmInclusionStatus } from "../../commons/types/LlmInclusionStatus";
|
|
6
7
|
import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgressState";
|
|
@@ -14,6 +15,8 @@ export declare namespace KnowledgeBaseResponse {
|
|
|
14
15
|
interface Raw extends KnowledgeBaseProperties.Raw {
|
|
15
16
|
createdAt: string;
|
|
16
17
|
updatedAt: string;
|
|
18
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
19
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
17
20
|
knowledgeBaseId: EntityId.Raw;
|
|
18
21
|
activeVersionId?: EntityId.Raw | null;
|
|
19
22
|
mostRecentVersionStatus: KnowledgeBaseVersionStatus.Raw;
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.KnowledgeBaseResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("../../commons/types/ChangeAuthor");
|
|
39
40
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
41
|
const LlmInclusionStatus_1 = require("../../commons/types/LlmInclusionStatus");
|
|
41
42
|
const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingProgressState");
|
|
@@ -48,6 +49,8 @@ exports.KnowledgeBaseResponse = core.serialization
|
|
|
48
49
|
.object({
|
|
49
50
|
createdAt: core.serialization.date(),
|
|
50
51
|
updatedAt: core.serialization.date(),
|
|
52
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
53
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
51
54
|
knowledgeBaseId: EntityId_1.EntityId,
|
|
52
55
|
activeVersionId: EntityId_1.EntityId.optional(),
|
|
53
56
|
mostRecentVersionStatus: KnowledgeBaseVersionStatus_1.KnowledgeBaseVersionStatus,
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { ChangeAuthor } from "../../commons/types/ChangeAuthor";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { KnowledgeBaseDocumentDeltas } from "./KnowledgeBaseDocumentDeltas";
|
|
6
7
|
import { KnowledgeBaseIndexingProgressState } from "./KnowledgeBaseIndexingProgressState";
|
|
@@ -15,6 +16,8 @@ export declare namespace KnowledgeBaseVersion {
|
|
|
15
16
|
errorMessage?: string | null;
|
|
16
17
|
createdAt: string;
|
|
17
18
|
updatedAt: string;
|
|
19
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
20
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
18
21
|
indexingState?: KnowledgeBaseIndexingProgressState.Raw | null;
|
|
19
22
|
progress?: KnowledgeBaseVersionProgress.Raw | null;
|
|
20
23
|
documentDeltas?: KnowledgeBaseDocumentDeltas.Raw | null;
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.KnowledgeBaseVersion = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("../../commons/types/ChangeAuthor");
|
|
39
40
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
41
|
const KnowledgeBaseDocumentDeltas_1 = require("./KnowledgeBaseDocumentDeltas");
|
|
41
42
|
const KnowledgeBaseIndexingProgressState_1 = require("./KnowledgeBaseIndexingProgressState");
|
|
@@ -49,6 +50,8 @@ exports.KnowledgeBaseVersion = core.serialization
|
|
|
49
50
|
errorMessage: core.serialization.string().optional(),
|
|
50
51
|
createdAt: core.serialization.date(),
|
|
51
52
|
updatedAt: core.serialization.date(),
|
|
53
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
54
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
52
55
|
indexingState: KnowledgeBaseIndexingProgressState_1.KnowledgeBaseIndexingProgressState.optional(),
|
|
53
56
|
progress: KnowledgeBaseVersionProgress_1.KnowledgeBaseVersionProgress.optional(),
|
|
54
57
|
documentDeltas: KnowledgeBaseDocumentDeltas_1.KnowledgeBaseDocumentDeltas.optional(),
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { ChangeAuthor } from "../../commons/types/ChangeAuthor";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { LlmInclusionStatus } from "../../commons/types/LlmInclusionStatus";
|
|
6
7
|
import { ScopedEntity } from "../../commons/types/ScopedEntity";
|
|
@@ -16,6 +17,8 @@ export declare namespace KnowledgeDocumentSearchResponse {
|
|
|
16
17
|
knowledgeBaseLlmInclusionStatus: LlmInclusionStatus.Raw;
|
|
17
18
|
createdAt: string;
|
|
18
19
|
updatedAt: string;
|
|
20
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
21
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
19
22
|
relevantEntities: ScopedEntity.Raw[];
|
|
20
23
|
}
|
|
21
24
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.KnowledgeDocumentSearchResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("../../commons/types/ChangeAuthor");
|
|
39
40
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
41
|
const LlmInclusionStatus_1 = require("../../commons/types/LlmInclusionStatus");
|
|
41
42
|
const ScopedEntity_1 = require("../../commons/types/ScopedEntity");
|
|
@@ -50,6 +51,8 @@ exports.KnowledgeDocumentSearchResponse = core.serialization
|
|
|
50
51
|
knowledgeBaseLlmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus,
|
|
51
52
|
createdAt: core.serialization.date(),
|
|
52
53
|
updatedAt: core.serialization.date(),
|
|
54
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
55
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
53
56
|
relevantEntities: core.serialization.list(ScopedEntity_1.ScopedEntity),
|
|
54
57
|
})
|
|
55
58
|
.extend(BaseKnowledgeDocument_1.BaseKnowledgeDocument);
|
|
@@ -1,11 +1,16 @@
|
|
|
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 { ChangeAuthor } from "../../commons/types/ChangeAuthor";
|
|
4
5
|
import { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
5
6
|
import { BaseOrganization } from "./BaseOrganization";
|
|
6
7
|
export declare const Organization: core.serialization.ObjectSchema<serializers.Organization.Raw, MavenAGI.Organization>;
|
|
7
8
|
export declare namespace Organization {
|
|
8
9
|
interface Raw extends BaseOrganization.Raw {
|
|
9
10
|
organizationId: EntityIdBase.Raw;
|
|
11
|
+
createdAt?: string | null;
|
|
12
|
+
updatedAt?: string | null;
|
|
13
|
+
createdBy?: ChangeAuthor.Raw | null;
|
|
14
|
+
updatedBy?: ChangeAuthor.Raw | null;
|
|
10
15
|
}
|
|
11
16
|
}
|
|
@@ -36,10 +36,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.Organization = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ChangeAuthor_1 = require("../../commons/types/ChangeAuthor");
|
|
39
40
|
const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
|
|
40
41
|
const BaseOrganization_1 = require("./BaseOrganization");
|
|
41
42
|
exports.Organization = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
organizationId: EntityIdBase_1.EntityIdBase,
|
|
45
|
+
createdAt: core.serialization.date().optional(),
|
|
46
|
+
updatedAt: core.serialization.date().optional(),
|
|
47
|
+
createdBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
48
|
+
updatedBy: ChangeAuthor_1.ChangeAuthor.optional(),
|
|
44
49
|
})
|
|
45
50
|
.extend(BaseOrganization_1.BaseOrganization);
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import * as serializers from "../../../../index";
|
|
4
|
+
import { TriggerRateLimit } from "../../types/TriggerRateLimit";
|
|
5
|
+
import { TriggerSchedule } from "../../types/TriggerSchedule";
|
|
6
|
+
import { TriggerWait } from "../../types/TriggerWait";
|
|
4
7
|
export declare const PartialUpdateRequest: core.serialization.Schema<serializers.PartialUpdateRequest.Raw, Omit<MavenAGI.PartialUpdateRequest, "appId">>;
|
|
5
8
|
export declare namespace PartialUpdateRequest {
|
|
6
9
|
interface Raw {
|
|
7
10
|
enabled?: boolean | null;
|
|
8
11
|
condition?: (serializers.EventCondition.Raw | null | undefined) | null;
|
|
12
|
+
schedule?: (TriggerSchedule.Raw | null | undefined) | null;
|
|
13
|
+
wait?: (TriggerWait.Raw | null | undefined) | null;
|
|
14
|
+
rateLimit?: (TriggerRateLimit.Raw | null | undefined) | null;
|
|
9
15
|
}
|
|
10
16
|
}
|
|
@@ -37,7 +37,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.PartialUpdateRequest = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../../index"));
|
|
40
|
+
const TriggerRateLimit_1 = require("../../types/TriggerRateLimit");
|
|
41
|
+
const TriggerSchedule_1 = require("../../types/TriggerSchedule");
|
|
42
|
+
const TriggerWait_1 = require("../../types/TriggerWait");
|
|
40
43
|
exports.PartialUpdateRequest = core.serialization.object({
|
|
41
44
|
enabled: core.serialization.boolean().optional(),
|
|
42
45
|
condition: core.serialization.lazy(() => serializers.EventCondition).optionalNullable(),
|
|
46
|
+
schedule: TriggerSchedule_1.TriggerSchedule.optionalNullable(),
|
|
47
|
+
wait: TriggerWait_1.TriggerWait.optionalNullable(),
|
|
48
|
+
rateLimit: TriggerRateLimit_1.TriggerRateLimit.optionalNullable(),
|
|
43
49
|
});
|
|
@@ -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 { EntityType } from "../../commons/types/EntityType";
|
|
5
|
+
import { TriggerWaitBase } from "./TriggerWaitBase";
|
|
6
|
+
export declare const DebounceWait: core.serialization.ObjectSchema<serializers.DebounceWait.Raw, MavenAGI.DebounceWait>;
|
|
7
|
+
export declare namespace DebounceWait {
|
|
8
|
+
interface Raw extends TriggerWaitBase.Raw {
|
|
9
|
+
per: EntityType.Raw;
|
|
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.DebounceWait = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityType_1 = require("../../commons/types/EntityType");
|
|
40
|
+
const TriggerWaitBase_1 = require("./TriggerWaitBase");
|
|
41
|
+
exports.DebounceWait = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
per: EntityType_1.EntityType,
|
|
44
|
+
})
|
|
45
|
+
.extend(TriggerWaitBase_1.TriggerWaitBase);
|
|
@@ -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 { EntityType } from "../../commons/types/EntityType";
|
|
5
|
+
import { TriggerWaitBase } from "./TriggerWaitBase";
|
|
6
|
+
export declare const DelayWait: core.serialization.ObjectSchema<serializers.DelayWait.Raw, MavenAGI.DelayWait>;
|
|
7
|
+
export declare namespace DelayWait {
|
|
8
|
+
interface Raw extends TriggerWaitBase.Raw {
|
|
9
|
+
per?: EntityType.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.DelayWait = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityType_1 = require("../../commons/types/EntityType");
|
|
40
|
+
const TriggerWaitBase_1 = require("./TriggerWaitBase");
|
|
41
|
+
exports.DelayWait = core.serialization
|
|
42
|
+
.object({
|
|
43
|
+
per: EntityType_1.EntityType.optional(),
|
|
44
|
+
})
|
|
45
|
+
.extend(TriggerWaitBase_1.TriggerWaitBase);
|
|
@@ -2,10 +2,16 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
4
|
import { EventTriggerType } from "../../commons/types/EventTriggerType";
|
|
5
|
+
import { TriggerRateLimit } from "./TriggerRateLimit";
|
|
6
|
+
import { TriggerSchedule } from "./TriggerSchedule";
|
|
7
|
+
import { TriggerWait } from "./TriggerWait";
|
|
5
8
|
export declare const EventTriggerBase: core.serialization.ObjectSchema<serializers.EventTriggerBase.Raw, MavenAGI.EventTriggerBase>;
|
|
6
9
|
export declare namespace EventTriggerBase {
|
|
7
10
|
interface Raw {
|
|
8
11
|
type: EventTriggerType.Raw;
|
|
9
12
|
condition?: serializers.EventCondition.Raw | null;
|
|
13
|
+
schedule?: TriggerSchedule.Raw | null;
|
|
14
|
+
wait?: TriggerWait.Raw | null;
|
|
15
|
+
rateLimit?: TriggerRateLimit.Raw | null;
|
|
10
16
|
}
|
|
11
17
|
}
|