files.com 1.2.212 → 1.2.214

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
@@ -542,6 +542,7 @@ Error
542
542
  | `BadRequest_UserIdOnUserEndpointError`| `BadRequestError` |
543
543
  | `BadRequest_UserRequiredError`| `BadRequestError` |
544
544
  | `NotAuthenticated_AdditionalAuthenticationRequiredError`| `NotAuthenticatedError` |
545
+ | `NotAuthenticated_ApiKeySessionsNotSupportedError`| `NotAuthenticatedError` |
545
546
  | `NotAuthenticated_AuthenticationRequiredError`| `NotAuthenticatedError` |
546
547
  | `NotAuthenticated_BundleRegistrationCodeFailedError`| `NotAuthenticatedError` |
547
548
  | `NotAuthenticated_FilesAgentTokenFailedError`| `NotAuthenticatedError` |
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.212
1
+ 1.2.214
package/docs/Errors.md CHANGED
@@ -93,6 +93,7 @@ These errors are derived from the error groups listed above.
93
93
  ### BadRequest_UserIdOnUserEndpointError
94
94
  ### BadRequest_UserRequiredError
95
95
  ### NotAuthenticated_AdditionalAuthenticationRequiredError
96
+ ### NotAuthenticated_ApiKeySessionsNotSupportedError
96
97
  ### NotAuthenticated_AuthenticationRequiredError
97
98
  ### NotAuthenticated_BundleRegistrationCodeFailedError
98
99
  ### NotAuthenticated_FilesAgentTokenFailedError
@@ -94,6 +94,7 @@
94
94
  ```
95
95
  await Folder.listFor(path, {
96
96
  'search': "some-partial-filename",
97
+ 'search_custom_metadata_key': "some-metadata-key",
97
98
  'search_all': false,
98
99
  'with_previews': false,
99
100
  'with_priority_color': false,
@@ -109,6 +110,7 @@ await Folder.listFor(path, {
109
110
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
110
111
  * `sort_by` (object): Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
111
112
  * `search` (string): If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be truncated if more than 1,000 possible matches exist. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
113
+ * `search_custom_metadata_key` (string): If provided, the search string in `search` will search for files where this custom metadata key matches the value sent in `search`. Set this to `*` to allow any metadata key to match the value sent in `search`.
112
114
  * `search_all` (boolean): Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
113
115
  * `with_previews` (boolean): Include file previews?
114
116
  * `with_priority_color` (boolean): Include file priority color information?