@redseat/api 0.2.3 → 0.2.4

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/dist/library.d.ts CHANGED
@@ -245,7 +245,7 @@ export declare class LibraryApi {
245
245
  assignFaces(request: any): Promise<any>;
246
246
  createPersonFromCluster(request: any): Promise<any>;
247
247
  splitCluster(request: any): Promise<any>;
248
- unassignFace(request: any): Promise<any>;
248
+ unassignFace(faceIds: string[]): Promise<any>;
249
249
  deleteFace(faceId: string): Promise<any>;
250
250
  getAssignedFaces(personId: string): Promise<any>;
251
251
  faceClusterPerson(personId: string): Promise<void>;
package/dist/library.js CHANGED
@@ -551,8 +551,8 @@ export class LibraryApi {
551
551
  const res = await this.client.post(this.getUrl('/people/faces/cluster/split'), request);
552
552
  return res.data;
553
553
  }
554
- async unassignFace(request) {
555
- const res = await this.client.post(this.getUrl('/people/faces/unassign'), request);
554
+ async unassignFace(faceIds) {
555
+ const res = await this.client.post(this.getUrl('/people/faces/unassign'), { faceIds });
556
556
  return res.data;
557
557
  }
558
558
  async deleteFace(faceId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseat/api",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "TypeScript API client library for interacting with Redseat servers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",