diff --git a/.codegen.json b/.codegen.json index 02be90dd..21d58429 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "0d1694f", "specHash": "7cec401", "version": "10.19.0" } +{ "engineHash": "0d1694f", "specHash": "58bd93b", "version": "10.19.0" } diff --git a/box_sdk_gen/managers/search.py b/box_sdk_gen/managers/search.py index c24c9ae8..bd650418 100644 --- a/box_sdk_gen/managers/search.py +++ b/box_sdk_gen/managers/search.py @@ -275,7 +275,7 @@ def search_for_content( include_recent_shared_links: Optional[bool] = None, fields: Optional[List[str]] = None, offset: Optional[int] = None, - deleted_user_ids: Optional[List[str]] = None, + deleter_user_ids: Optional[List[str]] = None, deleted_at_range: Optional[List[str]] = None, extra_headers: Optional[Dict[str, Optional[str]]] = None ) -> SearchResultsResponse: @@ -489,7 +489,7 @@ def search_for_content( exceeding 10000 will be rejected with a 400 response., defaults to None :type offset: Optional[int], optional - :param deleted_user_ids: Limits the search results to items that were deleted by the given + :param deleter_user_ids: Limits the search results to items that were deleted by the given list of users, defined as a list of comma separated user IDs. The `trash_content` parameter needs to be set to `trashed_only`. @@ -503,7 +503,7 @@ def search_for_content( any of the users, an empty result set is returned. Data available from 2023-02-01 onwards., defaults to None - :type deleted_user_ids: Optional[List[str]], optional + :type deleter_user_ids: Optional[List[str]], optional :param deleted_at_range: Limits the search results to any items deleted within a given date range. @@ -548,7 +548,7 @@ def search_for_content( 'include_recent_shared_links': to_string(include_recent_shared_links), 'fields': to_string(fields), 'offset': to_string(offset), - 'deleted_user_ids': to_string(deleted_user_ids), + 'deleter_user_ids': to_string(deleter_user_ids), 'deleted_at_range': to_string(deleted_at_range), } ) diff --git a/box_sdk_gen/networking/version.py b/box_sdk_gen/networking/version.py index e044f774..9b4f21e7 100644 --- a/box_sdk_gen/networking/version.py +++ b/box_sdk_gen/networking/version.py @@ -1 +1 @@ -__version__ = '10.20.0' +__version__ = '10.19.0' diff --git a/docs/search.md b/docs/search.md index a199c2f1..9de8ef01 100644 --- a/docs/search.md +++ b/docs/search.md @@ -130,7 +130,7 @@ client.search.search_for_content( - A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested. - offset `Optional[int]` - The offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response. -- deleted_user_ids `Optional[List[str]]` +- deleter_user_ids `Optional[List[str]]` - Limits the search results to items that were deleted by the given list of users, defined as a list of comma separated user IDs. The `trash_content` parameter needs to be set to `trashed_only`. If searching in trash is not performed, an empty result set is returned. The items need to be owned or shared with the currently authenticated user for them to show up in the search results. If the user does not have access to any files owned by any of the users, an empty result set is returned. Data available from 2023-02-01 onwards. - deleted_at_range `Optional[List[str]]` - Limits the search results to any items deleted within a given date range. Date ranges are defined as comma separated RFC3339 timestamps. If the start date is omitted (`2014-05-17T13:35:01-07:00`), anything deleted before the end date will be returned. If the end date is omitted (`2014-05-15T13:35:01-07:00`), the current date will be used as the end date instead. The `trash_content` parameter needs to be set to `trashed_only`. If searching in trash is not performed, then an empty result is returned. Data available from 2023-02-01 onwards.