mavenagi 1.2.58 → 1.2.60
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 +37 -32
- package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +7 -3
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +7 -3
- package/api/resources/agents/types/AgentPrompting.d.ts +7 -3
- package/api/resources/analytics/client/Client.d.ts +7 -1
- package/api/resources/analytics/client/Client.js +7 -1
- package/api/resources/analytics/types/AgentUserRow.d.ts +5 -2
- package/api/resources/analytics/types/AgentUserRowIdentifier.d.ts +5 -0
- package/api/resources/analytics/types/AgentUserRowIdentifier.js +3 -0
- package/api/resources/analytics/types/AgentUserTableResponse.d.ts +7 -0
- package/api/resources/analytics/types/ConversationRow.d.ts +5 -2
- package/api/resources/analytics/types/ConversationRowIdentifier.d.ts +7 -0
- package/api/resources/analytics/types/ConversationRowIdentifier.js +3 -0
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +0 -6
- package/api/resources/analytics/types/ConversationTableResponse.d.ts +56 -0
- package/api/resources/analytics/types/EventRow.d.ts +5 -2
- package/api/resources/analytics/types/EventRowIdentifier.d.ts +5 -0
- package/api/resources/analytics/types/EventRowIdentifier.js +3 -0
- package/api/resources/analytics/types/EventTableResponse.d.ts +14 -0
- package/api/resources/analytics/types/FeedbackRow.d.ts +5 -2
- package/api/resources/analytics/types/FeedbackRowIdentifier.d.ts +5 -0
- package/api/resources/analytics/types/FeedbackRowIdentifier.js +3 -0
- package/api/resources/analytics/types/FeedbackTableResponse.d.ts +14 -0
- package/api/resources/analytics/types/RowIdentifierBase.d.ts +5 -0
- package/api/resources/analytics/types/RowIdentifierBase.js +3 -0
- package/api/resources/analytics/types/index.d.ts +5 -0
- package/api/resources/analytics/types/index.js +5 -0
- package/api/resources/appDirectory/client/Client.d.ts +126 -0
- package/api/resources/appDirectory/client/Client.js +640 -0
- package/api/resources/appDirectory/client/index.d.ts +1 -0
- package/api/resources/appDirectory/client/index.js +17 -0
- package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +11 -0
- package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +3 -0
- package/api/resources/appDirectory/client/requests/index.d.ts +1 -0
- package/api/resources/appDirectory/client/requests/index.js +2 -0
- package/api/resources/appDirectory/exports.d.ts +2 -0
- package/api/resources/appDirectory/exports.js +21 -0
- package/api/resources/appDirectory/index.d.ts +2 -0
- package/api/resources/appDirectory/index.js +18 -0
- package/api/resources/appDirectory/types/DirectoryAppSortField.d.ts +19 -0
- package/api/resources/appDirectory/types/DirectoryAppSortField.js +22 -0
- package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +7 -0
- package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.js +3 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +3 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +3 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +4 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +3 -0
- package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +44 -0
- package/api/resources/appDirectory/types/InstallDirectoryAppRequest.js +3 -0
- package/api/resources/appDirectory/types/index.d.ts +5 -0
- package/api/resources/appDirectory/types/index.js +21 -0
- package/api/resources/charters/types/CharterSummary.d.ts +7 -2
- package/api/resources/commons/types/ActionProperties.d.ts +12 -1
- package/api/resources/commons/types/ActionResponse.d.ts +3 -3
- package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +10 -0
- package/api/resources/commons/types/BotLogicUserItem.d.ts +2 -0
- package/api/resources/commons/types/EventFilter.d.ts +5 -0
- package/api/resources/commons/types/EventTriggerType.d.ts +2 -0
- package/api/resources/commons/types/EventTriggerType.js +2 -0
- package/api/resources/commons/types/KnowledgeContextByEntities.d.ts +11 -0
- package/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +3 -0
- package/api/resources/commons/types/KnowledgeContextFilter.d.ts +6 -1
- package/api/resources/commons/types/LlmPersona.d.ts +1 -0
- package/api/resources/commons/types/LlmPersona.js +1 -0
- package/api/resources/commons/types/NovelUserEvent.d.ts +4 -1
- package/api/resources/commons/types/ResponseConfig.d.ts +9 -3
- package/api/resources/commons/types/SideEffects.d.ts +10 -0
- package/api/resources/commons/types/SideEffects.js +13 -0
- package/api/resources/commons/types/SimulationContext.d.ts +3 -3
- package/api/resources/commons/types/SystemEventName.d.ts +24 -0
- package/api/resources/commons/types/SystemEventName.js +24 -0
- package/api/resources/commons/types/UserEvent.d.ts +4 -1
- package/api/resources/commons/types/UserEventName.d.ts +84 -0
- package/api/resources/commons/types/UserEventName.js +84 -0
- package/api/resources/commons/types/UserMessage.d.ts +7 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/conversation/client/Client.d.ts +3 -1
- package/api/resources/conversation/client/Client.js +3 -1
- package/api/resources/conversation/types/ConversationFilter.d.ts +9 -3
- package/api/resources/developersCommons/exports.d.ts +1 -0
- package/api/resources/developersCommons/exports.js +18 -0
- package/api/resources/developersCommons/types/AppInstalled.d.ts +5 -0
- package/api/resources/developersCommons/types/AppInstalled.js +8 -0
- package/api/resources/developersCommons/types/AppsFilter.d.ts +27 -0
- package/api/resources/developersCommons/types/AppsFilter.js +3 -0
- package/api/resources/developersCommons/types/AppsResponse.d.ts +15 -0
- package/api/resources/developersCommons/types/AppsResponse.js +3 -0
- package/api/resources/developersCommons/types/BaseApp.d.ts +32 -0
- package/api/resources/developersCommons/types/BaseApp.js +3 -0
- package/api/resources/developersCommons/types/BaseDetailApp.d.ts +19 -0
- package/api/resources/developersCommons/types/BaseDetailApp.js +3 -0
- package/api/resources/developersCommons/types/CountByFilterResult.d.ts +11 -0
- package/api/resources/developersCommons/types/CountByFilterResult.js +3 -0
- package/api/resources/developersCommons/types/DeveloperOrganization.d.ts +15 -0
- package/api/resources/developersCommons/types/DeveloperOrganization.js +3 -0
- package/api/resources/developersCommons/types/Link.d.ts +6 -0
- package/api/resources/developersCommons/types/MarketplaceApp.d.ts +8 -0
- package/api/resources/developersCommons/types/MarketplaceApp.js +3 -0
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +35 -0
- package/api/resources/developersCommons/types/MarketplaceAppDetail.js +3 -0
- package/api/resources/developersCommons/types/index.d.ts +9 -0
- package/api/resources/developersCommons/types/index.js +9 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +18 -10
- package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +6 -1
- package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +5 -1
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +10 -6
- package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +14 -1
- package/api/resources/segments/client/Client.d.ts +10 -0
- package/api/resources/segments/client/Client.js +10 -0
- package/api/resources/triggers/types/EventTriggerBase.d.ts +3 -1
- package/package.json +1 -1
- package/reference.md +426 -2
- package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +2 -0
- package/serialization/resources/actions/client/requests/ActionPatchRequest.js +2 -0
- package/serialization/resources/analytics/types/AgentUserRow.d.ts +2 -0
- package/serialization/resources/analytics/types/AgentUserRow.js +2 -0
- package/serialization/resources/analytics/types/AgentUserRowIdentifier.d.ts +11 -0
- package/serialization/resources/analytics/types/AgentUserRowIdentifier.js +45 -0
- package/serialization/resources/analytics/types/ConversationRow.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationRow.js +2 -0
- package/serialization/resources/analytics/types/ConversationRowIdentifier.d.ts +13 -0
- package/serialization/resources/analytics/types/ConversationRowIdentifier.js +47 -0
- package/serialization/resources/analytics/types/EventRow.d.ts +2 -0
- package/serialization/resources/analytics/types/EventRow.js +2 -0
- package/serialization/resources/analytics/types/EventRowIdentifier.d.ts +11 -0
- package/serialization/resources/analytics/types/EventRowIdentifier.js +45 -0
- package/serialization/resources/analytics/types/FeedbackRow.d.ts +2 -0
- package/serialization/resources/analytics/types/FeedbackRow.js +2 -0
- package/serialization/resources/analytics/types/FeedbackRowIdentifier.d.ts +11 -0
- package/serialization/resources/analytics/types/FeedbackRowIdentifier.js +45 -0
- package/serialization/resources/analytics/types/RowIdentifierBase.d.ts +10 -0
- package/serialization/resources/analytics/types/RowIdentifierBase.js +42 -0
- package/serialization/resources/analytics/types/index.d.ts +5 -0
- package/serialization/resources/analytics/types/index.js +5 -0
- package/serialization/resources/appDirectory/client/index.d.ts +1 -0
- package/serialization/resources/appDirectory/client/index.js +17 -0
- package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +10 -0
- package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +42 -0
- package/serialization/resources/appDirectory/client/requests/index.d.ts +1 -0
- package/serialization/resources/appDirectory/client/requests/index.js +5 -0
- package/serialization/resources/appDirectory/index.d.ts +2 -0
- package/serialization/resources/appDirectory/index.js +18 -0
- package/serialization/resources/appDirectory/types/DirectoryAppSortField.d.ts +7 -0
- package/serialization/resources/appDirectory/types/DirectoryAppSortField.js +39 -0
- package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +13 -0
- package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.js +47 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +9 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +41 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +10 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +42 -0
- package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +9 -0
- package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.js +41 -0
- package/serialization/resources/appDirectory/types/index.d.ts +5 -0
- package/serialization/resources/appDirectory/types/index.js +21 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +2 -1
- package/serialization/resources/charters/types/CharterSummary.js +2 -0
- package/serialization/resources/commons/types/ActionProperties.d.ts +2 -0
- package/serialization/resources/commons/types/ActionProperties.js +2 -0
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +3 -0
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +3 -0
- package/serialization/resources/commons/types/BotLogicUserItem.d.ts +1 -0
- package/serialization/resources/commons/types/BotLogicUserItem.js +1 -0
- package/serialization/resources/commons/types/SideEffects.d.ts +7 -0
- package/serialization/resources/commons/types/SideEffects.js +39 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +13 -1
- package/serialization/resources/commons/types/UserEventName.d.ts +1 -1
- package/serialization/resources/commons/types/UserEventName.js +28 -0
- package/serialization/resources/commons/types/UserMessage.d.ts +1 -0
- package/serialization/resources/commons/types/UserMessage.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +2 -0
- package/serialization/resources/developersCommons/types/AppInstalled.d.ts +7 -0
- package/serialization/resources/developersCommons/types/AppInstalled.js +39 -0
- package/serialization/resources/developersCommons/types/AppsFilter.d.ts +18 -0
- package/serialization/resources/developersCommons/types/AppsFilter.js +50 -0
- package/serialization/resources/developersCommons/types/AppsResponse.d.ts +14 -0
- package/serialization/resources/developersCommons/types/AppsResponse.js +48 -0
- package/serialization/resources/developersCommons/types/BaseApp.d.ts +23 -0
- package/serialization/resources/developersCommons/types/BaseApp.js +55 -0
- package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +15 -0
- package/serialization/resources/developersCommons/types/BaseDetailApp.js +50 -0
- package/serialization/resources/developersCommons/types/CountByFilterResult.d.ts +12 -0
- package/serialization/resources/developersCommons/types/CountByFilterResult.js +44 -0
- package/serialization/resources/developersCommons/types/DeveloperOrganization.d.ts +13 -0
- package/serialization/resources/developersCommons/types/DeveloperOrganization.js +45 -0
- package/serialization/resources/developersCommons/types/MarketplaceApp.d.ts +11 -0
- package/serialization/resources/developersCommons/types/MarketplaceApp.js +45 -0
- package/serialization/resources/developersCommons/types/MarketplaceAppDetail.d.ts +12 -0
- package/serialization/resources/developersCommons/types/MarketplaceAppDetail.js +46 -0
- package/serialization/resources/developersCommons/types/index.d.ts +9 -0
- package/serialization/resources/developersCommons/types/index.js +9 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -17,5 +17,89 @@ export declare const UserEventName: {
|
|
|
17
17
|
/**
|
|
18
18
|
* A CSAT rating was submitted */
|
|
19
19
|
readonly CsatSubmitted: "CSAT_SUBMITTED";
|
|
20
|
+
/**
|
|
21
|
+
* A page or screen was viewed. Record which one in `pageInfo`. */
|
|
22
|
+
readonly PageViewed: "PAGE_VIEWED";
|
|
23
|
+
/**
|
|
24
|
+
* A suggested or popular question was clicked instead of being typed */
|
|
25
|
+
readonly SuggestionClicked: "SUGGESTION_CLICKED";
|
|
26
|
+
/**
|
|
27
|
+
* The user ended the conversation */
|
|
28
|
+
readonly ConversationEnded: "CONVERSATION_ENDED";
|
|
29
|
+
/**
|
|
30
|
+
* The user asked to be transferred to a human agent */
|
|
31
|
+
readonly HandoffRequested: "HANDOFF_REQUESTED";
|
|
32
|
+
/**
|
|
33
|
+
* The user opened a support ticket or case */
|
|
34
|
+
readonly TicketCreated: "TICKET_CREATED";
|
|
35
|
+
/**
|
|
36
|
+
* Text from a response was copied */
|
|
37
|
+
readonly TextCopied: "TEXT_COPIED";
|
|
38
|
+
/**
|
|
39
|
+
* Content was translated into another language */
|
|
40
|
+
readonly ContentTranslated: "CONTENT_TRANSLATED";
|
|
41
|
+
/**
|
|
42
|
+
* A search query was submitted */
|
|
43
|
+
readonly SearchSubmitted: "SEARCH_SUBMITTED";
|
|
44
|
+
/**
|
|
45
|
+
* A search result was opened */
|
|
46
|
+
readonly SearchResultClicked: "SEARCH_RESULT_CLICKED";
|
|
47
|
+
/**
|
|
48
|
+
* A help article or knowledge document was read */
|
|
49
|
+
readonly ArticleViewed: "ARTICLE_VIEWED";
|
|
50
|
+
/**
|
|
51
|
+
* The user uploaded a file or attachment */
|
|
52
|
+
readonly FileUploaded: "FILE_UPLOADED";
|
|
53
|
+
/**
|
|
54
|
+
* The user downloaded a file or attachment */
|
|
55
|
+
readonly FileDownloaded: "FILE_DOWNLOADED";
|
|
56
|
+
/**
|
|
57
|
+
* The user began filling out a form */
|
|
58
|
+
readonly FormStarted: "FORM_STARTED";
|
|
59
|
+
/**
|
|
60
|
+
* A form was submitted */
|
|
61
|
+
readonly FormSubmitted: "FORM_SUBMITTED";
|
|
62
|
+
/**
|
|
63
|
+
* The user left a form without submitting it */
|
|
64
|
+
readonly FormAbandoned: "FORM_ABANDONED";
|
|
65
|
+
/**
|
|
66
|
+
* The user entered a multi-step flow, such as onboarding or checkout */
|
|
67
|
+
readonly FlowStarted: "FLOW_STARTED";
|
|
68
|
+
/**
|
|
69
|
+
* The user finished one step of a multi-step flow */
|
|
70
|
+
readonly FlowStepCompleted: "FLOW_STEP_COMPLETED";
|
|
71
|
+
/**
|
|
72
|
+
* The user finished a multi-step flow */
|
|
73
|
+
readonly FlowCompleted: "FLOW_COMPLETED";
|
|
74
|
+
/**
|
|
75
|
+
* The user left a multi-step flow partway through. Pair with an `EVENT_CREATED` trigger to follow up on an onboarding or checkout that was never finished. Name the flow and the step it stopped on in `contextInfo.additionalData`. */
|
|
76
|
+
readonly FlowAbandoned: "FLOW_ABANDONED";
|
|
77
|
+
/**
|
|
78
|
+
* The user created an account */
|
|
79
|
+
readonly AccountCreated: "ACCOUNT_CREATED";
|
|
80
|
+
/**
|
|
81
|
+
* The user signed in */
|
|
82
|
+
readonly SignedIn: "SIGNED_IN";
|
|
83
|
+
/**
|
|
84
|
+
* The user signed out */
|
|
85
|
+
readonly SignedOut: "SIGNED_OUT";
|
|
86
|
+
/**
|
|
87
|
+
* The user started a subscription or plan */
|
|
88
|
+
readonly SubscriptionStarted: "SUBSCRIPTION_STARTED";
|
|
89
|
+
/**
|
|
90
|
+
* The user cancelled a subscription or plan */
|
|
91
|
+
readonly SubscriptionCancelled: "SUBSCRIPTION_CANCELLED";
|
|
92
|
+
/**
|
|
93
|
+
* The user placed an order */
|
|
94
|
+
readonly OrderPlaced: "ORDER_PLACED";
|
|
95
|
+
/**
|
|
96
|
+
* The user cancelled an order */
|
|
97
|
+
readonly OrderCancelled: "ORDER_CANCELLED";
|
|
98
|
+
/**
|
|
99
|
+
* A payment the user attempted did not go through */
|
|
100
|
+
readonly PaymentFailed: "PAYMENT_FAILED";
|
|
101
|
+
/**
|
|
102
|
+
* The user was shown an error */
|
|
103
|
+
readonly ErrorDisplayed: "ERROR_DISPLAYED";
|
|
20
104
|
};
|
|
21
105
|
export type UserEventName = (typeof UserEventName)[keyof typeof UserEventName] | string;
|
|
@@ -21,4 +21,88 @@ exports.UserEventName = {
|
|
|
21
21
|
/**
|
|
22
22
|
* A CSAT rating was submitted */
|
|
23
23
|
CsatSubmitted: "CSAT_SUBMITTED",
|
|
24
|
+
/**
|
|
25
|
+
* A page or screen was viewed. Record which one in `pageInfo`. */
|
|
26
|
+
PageViewed: "PAGE_VIEWED",
|
|
27
|
+
/**
|
|
28
|
+
* A suggested or popular question was clicked instead of being typed */
|
|
29
|
+
SuggestionClicked: "SUGGESTION_CLICKED",
|
|
30
|
+
/**
|
|
31
|
+
* The user ended the conversation */
|
|
32
|
+
ConversationEnded: "CONVERSATION_ENDED",
|
|
33
|
+
/**
|
|
34
|
+
* The user asked to be transferred to a human agent */
|
|
35
|
+
HandoffRequested: "HANDOFF_REQUESTED",
|
|
36
|
+
/**
|
|
37
|
+
* The user opened a support ticket or case */
|
|
38
|
+
TicketCreated: "TICKET_CREATED",
|
|
39
|
+
/**
|
|
40
|
+
* Text from a response was copied */
|
|
41
|
+
TextCopied: "TEXT_COPIED",
|
|
42
|
+
/**
|
|
43
|
+
* Content was translated into another language */
|
|
44
|
+
ContentTranslated: "CONTENT_TRANSLATED",
|
|
45
|
+
/**
|
|
46
|
+
* A search query was submitted */
|
|
47
|
+
SearchSubmitted: "SEARCH_SUBMITTED",
|
|
48
|
+
/**
|
|
49
|
+
* A search result was opened */
|
|
50
|
+
SearchResultClicked: "SEARCH_RESULT_CLICKED",
|
|
51
|
+
/**
|
|
52
|
+
* A help article or knowledge document was read */
|
|
53
|
+
ArticleViewed: "ARTICLE_VIEWED",
|
|
54
|
+
/**
|
|
55
|
+
* The user uploaded a file or attachment */
|
|
56
|
+
FileUploaded: "FILE_UPLOADED",
|
|
57
|
+
/**
|
|
58
|
+
* The user downloaded a file or attachment */
|
|
59
|
+
FileDownloaded: "FILE_DOWNLOADED",
|
|
60
|
+
/**
|
|
61
|
+
* The user began filling out a form */
|
|
62
|
+
FormStarted: "FORM_STARTED",
|
|
63
|
+
/**
|
|
64
|
+
* A form was submitted */
|
|
65
|
+
FormSubmitted: "FORM_SUBMITTED",
|
|
66
|
+
/**
|
|
67
|
+
* The user left a form without submitting it */
|
|
68
|
+
FormAbandoned: "FORM_ABANDONED",
|
|
69
|
+
/**
|
|
70
|
+
* The user entered a multi-step flow, such as onboarding or checkout */
|
|
71
|
+
FlowStarted: "FLOW_STARTED",
|
|
72
|
+
/**
|
|
73
|
+
* The user finished one step of a multi-step flow */
|
|
74
|
+
FlowStepCompleted: "FLOW_STEP_COMPLETED",
|
|
75
|
+
/**
|
|
76
|
+
* The user finished a multi-step flow */
|
|
77
|
+
FlowCompleted: "FLOW_COMPLETED",
|
|
78
|
+
/**
|
|
79
|
+
* The user left a multi-step flow partway through. Pair with an `EVENT_CREATED` trigger to follow up on an onboarding or checkout that was never finished. Name the flow and the step it stopped on in `contextInfo.additionalData`. */
|
|
80
|
+
FlowAbandoned: "FLOW_ABANDONED",
|
|
81
|
+
/**
|
|
82
|
+
* The user created an account */
|
|
83
|
+
AccountCreated: "ACCOUNT_CREATED",
|
|
84
|
+
/**
|
|
85
|
+
* The user signed in */
|
|
86
|
+
SignedIn: "SIGNED_IN",
|
|
87
|
+
/**
|
|
88
|
+
* The user signed out */
|
|
89
|
+
SignedOut: "SIGNED_OUT",
|
|
90
|
+
/**
|
|
91
|
+
* The user started a subscription or plan */
|
|
92
|
+
SubscriptionStarted: "SUBSCRIPTION_STARTED",
|
|
93
|
+
/**
|
|
94
|
+
* The user cancelled a subscription or plan */
|
|
95
|
+
SubscriptionCancelled: "SUBSCRIPTION_CANCELLED",
|
|
96
|
+
/**
|
|
97
|
+
* The user placed an order */
|
|
98
|
+
OrderPlaced: "ORDER_PLACED",
|
|
99
|
+
/**
|
|
100
|
+
* The user cancelled an order */
|
|
101
|
+
OrderCancelled: "ORDER_CANCELLED",
|
|
102
|
+
/**
|
|
103
|
+
* A payment the user attempted did not go through */
|
|
104
|
+
PaymentFailed: "PAYMENT_FAILED",
|
|
105
|
+
/**
|
|
106
|
+
* The user was shown an error */
|
|
107
|
+
ErrorDisplayed: "ERROR_DISPLAYED",
|
|
24
108
|
};
|
|
@@ -28,4 +28,11 @@ export interface UserMessage extends MavenAGI.UserMessageBase {
|
|
|
28
28
|
* - `LLM_DISABLED`: An answer was requested for this user message and the LLM was disabled.
|
|
29
29
|
*/
|
|
30
30
|
responseState?: MavenAGI.UserMessageResponseState;
|
|
31
|
+
/**
|
|
32
|
+
* The timezone supplied with the creating request and used for the message's time-based
|
|
33
|
+
* operations, normally an IANA identifier (e.g. "America/New_York", "Europe/London").
|
|
34
|
+
* Absent when the request did not supply one, in which case the agent's default timezone
|
|
35
|
+
* applied.
|
|
36
|
+
*/
|
|
37
|
+
timezone?: string;
|
|
31
38
|
}
|
|
@@ -187,6 +187,7 @@ export * from "./SettingsSchemaDiscriminatedUnionOptions";
|
|
|
187
187
|
export * from "./SettingsSchemaEntry";
|
|
188
188
|
export * from "./SettingsSchemaEntryBase";
|
|
189
189
|
export * from "./SettingsSchemaValidation";
|
|
190
|
+
export * from "./SideEffects";
|
|
190
191
|
export * from "./SimulationContext";
|
|
191
192
|
export * from "./Source";
|
|
192
193
|
export * from "./SourceInfo";
|
|
@@ -203,6 +203,7 @@ __exportStar(require("./SettingsSchemaDiscriminatedUnionOptions"), exports);
|
|
|
203
203
|
__exportStar(require("./SettingsSchemaEntry"), exports);
|
|
204
204
|
__exportStar(require("./SettingsSchemaEntryBase"), exports);
|
|
205
205
|
__exportStar(require("./SettingsSchemaValidation"), exports);
|
|
206
|
+
__exportStar(require("./SideEffects"), exports);
|
|
206
207
|
__exportStar(require("./SimulationContext"), exports);
|
|
207
208
|
__exportStar(require("./Source"), exports);
|
|
208
209
|
__exportStar(require("./SourceInfo"), exports);
|
|
@@ -245,7 +245,9 @@ export declare class ConversationClient {
|
|
|
245
245
|
/**
|
|
246
246
|
* @deprecated
|
|
247
247
|
*
|
|
248
|
-
*
|
|
248
|
+
* Deprecated. Use the Create events API instead, which records feedback as a user event:
|
|
249
|
+
* emit a `USER` event with an `eventName` of `BUTTON_CLICKED` for thumbs up/down or
|
|
250
|
+
* `TEXT_INSERTED` for inserts.
|
|
249
251
|
*
|
|
250
252
|
* Update feedback or create it if it doesn't exist.
|
|
251
253
|
*
|
|
@@ -961,7 +961,9 @@ class ConversationClient {
|
|
|
961
961
|
/**
|
|
962
962
|
* @deprecated
|
|
963
963
|
*
|
|
964
|
-
*
|
|
964
|
+
* Deprecated. Use the Create events API instead, which records feedback as a user event:
|
|
965
|
+
* emit a `USER` event with an `eventName` of `BUTTON_CLICKED` for thumbs up/down or
|
|
966
|
+
* `TEXT_INSERTED` for inserts.
|
|
965
967
|
*
|
|
966
968
|
* Update feedback or create it if it doesn't exist.
|
|
967
969
|
*
|
|
@@ -37,9 +37,10 @@ export interface ConversationFilter {
|
|
|
37
37
|
/** Filter by actions that returned an error when executed in the conversation */
|
|
38
38
|
erroredActions?: MavenAGI.EntityIdFilter[];
|
|
39
39
|
/**
|
|
40
|
-
* Filter by
|
|
41
|
-
*
|
|
42
|
-
*
|
|
40
|
+
* Filter by the user events recorded on the conversation. `ThumbsUp` and `ThumbsDown` match
|
|
41
|
+
* `BUTTON_CLICKED` events by their `feedbackInfo.thumbUp` value, and `Insert` matches
|
|
42
|
+
* `TEXT_INSERTED` events. `Handoff` matches bot responses that returned the system fallback
|
|
43
|
+
* message.
|
|
43
44
|
*/
|
|
44
45
|
feedback?: MavenAGI.FeedbackType[];
|
|
45
46
|
/** Filter by human agents who participated in the conversation */
|
|
@@ -56,6 +57,11 @@ export interface ConversationFilter {
|
|
|
56
57
|
responseLength?: MavenAGI.ResponseLength[];
|
|
57
58
|
/** Filter by AI assessed sentiment analysis */
|
|
58
59
|
sentiment?: MavenAGI.Sentiment[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter by whether the conversation is spoken or written. Platform-assigned, never
|
|
62
|
+
* customer-writable.
|
|
63
|
+
*/
|
|
64
|
+
conversationMode?: MavenAGI.ConversationMode[];
|
|
59
65
|
/** Filter by tags applied to the conversation */
|
|
60
66
|
tags?: string[];
|
|
61
67
|
/** Filter by agent user IDs associated with the conversation */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./index";
|
|
@@ -0,0 +1,18 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./index"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AppInstalled = void 0;
|
|
5
|
+
exports.AppInstalled = {
|
|
6
|
+
Installed: "INSTALLED",
|
|
7
|
+
NotInstalled: "NOT_INSTALLED",
|
|
8
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Narrows the apps returned by a directory search. Every field is optional; omitting all of them
|
|
4
|
+
* returns every app visible to the agent. Fields combine with AND, and list fields match any of
|
|
5
|
+
* their values.
|
|
6
|
+
*/
|
|
7
|
+
export interface AppsFilter {
|
|
8
|
+
/** Case-insensitive substring match against an app's id, name, or description. */
|
|
9
|
+
search?: string;
|
|
10
|
+
/** Only return apps with one of these visibilities. */
|
|
11
|
+
visibility?: MavenAGI.AppVisibility[];
|
|
12
|
+
/**
|
|
13
|
+
* Only return apps that are installed on this agent, or only those that are not. Omit to
|
|
14
|
+
* return both.
|
|
15
|
+
*/
|
|
16
|
+
installed?: MavenAGI.AppInstalled;
|
|
17
|
+
/** Only return apps tagged with one of these categories. */
|
|
18
|
+
category?: MavenAGI.AppCategory[];
|
|
19
|
+
/** Only return apps offering one of these capabilities. */
|
|
20
|
+
capability?: MavenAGI.AppCapability[];
|
|
21
|
+
/**
|
|
22
|
+
* Also compute `allAppsCountByFilter` and `installedAppsCountByFilter` on the response.
|
|
23
|
+
* These are the counts a filter sidebar needs, and computing them costs extra queries, so
|
|
24
|
+
* they are off by default.
|
|
25
|
+
*/
|
|
26
|
+
filterCountEnabled?: boolean;
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
export interface AppsResponse extends MavenAGI.Page {
|
|
3
|
+
/** The page of apps matching the filter. */
|
|
4
|
+
apps: MavenAGI.MarketplaceApp[];
|
|
5
|
+
/**
|
|
6
|
+
* How many apps fall into each visibility and category, across everything visible to the
|
|
7
|
+
* agent rather than just this page. Present only when `filterCountEnabled` was set.
|
|
8
|
+
*/
|
|
9
|
+
allAppsCountByFilter?: MavenAGI.CountByFilterResult;
|
|
10
|
+
/**
|
|
11
|
+
* The same breakdown restricted to apps installed on this agent. Present only when
|
|
12
|
+
* `filterCountEnabled` was set.
|
|
13
|
+
*/
|
|
14
|
+
installedAppsCountByFilter?: MavenAGI.CountByFilterResult;
|
|
15
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* The fields every app exposes, whatever the surface it is returned from.
|
|
4
|
+
*/
|
|
5
|
+
export interface BaseApp {
|
|
6
|
+
/** Unique, immutable identifier for the app, used as `appId` everywhere in the API. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Display name shown in the app directory. */
|
|
9
|
+
name: string;
|
|
10
|
+
/** Id of the organization that authored the app, which is not the organization it is installed in. */
|
|
11
|
+
developerOrganizationId: string;
|
|
12
|
+
/** Public profile of the authoring organization, for attribution in the directory. */
|
|
13
|
+
creator?: MavenAGI.DeveloperOrganization;
|
|
14
|
+
/**
|
|
15
|
+
* Who can discover the app. PUBLIC is listed for every organization; PRIVATE is limited to the
|
|
16
|
+
* authoring organization and any organization it has been shared with; IN_DEVELOPMENT is not
|
|
17
|
+
* yet listed.
|
|
18
|
+
*/
|
|
19
|
+
visibility: MavenAGI.AppVisibility;
|
|
20
|
+
/** Full description shown on the app's detail page. */
|
|
21
|
+
description?: string;
|
|
22
|
+
/** One-line summary shown on the app's card in the directory listing. */
|
|
23
|
+
shortDescription?: string;
|
|
24
|
+
/** URL of the app's logo. Presigned and short-lived when the logo is stored by Maven. */
|
|
25
|
+
logoUrl?: string;
|
|
26
|
+
/** Categories the app is filed under in the directory. */
|
|
27
|
+
categories: MavenAGI.AppCategory[];
|
|
28
|
+
/** The kinds of functionality the app provides, such as actions, triggers, or knowledge bases. */
|
|
29
|
+
capabilities: MavenAGI.AppCapability[];
|
|
30
|
+
/** Whether this app is an auto-provisioned agent app created for a specific agent. */
|
|
31
|
+
isAgentApp?: boolean;
|
|
32
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* An app with the extra detail needed to render its page and drive installation.
|
|
4
|
+
*/
|
|
5
|
+
export interface BaseDetailApp extends MavenAGI.BaseApp {
|
|
6
|
+
/** Guidance shown while installing the app, for example how to obtain the credentials it asks for. */
|
|
7
|
+
installationInstructions?: string;
|
|
8
|
+
/** Guidance shown once the app is installed. */
|
|
9
|
+
instructions?: string;
|
|
10
|
+
/** URL of a preview image or demo for the app's detail page. */
|
|
11
|
+
previewUrl?: string;
|
|
12
|
+
/** Supporting links published by the author, such as documentation or a privacy policy. */
|
|
13
|
+
links: MavenAGI.Link[];
|
|
14
|
+
/**
|
|
15
|
+
* The settings the app accepts. Drives the install form, and describes which values are files
|
|
16
|
+
* rather than plain values.
|
|
17
|
+
*/
|
|
18
|
+
settingsSchema: MavenAGI.SettingsSchema;
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Facet counts for the app directory's filter controls — how many apps would remain under each
|
|
4
|
+
* individual filter value. Counts span every matching app, not only the current page.
|
|
5
|
+
*/
|
|
6
|
+
export interface CountByFilterResult {
|
|
7
|
+
/** Number of apps with each visibility. */
|
|
8
|
+
countByVisibility: Partial<Record<MavenAGI.AppVisibility, number>>;
|
|
9
|
+
/** Number of apps in each category. */
|
|
10
|
+
countByCategory: Partial<Record<MavenAGI.AppCategory, number>>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The public profile of an organization that authors apps, shown for attribution and support.
|
|
3
|
+
*/
|
|
4
|
+
export interface DeveloperOrganization {
|
|
5
|
+
/** Id of the authoring organization. */
|
|
6
|
+
organizationId: string;
|
|
7
|
+
/** Display name of the authoring organization. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** Public website for the organization. */
|
|
10
|
+
website?: string;
|
|
11
|
+
/** Contact email published by the organization. */
|
|
12
|
+
email?: string;
|
|
13
|
+
/** Contact phone number published by the organization. */
|
|
14
|
+
phone?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* A minimal app definition used when rendering the main app directory page
|
|
4
|
+
*/
|
|
5
|
+
export interface MarketplaceApp extends MavenAGI.BaseApp {
|
|
6
|
+
/** Whether this app is currently installed on the agent the request was scoped to. */
|
|
7
|
+
installed: MavenAGI.AppInstalled;
|
|
8
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* A detailed app definition used when rendering an app detail page within the app directory.
|
|
4
|
+
* The instructions, installationInstructions, previewUrl have their templated values substituted with appropriate values.
|
|
5
|
+
*/
|
|
6
|
+
export interface MarketplaceAppDetail extends MavenAGI.BaseDetailApp {
|
|
7
|
+
/** Whether this app is currently installed on the agent the request was scoped to. */
|
|
8
|
+
installed: MavenAGI.AppInstalled;
|
|
9
|
+
/**
|
|
10
|
+
* The installation's stored configuration, as an object keyed by setting key. Present only
|
|
11
|
+
* when the app is installed on this agent. The keys mirror the app's `settingsSchema`, and a
|
|
12
|
+
* key is absent when it has never been set.
|
|
13
|
+
*
|
|
14
|
+
* Values nest the way the schema does: a `section` entry holds an object of its fields, a
|
|
15
|
+
* `oneOf` entry an object of the selected option's fields alongside its `type` discriminator,
|
|
16
|
+
* and a `complexarray` entry a list of such objects.
|
|
17
|
+
*
|
|
18
|
+
* Two entry types do not return what is stored:
|
|
19
|
+
*
|
|
20
|
+
* - `image` entries return a short-lived presigned download URL, never the file's bytes.
|
|
21
|
+
* - `oauth` entries return `accessToken` redacted, with `scopes` and `status` intact, so the
|
|
22
|
+
* connection still reads as connected without exposing the token.
|
|
23
|
+
*
|
|
24
|
+
* Entries the app's schema marks as sensitive are redacted: `HIDDEN` becomes `********`, and
|
|
25
|
+
* `PARTIALLY_VISIBLE` keeps only the last three characters (`sk-live-abc` returns as
|
|
26
|
+
* `********abc`). Values of three characters or fewer are left alone. OAuth access tokens are
|
|
27
|
+
* redacted whatever the schema says.
|
|
28
|
+
*
|
|
29
|
+
* Redacted values are safe to send back. Install compares each incoming value against the
|
|
30
|
+
* stored one and skips it when it is that value's redaction, so this object can be read,
|
|
31
|
+
* edited and written back whole without stripping anything — an untouched credential keeps
|
|
32
|
+
* its stored value rather than being overwritten with asterisks.
|
|
33
|
+
*/
|
|
34
|
+
settings?: unknown;
|
|
35
|
+
}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
export * from "./AppCapability";
|
|
2
2
|
export * from "./AppCategory";
|
|
3
|
+
export * from "./AppInstalled";
|
|
4
|
+
export * from "./AppsFilter";
|
|
5
|
+
export * from "./AppsResponse";
|
|
3
6
|
export * from "./AppVisibility";
|
|
7
|
+
export * from "./BaseApp";
|
|
8
|
+
export * from "./BaseDetailApp";
|
|
9
|
+
export * from "./CountByFilterResult";
|
|
10
|
+
export * from "./DeveloperOrganization";
|
|
4
11
|
export * from "./GithubRepository";
|
|
5
12
|
export * from "./Link";
|
|
13
|
+
export * from "./MarketplaceApp";
|
|
14
|
+
export * from "./MarketplaceAppDetail";
|
|
@@ -16,6 +16,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AppCapability"), exports);
|
|
18
18
|
__exportStar(require("./AppCategory"), exports);
|
|
19
|
+
__exportStar(require("./AppInstalled"), exports);
|
|
20
|
+
__exportStar(require("./AppsFilter"), exports);
|
|
21
|
+
__exportStar(require("./AppsResponse"), exports);
|
|
19
22
|
__exportStar(require("./AppVisibility"), exports);
|
|
23
|
+
__exportStar(require("./BaseApp"), exports);
|
|
24
|
+
__exportStar(require("./BaseDetailApp"), exports);
|
|
25
|
+
__exportStar(require("./CountByFilterResult"), exports);
|
|
26
|
+
__exportStar(require("./DeveloperOrganization"), exports);
|
|
20
27
|
__exportStar(require("./GithubRepository"), exports);
|
|
21
28
|
__exportStar(require("./Link"), exports);
|
|
29
|
+
__exportStar(require("./MarketplaceApp"), exports);
|
|
30
|
+
__exportStar(require("./MarketplaceAppDetail"), exports);
|
package/api/resources/index.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ export * from "./agents/client/requests";
|
|
|
6
6
|
export * from "./agents/types";
|
|
7
7
|
export * as analytics from "./analytics";
|
|
8
8
|
export * from "./analytics/types";
|
|
9
|
+
export * as appDirectory from "./appDirectory";
|
|
10
|
+
export * from "./appDirectory/client/requests";
|
|
11
|
+
export * from "./appDirectory/types";
|
|
9
12
|
export * as appSettings from "./appSettings";
|
|
10
13
|
export * from "./appSettings/client/requests";
|
|
11
14
|
export * from "./appSettings/types";
|
package/api/resources/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.charters = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
|
|
39
|
+
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.charters = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = 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);
|
|
@@ -45,6 +45,9 @@ __exportStar(require("./agents/client/requests"), exports);
|
|
|
45
45
|
__exportStar(require("./agents/types"), exports);
|
|
46
46
|
exports.analytics = __importStar(require("./analytics"));
|
|
47
47
|
__exportStar(require("./analytics/types"), exports);
|
|
48
|
+
exports.appDirectory = __importStar(require("./appDirectory"));
|
|
49
|
+
__exportStar(require("./appDirectory/client/requests"), exports);
|
|
50
|
+
__exportStar(require("./appDirectory/types"), exports);
|
|
48
51
|
exports.appSettings = __importStar(require("./appSettings"));
|
|
49
52
|
__exportStar(require("./appSettings/client/requests"), exports);
|
|
50
53
|
__exportStar(require("./appSettings/types"), exports);
|
|
@@ -18,26 +18,34 @@ export interface KnowledgeBasePatchRequest {
|
|
|
18
18
|
appId?: string;
|
|
19
19
|
/** The name of the knowledge base. */
|
|
20
20
|
name?: string;
|
|
21
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
23
|
+
*
|
|
24
|
+
* The tags of the knowledge base.
|
|
25
|
+
*/
|
|
22
26
|
tags?: Set<string>;
|
|
23
27
|
/** Determines whether documents in the knowledge base are sent to the LLM as part of a conversation. Note that at this time knowledge bases can not be set to `ALWAYS`. */
|
|
24
28
|
llmInclusionStatus?: MavenAGI.LlmInclusionStatus;
|
|
25
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
31
|
+
*
|
|
32
|
+
* The preconditions that must be met for a knowledge base to be relevant to a conversation.
|
|
33
|
+
* A null value will remove the precondition from the knowledge base, it will be available on all conversations.
|
|
34
|
+
*/
|
|
26
35
|
precondition?: MavenAGI.Precondition | null;
|
|
27
36
|
/**
|
|
37
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
38
|
+
*
|
|
28
39
|
* The ID of a segment that must be matched for the knowledge base to be relevant to a conversation.
|
|
29
40
|
* A null value will remove the segment from the knowledge base, it will be available on all conversations.
|
|
30
|
-
*
|
|
31
|
-
* Segments are replacing inline preconditions - a knowledge base may not have both an inline precondition and a segment.
|
|
32
|
-
* Inline precondition support will be removed in a future release.
|
|
33
41
|
*/
|
|
34
42
|
segmentId?: MavenAGI.EntityId | null;
|
|
35
43
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
44
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
45
|
+
*
|
|
46
|
+
* The IDs of segments that should be matched (under an OR clause) for the knowledge base to be relevant
|
|
47
|
+
* to a conversation. An empty list will remove segments from the knowledge base, it will be available on
|
|
48
|
+
* all conversations.
|
|
41
49
|
*/
|
|
42
50
|
segmentIds?: MavenAGI.EntityId[];
|
|
43
51
|
/** How often the knowledge base should be refreshed. */
|