mavenagi 1.2.56 → 1.2.58
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 +21 -16
- package/api/resources/analytics/types/ConversationBasicMetric.d.ts +5 -0
- package/api/resources/analytics/types/ConversationGroupBy.d.ts +9 -1
- package/api/resources/analytics/types/ConversationNumericMetric.d.ts +5 -0
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +6 -0
- package/api/resources/charters/index.d.ts +1 -0
- package/api/resources/charters/index.js +17 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +17 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +20 -0
- package/api/resources/charters/types/CharterStatus.d.ts +16 -0
- package/api/resources/charters/types/CharterStatus.js +19 -0
- package/api/resources/charters/types/CharterSummary.d.ts +28 -0
- package/api/resources/charters/types/CharterType.d.ts +25 -0
- package/api/resources/charters/types/CharterType.js +28 -0
- package/api/resources/charters/types/index.d.ts +4 -0
- package/api/resources/charters/types/index.js +20 -0
- package/api/resources/commons/types/ActionParameter.d.ts +2 -2
- package/api/resources/commons/types/BaseCursorRequest.d.ts +21 -0
- package/api/resources/commons/types/BaseCursorRequest.js +3 -0
- package/api/resources/commons/types/BotObjectResponse.d.ts +2 -4
- package/api/resources/commons/types/CursorPage.d.ts +12 -0
- package/api/resources/commons/types/CursorPage.js +3 -0
- package/api/resources/commons/types/FieldCondition.d.ts +45 -0
- package/api/resources/commons/types/FieldCondition.js +3 -0
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +1 -1
- package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +1 -1
- package/api/resources/commons/types/KeyValueEntryCondition.d.ts +1 -1
- package/api/resources/commons/types/TextFormat.d.ts +13 -0
- package/api/resources/commons/types/TextFormat.js +3 -0
- package/api/resources/commons/types/TextFormatJsonSchema.d.ts +35 -0
- package/api/resources/commons/types/TextFormatJsonSchema.js +3 -0
- package/api/resources/commons/types/TextFormatText.d.ts +4 -0
- package/api/resources/commons/types/TextFormatText.js +3 -0
- package/api/resources/commons/types/UniversalCondition.d.ts +3 -3
- package/api/resources/commons/types/index.d.ts +6 -1
- package/api/resources/commons/types/index.js +6 -1
- package/api/resources/conversation/client/Client.d.ts +32 -1
- package/api/resources/conversation/client/Client.js +116 -1
- package/api/resources/conversation/types/AskRequest.d.ts +59 -0
- package/api/resources/conversation/types/AskStreamObjectEvent.d.ts +7 -0
- package/api/resources/conversation/types/AskStreamObjectEvent.js +3 -0
- package/api/resources/conversation/types/ConversationField.d.ts +8 -0
- package/api/resources/conversation/types/ConversationField.js +8 -0
- package/api/resources/conversation/types/ConversationRequest.d.ts +12 -1
- package/api/resources/conversation/types/ConversationsCursorSearchRequest.d.ts +4 -0
- package/api/resources/conversation/types/ConversationsCursorSearchRequest.js +3 -0
- package/api/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +11 -0
- package/api/resources/conversation/types/ConversationsCursorSearchResponse.js +3 -0
- package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +5 -0
- package/api/resources/conversation/types/NumericConversationField.d.ts +4 -0
- package/api/resources/conversation/types/NumericConversationField.js +4 -0
- package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
- package/api/resources/conversation/types/index.d.ts +3 -0
- package/api/resources/conversation/types/index.js +3 -0
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/intelligentFields/client/Client.d.ts +156 -0
- package/api/resources/intelligentFields/client/Client.js +627 -0
- package/api/resources/intelligentFields/client/index.d.ts +1 -0
- package/api/resources/intelligentFields/client/index.js +17 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.d.ts +12 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldDeleteRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +8 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +26 -0
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +3 -0
- package/api/resources/intelligentFields/client/requests/index.d.ts +3 -0
- package/api/resources/intelligentFields/client/requests/index.js +2 -0
- package/api/resources/intelligentFields/exports.d.ts +2 -0
- package/api/resources/intelligentFields/exports.js +21 -0
- package/api/resources/intelligentFields/index.d.ts +2 -0
- package/api/resources/intelligentFields/index.js +18 -0
- package/api/resources/intelligentFields/types/EnumOption.d.ts +9 -0
- package/api/resources/intelligentFields/types/EnumOption.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +7 -0
- package/api/resources/intelligentFields/types/IntelligentFieldBase.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +28 -0
- package/api/resources/intelligentFields/types/IntelligentFieldCore.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +36 -0
- package/api/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +28 -0
- package/api/resources/intelligentFields/types/IntelligentFieldRequest.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +41 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
- package/api/resources/intelligentFields/types/IntelligentFieldStatus.js +10 -0
- package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +9 -0
- package/api/resources/intelligentFields/types/IntelligentFieldType.js +12 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +8 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +10 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +17 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +35 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +5 -0
- package/api/resources/intelligentFields/types/IntelligentFieldValueSortField.js +8 -0
- package/api/resources/intelligentFields/types/index.d.ts +13 -0
- package/api/resources/intelligentFields/types/index.js +29 -0
- package/api/resources/knowledge/client/Client.d.ts +33 -0
- package/api/resources/knowledge/client/Client.js +117 -0
- package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.d.ts +16 -0
- package/api/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +30 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +29 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgress.js +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +24 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +3 -0
- package/api/resources/knowledge/types/index.d.ts +3 -0
- package/api/resources/knowledge/types/index.js +3 -0
- package/api/resources/segments/client/Client.js +3 -1
- package/api/resources/segments/client/requests/SegmentDeleteRequest.d.ts +12 -0
- package/api/resources/segments/types/SegmentPatchRequest.d.ts +8 -0
- package/api/resources/segments/types/SegmentRequest.d.ts +8 -0
- package/api/resources/segments/types/SegmentSummary.d.ts +14 -0
- package/api/resources/segments/types/SegmentSummary.js +3 -0
- package/api/resources/segments/types/index.d.ts +1 -0
- package/api/resources/segments/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +552 -1
- package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationBasicMetric.js +2 -0
- package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationGroupBy.js +2 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationNumericMetric.js +2 -0
- package/serialization/resources/charters/index.d.ts +1 -0
- package/serialization/resources/charters/index.js +17 -0
- package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +7 -0
- package/serialization/resources/charters/types/CharterChildrenExclusionPolicy.js +39 -0
- package/serialization/resources/charters/types/CharterStatus.d.ts +7 -0
- package/serialization/resources/charters/types/CharterStatus.js +39 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +22 -0
- package/serialization/resources/charters/types/CharterSummary.js +54 -0
- package/serialization/resources/charters/types/CharterType.d.ts +7 -0
- package/serialization/resources/charters/types/CharterType.js +39 -0
- package/serialization/resources/charters/types/index.d.ts +4 -0
- package/serialization/resources/charters/types/index.js +20 -0
- package/serialization/resources/commons/types/BaseCursorRequest.d.ts +11 -0
- package/serialization/resources/commons/types/BaseCursorRequest.js +43 -0
- package/serialization/resources/commons/types/BotObjectResponse.d.ts +0 -1
- package/serialization/resources/commons/types/BotObjectResponse.js +0 -1
- package/serialization/resources/commons/types/CursorPage.d.ts +9 -0
- package/serialization/resources/commons/types/CursorPage.js +41 -0
- package/serialization/resources/commons/types/{IntelligentFieldCondition.d.ts → FieldCondition.d.ts} +3 -3
- package/serialization/resources/commons/types/{IntelligentFieldCondition.js → FieldCondition.js} +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPrecondition.d.ts +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPrecondition.js +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +2 -2
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +2 -2
- package/serialization/resources/commons/types/KeyValueEntryCondition.d.ts +2 -2
- package/serialization/resources/commons/types/KeyValueEntryCondition.js +2 -2
- package/serialization/resources/commons/types/TextFormat.d.ts +15 -0
- package/serialization/resources/commons/types/TextFormat.js +49 -0
- package/serialization/resources/commons/types/TextFormatJsonSchema.d.ts +10 -0
- package/serialization/resources/commons/types/TextFormatJsonSchema.js +42 -0
- package/serialization/resources/commons/types/TextFormatText.d.ts +7 -0
- package/serialization/resources/commons/types/TextFormatText.js +39 -0
- package/serialization/resources/commons/types/index.d.ts +6 -1
- package/serialization/resources/commons/types/index.js +6 -1
- package/serialization/resources/conversation/types/AskRequest.d.ts +2 -0
- package/serialization/resources/conversation/types/AskRequest.js +2 -0
- package/serialization/resources/conversation/types/AskStreamObjectEvent.d.ts +9 -0
- package/serialization/resources/conversation/types/AskStreamObjectEvent.js +40 -0
- package/serialization/resources/conversation/types/ConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationField.js +2 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchRequest.d.ts +11 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchRequest.js +45 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.d.ts +12 -0
- package/serialization/resources/conversation/types/ConversationsCursorSearchResponse.js +46 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
- package/serialization/resources/conversation/types/StreamResponse.js +2 -0
- package/serialization/resources/conversation/types/index.d.ts +3 -0
- package/serialization/resources/conversation/types/index.js +3 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +6 -1
- package/serialization/resources/intelligentFields/client/index.d.ts +1 -0
- package/serialization/resources/intelligentFields/client/index.js +17 -0
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +17 -0
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +49 -0
- package/serialization/resources/intelligentFields/client/requests/index.d.ts +1 -0
- package/serialization/resources/intelligentFields/client/requests/index.js +5 -0
- package/serialization/resources/intelligentFields/index.d.ts +2 -0
- package/serialization/resources/intelligentFields/index.js +18 -0
- package/serialization/resources/intelligentFields/types/EnumOption.d.ts +10 -0
- package/serialization/resources/intelligentFields/types/EnumOption.js +42 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldBase.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldBase.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.d.ts +15 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldCore.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldDetailResponse.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldRequest.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +15 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +49 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldStatus.js +39 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldType.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldType.js +39 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.d.ts +10 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueEntityFilter.js +42 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.d.ts +12 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueFieldFilter.js +44 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +20 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.js +54 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +11 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.js +45 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.d.ts +7 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldValueSortField.js +39 -0
- package/serialization/resources/intelligentFields/types/index.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/index.js +29 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseDocumentDeltas.d.ts +11 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseDocumentDeltas.js +43 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +4 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +4 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.d.ts +11 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgress.js +43 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.d.ts +13 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionProgressRequest.js +45 -0
- package/serialization/resources/knowledge/types/index.d.ts +3 -0
- package/serialization/resources/knowledge/types/index.js +3 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentPatchRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentSummary.d.ts +14 -0
- package/serialization/resources/segments/types/SegmentSummary.js +47 -0
- package/serialization/resources/segments/types/index.d.ts +1 -0
- package/serialization/resources/segments/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/commons/types/IntelligentFieldCondition.d.ts +0 -37
- /package/api/resources/{commons/types/IntelligentFieldCondition.js → charters/types/CharterSummary.js} +0 -0
package/reference.md
CHANGED
|
@@ -2366,7 +2366,9 @@ await client.conversation.categorize("conversationId");
|
|
|
2366
2366
|
<dl>
|
|
2367
2367
|
<dd>
|
|
2368
2368
|
|
|
2369
|
-
|
|
2369
|
+
Replaced by the Create events API, which records feedback as a user event.
|
|
2370
|
+
|
|
2371
|
+
Update feedback or create it if it doesn't exist.
|
|
2370
2372
|
</dd>
|
|
2371
2373
|
</dl>
|
|
2372
2374
|
</dd>
|
|
@@ -2730,6 +2732,79 @@ await client.conversation.search({});
|
|
|
2730
2732
|
</dl>
|
|
2731
2733
|
|
|
2732
2734
|
|
|
2735
|
+
</dd>
|
|
2736
|
+
</dl>
|
|
2737
|
+
</details>
|
|
2738
|
+
|
|
2739
|
+
<details><summary><code>client.conversation.<a href="/src/api/resources/conversation/client/Client.ts">searchCursor</a>({ ...params }) -> MavenAGI.ConversationsCursorSearchResponse</code></summary>
|
|
2740
|
+
<dl>
|
|
2741
|
+
<dd>
|
|
2742
|
+
|
|
2743
|
+
#### 📝 Description
|
|
2744
|
+
|
|
2745
|
+
<dl>
|
|
2746
|
+
<dd>
|
|
2747
|
+
|
|
2748
|
+
<dl>
|
|
2749
|
+
<dd>
|
|
2750
|
+
|
|
2751
|
+
Search conversations using cursor pagination, which can read past the 10,000th result that
|
|
2752
|
+
`search` cannot reach.
|
|
2753
|
+
|
|
2754
|
+
Results are ordered by conversation creation time. Start with no `cursor`, then pass each
|
|
2755
|
+
response's `nextCursor` back unchanged until the response omits it. Keep every other field
|
|
2756
|
+
identical for the whole traversal — changing the filter, size, or sort direction mid-way is
|
|
2757
|
+
rejected rather than silently restarting you at the beginning.
|
|
2758
|
+
|
|
2759
|
+
`nextCursor` is the only reliable end-of-results signal. Do not stop early because a page
|
|
2760
|
+
came back with fewer conversations than you asked for: that happens legitimately, and more
|
|
2761
|
+
pages may still remain.
|
|
2762
|
+
</dd>
|
|
2763
|
+
</dl>
|
|
2764
|
+
</dd>
|
|
2765
|
+
</dl>
|
|
2766
|
+
|
|
2767
|
+
#### 🔌 Usage
|
|
2768
|
+
|
|
2769
|
+
<dl>
|
|
2770
|
+
<dd>
|
|
2771
|
+
|
|
2772
|
+
<dl>
|
|
2773
|
+
<dd>
|
|
2774
|
+
|
|
2775
|
+
```typescript
|
|
2776
|
+
await client.conversation.searchCursor({});
|
|
2777
|
+
|
|
2778
|
+
```
|
|
2779
|
+
</dd>
|
|
2780
|
+
</dl>
|
|
2781
|
+
</dd>
|
|
2782
|
+
</dl>
|
|
2783
|
+
|
|
2784
|
+
#### ⚙️ Parameters
|
|
2785
|
+
|
|
2786
|
+
<dl>
|
|
2787
|
+
<dd>
|
|
2788
|
+
|
|
2789
|
+
<dl>
|
|
2790
|
+
<dd>
|
|
2791
|
+
|
|
2792
|
+
**request:** `MavenAGI.ConversationsCursorSearchRequest`
|
|
2793
|
+
|
|
2794
|
+
</dd>
|
|
2795
|
+
</dl>
|
|
2796
|
+
|
|
2797
|
+
<dl>
|
|
2798
|
+
<dd>
|
|
2799
|
+
|
|
2800
|
+
**requestOptions:** `ConversationClient.RequestOptions`
|
|
2801
|
+
|
|
2802
|
+
</dd>
|
|
2803
|
+
</dl>
|
|
2804
|
+
</dd>
|
|
2805
|
+
</dl>
|
|
2806
|
+
|
|
2807
|
+
|
|
2733
2808
|
</dd>
|
|
2734
2809
|
</dl>
|
|
2735
2810
|
</details>
|
|
@@ -4102,6 +4177,396 @@ await client.integrations.update("organizationId", "integrationId", {});
|
|
|
4102
4177
|
</dl>
|
|
4103
4178
|
|
|
4104
4179
|
|
|
4180
|
+
</dd>
|
|
4181
|
+
</dl>
|
|
4182
|
+
</details>
|
|
4183
|
+
|
|
4184
|
+
## IntelligentFields
|
|
4185
|
+
<details><summary><code>client.intelligentFields.<a href="/src/api/resources/intelligentFields/client/Client.ts">createOrUpdate</a>({ ...params }) -> MavenAGI.IntelligentFieldResponse</code></summary>
|
|
4186
|
+
<dl>
|
|
4187
|
+
<dd>
|
|
4188
|
+
|
|
4189
|
+
#### 📝 Description
|
|
4190
|
+
|
|
4191
|
+
<dl>
|
|
4192
|
+
<dd>
|
|
4193
|
+
|
|
4194
|
+
<dl>
|
|
4195
|
+
<dd>
|
|
4196
|
+
|
|
4197
|
+
Create a new intelligent field. Intelligent fields are used to store custom LLM-generated values on entities like conversations or events.
|
|
4198
|
+
</dd>
|
|
4199
|
+
</dl>
|
|
4200
|
+
</dd>
|
|
4201
|
+
</dl>
|
|
4202
|
+
|
|
4203
|
+
#### 🔌 Usage
|
|
4204
|
+
|
|
4205
|
+
<dl>
|
|
4206
|
+
<dd>
|
|
4207
|
+
|
|
4208
|
+
<dl>
|
|
4209
|
+
<dd>
|
|
4210
|
+
|
|
4211
|
+
```typescript
|
|
4212
|
+
await client.intelligentFields.createOrUpdate({
|
|
4213
|
+
fieldId: {
|
|
4214
|
+
referenceId: "ticket-priority"
|
|
4215
|
+
},
|
|
4216
|
+
name: "Ticket Priority",
|
|
4217
|
+
description: "The priority of the conversation based on urgency",
|
|
4218
|
+
entityType: "CONVERSATION",
|
|
4219
|
+
validationType: "STRING",
|
|
4220
|
+
enumOptions: [{
|
|
4221
|
+
value: "HIGH",
|
|
4222
|
+
label: "High Priority"
|
|
4223
|
+
}, {
|
|
4224
|
+
value: "MEDIUM",
|
|
4225
|
+
label: "Medium Priority"
|
|
4226
|
+
}, {
|
|
4227
|
+
value: "LOW",
|
|
4228
|
+
label: "Low Priority"
|
|
4229
|
+
}],
|
|
4230
|
+
definition: "The priority of the conversation based on the urgency and importance; draw from the content / messages in the conversation; must be one of HIGH, MEDIUM, or LOW."
|
|
4231
|
+
});
|
|
4232
|
+
|
|
4233
|
+
```
|
|
4234
|
+
</dd>
|
|
4235
|
+
</dl>
|
|
4236
|
+
</dd>
|
|
4237
|
+
</dl>
|
|
4238
|
+
|
|
4239
|
+
#### ⚙️ Parameters
|
|
4240
|
+
|
|
4241
|
+
<dl>
|
|
4242
|
+
<dd>
|
|
4243
|
+
|
|
4244
|
+
<dl>
|
|
4245
|
+
<dd>
|
|
4246
|
+
|
|
4247
|
+
**request:** `MavenAGI.IntelligentFieldRequest`
|
|
4248
|
+
|
|
4249
|
+
</dd>
|
|
4250
|
+
</dl>
|
|
4251
|
+
|
|
4252
|
+
<dl>
|
|
4253
|
+
<dd>
|
|
4254
|
+
|
|
4255
|
+
**requestOptions:** `IntelligentFieldsClient.RequestOptions`
|
|
4256
|
+
|
|
4257
|
+
</dd>
|
|
4258
|
+
</dl>
|
|
4259
|
+
</dd>
|
|
4260
|
+
</dl>
|
|
4261
|
+
|
|
4262
|
+
|
|
4263
|
+
</dd>
|
|
4264
|
+
</dl>
|
|
4265
|
+
</details>
|
|
4266
|
+
|
|
4267
|
+
<details><summary><code>client.intelligentFields.<a href="/src/api/resources/intelligentFields/client/Client.ts">get</a>(fieldReferenceId, { ...params }) -> MavenAGI.IntelligentFieldDetailResponse</code></summary>
|
|
4268
|
+
<dl>
|
|
4269
|
+
<dd>
|
|
4270
|
+
|
|
4271
|
+
#### 📝 Description
|
|
4272
|
+
|
|
4273
|
+
<dl>
|
|
4274
|
+
<dd>
|
|
4275
|
+
|
|
4276
|
+
<dl>
|
|
4277
|
+
<dd>
|
|
4278
|
+
|
|
4279
|
+
Get an intelligent field by its supplied ID
|
|
4280
|
+
</dd>
|
|
4281
|
+
</dl>
|
|
4282
|
+
</dd>
|
|
4283
|
+
</dl>
|
|
4284
|
+
|
|
4285
|
+
#### 🔌 Usage
|
|
4286
|
+
|
|
4287
|
+
<dl>
|
|
4288
|
+
<dd>
|
|
4289
|
+
|
|
4290
|
+
<dl>
|
|
4291
|
+
<dd>
|
|
4292
|
+
|
|
4293
|
+
```typescript
|
|
4294
|
+
await client.intelligentFields.get("ticket-priority");
|
|
4295
|
+
|
|
4296
|
+
```
|
|
4297
|
+
</dd>
|
|
4298
|
+
</dl>
|
|
4299
|
+
</dd>
|
|
4300
|
+
</dl>
|
|
4301
|
+
|
|
4302
|
+
#### ⚙️ Parameters
|
|
4303
|
+
|
|
4304
|
+
<dl>
|
|
4305
|
+
<dd>
|
|
4306
|
+
|
|
4307
|
+
<dl>
|
|
4308
|
+
<dd>
|
|
4309
|
+
|
|
4310
|
+
**fieldReferenceId:** `string` — The reference ID of the intelligent field to get. All other entity ID fields are inferred from the request.
|
|
4311
|
+
|
|
4312
|
+
</dd>
|
|
4313
|
+
</dl>
|
|
4314
|
+
|
|
4315
|
+
<dl>
|
|
4316
|
+
<dd>
|
|
4317
|
+
|
|
4318
|
+
**request:** `MavenAGI.IntelligentFieldGetRequest`
|
|
4319
|
+
|
|
4320
|
+
</dd>
|
|
4321
|
+
</dl>
|
|
4322
|
+
|
|
4323
|
+
<dl>
|
|
4324
|
+
<dd>
|
|
4325
|
+
|
|
4326
|
+
**requestOptions:** `IntelligentFieldsClient.RequestOptions`
|
|
4327
|
+
|
|
4328
|
+
</dd>
|
|
4329
|
+
</dl>
|
|
4330
|
+
</dd>
|
|
4331
|
+
</dl>
|
|
4332
|
+
|
|
4333
|
+
|
|
4334
|
+
</dd>
|
|
4335
|
+
</dl>
|
|
4336
|
+
</details>
|
|
4337
|
+
|
|
4338
|
+
<details><summary><code>client.intelligentFields.<a href="/src/api/resources/intelligentFields/client/Client.ts">patch</a>(fieldReferenceId, { ...params }) -> MavenAGI.IntelligentFieldResponse</code></summary>
|
|
4339
|
+
<dl>
|
|
4340
|
+
<dd>
|
|
4341
|
+
|
|
4342
|
+
#### 📝 Description
|
|
4343
|
+
|
|
4344
|
+
<dl>
|
|
4345
|
+
<dd>
|
|
4346
|
+
|
|
4347
|
+
<dl>
|
|
4348
|
+
<dd>
|
|
4349
|
+
|
|
4350
|
+
Patch an intelligent field. Can be used to update the definition, status, or other mutable properties.
|
|
4351
|
+
</dd>
|
|
4352
|
+
</dl>
|
|
4353
|
+
</dd>
|
|
4354
|
+
</dl>
|
|
4355
|
+
|
|
4356
|
+
#### 🔌 Usage
|
|
4357
|
+
|
|
4358
|
+
<dl>
|
|
4359
|
+
<dd>
|
|
4360
|
+
|
|
4361
|
+
<dl>
|
|
4362
|
+
<dd>
|
|
4363
|
+
|
|
4364
|
+
```typescript
|
|
4365
|
+
await client.intelligentFields.patch("ticket-priority", {
|
|
4366
|
+
definition: "The priority of the conversation based on the urgency and importance; draw from the content / messages in the conversation; must be one of HIGH, MEDIUM, or LOW."
|
|
4367
|
+
});
|
|
4368
|
+
|
|
4369
|
+
```
|
|
4370
|
+
</dd>
|
|
4371
|
+
</dl>
|
|
4372
|
+
</dd>
|
|
4373
|
+
</dl>
|
|
4374
|
+
|
|
4375
|
+
#### ⚙️ Parameters
|
|
4376
|
+
|
|
4377
|
+
<dl>
|
|
4378
|
+
<dd>
|
|
4379
|
+
|
|
4380
|
+
<dl>
|
|
4381
|
+
<dd>
|
|
4382
|
+
|
|
4383
|
+
**fieldReferenceId:** `string` — The reference ID of the intelligent field to patch.
|
|
4384
|
+
|
|
4385
|
+
</dd>
|
|
4386
|
+
</dl>
|
|
4387
|
+
|
|
4388
|
+
<dl>
|
|
4389
|
+
<dd>
|
|
4390
|
+
|
|
4391
|
+
**request:** `MavenAGI.IntelligentFieldPatchRequest`
|
|
4392
|
+
|
|
4393
|
+
</dd>
|
|
4394
|
+
</dl>
|
|
4395
|
+
|
|
4396
|
+
<dl>
|
|
4397
|
+
<dd>
|
|
4398
|
+
|
|
4399
|
+
**requestOptions:** `IntelligentFieldsClient.RequestOptions`
|
|
4400
|
+
|
|
4401
|
+
</dd>
|
|
4402
|
+
</dl>
|
|
4403
|
+
</dd>
|
|
4404
|
+
</dl>
|
|
4405
|
+
|
|
4406
|
+
|
|
4407
|
+
</dd>
|
|
4408
|
+
</dl>
|
|
4409
|
+
</details>
|
|
4410
|
+
|
|
4411
|
+
<details><summary><code>client.intelligentFields.<a href="/src/api/resources/intelligentFields/client/Client.ts">delete</a>(fieldReferenceId, { ...params }) -> MavenAGI.IntelligentFieldResponse</code></summary>
|
|
4412
|
+
<dl>
|
|
4413
|
+
<dd>
|
|
4414
|
+
|
|
4415
|
+
#### 📝 Description
|
|
4416
|
+
|
|
4417
|
+
<dl>
|
|
4418
|
+
<dd>
|
|
4419
|
+
|
|
4420
|
+
<dl>
|
|
4421
|
+
<dd>
|
|
4422
|
+
|
|
4423
|
+
Soft delete an intelligent field. Only INACTIVE fields can be deleted.
|
|
4424
|
+
|
|
4425
|
+
Deleted fields are excluded from search results but can still be retrieved by ID.
|
|
4426
|
+
Creating a new field with the same referenceId as a deleted field will overwrite
|
|
4427
|
+
the deleted field and restore it to INACTIVE status.
|
|
4428
|
+
|
|
4429
|
+
Deleted fields cannot be modified.
|
|
4430
|
+
</dd>
|
|
4431
|
+
</dl>
|
|
4432
|
+
</dd>
|
|
4433
|
+
</dl>
|
|
4434
|
+
|
|
4435
|
+
#### 🔌 Usage
|
|
4436
|
+
|
|
4437
|
+
<dl>
|
|
4438
|
+
<dd>
|
|
4439
|
+
|
|
4440
|
+
<dl>
|
|
4441
|
+
<dd>
|
|
4442
|
+
|
|
4443
|
+
```typescript
|
|
4444
|
+
await client.intelligentFields.delete("ticket-priority");
|
|
4445
|
+
|
|
4446
|
+
```
|
|
4447
|
+
</dd>
|
|
4448
|
+
</dl>
|
|
4449
|
+
</dd>
|
|
4450
|
+
</dl>
|
|
4451
|
+
|
|
4452
|
+
#### ⚙️ Parameters
|
|
4453
|
+
|
|
4454
|
+
<dl>
|
|
4455
|
+
<dd>
|
|
4456
|
+
|
|
4457
|
+
<dl>
|
|
4458
|
+
<dd>
|
|
4459
|
+
|
|
4460
|
+
**fieldReferenceId:** `string` — The reference ID of the intelligent field to delete.
|
|
4461
|
+
|
|
4462
|
+
</dd>
|
|
4463
|
+
</dl>
|
|
4464
|
+
|
|
4465
|
+
<dl>
|
|
4466
|
+
<dd>
|
|
4467
|
+
|
|
4468
|
+
**request:** `MavenAGI.IntelligentFieldDeleteRequest`
|
|
4469
|
+
|
|
4470
|
+
</dd>
|
|
4471
|
+
</dl>
|
|
4472
|
+
|
|
4473
|
+
<dl>
|
|
4474
|
+
<dd>
|
|
4475
|
+
|
|
4476
|
+
**requestOptions:** `IntelligentFieldsClient.RequestOptions`
|
|
4477
|
+
|
|
4478
|
+
</dd>
|
|
4479
|
+
</dl>
|
|
4480
|
+
</dd>
|
|
4481
|
+
</dl>
|
|
4482
|
+
|
|
4483
|
+
|
|
4484
|
+
</dd>
|
|
4485
|
+
</dl>
|
|
4486
|
+
</details>
|
|
4487
|
+
|
|
4488
|
+
<details><summary><code>client.intelligentFields.<a href="/src/api/resources/intelligentFields/client/Client.ts">searchValues</a>({ ...params }) -> MavenAGI.IntelligentFieldValueSearchResponse</code></summary>
|
|
4489
|
+
<dl>
|
|
4490
|
+
<dd>
|
|
4491
|
+
|
|
4492
|
+
#### 📝 Description
|
|
4493
|
+
|
|
4494
|
+
<dl>
|
|
4495
|
+
<dd>
|
|
4496
|
+
|
|
4497
|
+
<dl>
|
|
4498
|
+
<dd>
|
|
4499
|
+
|
|
4500
|
+
Search computed values for intelligent fields across entities. Supports filtering by field properties and target entity.
|
|
4501
|
+
</dd>
|
|
4502
|
+
</dl>
|
|
4503
|
+
</dd>
|
|
4504
|
+
</dl>
|
|
4505
|
+
|
|
4506
|
+
#### 🔌 Usage
|
|
4507
|
+
|
|
4508
|
+
<dl>
|
|
4509
|
+
<dd>
|
|
4510
|
+
|
|
4511
|
+
<dl>
|
|
4512
|
+
<dd>
|
|
4513
|
+
|
|
4514
|
+
```typescript
|
|
4515
|
+
await client.intelligentFields.searchValues({
|
|
4516
|
+
fieldFilter: {
|
|
4517
|
+
fieldIds: [{
|
|
4518
|
+
referenceId: "ticket-priority",
|
|
4519
|
+
appId: "zendesk",
|
|
4520
|
+
type: "INTELLIGENT_FIELD",
|
|
4521
|
+
organizationId: "acme",
|
|
4522
|
+
agentId: "support"
|
|
4523
|
+
}]
|
|
4524
|
+
},
|
|
4525
|
+
entityFilter: {
|
|
4526
|
+
entityIds: [{
|
|
4527
|
+
referenceId: "conv-123",
|
|
4528
|
+
appId: "zendesk",
|
|
4529
|
+
type: "CONVERSATION",
|
|
4530
|
+
organizationId: "acme",
|
|
4531
|
+
agentId: "support"
|
|
4532
|
+
}]
|
|
4533
|
+
},
|
|
4534
|
+
page: 0,
|
|
4535
|
+
size: 20,
|
|
4536
|
+
sort: "CREATED_AT",
|
|
4537
|
+
sortDesc: true
|
|
4538
|
+
});
|
|
4539
|
+
|
|
4540
|
+
```
|
|
4541
|
+
</dd>
|
|
4542
|
+
</dl>
|
|
4543
|
+
</dd>
|
|
4544
|
+
</dl>
|
|
4545
|
+
|
|
4546
|
+
#### ⚙️ Parameters
|
|
4547
|
+
|
|
4548
|
+
<dl>
|
|
4549
|
+
<dd>
|
|
4550
|
+
|
|
4551
|
+
<dl>
|
|
4552
|
+
<dd>
|
|
4553
|
+
|
|
4554
|
+
**request:** `MavenAGI.IntelligentFieldValueSearchRequest`
|
|
4555
|
+
|
|
4556
|
+
</dd>
|
|
4557
|
+
</dl>
|
|
4558
|
+
|
|
4559
|
+
<dl>
|
|
4560
|
+
<dd>
|
|
4561
|
+
|
|
4562
|
+
**requestOptions:** `IntelligentFieldsClient.RequestOptions`
|
|
4563
|
+
|
|
4564
|
+
</dd>
|
|
4565
|
+
</dl>
|
|
4566
|
+
</dd>
|
|
4567
|
+
</dl>
|
|
4568
|
+
|
|
4569
|
+
|
|
4105
4570
|
</dd>
|
|
4106
4571
|
</dl>
|
|
4107
4572
|
</details>
|
|
@@ -4758,6 +5223,92 @@ await client.knowledge.finalizeKnowledgeBaseVersion("help-center", {
|
|
|
4758
5223
|
</dl>
|
|
4759
5224
|
|
|
4760
5225
|
|
|
5226
|
+
</dd>
|
|
5227
|
+
</dl>
|
|
5228
|
+
</details>
|
|
5229
|
+
|
|
5230
|
+
<details><summary><code>client.knowledge.<a href="/src/api/resources/knowledge/client/Client.ts">updateKnowledgeBaseVersionProgress</a>(knowledgeBaseReferenceId, { ...params }) -> MavenAGI.KnowledgeBaseVersion</code></summary>
|
|
5231
|
+
<dl>
|
|
5232
|
+
<dd>
|
|
5233
|
+
|
|
5234
|
+
#### 📝 Description
|
|
5235
|
+
|
|
5236
|
+
<dl>
|
|
5237
|
+
<dd>
|
|
5238
|
+
|
|
5239
|
+
<dl>
|
|
5240
|
+
<dd>
|
|
5241
|
+
|
|
5242
|
+
Report refresh progress for an in-progress knowledge base version.
|
|
5243
|
+
|
|
5244
|
+
Progress is advisory and shown to users while a refresh runs. Each call replaces the
|
|
5245
|
+
version's entire progress state - no history is kept, only the most recent value is
|
|
5246
|
+
retained. Will throw an exception if the target version is not in progress.
|
|
5247
|
+
</dd>
|
|
5248
|
+
</dl>
|
|
5249
|
+
</dd>
|
|
5250
|
+
</dl>
|
|
5251
|
+
|
|
5252
|
+
#### 🔌 Usage
|
|
5253
|
+
|
|
5254
|
+
<dl>
|
|
5255
|
+
<dd>
|
|
5256
|
+
|
|
5257
|
+
<dl>
|
|
5258
|
+
<dd>
|
|
5259
|
+
|
|
5260
|
+
```typescript
|
|
5261
|
+
await client.knowledge.updateKnowledgeBaseVersionProgress("help-center", {
|
|
5262
|
+
versionId: {
|
|
5263
|
+
type: "KNOWLEDGE_BASE_VERSION",
|
|
5264
|
+
referenceId: "versionId",
|
|
5265
|
+
appId: "maven"
|
|
5266
|
+
},
|
|
5267
|
+
progress: {
|
|
5268
|
+
message: "Fetching articles from the help center",
|
|
5269
|
+
completedCount: 120,
|
|
5270
|
+
totalCount: 500
|
|
5271
|
+
}
|
|
5272
|
+
});
|
|
5273
|
+
|
|
5274
|
+
```
|
|
5275
|
+
</dd>
|
|
5276
|
+
</dl>
|
|
5277
|
+
</dd>
|
|
5278
|
+
</dl>
|
|
5279
|
+
|
|
5280
|
+
#### ⚙️ Parameters
|
|
5281
|
+
|
|
5282
|
+
<dl>
|
|
5283
|
+
<dd>
|
|
5284
|
+
|
|
5285
|
+
<dl>
|
|
5286
|
+
<dd>
|
|
5287
|
+
|
|
5288
|
+
**knowledgeBaseReferenceId:** `string` — The reference ID of the knowledge base to report progress for. All other entity ID fields are inferred from the request.
|
|
5289
|
+
|
|
5290
|
+
</dd>
|
|
5291
|
+
</dl>
|
|
5292
|
+
|
|
5293
|
+
<dl>
|
|
5294
|
+
<dd>
|
|
5295
|
+
|
|
5296
|
+
**request:** `MavenAGI.KnowledgeBaseVersionProgressRequest`
|
|
5297
|
+
|
|
5298
|
+
</dd>
|
|
5299
|
+
</dl>
|
|
5300
|
+
|
|
5301
|
+
<dl>
|
|
5302
|
+
<dd>
|
|
5303
|
+
|
|
5304
|
+
**requestOptions:** `KnowledgeClient.RequestOptions`
|
|
5305
|
+
|
|
5306
|
+
</dd>
|
|
5307
|
+
</dl>
|
|
5308
|
+
</dd>
|
|
5309
|
+
</dl>
|
|
5310
|
+
|
|
5311
|
+
|
|
4761
5312
|
</dd>
|
|
4762
5313
|
</dl>
|
|
4763
5314
|
</details>
|
|
@@ -1,10 +1,12 @@
|
|
|
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 { EntityId } from "../../commons/types/EntityId";
|
|
4
5
|
import { ConversationField } from "../../conversation/types/ConversationField";
|
|
5
6
|
export declare const ConversationBasicMetric: core.serialization.ObjectSchema<serializers.ConversationBasicMetric.Raw, MavenAGI.ConversationBasicMetric>;
|
|
6
7
|
export declare namespace ConversationBasicMetric {
|
|
7
8
|
interface Raw {
|
|
8
9
|
targetField: ConversationField.Raw;
|
|
10
|
+
intelligentFieldId?: EntityId.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationBasicMetric = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
39
40
|
const ConversationField_1 = require("../../conversation/types/ConversationField");
|
|
40
41
|
exports.ConversationBasicMetric = core.serialization.object({
|
|
41
42
|
targetField: ConversationField_1.ConversationField,
|
|
43
|
+
intelligentFieldId: EntityId_1.EntityId.optional(),
|
|
42
44
|
});
|
|
@@ -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 { EntityId } from "../../commons/types/EntityId";
|
|
4
5
|
import { ConversationField } from "../../conversation/types/ConversationField";
|
|
5
6
|
import { GroupByBase } from "./GroupByBase";
|
|
6
7
|
import { Range } from "./Range";
|
|
@@ -8,6 +9,7 @@ export declare const ConversationGroupBy: core.serialization.ObjectSchema<serial
|
|
|
8
9
|
export declare namespace ConversationGroupBy {
|
|
9
10
|
interface Raw extends GroupByBase.Raw {
|
|
10
11
|
field: ConversationField.Raw;
|
|
12
|
+
intelligentFieldId?: EntityId.Raw | null;
|
|
11
13
|
ranges?: Range.Raw[] | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -36,12 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationGroupBy = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
39
40
|
const ConversationField_1 = require("../../conversation/types/ConversationField");
|
|
40
41
|
const GroupByBase_1 = require("./GroupByBase");
|
|
41
42
|
const Range_1 = require("./Range");
|
|
42
43
|
exports.ConversationGroupBy = core.serialization
|
|
43
44
|
.object({
|
|
44
45
|
field: ConversationField_1.ConversationField,
|
|
46
|
+
intelligentFieldId: EntityId_1.EntityId.optional(),
|
|
45
47
|
ranges: core.serialization.list(Range_1.Range).optional(),
|
|
46
48
|
})
|
|
47
49
|
.extend(GroupByBase_1.GroupByBase);
|
|
@@ -1,10 +1,12 @@
|
|
|
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 { EntityId } from "../../commons/types/EntityId";
|
|
4
5
|
import { NumericConversationField } from "../../conversation/types/NumericConversationField";
|
|
5
6
|
export declare const ConversationNumericMetric: core.serialization.ObjectSchema<serializers.ConversationNumericMetric.Raw, MavenAGI.ConversationNumericMetric>;
|
|
6
7
|
export declare namespace ConversationNumericMetric {
|
|
7
8
|
interface Raw {
|
|
8
9
|
targetField: NumericConversationField.Raw;
|
|
10
|
+
intelligentFieldId?: EntityId.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConversationNumericMetric = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
39
40
|
const NumericConversationField_1 = require("../../conversation/types/NumericConversationField");
|
|
40
41
|
exports.ConversationNumericMetric = core.serialization.object({
|
|
41
42
|
targetField: NumericConversationField_1.NumericConversationField,
|
|
43
|
+
intelligentFieldId: EntityId_1.EntityId.optional(),
|
|
42
44
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const CharterChildrenExclusionPolicy: core.serialization.Schema<serializers.CharterChildrenExclusionPolicy.Raw, MavenAGI.CharterChildrenExclusionPolicy>;
|
|
5
|
+
export declare namespace CharterChildrenExclusionPolicy {
|
|
6
|
+
type Raw = "DEFAULT" | "ALLOW_OVERLAP";
|
|
7
|
+
}
|