@coveo/platform-client 54.4.0 → 54.5.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.
@@ -7,16 +7,30 @@ class CaseClassificationConfiguration extends Resource_js_1.default {
7
7
  static baseUrl = `/rest/organizations/${APICore_js_1.default.orgPlaceholder}/machinelearning/configuration/caseclassif`;
8
8
  static modelUrl = `${CaseClassificationConfiguration.baseUrl}/model`;
9
9
  static fieldsUrl = `${CaseClassificationConfiguration.baseUrl}/fields`;
10
+ static fieldDocumentCountUrl = `${CaseClassificationConfiguration.baseUrl}/fields/{fieldName}/documentCount`;
11
+ static fieldValueCountUrl = `${CaseClassificationConfiguration.baseUrl}/fields/{fieldName}/valueCount`;
10
12
  static previewUrl = `${CaseClassificationConfiguration.baseUrl}/preview`;
13
+ /**
14
+ * @deprecated create(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use MachineLearning `register(registration: RegistrationModel)` instead.
15
+ */
11
16
  create(configModel) {
12
17
  return this.api.post(CaseClassificationConfiguration.modelUrl, configModel);
13
18
  }
19
+ /**
20
+ * @deprecated delete(modelId: string) is kept for backward compatibility. You should now use Models `delete(modelId: string)` instead.
21
+ */
14
22
  delete(modelId) {
15
23
  return this.api.delete(`${CaseClassificationConfiguration.modelUrl}/${modelId}`);
16
24
  }
25
+ /**
26
+ * @deprecated get(modelId: string) is kept for backward compatibility. You should now use Models `get(modelId: string)` instead.
27
+ */
17
28
  get(modelId) {
18
29
  return this.api.get(`${CaseClassificationConfiguration.modelUrl}/${modelId}`);
19
30
  }
31
+ /**
32
+ * @deprecated update(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use Models `update(modelId: string, update: RegistrationModel)` instead.
33
+ */
20
34
  update(configModel) {
21
35
  return this.api.put(`${CaseClassificationConfiguration.modelUrl}/${configModel.modelId}`, configModel);
22
36
  }
@@ -26,6 +40,12 @@ class CaseClassificationConfiguration extends Resource_js_1.default {
26
40
  preview(params) {
27
41
  return this.api.post(CaseClassificationConfiguration.previewUrl, params);
28
42
  }
43
+ documentCount(params) {
44
+ return this.api.post(CaseClassificationConfiguration.fieldDocumentCountUrl, params);
45
+ }
46
+ valueCount(params) {
47
+ return this.api.post(CaseClassificationConfiguration.fieldValueCountUrl, params);
48
+ }
29
49
  }
30
50
  exports.default = CaseClassificationConfiguration;
31
51
  //# sourceMappingURL=CaseClassificationConfiguration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaseClassificationConfiguration.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.ts"],"names":[],"mappings":";;;AAAA,6EAAsC;AAEtC,4EAAyC;AASzC,MAAqB,+BAAgC,SAAQ,qBAAQ;IACjE,MAAM,CAAC,OAAO,GAAG,uBAAuB,oBAAG,CAAC,cAAc,4CAA4C,CAAC;IACvG,MAAM,CAAC,QAAQ,GAAG,GAAG,+BAA+B,CAAC,OAAO,QAAQ,CAAC;IACrE,MAAM,CAAC,SAAS,GAAG,GAAG,+BAA+B,CAAC,OAAO,SAAS,CAAC;IACvE,MAAM,CAAC,UAAU,GAAG,GAAG,+BAA+B,CAAC,OAAO,UAAU,CAAC;IAEzE,MAAM,CAAC,WAAiE;QACpE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,+BAA+B,CAAC,QAAQ,EACxC,WAAW,CACd,CAAC;IACN,CAAC;IAED,MAAM,CAAC,OAAe;QAClB,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,+BAA+B,CAAC,QAAQ,IAAI,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED,GAAG,CAAC,OAAe;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,GAAG,+BAA+B,CAAC,QAAQ,IAAI,OAAO,EAAE,CAC3D,CAAC;IACN,CAAC;IAED,MAAM,CAAC,WAAiD;QACpD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,GAAG,+BAA+B,CAAC,QAAQ,IAAI,WAAW,CAAC,OAAO,EAAE,EACpE,WAAW,CACd,CAAC;IACN,CAAC;IAED,MAAM,CAAC,MAA6C;QAChD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAkC,+BAA+B,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC7G,CAAC;IAED,OAAO,CAAC,MAAoD;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,+BAA+B,CAAC,UAAU,EAC1C,MAAM,CACT,CAAC;IACN,CAAC;;AAvCL,kDAwCC"}
1
+ {"version":3,"file":"CaseClassificationConfiguration.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.ts"],"names":[],"mappings":";;;AAAA,6EAAsC;AAEtC,4EAAyC;AAYzC,MAAqB,+BAAgC,SAAQ,qBAAQ;IACjE,MAAM,CAAC,OAAO,GAAG,uBAAuB,oBAAG,CAAC,cAAc,4CAA4C,CAAC;IACvG,MAAM,CAAC,QAAQ,GAAG,GAAG,+BAA+B,CAAC,OAAO,QAAQ,CAAC;IACrE,MAAM,CAAC,SAAS,GAAG,GAAG,+BAA+B,CAAC,OAAO,SAAS,CAAC;IACvE,MAAM,CAAC,qBAAqB,GAAG,GAAG,+BAA+B,CAAC,OAAO,mCAAmC,CAAC;IAC7G,MAAM,CAAC,kBAAkB,GAAG,GAAG,+BAA+B,CAAC,OAAO,gCAAgC,CAAC;IAEvG,MAAM,CAAC,UAAU,GAAG,GAAG,+BAA+B,CAAC,OAAO,UAAU,CAAC;IAEzE;;OAEG;IACH,MAAM,CAAC,WAAiE;QACpE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,+BAA+B,CAAC,QAAQ,EACxC,WAAW,CACd,CAAC;IACN,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAe;QAClB,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,+BAA+B,CAAC,QAAQ,IAAI,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,OAAe;QACf,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,GAAG,+BAA+B,CAAC,QAAQ,IAAI,OAAO,EAAE,CAC3D,CAAC;IACN,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,WAAiD;QACpD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,GAAG,+BAA+B,CAAC,QAAQ,IAAI,WAAW,CAAC,OAAO,EAAE,EACpE,WAAW,CACd,CAAC;IACN,CAAC;IAED,MAAM,CAAC,MAA6C;QAChD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAkC,+BAA+B,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC7G,CAAC;IAED,OAAO,CAAC,MAAoD;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,+BAA+B,CAAC,UAAU,EAC1C,MAAM,CACT,CAAC;IACN,CAAC;IAED,aAAa,CAAC,MAA0C;QACpD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAqB,+BAA+B,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;IAC5G,CAAC;IAED,UAAU,CAAC,MAA0C;QACjD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAkB,+BAA+B,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;IACtG,CAAC;;AA9DL,kDA+DC"}
@@ -4,16 +4,30 @@ export default class CaseClassificationConfiguration extends Resource {
4
4
  static baseUrl = `/rest/organizations/${API.orgPlaceholder}/machinelearning/configuration/caseclassif`;
5
5
  static modelUrl = `${CaseClassificationConfiguration.baseUrl}/model`;
6
6
  static fieldsUrl = `${CaseClassificationConfiguration.baseUrl}/fields`;
7
+ static fieldDocumentCountUrl = `${CaseClassificationConfiguration.baseUrl}/fields/{fieldName}/documentCount`;
8
+ static fieldValueCountUrl = `${CaseClassificationConfiguration.baseUrl}/fields/{fieldName}/valueCount`;
7
9
  static previewUrl = `${CaseClassificationConfiguration.baseUrl}/preview`;
10
+ /**
11
+ * @deprecated create(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use MachineLearning `register(registration: RegistrationModel)` instead.
12
+ */
8
13
  create(configModel) {
9
14
  return this.api.post(CaseClassificationConfiguration.modelUrl, configModel);
10
15
  }
16
+ /**
17
+ * @deprecated delete(modelId: string) is kept for backward compatibility. You should now use Models `delete(modelId: string)` instead.
18
+ */
11
19
  delete(modelId) {
12
20
  return this.api.delete(`${CaseClassificationConfiguration.modelUrl}/${modelId}`);
13
21
  }
22
+ /**
23
+ * @deprecated get(modelId: string) is kept for backward compatibility. You should now use Models `get(modelId: string)` instead.
24
+ */
14
25
  get(modelId) {
15
26
  return this.api.get(`${CaseClassificationConfiguration.modelUrl}/${modelId}`);
16
27
  }
28
+ /**
29
+ * @deprecated update(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use Models `update(modelId: string, update: RegistrationModel)` instead.
30
+ */
17
31
  update(configModel) {
18
32
  return this.api.put(`${CaseClassificationConfiguration.modelUrl}/${configModel.modelId}`, configModel);
19
33
  }
@@ -23,5 +37,11 @@ export default class CaseClassificationConfiguration extends Resource {
23
37
  preview(params) {
24
38
  return this.api.post(CaseClassificationConfiguration.previewUrl, params);
25
39
  }
40
+ documentCount(params) {
41
+ return this.api.post(CaseClassificationConfiguration.fieldDocumentCountUrl, params);
42
+ }
43
+ valueCount(params) {
44
+ return this.api.post(CaseClassificationConfiguration.fieldValueCountUrl, params);
45
+ }
26
46
  }
27
47
  //# sourceMappingURL=CaseClassificationConfiguration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaseClassificationConfiguration.js","sourceRoot":"","sources":["../../../../../src/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAEtC,OAAO,QAAQ,MAAM,mBA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C;IACN,CAAC;IAED,MAAM,CAAC,MAA6C;QAChD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAkC,+BAA+B,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC7G,CAAC;IAED,OAAO,CAAC,MAAoD;QACxD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,+BAA+B,CAAC,UAAU,EAC1C,MAAM,CACT,CAAC;IACN,CAAC;IAED,aAAa,CAAC,MAA0C;QACpD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAqB,+BAA+B,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;IAC5G,CAAC;IAED,UAAU,CAAC,MAA0C;QACjD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAkB,+BAA+B,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;IACtG,CAAC"}
@@ -1,15 +1,31 @@
1
1
  import { New } from '../../BaseInterfaces.js';
2
2
  import Resource from '../../Resource.js';
3
- import { CaseClassificationConfigurationModel, CaseClassificationContentFields, CaseClassificationContentFieldsParams, CaseClassificationDocumentGroupPreview, CaseClassificationDocumentGroupPreviewParams } from './CaseClassificationConfigurationInterfaces.js';
3
+ import { CaseClassificationConfigurationModel, CaseClassificationContentFields, CaseClassificationContentFieldsParams, CaseClassificationDocumentGroupPreview, CaseClassificationDocumentGroupPreviewParams, CaseClassificationFieldCountParams, FieldDocumentCount, FieldValueCount } from './CaseClassificationConfigurationInterfaces.js';
4
4
  export default class CaseClassificationConfiguration extends Resource {
5
5
  static baseUrl: string;
6
6
  static modelUrl: string;
7
7
  static fieldsUrl: string;
8
+ static fieldDocumentCountUrl: string;
9
+ static fieldValueCountUrl: string;
8
10
  static previewUrl: string;
11
+ /**
12
+ * @deprecated create(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use MachineLearning `register(registration: RegistrationModel)` instead.
13
+ */
9
14
  create(configModel: New<CaseClassificationConfigurationModel, 'modelId'>): Promise<CaseClassificationConfigurationModel>;
15
+ /**
16
+ * @deprecated delete(modelId: string) is kept for backward compatibility. You should now use Models `delete(modelId: string)` instead.
17
+ */
10
18
  delete(modelId: string): Promise<Record<string, unknown>>;
19
+ /**
20
+ * @deprecated get(modelId: string) is kept for backward compatibility. You should now use Models `get(modelId: string)` instead.
21
+ */
11
22
  get(modelId: string): Promise<CaseClassificationConfigurationModel>;
23
+ /**
24
+ * @deprecated update(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use Models `update(modelId: string, update: RegistrationModel)` instead.
25
+ */
12
26
  update(configModel: CaseClassificationConfigurationModel): Promise<CaseClassificationConfigurationModel>;
13
27
  fields(params: CaseClassificationContentFieldsParams): Promise<CaseClassificationContentFields>;
14
28
  preview(params: CaseClassificationDocumentGroupPreviewParams): Promise<CaseClassificationDocumentGroupPreview>;
29
+ documentCount(params: CaseClassificationFieldCountParams): Promise<FieldDocumentCount>;
30
+ valueCount(params: CaseClassificationFieldCountParams): Promise<FieldValueCount>;
15
31
  }
@@ -42,7 +42,7 @@ export interface CaseClassificationConfigurationModel {
42
42
  */
43
43
  modelDisplayName: string;
44
44
  /**
45
- * The names of the sources containing the cases to use for model building.
45
+ * The names of the sources that contain the cases that the model will use.
46
46
  */
47
47
  sources: string[];
48
48
  /**
@@ -55,8 +55,7 @@ export interface CaseClassificationConfigurationModel {
55
55
  */
56
56
  caseIdField: string;
57
57
  /**
58
- * The time period for which to extract cases for model building.
59
- * Must contain an export period or a start time and end time.
58
+ * The case creation date range for the cases the model will use.
60
59
  */
61
60
  caseExtractionPeriod?: ExtractionPeriod;
62
61
  /**
@@ -70,7 +69,7 @@ export interface CaseClassificationConfigurationModel {
70
69
  */
71
70
  fieldsToPredict: string[];
72
71
  /**
73
- * The field value to use as language.
72
+ * The name of the field that contains the value to use as the language.
74
73
  */
75
74
  languageField?: string;
76
75
  }
@@ -85,11 +84,11 @@ export interface CaseClassificationDocumentGroupPreviewParams {
85
84
  */
86
85
  caseFilterConditions: FilterConditions[];
87
86
  /**
88
- * The field value to use as language.
87
+ * The name of the field that contains the value to use as the language.
89
88
  */
90
89
  languageField: string;
91
90
  /**
92
- * The names of the sources containing the cases to use for model building.
91
+ * The names of the sources that contain the cases that the model will use.
93
92
  */
94
93
  sources: string[];
95
94
  }
@@ -121,8 +120,7 @@ export interface CaseClassificationDocumentGroupPreview {
121
120
  }
122
121
  export interface CaseClassificationContentFieldsParams {
123
122
  /**
124
- * The time period for which to extract cases for model building.
125
- * Must contain an export period or a start time and end time.
123
+ * The case creation date range for the cases the model will use.
126
124
  */
127
125
  caseExtractionPeriod: ExtractionPeriod;
128
126
  /**
@@ -134,7 +132,7 @@ export interface CaseClassificationContentFieldsParams {
134
132
  */
135
133
  languageField: string;
136
134
  /**
137
- * The names of the sources containing the cases to use for model building.
135
+ * The names of the sources that contain the cases that the model will use.
138
136
  */
139
137
  sources: string[];
140
138
  }
@@ -145,3 +143,65 @@ export interface CaseClassificationContentFields {
145
143
  fields: CaseClassificationContentField[];
146
144
  query: string;
147
145
  }
146
+ interface CaseClassificationFieldCountAdvancedMode {
147
+ /**
148
+ * The query to use when building the model.
149
+ */
150
+ advancedQuery: string;
151
+ /**
152
+ * The names of the sources that contain the cases that the model will use.
153
+ */
154
+ sources?: never;
155
+ /**
156
+ * An array of filtering conditions.
157
+ */
158
+ filterConditions?: never;
159
+ /**
160
+ * The name of the field that contains the value to use as the language.
161
+ */
162
+ languageField?: never;
163
+ /**
164
+ * The case creation date range for the cases the model will use.
165
+ */
166
+ caseExtractionPeriod?: never;
167
+ }
168
+ interface CaseClassificationFieldCountStandardMode {
169
+ /**
170
+ * The names of the sources that contain the cases that the model will use.
171
+ */
172
+ sources: string[];
173
+ /**
174
+ * An array of filtering conditions.
175
+ */
176
+ filterConditions?: FilterConditions[];
177
+ /**
178
+ * The name of the field that contains the value to use as the language.
179
+ */
180
+ languageField: string;
181
+ /**
182
+ * The case creation date range for the cases the model will use.
183
+ */
184
+ caseExtractionPeriod: ExtractionPeriod;
185
+ /**
186
+ * The query to use when building the model.
187
+ */
188
+ advancedQuery?: never;
189
+ }
190
+ export type CaseClassificationFieldCountParams = CaseClassificationFieldCountAdvancedMode | CaseClassificationFieldCountStandardMode;
191
+ export interface FieldValueCount {
192
+ /**
193
+ * The count of values matching a field.
194
+ */
195
+ valueCount: number;
196
+ /**
197
+ * Indicates the presence of more values than the one returned in the count.
198
+ */
199
+ areMoreValuesAvailable: boolean;
200
+ }
201
+ export interface FieldDocumentCount {
202
+ /**
203
+ * The count of items matching a field.
204
+ */
205
+ documentCount: number;
206
+ }
207
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "54.4.0",
3
+ "version": "54.5.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {