@coveo/platform-client 49.0.0 → 49.1.0
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.
|
@@ -36,7 +36,7 @@ export interface SmartSnippetsConfigurationModel {
|
|
|
36
36
|
*/
|
|
37
37
|
documentTypes?: DocumentType[];
|
|
38
38
|
}
|
|
39
|
-
export type SmartSnippetsDocumentRequirementStatus = 'OK' | 'INSUFFICIENT_DOCUMENTS';
|
|
39
|
+
export type SmartSnippetsDocumentRequirementStatus = 'OK' | 'INSUFFICIENT_DOCUMENTS' | 'NB_OF_DOCUMENTS_OVER_LIMIT';
|
|
40
40
|
export interface SmartSnippetsDocumentGroupPreviewParams {
|
|
41
41
|
/**
|
|
42
42
|
* The sources to consider.
|
|
@@ -54,28 +54,42 @@ export interface SmartSnippetsDocumentGroupPreviewParams {
|
|
|
54
54
|
export interface SmartSnippetsDocumentGroupPreview {
|
|
55
55
|
/**
|
|
56
56
|
* The query that was used to fetch document information.
|
|
57
|
+
*
|
|
58
|
+
* @Example @source==("Salesforce Notifier")
|
|
57
59
|
*/
|
|
58
60
|
query: string;
|
|
59
61
|
/**
|
|
60
|
-
*
|
|
62
|
+
* @Deprecated use `numberOfDocumentsInSources` instead
|
|
61
63
|
*/
|
|
62
|
-
|
|
64
|
+
numberOfDocuments: number;
|
|
63
65
|
/**
|
|
64
|
-
* The total number of documents in
|
|
66
|
+
* The total number of documents in the selected sources.
|
|
65
67
|
*/
|
|
66
|
-
|
|
68
|
+
numberOfDocumentsInSources: number;
|
|
69
|
+
/**
|
|
70
|
+
* The number of documents that are candidates for learning.
|
|
71
|
+
*/
|
|
72
|
+
numberOfValidDocuments: number;
|
|
67
73
|
/**
|
|
68
|
-
*
|
|
74
|
+
* @Deprecated use `numberOfDocumentsInSourcesMatchingFilters` instead
|
|
69
75
|
*/
|
|
70
76
|
numberOfDocumentsMatchingConditions: number;
|
|
71
77
|
/**
|
|
72
|
-
* The number of documents
|
|
78
|
+
* The number of documents in the selected sources that match the conditions.
|
|
79
|
+
*/
|
|
80
|
+
numberOfDocumentsInSourcesMatchingFilters: number;
|
|
81
|
+
/**
|
|
82
|
+
* @Deprecated use `numberOfDocumentsInSourcesMatchingFiltersWithPermanentId` instead
|
|
73
83
|
*/
|
|
74
84
|
numberOfDocumentsWithPermanentId: number;
|
|
75
85
|
/**
|
|
76
|
-
* The number of documents that
|
|
86
|
+
* The number of documents in the selected sources that match the conditions and have a permanentid
|
|
77
87
|
*/
|
|
78
|
-
|
|
88
|
+
numberOfDocumentsInSourcesMatchingFiltersWithPermanentId: number;
|
|
89
|
+
/**
|
|
90
|
+
* Status for the number of required documents to build the model.
|
|
91
|
+
*/
|
|
92
|
+
documentRequirementStatus: SmartSnippetsDocumentRequirementStatus;
|
|
79
93
|
}
|
|
80
94
|
export interface SmartSnippetsContentFieldsParams {
|
|
81
95
|
/**
|