From 8f1ac19ef66de09563c8e28670a97130ede4b514 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 19 Nov 2025 06:11:19 +0000 Subject: [PATCH] Update SDK to version v2.38.0 - Generated from OpenAPI spec version v2.38.0 - Auto-generated by GitHub Actions --- .sdk-version | 2 +- docs/AnalysesCommentsApi.md | 24 ++- docs/AnalysesCoreApi.md | 78 +++++--- docs/AnalysesDynamicExecutionApi.md | 42 +++-- docs/AnalysesResultsMetadataApi.md | 42 +++-- docs/AnalysesSecurityChecksApi.md | 18 +- docs/AuthenticationUsersApi.md | 36 ++-- docs/BinariesApi.md | 36 ++-- docs/CollectionsApi.md | 42 +++-- docs/ExternalSourcesApi.md | 36 ++-- docs/FirmwareApi.md | 12 +- docs/FunctionsAIDecompilationApi.md | 54 ++++-- docs/FunctionsBlockCommentsApi.md | 18 +- docs/FunctionsCoreApi.md | 72 +++++--- docs/FunctionsDataTypesApi.md | 36 ++-- docs/FunctionsDecompilationApi.md | 24 ++- docs/FunctionsRenamingHistoryApi.md | 24 ++- docs/ModelsApi.md | 10 +- docs/SearchApi.md | 18 +- revengai/__init__.py | 2 +- revengai/api/analyses_comments_api.py | 55 +++++- revengai/api/analyses_core_api.py | 169 ++++++++++++++++++ .../api/analyses_dynamic_execution_api.py | 93 +++++++++- revengai/api/analyses_results_metadata_api.py | 91 ++++++++++ revengai/api/analyses_security_checks_api.py | 42 ++++- revengai/api/authentication_users_api.py | 55 +++++- revengai/api/binaries_api.py | 82 ++++++++- revengai/api/collections_api.py | 91 ++++++++++ revengai/api/external_sources_api.py | 81 ++++++++- revengai/api/firmware_api.py | 26 +++ .../api/functions_ai_decompilation_api.py | 119 +++++++++++- revengai/api/functions_block_comments_api.py | 42 ++++- revengai/api/functions_core_api.py | 156 ++++++++++++++++ revengai/api/functions_data_types_api.py | 80 ++++++++- revengai/api/functions_decompilation_api.py | 55 +++++- .../api/functions_renaming_history_api.py | 55 +++++- revengai/api/models_api.py | 15 ++ revengai/api/search_api.py | 39 ++++ revengai/api_client.py | 2 +- revengai/configuration.py | 4 +- 40 files changed, 1755 insertions(+), 223 deletions(-) diff --git a/.sdk-version b/.sdk-version index 9b8a6e4..9d52aca 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v2.37.4 +v2.38.0 diff --git a/docs/AnalysesCommentsApi.md b/docs/AnalysesCommentsApi.md index efd4245..0132ad8 100644 --- a/docs/AnalysesCommentsApi.md +++ b/docs/AnalysesCommentsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **create_analysis_comment** -> BaseResponseCommentResponse create_analysis_comment(analysis_id, comment_base) +> BaseResponseCommentResponse create_analysis_comment(analysis_id, comment_base, api_key=api_key) Create a comment for this analysis @@ -51,10 +51,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCommentsApi(api_client) analysis_id = 56 # int | comment_base = revengai.CommentBase() # CommentBase | + api_key = 'api_key_example' # str | (optional) try: # Create a comment for this analysis - api_response = api_instance.create_analysis_comment(analysis_id, comment_base) + api_response = api_instance.create_analysis_comment(analysis_id, comment_base, api_key=api_key) print("The response of AnalysesCommentsApi->create_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -70,6 +71,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **comment_base** | [**CommentBase**](CommentBase.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -95,7 +97,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_analysis_comment** -> BaseResponseBool delete_analysis_comment(comment_id, analysis_id) +> BaseResponseBool delete_analysis_comment(comment_id, analysis_id, api_key=api_key) Delete a comment @@ -134,10 +136,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCommentsApi(api_client) comment_id = 56 # int | analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Delete a comment - api_response = api_instance.delete_analysis_comment(comment_id, analysis_id) + api_response = api_instance.delete_analysis_comment(comment_id, analysis_id, api_key=api_key) print("The response of AnalysesCommentsApi->delete_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -153,6 +156,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -179,7 +183,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_comments** -> BaseResponseListCommentResponse get_analysis_comments(analysis_id) +> BaseResponseListCommentResponse get_analysis_comments(analysis_id, api_key=api_key) Get comments for this analysis @@ -217,10 +221,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCommentsApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get comments for this analysis - api_response = api_instance.get_analysis_comments(analysis_id) + api_response = api_instance.get_analysis_comments(analysis_id, api_key=api_key) print("The response of AnalysesCommentsApi->get_analysis_comments:\n") pprint(api_response) except Exception as e: @@ -235,6 +240,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -259,7 +265,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_analysis_comment** -> BaseResponseCommentResponse update_analysis_comment(comment_id, analysis_id, comment_update_request) +> BaseResponseCommentResponse update_analysis_comment(comment_id, analysis_id, comment_update_request, api_key=api_key) Update a comment @@ -300,10 +306,11 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | analysis_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | + api_key = 'api_key_example' # str | (optional) try: # Update a comment - api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request) + api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request, api_key=api_key) print("The response of AnalysesCommentsApi->update_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -320,6 +327,7 @@ Name | Type | Description | Notes **comment_id** | **int**| | **analysis_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/AnalysesCoreApi.md b/docs/AnalysesCoreApi.md index dda07d3..dab53bf 100644 --- a/docs/AnalysesCoreApi.md +++ b/docs/AnalysesCoreApi.md @@ -20,7 +20,7 @@ Method | HTTP request | Description # **create_analysis** -> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request) +> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request, api_key=api_key) Create Analysis @@ -59,10 +59,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_create_request = revengai.AnalysisCreateRequest() # AnalysisCreateRequest | + api_key = 'api_key_example' # str | (optional) try: # Create Analysis - api_response = api_instance.create_analysis(analysis_create_request) + api_response = api_instance.create_analysis(analysis_create_request, api_key=api_key) print("The response of AnalysesCoreApi->create_analysis:\n") pprint(api_response) except Exception as e: @@ -77,6 +78,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_create_request** | [**AnalysisCreateRequest**](AnalysisCreateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -103,7 +105,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_analysis** -> BaseResponseDict delete_analysis(analysis_id) +> BaseResponseDict delete_analysis(analysis_id, api_key=api_key) Delete Analysis @@ -141,10 +143,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Delete Analysis - api_response = api_instance.delete_analysis(analysis_id) + api_response = api_instance.delete_analysis(analysis_id, api_key=api_key) print("The response of AnalysesCoreApi->delete_analysis:\n") pprint(api_response) except Exception as e: @@ -159,6 +162,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -185,7 +189,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_basic_info** -> BaseResponseBasic get_analysis_basic_info(analysis_id) +> BaseResponseBasic get_analysis_basic_info(analysis_id, api_key=api_key) Gets basic analysis information @@ -223,10 +227,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets basic analysis information - api_response = api_instance.get_analysis_basic_info(analysis_id) + api_response = api_instance.get_analysis_basic_info(analysis_id, api_key=api_key) print("The response of AnalysesCoreApi->get_analysis_basic_info:\n") pprint(api_response) except Exception as e: @@ -241,6 +246,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -265,7 +271,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_function_map** -> BaseResponseAnalysisFunctionMapping get_analysis_function_map(analysis_id) +> BaseResponseAnalysisFunctionMapping get_analysis_function_map(analysis_id, api_key=api_key) Get Analysis Function Map @@ -303,10 +309,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get Analysis Function Map - api_response = api_instance.get_analysis_function_map(analysis_id) + api_response = api_instance.get_analysis_function_map(analysis_id, api_key=api_key) print("The response of AnalysesCoreApi->get_analysis_function_map:\n") pprint(api_response) except Exception as e: @@ -321,6 +328,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -345,7 +353,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_logs** -> BaseResponseLogs get_analysis_logs(analysis_id) +> BaseResponseLogs get_analysis_logs(analysis_id, api_key=api_key) Gets the logs of an analysis @@ -383,10 +391,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the logs of an analysis - api_response = api_instance.get_analysis_logs(analysis_id) + api_response = api_instance.get_analysis_logs(analysis_id, api_key=api_key) print("The response of AnalysesCoreApi->get_analysis_logs:\n") pprint(api_response) except Exception as e: @@ -401,6 +410,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -425,7 +435,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_params** -> BaseResponseParams get_analysis_params(analysis_id) +> BaseResponseParams get_analysis_params(analysis_id, api_key=api_key) Gets analysis param information @@ -463,10 +473,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets analysis param information - api_response = api_instance.get_analysis_params(analysis_id) + api_response = api_instance.get_analysis_params(analysis_id, api_key=api_key) print("The response of AnalysesCoreApi->get_analysis_params:\n") pprint(api_response) except Exception as e: @@ -481,6 +492,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -505,7 +517,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_status** -> BaseResponseStatus get_analysis_status(analysis_id) +> BaseResponseStatus get_analysis_status(analysis_id, api_key=api_key) Gets the status of an analysis @@ -543,10 +555,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the status of an analysis - api_response = api_instance.get_analysis_status(analysis_id) + api_response = api_instance.get_analysis_status(analysis_id, api_key=api_key) print("The response of AnalysesCoreApi->get_analysis_status:\n") pprint(api_response) except Exception as e: @@ -561,6 +574,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -585,7 +599,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_analyses** -> BaseResponseRecent list_analyses(search_term=search_term, workspace=workspace, status=status, model_name=model_name, dynamic_execution_status=dynamic_execution_status, usernames=usernames, sha256_hash=sha256_hash, limit=limit, offset=offset, order_by=order_by, order=order) +> BaseResponseRecent list_analyses(search_term=search_term, workspace=workspace, status=status, model_name=model_name, dynamic_execution_status=dynamic_execution_status, usernames=usernames, sha256_hash=sha256_hash, limit=limit, offset=offset, order_by=order_by, order=order, api_key=api_key) Gets the most recent analyses @@ -639,10 +653,11 @@ with revengai.ApiClient(configuration) as api_client: offset = 0 # int | (optional) (default to 0) order_by = revengai.AppApiRestV2AnalysesEnumsOrderBy() # AppApiRestV2AnalysesEnumsOrderBy | (optional) order = revengai.Order() # Order | (optional) + api_key = 'api_key_example' # str | (optional) try: # Gets the most recent analyses - api_response = api_instance.list_analyses(search_term=search_term, workspace=workspace, status=status, model_name=model_name, dynamic_execution_status=dynamic_execution_status, usernames=usernames, sha256_hash=sha256_hash, limit=limit, offset=offset, order_by=order_by, order=order) + api_response = api_instance.list_analyses(search_term=search_term, workspace=workspace, status=status, model_name=model_name, dynamic_execution_status=dynamic_execution_status, usernames=usernames, sha256_hash=sha256_hash, limit=limit, offset=offset, order_by=order_by, order=order, api_key=api_key) print("The response of AnalysesCoreApi->list_analyses:\n") pprint(api_response) except Exception as e: @@ -667,6 +682,7 @@ Name | Type | Description | Notes **offset** | **int**| | [optional] [default to 0] **order_by** | [**AppApiRestV2AnalysesEnumsOrderBy**](.md)| | [optional] **order** | [**Order**](.md)| | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -691,7 +707,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **lookup_binary_id** -> object lookup_binary_id(binary_id) +> object lookup_binary_id(binary_id, api_key=api_key) Gets the analysis ID from binary ID @@ -728,10 +744,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) binary_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the analysis ID from binary ID - api_response = api_instance.lookup_binary_id(binary_id) + api_response = api_instance.lookup_binary_id(binary_id, api_key=api_key) print("The response of AnalysesCoreApi->lookup_binary_id:\n") pprint(api_response) except Exception as e: @@ -746,6 +763,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -770,7 +788,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **requeue_analysis** -> BaseResponseCreated requeue_analysis(analysis_id, re_analysis_form) +> BaseResponseCreated requeue_analysis(analysis_id, re_analysis_form, api_key=api_key) Requeue Analysis @@ -810,10 +828,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | re_analysis_form = revengai.ReAnalysisForm() # ReAnalysisForm | + api_key = 'api_key_example' # str | (optional) try: # Requeue Analysis - api_response = api_instance.requeue_analysis(analysis_id, re_analysis_form) + api_response = api_instance.requeue_analysis(analysis_id, re_analysis_form, api_key=api_key) print("The response of AnalysesCoreApi->requeue_analysis:\n") pprint(api_response) except Exception as e: @@ -829,6 +848,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **re_analysis_form** | [**ReAnalysisForm**](ReAnalysisForm.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -855,7 +875,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_analysis** -> BaseResponseAnalysisDetailResponse update_analysis(analysis_id, analysis_update_request) +> BaseResponseAnalysisDetailResponse update_analysis(analysis_id, analysis_update_request, api_key=api_key) Update Analysis @@ -895,10 +915,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | analysis_update_request = revengai.AnalysisUpdateRequest() # AnalysisUpdateRequest | + api_key = 'api_key_example' # str | (optional) try: # Update Analysis - api_response = api_instance.update_analysis(analysis_id, analysis_update_request) + api_response = api_instance.update_analysis(analysis_id, analysis_update_request, api_key=api_key) print("The response of AnalysesCoreApi->update_analysis:\n") pprint(api_response) except Exception as e: @@ -914,6 +935,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_update_request** | [**AnalysisUpdateRequest**](AnalysisUpdateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -938,7 +960,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_analysis_tags** -> BaseResponseAnalysisUpdateTagsResponse update_analysis_tags(analysis_id, analysis_update_tags_request) +> BaseResponseAnalysisUpdateTagsResponse update_analysis_tags(analysis_id, analysis_update_tags_request, api_key=api_key) Update Analysis Tags @@ -978,10 +1000,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | analysis_update_tags_request = revengai.AnalysisUpdateTagsRequest() # AnalysisUpdateTagsRequest | + api_key = 'api_key_example' # str | (optional) try: # Update Analysis Tags - api_response = api_instance.update_analysis_tags(analysis_id, analysis_update_tags_request) + api_response = api_instance.update_analysis_tags(analysis_id, analysis_update_tags_request, api_key=api_key) print("The response of AnalysesCoreApi->update_analysis_tags:\n") pprint(api_response) except Exception as e: @@ -997,6 +1020,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_update_tags_request** | [**AnalysisUpdateTagsRequest**](AnalysisUpdateTagsRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -1021,7 +1045,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **upload_file** -> BaseResponseUploadResponse upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite) +> BaseResponseUploadResponse upload_file(upload_file_type, file, packed_password=packed_password, api_key=api_key, force_overwrite=force_overwrite) Upload File @@ -1060,11 +1084,12 @@ with revengai.ApiClient(configuration) as api_client: upload_file_type = revengai.UploadFileType() # UploadFileType | file = None # bytearray | packed_password = 'packed_password_example' # str | (optional) + api_key = 'api_key_example' # str | (optional) force_overwrite = False # bool | (optional) (default to False) try: # Upload File - api_response = api_instance.upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite) + api_response = api_instance.upload_file(upload_file_type, file, packed_password=packed_password, api_key=api_key, force_overwrite=force_overwrite) print("The response of AnalysesCoreApi->upload_file:\n") pprint(api_response) except Exception as e: @@ -1081,6 +1106,7 @@ Name | Type | Description | Notes **upload_file_type** | [**UploadFileType**](UploadFileType.md)| | **file** | **bytearray**| | **packed_password** | **str**| | [optional] + **api_key** | **str**| | [optional] **force_overwrite** | **bool**| | [optional] [default to False] ### Return type diff --git a/docs/AnalysesDynamicExecutionApi.md b/docs/AnalysesDynamicExecutionApi.md index 0f267a4..f5975c5 100644 --- a/docs/AnalysesDynamicExecutionApi.md +++ b/docs/AnalysesDynamicExecutionApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **get_dynamic_execution_status** -> BaseResponseDynamicExecutionStatus get_dynamic_execution_status(analysis_id) +> BaseResponseDynamicExecutionStatus get_dynamic_execution_status(analysis_id, api_key=api_key) Get the status of a dynamic execution task @@ -50,10 +50,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get the status of a dynamic execution task - api_response = api_instance.get_dynamic_execution_status(analysis_id) + api_response = api_instance.get_dynamic_execution_status(analysis_id, api_key=api_key) print("The response of AnalysesDynamicExecutionApi->get_dynamic_execution_status:\n") pprint(api_response) except Exception as e: @@ -68,6 +69,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -92,7 +94,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_network_overview** -> BaseResponseNetworkOverviewResponse get_network_overview(analysis_id) +> BaseResponseNetworkOverviewResponse get_network_overview(analysis_id, api_key=api_key) Get the dynamic execution results for network overview @@ -128,10 +130,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get the dynamic execution results for network overview - api_response = api_instance.get_network_overview(analysis_id) + api_response = api_instance.get_network_overview(analysis_id, api_key=api_key) print("The response of AnalysesDynamicExecutionApi->get_network_overview:\n") pprint(api_response) except Exception as e: @@ -146,6 +149,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -170,7 +174,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_process_dump** -> object get_process_dump(analysis_id, dump_name) +> object get_process_dump(analysis_id, dump_name, api_key=api_key) Get the dynamic execution results for a specific process dump @@ -206,10 +210,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | dump_name = 'dump_name_example' # str | + api_key = 'api_key_example' # str | (optional) try: # Get the dynamic execution results for a specific process dump - api_response = api_instance.get_process_dump(analysis_id, dump_name) + api_response = api_instance.get_process_dump(analysis_id, dump_name, api_key=api_key) print("The response of AnalysesDynamicExecutionApi->get_process_dump:\n") pprint(api_response) except Exception as e: @@ -225,6 +230,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **dump_name** | **str**| | + **api_key** | **str**| | [optional] ### Return type @@ -249,7 +255,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_process_dumps** -> BaseResponseProcessDumps get_process_dumps(analysis_id) +> BaseResponseProcessDumps get_process_dumps(analysis_id, api_key=api_key) Get the dynamic execution results for process dumps @@ -285,10 +291,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get the dynamic execution results for process dumps - api_response = api_instance.get_process_dumps(analysis_id) + api_response = api_instance.get_process_dumps(analysis_id, api_key=api_key) print("The response of AnalysesDynamicExecutionApi->get_process_dumps:\n") pprint(api_response) except Exception as e: @@ -303,6 +310,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -327,7 +335,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_process_registry** -> BaseResponseProcessRegistry get_process_registry(analysis_id) +> BaseResponseProcessRegistry get_process_registry(analysis_id, api_key=api_key) Get the dynamic execution results for process registry @@ -363,10 +371,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get the dynamic execution results for process registry - api_response = api_instance.get_process_registry(analysis_id) + api_response = api_instance.get_process_registry(analysis_id, api_key=api_key) print("The response of AnalysesDynamicExecutionApi->get_process_registry:\n") pprint(api_response) except Exception as e: @@ -381,6 +390,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -405,7 +415,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_process_tree** -> BaseResponseProcessTree get_process_tree(analysis_id) +> BaseResponseProcessTree get_process_tree(analysis_id, api_key=api_key) Get the dynamic execution results for process tree @@ -441,10 +451,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get the dynamic execution results for process tree - api_response = api_instance.get_process_tree(analysis_id) + api_response = api_instance.get_process_tree(analysis_id, api_key=api_key) print("The response of AnalysesDynamicExecutionApi->get_process_tree:\n") pprint(api_response) except Exception as e: @@ -459,6 +470,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -483,7 +495,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_ttps** -> BaseResponseTTPS get_ttps(analysis_id) +> BaseResponseTTPS get_ttps(analysis_id, api_key=api_key) Get the dynamic execution results for ttps @@ -519,10 +531,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get the dynamic execution results for ttps - api_response = api_instance.get_ttps(analysis_id) + api_response = api_instance.get_ttps(analysis_id, api_key=api_key) print("The response of AnalysesDynamicExecutionApi->get_ttps:\n") pprint(api_response) except Exception as e: @@ -537,6 +550,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/AnalysesResultsMetadataApi.md b/docs/AnalysesResultsMetadataApi.md index 8e201c5..bbfa165 100644 --- a/docs/AnalysesResultsMetadataApi.md +++ b/docs/AnalysesResultsMetadataApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **get_capabilities** -> BaseResponseCapabilities get_capabilities(analysis_id) +> BaseResponseCapabilities get_capabilities(analysis_id, api_key=api_key) Gets the capabilities from the analysis @@ -50,10 +50,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the capabilities from the analysis - api_response = api_instance.get_capabilities(analysis_id) + api_response = api_instance.get_capabilities(analysis_id, api_key=api_key) print("The response of AnalysesResultsMetadataApi->get_capabilities:\n") pprint(api_response) except Exception as e: @@ -68,6 +69,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -92,7 +94,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_communities** -> BaseResponseCommunities get_communities(analysis_id, user_name=user_name) +> BaseResponseCommunities get_communities(analysis_id, user_name=user_name, api_key=api_key) Gets the communities found in the analysis @@ -129,10 +131,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | user_name = 'user_name_example' # str | The user name to limit communities to (optional) + api_key = 'api_key_example' # str | (optional) try: # Gets the communities found in the analysis - api_response = api_instance.get_communities(analysis_id, user_name=user_name) + api_response = api_instance.get_communities(analysis_id, user_name=user_name, api_key=api_key) print("The response of AnalysesResultsMetadataApi->get_communities:\n") pprint(api_response) except Exception as e: @@ -148,6 +151,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **user_name** | **str**| The user name to limit communities to | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -172,7 +176,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_functions_list** -> BaseResponseAnalysisFunctions get_functions_list(analysis_id, search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr) +> BaseResponseAnalysisFunctions get_functions_list(analysis_id, search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, api_key=api_key) Gets functions from analysis @@ -213,10 +217,11 @@ with revengai.ApiClient(configuration) as api_client: search_term = 'search_term_example' # str | (optional) min_v_addr = 56 # int | (optional) max_v_addr = 56 # int | (optional) + api_key = 'api_key_example' # str | (optional) try: # Gets functions from analysis - api_response = api_instance.get_functions_list(analysis_id, search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr) + api_response = api_instance.get_functions_list(analysis_id, search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, api_key=api_key) print("The response of AnalysesResultsMetadataApi->get_functions_list:\n") pprint(api_response) except Exception as e: @@ -234,6 +239,7 @@ Name | Type | Description | Notes **search_term** | **str**| | [optional] **min_v_addr** | **int**| | [optional] **max_v_addr** | **int**| | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -258,7 +264,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_pdf** -> object get_pdf(analysis_id) +> object get_pdf(analysis_id, api_key=api_key) Gets the PDF found in the analysis @@ -293,10 +299,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the PDF found in the analysis - api_response = api_instance.get_pdf(analysis_id) + api_response = api_instance.get_pdf(analysis_id, api_key=api_key) print("The response of AnalysesResultsMetadataApi->get_pdf:\n") pprint(api_response) except Exception as e: @@ -311,6 +318,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -335,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_sbom** -> BaseResponseListSBOM get_sbom(analysis_id) +> BaseResponseListSBOM get_sbom(analysis_id, api_key=api_key) Gets the software-bill-of-materials (SBOM) found in the analysis @@ -371,10 +379,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the software-bill-of-materials (SBOM) found in the analysis - api_response = api_instance.get_sbom(analysis_id) + api_response = api_instance.get_sbom(analysis_id, api_key=api_key) print("The response of AnalysesResultsMetadataApi->get_sbom:\n") pprint(api_response) except Exception as e: @@ -389,6 +398,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -413,7 +423,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_tags** -> BaseResponseAnalysisTags get_tags(analysis_id) +> BaseResponseAnalysisTags get_tags(analysis_id, api_key=api_key) Get function tags with maliciousness score @@ -449,10 +459,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get function tags with maliciousness score - api_response = api_instance.get_tags(analysis_id) + api_response = api_instance.get_tags(analysis_id, api_key=api_key) print("The response of AnalysesResultsMetadataApi->get_tags:\n") pprint(api_response) except Exception as e: @@ -467,6 +478,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -491,7 +503,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_vulnerabilities** -> BaseResponseVulnerabilities get_vulnerabilities(analysis_id) +> BaseResponseVulnerabilities get_vulnerabilities(analysis_id, api_key=api_key) Gets the vulnerabilities found in the analysis @@ -527,10 +539,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the vulnerabilities found in the analysis - api_response = api_instance.get_vulnerabilities(analysis_id) + api_response = api_instance.get_vulnerabilities(analysis_id, api_key=api_key) print("The response of AnalysesResultsMetadataApi->get_vulnerabilities:\n") pprint(api_response) except Exception as e: @@ -545,6 +558,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/AnalysesSecurityChecksApi.md b/docs/AnalysesSecurityChecksApi.md index 81c008a..20e0ba4 100644 --- a/docs/AnalysesSecurityChecksApi.md +++ b/docs/AnalysesSecurityChecksApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **create_scurity_checks_task** -> QueuedSecurityChecksTaskResponse create_scurity_checks_task(analysis_id) +> QueuedSecurityChecksTaskResponse create_scurity_checks_task(analysis_id, api_key=api_key) Queues a security check process @@ -46,10 +46,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesSecurityChecksApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Queues a security check process - api_response = api_instance.create_scurity_checks_task(analysis_id) + api_response = api_instance.create_scurity_checks_task(analysis_id, api_key=api_key) print("The response of AnalysesSecurityChecksApi->create_scurity_checks_task:\n") pprint(api_response) except Exception as e: @@ -64,6 +65,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -89,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_security_checks** -> BaseResponseSecurityChecksResponse get_security_checks(analysis_id, page, page_size) +> BaseResponseSecurityChecksResponse get_security_checks(analysis_id, page, page_size, api_key=api_key) Get Security Checks @@ -129,10 +131,11 @@ with revengai.ApiClient(configuration) as api_client: analysis_id = 56 # int | page = 56 # int | The page number to retrieve. page_size = 56 # int | Number of items per page. + api_key = 'api_key_example' # str | (optional) try: # Get Security Checks - api_response = api_instance.get_security_checks(analysis_id, page, page_size) + api_response = api_instance.get_security_checks(analysis_id, page, page_size, api_key=api_key) print("The response of AnalysesSecurityChecksApi->get_security_checks:\n") pprint(api_response) except Exception as e: @@ -149,6 +152,7 @@ Name | Type | Description | Notes **analysis_id** | **int**| | **page** | **int**| The page number to retrieve. | **page_size** | **int**| Number of items per page. | + **api_key** | **str**| | [optional] ### Return type @@ -173,7 +177,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_security_checks_task_status** -> CheckSecurityChecksTaskResponse get_security_checks_task_status(analysis_id) +> CheckSecurityChecksTaskResponse get_security_checks_task_status(analysis_id, api_key=api_key) Check the status of a security check process @@ -209,10 +213,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesSecurityChecksApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Check the status of a security check process - api_response = api_instance.get_security_checks_task_status(analysis_id) + api_response = api_instance.get_security_checks_task_status(analysis_id, api_key=api_key) print("The response of AnalysesSecurityChecksApi->get_security_checks_task_status:\n") pprint(api_response) except Exception as e: @@ -227,6 +232,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/AuthenticationUsersApi.md b/docs/AuthenticationUsersApi.md index 76e6cdd..f7fa504 100644 --- a/docs/AuthenticationUsersApi.md +++ b/docs/AuthenticationUsersApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **get_requester_user_info** -> BaseResponseGetUserResponse get_requester_user_info() +> BaseResponseGetUserResponse get_requester_user_info(api_key=api_key) Get the requesters user information @@ -47,10 +47,11 @@ configuration.api_key['APIKey'] = os.environ["API_KEY"] with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AuthenticationUsersApi(api_client) + api_key = 'api_key_example' # str | (optional) try: # Get the requesters user information - api_response = api_instance.get_requester_user_info() + api_response = api_instance.get_requester_user_info(api_key=api_key) print("The response of AuthenticationUsersApi->get_requester_user_info:\n") pprint(api_response) except Exception as e: @@ -61,7 +62,10 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **api_key** | **str**| | [optional] ### Return type @@ -86,7 +90,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_user** -> BaseResponseGetPublicUserResponse get_user(user_id) +> BaseResponseGetPublicUserResponse get_user(user_id, api_key=api_key) Get a user's public information @@ -122,10 +126,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AuthenticationUsersApi(api_client) user_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get a user's public information - api_response = api_instance.get_user(user_id) + api_response = api_instance.get_user(user_id, api_key=api_key) print("The response of AuthenticationUsersApi->get_user:\n") pprint(api_response) except Exception as e: @@ -140,6 +145,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -164,7 +170,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_user_activity** -> BaseResponseListUserActivityResponse get_user_activity() +> BaseResponseListUserActivityResponse get_user_activity(api_key=api_key) Get auth user activity @@ -199,10 +205,11 @@ configuration.api_key['APIKey'] = os.environ["API_KEY"] with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AuthenticationUsersApi(api_client) + api_key = 'api_key_example' # str | (optional) try: # Get auth user activity - api_response = api_instance.get_user_activity() + api_response = api_instance.get_user_activity(api_key=api_key) print("The response of AuthenticationUsersApi->get_user_activity:\n") pprint(api_response) except Exception as e: @@ -213,7 +220,10 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **api_key** | **str**| | [optional] ### Return type @@ -238,7 +248,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_user_comments** -> BaseResponseListCommentResponse get_user_comments() +> BaseResponseListCommentResponse get_user_comments(api_key=api_key) Get comments by user @@ -275,10 +285,11 @@ configuration.api_key['APIKey'] = os.environ["API_KEY"] with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AuthenticationUsersApi(api_client) + api_key = 'api_key_example' # str | (optional) try: # Get comments by user - api_response = api_instance.get_user_comments() + api_response = api_instance.get_user_comments(api_key=api_key) print("The response of AuthenticationUsersApi->get_user_comments:\n") pprint(api_response) except Exception as e: @@ -289,7 +300,10 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/BinariesApi.md b/docs/BinariesApi.md index f26677b..eea244e 100644 --- a/docs/BinariesApi.md +++ b/docs/BinariesApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **download_zipped_binary** -> object download_zipped_binary(binary_id) +> object download_zipped_binary(binary_id, api_key=api_key) Downloads a zipped binary with password protection @@ -48,10 +48,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Downloads a zipped binary with password protection - api_response = api_instance.download_zipped_binary(binary_id) + api_response = api_instance.download_zipped_binary(binary_id, api_key=api_key) print("The response of BinariesApi->download_zipped_binary:\n") pprint(api_response) except Exception as e: @@ -66,6 +67,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -90,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_additional_details** -> BaseResponseBinaryAdditionalResponse get_binary_additional_details(binary_id) +> BaseResponseBinaryAdditionalResponse get_binary_additional_details(binary_id, api_key=api_key) Gets the additional details of a binary @@ -126,10 +128,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the additional details of a binary - api_response = api_instance.get_binary_additional_details(binary_id) + api_response = api_instance.get_binary_additional_details(binary_id, api_key=api_key) print("The response of BinariesApi->get_binary_additional_details:\n") pprint(api_response) except Exception as e: @@ -144,6 +147,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -168,7 +172,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_details** -> BaseResponseBinaryDetailsResponse get_binary_details(binary_id) +> BaseResponseBinaryDetailsResponse get_binary_details(binary_id, api_key=api_key) Gets the details of a binary @@ -204,10 +208,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the details of a binary - api_response = api_instance.get_binary_details(binary_id) + api_response = api_instance.get_binary_details(binary_id, api_key=api_key) print("The response of BinariesApi->get_binary_details:\n") pprint(api_response) except Exception as e: @@ -222,6 +227,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -246,7 +252,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_die_info** -> BaseResponseListDieMatch get_binary_die_info(binary_id) +> BaseResponseListDieMatch get_binary_die_info(binary_id, api_key=api_key) Gets the die info of a binary @@ -282,10 +288,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the die info of a binary - api_response = api_instance.get_binary_die_info(binary_id) + api_response = api_instance.get_binary_die_info(binary_id, api_key=api_key) print("The response of BinariesApi->get_binary_die_info:\n") pprint(api_response) except Exception as e: @@ -300,6 +307,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -324,7 +332,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_binary_externals** -> BaseResponseBinaryExternalsResponse get_binary_externals(binary_id) +> BaseResponseBinaryExternalsResponse get_binary_externals(binary_id, api_key=api_key) Gets the external details of a binary @@ -360,10 +368,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the external details of a binary - api_response = api_instance.get_binary_externals(binary_id) + api_response = api_instance.get_binary_externals(binary_id, api_key=api_key) print("The response of BinariesApi->get_binary_externals:\n") pprint(api_response) except Exception as e: @@ -378,6 +387,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -402,7 +412,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_related_binaries** -> BaseResponseChildBinariesResponse get_related_binaries(binary_id) +> BaseResponseChildBinariesResponse get_related_binaries(binary_id, api_key=api_key) Gets the related binaries of a binary. @@ -438,10 +448,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Gets the related binaries of a binary. - api_response = api_instance.get_related_binaries(binary_id) + api_response = api_instance.get_related_binaries(binary_id, api_key=api_key) print("The response of BinariesApi->get_related_binaries:\n") pprint(api_response) except Exception as e: @@ -456,6 +467,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/CollectionsApi.md b/docs/CollectionsApi.md index 8cedc14..960876d 100644 --- a/docs/CollectionsApi.md +++ b/docs/CollectionsApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **create_collection** -> BaseResponseCollectionResponse create_collection(collection_create_request) +> BaseResponseCollectionResponse create_collection(collection_create_request, api_key=api_key) Creates new collection information @@ -53,10 +53,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.CollectionsApi(api_client) collection_create_request = revengai.CollectionCreateRequest() # CollectionCreateRequest | + api_key = 'api_key_example' # str | (optional) try: # Creates new collection information - api_response = api_instance.create_collection(collection_create_request) + api_response = api_instance.create_collection(collection_create_request, api_key=api_key) print("The response of CollectionsApi->create_collection:\n") pprint(api_response) except Exception as e: @@ -71,6 +72,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_create_request** | [**CollectionCreateRequest**](CollectionCreateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -95,7 +97,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_collection** -> BaseResponseBool delete_collection(collection_id) +> BaseResponseBool delete_collection(collection_id, api_key=api_key) Deletes a collection @@ -133,10 +135,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Deletes a collection - api_response = api_instance.delete_collection(collection_id) + api_response = api_instance.delete_collection(collection_id, api_key=api_key) print("The response of CollectionsApi->delete_collection:\n") pprint(api_response) except Exception as e: @@ -151,6 +154,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -175,7 +179,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_collection** -> BaseResponseCollectionResponse get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries) +> BaseResponseCollectionResponse get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries, api_key=api_key) Returns a collection @@ -215,10 +219,11 @@ with revengai.ApiClient(configuration) as api_client: collection_id = 56 # int | include_tags = False # bool | (optional) (default to False) include_binaries = False # bool | (optional) (default to False) + api_key = 'api_key_example' # str | (optional) try: # Returns a collection - api_response = api_instance.get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries) + api_response = api_instance.get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries, api_key=api_key) print("The response of CollectionsApi->get_collection:\n") pprint(api_response) except Exception as e: @@ -235,6 +240,7 @@ Name | Type | Description | Notes **collection_id** | **int**| | **include_tags** | **bool**| | [optional] [default to False] **include_binaries** | **bool**| | [optional] [default to False] + **api_key** | **str**| | [optional] ### Return type @@ -259,7 +265,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_collections** -> BaseResponseListCollectionResults list_collections(search_term=search_term, filters=filters, limit=limit, offset=offset, order_by=order_by, order=order) +> BaseResponseListCollectionResults list_collections(search_term=search_term, filters=filters, limit=limit, offset=offset, order_by=order_by, order=order, api_key=api_key) Gets basic collections information @@ -305,10 +311,11 @@ with revengai.ApiClient(configuration) as api_client: offset = 0 # int | (optional) (default to 0) order_by = revengai.AppApiRestV2CollectionsEnumsOrderBy() # AppApiRestV2CollectionsEnumsOrderBy | (optional) order = revengai.Order() # Order | (optional) + api_key = 'api_key_example' # str | (optional) try: # Gets basic collections information - api_response = api_instance.list_collections(search_term=search_term, filters=filters, limit=limit, offset=offset, order_by=order_by, order=order) + api_response = api_instance.list_collections(search_term=search_term, filters=filters, limit=limit, offset=offset, order_by=order_by, order=order, api_key=api_key) print("The response of CollectionsApi->list_collections:\n") pprint(api_response) except Exception as e: @@ -328,6 +335,7 @@ Name | Type | Description | Notes **offset** | **int**| | [optional] [default to 0] **order_by** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| | [optional] **order** | [**Order**](.md)| | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -352,7 +360,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_collection** -> BaseResponseCollectionResponse update_collection(collection_id, collection_update_request) +> BaseResponseCollectionResponse update_collection(collection_id, collection_update_request, api_key=api_key) Updates a collection @@ -392,10 +400,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | collection_update_request = revengai.CollectionUpdateRequest() # CollectionUpdateRequest | + api_key = 'api_key_example' # str | (optional) try: # Updates a collection - api_response = api_instance.update_collection(collection_id, collection_update_request) + api_response = api_instance.update_collection(collection_id, collection_update_request, api_key=api_key) print("The response of CollectionsApi->update_collection:\n") pprint(api_response) except Exception as e: @@ -411,6 +420,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | **collection_update_request** | [**CollectionUpdateRequest**](CollectionUpdateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -435,7 +445,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_collection_binaries** -> BaseResponseCollectionBinariesUpdateResponse update_collection_binaries(collection_id, collection_binaries_update_request) +> BaseResponseCollectionBinariesUpdateResponse update_collection_binaries(collection_id, collection_binaries_update_request, api_key=api_key) Updates a collection binaries @@ -475,10 +485,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | collection_binaries_update_request = revengai.CollectionBinariesUpdateRequest() # CollectionBinariesUpdateRequest | + api_key = 'api_key_example' # str | (optional) try: # Updates a collection binaries - api_response = api_instance.update_collection_binaries(collection_id, collection_binaries_update_request) + api_response = api_instance.update_collection_binaries(collection_id, collection_binaries_update_request, api_key=api_key) print("The response of CollectionsApi->update_collection_binaries:\n") pprint(api_response) except Exception as e: @@ -494,6 +505,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | **collection_binaries_update_request** | [**CollectionBinariesUpdateRequest**](CollectionBinariesUpdateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -518,7 +530,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_collection_tags** -> BaseResponseCollectionTagsUpdateResponse update_collection_tags(collection_id, collection_tags_update_request) +> BaseResponseCollectionTagsUpdateResponse update_collection_tags(collection_id, collection_tags_update_request, api_key=api_key) Updates a collection tags @@ -558,10 +570,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | collection_tags_update_request = revengai.CollectionTagsUpdateRequest() # CollectionTagsUpdateRequest | + api_key = 'api_key_example' # str | (optional) try: # Updates a collection tags - api_response = api_instance.update_collection_tags(collection_id, collection_tags_update_request) + api_response = api_instance.update_collection_tags(collection_id, collection_tags_update_request, api_key=api_key) print("The response of CollectionsApi->update_collection_tags:\n") pprint(api_response) except Exception as e: @@ -577,6 +590,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | **collection_tags_update_request** | [**CollectionTagsUpdateRequest**](CollectionTagsUpdateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/ExternalSourcesApi.md b/docs/ExternalSourcesApi.md index 1c0abdd..01a4fe1 100644 --- a/docs/ExternalSourcesApi.md +++ b/docs/ExternalSourcesApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **create_external_task_mb** -> BaseResponseStr create_external_task_mb(analysis_id) +> BaseResponseStr create_external_task_mb(analysis_id, api_key=api_key) Pulls data from VirusTotal @@ -49,10 +49,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Pulls data from VirusTotal - api_response = api_instance.create_external_task_mb(analysis_id) + api_response = api_instance.create_external_task_mb(analysis_id, api_key=api_key) print("The response of ExternalSourcesApi->create_external_task_mb:\n") pprint(api_response) except Exception as e: @@ -67,6 +68,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -92,7 +94,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_external_task_vt** -> BaseResponseStr create_external_task_vt(analysis_id) +> BaseResponseStr create_external_task_vt(analysis_id, api_key=api_key) Pulls data from VirusTotal @@ -128,10 +130,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Pulls data from VirusTotal - api_response = api_instance.create_external_task_vt(analysis_id) + api_response = api_instance.create_external_task_vt(analysis_id, api_key=api_key) print("The response of ExternalSourcesApi->create_external_task_vt:\n") pprint(api_response) except Exception as e: @@ -146,6 +149,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -171,7 +175,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_mb_data** -> BaseResponseExternalResponse get_mb_data(analysis_id) +> BaseResponseExternalResponse get_mb_data(analysis_id, api_key=api_key) Get MalwareBazaar data @@ -207,10 +211,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get MalwareBazaar data - api_response = api_instance.get_mb_data(analysis_id) + api_response = api_instance.get_mb_data(analysis_id, api_key=api_key) print("The response of ExternalSourcesApi->get_mb_data:\n") pprint(api_response) except Exception as e: @@ -225,6 +230,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -250,7 +256,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_mb_task_status** -> BaseResponseTaskResponse get_mb_task_status(analysis_id) +> BaseResponseTaskResponse get_mb_task_status(analysis_id, api_key=api_key) Check the status of MalwareBazaar data retrieval @@ -286,10 +292,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Check the status of MalwareBazaar data retrieval - api_response = api_instance.get_mb_task_status(analysis_id) + api_response = api_instance.get_mb_task_status(analysis_id, api_key=api_key) print("The response of ExternalSourcesApi->get_mb_task_status:\n") pprint(api_response) except Exception as e: @@ -304,6 +311,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -328,7 +336,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_vt_data** -> BaseResponseExternalResponse get_vt_data(analysis_id) +> BaseResponseExternalResponse get_vt_data(analysis_id, api_key=api_key) Get VirusTotal data @@ -364,10 +372,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get VirusTotal data - api_response = api_instance.get_vt_data(analysis_id) + api_response = api_instance.get_vt_data(analysis_id, api_key=api_key) print("The response of ExternalSourcesApi->get_vt_data:\n") pprint(api_response) except Exception as e: @@ -382,6 +391,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -407,7 +417,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_vt_task_status** -> BaseResponseTaskResponse get_vt_task_status(analysis_id) +> BaseResponseTaskResponse get_vt_task_status(analysis_id, api_key=api_key) Check the status of VirusTotal data retrieval @@ -443,10 +453,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Check the status of VirusTotal data retrieval - api_response = api_instance.get_vt_task_status(analysis_id) + api_response = api_instance.get_vt_task_status(analysis_id, api_key=api_key) print("The response of ExternalSourcesApi->get_vt_task_status:\n") pprint(api_response) except Exception as e: @@ -461,6 +472,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/FirmwareApi.md b/docs/FirmwareApi.md index 61df3a4..00d999b 100644 --- a/docs/FirmwareApi.md +++ b/docs/FirmwareApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **get_binaries_for_firmware_task** -> object get_binaries_for_firmware_task(task_id) +> object get_binaries_for_firmware_task(task_id, api_key=api_key) Upload firmware for unpacking @@ -46,10 +46,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FirmwareApi(api_client) task_id = 'task_id_example' # str | + api_key = 'api_key_example' # str | (optional) try: # Upload firmware for unpacking - api_response = api_instance.get_binaries_for_firmware_task(task_id) + api_response = api_instance.get_binaries_for_firmware_task(task_id, api_key=api_key) print("The response of FirmwareApi->get_binaries_for_firmware_task:\n") pprint(api_response) except Exception as e: @@ -64,6 +65,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **task_id** | **str**| | + **api_key** | **str**| | [optional] ### Return type @@ -88,7 +90,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **upload_firmware** -> object upload_firmware(file, password=password) +> object upload_firmware(file, api_key=api_key, password=password) Upload firmware for unpacking @@ -125,11 +127,12 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FirmwareApi(api_client) file = None # bytearray | + api_key = 'api_key_example' # str | (optional) password = 'password_example' # str | (optional) try: # Upload firmware for unpacking - api_response = api_instance.upload_firmware(file, password=password) + api_response = api_instance.upload_firmware(file, api_key=api_key, password=password) print("The response of FirmwareApi->upload_firmware:\n") pprint(api_response) except Exception as e: @@ -144,6 +147,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **file** | **bytearray**| | + **api_key** | **str**| | [optional] **password** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsAIDecompilationApi.md b/docs/FunctionsAIDecompilationApi.md index 2d9f89e..ed1063e 100644 --- a/docs/FunctionsAIDecompilationApi.md +++ b/docs/FunctionsAIDecompilationApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description # **create_ai_decompilation_comment** -> BaseResponseCommentResponse create_ai_decompilation_comment(function_id, function_comment_create_request) +> BaseResponseCommentResponse create_ai_decompilation_comment(function_id, function_comment_create_request, api_key=api_key) Create a comment for this function @@ -56,10 +56,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | function_comment_create_request = revengai.FunctionCommentCreateRequest() # FunctionCommentCreateRequest | + api_key = 'api_key_example' # str | (optional) try: # Create a comment for this function - api_response = api_instance.create_ai_decompilation_comment(function_id, function_comment_create_request) + api_response = api_instance.create_ai_decompilation_comment(function_id, function_comment_create_request, api_key=api_key) print("The response of FunctionsAIDecompilationApi->create_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -75,6 +76,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_comment_create_request** | [**FunctionCommentCreateRequest**](FunctionCommentCreateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -100,7 +102,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_ai_decompilation_task** -> BaseResponse create_ai_decompilation_task(function_id) +> BaseResponse create_ai_decompilation_task(function_id, api_key=api_key) Begins AI Decompilation Process @@ -138,10 +140,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | The ID of the function for which we are creating the decompilation task + api_key = 'api_key_example' # str | (optional) try: # Begins AI Decompilation Process - api_response = api_instance.create_ai_decompilation_task(function_id) + api_response = api_instance.create_ai_decompilation_task(function_id, api_key=api_key) print("The response of FunctionsAIDecompilationApi->create_ai_decompilation_task:\n") pprint(api_response) except Exception as e: @@ -156,6 +159,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| The ID of the function for which we are creating the decompilation task | + **api_key** | **str**| | [optional] ### Return type @@ -184,7 +188,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_ai_decompilation_comment** -> BaseResponseBool delete_ai_decompilation_comment(comment_id, function_id) +> BaseResponseBool delete_ai_decompilation_comment(comment_id, function_id, api_key=api_key) Delete a comment @@ -223,10 +227,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) comment_id = 56 # int | function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Delete a comment - api_response = api_instance.delete_ai_decompilation_comment(comment_id, function_id) + api_response = api_instance.delete_ai_decompilation_comment(comment_id, function_id, api_key=api_key) print("The response of FunctionsAIDecompilationApi->delete_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -242,6 +247,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -268,7 +274,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_ai_decompilation_comments** -> BaseResponseListCommentResponse get_ai_decompilation_comments(function_id) +> BaseResponseListCommentResponse get_ai_decompilation_comments(function_id, api_key=api_key) Get comments for this function @@ -306,10 +312,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get comments for this function - api_response = api_instance.get_ai_decompilation_comments(function_id) + api_response = api_instance.get_ai_decompilation_comments(function_id, api_key=api_key) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_comments:\n") pprint(api_response) except Exception as e: @@ -324,6 +331,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -348,7 +356,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_ai_decompilation_rating** -> BaseResponseGetAiDecompilationRatingResponse get_ai_decompilation_rating(function_id) +> BaseResponseGetAiDecompilationRatingResponse get_ai_decompilation_rating(function_id, api_key=api_key) Get rating for AI decompilation @@ -384,10 +392,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | The ID of the function for which to get the rating + api_key = 'api_key_example' # str | (optional) try: # Get rating for AI decompilation - api_response = api_instance.get_ai_decompilation_rating(function_id) + api_response = api_instance.get_ai_decompilation_rating(function_id, api_key=api_key) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_rating:\n") pprint(api_response) except Exception as e: @@ -402,6 +411,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| The ID of the function for which to get the rating | + **api_key** | **str**| | [optional] ### Return type @@ -426,7 +436,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_ai_decompilation_task_result** -> BaseResponseGetAiDecompilationTask get_ai_decompilation_task_result(function_id, summarise=summarise, generate_inline_comments=generate_inline_comments) +> BaseResponseGetAiDecompilationTask get_ai_decompilation_task_result(function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, api_key=api_key) Polls AI Decompilation Process @@ -466,10 +476,11 @@ with revengai.ApiClient(configuration) as api_client: function_id = 56 # int | The ID of the function being decompiled summarise = True # bool | Generate a summary for the decompilation (optional) (default to True) generate_inline_comments = True # bool | Generate inline comments for the decompilation (only works if summarise is enabled) (optional) (default to True) + api_key = 'api_key_example' # str | (optional) try: # Polls AI Decompilation Process - api_response = api_instance.get_ai_decompilation_task_result(function_id, summarise=summarise, generate_inline_comments=generate_inline_comments) + api_response = api_instance.get_ai_decompilation_task_result(function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, api_key=api_key) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_task_result:\n") pprint(api_response) except Exception as e: @@ -486,6 +497,7 @@ Name | Type | Description | Notes **function_id** | **int**| The ID of the function being decompiled | **summarise** | **bool**| Generate a summary for the decompilation | [optional] [default to True] **generate_inline_comments** | **bool**| Generate inline comments for the decompilation (only works if summarise is enabled) | [optional] [default to True] + **api_key** | **str**| | [optional] ### Return type @@ -511,7 +523,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_ai_decompilation_task_status** -> BaseResponseFunctionTaskResponse get_ai_decompilation_task_status(function_id) +> BaseResponseFunctionTaskResponse get_ai_decompilation_task_status(function_id, api_key=api_key) Check the status of a function ai decompilation @@ -547,10 +559,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | The ID of the function being checked + api_key = 'api_key_example' # str | (optional) try: # Check the status of a function ai decompilation - api_response = api_instance.get_ai_decompilation_task_status(function_id) + api_response = api_instance.get_ai_decompilation_task_status(function_id, api_key=api_key) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_task_status:\n") pprint(api_response) except Exception as e: @@ -565,6 +578,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| The ID of the function being checked | + **api_key** | **str**| | [optional] ### Return type @@ -589,7 +603,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_ai_decompilation_comment** -> BaseResponseCommentResponse update_ai_decompilation_comment(comment_id, function_id, comment_update_request) +> BaseResponseCommentResponse update_ai_decompilation_comment(comment_id, function_id, comment_update_request, api_key=api_key) Update a comment @@ -630,10 +644,11 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | function_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | + api_key = 'api_key_example' # str | (optional) try: # Update a comment - api_response = api_instance.update_ai_decompilation_comment(comment_id, function_id, comment_update_request) + api_response = api_instance.update_ai_decompilation_comment(comment_id, function_id, comment_update_request, api_key=api_key) print("The response of FunctionsAIDecompilationApi->update_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -650,6 +665,7 @@ Name | Type | Description | Notes **comment_id** | **int**| | **function_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -676,7 +692,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **upsert_ai_decompilation_rating** -> BaseResponse upsert_ai_decompilation_rating(function_id, upsert_ai_decomplation_rating_request) +> BaseResponse upsert_ai_decompilation_rating(function_id, upsert_ai_decomplation_rating_request, api_key=api_key) Upsert rating for AI decompilation @@ -714,10 +730,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | The ID of the function being rated upsert_ai_decomplation_rating_request = revengai.UpsertAiDecomplationRatingRequest() # UpsertAiDecomplationRatingRequest | + api_key = 'api_key_example' # str | (optional) try: # Upsert rating for AI decompilation - api_response = api_instance.upsert_ai_decompilation_rating(function_id, upsert_ai_decomplation_rating_request) + api_response = api_instance.upsert_ai_decompilation_rating(function_id, upsert_ai_decomplation_rating_request, api_key=api_key) print("The response of FunctionsAIDecompilationApi->upsert_ai_decompilation_rating:\n") pprint(api_response) except Exception as e: @@ -733,6 +750,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| The ID of the function being rated | **upsert_ai_decomplation_rating_request** | [**UpsertAiDecomplationRatingRequest**](UpsertAiDecomplationRatingRequest.md)| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsBlockCommentsApi.md b/docs/FunctionsBlockCommentsApi.md index 42e7f1d..5a84393 100644 --- a/docs/FunctionsBlockCommentsApi.md +++ b/docs/FunctionsBlockCommentsApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **generate_block_comments_for_block_in_function** -> BaseResponseBlockCommentsGenerationForFunctionResponse generate_block_comments_for_block_in_function(function_id, block) +> BaseResponseBlockCommentsGenerationForFunctionResponse generate_block_comments_for_block_in_function(function_id, block, api_key=api_key) Generate block comments for a specific block in a function @@ -48,10 +48,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsBlockCommentsApi(api_client) function_id = 56 # int | block = revengai.Block() # Block | + api_key = 'api_key_example' # str | (optional) try: # Generate block comments for a specific block in a function - api_response = api_instance.generate_block_comments_for_block_in_function(function_id, block) + api_response = api_instance.generate_block_comments_for_block_in_function(function_id, block, api_key=api_key) print("The response of FunctionsBlockCommentsApi->generate_block_comments_for_block_in_function:\n") pprint(api_response) except Exception as e: @@ -67,6 +68,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **block** | [**Block**](Block.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -91,7 +93,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **generate_block_comments_for_function** -> BaseResponseBlockCommentsGenerationForFunctionResponse generate_block_comments_for_function(function_id) +> BaseResponseBlockCommentsGenerationForFunctionResponse generate_block_comments_for_function(function_id, api_key=api_key) Generate block comments for a function @@ -127,10 +129,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsBlockCommentsApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Generate block comments for a function - api_response = api_instance.generate_block_comments_for_function(function_id) + api_response = api_instance.generate_block_comments_for_function(function_id, api_key=api_key) print("The response of FunctionsBlockCommentsApi->generate_block_comments_for_function:\n") pprint(api_response) except Exception as e: @@ -145,6 +148,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -169,7 +173,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **generate_overview_comment_for_function** -> BaseResponseBlockCommentsOverviewGenerationResponse generate_overview_comment_for_function(function_id) +> BaseResponseBlockCommentsOverviewGenerationResponse generate_overview_comment_for_function(function_id, api_key=api_key) Generate overview comment for a function @@ -205,10 +209,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsBlockCommentsApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Generate overview comment for a function - api_response = api_instance.generate_overview_comment_for_function(function_id) + api_response = api_instance.generate_overview_comment_for_function(function_id, api_key=api_key) print("The response of FunctionsBlockCommentsApi->generate_overview_comment_for_function:\n") pprint(api_response) except Exception as e: @@ -223,6 +228,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsCoreApi.md b/docs/FunctionsCoreApi.md index 6bfd469..7e769bd 100644 --- a/docs/FunctionsCoreApi.md +++ b/docs/FunctionsCoreApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description # **ai_unstrip** -> AutoUnstripResponse ai_unstrip(analysis_id, ai_unstrip_request) +> AutoUnstripResponse ai_unstrip(analysis_id, ai_unstrip_request, api_key=api_key) Performs matching and auto-unstrip for an analysis and its functions @@ -59,10 +59,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | ai_unstrip_request = revengai.AiUnstripRequest() # AiUnstripRequest | + api_key = 'api_key_example' # str | (optional) try: # Performs matching and auto-unstrip for an analysis and its functions - api_response = api_instance.ai_unstrip(analysis_id, ai_unstrip_request) + api_response = api_instance.ai_unstrip(analysis_id, ai_unstrip_request, api_key=api_key) print("The response of FunctionsCoreApi->ai_unstrip:\n") pprint(api_response) except Exception as e: @@ -78,6 +79,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **ai_unstrip_request** | [**AiUnstripRequest**](AiUnstripRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -102,7 +104,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **analysis_function_matching** -> FunctionMatchingBatchResponse analysis_function_matching(analysis_id, analysis_function_matching_request) +> FunctionMatchingBatchResponse analysis_function_matching(analysis_id, analysis_function_matching_request, api_key=api_key) Perform matching for the functions of an analysis @@ -142,10 +144,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | analysis_function_matching_request = revengai.AnalysisFunctionMatchingRequest() # AnalysisFunctionMatchingRequest | + api_key = 'api_key_example' # str | (optional) try: # Perform matching for the functions of an analysis - api_response = api_instance.analysis_function_matching(analysis_id, analysis_function_matching_request) + api_response = api_instance.analysis_function_matching(analysis_id, analysis_function_matching_request, api_key=api_key) print("The response of FunctionsCoreApi->analysis_function_matching:\n") pprint(api_response) except Exception as e: @@ -161,6 +164,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_function_matching_request** | [**AnalysisFunctionMatchingRequest**](AnalysisFunctionMatchingRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -185,7 +189,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **auto_unstrip** -> AutoUnstripResponse auto_unstrip(analysis_id, auto_unstrip_request) +> AutoUnstripResponse auto_unstrip(analysis_id, auto_unstrip_request, api_key=api_key) Performs matching and auto-unstrip for an analysis and its functions @@ -225,10 +229,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | auto_unstrip_request = revengai.AutoUnstripRequest() # AutoUnstripRequest | + api_key = 'api_key_example' # str | (optional) try: # Performs matching and auto-unstrip for an analysis and its functions - api_response = api_instance.auto_unstrip(analysis_id, auto_unstrip_request) + api_response = api_instance.auto_unstrip(analysis_id, auto_unstrip_request, api_key=api_key) print("The response of FunctionsCoreApi->auto_unstrip:\n") pprint(api_response) except Exception as e: @@ -244,6 +249,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **auto_unstrip_request** | [**AutoUnstripRequest**](AutoUnstripRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -268,7 +274,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **batch_function_matching** -> FunctionMatchingBatchResponse batch_function_matching(function_matching_request) +> FunctionMatchingBatchResponse batch_function_matching(function_matching_request, api_key=api_key) Perform function matching for an arbitrary batch of functions, binaries or collections @@ -307,10 +313,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_matching_request = revengai.FunctionMatchingRequest() # FunctionMatchingRequest | + api_key = 'api_key_example' # str | (optional) try: # Perform function matching for an arbitrary batch of functions, binaries or collections - api_response = api_instance.batch_function_matching(function_matching_request) + api_response = api_instance.batch_function_matching(function_matching_request, api_key=api_key) print("The response of FunctionsCoreApi->batch_function_matching:\n") pprint(api_response) except Exception as e: @@ -325,6 +332,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_matching_request** | [**FunctionMatchingRequest**](FunctionMatchingRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -349,7 +357,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **cancel_ai_unstrip** -> AutoUnstripResponse cancel_ai_unstrip(analysis_id) +> AutoUnstripResponse cancel_ai_unstrip(analysis_id, api_key=api_key) Cancels a running ai-unstrip @@ -387,10 +395,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Cancels a running ai-unstrip - api_response = api_instance.cancel_ai_unstrip(analysis_id) + api_response = api_instance.cancel_ai_unstrip(analysis_id, api_key=api_key) print("The response of FunctionsCoreApi->cancel_ai_unstrip:\n") pprint(api_response) except Exception as e: @@ -405,6 +414,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -429,7 +439,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **cancel_auto_unstrip** -> AutoUnstripResponse cancel_auto_unstrip(analysis_id) +> AutoUnstripResponse cancel_auto_unstrip(analysis_id, api_key=api_key) Cancels a running auto-unstrip @@ -467,10 +477,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Cancels a running auto-unstrip - api_response = api_instance.cancel_auto_unstrip(analysis_id) + api_response = api_instance.cancel_auto_unstrip(analysis_id, api_key=api_key) print("The response of FunctionsCoreApi->cancel_auto_unstrip:\n") pprint(api_response) except Exception as e: @@ -485,6 +496,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -509,7 +521,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_analysis_strings** -> BaseResponseAnalysisStringsResponse get_analysis_strings(analysis_id, page=page, page_size=page_size, search=search, function_search=function_search) +> BaseResponseAnalysisStringsResponse get_analysis_strings(analysis_id, page=page, page_size=page_size, search=search, function_search=function_search, api_key=api_key) Get string information found in the Analysis @@ -551,10 +563,11 @@ with revengai.ApiClient(configuration) as api_client: page_size = 100 # int | Number of items per page. (optional) (default to 100) search = 'search_example' # str | Search is applied to string value (optional) function_search = 'function_search_example' # str | Search is applied to function names (optional) + api_key = 'api_key_example' # str | (optional) try: # Get string information found in the Analysis - api_response = api_instance.get_analysis_strings(analysis_id, page=page, page_size=page_size, search=search, function_search=function_search) + api_response = api_instance.get_analysis_strings(analysis_id, page=page, page_size=page_size, search=search, function_search=function_search, api_key=api_key) print("The response of FunctionsCoreApi->get_analysis_strings:\n") pprint(api_response) except Exception as e: @@ -573,6 +586,7 @@ Name | Type | Description | Notes **page_size** | **int**| Number of items per page. | [optional] [default to 100] **search** | **str**| Search is applied to string value | [optional] **function_search** | **str**| Search is applied to function names | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -597,7 +611,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_function_blocks** -> BaseResponseFunctionBlocksResponse get_function_blocks(function_id) +> BaseResponseFunctionBlocksResponse get_function_blocks(function_id, api_key=api_key) Get disassembly blocks related to the function @@ -635,10 +649,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get disassembly blocks related to the function - api_response = api_instance.get_function_blocks(function_id) + api_response = api_instance.get_function_blocks(function_id, api_key=api_key) print("The response of FunctionsCoreApi->get_function_blocks:\n") pprint(api_response) except Exception as e: @@ -653,6 +668,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -678,7 +694,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_function_callees_callers** -> BaseResponseCalleesCallerFunctionsResponse get_function_callees_callers(function_id) +> BaseResponseCalleesCallerFunctionsResponse get_function_callees_callers(function_id, api_key=api_key) Get list of functions that call or are called by the specified function @@ -714,10 +730,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get list of functions that call or are called by the specified function - api_response = api_instance.get_function_callees_callers(function_id) + api_response = api_instance.get_function_callees_callers(function_id, api_key=api_key) print("The response of FunctionsCoreApi->get_function_callees_callers:\n") pprint(api_response) except Exception as e: @@ -732,6 +749,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -756,7 +774,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_function_capabilities** -> BaseResponseFunctionCapabilityResponse get_function_capabilities(function_id) +> BaseResponseFunctionCapabilityResponse get_function_capabilities(function_id, api_key=api_key) Retrieve a functions capabilities @@ -792,10 +810,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Retrieve a functions capabilities - api_response = api_instance.get_function_capabilities(function_id) + api_response = api_instance.get_function_capabilities(function_id, api_key=api_key) print("The response of FunctionsCoreApi->get_function_capabilities:\n") pprint(api_response) except Exception as e: @@ -810,6 +829,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -835,7 +855,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_function_details** -> BaseResponseFunctionsDetailResponse get_function_details(function_id) +> BaseResponseFunctionsDetailResponse get_function_details(function_id, api_key=api_key) Get function details @@ -871,10 +891,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get function details - api_response = api_instance.get_function_details(function_id) + api_response = api_instance.get_function_details(function_id, api_key=api_key) print("The response of FunctionsCoreApi->get_function_details:\n") pprint(api_response) except Exception as e: @@ -889,6 +910,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -913,7 +935,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_function_strings** -> BaseResponseFunctionStringsResponse get_function_strings(function_id, page=page, page_size=page_size, search=search) +> BaseResponseFunctionStringsResponse get_function_strings(function_id, page=page, page_size=page_size, search=search, api_key=api_key) Get string information found in the function @@ -954,10 +976,11 @@ with revengai.ApiClient(configuration) as api_client: page = 1 # int | The page number to retrieve. (optional) (default to 1) page_size = 100 # int | Number of items per page. (optional) (default to 100) search = 'search_example' # str | Search is applied to string value (optional) + api_key = 'api_key_example' # str | (optional) try: # Get string information found in the function - api_response = api_instance.get_function_strings(function_id, page=page, page_size=page_size, search=search) + api_response = api_instance.get_function_strings(function_id, page=page, page_size=page_size, search=search, api_key=api_key) print("The response of FunctionsCoreApi->get_function_strings:\n") pprint(api_response) except Exception as e: @@ -975,6 +998,7 @@ Name | Type | Description | Notes **page** | **int**| The page number to retrieve. | [optional] [default to 1] **page_size** | **int**| Number of items per page. | [optional] [default to 100] **search** | **str**| Search is applied to string value | [optional] + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsDataTypesApi.md b/docs/FunctionsDataTypesApi.md index d702e30..decd9a1 100644 --- a/docs/FunctionsDataTypesApi.md +++ b/docs/FunctionsDataTypesApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **generate_function_data_types_for_analysis** -> BaseResponseGenerateFunctionDataTypes generate_function_data_types_for_analysis(analysis_id, function_data_types_params) +> BaseResponseGenerateFunctionDataTypes generate_function_data_types_for_analysis(analysis_id, function_data_types_params, api_key=api_key) Generate Function Data Types @@ -53,10 +53,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDataTypesApi(api_client) analysis_id = 56 # int | function_data_types_params = revengai.FunctionDataTypesParams() # FunctionDataTypesParams | + api_key = 'api_key_example' # str | (optional) try: # Generate Function Data Types - api_response = api_instance.generate_function_data_types_for_analysis(analysis_id, function_data_types_params) + api_response = api_instance.generate_function_data_types_for_analysis(analysis_id, function_data_types_params, api_key=api_key) print("The response of FunctionsDataTypesApi->generate_function_data_types_for_analysis:\n") pprint(api_response) except Exception as e: @@ -72,6 +73,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **function_data_types_params** | [**FunctionDataTypesParams**](FunctionDataTypesParams.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -96,7 +98,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **generate_function_data_types_for_functions** -> BaseResponseGenerationStatusList generate_function_data_types_for_functions(function_data_types_params) +> BaseResponseGenerationStatusList generate_function_data_types_for_functions(function_data_types_params, api_key=api_key) Generate Function Data Types for an arbitrary list of functions @@ -135,10 +137,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDataTypesApi(api_client) function_data_types_params = revengai.FunctionDataTypesParams() # FunctionDataTypesParams | + api_key = 'api_key_example' # str | (optional) try: # Generate Function Data Types for an arbitrary list of functions - api_response = api_instance.generate_function_data_types_for_functions(function_data_types_params) + api_response = api_instance.generate_function_data_types_for_functions(function_data_types_params, api_key=api_key) print("The response of FunctionsDataTypesApi->generate_function_data_types_for_functions:\n") pprint(api_response) except Exception as e: @@ -153,6 +156,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_data_types_params** | [**FunctionDataTypesParams**](FunctionDataTypesParams.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -177,7 +181,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_function_data_types** -> BaseResponseFunctionDataTypes get_function_data_types(analysis_id, function_id) +> BaseResponseFunctionDataTypes get_function_data_types(analysis_id, function_id, api_key=api_key) Get Function Data Types @@ -216,10 +220,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDataTypesApi(api_client) analysis_id = 56 # int | function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get Function Data Types - api_response = api_instance.get_function_data_types(analysis_id, function_id) + api_response = api_instance.get_function_data_types(analysis_id, function_id, api_key=api_key) print("The response of FunctionsDataTypesApi->get_function_data_types:\n") pprint(api_response) except Exception as e: @@ -235,6 +240,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -259,7 +265,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_function_data_types_for_analysis** -> BaseResponseFunctionDataTypesList list_function_data_types_for_analysis(analysis_id, function_ids=function_ids) +> BaseResponseFunctionDataTypesList list_function_data_types_for_analysis(analysis_id, function_ids=function_ids, api_key=api_key) List Function Data Types @@ -298,10 +304,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDataTypesApi(api_client) analysis_id = 56 # int | function_ids = [56] # List[Optional[int]] | (optional) + api_key = 'api_key_example' # str | (optional) try: # List Function Data Types - api_response = api_instance.list_function_data_types_for_analysis(analysis_id, function_ids=function_ids) + api_response = api_instance.list_function_data_types_for_analysis(analysis_id, function_ids=function_ids, api_key=api_key) print("The response of FunctionsDataTypesApi->list_function_data_types_for_analysis:\n") pprint(api_response) except Exception as e: @@ -317,6 +324,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **function_ids** | [**List[Optional[int]]**](int.md)| | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -341,7 +349,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_function_data_types_for_functions** -> BaseResponseFunctionDataTypesList list_function_data_types_for_functions(function_ids=function_ids) +> BaseResponseFunctionDataTypesList list_function_data_types_for_functions(function_ids=function_ids, api_key=api_key) List Function Data Types @@ -379,10 +387,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDataTypesApi(api_client) function_ids = [56] # List[Optional[int]] | (optional) + api_key = 'api_key_example' # str | (optional) try: # List Function Data Types - api_response = api_instance.list_function_data_types_for_functions(function_ids=function_ids) + api_response = api_instance.list_function_data_types_for_functions(function_ids=function_ids, api_key=api_key) print("The response of FunctionsDataTypesApi->list_function_data_types_for_functions:\n") pprint(api_response) except Exception as e: @@ -397,6 +406,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_ids** | [**List[Optional[int]]**](int.md)| | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -421,7 +431,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_function_data_types** -> BaseResponseFunctionDataTypes update_function_data_types(analysis_id, function_id, update_function_data_types) +> BaseResponseFunctionDataTypes update_function_data_types(analysis_id, function_id, update_function_data_types, api_key=api_key) Update Function Data Types @@ -462,10 +472,11 @@ with revengai.ApiClient(configuration) as api_client: analysis_id = 56 # int | function_id = 56 # int | update_function_data_types = revengai.UpdateFunctionDataTypes() # UpdateFunctionDataTypes | + api_key = 'api_key_example' # str | (optional) try: # Update Function Data Types - api_response = api_instance.update_function_data_types(analysis_id, function_id, update_function_data_types) + api_response = api_instance.update_function_data_types(analysis_id, function_id, update_function_data_types, api_key=api_key) print("The response of FunctionsDataTypesApi->update_function_data_types:\n") pprint(api_response) except Exception as e: @@ -482,6 +493,7 @@ Name | Type | Description | Notes **analysis_id** | **int**| | **function_id** | **int**| | **update_function_data_types** | [**UpdateFunctionDataTypes**](UpdateFunctionDataTypes.md)| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsDecompilationApi.md b/docs/FunctionsDecompilationApi.md index 5550224..4653db9 100644 --- a/docs/FunctionsDecompilationApi.md +++ b/docs/FunctionsDecompilationApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **create_decompilation_comment** -> BaseResponseCommentResponse create_decompilation_comment(function_id, function_comment_create_request) +> BaseResponseCommentResponse create_decompilation_comment(function_id, function_comment_create_request, api_key=api_key) Create a comment for this function @@ -51,10 +51,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | function_comment_create_request = revengai.FunctionCommentCreateRequest() # FunctionCommentCreateRequest | + api_key = 'api_key_example' # str | (optional) try: # Create a comment for this function - api_response = api_instance.create_decompilation_comment(function_id, function_comment_create_request) + api_response = api_instance.create_decompilation_comment(function_id, function_comment_create_request, api_key=api_key) print("The response of FunctionsDecompilationApi->create_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -70,6 +71,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_comment_create_request** | [**FunctionCommentCreateRequest**](FunctionCommentCreateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -95,7 +97,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_decompilation_comment** -> BaseResponseBool delete_decompilation_comment(comment_id, function_id) +> BaseResponseBool delete_decompilation_comment(comment_id, function_id, api_key=api_key) Delete a comment @@ -134,10 +136,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDecompilationApi(api_client) comment_id = 56 # int | function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Delete a comment - api_response = api_instance.delete_decompilation_comment(comment_id, function_id) + api_response = api_instance.delete_decompilation_comment(comment_id, function_id, api_key=api_key) print("The response of FunctionsDecompilationApi->delete_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -153,6 +156,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -179,7 +183,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_decompilation_comments** -> BaseResponseListCommentResponse get_decompilation_comments(function_id) +> BaseResponseListCommentResponse get_decompilation_comments(function_id, api_key=api_key) Get comments for this function @@ -217,10 +221,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get comments for this function - api_response = api_instance.get_decompilation_comments(function_id) + api_response = api_instance.get_decompilation_comments(function_id, api_key=api_key) print("The response of FunctionsDecompilationApi->get_decompilation_comments:\n") pprint(api_response) except Exception as e: @@ -235,6 +240,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -259,7 +265,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **update_decompilation_comment** -> BaseResponseCommentResponse update_decompilation_comment(comment_id, function_id, comment_update_request) +> BaseResponseCommentResponse update_decompilation_comment(comment_id, function_id, comment_update_request, api_key=api_key) Update a comment @@ -300,10 +306,11 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | function_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | + api_key = 'api_key_example' # str | (optional) try: # Update a comment - api_response = api_instance.update_decompilation_comment(comment_id, function_id, comment_update_request) + api_response = api_instance.update_decompilation_comment(comment_id, function_id, comment_update_request, api_key=api_key) print("The response of FunctionsDecompilationApi->update_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -320,6 +327,7 @@ Name | Type | Description | Notes **comment_id** | **int**| | **function_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsRenamingHistoryApi.md b/docs/FunctionsRenamingHistoryApi.md index eb83551..0e7ee6f 100644 --- a/docs/FunctionsRenamingHistoryApi.md +++ b/docs/FunctionsRenamingHistoryApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **batch_rename_function** -> BaseResponse batch_rename_function(functions_list_rename) +> BaseResponse batch_rename_function(functions_list_rename, api_key=api_key) Batch Rename Functions @@ -51,10 +51,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsRenamingHistoryApi(api_client) functions_list_rename = revengai.FunctionsListRename() # FunctionsListRename | + api_key = 'api_key_example' # str | (optional) try: # Batch Rename Functions - api_response = api_instance.batch_rename_function(functions_list_rename) + api_response = api_instance.batch_rename_function(functions_list_rename, api_key=api_key) print("The response of FunctionsRenamingHistoryApi->batch_rename_function:\n") pprint(api_response) except Exception as e: @@ -69,6 +70,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **functions_list_rename** | [**FunctionsListRename**](FunctionsListRename.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -93,7 +95,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_function_name_history** -> BaseResponseListFunctionNameHistory get_function_name_history(function_id) +> BaseResponseListFunctionNameHistory get_function_name_history(function_id, api_key=api_key) Get Function Name History @@ -131,10 +133,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsRenamingHistoryApi(api_client) function_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Get Function Name History - api_response = api_instance.get_function_name_history(function_id) + api_response = api_instance.get_function_name_history(function_id, api_key=api_key) print("The response of FunctionsRenamingHistoryApi->get_function_name_history:\n") pprint(api_response) except Exception as e: @@ -149,6 +152,7 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type @@ -173,7 +177,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **rename_function_id** -> BaseResponse rename_function_id(function_id, function_rename) +> BaseResponse rename_function_id(function_id, function_rename, api_key=api_key) Rename Function @@ -214,10 +218,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsRenamingHistoryApi(api_client) function_id = 56 # int | function_rename = revengai.FunctionRename() # FunctionRename | + api_key = 'api_key_example' # str | (optional) try: # Rename Function - api_response = api_instance.rename_function_id(function_id, function_rename) + api_response = api_instance.rename_function_id(function_id, function_rename, api_key=api_key) print("The response of FunctionsRenamingHistoryApi->rename_function_id:\n") pprint(api_response) except Exception as e: @@ -233,6 +238,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_rename** | [**FunctionRename**](FunctionRename.md)| | + **api_key** | **str**| | [optional] ### Return type @@ -257,7 +263,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **revert_function_name** -> BaseResponse revert_function_name(function_id, history_id) +> BaseResponse revert_function_name(function_id, history_id, api_key=api_key) Revert the function name @@ -296,10 +302,11 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsRenamingHistoryApi(api_client) function_id = 56 # int | history_id = 56 # int | + api_key = 'api_key_example' # str | (optional) try: # Revert the function name - api_response = api_instance.revert_function_name(function_id, history_id) + api_response = api_instance.revert_function_name(function_id, history_id, api_key=api_key) print("The response of FunctionsRenamingHistoryApi->revert_function_name:\n") pprint(api_response) except Exception as e: @@ -315,6 +322,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **history_id** | **int**| | + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/ModelsApi.md b/docs/ModelsApi.md index bf596f4..1a69482 100644 --- a/docs/ModelsApi.md +++ b/docs/ModelsApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description # **get_models** -> BaseResponseModelsResponse get_models() +> BaseResponseModelsResponse get_models(api_key=api_key) Gets models @@ -45,10 +45,11 @@ configuration.api_key['APIKey'] = os.environ["API_KEY"] with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ModelsApi(api_client) + api_key = 'api_key_example' # str | (optional) try: # Gets models - api_response = api_instance.get_models() + api_response = api_instance.get_models(api_key=api_key) print("The response of ModelsApi->get_models:\n") pprint(api_response) except Exception as e: @@ -59,7 +60,10 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **api_key** | **str**| | [optional] ### Return type diff --git a/docs/SearchApi.md b/docs/SearchApi.md index 6967efd..09881b7 100644 --- a/docs/SearchApi.md +++ b/docs/SearchApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **search_binaries** -> BaseResponseBinarySearchResponse search_binaries(page=page, page_size=page_size, partial_name=partial_name, partial_sha256=partial_sha256, tags=tags, model_name=model_name, user_files_only=user_files_only) +> BaseResponseBinarySearchResponse search_binaries(page=page, page_size=page_size, partial_name=partial_name, partial_sha256=partial_sha256, tags=tags, model_name=model_name, user_files_only=user_files_only, api_key=api_key) Binaries search @@ -55,10 +55,11 @@ with revengai.ApiClient(configuration) as api_client: tags = ['tags_example'] # List[str] | The tags to be searched for (optional) model_name = 'model_name_example' # str | The name of the model used to analyze the binary the function belongs to (optional) user_files_only = False # bool | Whether to only search user's uploaded files (optional) (default to False) + api_key = 'api_key_example' # str | (optional) try: # Binaries search - api_response = api_instance.search_binaries(page=page, page_size=page_size, partial_name=partial_name, partial_sha256=partial_sha256, tags=tags, model_name=model_name, user_files_only=user_files_only) + api_response = api_instance.search_binaries(page=page, page_size=page_size, partial_name=partial_name, partial_sha256=partial_sha256, tags=tags, model_name=model_name, user_files_only=user_files_only, api_key=api_key) print("The response of SearchApi->search_binaries:\n") pprint(api_response) except Exception as e: @@ -79,6 +80,7 @@ Name | Type | Description | Notes **tags** | [**List[str]**](str.md)| The tags to be searched for | [optional] **model_name** | **str**| The name of the model used to analyze the binary the function belongs to | [optional] **user_files_only** | **bool**| Whether to only search user's uploaded files | [optional] [default to False] + **api_key** | **str**| | [optional] ### Return type @@ -103,7 +105,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_collections** -> BaseResponseCollectionSearchResponse search_collections(page=page, page_size=page_size, partial_collection_name=partial_collection_name, partial_binary_name=partial_binary_name, partial_binary_sha256=partial_binary_sha256, tags=tags, model_name=model_name, filters=filters, order_by=order_by, order_by_direction=order_by_direction) +> BaseResponseCollectionSearchResponse search_collections(page=page, page_size=page_size, partial_collection_name=partial_collection_name, partial_binary_name=partial_binary_name, partial_binary_sha256=partial_binary_sha256, tags=tags, model_name=model_name, filters=filters, order_by=order_by, order_by_direction=order_by_direction, api_key=api_key) Collections search @@ -153,10 +155,11 @@ with revengai.ApiClient(configuration) as api_client: filters = [revengai.Filters()] # List[Filters] | The filters to be used for the search (optional) order_by = revengai.AppApiRestV2CollectionsEnumsOrderBy() # AppApiRestV2CollectionsEnumsOrderBy | The field to sort the order by in the results (optional) order_by_direction = revengai.Order() # Order | The order direction in which to return results (optional) + api_key = 'api_key_example' # str | (optional) try: # Collections search - api_response = api_instance.search_collections(page=page, page_size=page_size, partial_collection_name=partial_collection_name, partial_binary_name=partial_binary_name, partial_binary_sha256=partial_binary_sha256, tags=tags, model_name=model_name, filters=filters, order_by=order_by, order_by_direction=order_by_direction) + api_response = api_instance.search_collections(page=page, page_size=page_size, partial_collection_name=partial_collection_name, partial_binary_name=partial_binary_name, partial_binary_sha256=partial_binary_sha256, tags=tags, model_name=model_name, filters=filters, order_by=order_by, order_by_direction=order_by_direction, api_key=api_key) print("The response of SearchApi->search_collections:\n") pprint(api_response) except Exception as e: @@ -180,6 +183,7 @@ Name | Type | Description | Notes **filters** | [**List[Filters]**](Filters.md)| The filters to be used for the search | [optional] **order_by** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| The field to sort the order by in the results | [optional] **order_by_direction** | [**Order**](.md)| The order direction in which to return results | [optional] + **api_key** | **str**| | [optional] ### Return type @@ -205,7 +209,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **search_functions** -> BaseResponseFunctionSearchResponse search_functions(page=page, page_size=page_size, partial_name=partial_name, model_name=model_name) +> BaseResponseFunctionSearchResponse search_functions(page=page, page_size=page_size, partial_name=partial_name, model_name=model_name, api_key=api_key) Functions search @@ -246,10 +250,11 @@ with revengai.ApiClient(configuration) as api_client: page_size = 10 # int | Number of items per page. (optional) (default to 10) partial_name = 'partial_name_example' # str | The partial or full name of the function being searched (optional) model_name = 'model_name_example' # str | The name of the model used to analyze the binary the function belongs to (optional) + api_key = 'api_key_example' # str | (optional) try: # Functions search - api_response = api_instance.search_functions(page=page, page_size=page_size, partial_name=partial_name, model_name=model_name) + api_response = api_instance.search_functions(page=page, page_size=page_size, partial_name=partial_name, model_name=model_name, api_key=api_key) print("The response of SearchApi->search_functions:\n") pprint(api_response) except Exception as e: @@ -267,6 +272,7 @@ Name | Type | Description | Notes **page_size** | **int**| Number of items per page. | [optional] [default to 10] **partial_name** | **str**| The partial or full name of the function being searched | [optional] **model_name** | **str**| The name of the model used to analyze the binary the function belongs to | [optional] + **api_key** | **str**| | [optional] ### Return type diff --git a/revengai/__init__.py b/revengai/__init__.py index 1448b66..366e5ca 100644 --- a/revengai/__init__.py +++ b/revengai/__init__.py @@ -13,7 +13,7 @@ """ # noqa: E501 -__version__ = "v2.37.4" +__version__ = "v2.38.0" # Define package exports __all__ = [ diff --git a/revengai/api/analyses_comments_api.py b/revengai/api/analyses_comments_api.py index 26f5011..6162008 100644 --- a/revengai/api/analyses_comments_api.py +++ b/revengai/api/analyses_comments_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt +from pydantic import Field, StrictInt, StrictStr +from typing import Optional from typing_extensions import Annotated from revengai.models.base_response_bool import BaseResponseBool from revengai.models.base_response_comment_response import BaseResponseCommentResponse @@ -46,6 +47,7 @@ def create_analysis_comment( self, analysis_id: StrictInt, comment_base: CommentBase, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67,6 +69,8 @@ def create_analysis_comment( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92,6 +96,7 @@ def create_analysis_comment( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119,6 +124,7 @@ def create_analysis_comment_with_http_info( self, analysis_id: StrictInt, comment_base: CommentBase, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140,6 +146,8 @@ def create_analysis_comment_with_http_info( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -165,6 +173,7 @@ def create_analysis_comment_with_http_info( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -192,6 +201,7 @@ def create_analysis_comment_without_preload_content( self, analysis_id: StrictInt, comment_base: CommentBase, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -213,6 +223,8 @@ def create_analysis_comment_without_preload_content( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -238,6 +250,7 @@ def create_analysis_comment_without_preload_content( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -260,6 +273,7 @@ def _create_analysis_comment_serialize( self, analysis_id, comment_base, + api_key, _request_auth, _content_type, _headers, @@ -341,6 +355,7 @@ def delete_analysis_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -362,6 +377,8 @@ def delete_analysis_comment( :type comment_id: int :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -387,6 +404,7 @@ def delete_analysis_comment( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -415,6 +433,7 @@ def delete_analysis_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -436,6 +455,8 @@ def delete_analysis_comment_with_http_info( :type comment_id: int :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -461,6 +482,7 @@ def delete_analysis_comment_with_http_info( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -489,6 +511,7 @@ def delete_analysis_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -510,6 +533,8 @@ def delete_analysis_comment_without_preload_content( :type comment_id: int :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -535,6 +560,7 @@ def delete_analysis_comment_without_preload_content( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -558,6 +584,7 @@ def _delete_analysis_comment_serialize( self, comment_id, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -625,6 +652,7 @@ def _delete_analysis_comment_serialize( def get_analysis_comments( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -644,6 +672,8 @@ def get_analysis_comments( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -668,6 +698,7 @@ def get_analysis_comments( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -693,6 +724,7 @@ def get_analysis_comments( def get_analysis_comments_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -712,6 +744,8 @@ def get_analysis_comments_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -736,6 +770,7 @@ def get_analysis_comments_with_http_info( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -761,6 +796,7 @@ def get_analysis_comments_with_http_info( def get_analysis_comments_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -780,6 +816,8 @@ def get_analysis_comments_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -804,6 +842,7 @@ def get_analysis_comments_without_preload_content( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -824,6 +863,7 @@ def get_analysis_comments_without_preload_content( def _get_analysis_comments_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -891,6 +931,7 @@ def update_analysis_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -914,6 +955,8 @@ def update_analysis_comment( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -940,6 +983,7 @@ def update_analysis_comment( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -969,6 +1013,7 @@ def update_analysis_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -992,6 +1037,8 @@ def update_analysis_comment_with_http_info( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1018,6 +1065,7 @@ def update_analysis_comment_with_http_info( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1047,6 +1095,7 @@ def update_analysis_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1070,6 +1119,8 @@ def update_analysis_comment_without_preload_content( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1096,6 +1147,7 @@ def update_analysis_comment_without_preload_content( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1120,6 +1172,7 @@ def _update_analysis_comment_serialize( comment_id, analysis_id, comment_update_request, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/analyses_core_api.py b/revengai/api/analyses_core_api.py index c6a33af..b1c1585 100644 --- a/revengai/api/analyses_core_api.py +++ b/revengai/api/analyses_core_api.py @@ -64,6 +64,7 @@ def __init__(self, api_client=None) -> None: def create_analysis( self, analysis_create_request: AnalysisCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83,6 +84,8 @@ def create_analysis( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107,6 +110,7 @@ def create_analysis( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134,6 +138,7 @@ def create_analysis( def create_analysis_with_http_info( self, analysis_create_request: AnalysisCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -153,6 +158,8 @@ def create_analysis_with_http_info( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -177,6 +184,7 @@ def create_analysis_with_http_info( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -204,6 +212,7 @@ def create_analysis_with_http_info( def create_analysis_without_preload_content( self, analysis_create_request: AnalysisCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -223,6 +232,8 @@ def create_analysis_without_preload_content( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -247,6 +258,7 @@ def create_analysis_without_preload_content( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -269,6 +281,7 @@ def create_analysis_without_preload_content( def _create_analysis_serialize( self, analysis_create_request, + api_key, _request_auth, _content_type, _headers, @@ -347,6 +360,7 @@ def _create_analysis_serialize( def delete_analysis( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -366,6 +380,8 @@ def delete_analysis( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -390,6 +406,7 @@ def delete_analysis( _param = self._delete_analysis_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -417,6 +434,7 @@ def delete_analysis( def delete_analysis_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -436,6 +454,8 @@ def delete_analysis_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -460,6 +480,7 @@ def delete_analysis_with_http_info( _param = self._delete_analysis_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -487,6 +508,7 @@ def delete_analysis_with_http_info( def delete_analysis_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -506,6 +528,8 @@ def delete_analysis_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -530,6 +554,7 @@ def delete_analysis_without_preload_content( _param = self._delete_analysis_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -552,6 +577,7 @@ def delete_analysis_without_preload_content( def _delete_analysis_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -617,6 +643,7 @@ def _delete_analysis_serialize( def get_analysis_basic_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -636,6 +663,8 @@ def get_analysis_basic_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -660,6 +689,7 @@ def get_analysis_basic_info( _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -685,6 +715,7 @@ def get_analysis_basic_info( def get_analysis_basic_info_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -704,6 +735,8 @@ def get_analysis_basic_info_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -728,6 +761,7 @@ def get_analysis_basic_info_with_http_info( _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -753,6 +787,7 @@ def get_analysis_basic_info_with_http_info( def get_analysis_basic_info_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -772,6 +807,8 @@ def get_analysis_basic_info_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -796,6 +833,7 @@ def get_analysis_basic_info_without_preload_content( _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -816,6 +854,7 @@ def get_analysis_basic_info_without_preload_content( def _get_analysis_basic_info_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -881,6 +920,7 @@ def _get_analysis_basic_info_serialize( def get_analysis_function_map( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -900,6 +940,8 @@ def get_analysis_function_map( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -924,6 +966,7 @@ def get_analysis_function_map( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -949,6 +992,7 @@ def get_analysis_function_map( def get_analysis_function_map_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -968,6 +1012,8 @@ def get_analysis_function_map_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -992,6 +1038,7 @@ def get_analysis_function_map_with_http_info( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1017,6 +1064,7 @@ def get_analysis_function_map_with_http_info( def get_analysis_function_map_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1036,6 +1084,8 @@ def get_analysis_function_map_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1060,6 +1110,7 @@ def get_analysis_function_map_without_preload_content( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1080,6 +1131,7 @@ def get_analysis_function_map_without_preload_content( def _get_analysis_function_map_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1145,6 +1197,7 @@ def _get_analysis_function_map_serialize( def get_analysis_logs( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1164,6 +1217,8 @@ def get_analysis_logs( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1188,6 +1243,7 @@ def get_analysis_logs( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1213,6 +1269,7 @@ def get_analysis_logs( def get_analysis_logs_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1232,6 +1289,8 @@ def get_analysis_logs_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1256,6 +1315,7 @@ def get_analysis_logs_with_http_info( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1281,6 +1341,7 @@ def get_analysis_logs_with_http_info( def get_analysis_logs_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1300,6 +1361,8 @@ def get_analysis_logs_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1324,6 +1387,7 @@ def get_analysis_logs_without_preload_content( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1344,6 +1408,7 @@ def get_analysis_logs_without_preload_content( def _get_analysis_logs_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1409,6 +1474,7 @@ def _get_analysis_logs_serialize( def get_analysis_params( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1428,6 +1494,8 @@ def get_analysis_params( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1452,6 +1520,7 @@ def get_analysis_params( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1477,6 +1546,7 @@ def get_analysis_params( def get_analysis_params_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1496,6 +1566,8 @@ def get_analysis_params_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1520,6 +1592,7 @@ def get_analysis_params_with_http_info( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1545,6 +1618,7 @@ def get_analysis_params_with_http_info( def get_analysis_params_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1564,6 +1638,8 @@ def get_analysis_params_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1588,6 +1664,7 @@ def get_analysis_params_without_preload_content( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1608,6 +1685,7 @@ def get_analysis_params_without_preload_content( def _get_analysis_params_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1673,6 +1751,7 @@ def _get_analysis_params_serialize( def get_analysis_status( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1692,6 +1771,8 @@ def get_analysis_status( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1716,6 +1797,7 @@ def get_analysis_status( _param = self._get_analysis_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1741,6 +1823,7 @@ def get_analysis_status( def get_analysis_status_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1760,6 +1843,8 @@ def get_analysis_status_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1784,6 +1869,7 @@ def get_analysis_status_with_http_info( _param = self._get_analysis_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1809,6 +1895,7 @@ def get_analysis_status_with_http_info( def get_analysis_status_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1828,6 +1915,8 @@ def get_analysis_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1852,6 +1941,7 @@ def get_analysis_status_without_preload_content( _param = self._get_analysis_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1872,6 +1962,7 @@ def get_analysis_status_without_preload_content( def _get_analysis_status_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1947,6 +2038,7 @@ def list_analyses( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, order: Optional[Order] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1986,6 +2078,8 @@ def list_analyses( :type order_by: AppApiRestV2AnalysesEnumsOrderBy :param order: :type order: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2020,6 +2114,7 @@ def list_analyses( offset=offset, order_by=order_by, order=order, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2055,6 +2150,7 @@ def list_analyses_with_http_info( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, order: Optional[Order] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2094,6 +2190,8 @@ def list_analyses_with_http_info( :type order_by: AppApiRestV2AnalysesEnumsOrderBy :param order: :type order: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2128,6 +2226,7 @@ def list_analyses_with_http_info( offset=offset, order_by=order_by, order=order, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2163,6 +2262,7 @@ def list_analyses_without_preload_content( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, order: Optional[Order] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2202,6 +2302,8 @@ def list_analyses_without_preload_content( :type order_by: AppApiRestV2AnalysesEnumsOrderBy :param order: :type order: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2236,6 +2338,7 @@ def list_analyses_without_preload_content( offset=offset, order_by=order_by, order=order, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2266,6 +2369,7 @@ def _list_analyses_serialize( offset, order_by, order, + api_key, _request_auth, _content_type, _headers, @@ -2377,6 +2481,7 @@ def _list_analyses_serialize( def lookup_binary_id( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2396,6 +2501,8 @@ def lookup_binary_id( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2420,6 +2527,7 @@ def lookup_binary_id( _param = self._lookup_binary_id_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2445,6 +2553,7 @@ def lookup_binary_id( def lookup_binary_id_with_http_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2464,6 +2573,8 @@ def lookup_binary_id_with_http_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2488,6 +2599,7 @@ def lookup_binary_id_with_http_info( _param = self._lookup_binary_id_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2513,6 +2625,7 @@ def lookup_binary_id_with_http_info( def lookup_binary_id_without_preload_content( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2532,6 +2645,8 @@ def lookup_binary_id_without_preload_content( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2556,6 +2671,7 @@ def lookup_binary_id_without_preload_content( _param = self._lookup_binary_id_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2576,6 +2692,7 @@ def lookup_binary_id_without_preload_content( def _lookup_binary_id_serialize( self, binary_id, + api_key, _request_auth, _content_type, _headers, @@ -2642,6 +2759,7 @@ def requeue_analysis( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2663,6 +2781,8 @@ def requeue_analysis( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2688,6 +2808,7 @@ def requeue_analysis( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2716,6 +2837,7 @@ def requeue_analysis_with_http_info( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2737,6 +2859,8 @@ def requeue_analysis_with_http_info( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2762,6 +2886,7 @@ def requeue_analysis_with_http_info( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2790,6 +2915,7 @@ def requeue_analysis_without_preload_content( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2811,6 +2937,8 @@ def requeue_analysis_without_preload_content( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2836,6 +2964,7 @@ def requeue_analysis_without_preload_content( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2859,6 +2988,7 @@ def _requeue_analysis_serialize( self, analysis_id, re_analysis_form, + api_key, _request_auth, _content_type, _headers, @@ -2940,6 +3070,7 @@ def update_analysis( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2961,6 +3092,8 @@ def update_analysis( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2986,6 +3119,7 @@ def update_analysis( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3012,6 +3146,7 @@ def update_analysis_with_http_info( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3033,6 +3168,8 @@ def update_analysis_with_http_info( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3058,6 +3195,7 @@ def update_analysis_with_http_info( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3084,6 +3222,7 @@ def update_analysis_without_preload_content( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3105,6 +3244,8 @@ def update_analysis_without_preload_content( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3130,6 +3271,7 @@ def update_analysis_without_preload_content( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3151,6 +3293,7 @@ def _update_analysis_serialize( self, analysis_id, analysis_update_request, + api_key, _request_auth, _content_type, _headers, @@ -3232,6 +3375,7 @@ def update_analysis_tags( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3253,6 +3397,8 @@ def update_analysis_tags( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3278,6 +3424,7 @@ def update_analysis_tags( _param = self._update_analysis_tags_serialize( analysis_id=analysis_id, analysis_update_tags_request=analysis_update_tags_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3304,6 +3451,7 @@ def update_analysis_tags_with_http_info( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3325,6 +3473,8 @@ def update_analysis_tags_with_http_info( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3350,6 +3500,7 @@ def update_analysis_tags_with_http_info( _param = self._update_analysis_tags_serialize( analysis_id=analysis_id, analysis_update_tags_request=analysis_update_tags_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3376,6 +3527,7 @@ def update_analysis_tags_without_preload_content( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3397,6 +3549,8 @@ def update_analysis_tags_without_preload_content( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3422,6 +3576,7 @@ def update_analysis_tags_without_preload_content( _param = self._update_analysis_tags_serialize( analysis_id=analysis_id, analysis_update_tags_request=analysis_update_tags_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3443,6 +3598,7 @@ def _update_analysis_tags_serialize( self, analysis_id, analysis_update_tags_request, + api_key, _request_auth, _content_type, _headers, @@ -3525,6 +3681,7 @@ def upload_file( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, + api_key: Optional[StrictStr] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -3548,6 +3705,8 @@ def upload_file( :type file: bytearray :param packed_password: :type packed_password: str + :param api_key: + :type api_key: str :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -3576,6 +3735,7 @@ def upload_file( upload_file_type=upload_file_type, file=file, packed_password=packed_password, + api_key=api_key, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -3604,6 +3764,7 @@ def upload_file_with_http_info( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, + api_key: Optional[StrictStr] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -3627,6 +3788,8 @@ def upload_file_with_http_info( :type file: bytearray :param packed_password: :type packed_password: str + :param api_key: + :type api_key: str :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -3655,6 +3818,7 @@ def upload_file_with_http_info( upload_file_type=upload_file_type, file=file, packed_password=packed_password, + api_key=api_key, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -3683,6 +3847,7 @@ def upload_file_without_preload_content( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, + api_key: Optional[StrictStr] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -3706,6 +3871,8 @@ def upload_file_without_preload_content( :type file: bytearray :param packed_password: :type packed_password: str + :param api_key: + :type api_key: str :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -3734,6 +3901,7 @@ def upload_file_without_preload_content( upload_file_type=upload_file_type, file=file, packed_password=packed_password, + api_key=api_key, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -3757,6 +3925,7 @@ def _upload_file_serialize( upload_file_type, file, packed_password, + api_key, force_overwrite, _request_auth, _content_type, diff --git a/revengai/api/analyses_dynamic_execution_api.py b/revengai/api/analyses_dynamic_execution_api.py index a559fb6..af1f9b9 100644 --- a/revengai/api/analyses_dynamic_execution_api.py +++ b/revengai/api/analyses_dynamic_execution_api.py @@ -16,7 +16,7 @@ from typing_extensions import Annotated from pydantic import StrictInt, StrictStr -from typing import Any +from typing import Any, Optional from revengai.models.base_response_dynamic_execution_status import BaseResponseDynamicExecutionStatus from revengai.models.base_response_network_overview_response import BaseResponseNetworkOverviewResponse from revengai.models.base_response_process_dumps import BaseResponseProcessDumps @@ -46,6 +46,7 @@ def __init__(self, api_client=None) -> None: def get_dynamic_execution_status( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64,6 +65,8 @@ def get_dynamic_execution_status( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88,6 +91,7 @@ def get_dynamic_execution_status( _param = self._get_dynamic_execution_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113,6 +117,7 @@ def get_dynamic_execution_status( def get_dynamic_execution_status_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131,6 +136,8 @@ def get_dynamic_execution_status_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -155,6 +162,7 @@ def get_dynamic_execution_status_with_http_info( _param = self._get_dynamic_execution_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -180,6 +188,7 @@ def get_dynamic_execution_status_with_http_info( def get_dynamic_execution_status_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -198,6 +207,8 @@ def get_dynamic_execution_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -222,6 +233,7 @@ def get_dynamic_execution_status_without_preload_content( _param = self._get_dynamic_execution_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -242,6 +254,7 @@ def get_dynamic_execution_status_without_preload_content( def _get_dynamic_execution_status_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -307,6 +320,7 @@ def _get_dynamic_execution_status_serialize( def get_network_overview( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -325,6 +339,8 @@ def get_network_overview( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -349,6 +365,7 @@ def get_network_overview( _param = self._get_network_overview_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -374,6 +391,7 @@ def get_network_overview( def get_network_overview_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -392,6 +410,8 @@ def get_network_overview_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -416,6 +436,7 @@ def get_network_overview_with_http_info( _param = self._get_network_overview_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -441,6 +462,7 @@ def get_network_overview_with_http_info( def get_network_overview_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -459,6 +481,8 @@ def get_network_overview_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -483,6 +507,7 @@ def get_network_overview_without_preload_content( _param = self._get_network_overview_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -503,6 +528,7 @@ def get_network_overview_without_preload_content( def _get_network_overview_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -569,6 +595,7 @@ def get_process_dump( self, analysis_id: StrictInt, dump_name: StrictStr, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -589,6 +616,8 @@ def get_process_dump( :type analysis_id: int :param dump_name: (required) :type dump_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -614,6 +643,7 @@ def get_process_dump( _param = self._get_process_dump_serialize( analysis_id=analysis_id, dump_name=dump_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -640,6 +670,7 @@ def get_process_dump_with_http_info( self, analysis_id: StrictInt, dump_name: StrictStr, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -660,6 +691,8 @@ def get_process_dump_with_http_info( :type analysis_id: int :param dump_name: (required) :type dump_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -685,6 +718,7 @@ def get_process_dump_with_http_info( _param = self._get_process_dump_serialize( analysis_id=analysis_id, dump_name=dump_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -711,6 +745,7 @@ def get_process_dump_without_preload_content( self, analysis_id: StrictInt, dump_name: StrictStr, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -731,6 +766,8 @@ def get_process_dump_without_preload_content( :type analysis_id: int :param dump_name: (required) :type dump_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -756,6 +793,7 @@ def get_process_dump_without_preload_content( _param = self._get_process_dump_serialize( analysis_id=analysis_id, dump_name=dump_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -777,6 +815,7 @@ def _get_process_dump_serialize( self, analysis_id, dump_name, + api_key, _request_auth, _content_type, _headers, @@ -844,6 +883,7 @@ def _get_process_dump_serialize( def get_process_dumps( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -862,6 +902,8 @@ def get_process_dumps( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -886,6 +928,7 @@ def get_process_dumps( _param = self._get_process_dumps_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -911,6 +954,7 @@ def get_process_dumps( def get_process_dumps_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -929,6 +973,8 @@ def get_process_dumps_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -953,6 +999,7 @@ def get_process_dumps_with_http_info( _param = self._get_process_dumps_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -978,6 +1025,7 @@ def get_process_dumps_with_http_info( def get_process_dumps_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -996,6 +1044,8 @@ def get_process_dumps_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1020,6 +1070,7 @@ def get_process_dumps_without_preload_content( _param = self._get_process_dumps_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1040,6 +1091,7 @@ def get_process_dumps_without_preload_content( def _get_process_dumps_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1105,6 +1157,7 @@ def _get_process_dumps_serialize( def get_process_registry( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1123,6 +1176,8 @@ def get_process_registry( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1147,6 +1202,7 @@ def get_process_registry( _param = self._get_process_registry_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1172,6 +1228,7 @@ def get_process_registry( def get_process_registry_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1190,6 +1247,8 @@ def get_process_registry_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1214,6 +1273,7 @@ def get_process_registry_with_http_info( _param = self._get_process_registry_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1239,6 +1299,7 @@ def get_process_registry_with_http_info( def get_process_registry_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1257,6 +1318,8 @@ def get_process_registry_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1281,6 +1344,7 @@ def get_process_registry_without_preload_content( _param = self._get_process_registry_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1301,6 +1365,7 @@ def get_process_registry_without_preload_content( def _get_process_registry_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1366,6 +1431,7 @@ def _get_process_registry_serialize( def get_process_tree( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1384,6 +1450,8 @@ def get_process_tree( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1408,6 +1476,7 @@ def get_process_tree( _param = self._get_process_tree_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1433,6 +1502,7 @@ def get_process_tree( def get_process_tree_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1451,6 +1521,8 @@ def get_process_tree_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1475,6 +1547,7 @@ def get_process_tree_with_http_info( _param = self._get_process_tree_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1500,6 +1573,7 @@ def get_process_tree_with_http_info( def get_process_tree_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1518,6 +1592,8 @@ def get_process_tree_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1542,6 +1618,7 @@ def get_process_tree_without_preload_content( _param = self._get_process_tree_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1562,6 +1639,7 @@ def get_process_tree_without_preload_content( def _get_process_tree_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1627,6 +1705,7 @@ def _get_process_tree_serialize( def get_ttps( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1645,6 +1724,8 @@ def get_ttps( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1669,6 +1750,7 @@ def get_ttps( _param = self._get_ttps_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1694,6 +1776,7 @@ def get_ttps( def get_ttps_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1712,6 +1795,8 @@ def get_ttps_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1736,6 +1821,7 @@ def get_ttps_with_http_info( _param = self._get_ttps_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1761,6 +1847,7 @@ def get_ttps_with_http_info( def get_ttps_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1779,6 +1866,8 @@ def get_ttps_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1803,6 +1892,7 @@ def get_ttps_without_preload_content( _param = self._get_ttps_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1823,6 +1913,7 @@ def get_ttps_without_preload_content( def _get_ttps_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/analyses_results_metadata_api.py b/revengai/api/analyses_results_metadata_api.py index aaaed44..a982562 100644 --- a/revengai/api/analyses_results_metadata_api.py +++ b/revengai/api/analyses_results_metadata_api.py @@ -47,6 +47,7 @@ def __init__(self, api_client=None) -> None: def get_capabilities( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65,6 +66,8 @@ def get_capabilities( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89,6 +92,7 @@ def get_capabilities( _param = self._get_capabilities_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114,6 +118,7 @@ def get_capabilities( def get_capabilities_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132,6 +137,8 @@ def get_capabilities_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -156,6 +163,7 @@ def get_capabilities_with_http_info( _param = self._get_capabilities_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -181,6 +189,7 @@ def get_capabilities_with_http_info( def get_capabilities_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -199,6 +208,8 @@ def get_capabilities_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -223,6 +234,7 @@ def get_capabilities_without_preload_content( _param = self._get_capabilities_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -243,6 +255,7 @@ def get_capabilities_without_preload_content( def _get_capabilities_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -309,6 +322,7 @@ def get_communities( self, analysis_id: StrictInt, user_name: Annotated[Optional[StrictStr], Field(description="The user name to limit communities to")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -329,6 +343,8 @@ def get_communities( :type analysis_id: int :param user_name: The user name to limit communities to :type user_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -354,6 +370,7 @@ def get_communities( _param = self._get_communities_serialize( analysis_id=analysis_id, user_name=user_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -380,6 +397,7 @@ def get_communities_with_http_info( self, analysis_id: StrictInt, user_name: Annotated[Optional[StrictStr], Field(description="The user name to limit communities to")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -400,6 +418,8 @@ def get_communities_with_http_info( :type analysis_id: int :param user_name: The user name to limit communities to :type user_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -425,6 +445,7 @@ def get_communities_with_http_info( _param = self._get_communities_serialize( analysis_id=analysis_id, user_name=user_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -451,6 +472,7 @@ def get_communities_without_preload_content( self, analysis_id: StrictInt, user_name: Annotated[Optional[StrictStr], Field(description="The user name to limit communities to")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -471,6 +493,8 @@ def get_communities_without_preload_content( :type analysis_id: int :param user_name: The user name to limit communities to :type user_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -496,6 +520,7 @@ def get_communities_without_preload_content( _param = self._get_communities_serialize( analysis_id=analysis_id, user_name=user_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -517,6 +542,7 @@ def _get_communities_serialize( self, analysis_id, user_name, + api_key, _request_auth, _content_type, _headers, @@ -589,6 +615,7 @@ def get_functions_list( search_term: Optional[StrictStr] = None, min_v_addr: Optional[StrictInt] = None, max_v_addr: Optional[StrictInt] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -614,6 +641,8 @@ def get_functions_list( :type min_v_addr: int :param max_v_addr: :type max_v_addr: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -641,6 +670,7 @@ def get_functions_list( search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -669,6 +699,7 @@ def get_functions_list_with_http_info( search_term: Optional[StrictStr] = None, min_v_addr: Optional[StrictInt] = None, max_v_addr: Optional[StrictInt] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -694,6 +725,8 @@ def get_functions_list_with_http_info( :type min_v_addr: int :param max_v_addr: :type max_v_addr: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -721,6 +754,7 @@ def get_functions_list_with_http_info( search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -749,6 +783,7 @@ def get_functions_list_without_preload_content( search_term: Optional[StrictStr] = None, min_v_addr: Optional[StrictInt] = None, max_v_addr: Optional[StrictInt] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -774,6 +809,8 @@ def get_functions_list_without_preload_content( :type min_v_addr: int :param max_v_addr: :type max_v_addr: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -801,6 +838,7 @@ def get_functions_list_without_preload_content( search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -824,6 +862,7 @@ def _get_functions_list_serialize( search_term, min_v_addr, max_v_addr, + api_key, _request_auth, _content_type, _headers, @@ -901,6 +940,7 @@ def _get_functions_list_serialize( def get_pdf( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -919,6 +959,8 @@ def get_pdf( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -943,6 +985,7 @@ def get_pdf( _param = self._get_pdf_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -968,6 +1011,7 @@ def get_pdf( def get_pdf_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -986,6 +1030,8 @@ def get_pdf_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1010,6 +1056,7 @@ def get_pdf_with_http_info( _param = self._get_pdf_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1035,6 +1082,7 @@ def get_pdf_with_http_info( def get_pdf_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1053,6 +1101,8 @@ def get_pdf_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1077,6 +1127,7 @@ def get_pdf_without_preload_content( _param = self._get_pdf_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1097,6 +1148,7 @@ def get_pdf_without_preload_content( def _get_pdf_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1162,6 +1214,7 @@ def _get_pdf_serialize( def get_sbom( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1180,6 +1233,8 @@ def get_sbom( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1204,6 +1259,7 @@ def get_sbom( _param = self._get_sbom_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1229,6 +1285,7 @@ def get_sbom( def get_sbom_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1247,6 +1304,8 @@ def get_sbom_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1271,6 +1330,7 @@ def get_sbom_with_http_info( _param = self._get_sbom_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1296,6 +1356,7 @@ def get_sbom_with_http_info( def get_sbom_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1314,6 +1375,8 @@ def get_sbom_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1338,6 +1401,7 @@ def get_sbom_without_preload_content( _param = self._get_sbom_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1358,6 +1422,7 @@ def get_sbom_without_preload_content( def _get_sbom_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1423,6 +1488,7 @@ def _get_sbom_serialize( def get_tags( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1441,6 +1507,8 @@ def get_tags( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1465,6 +1533,7 @@ def get_tags( _param = self._get_tags_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1490,6 +1559,7 @@ def get_tags( def get_tags_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1508,6 +1578,8 @@ def get_tags_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1532,6 +1604,7 @@ def get_tags_with_http_info( _param = self._get_tags_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1557,6 +1630,7 @@ def get_tags_with_http_info( def get_tags_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1575,6 +1649,8 @@ def get_tags_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1599,6 +1675,7 @@ def get_tags_without_preload_content( _param = self._get_tags_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1619,6 +1696,7 @@ def get_tags_without_preload_content( def _get_tags_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1684,6 +1762,7 @@ def _get_tags_serialize( def get_vulnerabilities( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1702,6 +1781,8 @@ def get_vulnerabilities( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1726,6 +1807,7 @@ def get_vulnerabilities( _param = self._get_vulnerabilities_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1751,6 +1833,7 @@ def get_vulnerabilities( def get_vulnerabilities_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1769,6 +1852,8 @@ def get_vulnerabilities_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1793,6 +1878,7 @@ def get_vulnerabilities_with_http_info( _param = self._get_vulnerabilities_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1818,6 +1904,7 @@ def get_vulnerabilities_with_http_info( def get_vulnerabilities_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1836,6 +1923,8 @@ def get_vulnerabilities_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1860,6 +1949,7 @@ def get_vulnerabilities_without_preload_content( _param = self._get_vulnerabilities_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1880,6 +1970,7 @@ def get_vulnerabilities_without_preload_content( def _get_vulnerabilities_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/analyses_security_checks_api.py b/revengai/api/analyses_security_checks_api.py index 8abc6e7..61d260a 100644 --- a/revengai/api/analyses_security_checks_api.py +++ b/revengai/api/analyses_security_checks_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt +from pydantic import Field, StrictInt, StrictStr +from typing import Optional from typing_extensions import Annotated from revengai.models.base_response_security_checks_response import BaseResponseSecurityChecksResponse from revengai.models.check_security_checks_task_response import CheckSecurityChecksTaskResponse @@ -43,6 +44,7 @@ def __init__(self, api_client=None) -> None: def create_scurity_checks_task( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61,6 +63,8 @@ def create_scurity_checks_task( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85,6 +89,7 @@ def create_scurity_checks_task( _param = self._create_scurity_checks_task_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111,6 +116,7 @@ def create_scurity_checks_task( def create_scurity_checks_task_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129,6 +135,8 @@ def create_scurity_checks_task_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -153,6 +161,7 @@ def create_scurity_checks_task_with_http_info( _param = self._create_scurity_checks_task_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -179,6 +188,7 @@ def create_scurity_checks_task_with_http_info( def create_scurity_checks_task_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -197,6 +207,8 @@ def create_scurity_checks_task_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -221,6 +233,7 @@ def create_scurity_checks_task_without_preload_content( _param = self._create_scurity_checks_task_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -242,6 +255,7 @@ def create_scurity_checks_task_without_preload_content( def _create_scurity_checks_task_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -309,6 +323,7 @@ def get_security_checks( analysis_id: StrictInt, page: Annotated[int, Field(le=100000, strict=True, ge=1, description="The page number to retrieve.")], page_size: Annotated[int, Field(strict=True, ge=1, description="Number of items per page.")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -332,6 +347,8 @@ def get_security_checks( :type page: int :param page_size: Number of items per page. (required) :type page_size: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -358,6 +375,7 @@ def get_security_checks( analysis_id=analysis_id, page=page, page_size=page_size, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -385,6 +403,7 @@ def get_security_checks_with_http_info( analysis_id: StrictInt, page: Annotated[int, Field(le=100000, strict=True, ge=1, description="The page number to retrieve.")], page_size: Annotated[int, Field(strict=True, ge=1, description="Number of items per page.")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -408,6 +427,8 @@ def get_security_checks_with_http_info( :type page: int :param page_size: Number of items per page. (required) :type page_size: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -434,6 +455,7 @@ def get_security_checks_with_http_info( analysis_id=analysis_id, page=page, page_size=page_size, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -461,6 +483,7 @@ def get_security_checks_without_preload_content( analysis_id: StrictInt, page: Annotated[int, Field(le=100000, strict=True, ge=1, description="The page number to retrieve.")], page_size: Annotated[int, Field(strict=True, ge=1, description="Number of items per page.")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -484,6 +507,8 @@ def get_security_checks_without_preload_content( :type page: int :param page_size: Number of items per page. (required) :type page_size: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -510,6 +535,7 @@ def get_security_checks_without_preload_content( analysis_id=analysis_id, page=page, page_size=page_size, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -532,6 +558,7 @@ def _get_security_checks_serialize( analysis_id, page, page_size, + api_key, _request_auth, _content_type, _headers, @@ -605,6 +632,7 @@ def _get_security_checks_serialize( def get_security_checks_task_status( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -623,6 +651,8 @@ def get_security_checks_task_status( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -647,6 +677,7 @@ def get_security_checks_task_status( _param = self._get_security_checks_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -672,6 +703,7 @@ def get_security_checks_task_status( def get_security_checks_task_status_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -690,6 +722,8 @@ def get_security_checks_task_status_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -714,6 +748,7 @@ def get_security_checks_task_status_with_http_info( _param = self._get_security_checks_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -739,6 +774,7 @@ def get_security_checks_task_status_with_http_info( def get_security_checks_task_status_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -757,6 +793,8 @@ def get_security_checks_task_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -781,6 +819,7 @@ def get_security_checks_task_status_without_preload_content( _param = self._get_security_checks_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -801,6 +840,7 @@ def get_security_checks_task_status_without_preload_content( def _get_security_checks_task_status_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/authentication_users_api.py b/revengai/api/authentication_users_api.py index e2de7e3..bd8069f 100644 --- a/revengai/api/authentication_users_api.py +++ b/revengai/api/authentication_users_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictInt +from pydantic import StrictInt, StrictStr +from typing import Optional from revengai.models.base_response_get_public_user_response import BaseResponseGetPublicUserResponse from revengai.models.base_response_get_user_response import BaseResponseGetUserResponse from revengai.models.base_response_list_comment_response import BaseResponseListCommentResponse @@ -44,6 +45,7 @@ def __init__(self, api_client=None) -> None: @validate_call def get_requester_user_info( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60,6 +62,8 @@ def get_requester_user_info( """Get the requesters user information + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83,6 +87,7 @@ def get_requester_user_info( """ # noqa: E501 _param = self._get_requester_user_info_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107,6 +112,7 @@ def get_requester_user_info( @validate_call def get_requester_user_info_with_http_info( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123,6 +129,8 @@ def get_requester_user_info_with_http_info( """Get the requesters user information + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -146,6 +154,7 @@ def get_requester_user_info_with_http_info( """ # noqa: E501 _param = self._get_requester_user_info_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -170,6 +179,7 @@ def get_requester_user_info_with_http_info( @validate_call def get_requester_user_info_without_preload_content( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -186,6 +196,8 @@ def get_requester_user_info_without_preload_content( """Get the requesters user information + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -209,6 +221,7 @@ def get_requester_user_info_without_preload_content( """ # noqa: E501 _param = self._get_requester_user_info_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -228,6 +241,7 @@ def get_requester_user_info_without_preload_content( def _get_requester_user_info_serialize( self, + api_key, _request_auth, _content_type, _headers, @@ -291,6 +305,7 @@ def _get_requester_user_info_serialize( def get_user( self, user_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -309,6 +324,8 @@ def get_user( :param user_id: (required) :type user_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -333,6 +350,7 @@ def get_user( _param = self._get_user_serialize( user_id=user_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -358,6 +376,7 @@ def get_user( def get_user_with_http_info( self, user_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -376,6 +395,8 @@ def get_user_with_http_info( :param user_id: (required) :type user_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -400,6 +421,7 @@ def get_user_with_http_info( _param = self._get_user_serialize( user_id=user_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -425,6 +447,7 @@ def get_user_with_http_info( def get_user_without_preload_content( self, user_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -443,6 +466,8 @@ def get_user_without_preload_content( :param user_id: (required) :type user_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -467,6 +492,7 @@ def get_user_without_preload_content( _param = self._get_user_serialize( user_id=user_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -487,6 +513,7 @@ def get_user_without_preload_content( def _get_user_serialize( self, user_id, + api_key, _request_auth, _content_type, _headers, @@ -551,6 +578,7 @@ def _get_user_serialize( @validate_call def get_user_activity( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -567,6 +595,8 @@ def get_user_activity( """Get auth user activity + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -590,6 +620,7 @@ def get_user_activity( """ # noqa: E501 _param = self._get_user_activity_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -614,6 +645,7 @@ def get_user_activity( @validate_call def get_user_activity_with_http_info( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -630,6 +662,8 @@ def get_user_activity_with_http_info( """Get auth user activity + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -653,6 +687,7 @@ def get_user_activity_with_http_info( """ # noqa: E501 _param = self._get_user_activity_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -677,6 +712,7 @@ def get_user_activity_with_http_info( @validate_call def get_user_activity_without_preload_content( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -693,6 +729,8 @@ def get_user_activity_without_preload_content( """Get auth user activity + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -716,6 +754,7 @@ def get_user_activity_without_preload_content( """ # noqa: E501 _param = self._get_user_activity_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -735,6 +774,7 @@ def get_user_activity_without_preload_content( def _get_user_activity_serialize( self, + api_key, _request_auth, _content_type, _headers, @@ -797,6 +837,7 @@ def _get_user_activity_serialize( @validate_call def get_user_comments( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -814,6 +855,8 @@ def get_user_comments( Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -837,6 +880,7 @@ def get_user_comments( """ # noqa: E501 _param = self._get_user_comments_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -861,6 +905,7 @@ def get_user_comments( @validate_call def get_user_comments_with_http_info( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -878,6 +923,8 @@ def get_user_comments_with_http_info( Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -901,6 +948,7 @@ def get_user_comments_with_http_info( """ # noqa: E501 _param = self._get_user_comments_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -925,6 +973,7 @@ def get_user_comments_with_http_info( @validate_call def get_user_comments_without_preload_content( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -942,6 +991,8 @@ def get_user_comments_without_preload_content( Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -965,6 +1016,7 @@ def get_user_comments_without_preload_content( """ # noqa: E501 _param = self._get_user_comments_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -984,6 +1036,7 @@ def get_user_comments_without_preload_content( def _get_user_comments_serialize( self, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/binaries_api.py b/revengai/api/binaries_api.py index c5f152b..56b96f8 100644 --- a/revengai/api/binaries_api.py +++ b/revengai/api/binaries_api.py @@ -15,8 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictInt -from typing import Any +from pydantic import StrictInt, StrictStr +from typing import Any, Optional from revengai.models.base_response_binary_additional_response import BaseResponseBinaryAdditionalResponse from revengai.models.base_response_binary_details_response import BaseResponseBinaryDetailsResponse from revengai.models.base_response_binary_externals_response import BaseResponseBinaryExternalsResponse @@ -45,6 +45,7 @@ def __init__(self, api_client=None) -> None: def download_zipped_binary( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,6 +64,8 @@ def download_zipped_binary( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87,6 +90,7 @@ def download_zipped_binary( _param = self._download_zipped_binary_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112,6 +116,7 @@ def download_zipped_binary( def download_zipped_binary_with_http_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130,6 +135,8 @@ def download_zipped_binary_with_http_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -154,6 +161,7 @@ def download_zipped_binary_with_http_info( _param = self._download_zipped_binary_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -179,6 +187,7 @@ def download_zipped_binary_with_http_info( def download_zipped_binary_without_preload_content( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -197,6 +206,8 @@ def download_zipped_binary_without_preload_content( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -221,6 +232,7 @@ def download_zipped_binary_without_preload_content( _param = self._download_zipped_binary_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -241,6 +253,7 @@ def download_zipped_binary_without_preload_content( def _download_zipped_binary_serialize( self, binary_id, + api_key, _request_auth, _content_type, _headers, @@ -306,6 +319,7 @@ def _download_zipped_binary_serialize( def get_binary_additional_details( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -324,6 +338,8 @@ def get_binary_additional_details( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -348,6 +364,7 @@ def get_binary_additional_details( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -373,6 +390,7 @@ def get_binary_additional_details( def get_binary_additional_details_with_http_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -391,6 +409,8 @@ def get_binary_additional_details_with_http_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -415,6 +435,7 @@ def get_binary_additional_details_with_http_info( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -440,6 +461,7 @@ def get_binary_additional_details_with_http_info( def get_binary_additional_details_without_preload_content( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -458,6 +480,8 @@ def get_binary_additional_details_without_preload_content( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -482,6 +506,7 @@ def get_binary_additional_details_without_preload_content( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -502,6 +527,7 @@ def get_binary_additional_details_without_preload_content( def _get_binary_additional_details_serialize( self, binary_id, + api_key, _request_auth, _content_type, _headers, @@ -567,6 +593,7 @@ def _get_binary_additional_details_serialize( def get_binary_details( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -585,6 +612,8 @@ def get_binary_details( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -609,6 +638,7 @@ def get_binary_details( _param = self._get_binary_details_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -634,6 +664,7 @@ def get_binary_details( def get_binary_details_with_http_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -652,6 +683,8 @@ def get_binary_details_with_http_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -676,6 +709,7 @@ def get_binary_details_with_http_info( _param = self._get_binary_details_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -701,6 +735,7 @@ def get_binary_details_with_http_info( def get_binary_details_without_preload_content( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -719,6 +754,8 @@ def get_binary_details_without_preload_content( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -743,6 +780,7 @@ def get_binary_details_without_preload_content( _param = self._get_binary_details_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -763,6 +801,7 @@ def get_binary_details_without_preload_content( def _get_binary_details_serialize( self, binary_id, + api_key, _request_auth, _content_type, _headers, @@ -828,6 +867,7 @@ def _get_binary_details_serialize( def get_binary_die_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -846,6 +886,8 @@ def get_binary_die_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -870,6 +912,7 @@ def get_binary_die_info( _param = self._get_binary_die_info_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -895,6 +938,7 @@ def get_binary_die_info( def get_binary_die_info_with_http_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -913,6 +957,8 @@ def get_binary_die_info_with_http_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -937,6 +983,7 @@ def get_binary_die_info_with_http_info( _param = self._get_binary_die_info_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -962,6 +1009,7 @@ def get_binary_die_info_with_http_info( def get_binary_die_info_without_preload_content( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -980,6 +1028,8 @@ def get_binary_die_info_without_preload_content( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1004,6 +1054,7 @@ def get_binary_die_info_without_preload_content( _param = self._get_binary_die_info_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1024,6 +1075,7 @@ def get_binary_die_info_without_preload_content( def _get_binary_die_info_serialize( self, binary_id, + api_key, _request_auth, _content_type, _headers, @@ -1089,6 +1141,7 @@ def _get_binary_die_info_serialize( def get_binary_externals( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1107,6 +1160,8 @@ def get_binary_externals( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1131,6 +1186,7 @@ def get_binary_externals( _param = self._get_binary_externals_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1156,6 +1212,7 @@ def get_binary_externals( def get_binary_externals_with_http_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1174,6 +1231,8 @@ def get_binary_externals_with_http_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1198,6 +1257,7 @@ def get_binary_externals_with_http_info( _param = self._get_binary_externals_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1223,6 +1283,7 @@ def get_binary_externals_with_http_info( def get_binary_externals_without_preload_content( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1241,6 +1302,8 @@ def get_binary_externals_without_preload_content( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1265,6 +1328,7 @@ def get_binary_externals_without_preload_content( _param = self._get_binary_externals_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1285,6 +1349,7 @@ def get_binary_externals_without_preload_content( def _get_binary_externals_serialize( self, binary_id, + api_key, _request_auth, _content_type, _headers, @@ -1350,6 +1415,7 @@ def _get_binary_externals_serialize( def get_related_binaries( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1368,6 +1434,8 @@ def get_related_binaries( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1392,6 +1460,7 @@ def get_related_binaries( _param = self._get_related_binaries_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1418,6 +1487,7 @@ def get_related_binaries( def get_related_binaries_with_http_info( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1436,6 +1506,8 @@ def get_related_binaries_with_http_info( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1460,6 +1532,7 @@ def get_related_binaries_with_http_info( _param = self._get_related_binaries_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1486,6 +1559,7 @@ def get_related_binaries_with_http_info( def get_related_binaries_without_preload_content( self, binary_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1504,6 +1578,8 @@ def get_related_binaries_without_preload_content( :param binary_id: (required) :type binary_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1528,6 +1604,7 @@ def get_related_binaries_without_preload_content( _param = self._get_related_binaries_serialize( binary_id=binary_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1549,6 +1626,7 @@ def get_related_binaries_without_preload_content( def _get_related_binaries_serialize( self, binary_id, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/collections_api.py b/revengai/api/collections_api.py index 0877edf..14338f2 100644 --- a/revengai/api/collections_api.py +++ b/revengai/api/collections_api.py @@ -53,6 +53,7 @@ def __init__(self, api_client=None) -> None: def create_collection( self, collection_create_request: CollectionCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72,6 +73,8 @@ def create_collection( :param collection_create_request: (required) :type collection_create_request: CollectionCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96,6 +99,7 @@ def create_collection( _param = self._create_collection_serialize( collection_create_request=collection_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121,6 +125,7 @@ def create_collection( def create_collection_with_http_info( self, collection_create_request: CollectionCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140,6 +145,8 @@ def create_collection_with_http_info( :param collection_create_request: (required) :type collection_create_request: CollectionCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -164,6 +171,7 @@ def create_collection_with_http_info( _param = self._create_collection_serialize( collection_create_request=collection_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -189,6 +197,7 @@ def create_collection_with_http_info( def create_collection_without_preload_content( self, collection_create_request: CollectionCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -208,6 +217,8 @@ def create_collection_without_preload_content( :param collection_create_request: (required) :type collection_create_request: CollectionCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -232,6 +243,7 @@ def create_collection_without_preload_content( _param = self._create_collection_serialize( collection_create_request=collection_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -252,6 +264,7 @@ def create_collection_without_preload_content( def _create_collection_serialize( self, collection_create_request, + api_key, _request_auth, _content_type, _headers, @@ -330,6 +343,7 @@ def _create_collection_serialize( def delete_collection( self, collection_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -349,6 +363,8 @@ def delete_collection( :param collection_id: (required) :type collection_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -373,6 +389,7 @@ def delete_collection( _param = self._delete_collection_serialize( collection_id=collection_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -398,6 +415,7 @@ def delete_collection( def delete_collection_with_http_info( self, collection_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -417,6 +435,8 @@ def delete_collection_with_http_info( :param collection_id: (required) :type collection_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -441,6 +461,7 @@ def delete_collection_with_http_info( _param = self._delete_collection_serialize( collection_id=collection_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -466,6 +487,7 @@ def delete_collection_with_http_info( def delete_collection_without_preload_content( self, collection_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -485,6 +507,8 @@ def delete_collection_without_preload_content( :param collection_id: (required) :type collection_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -509,6 +533,7 @@ def delete_collection_without_preload_content( _param = self._delete_collection_serialize( collection_id=collection_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -529,6 +554,7 @@ def delete_collection_without_preload_content( def _delete_collection_serialize( self, collection_id, + api_key, _request_auth, _content_type, _headers, @@ -596,6 +622,7 @@ def get_collection( collection_id: StrictInt, include_tags: Optional[StrictBool] = None, include_binaries: Optional[StrictBool] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -619,6 +646,8 @@ def get_collection( :type include_tags: bool :param include_binaries: :type include_binaries: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -645,6 +674,7 @@ def get_collection( collection_id=collection_id, include_tags=include_tags, include_binaries=include_binaries, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -672,6 +702,7 @@ def get_collection_with_http_info( collection_id: StrictInt, include_tags: Optional[StrictBool] = None, include_binaries: Optional[StrictBool] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -695,6 +726,8 @@ def get_collection_with_http_info( :type include_tags: bool :param include_binaries: :type include_binaries: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -721,6 +754,7 @@ def get_collection_with_http_info( collection_id=collection_id, include_tags=include_tags, include_binaries=include_binaries, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -748,6 +782,7 @@ def get_collection_without_preload_content( collection_id: StrictInt, include_tags: Optional[StrictBool] = None, include_binaries: Optional[StrictBool] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -771,6 +806,8 @@ def get_collection_without_preload_content( :type include_tags: bool :param include_binaries: :type include_binaries: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -797,6 +834,7 @@ def get_collection_without_preload_content( collection_id=collection_id, include_tags=include_tags, include_binaries=include_binaries, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -819,6 +857,7 @@ def _get_collection_serialize( collection_id, include_tags, include_binaries, + api_key, _request_auth, _content_type, _headers, @@ -897,6 +936,7 @@ def list_collections( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, order: Optional[Order] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -926,6 +966,8 @@ def list_collections( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order: :type order: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -955,6 +997,7 @@ def list_collections( offset=offset, order_by=order_by, order=order, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -985,6 +1028,7 @@ def list_collections_with_http_info( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, order: Optional[Order] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1014,6 +1058,8 @@ def list_collections_with_http_info( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order: :type order: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1043,6 +1089,7 @@ def list_collections_with_http_info( offset=offset, order_by=order_by, order=order, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1073,6 +1120,7 @@ def list_collections_without_preload_content( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, order: Optional[Order] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1102,6 +1150,8 @@ def list_collections_without_preload_content( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order: :type order: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1131,6 +1181,7 @@ def list_collections_without_preload_content( offset=offset, order_by=order_by, order=order, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1156,6 +1207,7 @@ def _list_collections_serialize( offset, order_by, order, + api_key, _request_auth, _content_type, _headers, @@ -1245,6 +1297,7 @@ def update_collection( self, collection_id: StrictInt, collection_update_request: CollectionUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1266,6 +1319,8 @@ def update_collection( :type collection_id: int :param collection_update_request: (required) :type collection_update_request: CollectionUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1291,6 +1346,7 @@ def update_collection( _param = self._update_collection_serialize( collection_id=collection_id, collection_update_request=collection_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1317,6 +1373,7 @@ def update_collection_with_http_info( self, collection_id: StrictInt, collection_update_request: CollectionUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1338,6 +1395,8 @@ def update_collection_with_http_info( :type collection_id: int :param collection_update_request: (required) :type collection_update_request: CollectionUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1363,6 +1422,7 @@ def update_collection_with_http_info( _param = self._update_collection_serialize( collection_id=collection_id, collection_update_request=collection_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1389,6 +1449,7 @@ def update_collection_without_preload_content( self, collection_id: StrictInt, collection_update_request: CollectionUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1410,6 +1471,8 @@ def update_collection_without_preload_content( :type collection_id: int :param collection_update_request: (required) :type collection_update_request: CollectionUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1435,6 +1498,7 @@ def update_collection_without_preload_content( _param = self._update_collection_serialize( collection_id=collection_id, collection_update_request=collection_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1456,6 +1520,7 @@ def _update_collection_serialize( self, collection_id, collection_update_request, + api_key, _request_auth, _content_type, _headers, @@ -1537,6 +1602,7 @@ def update_collection_binaries( self, collection_id: StrictInt, collection_binaries_update_request: CollectionBinariesUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1558,6 +1624,8 @@ def update_collection_binaries( :type collection_id: int :param collection_binaries_update_request: (required) :type collection_binaries_update_request: CollectionBinariesUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1583,6 +1651,7 @@ def update_collection_binaries( _param = self._update_collection_binaries_serialize( collection_id=collection_id, collection_binaries_update_request=collection_binaries_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1609,6 +1678,7 @@ def update_collection_binaries_with_http_info( self, collection_id: StrictInt, collection_binaries_update_request: CollectionBinariesUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1630,6 +1700,8 @@ def update_collection_binaries_with_http_info( :type collection_id: int :param collection_binaries_update_request: (required) :type collection_binaries_update_request: CollectionBinariesUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1655,6 +1727,7 @@ def update_collection_binaries_with_http_info( _param = self._update_collection_binaries_serialize( collection_id=collection_id, collection_binaries_update_request=collection_binaries_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1681,6 +1754,7 @@ def update_collection_binaries_without_preload_content( self, collection_id: StrictInt, collection_binaries_update_request: CollectionBinariesUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1702,6 +1776,8 @@ def update_collection_binaries_without_preload_content( :type collection_id: int :param collection_binaries_update_request: (required) :type collection_binaries_update_request: CollectionBinariesUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1727,6 +1803,7 @@ def update_collection_binaries_without_preload_content( _param = self._update_collection_binaries_serialize( collection_id=collection_id, collection_binaries_update_request=collection_binaries_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1748,6 +1825,7 @@ def _update_collection_binaries_serialize( self, collection_id, collection_binaries_update_request, + api_key, _request_auth, _content_type, _headers, @@ -1829,6 +1907,7 @@ def update_collection_tags( self, collection_id: StrictInt, collection_tags_update_request: CollectionTagsUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1850,6 +1929,8 @@ def update_collection_tags( :type collection_id: int :param collection_tags_update_request: (required) :type collection_tags_update_request: CollectionTagsUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1875,6 +1956,7 @@ def update_collection_tags( _param = self._update_collection_tags_serialize( collection_id=collection_id, collection_tags_update_request=collection_tags_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1901,6 +1983,7 @@ def update_collection_tags_with_http_info( self, collection_id: StrictInt, collection_tags_update_request: CollectionTagsUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1922,6 +2005,8 @@ def update_collection_tags_with_http_info( :type collection_id: int :param collection_tags_update_request: (required) :type collection_tags_update_request: CollectionTagsUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1947,6 +2032,7 @@ def update_collection_tags_with_http_info( _param = self._update_collection_tags_serialize( collection_id=collection_id, collection_tags_update_request=collection_tags_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1973,6 +2059,7 @@ def update_collection_tags_without_preload_content( self, collection_id: StrictInt, collection_tags_update_request: CollectionTagsUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1994,6 +2081,8 @@ def update_collection_tags_without_preload_content( :type collection_id: int :param collection_tags_update_request: (required) :type collection_tags_update_request: CollectionTagsUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2019,6 +2108,7 @@ def update_collection_tags_without_preload_content( _param = self._update_collection_tags_serialize( collection_id=collection_id, collection_tags_update_request=collection_tags_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2040,6 +2130,7 @@ def _update_collection_tags_serialize( self, collection_id, collection_tags_update_request, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/external_sources_api.py b/revengai/api/external_sources_api.py index 9c9ab9d..a286f6c 100644 --- a/revengai/api/external_sources_api.py +++ b/revengai/api/external_sources_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictInt +from pydantic import StrictInt, StrictStr +from typing import Optional from revengai.models.base_response_external_response import BaseResponseExternalResponse from revengai.models.base_response_str import BaseResponseStr from revengai.models.base_response_task_response import BaseResponseTaskResponse @@ -42,6 +43,7 @@ def __init__(self, api_client=None) -> None: def create_external_task_mb( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60,6 +62,8 @@ def create_external_task_mb( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84,6 +88,7 @@ def create_external_task_mb( _param = self._create_external_task_mb_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110,6 +115,7 @@ def create_external_task_mb( def create_external_task_mb_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128,6 +134,8 @@ def create_external_task_mb_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -152,6 +160,7 @@ def create_external_task_mb_with_http_info( _param = self._create_external_task_mb_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -178,6 +187,7 @@ def create_external_task_mb_with_http_info( def create_external_task_mb_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -196,6 +206,8 @@ def create_external_task_mb_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -220,6 +232,7 @@ def create_external_task_mb_without_preload_content( _param = self._create_external_task_mb_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -241,6 +254,7 @@ def create_external_task_mb_without_preload_content( def _create_external_task_mb_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -306,6 +320,7 @@ def _create_external_task_mb_serialize( def create_external_task_vt( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -324,6 +339,8 @@ def create_external_task_vt( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -348,6 +365,7 @@ def create_external_task_vt( _param = self._create_external_task_vt_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -374,6 +392,7 @@ def create_external_task_vt( def create_external_task_vt_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -392,6 +411,8 @@ def create_external_task_vt_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -416,6 +437,7 @@ def create_external_task_vt_with_http_info( _param = self._create_external_task_vt_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -442,6 +464,7 @@ def create_external_task_vt_with_http_info( def create_external_task_vt_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -460,6 +483,8 @@ def create_external_task_vt_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -484,6 +509,7 @@ def create_external_task_vt_without_preload_content( _param = self._create_external_task_vt_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -505,6 +531,7 @@ def create_external_task_vt_without_preload_content( def _create_external_task_vt_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -570,6 +597,7 @@ def _create_external_task_vt_serialize( def get_mb_data( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -588,6 +616,8 @@ def get_mb_data( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -612,6 +642,7 @@ def get_mb_data( _param = self._get_mb_data_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -638,6 +669,7 @@ def get_mb_data( def get_mb_data_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -656,6 +688,8 @@ def get_mb_data_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -680,6 +714,7 @@ def get_mb_data_with_http_info( _param = self._get_mb_data_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -706,6 +741,7 @@ def get_mb_data_with_http_info( def get_mb_data_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -724,6 +760,8 @@ def get_mb_data_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -748,6 +786,7 @@ def get_mb_data_without_preload_content( _param = self._get_mb_data_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -769,6 +808,7 @@ def get_mb_data_without_preload_content( def _get_mb_data_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -834,6 +874,7 @@ def _get_mb_data_serialize( def get_mb_task_status( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -852,6 +893,8 @@ def get_mb_task_status( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -876,6 +919,7 @@ def get_mb_task_status( _param = self._get_mb_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -901,6 +945,7 @@ def get_mb_task_status( def get_mb_task_status_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -919,6 +964,8 @@ def get_mb_task_status_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -943,6 +990,7 @@ def get_mb_task_status_with_http_info( _param = self._get_mb_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -968,6 +1016,7 @@ def get_mb_task_status_with_http_info( def get_mb_task_status_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -986,6 +1035,8 @@ def get_mb_task_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1010,6 +1061,7 @@ def get_mb_task_status_without_preload_content( _param = self._get_mb_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1030,6 +1082,7 @@ def get_mb_task_status_without_preload_content( def _get_mb_task_status_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1095,6 +1148,7 @@ def _get_mb_task_status_serialize( def get_vt_data( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1113,6 +1167,8 @@ def get_vt_data( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1137,6 +1193,7 @@ def get_vt_data( _param = self._get_vt_data_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1163,6 +1220,7 @@ def get_vt_data( def get_vt_data_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1181,6 +1239,8 @@ def get_vt_data_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1205,6 +1265,7 @@ def get_vt_data_with_http_info( _param = self._get_vt_data_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1231,6 +1292,7 @@ def get_vt_data_with_http_info( def get_vt_data_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1249,6 +1311,8 @@ def get_vt_data_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1273,6 +1337,7 @@ def get_vt_data_without_preload_content( _param = self._get_vt_data_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1294,6 +1359,7 @@ def get_vt_data_without_preload_content( def _get_vt_data_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1359,6 +1425,7 @@ def _get_vt_data_serialize( def get_vt_task_status( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1377,6 +1444,8 @@ def get_vt_task_status( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1401,6 +1470,7 @@ def get_vt_task_status( _param = self._get_vt_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1426,6 +1496,7 @@ def get_vt_task_status( def get_vt_task_status_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1444,6 +1515,8 @@ def get_vt_task_status_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1468,6 +1541,7 @@ def get_vt_task_status_with_http_info( _param = self._get_vt_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1493,6 +1567,7 @@ def get_vt_task_status_with_http_info( def get_vt_task_status_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1511,6 +1586,8 @@ def get_vt_task_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1535,6 +1612,7 @@ def get_vt_task_status_without_preload_content( _param = self._get_vt_task_status_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1555,6 +1633,7 @@ def get_vt_task_status_without_preload_content( def _get_vt_task_status_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/firmware_api.py b/revengai/api/firmware_api.py index 38e3fdd..33fc84c 100644 --- a/revengai/api/firmware_api.py +++ b/revengai/api/firmware_api.py @@ -40,6 +40,7 @@ def __init__(self, api_client=None) -> None: def get_binaries_for_firmware_task( self, task_id: StrictStr, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59,6 +60,8 @@ def get_binaries_for_firmware_task( :param task_id: (required) :type task_id: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83,6 +86,7 @@ def get_binaries_for_firmware_task( _param = self._get_binaries_for_firmware_task_serialize( task_id=task_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108,6 +112,7 @@ def get_binaries_for_firmware_task( def get_binaries_for_firmware_task_with_http_info( self, task_id: StrictStr, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127,6 +132,8 @@ def get_binaries_for_firmware_task_with_http_info( :param task_id: (required) :type task_id: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -151,6 +158,7 @@ def get_binaries_for_firmware_task_with_http_info( _param = self._get_binaries_for_firmware_task_serialize( task_id=task_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -176,6 +184,7 @@ def get_binaries_for_firmware_task_with_http_info( def get_binaries_for_firmware_task_without_preload_content( self, task_id: StrictStr, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -195,6 +204,8 @@ def get_binaries_for_firmware_task_without_preload_content( :param task_id: (required) :type task_id: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -219,6 +230,7 @@ def get_binaries_for_firmware_task_without_preload_content( _param = self._get_binaries_for_firmware_task_serialize( task_id=task_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -239,6 +251,7 @@ def get_binaries_for_firmware_task_without_preload_content( def _get_binaries_for_firmware_task_serialize( self, task_id, + api_key, _request_auth, _content_type, _headers, @@ -304,6 +317,7 @@ def _get_binaries_for_firmware_task_serialize( def upload_firmware( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], + api_key: Optional[StrictStr] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -324,6 +338,8 @@ def upload_firmware( :param file: (required) :type file: bytearray + :param api_key: + :type api_key: str :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -350,6 +366,7 @@ def upload_firmware( _param = self._upload_firmware_serialize( file=file, + api_key=api_key, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -376,6 +393,7 @@ def upload_firmware( def upload_firmware_with_http_info( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], + api_key: Optional[StrictStr] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -396,6 +414,8 @@ def upload_firmware_with_http_info( :param file: (required) :type file: bytearray + :param api_key: + :type api_key: str :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -422,6 +442,7 @@ def upload_firmware_with_http_info( _param = self._upload_firmware_serialize( file=file, + api_key=api_key, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -448,6 +469,7 @@ def upload_firmware_with_http_info( def upload_firmware_without_preload_content( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], + api_key: Optional[StrictStr] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -468,6 +490,8 @@ def upload_firmware_without_preload_content( :param file: (required) :type file: bytearray + :param api_key: + :type api_key: str :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -494,6 +518,7 @@ def upload_firmware_without_preload_content( _param = self._upload_firmware_serialize( file=file, + api_key=api_key, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -515,6 +540,7 @@ def upload_firmware_without_preload_content( def _upload_firmware_serialize( self, file, + api_key, password, _request_auth, _content_type, diff --git a/revengai/api/functions_ai_decompilation_api.py b/revengai/api/functions_ai_decompilation_api.py index 4e96410..c0113cf 100644 --- a/revengai/api/functions_ai_decompilation_api.py +++ b/revengai/api/functions_ai_decompilation_api.py @@ -15,7 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictBool, StrictInt +from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated from revengai.models.base_response import BaseResponse @@ -52,6 +52,7 @@ def create_ai_decompilation_comment( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73,6 +74,8 @@ def create_ai_decompilation_comment( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98,6 +101,7 @@ def create_ai_decompilation_comment( _param = self._create_ai_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125,6 +129,7 @@ def create_ai_decompilation_comment_with_http_info( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -146,6 +151,8 @@ def create_ai_decompilation_comment_with_http_info( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -171,6 +178,7 @@ def create_ai_decompilation_comment_with_http_info( _param = self._create_ai_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -198,6 +206,7 @@ def create_ai_decompilation_comment_without_preload_content( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -219,6 +228,8 @@ def create_ai_decompilation_comment_without_preload_content( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -244,6 +255,7 @@ def create_ai_decompilation_comment_without_preload_content( _param = self._create_ai_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -266,6 +278,7 @@ def _create_ai_decompilation_comment_serialize( self, function_id, function_comment_create_request, + api_key, _request_auth, _content_type, _headers, @@ -346,6 +359,7 @@ def _create_ai_decompilation_comment_serialize( def create_ai_decompilation_task( self, function_id: Annotated[StrictInt, Field(description="The ID of the function for which we are creating the decompilation task")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -365,6 +379,8 @@ def create_ai_decompilation_task( :param function_id: The ID of the function for which we are creating the decompilation task (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -389,6 +405,7 @@ def create_ai_decompilation_task( _param = self._create_ai_decompilation_task_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -418,6 +435,7 @@ def create_ai_decompilation_task( def create_ai_decompilation_task_with_http_info( self, function_id: Annotated[StrictInt, Field(description="The ID of the function for which we are creating the decompilation task")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -437,6 +455,8 @@ def create_ai_decompilation_task_with_http_info( :param function_id: The ID of the function for which we are creating the decompilation task (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -461,6 +481,7 @@ def create_ai_decompilation_task_with_http_info( _param = self._create_ai_decompilation_task_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -490,6 +511,7 @@ def create_ai_decompilation_task_with_http_info( def create_ai_decompilation_task_without_preload_content( self, function_id: Annotated[StrictInt, Field(description="The ID of the function for which we are creating the decompilation task")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -509,6 +531,8 @@ def create_ai_decompilation_task_without_preload_content( :param function_id: The ID of the function for which we are creating the decompilation task (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -533,6 +557,7 @@ def create_ai_decompilation_task_without_preload_content( _param = self._create_ai_decompilation_task_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -557,6 +582,7 @@ def create_ai_decompilation_task_without_preload_content( def _create_ai_decompilation_task_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -623,6 +649,7 @@ def delete_ai_decompilation_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -644,6 +671,8 @@ def delete_ai_decompilation_comment( :type comment_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -669,6 +698,7 @@ def delete_ai_decompilation_comment( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -697,6 +727,7 @@ def delete_ai_decompilation_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -718,6 +749,8 @@ def delete_ai_decompilation_comment_with_http_info( :type comment_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -743,6 +776,7 @@ def delete_ai_decompilation_comment_with_http_info( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -771,6 +805,7 @@ def delete_ai_decompilation_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -792,6 +827,8 @@ def delete_ai_decompilation_comment_without_preload_content( :type comment_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -817,6 +854,7 @@ def delete_ai_decompilation_comment_without_preload_content( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -840,6 +878,7 @@ def _delete_ai_decompilation_comment_serialize( self, comment_id, function_id, + api_key, _request_auth, _content_type, _headers, @@ -907,6 +946,7 @@ def _delete_ai_decompilation_comment_serialize( def get_ai_decompilation_comments( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -926,6 +966,8 @@ def get_ai_decompilation_comments( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -950,6 +992,7 @@ def get_ai_decompilation_comments( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -975,6 +1018,7 @@ def get_ai_decompilation_comments( def get_ai_decompilation_comments_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -994,6 +1038,8 @@ def get_ai_decompilation_comments_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1018,6 +1064,7 @@ def get_ai_decompilation_comments_with_http_info( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1043,6 +1090,7 @@ def get_ai_decompilation_comments_with_http_info( def get_ai_decompilation_comments_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1062,6 +1110,8 @@ def get_ai_decompilation_comments_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1086,6 +1136,7 @@ def get_ai_decompilation_comments_without_preload_content( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1106,6 +1157,7 @@ def get_ai_decompilation_comments_without_preload_content( def _get_ai_decompilation_comments_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -1171,6 +1223,7 @@ def _get_ai_decompilation_comments_serialize( def get_ai_decompilation_rating( self, function_id: Annotated[StrictInt, Field(description="The ID of the function for which to get the rating")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1189,6 +1242,8 @@ def get_ai_decompilation_rating( :param function_id: The ID of the function for which to get the rating (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1213,6 +1268,7 @@ def get_ai_decompilation_rating( _param = self._get_ai_decompilation_rating_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1238,6 +1294,7 @@ def get_ai_decompilation_rating( def get_ai_decompilation_rating_with_http_info( self, function_id: Annotated[StrictInt, Field(description="The ID of the function for which to get the rating")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1256,6 +1313,8 @@ def get_ai_decompilation_rating_with_http_info( :param function_id: The ID of the function for which to get the rating (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1280,6 +1339,7 @@ def get_ai_decompilation_rating_with_http_info( _param = self._get_ai_decompilation_rating_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1305,6 +1365,7 @@ def get_ai_decompilation_rating_with_http_info( def get_ai_decompilation_rating_without_preload_content( self, function_id: Annotated[StrictInt, Field(description="The ID of the function for which to get the rating")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1323,6 +1384,8 @@ def get_ai_decompilation_rating_without_preload_content( :param function_id: The ID of the function for which to get the rating (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1347,6 +1410,7 @@ def get_ai_decompilation_rating_without_preload_content( _param = self._get_ai_decompilation_rating_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1367,6 +1431,7 @@ def get_ai_decompilation_rating_without_preload_content( def _get_ai_decompilation_rating_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -1434,6 +1499,7 @@ def get_ai_decompilation_task_result( function_id: Annotated[StrictInt, Field(description="The ID of the function being decompiled")], summarise: Annotated[Optional[StrictBool], Field(description="Generate a summary for the decompilation")] = None, generate_inline_comments: Annotated[Optional[StrictBool], Field(description="Generate inline comments for the decompilation (only works if summarise is enabled)")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1457,6 +1523,8 @@ def get_ai_decompilation_task_result( :type summarise: bool :param generate_inline_comments: Generate inline comments for the decompilation (only works if summarise is enabled) :type generate_inline_comments: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1483,6 +1551,7 @@ def get_ai_decompilation_task_result( function_id=function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1511,6 +1580,7 @@ def get_ai_decompilation_task_result_with_http_info( function_id: Annotated[StrictInt, Field(description="The ID of the function being decompiled")], summarise: Annotated[Optional[StrictBool], Field(description="Generate a summary for the decompilation")] = None, generate_inline_comments: Annotated[Optional[StrictBool], Field(description="Generate inline comments for the decompilation (only works if summarise is enabled)")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1534,6 +1604,8 @@ def get_ai_decompilation_task_result_with_http_info( :type summarise: bool :param generate_inline_comments: Generate inline comments for the decompilation (only works if summarise is enabled) :type generate_inline_comments: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1560,6 +1632,7 @@ def get_ai_decompilation_task_result_with_http_info( function_id=function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1588,6 +1661,7 @@ def get_ai_decompilation_task_result_without_preload_content( function_id: Annotated[StrictInt, Field(description="The ID of the function being decompiled")], summarise: Annotated[Optional[StrictBool], Field(description="Generate a summary for the decompilation")] = None, generate_inline_comments: Annotated[Optional[StrictBool], Field(description="Generate inline comments for the decompilation (only works if summarise is enabled)")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1611,6 +1685,8 @@ def get_ai_decompilation_task_result_without_preload_content( :type summarise: bool :param generate_inline_comments: Generate inline comments for the decompilation (only works if summarise is enabled) :type generate_inline_comments: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1637,6 +1713,7 @@ def get_ai_decompilation_task_result_without_preload_content( function_id=function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1660,6 +1737,7 @@ def _get_ai_decompilation_task_result_serialize( function_id, summarise, generate_inline_comments, + api_key, _request_auth, _content_type, _headers, @@ -1733,6 +1811,7 @@ def _get_ai_decompilation_task_result_serialize( def get_ai_decompilation_task_status( self, function_id: Annotated[StrictInt, Field(description="The ID of the function being checked")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1751,6 +1830,8 @@ def get_ai_decompilation_task_status( :param function_id: The ID of the function being checked (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1775,6 +1856,7 @@ def get_ai_decompilation_task_status( _param = self._get_ai_decompilation_task_status_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1800,6 +1882,7 @@ def get_ai_decompilation_task_status( def get_ai_decompilation_task_status_with_http_info( self, function_id: Annotated[StrictInt, Field(description="The ID of the function being checked")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1818,6 +1901,8 @@ def get_ai_decompilation_task_status_with_http_info( :param function_id: The ID of the function being checked (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1842,6 +1927,7 @@ def get_ai_decompilation_task_status_with_http_info( _param = self._get_ai_decompilation_task_status_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1867,6 +1953,7 @@ def get_ai_decompilation_task_status_with_http_info( def get_ai_decompilation_task_status_without_preload_content( self, function_id: Annotated[StrictInt, Field(description="The ID of the function being checked")], + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1885,6 +1972,8 @@ def get_ai_decompilation_task_status_without_preload_content( :param function_id: The ID of the function being checked (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1909,6 +1998,7 @@ def get_ai_decompilation_task_status_without_preload_content( _param = self._get_ai_decompilation_task_status_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1929,6 +2019,7 @@ def get_ai_decompilation_task_status_without_preload_content( def _get_ai_decompilation_task_status_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -1996,6 +2087,7 @@ def update_ai_decompilation_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2019,6 +2111,8 @@ def update_ai_decompilation_comment( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2045,6 +2139,7 @@ def update_ai_decompilation_comment( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2074,6 +2169,7 @@ def update_ai_decompilation_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2097,6 +2193,8 @@ def update_ai_decompilation_comment_with_http_info( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2123,6 +2221,7 @@ def update_ai_decompilation_comment_with_http_info( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2152,6 +2251,7 @@ def update_ai_decompilation_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2175,6 +2275,8 @@ def update_ai_decompilation_comment_without_preload_content( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2201,6 +2303,7 @@ def update_ai_decompilation_comment_without_preload_content( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2225,6 +2328,7 @@ def _update_ai_decompilation_comment_serialize( comment_id, function_id, comment_update_request, + api_key, _request_auth, _content_type, _headers, @@ -2308,6 +2412,7 @@ def upsert_ai_decompilation_rating( self, function_id: Annotated[StrictInt, Field(description="The ID of the function being rated")], upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2328,6 +2433,8 @@ def upsert_ai_decompilation_rating( :type function_id: int :param upsert_ai_decomplation_rating_request: (required) :type upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2353,6 +2460,7 @@ def upsert_ai_decompilation_rating( _param = self._upsert_ai_decompilation_rating_serialize( function_id=function_id, upsert_ai_decomplation_rating_request=upsert_ai_decomplation_rating_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2379,6 +2487,7 @@ def upsert_ai_decompilation_rating_with_http_info( self, function_id: Annotated[StrictInt, Field(description="The ID of the function being rated")], upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2399,6 +2508,8 @@ def upsert_ai_decompilation_rating_with_http_info( :type function_id: int :param upsert_ai_decomplation_rating_request: (required) :type upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2424,6 +2535,7 @@ def upsert_ai_decompilation_rating_with_http_info( _param = self._upsert_ai_decompilation_rating_serialize( function_id=function_id, upsert_ai_decomplation_rating_request=upsert_ai_decomplation_rating_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2450,6 +2562,7 @@ def upsert_ai_decompilation_rating_without_preload_content( self, function_id: Annotated[StrictInt, Field(description="The ID of the function being rated")], upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2470,6 +2583,8 @@ def upsert_ai_decompilation_rating_without_preload_content( :type function_id: int :param upsert_ai_decomplation_rating_request: (required) :type upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2495,6 +2610,7 @@ def upsert_ai_decompilation_rating_without_preload_content( _param = self._upsert_ai_decompilation_rating_serialize( function_id=function_id, upsert_ai_decomplation_rating_request=upsert_ai_decomplation_rating_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2516,6 +2632,7 @@ def _upsert_ai_decompilation_rating_serialize( self, function_id, upsert_ai_decomplation_rating_request, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/functions_block_comments_api.py b/revengai/api/functions_block_comments_api.py index acc9469..71406d3 100644 --- a/revengai/api/functions_block_comments_api.py +++ b/revengai/api/functions_block_comments_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictInt +from pydantic import StrictInt, StrictStr +from typing import Optional from revengai.models.base_response_block_comments_generation_for_function_response import BaseResponseBlockCommentsGenerationForFunctionResponse from revengai.models.base_response_block_comments_overview_generation_response import BaseResponseBlockCommentsOverviewGenerationResponse from revengai.models.block import Block @@ -43,6 +44,7 @@ def generate_block_comments_for_block_in_function( self, function_id: StrictInt, block: Block, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,6 +65,8 @@ def generate_block_comments_for_block_in_function( :type function_id: int :param block: (required) :type block: Block + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88,6 +92,7 @@ def generate_block_comments_for_block_in_function( _param = self._generate_block_comments_for_block_in_function_serialize( function_id=function_id, block=block, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114,6 +119,7 @@ def generate_block_comments_for_block_in_function_with_http_info( self, function_id: StrictInt, block: Block, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134,6 +140,8 @@ def generate_block_comments_for_block_in_function_with_http_info( :type function_id: int :param block: (required) :type block: Block + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -159,6 +167,7 @@ def generate_block_comments_for_block_in_function_with_http_info( _param = self._generate_block_comments_for_block_in_function_serialize( function_id=function_id, block=block, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -185,6 +194,7 @@ def generate_block_comments_for_block_in_function_without_preload_content( self, function_id: StrictInt, block: Block, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -205,6 +215,8 @@ def generate_block_comments_for_block_in_function_without_preload_content( :type function_id: int :param block: (required) :type block: Block + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -230,6 +242,7 @@ def generate_block_comments_for_block_in_function_without_preload_content( _param = self._generate_block_comments_for_block_in_function_serialize( function_id=function_id, block=block, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -251,6 +264,7 @@ def _generate_block_comments_for_block_in_function_serialize( self, function_id, block, + api_key, _request_auth, _content_type, _headers, @@ -331,6 +345,7 @@ def _generate_block_comments_for_block_in_function_serialize( def generate_block_comments_for_function( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -349,6 +364,8 @@ def generate_block_comments_for_function( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -373,6 +390,7 @@ def generate_block_comments_for_function( _param = self._generate_block_comments_for_function_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -398,6 +416,7 @@ def generate_block_comments_for_function( def generate_block_comments_for_function_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -416,6 +435,8 @@ def generate_block_comments_for_function_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -440,6 +461,7 @@ def generate_block_comments_for_function_with_http_info( _param = self._generate_block_comments_for_function_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -465,6 +487,7 @@ def generate_block_comments_for_function_with_http_info( def generate_block_comments_for_function_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -483,6 +506,8 @@ def generate_block_comments_for_function_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -507,6 +532,7 @@ def generate_block_comments_for_function_without_preload_content( _param = self._generate_block_comments_for_function_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -527,6 +553,7 @@ def generate_block_comments_for_function_without_preload_content( def _generate_block_comments_for_function_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -592,6 +619,7 @@ def _generate_block_comments_for_function_serialize( def generate_overview_comment_for_function( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -610,6 +638,8 @@ def generate_overview_comment_for_function( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -634,6 +664,7 @@ def generate_overview_comment_for_function( _param = self._generate_overview_comment_for_function_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -659,6 +690,7 @@ def generate_overview_comment_for_function( def generate_overview_comment_for_function_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -677,6 +709,8 @@ def generate_overview_comment_for_function_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -701,6 +735,7 @@ def generate_overview_comment_for_function_with_http_info( _param = self._generate_overview_comment_for_function_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -726,6 +761,7 @@ def generate_overview_comment_for_function_with_http_info( def generate_overview_comment_for_function_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -744,6 +780,8 @@ def generate_overview_comment_for_function_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -768,6 +806,7 @@ def generate_overview_comment_for_function_without_preload_content( _param = self._generate_overview_comment_for_function_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -788,6 +827,7 @@ def generate_overview_comment_for_function_without_preload_content( def _generate_overview_comment_for_function_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/functions_core_api.py b/revengai/api/functions_core_api.py index 216995a..cb1d587 100644 --- a/revengai/api/functions_core_api.py +++ b/revengai/api/functions_core_api.py @@ -54,6 +54,7 @@ def ai_unstrip( self, analysis_id: StrictInt, ai_unstrip_request: AiUnstripRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75,6 +76,8 @@ def ai_unstrip( :type analysis_id: int :param ai_unstrip_request: (required) :type ai_unstrip_request: AiUnstripRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100,6 +103,7 @@ def ai_unstrip( _param = self._ai_unstrip_serialize( analysis_id=analysis_id, ai_unstrip_request=ai_unstrip_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126,6 +130,7 @@ def ai_unstrip_with_http_info( self, analysis_id: StrictInt, ai_unstrip_request: AiUnstripRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -147,6 +152,8 @@ def ai_unstrip_with_http_info( :type analysis_id: int :param ai_unstrip_request: (required) :type ai_unstrip_request: AiUnstripRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -172,6 +179,7 @@ def ai_unstrip_with_http_info( _param = self._ai_unstrip_serialize( analysis_id=analysis_id, ai_unstrip_request=ai_unstrip_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -198,6 +206,7 @@ def ai_unstrip_without_preload_content( self, analysis_id: StrictInt, ai_unstrip_request: AiUnstripRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -219,6 +228,8 @@ def ai_unstrip_without_preload_content( :type analysis_id: int :param ai_unstrip_request: (required) :type ai_unstrip_request: AiUnstripRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -244,6 +255,7 @@ def ai_unstrip_without_preload_content( _param = self._ai_unstrip_serialize( analysis_id=analysis_id, ai_unstrip_request=ai_unstrip_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -265,6 +277,7 @@ def _ai_unstrip_serialize( self, analysis_id, ai_unstrip_request, + api_key, _request_auth, _content_type, _headers, @@ -346,6 +359,7 @@ def analysis_function_matching( self, analysis_id: StrictInt, analysis_function_matching_request: AnalysisFunctionMatchingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -367,6 +381,8 @@ def analysis_function_matching( :type analysis_id: int :param analysis_function_matching_request: (required) :type analysis_function_matching_request: AnalysisFunctionMatchingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -392,6 +408,7 @@ def analysis_function_matching( _param = self._analysis_function_matching_serialize( analysis_id=analysis_id, analysis_function_matching_request=analysis_function_matching_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -418,6 +435,7 @@ def analysis_function_matching_with_http_info( self, analysis_id: StrictInt, analysis_function_matching_request: AnalysisFunctionMatchingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -439,6 +457,8 @@ def analysis_function_matching_with_http_info( :type analysis_id: int :param analysis_function_matching_request: (required) :type analysis_function_matching_request: AnalysisFunctionMatchingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -464,6 +484,7 @@ def analysis_function_matching_with_http_info( _param = self._analysis_function_matching_serialize( analysis_id=analysis_id, analysis_function_matching_request=analysis_function_matching_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -490,6 +511,7 @@ def analysis_function_matching_without_preload_content( self, analysis_id: StrictInt, analysis_function_matching_request: AnalysisFunctionMatchingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -511,6 +533,8 @@ def analysis_function_matching_without_preload_content( :type analysis_id: int :param analysis_function_matching_request: (required) :type analysis_function_matching_request: AnalysisFunctionMatchingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -536,6 +560,7 @@ def analysis_function_matching_without_preload_content( _param = self._analysis_function_matching_serialize( analysis_id=analysis_id, analysis_function_matching_request=analysis_function_matching_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -557,6 +582,7 @@ def _analysis_function_matching_serialize( self, analysis_id, analysis_function_matching_request, + api_key, _request_auth, _content_type, _headers, @@ -638,6 +664,7 @@ def auto_unstrip( self, analysis_id: StrictInt, auto_unstrip_request: AutoUnstripRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -659,6 +686,8 @@ def auto_unstrip( :type analysis_id: int :param auto_unstrip_request: (required) :type auto_unstrip_request: AutoUnstripRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -684,6 +713,7 @@ def auto_unstrip( _param = self._auto_unstrip_serialize( analysis_id=analysis_id, auto_unstrip_request=auto_unstrip_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -710,6 +740,7 @@ def auto_unstrip_with_http_info( self, analysis_id: StrictInt, auto_unstrip_request: AutoUnstripRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -731,6 +762,8 @@ def auto_unstrip_with_http_info( :type analysis_id: int :param auto_unstrip_request: (required) :type auto_unstrip_request: AutoUnstripRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -756,6 +789,7 @@ def auto_unstrip_with_http_info( _param = self._auto_unstrip_serialize( analysis_id=analysis_id, auto_unstrip_request=auto_unstrip_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -782,6 +816,7 @@ def auto_unstrip_without_preload_content( self, analysis_id: StrictInt, auto_unstrip_request: AutoUnstripRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -803,6 +838,8 @@ def auto_unstrip_without_preload_content( :type analysis_id: int :param auto_unstrip_request: (required) :type auto_unstrip_request: AutoUnstripRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -828,6 +865,7 @@ def auto_unstrip_without_preload_content( _param = self._auto_unstrip_serialize( analysis_id=analysis_id, auto_unstrip_request=auto_unstrip_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -849,6 +887,7 @@ def _auto_unstrip_serialize( self, analysis_id, auto_unstrip_request, + api_key, _request_auth, _content_type, _headers, @@ -929,6 +968,7 @@ def _auto_unstrip_serialize( def batch_function_matching( self, function_matching_request: FunctionMatchingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -948,6 +988,8 @@ def batch_function_matching( :param function_matching_request: (required) :type function_matching_request: FunctionMatchingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -972,6 +1014,7 @@ def batch_function_matching( _param = self._batch_function_matching_serialize( function_matching_request=function_matching_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -997,6 +1040,7 @@ def batch_function_matching( def batch_function_matching_with_http_info( self, function_matching_request: FunctionMatchingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1016,6 +1060,8 @@ def batch_function_matching_with_http_info( :param function_matching_request: (required) :type function_matching_request: FunctionMatchingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1040,6 +1086,7 @@ def batch_function_matching_with_http_info( _param = self._batch_function_matching_serialize( function_matching_request=function_matching_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1065,6 +1112,7 @@ def batch_function_matching_with_http_info( def batch_function_matching_without_preload_content( self, function_matching_request: FunctionMatchingRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1084,6 +1132,8 @@ def batch_function_matching_without_preload_content( :param function_matching_request: (required) :type function_matching_request: FunctionMatchingRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1108,6 +1158,7 @@ def batch_function_matching_without_preload_content( _param = self._batch_function_matching_serialize( function_matching_request=function_matching_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1128,6 +1179,7 @@ def batch_function_matching_without_preload_content( def _batch_function_matching_serialize( self, function_matching_request, + api_key, _request_auth, _content_type, _headers, @@ -1206,6 +1258,7 @@ def _batch_function_matching_serialize( def cancel_ai_unstrip( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1225,6 +1278,8 @@ def cancel_ai_unstrip( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1249,6 +1304,7 @@ def cancel_ai_unstrip( _param = self._cancel_ai_unstrip_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1274,6 +1330,7 @@ def cancel_ai_unstrip( def cancel_ai_unstrip_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1293,6 +1350,8 @@ def cancel_ai_unstrip_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1317,6 +1376,7 @@ def cancel_ai_unstrip_with_http_info( _param = self._cancel_ai_unstrip_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1342,6 +1402,7 @@ def cancel_ai_unstrip_with_http_info( def cancel_ai_unstrip_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1361,6 +1422,8 @@ def cancel_ai_unstrip_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1385,6 +1448,7 @@ def cancel_ai_unstrip_without_preload_content( _param = self._cancel_ai_unstrip_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1405,6 +1469,7 @@ def cancel_ai_unstrip_without_preload_content( def _cancel_ai_unstrip_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1470,6 +1535,7 @@ def _cancel_ai_unstrip_serialize( def cancel_auto_unstrip( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1489,6 +1555,8 @@ def cancel_auto_unstrip( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1513,6 +1581,7 @@ def cancel_auto_unstrip( _param = self._cancel_auto_unstrip_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1538,6 +1607,7 @@ def cancel_auto_unstrip( def cancel_auto_unstrip_with_http_info( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1557,6 +1627,8 @@ def cancel_auto_unstrip_with_http_info( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1581,6 +1653,7 @@ def cancel_auto_unstrip_with_http_info( _param = self._cancel_auto_unstrip_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1606,6 +1679,7 @@ def cancel_auto_unstrip_with_http_info( def cancel_auto_unstrip_without_preload_content( self, analysis_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1625,6 +1699,8 @@ def cancel_auto_unstrip_without_preload_content( :param analysis_id: (required) :type analysis_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1649,6 +1725,7 @@ def cancel_auto_unstrip_without_preload_content( _param = self._cancel_auto_unstrip_serialize( analysis_id=analysis_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1669,6 +1746,7 @@ def cancel_auto_unstrip_without_preload_content( def _cancel_auto_unstrip_serialize( self, analysis_id, + api_key, _request_auth, _content_type, _headers, @@ -1738,6 +1816,7 @@ def get_analysis_strings( page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, search: Annotated[Optional[StrictStr], Field(description="Search is applied to string value")] = None, function_search: Annotated[Optional[StrictStr], Field(description="Search is applied to function names")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1765,6 +1844,8 @@ def get_analysis_strings( :type search: str :param function_search: Search is applied to function names :type function_search: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1793,6 +1874,7 @@ def get_analysis_strings( page_size=page_size, search=search, function_search=function_search, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1822,6 +1904,7 @@ def get_analysis_strings_with_http_info( page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, search: Annotated[Optional[StrictStr], Field(description="Search is applied to string value")] = None, function_search: Annotated[Optional[StrictStr], Field(description="Search is applied to function names")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1849,6 +1932,8 @@ def get_analysis_strings_with_http_info( :type search: str :param function_search: Search is applied to function names :type function_search: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1877,6 +1962,7 @@ def get_analysis_strings_with_http_info( page_size=page_size, search=search, function_search=function_search, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1906,6 +1992,7 @@ def get_analysis_strings_without_preload_content( page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, search: Annotated[Optional[StrictStr], Field(description="Search is applied to string value")] = None, function_search: Annotated[Optional[StrictStr], Field(description="Search is applied to function names")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1933,6 +2020,8 @@ def get_analysis_strings_without_preload_content( :type search: str :param function_search: Search is applied to function names :type function_search: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1961,6 +2050,7 @@ def get_analysis_strings_without_preload_content( page_size=page_size, search=search, function_search=function_search, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1985,6 +2075,7 @@ def _get_analysis_strings_serialize( page_size, search, function_search, + api_key, _request_auth, _content_type, _headers, @@ -2066,6 +2157,7 @@ def _get_analysis_strings_serialize( def get_function_blocks( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2085,6 +2177,8 @@ def get_function_blocks( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2109,6 +2203,7 @@ def get_function_blocks( _param = self._get_function_blocks_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2135,6 +2230,7 @@ def get_function_blocks( def get_function_blocks_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2154,6 +2250,8 @@ def get_function_blocks_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2178,6 +2276,7 @@ def get_function_blocks_with_http_info( _param = self._get_function_blocks_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2204,6 +2303,7 @@ def get_function_blocks_with_http_info( def get_function_blocks_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2223,6 +2323,8 @@ def get_function_blocks_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2247,6 +2349,7 @@ def get_function_blocks_without_preload_content( _param = self._get_function_blocks_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2268,6 +2371,7 @@ def get_function_blocks_without_preload_content( def _get_function_blocks_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -2333,6 +2437,7 @@ def _get_function_blocks_serialize( def get_function_callees_callers( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2351,6 +2456,8 @@ def get_function_callees_callers( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2375,6 +2482,7 @@ def get_function_callees_callers( _param = self._get_function_callees_callers_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2400,6 +2508,7 @@ def get_function_callees_callers( def get_function_callees_callers_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2418,6 +2527,8 @@ def get_function_callees_callers_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2442,6 +2553,7 @@ def get_function_callees_callers_with_http_info( _param = self._get_function_callees_callers_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2467,6 +2579,7 @@ def get_function_callees_callers_with_http_info( def get_function_callees_callers_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2485,6 +2598,8 @@ def get_function_callees_callers_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2509,6 +2624,7 @@ def get_function_callees_callers_without_preload_content( _param = self._get_function_callees_callers_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2529,6 +2645,7 @@ def get_function_callees_callers_without_preload_content( def _get_function_callees_callers_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -2594,6 +2711,7 @@ def _get_function_callees_callers_serialize( def get_function_capabilities( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2612,6 +2730,8 @@ def get_function_capabilities( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2636,6 +2756,7 @@ def get_function_capabilities( _param = self._get_function_capabilities_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2662,6 +2783,7 @@ def get_function_capabilities( def get_function_capabilities_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2680,6 +2802,8 @@ def get_function_capabilities_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2704,6 +2828,7 @@ def get_function_capabilities_with_http_info( _param = self._get_function_capabilities_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2730,6 +2855,7 @@ def get_function_capabilities_with_http_info( def get_function_capabilities_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2748,6 +2874,8 @@ def get_function_capabilities_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2772,6 +2900,7 @@ def get_function_capabilities_without_preload_content( _param = self._get_function_capabilities_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2793,6 +2922,7 @@ def get_function_capabilities_without_preload_content( def _get_function_capabilities_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -2858,6 +2988,7 @@ def _get_function_capabilities_serialize( def get_function_details( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2876,6 +3007,8 @@ def get_function_details( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2900,6 +3033,7 @@ def get_function_details( _param = self._get_function_details_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2925,6 +3059,7 @@ def get_function_details( def get_function_details_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2943,6 +3078,8 @@ def get_function_details_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2967,6 +3104,7 @@ def get_function_details_with_http_info( _param = self._get_function_details_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2992,6 +3130,7 @@ def get_function_details_with_http_info( def get_function_details_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3010,6 +3149,8 @@ def get_function_details_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3034,6 +3175,7 @@ def get_function_details_without_preload_content( _param = self._get_function_details_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3054,6 +3196,7 @@ def get_function_details_without_preload_content( def _get_function_details_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -3122,6 +3265,7 @@ def get_function_strings( page: Annotated[Optional[Annotated[int, Field(le=100000, strict=True, ge=1)]], Field(description="The page number to retrieve.")] = None, page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, search: Annotated[Optional[StrictStr], Field(description="Search is applied to string value")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3147,6 +3291,8 @@ def get_function_strings( :type page_size: int :param search: Search is applied to string value :type search: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3174,6 +3320,7 @@ def get_function_strings( page=page, page_size=page_size, search=search, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3202,6 +3349,7 @@ def get_function_strings_with_http_info( page: Annotated[Optional[Annotated[int, Field(le=100000, strict=True, ge=1)]], Field(description="The page number to retrieve.")] = None, page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, search: Annotated[Optional[StrictStr], Field(description="Search is applied to string value")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3227,6 +3375,8 @@ def get_function_strings_with_http_info( :type page_size: int :param search: Search is applied to string value :type search: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3254,6 +3404,7 @@ def get_function_strings_with_http_info( page=page, page_size=page_size, search=search, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3282,6 +3433,7 @@ def get_function_strings_without_preload_content( page: Annotated[Optional[Annotated[int, Field(le=100000, strict=True, ge=1)]], Field(description="The page number to retrieve.")] = None, page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, search: Annotated[Optional[StrictStr], Field(description="Search is applied to string value")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3307,6 +3459,8 @@ def get_function_strings_without_preload_content( :type page_size: int :param search: Search is applied to string value :type search: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3334,6 +3488,7 @@ def get_function_strings_without_preload_content( page=page, page_size=page_size, search=search, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3357,6 +3512,7 @@ def _get_function_strings_serialize( page, page_size, search, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/functions_data_types_api.py b/revengai/api/functions_data_types_api.py index f2b24c3..fb9261a 100644 --- a/revengai/api/functions_data_types_api.py +++ b/revengai/api/functions_data_types_api.py @@ -15,7 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictInt +from pydantic import StrictInt, StrictStr from typing import List, Optional from revengai.models.base_response_function_data_types import BaseResponseFunctionDataTypes from revengai.models.base_response_function_data_types_list import BaseResponseFunctionDataTypesList @@ -47,6 +47,7 @@ def generate_function_data_types_for_analysis( self, analysis_id: StrictInt, function_data_types_params: FunctionDataTypesParams, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68,6 +69,8 @@ def generate_function_data_types_for_analysis( :type analysis_id: int :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93,6 +96,7 @@ def generate_function_data_types_for_analysis( _param = self._generate_function_data_types_for_analysis_serialize( analysis_id=analysis_id, function_data_types_params=function_data_types_params, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119,6 +123,7 @@ def generate_function_data_types_for_analysis_with_http_info( self, analysis_id: StrictInt, function_data_types_params: FunctionDataTypesParams, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140,6 +145,8 @@ def generate_function_data_types_for_analysis_with_http_info( :type analysis_id: int :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -165,6 +172,7 @@ def generate_function_data_types_for_analysis_with_http_info( _param = self._generate_function_data_types_for_analysis_serialize( analysis_id=analysis_id, function_data_types_params=function_data_types_params, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -191,6 +199,7 @@ def generate_function_data_types_for_analysis_without_preload_content( self, analysis_id: StrictInt, function_data_types_params: FunctionDataTypesParams, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -212,6 +221,8 @@ def generate_function_data_types_for_analysis_without_preload_content( :type analysis_id: int :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -237,6 +248,7 @@ def generate_function_data_types_for_analysis_without_preload_content( _param = self._generate_function_data_types_for_analysis_serialize( analysis_id=analysis_id, function_data_types_params=function_data_types_params, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -258,6 +270,7 @@ def _generate_function_data_types_for_analysis_serialize( self, analysis_id, function_data_types_params, + api_key, _request_auth, _content_type, _headers, @@ -338,6 +351,7 @@ def _generate_function_data_types_for_analysis_serialize( def generate_function_data_types_for_functions( self, function_data_types_params: FunctionDataTypesParams, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -357,6 +371,8 @@ def generate_function_data_types_for_functions( :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -381,6 +397,7 @@ def generate_function_data_types_for_functions( _param = self._generate_function_data_types_for_functions_serialize( function_data_types_params=function_data_types_params, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -406,6 +423,7 @@ def generate_function_data_types_for_functions( def generate_function_data_types_for_functions_with_http_info( self, function_data_types_params: FunctionDataTypesParams, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -425,6 +443,8 @@ def generate_function_data_types_for_functions_with_http_info( :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -449,6 +469,7 @@ def generate_function_data_types_for_functions_with_http_info( _param = self._generate_function_data_types_for_functions_serialize( function_data_types_params=function_data_types_params, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -474,6 +495,7 @@ def generate_function_data_types_for_functions_with_http_info( def generate_function_data_types_for_functions_without_preload_content( self, function_data_types_params: FunctionDataTypesParams, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -493,6 +515,8 @@ def generate_function_data_types_for_functions_without_preload_content( :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -517,6 +541,7 @@ def generate_function_data_types_for_functions_without_preload_content( _param = self._generate_function_data_types_for_functions_serialize( function_data_types_params=function_data_types_params, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -537,6 +562,7 @@ def generate_function_data_types_for_functions_without_preload_content( def _generate_function_data_types_for_functions_serialize( self, function_data_types_params, + api_key, _request_auth, _content_type, _headers, @@ -616,6 +642,7 @@ def get_function_data_types( self, analysis_id: StrictInt, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -637,6 +664,8 @@ def get_function_data_types( :type analysis_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -662,6 +691,7 @@ def get_function_data_types( _param = self._get_function_data_types_serialize( analysis_id=analysis_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -688,6 +718,7 @@ def get_function_data_types_with_http_info( self, analysis_id: StrictInt, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -709,6 +740,8 @@ def get_function_data_types_with_http_info( :type analysis_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -734,6 +767,7 @@ def get_function_data_types_with_http_info( _param = self._get_function_data_types_serialize( analysis_id=analysis_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -760,6 +794,7 @@ def get_function_data_types_without_preload_content( self, analysis_id: StrictInt, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -781,6 +816,8 @@ def get_function_data_types_without_preload_content( :type analysis_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -806,6 +843,7 @@ def get_function_data_types_without_preload_content( _param = self._get_function_data_types_serialize( analysis_id=analysis_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -827,6 +865,7 @@ def _get_function_data_types_serialize( self, analysis_id, function_id, + api_key, _request_auth, _content_type, _headers, @@ -895,6 +934,7 @@ def list_function_data_types_for_analysis( self, analysis_id: StrictInt, function_ids: Optional[List[Optional[StrictInt]]] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -916,6 +956,8 @@ def list_function_data_types_for_analysis( :type analysis_id: int :param function_ids: :type function_ids: List[Optional[int]] + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -941,6 +983,7 @@ def list_function_data_types_for_analysis( _param = self._list_function_data_types_for_analysis_serialize( analysis_id=analysis_id, function_ids=function_ids, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -967,6 +1010,7 @@ def list_function_data_types_for_analysis_with_http_info( self, analysis_id: StrictInt, function_ids: Optional[List[Optional[StrictInt]]] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -988,6 +1032,8 @@ def list_function_data_types_for_analysis_with_http_info( :type analysis_id: int :param function_ids: :type function_ids: List[Optional[int]] + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1013,6 +1059,7 @@ def list_function_data_types_for_analysis_with_http_info( _param = self._list_function_data_types_for_analysis_serialize( analysis_id=analysis_id, function_ids=function_ids, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1039,6 +1086,7 @@ def list_function_data_types_for_analysis_without_preload_content( self, analysis_id: StrictInt, function_ids: Optional[List[Optional[StrictInt]]] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1060,6 +1108,8 @@ def list_function_data_types_for_analysis_without_preload_content( :type analysis_id: int :param function_ids: :type function_ids: List[Optional[int]] + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1085,6 +1135,7 @@ def list_function_data_types_for_analysis_without_preload_content( _param = self._list_function_data_types_for_analysis_serialize( analysis_id=analysis_id, function_ids=function_ids, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1106,6 +1157,7 @@ def _list_function_data_types_for_analysis_serialize( self, analysis_id, function_ids, + api_key, _request_auth, _content_type, _headers, @@ -1176,6 +1228,7 @@ def _list_function_data_types_for_analysis_serialize( def list_function_data_types_for_functions( self, function_ids: Optional[List[Optional[StrictInt]]] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1195,6 +1248,8 @@ def list_function_data_types_for_functions( :param function_ids: :type function_ids: List[Optional[int]] + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1219,6 +1274,7 @@ def list_function_data_types_for_functions( _param = self._list_function_data_types_for_functions_serialize( function_ids=function_ids, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1244,6 +1300,7 @@ def list_function_data_types_for_functions( def list_function_data_types_for_functions_with_http_info( self, function_ids: Optional[List[Optional[StrictInt]]] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1263,6 +1320,8 @@ def list_function_data_types_for_functions_with_http_info( :param function_ids: :type function_ids: List[Optional[int]] + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1287,6 +1346,7 @@ def list_function_data_types_for_functions_with_http_info( _param = self._list_function_data_types_for_functions_serialize( function_ids=function_ids, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1312,6 +1372,7 @@ def list_function_data_types_for_functions_with_http_info( def list_function_data_types_for_functions_without_preload_content( self, function_ids: Optional[List[Optional[StrictInt]]] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1331,6 +1392,8 @@ def list_function_data_types_for_functions_without_preload_content( :param function_ids: :type function_ids: List[Optional[int]] + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1355,6 +1418,7 @@ def list_function_data_types_for_functions_without_preload_content( _param = self._list_function_data_types_for_functions_serialize( function_ids=function_ids, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1375,6 +1439,7 @@ def list_function_data_types_for_functions_without_preload_content( def _list_function_data_types_for_functions_serialize( self, function_ids, + api_key, _request_auth, _content_type, _headers, @@ -1445,6 +1510,7 @@ def update_function_data_types( analysis_id: StrictInt, function_id: StrictInt, update_function_data_types: UpdateFunctionDataTypes, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1468,6 +1534,8 @@ def update_function_data_types( :type function_id: int :param update_function_data_types: (required) :type update_function_data_types: UpdateFunctionDataTypes + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1494,6 +1562,7 @@ def update_function_data_types( analysis_id=analysis_id, function_id=function_id, update_function_data_types=update_function_data_types, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1521,6 +1590,7 @@ def update_function_data_types_with_http_info( analysis_id: StrictInt, function_id: StrictInt, update_function_data_types: UpdateFunctionDataTypes, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1544,6 +1614,8 @@ def update_function_data_types_with_http_info( :type function_id: int :param update_function_data_types: (required) :type update_function_data_types: UpdateFunctionDataTypes + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1570,6 +1642,7 @@ def update_function_data_types_with_http_info( analysis_id=analysis_id, function_id=function_id, update_function_data_types=update_function_data_types, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1597,6 +1670,7 @@ def update_function_data_types_without_preload_content( analysis_id: StrictInt, function_id: StrictInt, update_function_data_types: UpdateFunctionDataTypes, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1620,6 +1694,8 @@ def update_function_data_types_without_preload_content( :type function_id: int :param update_function_data_types: (required) :type update_function_data_types: UpdateFunctionDataTypes + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1646,6 +1722,7 @@ def update_function_data_types_without_preload_content( analysis_id=analysis_id, function_id=function_id, update_function_data_types=update_function_data_types, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1668,6 +1745,7 @@ def _update_function_data_types_serialize( analysis_id, function_id, update_function_data_types, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/functions_decompilation_api.py b/revengai/api/functions_decompilation_api.py index fce3800..6a25575 100644 --- a/revengai/api/functions_decompilation_api.py +++ b/revengai/api/functions_decompilation_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt +from pydantic import Field, StrictInt, StrictStr +from typing import Optional from typing_extensions import Annotated from revengai.models.base_response_bool import BaseResponseBool from revengai.models.base_response_comment_response import BaseResponseCommentResponse @@ -46,6 +47,7 @@ def create_decompilation_comment( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67,6 +69,8 @@ def create_decompilation_comment( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92,6 +96,7 @@ def create_decompilation_comment( _param = self._create_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119,6 +124,7 @@ def create_decompilation_comment_with_http_info( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140,6 +146,8 @@ def create_decompilation_comment_with_http_info( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -165,6 +173,7 @@ def create_decompilation_comment_with_http_info( _param = self._create_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -192,6 +201,7 @@ def create_decompilation_comment_without_preload_content( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -213,6 +223,8 @@ def create_decompilation_comment_without_preload_content( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -238,6 +250,7 @@ def create_decompilation_comment_without_preload_content( _param = self._create_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -260,6 +273,7 @@ def _create_decompilation_comment_serialize( self, function_id, function_comment_create_request, + api_key, _request_auth, _content_type, _headers, @@ -341,6 +355,7 @@ def delete_decompilation_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -362,6 +377,8 @@ def delete_decompilation_comment( :type comment_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -387,6 +404,7 @@ def delete_decompilation_comment( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -415,6 +433,7 @@ def delete_decompilation_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -436,6 +455,8 @@ def delete_decompilation_comment_with_http_info( :type comment_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -461,6 +482,7 @@ def delete_decompilation_comment_with_http_info( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -489,6 +511,7 @@ def delete_decompilation_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -510,6 +533,8 @@ def delete_decompilation_comment_without_preload_content( :type comment_id: int :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -535,6 +560,7 @@ def delete_decompilation_comment_without_preload_content( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -558,6 +584,7 @@ def _delete_decompilation_comment_serialize( self, comment_id, function_id, + api_key, _request_auth, _content_type, _headers, @@ -625,6 +652,7 @@ def _delete_decompilation_comment_serialize( def get_decompilation_comments( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -644,6 +672,8 @@ def get_decompilation_comments( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -668,6 +698,7 @@ def get_decompilation_comments( _param = self._get_decompilation_comments_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -693,6 +724,7 @@ def get_decompilation_comments( def get_decompilation_comments_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -712,6 +744,8 @@ def get_decompilation_comments_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -736,6 +770,7 @@ def get_decompilation_comments_with_http_info( _param = self._get_decompilation_comments_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -761,6 +796,7 @@ def get_decompilation_comments_with_http_info( def get_decompilation_comments_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -780,6 +816,8 @@ def get_decompilation_comments_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -804,6 +842,7 @@ def get_decompilation_comments_without_preload_content( _param = self._get_decompilation_comments_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -824,6 +863,7 @@ def get_decompilation_comments_without_preload_content( def _get_decompilation_comments_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -891,6 +931,7 @@ def update_decompilation_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -914,6 +955,8 @@ def update_decompilation_comment( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -940,6 +983,7 @@ def update_decompilation_comment( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -969,6 +1013,7 @@ def update_decompilation_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -992,6 +1037,8 @@ def update_decompilation_comment_with_http_info( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1018,6 +1065,7 @@ def update_decompilation_comment_with_http_info( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1047,6 +1095,7 @@ def update_decompilation_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1070,6 +1119,8 @@ def update_decompilation_comment_without_preload_content( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1096,6 +1147,7 @@ def update_decompilation_comment_without_preload_content( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1120,6 +1172,7 @@ def _update_decompilation_comment_serialize( comment_id, function_id, comment_update_request, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/functions_renaming_history_api.py b/revengai/api/functions_renaming_history_api.py index a2c04c5..1be989f 100644 --- a/revengai/api/functions_renaming_history_api.py +++ b/revengai/api/functions_renaming_history_api.py @@ -15,7 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import StrictInt +from pydantic import StrictInt, StrictStr +from typing import Optional from revengai.models.base_response import BaseResponse from revengai.models.base_response_list_function_name_history import BaseResponseListFunctionNameHistory from revengai.models.function_rename import FunctionRename @@ -43,6 +44,7 @@ def __init__(self, api_client=None) -> None: def batch_rename_function( self, functions_list_rename: FunctionsListRename, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62,6 +64,8 @@ def batch_rename_function( :param functions_list_rename: (required) :type functions_list_rename: FunctionsListRename + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86,6 +90,7 @@ def batch_rename_function( _param = self._batch_rename_function_serialize( functions_list_rename=functions_list_rename, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111,6 +116,7 @@ def batch_rename_function( def batch_rename_function_with_http_info( self, functions_list_rename: FunctionsListRename, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130,6 +136,8 @@ def batch_rename_function_with_http_info( :param functions_list_rename: (required) :type functions_list_rename: FunctionsListRename + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -154,6 +162,7 @@ def batch_rename_function_with_http_info( _param = self._batch_rename_function_serialize( functions_list_rename=functions_list_rename, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -179,6 +188,7 @@ def batch_rename_function_with_http_info( def batch_rename_function_without_preload_content( self, functions_list_rename: FunctionsListRename, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -198,6 +208,8 @@ def batch_rename_function_without_preload_content( :param functions_list_rename: (required) :type functions_list_rename: FunctionsListRename + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -222,6 +234,7 @@ def batch_rename_function_without_preload_content( _param = self._batch_rename_function_serialize( functions_list_rename=functions_list_rename, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -242,6 +255,7 @@ def batch_rename_function_without_preload_content( def _batch_rename_function_serialize( self, functions_list_rename, + api_key, _request_auth, _content_type, _headers, @@ -320,6 +334,7 @@ def _batch_rename_function_serialize( def get_function_name_history( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -339,6 +354,8 @@ def get_function_name_history( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -363,6 +380,7 @@ def get_function_name_history( _param = self._get_function_name_history_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -388,6 +406,7 @@ def get_function_name_history( def get_function_name_history_with_http_info( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -407,6 +426,8 @@ def get_function_name_history_with_http_info( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -431,6 +452,7 @@ def get_function_name_history_with_http_info( _param = self._get_function_name_history_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -456,6 +478,7 @@ def get_function_name_history_with_http_info( def get_function_name_history_without_preload_content( self, function_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -475,6 +498,8 @@ def get_function_name_history_without_preload_content( :param function_id: (required) :type function_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -499,6 +524,7 @@ def get_function_name_history_without_preload_content( _param = self._get_function_name_history_serialize( function_id=function_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -519,6 +545,7 @@ def get_function_name_history_without_preload_content( def _get_function_name_history_serialize( self, function_id, + api_key, _request_auth, _content_type, _headers, @@ -585,6 +612,7 @@ def rename_function_id( self, function_id: StrictInt, function_rename: FunctionRename, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -606,6 +634,8 @@ def rename_function_id( :type function_id: int :param function_rename: (required) :type function_rename: FunctionRename + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -631,6 +661,7 @@ def rename_function_id( _param = self._rename_function_id_serialize( function_id=function_id, function_rename=function_rename, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -657,6 +688,7 @@ def rename_function_id_with_http_info( self, function_id: StrictInt, function_rename: FunctionRename, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -678,6 +710,8 @@ def rename_function_id_with_http_info( :type function_id: int :param function_rename: (required) :type function_rename: FunctionRename + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -703,6 +737,7 @@ def rename_function_id_with_http_info( _param = self._rename_function_id_serialize( function_id=function_id, function_rename=function_rename, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -729,6 +764,7 @@ def rename_function_id_without_preload_content( self, function_id: StrictInt, function_rename: FunctionRename, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -750,6 +786,8 @@ def rename_function_id_without_preload_content( :type function_id: int :param function_rename: (required) :type function_rename: FunctionRename + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -775,6 +813,7 @@ def rename_function_id_without_preload_content( _param = self._rename_function_id_serialize( function_id=function_id, function_rename=function_rename, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -796,6 +835,7 @@ def _rename_function_id_serialize( self, function_id, function_rename, + api_key, _request_auth, _content_type, _headers, @@ -877,6 +917,7 @@ def revert_function_name( self, function_id: StrictInt, history_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -898,6 +939,8 @@ def revert_function_name( :type function_id: int :param history_id: (required) :type history_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -923,6 +966,7 @@ def revert_function_name( _param = self._revert_function_name_serialize( function_id=function_id, history_id=history_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -949,6 +993,7 @@ def revert_function_name_with_http_info( self, function_id: StrictInt, history_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -970,6 +1015,8 @@ def revert_function_name_with_http_info( :type function_id: int :param history_id: (required) :type history_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -995,6 +1042,7 @@ def revert_function_name_with_http_info( _param = self._revert_function_name_serialize( function_id=function_id, history_id=history_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1021,6 +1069,7 @@ def revert_function_name_without_preload_content( self, function_id: StrictInt, history_id: StrictInt, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1042,6 +1091,8 @@ def revert_function_name_without_preload_content( :type function_id: int :param history_id: (required) :type history_id: int + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1067,6 +1118,7 @@ def revert_function_name_without_preload_content( _param = self._revert_function_name_serialize( function_id=function_id, history_id=history_id, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1088,6 +1140,7 @@ def _revert_function_name_serialize( self, function_id, history_id, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/models_api.py b/revengai/api/models_api.py index f9acec9..c9b1c62 100644 --- a/revengai/api/models_api.py +++ b/revengai/api/models_api.py @@ -15,6 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated +from pydantic import StrictStr +from typing import Optional from revengai.models.base_response_models_response import BaseResponseModelsResponse from revengai.api_client import ApiClient, RequestSerialized @@ -38,6 +40,7 @@ def __init__(self, api_client=None) -> None: @validate_call def get_models( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55,6 +58,8 @@ def get_models( Gets active models available for analysis. + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78,6 +83,7 @@ def get_models( """ # noqa: E501 _param = self._get_models_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102,6 +108,7 @@ def get_models( @validate_call def get_models_with_http_info( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -119,6 +126,8 @@ def get_models_with_http_info( Gets active models available for analysis. + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -142,6 +151,7 @@ def get_models_with_http_info( """ # noqa: E501 _param = self._get_models_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -166,6 +176,7 @@ def get_models_with_http_info( @validate_call def get_models_without_preload_content( self, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -183,6 +194,8 @@ def get_models_without_preload_content( Gets active models available for analysis. + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -206,6 +219,7 @@ def get_models_without_preload_content( """ # noqa: E501 _param = self._get_models_serialize( + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -225,6 +239,7 @@ def get_models_without_preload_content( def _get_models_serialize( self, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api/search_api.py b/revengai/api/search_api.py index 0c04e88..4b10306 100644 --- a/revengai/api/search_api.py +++ b/revengai/api/search_api.py @@ -54,6 +54,7 @@ def search_binaries( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, user_files_only: Annotated[Optional[StrictBool], Field(description="Whether to only search user's uploaded files")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85,6 +86,8 @@ def search_binaries( :type model_name: str :param user_files_only: Whether to only search user's uploaded files :type user_files_only: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115,6 +118,7 @@ def search_binaries( tags=tags, model_name=model_name, user_files_only=user_files_only, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -146,6 +150,7 @@ def search_binaries_with_http_info( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, user_files_only: Annotated[Optional[StrictBool], Field(description="Whether to only search user's uploaded files")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -177,6 +182,8 @@ def search_binaries_with_http_info( :type model_name: str :param user_files_only: Whether to only search user's uploaded files :type user_files_only: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -207,6 +214,7 @@ def search_binaries_with_http_info( tags=tags, model_name=model_name, user_files_only=user_files_only, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -238,6 +246,7 @@ def search_binaries_without_preload_content( tags: Annotated[Optional[List[StrictStr]], Field(description="The tags to be searched for")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, user_files_only: Annotated[Optional[StrictBool], Field(description="Whether to only search user's uploaded files")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -269,6 +278,8 @@ def search_binaries_without_preload_content( :type model_name: str :param user_files_only: Whether to only search user's uploaded files :type user_files_only: bool + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -299,6 +310,7 @@ def search_binaries_without_preload_content( tags=tags, model_name=model_name, user_files_only=user_files_only, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -325,6 +337,7 @@ def _search_binaries_serialize( tags, model_name, user_files_only, + api_key, _request_auth, _content_type, _headers, @@ -426,6 +439,7 @@ def search_collections( filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None, order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None, order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -463,6 +477,8 @@ def search_collections( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order_by_direction: The order direction in which to return results :type order_by_direction: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -496,6 +512,7 @@ def search_collections( filters=filters, order_by=order_by, order_by_direction=order_by_direction, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -531,6 +548,7 @@ def search_collections_with_http_info( filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None, order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None, order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -568,6 +586,8 @@ def search_collections_with_http_info( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order_by_direction: The order direction in which to return results :type order_by_direction: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -601,6 +621,7 @@ def search_collections_with_http_info( filters=filters, order_by=order_by, order_by_direction=order_by_direction, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -636,6 +657,7 @@ def search_collections_without_preload_content( filters: Annotated[Optional[List[Filters]], Field(description="The filters to be used for the search")] = None, order_by: Annotated[Optional[AppApiRestV2CollectionsEnumsOrderBy], Field(description="The field to sort the order by in the results")] = None, order_by_direction: Annotated[Optional[Order], Field(description="The order direction in which to return results")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -673,6 +695,8 @@ def search_collections_without_preload_content( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order_by_direction: The order direction in which to return results :type order_by_direction: Order + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -706,6 +730,7 @@ def search_collections_without_preload_content( filters=filters, order_by=order_by, order_by_direction=order_by_direction, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -736,6 +761,7 @@ def _search_collections_serialize( filters, order_by, order_by_direction, + api_key, _request_auth, _content_type, _headers, @@ -844,6 +870,7 @@ def search_functions( page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, partial_name: Annotated[Optional[StrictStr], Field(description="The partial or full name of the function being searched")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -869,6 +896,8 @@ def search_functions( :type partial_name: str :param model_name: The name of the model used to analyze the binary the function belongs to :type model_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -896,6 +925,7 @@ def search_functions( page_size=page_size, partial_name=partial_name, model_name=model_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -924,6 +954,7 @@ def search_functions_with_http_info( page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, partial_name: Annotated[Optional[StrictStr], Field(description="The partial or full name of the function being searched")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -949,6 +980,8 @@ def search_functions_with_http_info( :type partial_name: str :param model_name: The name of the model used to analyze the binary the function belongs to :type model_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -976,6 +1009,7 @@ def search_functions_with_http_info( page_size=page_size, partial_name=partial_name, model_name=model_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1004,6 +1038,7 @@ def search_functions_without_preload_content( page_size: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Number of items per page.")] = None, partial_name: Annotated[Optional[StrictStr], Field(description="The partial or full name of the function being searched")] = None, model_name: Annotated[Optional[StrictStr], Field(description="The name of the model used to analyze the binary the function belongs to")] = None, + api_key: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1029,6 +1064,8 @@ def search_functions_without_preload_content( :type partial_name: str :param model_name: The name of the model used to analyze the binary the function belongs to :type model_name: str + :param api_key: + :type api_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1056,6 +1093,7 @@ def search_functions_without_preload_content( page_size=page_size, partial_name=partial_name, model_name=model_name, + api_key=api_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1079,6 +1117,7 @@ def _search_functions_serialize( page_size, partial_name, model_name, + api_key, _request_auth, _content_type, _headers, diff --git a/revengai/api_client.py b/revengai/api_client.py index ec1eeb0..23d2ea3 100644 --- a/revengai/api_client.py +++ b/revengai/api_client.py @@ -90,7 +90,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/v2.37.4/python' + self.user_agent = 'OpenAPI-Generator/v2.38.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/revengai/configuration.py b/revengai/configuration.py index 5c6d65f..ef71c62 100644 --- a/revengai/configuration.py +++ b/revengai/configuration.py @@ -533,8 +533,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v2.37.4\n"\ - "SDK Package Version: v2.37.4".\ + "Version of the API: v2.38.0\n"\ + "SDK Package Version: v2.38.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: