Skip to content

Commit

Permalink
Add Files.ContinueSearch method
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Jun 30, 2020
1 parent 0aa3453 commit 0d5f6c9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/resources/Files/Files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ export default class Files {
})
}

public ContinueSearch(
cursor: string,
{ perPage }: { perPage?: number } = {},
) {
return this.client.post<ISearchResponse>('/files/search/continue', {
data: {
cursor,
per_page: perPage,
},
})
}

public NewFolder(name: string, parentId: number = 0) {
return this.CreateFolder({ name, parentId })
}
Expand Down

0 comments on commit 0d5f6c9

Please sign in to comment.