@@ -338,6 +338,7 @@ async def list_entities(
338338 self ,
339339 bank_id : StrictStr ,
340340 limit : Annotated [Optional [StrictInt ], Field (description = "Maximum number of entities to return" )] = None ,
341+ offset : Annotated [Optional [StrictInt ], Field (description = "Offset for pagination" )] = None ,
341342 authorization : Optional [StrictStr ] = None ,
342343 _request_timeout : Union [
343344 None ,
@@ -354,12 +355,14 @@ async def list_entities(
354355 ) -> EntityListResponse :
355356 """List entities
356357
357- List all entities (people, organizations, etc.) known by the bank, ordered by mention count.
358+ List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
358359
359360 :param bank_id: (required)
360361 :type bank_id: str
361362 :param limit: Maximum number of entities to return
362363 :type limit: int
364+ :param offset: Offset for pagination
365+ :type offset: int
363366 :param authorization:
364367 :type authorization: str
365368 :param _request_timeout: timeout setting for this request. If one
@@ -387,6 +390,7 @@ async def list_entities(
387390 _param = self ._list_entities_serialize (
388391 bank_id = bank_id ,
389392 limit = limit ,
393+ offset = offset ,
390394 authorization = authorization ,
391395 _request_auth = _request_auth ,
392396 _content_type = _content_type ,
@@ -414,6 +418,7 @@ async def list_entities_with_http_info(
414418 self ,
415419 bank_id : StrictStr ,
416420 limit : Annotated [Optional [StrictInt ], Field (description = "Maximum number of entities to return" )] = None ,
421+ offset : Annotated [Optional [StrictInt ], Field (description = "Offset for pagination" )] = None ,
417422 authorization : Optional [StrictStr ] = None ,
418423 _request_timeout : Union [
419424 None ,
@@ -430,12 +435,14 @@ async def list_entities_with_http_info(
430435 ) -> ApiResponse [EntityListResponse ]:
431436 """List entities
432437
433- List all entities (people, organizations, etc.) known by the bank, ordered by mention count.
438+ List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
434439
435440 :param bank_id: (required)
436441 :type bank_id: str
437442 :param limit: Maximum number of entities to return
438443 :type limit: int
444+ :param offset: Offset for pagination
445+ :type offset: int
439446 :param authorization:
440447 :type authorization: str
441448 :param _request_timeout: timeout setting for this request. If one
@@ -463,6 +470,7 @@ async def list_entities_with_http_info(
463470 _param = self ._list_entities_serialize (
464471 bank_id = bank_id ,
465472 limit = limit ,
473+ offset = offset ,
466474 authorization = authorization ,
467475 _request_auth = _request_auth ,
468476 _content_type = _content_type ,
@@ -490,6 +498,7 @@ async def list_entities_without_preload_content(
490498 self ,
491499 bank_id : StrictStr ,
492500 limit : Annotated [Optional [StrictInt ], Field (description = "Maximum number of entities to return" )] = None ,
501+ offset : Annotated [Optional [StrictInt ], Field (description = "Offset for pagination" )] = None ,
493502 authorization : Optional [StrictStr ] = None ,
494503 _request_timeout : Union [
495504 None ,
@@ -506,12 +515,14 @@ async def list_entities_without_preload_content(
506515 ) -> RESTResponseType :
507516 """List entities
508517
509- List all entities (people, organizations, etc.) known by the bank, ordered by mention count.
518+ List all entities (people, organizations, etc.) known by the bank, ordered by mention count. Supports pagination.
510519
511520 :param bank_id: (required)
512521 :type bank_id: str
513522 :param limit: Maximum number of entities to return
514523 :type limit: int
524+ :param offset: Offset for pagination
525+ :type offset: int
515526 :param authorization:
516527 :type authorization: str
517528 :param _request_timeout: timeout setting for this request. If one
@@ -539,6 +550,7 @@ async def list_entities_without_preload_content(
539550 _param = self ._list_entities_serialize (
540551 bank_id = bank_id ,
541552 limit = limit ,
553+ offset = offset ,
542554 authorization = authorization ,
543555 _request_auth = _request_auth ,
544556 _content_type = _content_type ,
@@ -561,6 +573,7 @@ def _list_entities_serialize(
561573 self ,
562574 bank_id ,
563575 limit ,
576+ offset ,
564577 authorization ,
565578 _request_auth ,
566579 _content_type ,
@@ -590,6 +603,10 @@ def _list_entities_serialize(
590603
591604 _query_params .append (('limit' , limit ))
592605
606+ if offset is not None :
607+
608+ _query_params .append (('offset' , offset ))
609+
593610 # process the header parameters
594611 if authorization is not None :
595612 _header_params ['authorization' ] = authorization
0 commit comments