@@ -240,6 +240,8 @@ def search_companies(
240240 self ,
241241 * ,
242242 fields : typing .Optional [str ] = None ,
243+ page_size : typing .Optional [str ] = None ,
244+ cursor : typing .Optional [str ] = None ,
243245 search_criteria : typing .Any ,
244246 x_revert_api_token : str ,
245247 x_revert_t_id : str ,
@@ -251,6 +253,10 @@ def search_companies(
251253 Parameters:
252254 - fields: typing.Optional[str].
253255
256+ - page_size: typing.Optional[str].
257+
258+ - cursor: typing.Optional[str].
259+
254260 - search_criteria: typing.Any.
255261
256262 - x_revert_api_token: str. Your official API key for accessing revert apis.
@@ -262,7 +268,7 @@ def search_companies(
262268 _response = self ._client_wrapper .httpx_client .request (
263269 "POST" ,
264270 urllib .parse .urljoin (f"{ self ._client_wrapper .get_base_url ()} /" , "crm/companies/search" ),
265- params = remove_none_from_dict ({"fields" : fields }),
271+ params = remove_none_from_dict ({"fields" : fields , "pageSize" : page_size , "cursor" : cursor }),
266272 json = jsonable_encoder ({"searchCriteria" : search_criteria }),
267273 headers = remove_none_from_dict (
268274 {
@@ -501,6 +507,8 @@ async def search_companies(
501507 self ,
502508 * ,
503509 fields : typing .Optional [str ] = None ,
510+ page_size : typing .Optional [str ] = None ,
511+ cursor : typing .Optional [str ] = None ,
504512 search_criteria : typing .Any ,
505513 x_revert_api_token : str ,
506514 x_revert_t_id : str ,
@@ -512,6 +520,10 @@ async def search_companies(
512520 Parameters:
513521 - fields: typing.Optional[str].
514522
523+ - page_size: typing.Optional[str].
524+
525+ - cursor: typing.Optional[str].
526+
515527 - search_criteria: typing.Any.
516528
517529 - x_revert_api_token: str. Your official API key for accessing revert apis.
@@ -523,7 +535,7 @@ async def search_companies(
523535 _response = await self ._client_wrapper .httpx_client .request (
524536 "POST" ,
525537 urllib .parse .urljoin (f"{ self ._client_wrapper .get_base_url ()} /" , "crm/companies/search" ),
526- params = remove_none_from_dict ({"fields" : fields }),
538+ params = remove_none_from_dict ({"fields" : fields , "pageSize" : page_size , "cursor" : cursor }),
527539 json = jsonable_encoder ({"searchCriteria" : search_criteria }),
528540 headers = remove_none_from_dict (
529541 {
0 commit comments