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
|
@@ -31,6 +31,11 @@ export interface KnowledgeBaseFilter {
|
|
|
31
31
|
llmInclusionStatus?: MavenAGI.LlmInclusionStatus;
|
|
32
32
|
/** Filter knowledge bases by the segment they are assigned to. */
|
|
33
33
|
segmentId?: string;
|
|
34
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Deprecated. Segment assignment on knowledge bases is superseded by charters.
|
|
36
|
+
*
|
|
37
|
+
* Filter knowledge bases by the segments they are assigned to. Uses OR semantics — returns knowledge bases
|
|
38
|
+
* assigned to any of the provided segments.
|
|
39
|
+
*/
|
|
35
40
|
segmentIds?: MavenAGI.EntityId[];
|
|
36
41
|
}
|
|
@@ -2,6 +2,10 @@ import type * as MavenAGI from "../../../index";
|
|
|
2
2
|
export interface KnowledgeBaseProperties {
|
|
3
3
|
/** The name of the knowledge base */
|
|
4
4
|
name: string;
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
7
|
+
*
|
|
8
|
+
* The preconditions that must be met for a knowledge base to be relevant to a conversation.
|
|
9
|
+
*/
|
|
6
10
|
precondition?: MavenAGI.Precondition;
|
|
7
11
|
}
|
|
@@ -61,22 +61,26 @@ export interface KnowledgeBaseResponse extends MavenAGI.KnowledgeBaseProperties
|
|
|
61
61
|
type: MavenAGI.KnowledgeBaseType;
|
|
62
62
|
/** Metadata for the knowledge base. */
|
|
63
63
|
metadata: Record<string, string>;
|
|
64
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
66
|
+
*
|
|
67
|
+
* The tags of the knowledge base.
|
|
68
|
+
*/
|
|
65
69
|
tags: Set<string>;
|
|
66
70
|
/** Determines whether documents in the knowledge base are sent to the LLM as part of a conversation. */
|
|
67
71
|
llmInclusionStatus: MavenAGI.LlmInclusionStatus;
|
|
68
72
|
/** How often the knowledge base should be refreshed. */
|
|
69
73
|
refreshFrequency: MavenAGI.KnowledgeBaseRefreshFrequency;
|
|
70
74
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
75
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
76
|
+
*
|
|
77
|
+
* The ID of the segment that must be matched for the knowledge base to be relevant to a conversation.
|
|
74
78
|
*/
|
|
75
79
|
segmentId?: MavenAGI.EntityId;
|
|
76
80
|
/**
|
|
81
|
+
* Deprecated. Superseded by charters, which determine when knowledge bases and actions apply. Has no effect for agents using charters.
|
|
82
|
+
*
|
|
77
83
|
* The IDs of the segments that should be matched for the knowledge base to be relevant to a conversation.
|
|
78
|
-
* Segments are replacing inline preconditions - a Knowledge Base may not have both an inline precondition and a segment.
|
|
79
|
-
* Inline precondition support will be removed in a future release.
|
|
80
84
|
*/
|
|
81
85
|
segmentIds: MavenAGI.EntityId[];
|
|
82
86
|
/** The source URL of URL and RSS knowledge bases that was used for crawl. */
|
|
@@ -58,6 +58,19 @@ export interface KnowledgeDocumentRequest extends MavenAGI.BaseKnowledgeDocument
|
|
|
58
58
|
createdAt?: Date;
|
|
59
59
|
/** The time at which this document was last modified. */
|
|
60
60
|
updatedAt?: Date;
|
|
61
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Narrows this document to the given entities. Omit it - the default - to make the document
|
|
63
|
+
* part of the agent's general knowledge, retrievable on every conversation.
|
|
64
|
+
*
|
|
65
|
+
* A document narrowed to entities is only retrieved on conversations whose
|
|
66
|
+
* `responseConfig.contextFilter` names one of them, so it never surfaces on unrelated
|
|
67
|
+
* conversations. Each `entityId` must be fully specified and must belong to the
|
|
68
|
+
* organization and agent the request is made against; one that does not, or that names an
|
|
69
|
+
* entity type with no internal form, is rejected rather than dropped - dropping the last
|
|
70
|
+
* entity would widen the document back to the whole agent.
|
|
71
|
+
*
|
|
72
|
+
* Changing the entities on an existing document is not supported yet: re-sending a
|
|
73
|
+
* document with different `relevantEntities` but unchanged content is a no-op.
|
|
74
|
+
*/
|
|
62
75
|
relevantEntities?: MavenAGI.ScopedEntity[];
|
|
63
76
|
}
|
|
@@ -11,6 +11,8 @@ export declare class SegmentsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<SegmentsClient.Options>;
|
|
12
12
|
constructor(options: SegmentsClient.Options);
|
|
13
13
|
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*
|
|
14
16
|
* @param {MavenAGI.SegmentsSearchRequest} request
|
|
15
17
|
* @param {SegmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
18
|
*
|
|
@@ -26,6 +28,8 @@ export declare class SegmentsClient {
|
|
|
26
28
|
search(request: MavenAGI.SegmentsSearchRequest, requestOptions?: SegmentsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.SegmentsSearchResponse>;
|
|
27
29
|
private __search;
|
|
28
30
|
/**
|
|
31
|
+
* @deprecated
|
|
32
|
+
*
|
|
29
33
|
* Update a segment or create it if it doesn't exist.
|
|
30
34
|
*
|
|
31
35
|
* @param {MavenAGI.SegmentRequest} request
|
|
@@ -59,6 +63,8 @@ export declare class SegmentsClient {
|
|
|
59
63
|
createOrUpdate(request: MavenAGI.SegmentRequest, requestOptions?: SegmentsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.SegmentResponse>;
|
|
60
64
|
private __createOrUpdate;
|
|
61
65
|
/**
|
|
66
|
+
* @deprecated
|
|
67
|
+
*
|
|
62
68
|
* Get a segment by its supplied ID
|
|
63
69
|
*
|
|
64
70
|
* @param {string} segmentReferenceId - The reference ID of the segment to get. All other entity ID fields are inferred from the request.
|
|
@@ -77,6 +83,8 @@ export declare class SegmentsClient {
|
|
|
77
83
|
get(segmentReferenceId: string, request?: MavenAGI.SegmentGetRequest, requestOptions?: SegmentsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.SegmentResponse>;
|
|
78
84
|
private __get;
|
|
79
85
|
/**
|
|
86
|
+
* @deprecated
|
|
87
|
+
*
|
|
80
88
|
* Update mutable segment fields
|
|
81
89
|
*
|
|
82
90
|
* The `appId` field can be provided to update a segment owned by a different app.
|
|
@@ -98,6 +106,8 @@ export declare class SegmentsClient {
|
|
|
98
106
|
patch(segmentReferenceId: string, request: MavenAGI.SegmentPatchRequest, requestOptions?: SegmentsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.SegmentResponse>;
|
|
99
107
|
private __patch;
|
|
100
108
|
/**
|
|
109
|
+
* @deprecated
|
|
110
|
+
*
|
|
101
111
|
* Soft delete a segment. Only INACTIVE segments can be deleted.
|
|
102
112
|
*
|
|
103
113
|
* Deleted segments are excluded from search results but can still be retrieved by ID for archival purposes. Creating a new segment with the same referenceId as a deleted segment will overwrite the deleted segment and restore it to ACTIVE status.
|
|
@@ -57,6 +57,8 @@ class SegmentsClient {
|
|
|
57
57
|
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
+
* @deprecated
|
|
61
|
+
*
|
|
60
62
|
* @param {MavenAGI.SegmentsSearchRequest} request
|
|
61
63
|
* @param {SegmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
64
|
*
|
|
@@ -154,6 +156,8 @@ class SegmentsClient {
|
|
|
154
156
|
});
|
|
155
157
|
}
|
|
156
158
|
/**
|
|
159
|
+
* @deprecated
|
|
160
|
+
*
|
|
157
161
|
* Update a segment or create it if it doesn't exist.
|
|
158
162
|
*
|
|
159
163
|
* @param {MavenAGI.SegmentRequest} request
|
|
@@ -269,6 +273,8 @@ class SegmentsClient {
|
|
|
269
273
|
});
|
|
270
274
|
}
|
|
271
275
|
/**
|
|
276
|
+
* @deprecated
|
|
277
|
+
*
|
|
272
278
|
* Get a segment by its supplied ID
|
|
273
279
|
*
|
|
274
280
|
* @param {string} segmentReferenceId - The reference ID of the segment to get. All other entity ID fields are inferred from the request.
|
|
@@ -374,6 +380,8 @@ class SegmentsClient {
|
|
|
374
380
|
});
|
|
375
381
|
}
|
|
376
382
|
/**
|
|
383
|
+
* @deprecated
|
|
384
|
+
*
|
|
377
385
|
* Update mutable segment fields
|
|
378
386
|
*
|
|
379
387
|
* The `appId` field can be provided to update a segment owned by a different app.
|
|
@@ -477,6 +485,8 @@ class SegmentsClient {
|
|
|
477
485
|
});
|
|
478
486
|
}
|
|
479
487
|
/**
|
|
488
|
+
* @deprecated
|
|
489
|
+
*
|
|
480
490
|
* Soft delete a segment. Only INACTIVE segments can be deleted.
|
|
481
491
|
*
|
|
482
492
|
* Deleted segments are excluded from search results but can still be retrieved by ID for archival purposes. Creating a new segment with the same referenceId as a deleted segment will overwrite the deleted segment and restore it to ACTIVE status.
|
|
@@ -10,7 +10,9 @@ export interface EventTriggerBase {
|
|
|
10
10
|
* Conversation triggers fire when a conversation is created, after each additional message, and upon deletion events.
|
|
11
11
|
* There is a small delay before trigger execution to allow time for conversation analysis to complete.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* Events are immutable, so an event trigger fires immediately after the event is created.
|
|
14
|
+
*
|
|
15
|
+
* Inbox triggers fire when an inbox item is created or updated.
|
|
14
16
|
*/
|
|
15
17
|
type: MavenAGI.EventTriggerType;
|
|
16
18
|
}
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1056,7 +1056,11 @@ await client.analytics.exportConversationTable({
|
|
|
1056
1056
|
<dl>
|
|
1057
1057
|
<dd>
|
|
1058
1058
|
|
|
1059
|
-
|
|
1059
|
+
Deprecated. Use `getEventTable` instead, which reports the same thumbs up/down and insert
|
|
1060
|
+
activity as user events.
|
|
1061
|
+
|
|
1062
|
+
Retrieves structured feedback data formatted as a table, allowing users to group, filter,
|
|
1063
|
+
and define specific metrics to display as columns.
|
|
1060
1064
|
</dd>
|
|
1061
1065
|
</dl>
|
|
1062
1066
|
</dd>
|
|
@@ -1339,6 +1343,424 @@ await client.analytics.getEventChart({
|
|
|
1339
1343
|
</dl>
|
|
1340
1344
|
|
|
1341
1345
|
|
|
1346
|
+
</dd>
|
|
1347
|
+
</dl>
|
|
1348
|
+
</details>
|
|
1349
|
+
|
|
1350
|
+
## AppDirectory
|
|
1351
|
+
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">search</a>({ ...params }) -> MavenAGI.AppsResponse</code></summary>
|
|
1352
|
+
<dl>
|
|
1353
|
+
<dd>
|
|
1354
|
+
|
|
1355
|
+
#### 📝 Description
|
|
1356
|
+
|
|
1357
|
+
<dl>
|
|
1358
|
+
<dd>
|
|
1359
|
+
|
|
1360
|
+
<dl>
|
|
1361
|
+
<dd>
|
|
1362
|
+
|
|
1363
|
+
Lists apps available to install on the agent, with filtering and pagination.
|
|
1364
|
+
</dd>
|
|
1365
|
+
</dl>
|
|
1366
|
+
</dd>
|
|
1367
|
+
</dl>
|
|
1368
|
+
|
|
1369
|
+
#### 🔌 Usage
|
|
1370
|
+
|
|
1371
|
+
<dl>
|
|
1372
|
+
<dd>
|
|
1373
|
+
|
|
1374
|
+
<dl>
|
|
1375
|
+
<dd>
|
|
1376
|
+
|
|
1377
|
+
```typescript
|
|
1378
|
+
await client.appDirectory.search({});
|
|
1379
|
+
|
|
1380
|
+
```
|
|
1381
|
+
</dd>
|
|
1382
|
+
</dl>
|
|
1383
|
+
</dd>
|
|
1384
|
+
</dl>
|
|
1385
|
+
|
|
1386
|
+
#### ⚙️ Parameters
|
|
1387
|
+
|
|
1388
|
+
<dl>
|
|
1389
|
+
<dd>
|
|
1390
|
+
|
|
1391
|
+
<dl>
|
|
1392
|
+
<dd>
|
|
1393
|
+
|
|
1394
|
+
**request:** `MavenAGI.DirectoryAppsSearchRequest`
|
|
1395
|
+
|
|
1396
|
+
</dd>
|
|
1397
|
+
</dl>
|
|
1398
|
+
|
|
1399
|
+
<dl>
|
|
1400
|
+
<dd>
|
|
1401
|
+
|
|
1402
|
+
**requestOptions:** `AppDirectoryClient.RequestOptions`
|
|
1403
|
+
|
|
1404
|
+
</dd>
|
|
1405
|
+
</dl>
|
|
1406
|
+
</dd>
|
|
1407
|
+
</dl>
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
</dd>
|
|
1411
|
+
</dl>
|
|
1412
|
+
</details>
|
|
1413
|
+
|
|
1414
|
+
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">get</a>(appId) -> MavenAGI.MarketplaceAppDetail</code></summary>
|
|
1415
|
+
<dl>
|
|
1416
|
+
<dd>
|
|
1417
|
+
|
|
1418
|
+
#### 📝 Description
|
|
1419
|
+
|
|
1420
|
+
<dl>
|
|
1421
|
+
<dd>
|
|
1422
|
+
|
|
1423
|
+
<dl>
|
|
1424
|
+
<dd>
|
|
1425
|
+
|
|
1426
|
+
Gets an app and its installation status for the agent.
|
|
1427
|
+
</dd>
|
|
1428
|
+
</dl>
|
|
1429
|
+
</dd>
|
|
1430
|
+
</dl>
|
|
1431
|
+
|
|
1432
|
+
#### 🔌 Usage
|
|
1433
|
+
|
|
1434
|
+
<dl>
|
|
1435
|
+
<dd>
|
|
1436
|
+
|
|
1437
|
+
<dl>
|
|
1438
|
+
<dd>
|
|
1439
|
+
|
|
1440
|
+
```typescript
|
|
1441
|
+
await client.appDirectory.get("appId");
|
|
1442
|
+
|
|
1443
|
+
```
|
|
1444
|
+
</dd>
|
|
1445
|
+
</dl>
|
|
1446
|
+
</dd>
|
|
1447
|
+
</dl>
|
|
1448
|
+
|
|
1449
|
+
#### ⚙️ Parameters
|
|
1450
|
+
|
|
1451
|
+
<dl>
|
|
1452
|
+
<dd>
|
|
1453
|
+
|
|
1454
|
+
<dl>
|
|
1455
|
+
<dd>
|
|
1456
|
+
|
|
1457
|
+
**appId:** `string`
|
|
1458
|
+
|
|
1459
|
+
</dd>
|
|
1460
|
+
</dl>
|
|
1461
|
+
|
|
1462
|
+
<dl>
|
|
1463
|
+
<dd>
|
|
1464
|
+
|
|
1465
|
+
**requestOptions:** `AppDirectoryClient.RequestOptions`
|
|
1466
|
+
|
|
1467
|
+
</dd>
|
|
1468
|
+
</dl>
|
|
1469
|
+
</dd>
|
|
1470
|
+
</dl>
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
</dd>
|
|
1474
|
+
</dl>
|
|
1475
|
+
</details>
|
|
1476
|
+
|
|
1477
|
+
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">install</a>(appId, { ...params }) -> void</code></summary>
|
|
1478
|
+
<dl>
|
|
1479
|
+
<dd>
|
|
1480
|
+
|
|
1481
|
+
#### 📝 Description
|
|
1482
|
+
|
|
1483
|
+
<dl>
|
|
1484
|
+
<dd>
|
|
1485
|
+
|
|
1486
|
+
<dl>
|
|
1487
|
+
<dd>
|
|
1488
|
+
|
|
1489
|
+
Installs the app on the agent, or updates settings for an existing installation. Re-runs the postInstall lifecycle hook on each call.
|
|
1490
|
+
</dd>
|
|
1491
|
+
</dl>
|
|
1492
|
+
</dd>
|
|
1493
|
+
</dl>
|
|
1494
|
+
|
|
1495
|
+
#### 🔌 Usage
|
|
1496
|
+
|
|
1497
|
+
<dl>
|
|
1498
|
+
<dd>
|
|
1499
|
+
|
|
1500
|
+
<dl>
|
|
1501
|
+
<dd>
|
|
1502
|
+
|
|
1503
|
+
```typescript
|
|
1504
|
+
await client.appDirectory.install("appId", {
|
|
1505
|
+
settings: {
|
|
1506
|
+
"key": "value"
|
|
1507
|
+
}
|
|
1508
|
+
});
|
|
1509
|
+
|
|
1510
|
+
```
|
|
1511
|
+
</dd>
|
|
1512
|
+
</dl>
|
|
1513
|
+
</dd>
|
|
1514
|
+
</dl>
|
|
1515
|
+
|
|
1516
|
+
#### ⚙️ Parameters
|
|
1517
|
+
|
|
1518
|
+
<dl>
|
|
1519
|
+
<dd>
|
|
1520
|
+
|
|
1521
|
+
<dl>
|
|
1522
|
+
<dd>
|
|
1523
|
+
|
|
1524
|
+
**appId:** `string`
|
|
1525
|
+
|
|
1526
|
+
</dd>
|
|
1527
|
+
</dl>
|
|
1528
|
+
|
|
1529
|
+
<dl>
|
|
1530
|
+
<dd>
|
|
1531
|
+
|
|
1532
|
+
**request:** `MavenAGI.InstallDirectoryAppRequest`
|
|
1533
|
+
|
|
1534
|
+
</dd>
|
|
1535
|
+
</dl>
|
|
1536
|
+
|
|
1537
|
+
<dl>
|
|
1538
|
+
<dd>
|
|
1539
|
+
|
|
1540
|
+
**requestOptions:** `AppDirectoryClient.RequestOptions`
|
|
1541
|
+
|
|
1542
|
+
</dd>
|
|
1543
|
+
</dl>
|
|
1544
|
+
</dd>
|
|
1545
|
+
</dl>
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
</dd>
|
|
1549
|
+
</dl>
|
|
1550
|
+
</details>
|
|
1551
|
+
|
|
1552
|
+
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">uninstall</a>(appId) -> void</code></summary>
|
|
1553
|
+
<dl>
|
|
1554
|
+
<dd>
|
|
1555
|
+
|
|
1556
|
+
#### 📝 Description
|
|
1557
|
+
|
|
1558
|
+
<dl>
|
|
1559
|
+
<dd>
|
|
1560
|
+
|
|
1561
|
+
<dl>
|
|
1562
|
+
<dd>
|
|
1563
|
+
|
|
1564
|
+
Uninstalls the app from the agent.
|
|
1565
|
+
</dd>
|
|
1566
|
+
</dl>
|
|
1567
|
+
</dd>
|
|
1568
|
+
</dl>
|
|
1569
|
+
|
|
1570
|
+
#### 🔌 Usage
|
|
1571
|
+
|
|
1572
|
+
<dl>
|
|
1573
|
+
<dd>
|
|
1574
|
+
|
|
1575
|
+
<dl>
|
|
1576
|
+
<dd>
|
|
1577
|
+
|
|
1578
|
+
```typescript
|
|
1579
|
+
await client.appDirectory.uninstall("appId");
|
|
1580
|
+
|
|
1581
|
+
```
|
|
1582
|
+
</dd>
|
|
1583
|
+
</dl>
|
|
1584
|
+
</dd>
|
|
1585
|
+
</dl>
|
|
1586
|
+
|
|
1587
|
+
#### ⚙️ Parameters
|
|
1588
|
+
|
|
1589
|
+
<dl>
|
|
1590
|
+
<dd>
|
|
1591
|
+
|
|
1592
|
+
<dl>
|
|
1593
|
+
<dd>
|
|
1594
|
+
|
|
1595
|
+
**appId:** `string`
|
|
1596
|
+
|
|
1597
|
+
</dd>
|
|
1598
|
+
</dl>
|
|
1599
|
+
|
|
1600
|
+
<dl>
|
|
1601
|
+
<dd>
|
|
1602
|
+
|
|
1603
|
+
**requestOptions:** `AppDirectoryClient.RequestOptions`
|
|
1604
|
+
|
|
1605
|
+
</dd>
|
|
1606
|
+
</dl>
|
|
1607
|
+
</dd>
|
|
1608
|
+
</dl>
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
</dd>
|
|
1612
|
+
</dl>
|
|
1613
|
+
</details>
|
|
1614
|
+
|
|
1615
|
+
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">getSettingDownloadUrl</a>(appId, settingsKey) -> MavenAGI.GetDirectoryAppSettingDownloadUrlResponse</code></summary>
|
|
1616
|
+
<dl>
|
|
1617
|
+
<dd>
|
|
1618
|
+
|
|
1619
|
+
#### 📝 Description
|
|
1620
|
+
|
|
1621
|
+
<dl>
|
|
1622
|
+
<dd>
|
|
1623
|
+
|
|
1624
|
+
<dl>
|
|
1625
|
+
<dd>
|
|
1626
|
+
|
|
1627
|
+
Gets a url for downloading a file app setting.
|
|
1628
|
+
</dd>
|
|
1629
|
+
</dl>
|
|
1630
|
+
</dd>
|
|
1631
|
+
</dl>
|
|
1632
|
+
|
|
1633
|
+
#### 🔌 Usage
|
|
1634
|
+
|
|
1635
|
+
<dl>
|
|
1636
|
+
<dd>
|
|
1637
|
+
|
|
1638
|
+
<dl>
|
|
1639
|
+
<dd>
|
|
1640
|
+
|
|
1641
|
+
```typescript
|
|
1642
|
+
await client.appDirectory.getSettingDownloadUrl("appId", "settingsKey");
|
|
1643
|
+
|
|
1644
|
+
```
|
|
1645
|
+
</dd>
|
|
1646
|
+
</dl>
|
|
1647
|
+
</dd>
|
|
1648
|
+
</dl>
|
|
1649
|
+
|
|
1650
|
+
#### ⚙️ Parameters
|
|
1651
|
+
|
|
1652
|
+
<dl>
|
|
1653
|
+
<dd>
|
|
1654
|
+
|
|
1655
|
+
<dl>
|
|
1656
|
+
<dd>
|
|
1657
|
+
|
|
1658
|
+
**appId:** `string`
|
|
1659
|
+
|
|
1660
|
+
</dd>
|
|
1661
|
+
</dl>
|
|
1662
|
+
|
|
1663
|
+
<dl>
|
|
1664
|
+
<dd>
|
|
1665
|
+
|
|
1666
|
+
**settingsKey:** `string`
|
|
1667
|
+
|
|
1668
|
+
</dd>
|
|
1669
|
+
</dl>
|
|
1670
|
+
|
|
1671
|
+
<dl>
|
|
1672
|
+
<dd>
|
|
1673
|
+
|
|
1674
|
+
**requestOptions:** `AppDirectoryClient.RequestOptions`
|
|
1675
|
+
|
|
1676
|
+
</dd>
|
|
1677
|
+
</dl>
|
|
1678
|
+
</dd>
|
|
1679
|
+
</dl>
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
</dd>
|
|
1683
|
+
</dl>
|
|
1684
|
+
</details>
|
|
1685
|
+
|
|
1686
|
+
<details><summary><code>client.appDirectory.<a href="/src/api/resources/appDirectory/client/Client.ts">getSettingUploadUrl</a>(appId, settingsKey, { ...params }) -> MavenAGI.GetDirectoryAppSettingUploadUrlResponse</code></summary>
|
|
1687
|
+
<dl>
|
|
1688
|
+
<dd>
|
|
1689
|
+
|
|
1690
|
+
#### 📝 Description
|
|
1691
|
+
|
|
1692
|
+
<dl>
|
|
1693
|
+
<dd>
|
|
1694
|
+
|
|
1695
|
+
<dl>
|
|
1696
|
+
<dd>
|
|
1697
|
+
|
|
1698
|
+
Gets a presigned url for uploading a file app setting before installation.
|
|
1699
|
+
</dd>
|
|
1700
|
+
</dl>
|
|
1701
|
+
</dd>
|
|
1702
|
+
</dl>
|
|
1703
|
+
|
|
1704
|
+
#### 🔌 Usage
|
|
1705
|
+
|
|
1706
|
+
<dl>
|
|
1707
|
+
<dd>
|
|
1708
|
+
|
|
1709
|
+
<dl>
|
|
1710
|
+
<dd>
|
|
1711
|
+
|
|
1712
|
+
```typescript
|
|
1713
|
+
await client.appDirectory.getSettingUploadUrl("appId", "settingsKey", {
|
|
1714
|
+
contentLength: 1,
|
|
1715
|
+
contentType: "contentType"
|
|
1716
|
+
});
|
|
1717
|
+
|
|
1718
|
+
```
|
|
1719
|
+
</dd>
|
|
1720
|
+
</dl>
|
|
1721
|
+
</dd>
|
|
1722
|
+
</dl>
|
|
1723
|
+
|
|
1724
|
+
#### ⚙️ Parameters
|
|
1725
|
+
|
|
1726
|
+
<dl>
|
|
1727
|
+
<dd>
|
|
1728
|
+
|
|
1729
|
+
<dl>
|
|
1730
|
+
<dd>
|
|
1731
|
+
|
|
1732
|
+
**appId:** `string`
|
|
1733
|
+
|
|
1734
|
+
</dd>
|
|
1735
|
+
</dl>
|
|
1736
|
+
|
|
1737
|
+
<dl>
|
|
1738
|
+
<dd>
|
|
1739
|
+
|
|
1740
|
+
**settingsKey:** `string`
|
|
1741
|
+
|
|
1742
|
+
</dd>
|
|
1743
|
+
</dl>
|
|
1744
|
+
|
|
1745
|
+
<dl>
|
|
1746
|
+
<dd>
|
|
1747
|
+
|
|
1748
|
+
**request:** `MavenAGI.GetAppSettingUploadUrlRequest`
|
|
1749
|
+
|
|
1750
|
+
</dd>
|
|
1751
|
+
</dl>
|
|
1752
|
+
|
|
1753
|
+
<dl>
|
|
1754
|
+
<dd>
|
|
1755
|
+
|
|
1756
|
+
**requestOptions:** `AppDirectoryClient.RequestOptions`
|
|
1757
|
+
|
|
1758
|
+
</dd>
|
|
1759
|
+
</dl>
|
|
1760
|
+
</dd>
|
|
1761
|
+
</dl>
|
|
1762
|
+
|
|
1763
|
+
|
|
1342
1764
|
</dd>
|
|
1343
1765
|
</dl>
|
|
1344
1766
|
</details>
|
|
@@ -2366,7 +2788,9 @@ await client.conversation.categorize("conversationId");
|
|
|
2366
2788
|
<dl>
|
|
2367
2789
|
<dd>
|
|
2368
2790
|
|
|
2369
|
-
|
|
2791
|
+
Deprecated. Use the Create events API instead, which records feedback as a user event:
|
|
2792
|
+
emit a `USER` event with an `eventName` of `BUTTON_CLICKED` for thumbs up/down or
|
|
2793
|
+
`TEXT_INSERTED` for inserts.
|
|
2370
2794
|
|
|
2371
2795
|
Update feedback or create it if it doesn't exist.
|
|
2372
2796
|
</dd>
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { EntityId } from "../../../commons/types/EntityId";
|
|
5
5
|
import { LlmInclusionStatus } from "../../../commons/types/LlmInclusionStatus";
|
|
6
|
+
import { SideEffects } from "../../../commons/types/SideEffects";
|
|
6
7
|
export declare const ActionPatchRequest: core.serialization.Schema<serializers.ActionPatchRequest.Raw, MavenAGI.ActionPatchRequest>;
|
|
7
8
|
export declare namespace ActionPatchRequest {
|
|
8
9
|
interface Raw {
|
|
@@ -10,5 +11,6 @@ export declare namespace ActionPatchRequest {
|
|
|
10
11
|
instructions?: string | null;
|
|
11
12
|
llmInclusionStatus?: LlmInclusionStatus.Raw | null;
|
|
12
13
|
segmentId?: (EntityId.Raw | null | undefined) | null;
|
|
14
|
+
sideEffects?: (SideEffects.Raw | null | undefined) | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -38,9 +38,11 @@ exports.ActionPatchRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../../core"));
|
|
39
39
|
const EntityId_1 = require("../../../commons/types/EntityId");
|
|
40
40
|
const LlmInclusionStatus_1 = require("../../../commons/types/LlmInclusionStatus");
|
|
41
|
+
const SideEffects_1 = require("../../../commons/types/SideEffects");
|
|
41
42
|
exports.ActionPatchRequest = core.serialization.object({
|
|
42
43
|
appId: core.serialization.string().optional(),
|
|
43
44
|
instructions: core.serialization.string().optional(),
|
|
44
45
|
llmInclusionStatus: LlmInclusionStatus_1.LlmInclusionStatus.optional(),
|
|
45
46
|
segmentId: EntityId_1.EntityId.optionalNullable(),
|
|
47
|
+
sideEffects: SideEffects_1.SideEffects.optionalNullable(),
|
|
46
48
|
});
|
|
@@ -2,11 +2,13 @@ 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 { AgentUserField } from "../../users/types/AgentUserField";
|
|
5
|
+
import { AgentUserRowIdentifier } from "./AgentUserRowIdentifier";
|
|
5
6
|
import { FieldValue } from "./FieldValue";
|
|
6
7
|
import { RowBase } from "./RowBase";
|
|
7
8
|
export declare const AgentUserRow: core.serialization.ObjectSchema<serializers.AgentUserRow.Raw, MavenAGI.AgentUserRow>;
|
|
8
9
|
export declare namespace AgentUserRow {
|
|
9
10
|
interface Raw extends RowBase.Raw {
|
|
10
11
|
identifier: Record<AgentUserField.Raw, FieldValue.Raw | null | undefined>;
|
|
12
|
+
identifiers: AgentUserRowIdentifier.Raw[];
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -37,10 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AgentUserRow = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AgentUserField_1 = require("../../users/types/AgentUserField");
|
|
40
|
+
const AgentUserRowIdentifier_1 = require("./AgentUserRowIdentifier");
|
|
40
41
|
const FieldValue_1 = require("./FieldValue");
|
|
41
42
|
const RowBase_1 = require("./RowBase");
|
|
42
43
|
exports.AgentUserRow = core.serialization
|
|
43
44
|
.object({
|
|
44
45
|
identifier: core.serialization.partialRecord(AgentUserField_1.AgentUserField, FieldValue_1.FieldValue.optional()),
|
|
46
|
+
identifiers: core.serialization.list(AgentUserRowIdentifier_1.AgentUserRowIdentifier),
|
|
45
47
|
})
|
|
46
48
|
.extend(RowBase_1.RowBase);
|