@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 +1 -1
- package/dist/library.js +2 -2
- package/package.json +1 -1
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(
|
|
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(
|
|
555
|
-
const res = await this.client.post(this.getUrl('/people/faces/unassign'),
|
|
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) {
|