files.com 1.2.152 → 1.2.154

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/README.md CHANGED
@@ -383,6 +383,7 @@ Error
383
383
  | `BadRequest_DatetimeParseError`| `BadRequestError` |
384
384
  | `BadRequest_DestinationSameError`| `BadRequestError` |
385
385
  | `BadRequest_FolderMustNotBeAFileError`| `BadRequestError` |
386
+ | `BadRequest_FoldersNotAllowedError`| `BadRequestError` |
386
387
  | `BadRequest_InvalidBodyError`| `BadRequestError` |
387
388
  | `BadRequest_InvalidCursorError`| `BadRequestError` |
388
389
  | `BadRequest_InvalidCursorTypeForSortError`| `BadRequestError` |
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.152
1
+ 1.2.154
package/docs/Errors.md CHANGED
@@ -54,6 +54,7 @@ These errors are derived from the error groups listed above.
54
54
  ### BadRequest_DatetimeParseError
55
55
  ### BadRequest_DestinationSameError
56
56
  ### BadRequest_FolderMustNotBeAFileError
57
+ ### BadRequest_FoldersNotAllowedError
57
58
  ### BadRequest_InvalidBodyError
58
59
  ### BadRequest_InvalidCursorError
59
60
  ### BadRequest_InvalidCursorTypeForSortError
@@ -56,7 +56,7 @@ await History.listForFile(path, {
56
56
  * `display` (string): Display format. Leave blank or set to `full` or `parent`.
57
57
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
58
58
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
59
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
59
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `path` or `created_at`.
60
60
  * `path` (string): Required - Path to operate on.
61
61
 
62
62
  ---
@@ -77,7 +77,7 @@ await History.listForFolder(path, {
77
77
  * `display` (string): Display format. Leave blank or set to `full` or `parent`.
78
78
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
79
79
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
80
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
80
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `folder` or `created_at`.
81
81
  * `path` (string): Required - Path to operate on.
82
82
 
83
83
  ---
@@ -98,7 +98,7 @@ await History.listForUser(user_id, {
98
98
  * `display` (string): Display format. Leave blank or set to `full` or `parent`.
99
99
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
100
100
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
101
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
101
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
102
102
  * `user_id` (int64): Required - User ID.
103
103
 
104
104
  ---
@@ -119,7 +119,7 @@ await History.listLogins({
119
119
  * `display` (string): Display format. Leave blank or set to `full` or `parent`.
120
120
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
121
121
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
122
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
122
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
123
123
 
124
124
  ---
125
125