@wireapp/api-client 27.22.0 → 27.23.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.
- package/lib/cells/CellsAPI.d.ts +2 -2
- package/lib/cells/CellsAPI.js +2 -2
- package/package.json +2 -2
package/lib/cells/CellsAPI.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ export declare class CellsAPI {
|
|
|
25
25
|
uuid: string;
|
|
26
26
|
versionId: string;
|
|
27
27
|
}): Promise<RestDeleteVersionResponse>;
|
|
28
|
-
deleteFile({
|
|
29
|
-
|
|
28
|
+
deleteFile({ uuid }: {
|
|
29
|
+
uuid: string;
|
|
30
30
|
}): Promise<RestPerformActionResponse>;
|
|
31
31
|
lookupFileByPath({ path }: {
|
|
32
32
|
path: string;
|
package/lib/cells/CellsAPI.js
CHANGED
|
@@ -53,8 +53,8 @@ class CellsAPI {
|
|
|
53
53
|
const result = await this.client.deleteVersion(uuid, versionId);
|
|
54
54
|
return result.data;
|
|
55
55
|
}
|
|
56
|
-
async deleteFile({
|
|
57
|
-
const result = await this.client.performAction('delete', { Nodes: [{
|
|
56
|
+
async deleteFile({ uuid }) {
|
|
57
|
+
const result = await this.client.performAction('delete', { Nodes: [{ Uuid: uuid }] });
|
|
58
58
|
return result.data;
|
|
59
59
|
}
|
|
60
60
|
async lookupFileByPath({ path }) {
|
package/package.json
CHANGED