@coveo/platform-client 48.5.0 → 49.0.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.
@@ -8,6 +8,7 @@ var ProjectSortBy;
8
8
  ProjectSortBy["createdDate"] = "CREATED_DATE";
9
9
  ProjectSortBy["updatedBy"] = "UPDATED_BY";
10
10
  ProjectSortBy["updatedDate"] = "UPDATED_DATE";
11
+ ProjectSortBy["pointOfContact"] = "POINT_OF_CONTACT";
11
12
  })(ProjectSortBy || (exports.ProjectSortBy = ProjectSortBy = {}));
12
13
  exports.projectResourceTypes = [
13
14
  'CATALOG',
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/Projects/ProjectInterfaces.ts"],"names":[],"mappings":";;;AAGA,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;AAChC,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAEY,QAAA,oBAAoB,GAAG;IAChC,SAAS;IACT,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,uBAAuB;IACvB,eAAe;IACf,UAAU;IACV,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,QAAQ;IACR,WAAW;CACd,CAAC;AAIF,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AAC3B,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB"}
1
+ {"version":3,"file":"ProjectInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/Projects/ProjectInterfaces.ts"],"names":[],"mappings":";;;AAGA,IAAY,aAOX;AAPD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;IAC5B,oDAAmC,CAAA;AACvC,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAEY,QAAA,oBAAoB,GAAG;IAChC,SAAS;IACT,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,uBAAuB;IACvB,eAAe;IACf,UAAU;IACV,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,QAAQ;IACR,WAAW;CACd,CAAC;AAIF,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AAC3B,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB"}
@@ -5,6 +5,7 @@ export var ProjectSortBy;
5
5
  ProjectSortBy["createdDate"] = "CREATED_DATE";
6
6
  ProjectSortBy["updatedBy"] = "UPDATED_BY";
7
7
  ProjectSortBy["updatedDate"] = "UPDATED_DATE";
8
+ ProjectSortBy["pointOfContact"] = "POINT_OF_CONTACT";
8
9
  })(ProjectSortBy || (ProjectSortBy = {}));
9
10
  export const projectResourceTypes = [
10
11
  'CATALOG',
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/Projects/ProjectInterfaces.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;AAChC,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,SAAS;IACT,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,uBAAuB;IACvB,eAAe;IACf,UAAU;IACV,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,QAAQ;IACR,WAAW;CACd,CAAC;AAIF,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AAC3B,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
1
+ {"version":3,"file":"ProjectInterfaces.js","sourceRoot":"","sources":["../../../../src/resources/Projects/ProjectInterfaces.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;IAC5B,yCAAwB,CAAA;IACxB,6CAA4B,CAAA;IAC5B,oDAAmC,CAAA;AACvC,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,SAAS;IACT,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,uBAAuB;IACvB,eAAe;IACf,UAAU;IACV,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,QAAQ;IACR,WAAW;CACd,CAAC;AAIF,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AAC3B,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
@@ -8,4 +8,10 @@ export interface IAPRConfigurationModel {
8
8
  * The model display name in the Coveo Administration console.
9
9
  */
10
10
  modelDisplayName: string;
11
+ /**
12
+ * The trackingIds that usage analytics events must contain for the model to use those events in its learning process. The model will use an event if it contains at least one of the specified IDs
13
+ *
14
+ * @Example: [ "sport" ]
15
+ */
16
+ trackingIds: string[];
11
17
  }
@@ -37,4 +37,10 @@ export interface PQSConfigurationModel {
37
37
  * The filter to apply to the 'Click' and 'Search' event dimensions of the UA data to learn from when rebuilding the model.
38
38
  */
39
39
  searchEventFilter?: string;
40
+ /**
41
+ * The trackingIds that usage analytics events must contain for the model to use those events in its learning process. The model will use an event if it contains at least one of the specified IDs
42
+ *
43
+ * @Example: [ "sport" ]
44
+ */
45
+ trackingIds: string[];
40
46
  }
@@ -5,7 +5,8 @@ export declare enum ProjectSortBy {
5
5
  createdBy = "CREATED_BY",
6
6
  createdDate = "CREATED_DATE",
7
7
  updatedBy = "UPDATED_BY",
8
- updatedDate = "UPDATED_DATE"
8
+ updatedDate = "UPDATED_DATE",
9
+ pointOfContact = "POINT_OF_CONTACT"
9
10
  }
10
11
  export declare const projectResourceTypes: string[];
11
12
  export type ProjectResourceType = (typeof projectResourceTypes)[number];
@@ -1,12 +1,12 @@
1
1
  import { Paginated } from '../BaseInterfaces.js';
2
- export type ResourceStatus = 'existingResources' | 'deletedResources';
2
+ export type ResourceStatus = 'existingResources' | 'noAccessResources' | 'deletedResources';
3
3
  export interface ResourceModel {
4
4
  /**
5
5
  * The unique identifier of a resource within a project
6
6
  */
7
7
  id: string;
8
8
  /**
9
- * The name of the resouce
9
+ * The name of the resource
10
10
  */
11
11
  name: string;
12
12
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/platform-client",
3
- "version": "48.5.0",
3
+ "version": "49.0.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {