diff --git a/.sdk-version b/.sdk-version index db43cd7..f5d76f3 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v1.94.0 +v1.95.0 diff --git a/docs/AnalysesCommentsApi.md b/docs/AnalysesCommentsApi.md index b885362..efd4245 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, authorization=authorization) +> BaseResponseCommentResponse create_analysis_comment(analysis_id, comment_base) Create a comment for this analysis @@ -51,11 +51,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCommentsApi(api_client) analysis_id = 56 # int | comment_base = revengai.CommentBase() # CommentBase | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Create a comment for this analysis - api_response = api_instance.create_analysis_comment(analysis_id, comment_base, authorization=authorization) + api_response = api_instance.create_analysis_comment(analysis_id, comment_base) print("The response of AnalysesCommentsApi->create_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -71,7 +70,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **comment_base** | [**CommentBase**](CommentBase.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -97,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) # **delete_analysis_comment** -> BaseResponseBool delete_analysis_comment(comment_id, analysis_id, authorization=authorization) +> BaseResponseBool delete_analysis_comment(comment_id, analysis_id) Delete a comment @@ -136,11 +134,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCommentsApi(api_client) comment_id = 56 # int | analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Delete a comment - api_response = api_instance.delete_analysis_comment(comment_id, analysis_id, authorization=authorization) + api_response = api_instance.delete_analysis_comment(comment_id, analysis_id) print("The response of AnalysesCommentsApi->delete_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -156,7 +153,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -183,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_analysis_comments** -> BaseResponseListCommentResponse get_analysis_comments(analysis_id, authorization=authorization) +> BaseResponseListCommentResponse get_analysis_comments(analysis_id) Get comments for this analysis @@ -221,11 +217,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCommentsApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get comments for this analysis - api_response = api_instance.get_analysis_comments(analysis_id, authorization=authorization) + api_response = api_instance.get_analysis_comments(analysis_id) print("The response of AnalysesCommentsApi->get_analysis_comments:\n") pprint(api_response) except Exception as e: @@ -240,7 +235,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -265,7 +259,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, authorization=authorization) +> BaseResponseCommentResponse update_analysis_comment(comment_id, analysis_id, comment_update_request) Update a comment @@ -306,11 +300,10 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | analysis_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Update a comment - api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request, authorization=authorization) + api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request) print("The response of AnalysesCommentsApi->update_analysis_comment:\n") pprint(api_response) except Exception as e: @@ -327,7 +320,6 @@ Name | Type | Description | Notes **comment_id** | **int**| | **analysis_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/AnalysesCoreApi.md b/docs/AnalysesCoreApi.md index 4e0d76f..499a01c 100644 --- a/docs/AnalysesCoreApi.md +++ b/docs/AnalysesCoreApi.md @@ -23,7 +23,7 @@ Method | HTTP request | Description # **batch_symbol_ann** -> FunctionBatchAnn batch_symbol_ann(app_api_rest_v1_ann_schema_ann_function, authorization=authorization) +> FunctionBatchAnn batch_symbol_ann(app_api_rest_v1_ann_schema_ann_function) Batch Symbol ANN using function IDs @@ -62,11 +62,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) app_api_rest_v1_ann_schema_ann_function = revengai.AppApiRestV1AnnSchemaANNFunction() # AppApiRestV1AnnSchemaANNFunction | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Batch Symbol ANN using function IDs - api_response = api_instance.batch_symbol_ann(app_api_rest_v1_ann_schema_ann_function, authorization=authorization) + api_response = api_instance.batch_symbol_ann(app_api_rest_v1_ann_schema_ann_function) print("The response of AnalysesCoreApi->batch_symbol_ann:\n") pprint(api_response) except Exception as e: @@ -81,7 +80,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **app_api_rest_v1_ann_schema_ann_function** | [**AppApiRestV1AnnSchemaANNFunction**](AppApiRestV1AnnSchemaANNFunction.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -106,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) # **create_analysis** -> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request, authorization=authorization) +> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request) Create Analysis @@ -145,11 +143,10 @@ 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 | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Create Analysis - api_response = api_instance.create_analysis(analysis_create_request, authorization=authorization) + api_response = api_instance.create_analysis(analysis_create_request) print("The response of AnalysesCoreApi->create_analysis:\n") pprint(api_response) except Exception as e: @@ -164,7 +161,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_create_request** | [**AnalysisCreateRequest**](AnalysisCreateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -191,7 +187,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, authorization=authorization) +> BaseResponseDict delete_analysis(analysis_id) Delete Analysis @@ -229,11 +225,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Delete Analysis - api_response = api_instance.delete_analysis(analysis_id, authorization=authorization) + api_response = api_instance.delete_analysis(analysis_id) print("The response of AnalysesCoreApi->delete_analysis:\n") pprint(api_response) except Exception as e: @@ -248,7 +243,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -275,7 +269,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) # **find_similar_functions_batch** -> BaseResponseNearestNeighborAnalysis find_similar_functions_batch(analysis_id, app_api_rest_v2_similarity_schema_ann_function, authorization=authorization) +> BaseResponseNearestNeighborAnalysis find_similar_functions_batch(analysis_id, app_api_rest_v2_similarity_schema_ann_function) Batch Symbol ANN using Analysis ID @@ -315,11 +309,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | app_api_rest_v2_similarity_schema_ann_function = revengai.AppApiRestV2SimilaritySchemaANNFunction() # AppApiRestV2SimilaritySchemaANNFunction | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Batch Symbol ANN using Analysis ID - api_response = api_instance.find_similar_functions_batch(analysis_id, app_api_rest_v2_similarity_schema_ann_function, authorization=authorization) + api_response = api_instance.find_similar_functions_batch(analysis_id, app_api_rest_v2_similarity_schema_ann_function) print("The response of AnalysesCoreApi->find_similar_functions_batch:\n") pprint(api_response) except Exception as e: @@ -335,7 +328,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **app_api_rest_v2_similarity_schema_ann_function** | [**AppApiRestV2SimilaritySchemaANNFunction**](AppApiRestV2SimilaritySchemaANNFunction.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -360,7 +352,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, authorization=authorization) +> BaseResponseBasic get_analysis_basic_info(analysis_id) Gets basic analysis information @@ -398,11 +390,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets basic analysis information - api_response = api_instance.get_analysis_basic_info(analysis_id, authorization=authorization) + api_response = api_instance.get_analysis_basic_info(analysis_id) print("The response of AnalysesCoreApi->get_analysis_basic_info:\n") pprint(api_response) except Exception as e: @@ -417,7 +408,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -442,7 +432,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, authorization=authorization) +> BaseResponseAnalysisFunctionMapping get_analysis_function_map(analysis_id) Get Analysis Function Map @@ -480,11 +470,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get Analysis Function Map - api_response = api_instance.get_analysis_function_map(analysis_id, authorization=authorization) + api_response = api_instance.get_analysis_function_map(analysis_id) print("The response of AnalysesCoreApi->get_analysis_function_map:\n") pprint(api_response) except Exception as e: @@ -499,7 +488,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -524,7 +512,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, authorization=authorization) +> BaseResponseLogs get_analysis_logs(analysis_id) Gets the logs of an analysis @@ -562,11 +550,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the logs of an analysis - api_response = api_instance.get_analysis_logs(analysis_id, authorization=authorization) + api_response = api_instance.get_analysis_logs(analysis_id) print("The response of AnalysesCoreApi->get_analysis_logs:\n") pprint(api_response) except Exception as e: @@ -581,7 +568,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -606,7 +592,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, authorization=authorization) +> BaseResponseParams get_analysis_params(analysis_id) Gets analysis param information @@ -644,11 +630,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets analysis param information - api_response = api_instance.get_analysis_params(analysis_id, authorization=authorization) + api_response = api_instance.get_analysis_params(analysis_id) print("The response of AnalysesCoreApi->get_analysis_params:\n") pprint(api_response) except Exception as e: @@ -663,7 +648,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -688,7 +672,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, authorization=authorization) +> BaseResponseStatus get_analysis_status(analysis_id) Gets the status of an analysis @@ -726,11 +710,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the status of an analysis - api_response = api_instance.get_analysis_status(analysis_id, authorization=authorization) + api_response = api_instance.get_analysis_status(analysis_id) print("The response of AnalysesCoreApi->get_analysis_status:\n") pprint(api_response) except Exception as e: @@ -745,7 +728,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -770,7 +752,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_ann** -> BaseResponseBinaryAnnListResponse get_binary_ann(analysis_id, binary_ann_form, authorization=authorization) +> BaseResponseBinaryAnnListResponse get_binary_ann(analysis_id, binary_ann_form) Binary Ann @@ -810,11 +792,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | binary_ann_form = revengai.BinaryAnnForm() # BinaryAnnForm | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Binary Ann - api_response = api_instance.get_binary_ann(analysis_id, binary_ann_form, authorization=authorization) + api_response = api_instance.get_binary_ann(analysis_id, binary_ann_form) print("The response of AnalysesCoreApi->get_binary_ann:\n") pprint(api_response) except Exception as e: @@ -830,7 +811,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **binary_ann_form** | [**BinaryAnnForm**](BinaryAnnForm.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -855,7 +835,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, authorization=authorization) +> 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) Gets the most recent analyses @@ -909,11 +889,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + 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) print("The response of AnalysesCoreApi->list_analyses:\n") pprint(api_response) except Exception as e: @@ -938,7 +917,6 @@ Name | Type | Description | Notes **offset** | **int**| | [optional] [default to 0] **order_by** | [**AppApiRestV2AnalysesEnumsOrderBy**](.md)| | [optional] **order** | [**Order**](.md)| | [optional] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -963,7 +941,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, authorization=authorization) +> object lookup_binary_id(binary_id) Gets the analysis ID from binary ID @@ -1000,11 +978,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesCoreApi(api_client) binary_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the analysis ID from binary ID - api_response = api_instance.lookup_binary_id(binary_id, authorization=authorization) + api_response = api_instance.lookup_binary_id(binary_id) print("The response of AnalysesCoreApi->lookup_binary_id:\n") pprint(api_response) except Exception as e: @@ -1019,7 +996,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -1044,7 +1020,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, authorization=authorization) +> BaseResponseCreated requeue_analysis(analysis_id, re_analysis_form) Requeue Analysis @@ -1084,11 +1060,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | re_analysis_form = revengai.ReAnalysisForm() # ReAnalysisForm | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Requeue Analysis - api_response = api_instance.requeue_analysis(analysis_id, re_analysis_form, authorization=authorization) + api_response = api_instance.requeue_analysis(analysis_id, re_analysis_form) print("The response of AnalysesCoreApi->requeue_analysis:\n") pprint(api_response) except Exception as e: @@ -1104,7 +1079,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **re_analysis_form** | [**ReAnalysisForm**](ReAnalysisForm.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -1131,7 +1105,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, authorization=authorization) +> BaseResponseAnalysisDetailResponse update_analysis(analysis_id, analysis_update_request) Update Analysis @@ -1171,11 +1145,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | analysis_update_request = revengai.AnalysisUpdateRequest() # AnalysisUpdateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Update Analysis - api_response = api_instance.update_analysis(analysis_id, analysis_update_request, authorization=authorization) + api_response = api_instance.update_analysis(analysis_id, analysis_update_request) print("The response of AnalysesCoreApi->update_analysis:\n") pprint(api_response) except Exception as e: @@ -1191,7 +1164,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_update_request** | [**AnalysisUpdateRequest**](AnalysisUpdateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -1216,7 +1188,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, authorization=authorization) +> BaseResponseAnalysisUpdateTagsResponse update_analysis_tags(analysis_id, analysis_update_tags_request) Update Analysis Tags @@ -1256,11 +1228,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesCoreApi(api_client) analysis_id = 56 # int | analysis_update_tags_request = revengai.AnalysisUpdateTagsRequest() # AnalysisUpdateTagsRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Update Analysis Tags - api_response = api_instance.update_analysis_tags(analysis_id, analysis_update_tags_request, authorization=authorization) + api_response = api_instance.update_analysis_tags(analysis_id, analysis_update_tags_request) print("The response of AnalysesCoreApi->update_analysis_tags:\n") pprint(api_response) except Exception as e: @@ -1276,7 +1247,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_update_tags_request** | [**AnalysisUpdateTagsRequest**](AnalysisUpdateTagsRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -1301,7 +1271,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, authorization=authorization, force_overwrite=force_overwrite) +> BaseResponseUploadResponse upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite) Upload File @@ -1340,12 +1310,11 @@ with revengai.ApiClient(configuration) as api_client: upload_file_type = revengai.UploadFileType() # UploadFileType | file = None # bytearray | packed_password = 'packed_password_example' # str | (optional) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization, force_overwrite=force_overwrite) + api_response = api_instance.upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite) print("The response of AnalysesCoreApi->upload_file:\n") pprint(api_response) except Exception as e: @@ -1362,7 +1331,6 @@ Name | Type | Description | Notes **upload_file_type** | [**UploadFileType**](UploadFileType.md)| | **file** | **bytearray**| | **packed_password** | **str**| | [optional] - **authorization** | **str**| API Key bearer token | [optional] **force_overwrite** | **bool**| | [optional] [default to False] ### Return type diff --git a/docs/AnalysesDynamicExecutionApi.md b/docs/AnalysesDynamicExecutionApi.md index 947b436..0f267a4 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, authorization=authorization) +> BaseResponseDynamicExecutionStatus get_dynamic_execution_status(analysis_id) Get the status of a dynamic execution task @@ -50,11 +50,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the status of a dynamic execution task - api_response = api_instance.get_dynamic_execution_status(analysis_id, authorization=authorization) + api_response = api_instance.get_dynamic_execution_status(analysis_id) print("The response of AnalysesDynamicExecutionApi->get_dynamic_execution_status:\n") pprint(api_response) except Exception as e: @@ -69,7 +68,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -94,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_network_overview** -> BaseResponseNetworkOverviewResponse get_network_overview(analysis_id, authorization=authorization) +> BaseResponseNetworkOverviewResponse get_network_overview(analysis_id) Get the dynamic execution results for network overview @@ -130,11 +128,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the dynamic execution results for network overview - api_response = api_instance.get_network_overview(analysis_id, authorization=authorization) + api_response = api_instance.get_network_overview(analysis_id) print("The response of AnalysesDynamicExecutionApi->get_network_overview:\n") pprint(api_response) except Exception as e: @@ -149,7 +146,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -174,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_process_dump** -> object get_process_dump(analysis_id, dump_name, authorization=authorization) +> object get_process_dump(analysis_id, dump_name) Get the dynamic execution results for a specific process dump @@ -210,11 +206,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | dump_name = 'dump_name_example' # str | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the dynamic execution results for a specific process dump - api_response = api_instance.get_process_dump(analysis_id, dump_name, authorization=authorization) + api_response = api_instance.get_process_dump(analysis_id, dump_name) print("The response of AnalysesDynamicExecutionApi->get_process_dump:\n") pprint(api_response) except Exception as e: @@ -230,7 +225,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **dump_name** | **str**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -255,7 +249,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, authorization=authorization) +> BaseResponseProcessDumps get_process_dumps(analysis_id) Get the dynamic execution results for process dumps @@ -291,11 +285,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the dynamic execution results for process dumps - api_response = api_instance.get_process_dumps(analysis_id, authorization=authorization) + api_response = api_instance.get_process_dumps(analysis_id) print("The response of AnalysesDynamicExecutionApi->get_process_dumps:\n") pprint(api_response) except Exception as e: @@ -310,7 +303,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -335,7 +327,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, authorization=authorization) +> BaseResponseProcessRegistry get_process_registry(analysis_id) Get the dynamic execution results for process registry @@ -371,11 +363,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the dynamic execution results for process registry - api_response = api_instance.get_process_registry(analysis_id, authorization=authorization) + api_response = api_instance.get_process_registry(analysis_id) print("The response of AnalysesDynamicExecutionApi->get_process_registry:\n") pprint(api_response) except Exception as e: @@ -390,7 +381,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -415,7 +405,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, authorization=authorization) +> BaseResponseProcessTree get_process_tree(analysis_id) Get the dynamic execution results for process tree @@ -451,11 +441,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the dynamic execution results for process tree - api_response = api_instance.get_process_tree(analysis_id, authorization=authorization) + api_response = api_instance.get_process_tree(analysis_id) print("The response of AnalysesDynamicExecutionApi->get_process_tree:\n") pprint(api_response) except Exception as e: @@ -470,7 +459,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -495,7 +483,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, authorization=authorization) +> BaseResponseTTPS get_ttps(analysis_id) Get the dynamic execution results for ttps @@ -531,11 +519,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesDynamicExecutionApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the dynamic execution results for ttps - api_response = api_instance.get_ttps(analysis_id, authorization=authorization) + api_response = api_instance.get_ttps(analysis_id) print("The response of AnalysesDynamicExecutionApi->get_ttps:\n") pprint(api_response) except Exception as e: @@ -550,7 +537,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/AnalysesResultsMetadataApi.md b/docs/AnalysesResultsMetadataApi.md index 1549ac1..8e201c5 100644 --- a/docs/AnalysesResultsMetadataApi.md +++ b/docs/AnalysesResultsMetadataApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **get_capabilities** -> BaseResponseCapabilities get_capabilities(analysis_id, authorization=authorization) +> BaseResponseCapabilities get_capabilities(analysis_id) Gets the capabilities from the analysis @@ -50,11 +50,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the capabilities from the analysis - api_response = api_instance.get_capabilities(analysis_id, authorization=authorization) + api_response = api_instance.get_capabilities(analysis_id) print("The response of AnalysesResultsMetadataApi->get_capabilities:\n") pprint(api_response) except Exception as e: @@ -69,7 +68,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -94,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_communities** -> BaseResponseCommunities get_communities(analysis_id, user_name=user_name, authorization=authorization) +> BaseResponseCommunities get_communities(analysis_id, user_name=user_name) Gets the communities found in the analysis @@ -131,11 +129,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the communities found in the analysis - api_response = api_instance.get_communities(analysis_id, user_name=user_name, authorization=authorization) + api_response = api_instance.get_communities(analysis_id, user_name=user_name) print("The response of AnalysesResultsMetadataApi->get_communities:\n") pprint(api_response) except Exception as e: @@ -151,7 +148,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **user_name** | **str**| The user name to limit communities to | [optional] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -176,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_functions_list** -> BaseResponseAnalysisFunctions get_functions_list(analysis_id, search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, authorization=authorization) +> BaseResponseAnalysisFunctions get_functions_list(analysis_id, search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr) Gets functions from analysis @@ -217,11 +213,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + 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) print("The response of AnalysesResultsMetadataApi->get_functions_list:\n") pprint(api_response) except Exception as e: @@ -239,7 +234,6 @@ Name | Type | Description | Notes **search_term** | **str**| | [optional] **min_v_addr** | **int**| | [optional] **max_v_addr** | **int**| | [optional] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -264,7 +258,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, authorization=authorization) +> object get_pdf(analysis_id) Gets the PDF found in the analysis @@ -299,11 +293,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the PDF found in the analysis - api_response = api_instance.get_pdf(analysis_id, authorization=authorization) + api_response = api_instance.get_pdf(analysis_id) print("The response of AnalysesResultsMetadataApi->get_pdf:\n") pprint(api_response) except Exception as e: @@ -318,7 +311,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -343,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_sbom** -> BaseResponseListSBOM get_sbom(analysis_id, authorization=authorization) +> BaseResponseListSBOM get_sbom(analysis_id) Gets the software-bill-of-materials (SBOM) found in the analysis @@ -379,11 +371,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the software-bill-of-materials (SBOM) found in the analysis - api_response = api_instance.get_sbom(analysis_id, authorization=authorization) + api_response = api_instance.get_sbom(analysis_id) print("The response of AnalysesResultsMetadataApi->get_sbom:\n") pprint(api_response) except Exception as e: @@ -398,7 +389,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -423,7 +413,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, authorization=authorization) +> BaseResponseAnalysisTags get_tags(analysis_id) Get function tags with maliciousness score @@ -459,11 +449,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get function tags with maliciousness score - api_response = api_instance.get_tags(analysis_id, authorization=authorization) + api_response = api_instance.get_tags(analysis_id) print("The response of AnalysesResultsMetadataApi->get_tags:\n") pprint(api_response) except Exception as e: @@ -478,7 +467,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -503,7 +491,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, authorization=authorization) +> BaseResponseVulnerabilities get_vulnerabilities(analysis_id) Gets the vulnerabilities found in the analysis @@ -539,11 +527,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesResultsMetadataApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the vulnerabilities found in the analysis - api_response = api_instance.get_vulnerabilities(analysis_id, authorization=authorization) + api_response = api_instance.get_vulnerabilities(analysis_id) print("The response of AnalysesResultsMetadataApi->get_vulnerabilities:\n") pprint(api_response) except Exception as e: @@ -558,7 +545,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/AnalysesSecurityChecksApi.md b/docs/AnalysesSecurityChecksApi.md index 529d316..81c008a 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, authorization=authorization) +> QueuedSecurityChecksTaskResponse create_scurity_checks_task(analysis_id) Queues a security check process @@ -46,11 +46,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesSecurityChecksApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Queues a security check process - api_response = api_instance.create_scurity_checks_task(analysis_id, authorization=authorization) + api_response = api_instance.create_scurity_checks_task(analysis_id) print("The response of AnalysesSecurityChecksApi->create_scurity_checks_task:\n") pprint(api_response) except Exception as e: @@ -65,7 +64,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -91,7 +89,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, authorization=authorization) +> BaseResponseSecurityChecksResponse get_security_checks(analysis_id, page, page_size) Get Security Checks @@ -131,11 +129,10 @@ 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. - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get Security Checks - api_response = api_instance.get_security_checks(analysis_id, page, page_size, authorization=authorization) + api_response = api_instance.get_security_checks(analysis_id, page, page_size) print("The response of AnalysesSecurityChecksApi->get_security_checks:\n") pprint(api_response) except Exception as e: @@ -152,7 +149,6 @@ Name | Type | Description | Notes **analysis_id** | **int**| | **page** | **int**| The page number to retrieve. | **page_size** | **int**| Number of items per page. | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -177,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) # **get_security_checks_task_status** -> CheckSecurityChecksTaskResponse get_security_checks_task_status(analysis_id, authorization=authorization) +> CheckSecurityChecksTaskResponse get_security_checks_task_status(analysis_id) Check the status of a security check process @@ -213,11 +209,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AnalysesSecurityChecksApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Check the status of a security check process - api_response = api_instance.get_security_checks_task_status(analysis_id, authorization=authorization) + api_response = api_instance.get_security_checks_task_status(analysis_id) print("The response of AnalysesSecurityChecksApi->get_security_checks_task_status:\n") pprint(api_response) except Exception as e: @@ -232,7 +227,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/AuthenticationUsersApi.md b/docs/AuthenticationUsersApi.md index 7121e9f..76e6cdd 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(authorization=authorization) +> BaseResponseGetUserResponse get_requester_user_info() Get the requesters user information @@ -47,11 +47,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get the requesters user information - api_response = api_instance.get_requester_user_info(authorization=authorization) + api_response = api_instance.get_requester_user_info() print("The response of AuthenticationUsersApi->get_requester_user_info:\n") pprint(api_response) except Exception as e: @@ -62,10 +61,7 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| API Key bearer token | [optional] +This endpoint does not need any parameter. ### Return type @@ -90,7 +86,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** -> BaseResponseGetPublicUserResponse get_user(user_id, authorization=authorization) +> BaseResponseGetPublicUserResponse get_user(user_id) Get a user's public information @@ -126,11 +122,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.AuthenticationUsersApi(api_client) user_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get a user's public information - api_response = api_instance.get_user(user_id, authorization=authorization) + api_response = api_instance.get_user(user_id) print("The response of AuthenticationUsersApi->get_user:\n") pprint(api_response) except Exception as e: @@ -145,7 +140,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -170,7 +164,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(authorization=authorization) +> BaseResponseListUserActivityResponse get_user_activity() Get auth user activity @@ -205,11 +199,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get auth user activity - api_response = api_instance.get_user_activity(authorization=authorization) + api_response = api_instance.get_user_activity() print("The response of AuthenticationUsersApi->get_user_activity:\n") pprint(api_response) except Exception as e: @@ -220,10 +213,7 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| API Key bearer token | [optional] +This endpoint does not need any parameter. ### Return type @@ -248,7 +238,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_comments** -> BaseResponseListCommentResponse get_user_comments(authorization=authorization) +> BaseResponseListCommentResponse get_user_comments() Get comments by user @@ -285,11 +275,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get comments by user - api_response = api_instance.get_user_comments(authorization=authorization) + api_response = api_instance.get_user_comments() print("The response of AuthenticationUsersApi->get_user_comments:\n") pprint(api_response) except Exception as e: @@ -300,10 +289,7 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| API Key bearer token | [optional] +This endpoint does not need any parameter. ### Return type diff --git a/docs/BinariesApi.md b/docs/BinariesApi.md index d091646..f26677b 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, authorization=authorization) +> object download_zipped_binary(binary_id) Downloads a zipped binary with password protection @@ -48,11 +48,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Downloads a zipped binary with password protection - api_response = api_instance.download_zipped_binary(binary_id, authorization=authorization) + api_response = api_instance.download_zipped_binary(binary_id) print("The response of BinariesApi->download_zipped_binary:\n") pprint(api_response) except Exception as e: @@ -67,7 +66,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -92,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) # **get_binary_additional_details** -> BaseResponseBinaryAdditionalResponse get_binary_additional_details(binary_id, authorization=authorization) +> BaseResponseBinaryAdditionalResponse get_binary_additional_details(binary_id) Gets the additional details of a binary @@ -128,11 +126,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the additional details of a binary - api_response = api_instance.get_binary_additional_details(binary_id, authorization=authorization) + api_response = api_instance.get_binary_additional_details(binary_id) print("The response of BinariesApi->get_binary_additional_details:\n") pprint(api_response) except Exception as e: @@ -147,7 +144,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -172,7 +168,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, authorization=authorization) +> BaseResponseBinaryDetailsResponse get_binary_details(binary_id) Gets the details of a binary @@ -208,11 +204,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the details of a binary - api_response = api_instance.get_binary_details(binary_id, authorization=authorization) + api_response = api_instance.get_binary_details(binary_id) print("The response of BinariesApi->get_binary_details:\n") pprint(api_response) except Exception as e: @@ -227,7 +222,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -252,7 +246,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, authorization=authorization) +> BaseResponseListDieMatch get_binary_die_info(binary_id) Gets the die info of a binary @@ -288,11 +282,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the die info of a binary - api_response = api_instance.get_binary_die_info(binary_id, authorization=authorization) + api_response = api_instance.get_binary_die_info(binary_id) print("The response of BinariesApi->get_binary_die_info:\n") pprint(api_response) except Exception as e: @@ -307,7 +300,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -332,7 +324,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, authorization=authorization) +> BaseResponseBinaryExternalsResponse get_binary_externals(binary_id) Gets the external details of a binary @@ -368,11 +360,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the external details of a binary - api_response = api_instance.get_binary_externals(binary_id, authorization=authorization) + api_response = api_instance.get_binary_externals(binary_id) print("The response of BinariesApi->get_binary_externals:\n") pprint(api_response) except Exception as e: @@ -387,7 +378,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -412,7 +402,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, authorization=authorization) +> BaseResponseChildBinariesResponse get_related_binaries(binary_id) Gets the related binaries of a binary. @@ -448,11 +438,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.BinariesApi(api_client) binary_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets the related binaries of a binary. - api_response = api_instance.get_related_binaries(binary_id, authorization=authorization) + api_response = api_instance.get_related_binaries(binary_id) print("The response of BinariesApi->get_related_binaries:\n") pprint(api_response) except Exception as e: @@ -467,7 +456,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **binary_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/CollectionsApi.md b/docs/CollectionsApi.md index 6e83a7f..8cedc14 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, authorization=authorization) +> BaseResponseCollectionResponse create_collection(collection_create_request) Creates new collection information @@ -53,11 +53,10 @@ 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 | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Creates new collection information - api_response = api_instance.create_collection(collection_create_request, authorization=authorization) + api_response = api_instance.create_collection(collection_create_request) print("The response of CollectionsApi->create_collection:\n") pprint(api_response) except Exception as e: @@ -72,7 +71,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_create_request** | [**CollectionCreateRequest**](CollectionCreateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -97,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) # **delete_collection** -> BaseResponseBool delete_collection(collection_id, authorization=authorization) +> BaseResponseBool delete_collection(collection_id) Deletes a collection @@ -135,11 +133,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Deletes a collection - api_response = api_instance.delete_collection(collection_id, authorization=authorization) + api_response = api_instance.delete_collection(collection_id) print("The response of CollectionsApi->delete_collection:\n") pprint(api_response) except Exception as e: @@ -154,7 +151,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -179,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_collection** -> BaseResponseCollectionResponse get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries, authorization=authorization) +> BaseResponseCollectionResponse get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries) Returns a collection @@ -219,11 +215,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Returns a collection - api_response = api_instance.get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries, authorization=authorization) + api_response = api_instance.get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries) print("The response of CollectionsApi->get_collection:\n") pprint(api_response) except Exception as e: @@ -240,7 +235,6 @@ Name | Type | Description | Notes **collection_id** | **int**| | **include_tags** | **bool**| | [optional] [default to False] **include_binaries** | **bool**| | [optional] [default to False] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -265,7 +259,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, authorization=authorization) +> BaseResponseListCollectionResults list_collections(search_term=search_term, filters=filters, limit=limit, offset=offset, order_by=order_by, order=order) Gets basic collections information @@ -311,11 +305,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + api_response = api_instance.list_collections(search_term=search_term, filters=filters, limit=limit, offset=offset, order_by=order_by, order=order) print("The response of CollectionsApi->list_collections:\n") pprint(api_response) except Exception as e: @@ -335,7 +328,6 @@ Name | Type | Description | Notes **offset** | **int**| | [optional] [default to 0] **order_by** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| | [optional] **order** | [**Order**](.md)| | [optional] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -360,7 +352,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, authorization=authorization) +> BaseResponseCollectionResponse update_collection(collection_id, collection_update_request) Updates a collection @@ -400,11 +392,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | collection_update_request = revengai.CollectionUpdateRequest() # CollectionUpdateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Updates a collection - api_response = api_instance.update_collection(collection_id, collection_update_request, authorization=authorization) + api_response = api_instance.update_collection(collection_id, collection_update_request) print("The response of CollectionsApi->update_collection:\n") pprint(api_response) except Exception as e: @@ -420,7 +411,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | **collection_update_request** | [**CollectionUpdateRequest**](CollectionUpdateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -445,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) # **update_collection_binaries** -> BaseResponseCollectionBinariesUpdateResponse update_collection_binaries(collection_id, collection_binaries_update_request, authorization=authorization) +> BaseResponseCollectionBinariesUpdateResponse update_collection_binaries(collection_id, collection_binaries_update_request) Updates a collection binaries @@ -485,11 +475,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | collection_binaries_update_request = revengai.CollectionBinariesUpdateRequest() # CollectionBinariesUpdateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Updates a collection binaries - api_response = api_instance.update_collection_binaries(collection_id, collection_binaries_update_request, authorization=authorization) + api_response = api_instance.update_collection_binaries(collection_id, collection_binaries_update_request) print("The response of CollectionsApi->update_collection_binaries:\n") pprint(api_response) except Exception as e: @@ -505,7 +494,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | **collection_binaries_update_request** | [**CollectionBinariesUpdateRequest**](CollectionBinariesUpdateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -530,7 +518,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, authorization=authorization) +> BaseResponseCollectionTagsUpdateResponse update_collection_tags(collection_id, collection_tags_update_request) Updates a collection tags @@ -570,11 +558,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.CollectionsApi(api_client) collection_id = 56 # int | collection_tags_update_request = revengai.CollectionTagsUpdateRequest() # CollectionTagsUpdateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Updates a collection tags - api_response = api_instance.update_collection_tags(collection_id, collection_tags_update_request, authorization=authorization) + api_response = api_instance.update_collection_tags(collection_id, collection_tags_update_request) print("The response of CollectionsApi->update_collection_tags:\n") pprint(api_response) except Exception as e: @@ -590,7 +577,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **collection_id** | **int**| | **collection_tags_update_request** | [**CollectionTagsUpdateRequest**](CollectionTagsUpdateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/ConfidenceApi.md b/docs/ConfidenceApi.md index cacd68c..f5a4bc4 100644 --- a/docs/ConfidenceApi.md +++ b/docs/ConfidenceApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **get_analysis_tag_score** -> BaseResponseListTagOriginBoxPlotConfidence get_analysis_tag_score(analysis_id, tag_confidence_body, authorization=authorization) +> BaseResponseListTagOriginBoxPlotConfidence get_analysis_tag_score(analysis_id, tag_confidence_body) Calculate Tag Confidence Score for an Analysis @@ -51,11 +51,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.ConfidenceApi(api_client) analysis_id = 56 # int | The analysis to calculate the tag scores for tag_confidence_body = revengai.TagConfidenceBody() # TagConfidenceBody | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Calculate Tag Confidence Score for an Analysis - api_response = api_instance.get_analysis_tag_score(analysis_id, tag_confidence_body, authorization=authorization) + api_response = api_instance.get_analysis_tag_score(analysis_id, tag_confidence_body) print("The response of ConfidenceApi->get_analysis_tag_score:\n") pprint(api_response) except Exception as e: @@ -71,7 +70,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| The analysis to calculate the tag scores for | **tag_confidence_body** | [**TagConfidenceBody**](TagConfidenceBody.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -96,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_analysis_threat_score** -> BaseResponseBoxPlotConfidence get_analysis_threat_score(analysis_id, authorization=authorization) +> BaseResponseBoxPlotConfidence get_analysis_threat_score(analysis_id) Calculate Threat Score for Binary @@ -134,11 +132,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ConfidenceApi(api_client) analysis_id = 56 # int | The analysis to calculate the threat score for - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Calculate Threat Score for Binary - api_response = api_instance.get_analysis_threat_score(analysis_id, authorization=authorization) + api_response = api_instance.get_analysis_threat_score(analysis_id) print("The response of ConfidenceApi->get_analysis_threat_score:\n") pprint(api_response) except Exception as e: @@ -153,7 +150,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| The analysis to calculate the threat score for | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -178,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_functions_name_score** -> BaseResponseListFunctionBoxPlotConfidence get_functions_name_score(function_name_confidence_body, authorization=authorization) +> BaseResponseListFunctionBoxPlotConfidence get_functions_name_score(function_name_confidence_body) Calculate function name confidence for a set of Functions @@ -217,11 +213,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ConfidenceApi(api_client) function_name_confidence_body = revengai.FunctionNameConfidenceBody() # FunctionNameConfidenceBody | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Calculate function name confidence for a set of Functions - api_response = api_instance.get_functions_name_score(function_name_confidence_body, authorization=authorization) + api_response = api_instance.get_functions_name_score(function_name_confidence_body) print("The response of ConfidenceApi->get_functions_name_score:\n") pprint(api_response) except Exception as e: @@ -236,7 +231,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_name_confidence_body** | [**FunctionNameConfidenceBody**](FunctionNameConfidenceBody.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -261,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_functions_threat_score** -> BaseResponseListFunctionBoxPlotConfidence get_functions_threat_score(threat_score_function_body, authorization=authorization) +> BaseResponseListFunctionBoxPlotConfidence get_functions_threat_score(threat_score_function_body) Calculate Threat Score for a set of Functions @@ -300,11 +294,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ConfidenceApi(api_client) threat_score_function_body = revengai.ThreatScoreFunctionBody() # ThreatScoreFunctionBody | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Calculate Threat Score for a set of Functions - api_response = api_instance.get_functions_threat_score(threat_score_function_body, authorization=authorization) + api_response = api_instance.get_functions_threat_score(threat_score_function_body) print("The response of ConfidenceApi->get_functions_threat_score:\n") pprint(api_response) except Exception as e: @@ -319,7 +312,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **threat_score_function_body** | [**ThreatScoreFunctionBody**](ThreatScoreFunctionBody.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/ExternalSourcesApi.md b/docs/ExternalSourcesApi.md index 48e0a71..1c0abdd 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, authorization=authorization) +> BaseResponseStr create_external_task_mb(analysis_id) Pulls data from VirusTotal @@ -49,11 +49,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Pulls data from VirusTotal - api_response = api_instance.create_external_task_mb(analysis_id, authorization=authorization) + api_response = api_instance.create_external_task_mb(analysis_id) print("The response of ExternalSourcesApi->create_external_task_mb:\n") pprint(api_response) except Exception as e: @@ -68,7 +67,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -94,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) # **create_external_task_vt** -> BaseResponseStr create_external_task_vt(analysis_id, authorization=authorization) +> BaseResponseStr create_external_task_vt(analysis_id) Pulls data from VirusTotal @@ -130,11 +128,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Pulls data from VirusTotal - api_response = api_instance.create_external_task_vt(analysis_id, authorization=authorization) + api_response = api_instance.create_external_task_vt(analysis_id) print("The response of ExternalSourcesApi->create_external_task_vt:\n") pprint(api_response) except Exception as e: @@ -149,7 +146,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -175,7 +171,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, authorization=authorization) +> BaseResponseExternalResponse get_mb_data(analysis_id) Get MalwareBazaar data @@ -211,11 +207,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get MalwareBazaar data - api_response = api_instance.get_mb_data(analysis_id, authorization=authorization) + api_response = api_instance.get_mb_data(analysis_id) print("The response of ExternalSourcesApi->get_mb_data:\n") pprint(api_response) except Exception as e: @@ -230,7 +225,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -256,7 +250,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, authorization=authorization) +> BaseResponseTaskResponse get_mb_task_status(analysis_id) Check the status of MalwareBazaar data retrieval @@ -292,11 +286,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Check the status of MalwareBazaar data retrieval - api_response = api_instance.get_mb_task_status(analysis_id, authorization=authorization) + api_response = api_instance.get_mb_task_status(analysis_id) print("The response of ExternalSourcesApi->get_mb_task_status:\n") pprint(api_response) except Exception as e: @@ -311,7 +304,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -336,7 +328,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, authorization=authorization) +> BaseResponseExternalResponse get_vt_data(analysis_id) Get VirusTotal data @@ -372,11 +364,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get VirusTotal data - api_response = api_instance.get_vt_data(analysis_id, authorization=authorization) + api_response = api_instance.get_vt_data(analysis_id) print("The response of ExternalSourcesApi->get_vt_data:\n") pprint(api_response) except Exception as e: @@ -391,7 +382,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -417,7 +407,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, authorization=authorization) +> BaseResponseTaskResponse get_vt_task_status(analysis_id) Check the status of VirusTotal data retrieval @@ -453,11 +443,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.ExternalSourcesApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Check the status of VirusTotal data retrieval - api_response = api_instance.get_vt_task_status(analysis_id, authorization=authorization) + api_response = api_instance.get_vt_task_status(analysis_id) print("The response of ExternalSourcesApi->get_vt_task_status:\n") pprint(api_response) except Exception as e: @@ -472,7 +461,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/FirmwareApi.md b/docs/FirmwareApi.md index 48e49bd..61df3a4 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, authorization=authorization) +> object get_binaries_for_firmware_task(task_id) Upload firmware for unpacking @@ -46,11 +46,10 @@ 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 | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Upload firmware for unpacking - api_response = api_instance.get_binaries_for_firmware_task(task_id, authorization=authorization) + api_response = api_instance.get_binaries_for_firmware_task(task_id) print("The response of FirmwareApi->get_binaries_for_firmware_task:\n") pprint(api_response) except Exception as e: @@ -65,7 +64,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **task_id** | **str**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -90,7 +88,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, authorization=authorization, password=password) +> object upload_firmware(file, password=password) Upload firmware for unpacking @@ -127,12 +125,11 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FirmwareApi(api_client) file = None # bytearray | - authorization = 'authorization_example' # str | API Key bearer token (optional) password = 'password_example' # str | (optional) try: # Upload firmware for unpacking - api_response = api_instance.upload_firmware(file, authorization=authorization, password=password) + api_response = api_instance.upload_firmware(file, password=password) print("The response of FirmwareApi->upload_firmware:\n") pprint(api_response) except Exception as e: @@ -147,7 +144,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **file** | **bytearray**| | - **authorization** | **str**| API Key bearer token | [optional] **password** | **str**| | [optional] ### Return type diff --git a/docs/FunctionsAIDecompilationApi.md b/docs/FunctionsAIDecompilationApi.md index ac002ab..95bc0cb 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, authorization=authorization) +> BaseResponseCommentResponse create_ai_decompilation_comment(function_id, function_comment_create_request) Create a comment for this function @@ -56,11 +56,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | function_comment_create_request = revengai.FunctionCommentCreateRequest() # FunctionCommentCreateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Create a comment for this function - api_response = api_instance.create_ai_decompilation_comment(function_id, function_comment_create_request, authorization=authorization) + api_response = api_instance.create_ai_decompilation_comment(function_id, function_comment_create_request) print("The response of FunctionsAIDecompilationApi->create_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -76,7 +75,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_comment_create_request** | [**FunctionCommentCreateRequest**](FunctionCommentCreateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -102,7 +100,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, authorization=authorization) +> BaseResponse create_ai_decompilation_task(function_id) Begins AI Decompilation Process @@ -140,11 +138,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Begins AI Decompilation Process - api_response = api_instance.create_ai_decompilation_task(function_id, authorization=authorization) + api_response = api_instance.create_ai_decompilation_task(function_id) print("The response of FunctionsAIDecompilationApi->create_ai_decompilation_task:\n") pprint(api_response) except Exception as e: @@ -159,7 +156,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -188,7 +184,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, authorization=authorization) +> BaseResponseBool delete_ai_decompilation_comment(comment_id, function_id) Delete a comment @@ -227,11 +223,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) comment_id = 56 # int | function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Delete a comment - api_response = api_instance.delete_ai_decompilation_comment(comment_id, function_id, authorization=authorization) + api_response = api_instance.delete_ai_decompilation_comment(comment_id, function_id) print("The response of FunctionsAIDecompilationApi->delete_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -247,7 +242,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -274,7 +268,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, authorization=authorization) +> BaseResponseListCommentResponse get_ai_decompilation_comments(function_id) Get comments for this function @@ -312,11 +306,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get comments for this function - api_response = api_instance.get_ai_decompilation_comments(function_id, authorization=authorization) + api_response = api_instance.get_ai_decompilation_comments(function_id) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_comments:\n") pprint(api_response) except Exception as e: @@ -331,7 +324,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -356,7 +348,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, authorization=authorization) +> BaseResponseGetAiDecompilationRatingResponse get_ai_decompilation_rating(function_id) Get rating for AI decompilation @@ -392,11 +384,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get rating for AI decompilation - api_response = api_instance.get_ai_decompilation_rating(function_id, authorization=authorization) + api_response = api_instance.get_ai_decompilation_rating(function_id) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_rating:\n") pprint(api_response) except Exception as e: @@ -411,7 +402,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -436,7 +426,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, authorization=authorization) +> BaseResponseGetAiDecompilationTask get_ai_decompilation_task_result(function_id, summarise=summarise, generate_inline_comments=generate_inline_comments) Polls AI Decompilation Process @@ -476,11 +466,10 @@ with revengai.ApiClient(configuration) as api_client: function_id = 56 # int | 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + api_response = api_instance.get_ai_decompilation_task_result(function_id, summarise=summarise, generate_inline_comments=generate_inline_comments) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_task_result:\n") pprint(api_response) except Exception as e: @@ -497,7 +486,6 @@ Name | Type | Description | Notes **function_id** | **int**| | **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] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -523,7 +511,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, authorization=authorization) +> BaseResponseFunctionTaskResponse get_ai_decompilation_task_status(function_id) Check the status of a function ai decompilation @@ -559,11 +547,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Check the status of a function ai decompilation - api_response = api_instance.get_ai_decompilation_task_status(function_id, authorization=authorization) + api_response = api_instance.get_ai_decompilation_task_status(function_id) print("The response of FunctionsAIDecompilationApi->get_ai_decompilation_task_status:\n") pprint(api_response) except Exception as e: @@ -578,7 +565,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -603,7 +589,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, authorization=authorization) +> BaseResponseCommentResponse update_ai_decompilation_comment(comment_id, function_id, comment_update_request) Update a comment @@ -644,11 +630,10 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | function_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Update a comment - api_response = api_instance.update_ai_decompilation_comment(comment_id, function_id, comment_update_request, authorization=authorization) + api_response = api_instance.update_ai_decompilation_comment(comment_id, function_id, comment_update_request) print("The response of FunctionsAIDecompilationApi->update_ai_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -665,7 +650,6 @@ Name | Type | Description | Notes **comment_id** | **int**| | **function_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -692,7 +676,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, authorization=authorization) +> BaseResponse upsert_ai_decompilation_rating(function_id, upsert_ai_decomplation_rating_request) Upsert rating for AI decompilation @@ -730,11 +714,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsAIDecompilationApi(api_client) function_id = 56 # int | upsert_ai_decomplation_rating_request = revengai.UpsertAiDecomplationRatingRequest() # UpsertAiDecomplationRatingRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Upsert rating for AI decompilation - api_response = api_instance.upsert_ai_decompilation_rating(function_id, upsert_ai_decomplation_rating_request, authorization=authorization) + api_response = api_instance.upsert_ai_decompilation_rating(function_id, upsert_ai_decomplation_rating_request) print("The response of FunctionsAIDecompilationApi->upsert_ai_decompilation_rating:\n") pprint(api_response) except Exception as e: @@ -750,7 +733,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **upsert_ai_decomplation_rating_request** | [**UpsertAiDecomplationRatingRequest**](UpsertAiDecomplationRatingRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/FunctionsBlockCommentsApi.md b/docs/FunctionsBlockCommentsApi.md index bfea4f0..42e7f1d 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, authorization=authorization) +> BaseResponseBlockCommentsGenerationForFunctionResponse generate_block_comments_for_block_in_function(function_id, block) Generate block comments for a specific block in a function @@ -48,11 +48,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsBlockCommentsApi(api_client) function_id = 56 # int | block = revengai.Block() # Block | - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + api_response = api_instance.generate_block_comments_for_block_in_function(function_id, block) print("The response of FunctionsBlockCommentsApi->generate_block_comments_for_block_in_function:\n") pprint(api_response) except Exception as e: @@ -68,7 +67,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **block** | [**Block**](Block.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -93,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) # **generate_block_comments_for_function** -> BaseResponseBlockCommentsGenerationForFunctionResponse generate_block_comments_for_function(function_id, authorization=authorization) +> BaseResponseBlockCommentsGenerationForFunctionResponse generate_block_comments_for_function(function_id) Generate block comments for a function @@ -129,11 +127,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsBlockCommentsApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Generate block comments for a function - api_response = api_instance.generate_block_comments_for_function(function_id, authorization=authorization) + api_response = api_instance.generate_block_comments_for_function(function_id) print("The response of FunctionsBlockCommentsApi->generate_block_comments_for_function:\n") pprint(api_response) except Exception as e: @@ -148,7 +145,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -173,7 +169,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, authorization=authorization) +> BaseResponseBlockCommentsOverviewGenerationResponse generate_overview_comment_for_function(function_id) Generate overview comment for a function @@ -209,11 +205,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsBlockCommentsApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Generate overview comment for a function - api_response = api_instance.generate_overview_comment_for_function(function_id, authorization=authorization) + api_response = api_instance.generate_overview_comment_for_function(function_id) print("The response of FunctionsBlockCommentsApi->generate_overview_comment_for_function:\n") pprint(api_response) except Exception as e: @@ -228,7 +223,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/FunctionsCoreApi.md b/docs/FunctionsCoreApi.md index 2cf4f23..583757a 100644 --- a/docs/FunctionsCoreApi.md +++ b/docs/FunctionsCoreApi.md @@ -20,7 +20,7 @@ Method | HTTP request | Description # **ai_unstrip** -> AutoUnstripResponse ai_unstrip(analysis_id, ai_unstrip_request, authorization=authorization) +> AutoUnstripResponse ai_unstrip(analysis_id, ai_unstrip_request) Performs matching and auto-unstrip for an analysis and its functions @@ -60,11 +60,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | ai_unstrip_request = revengai.AiUnstripRequest() # AiUnstripRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Performs matching and auto-unstrip for an analysis and its functions - api_response = api_instance.ai_unstrip(analysis_id, ai_unstrip_request, authorization=authorization) + api_response = api_instance.ai_unstrip(analysis_id, ai_unstrip_request) print("The response of FunctionsCoreApi->ai_unstrip:\n") pprint(api_response) except Exception as e: @@ -80,7 +79,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **ai_unstrip_request** | [**AiUnstripRequest**](AiUnstripRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -105,7 +103,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, authorization=authorization) +> FunctionMatchingBatchResponse analysis_function_matching(analysis_id, analysis_function_matching_request) Perform matching for the functions of an analysis @@ -145,11 +143,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | analysis_function_matching_request = revengai.AnalysisFunctionMatchingRequest() # AnalysisFunctionMatchingRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Perform matching for the functions of an analysis - api_response = api_instance.analysis_function_matching(analysis_id, analysis_function_matching_request, authorization=authorization) + api_response = api_instance.analysis_function_matching(analysis_id, analysis_function_matching_request) print("The response of FunctionsCoreApi->analysis_function_matching:\n") pprint(api_response) except Exception as e: @@ -165,7 +162,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **analysis_function_matching_request** | [**AnalysisFunctionMatchingRequest**](AnalysisFunctionMatchingRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -190,7 +186,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, authorization=authorization) +> AutoUnstripResponse auto_unstrip(analysis_id, auto_unstrip_request) Performs matching and auto-unstrip for an analysis and its functions @@ -230,11 +226,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | auto_unstrip_request = revengai.AutoUnstripRequest() # AutoUnstripRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Performs matching and auto-unstrip for an analysis and its functions - api_response = api_instance.auto_unstrip(analysis_id, auto_unstrip_request, authorization=authorization) + api_response = api_instance.auto_unstrip(analysis_id, auto_unstrip_request) print("The response of FunctionsCoreApi->auto_unstrip:\n") pprint(api_response) except Exception as e: @@ -250,7 +245,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **auto_unstrip_request** | [**AutoUnstripRequest**](AutoUnstripRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -275,7 +269,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, authorization=authorization) +> FunctionMatchingBatchResponse batch_function_matching(function_matching_request) Perform function matching for an arbitrary batch of functions, binaries or collections @@ -314,11 +308,10 @@ 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 | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Perform function matching for an arbitrary batch of functions, binaries or collections - api_response = api_instance.batch_function_matching(function_matching_request, authorization=authorization) + api_response = api_instance.batch_function_matching(function_matching_request) print("The response of FunctionsCoreApi->batch_function_matching:\n") pprint(api_response) except Exception as e: @@ -333,7 +326,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_matching_request** | [**FunctionMatchingRequest**](FunctionMatchingRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -358,7 +350,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, authorization=authorization) +> AutoUnstripResponse cancel_ai_unstrip(analysis_id) Cancels a running ai-unstrip @@ -396,11 +388,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Cancels a running ai-unstrip - api_response = api_instance.cancel_ai_unstrip(analysis_id, authorization=authorization) + api_response = api_instance.cancel_ai_unstrip(analysis_id) print("The response of FunctionsCoreApi->cancel_ai_unstrip:\n") pprint(api_response) except Exception as e: @@ -415,7 +406,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -440,7 +430,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, authorization=authorization) +> AutoUnstripResponse cancel_auto_unstrip(analysis_id) Cancels a running auto-unstrip @@ -478,11 +468,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) analysis_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Cancels a running auto-unstrip - api_response = api_instance.cancel_auto_unstrip(analysis_id, authorization=authorization) + api_response = api_instance.cancel_auto_unstrip(analysis_id) print("The response of FunctionsCoreApi->cancel_auto_unstrip:\n") pprint(api_response) except Exception as e: @@ -497,7 +486,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -522,7 +510,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, authorization=authorization) +> BaseResponseAnalysisStringsResponse get_analysis_strings(analysis_id, page=page, page_size=page_size, search=search, function_search=function_search) Get string information found in the Analysis @@ -564,11 +552,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + api_response = api_instance.get_analysis_strings(analysis_id, page=page, page_size=page_size, search=search, function_search=function_search) print("The response of FunctionsCoreApi->get_analysis_strings:\n") pprint(api_response) except Exception as e: @@ -587,7 +574,6 @@ 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] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -612,7 +598,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, authorization=authorization) +> BaseResponseFunctionBlocksResponse get_function_blocks(function_id) Get disassembly blocks related to the function @@ -650,11 +636,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get disassembly blocks related to the function - api_response = api_instance.get_function_blocks(function_id, authorization=authorization) + api_response = api_instance.get_function_blocks(function_id) print("The response of FunctionsCoreApi->get_function_blocks:\n") pprint(api_response) except Exception as e: @@ -669,7 +654,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -695,7 +679,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, authorization=authorization) +> BaseResponseCalleesCallerFunctionsResponse get_function_callees_callers(function_id) Get list of functions that call or are called by the specified function @@ -731,11 +715,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + api_response = api_instance.get_function_callees_callers(function_id) print("The response of FunctionsCoreApi->get_function_callees_callers:\n") pprint(api_response) except Exception as e: @@ -750,7 +733,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -775,7 +757,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, authorization=authorization) +> BaseResponseFunctionCapabilityResponse get_function_capabilities(function_id) Retrieve a functions capabilities @@ -811,11 +793,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Retrieve a functions capabilities - api_response = api_instance.get_function_capabilities(function_id, authorization=authorization) + api_response = api_instance.get_function_capabilities(function_id) print("The response of FunctionsCoreApi->get_function_capabilities:\n") pprint(api_response) except Exception as e: @@ -830,7 +811,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -856,7 +836,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, authorization=authorization) +> BaseResponseFunctionsDetailResponse get_function_details(function_id) Get function details @@ -892,11 +872,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsCoreApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get function details - api_response = api_instance.get_function_details(function_id, authorization=authorization) + api_response = api_instance.get_function_details(function_id) print("The response of FunctionsCoreApi->get_function_details:\n") pprint(api_response) except Exception as e: @@ -911,7 +890,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -936,7 +914,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, authorization=authorization) +> BaseResponseFunctionStringsResponse get_function_strings(function_id, page=page, page_size=page_size, search=search) Get string information found in the function @@ -977,11 +955,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + api_response = api_instance.get_function_strings(function_id, page=page, page_size=page_size, search=search) print("The response of FunctionsCoreApi->get_function_strings:\n") pprint(api_response) except Exception as e: @@ -999,7 +976,6 @@ 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] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -1024,7 +1000,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_similar_functions** -> BaseResponseListSimilarFunctionsResponse get_similar_functions(function_id, limit=limit, distance=distance, collection_ids=collection_ids, debug=debug, debug_types=debug_types, binary_ids=binary_ids, authorization=authorization) +> BaseResponseListSimilarFunctionsResponse get_similar_functions(function_id, limit=limit, distance=distance, collection_ids=collection_ids, debug=debug, debug_types=debug_types, binary_ids=binary_ids) Get list of similar functions @@ -1066,11 +1042,10 @@ with revengai.ApiClient(configuration) as api_client: debug = False # bool | Only return matching debug functions (optional) (default to False) debug_types = ["SYSTEM"] # List[str] | If limiting results to functions with debug names, which type of debug names to include? (optional) (default to ["SYSTEM"]) binary_ids = [] # List[Optional[int]] | Limit similar functions to specific binaries (optional) (default to []) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get list of similar functions - api_response = api_instance.get_similar_functions(function_id, limit=limit, distance=distance, collection_ids=collection_ids, debug=debug, debug_types=debug_types, binary_ids=binary_ids, authorization=authorization) + api_response = api_instance.get_similar_functions(function_id, limit=limit, distance=distance, collection_ids=collection_ids, debug=debug, debug_types=debug_types, binary_ids=binary_ids) print("The response of FunctionsCoreApi->get_similar_functions:\n") pprint(api_response) except Exception as e: @@ -1091,7 +1066,6 @@ Name | Type | Description | Notes **debug** | **bool**| Only return matching debug functions | [optional] [default to False] **debug_types** | [**List[str]**](str.md)| If limiting results to functions with debug names, which type of debug names to include? | [optional] [default to ["SYSTEM"]] **binary_ids** | [**List[Optional[int]]**](int.md)| Limit similar functions to specific binaries | [optional] [default to []] - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/FunctionsDataTypesApi.md b/docs/FunctionsDataTypesApi.md index f87866d..d702e30 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, authorization=authorization) +> BaseResponseGenerateFunctionDataTypes generate_function_data_types_for_analysis(analysis_id, function_data_types_params) Generate Function Data Types @@ -53,11 +53,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDataTypesApi(api_client) analysis_id = 56 # int | function_data_types_params = revengai.FunctionDataTypesParams() # FunctionDataTypesParams | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Generate Function Data Types - api_response = api_instance.generate_function_data_types_for_analysis(analysis_id, function_data_types_params, authorization=authorization) + api_response = api_instance.generate_function_data_types_for_analysis(analysis_id, function_data_types_params) print("The response of FunctionsDataTypesApi->generate_function_data_types_for_analysis:\n") pprint(api_response) except Exception as e: @@ -73,7 +72,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **function_data_types_params** | [**FunctionDataTypesParams**](FunctionDataTypesParams.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -98,7 +96,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, authorization=authorization) +> BaseResponseGenerationStatusList generate_function_data_types_for_functions(function_data_types_params) Generate Function Data Types for an arbitrary list of functions @@ -137,11 +135,10 @@ 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 | - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + api_response = api_instance.generate_function_data_types_for_functions(function_data_types_params) print("The response of FunctionsDataTypesApi->generate_function_data_types_for_functions:\n") pprint(api_response) except Exception as e: @@ -156,7 +153,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_data_types_params** | [**FunctionDataTypesParams**](FunctionDataTypesParams.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -181,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_function_data_types** -> BaseResponseFunctionDataTypes get_function_data_types(analysis_id, function_id, authorization=authorization) +> BaseResponseFunctionDataTypes get_function_data_types(analysis_id, function_id) Get Function Data Types @@ -220,11 +216,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDataTypesApi(api_client) analysis_id = 56 # int | function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get Function Data Types - api_response = api_instance.get_function_data_types(analysis_id, function_id, authorization=authorization) + api_response = api_instance.get_function_data_types(analysis_id, function_id) print("The response of FunctionsDataTypesApi->get_function_data_types:\n") pprint(api_response) except Exception as e: @@ -240,7 +235,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -265,7 +259,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, authorization=authorization) +> BaseResponseFunctionDataTypesList list_function_data_types_for_analysis(analysis_id, function_ids=function_ids) List Function Data Types @@ -304,11 +298,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDataTypesApi(api_client) analysis_id = 56 # int | function_ids = [56] # List[Optional[int]] | (optional) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # List Function Data Types - api_response = api_instance.list_function_data_types_for_analysis(analysis_id, function_ids=function_ids, authorization=authorization) + api_response = api_instance.list_function_data_types_for_analysis(analysis_id, function_ids=function_ids) print("The response of FunctionsDataTypesApi->list_function_data_types_for_analysis:\n") pprint(api_response) except Exception as e: @@ -324,7 +317,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **analysis_id** | **int**| | **function_ids** | [**List[Optional[int]]**](int.md)| | [optional] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -349,7 +341,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, authorization=authorization) +> BaseResponseFunctionDataTypesList list_function_data_types_for_functions(function_ids=function_ids) List Function Data Types @@ -387,11 +379,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # List Function Data Types - api_response = api_instance.list_function_data_types_for_functions(function_ids=function_ids, authorization=authorization) + api_response = api_instance.list_function_data_types_for_functions(function_ids=function_ids) print("The response of FunctionsDataTypesApi->list_function_data_types_for_functions:\n") pprint(api_response) except Exception as e: @@ -406,7 +397,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_ids** | [**List[Optional[int]]**](int.md)| | [optional] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -431,7 +421,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, authorization=authorization) +> BaseResponseFunctionDataTypes update_function_data_types(analysis_id, function_id, update_function_data_types) Update Function Data Types @@ -472,11 +462,10 @@ with revengai.ApiClient(configuration) as api_client: analysis_id = 56 # int | function_id = 56 # int | update_function_data_types = revengai.UpdateFunctionDataTypes() # UpdateFunctionDataTypes | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Update Function Data Types - api_response = api_instance.update_function_data_types(analysis_id, function_id, update_function_data_types, authorization=authorization) + api_response = api_instance.update_function_data_types(analysis_id, function_id, update_function_data_types) print("The response of FunctionsDataTypesApi->update_function_data_types:\n") pprint(api_response) except Exception as e: @@ -493,7 +482,6 @@ Name | Type | Description | Notes **analysis_id** | **int**| | **function_id** | **int**| | **update_function_data_types** | [**UpdateFunctionDataTypes**](UpdateFunctionDataTypes.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/FunctionsDecompilationApi.md b/docs/FunctionsDecompilationApi.md index 84e215d..a101ec0 100644 --- a/docs/FunctionsDecompilationApi.md +++ b/docs/FunctionsDecompilationApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **check_function_decompilation_task** -> BaseResponseFunctionTaskResponse check_function_decompilation_task(function_id, authorization=authorization) +> BaseResponseFunctionTaskResponse check_function_decompilation_task(function_id) Check the status of a function decompilation @@ -50,11 +50,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Check the status of a function decompilation - api_response = api_instance.check_function_decompilation_task(function_id, authorization=authorization) + api_response = api_instance.check_function_decompilation_task(function_id) print("The response of FunctionsDecompilationApi->check_function_decompilation_task:\n") pprint(api_response) except Exception as e: @@ -69,7 +68,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -94,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) # **create_decompilation_comment** -> BaseResponseCommentResponse create_decompilation_comment(function_id, function_comment_create_request, authorization=authorization) +> BaseResponseCommentResponse create_decompilation_comment(function_id, function_comment_create_request) Create a comment for this function @@ -134,11 +132,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | function_comment_create_request = revengai.FunctionCommentCreateRequest() # FunctionCommentCreateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Create a comment for this function - api_response = api_instance.create_decompilation_comment(function_id, function_comment_create_request, authorization=authorization) + api_response = api_instance.create_decompilation_comment(function_id, function_comment_create_request) print("The response of FunctionsDecompilationApi->create_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -154,7 +151,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_comment_create_request** | [**FunctionCommentCreateRequest**](FunctionCommentCreateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -180,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) # **create_function_decompilation_task** -> BaseResponseStr create_function_decompilation_task(function_id, authorization=authorization) +> BaseResponseStr create_function_decompilation_task(function_id) Queues a function decompilation @@ -216,11 +212,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Queues a function decompilation - api_response = api_instance.create_function_decompilation_task(function_id, authorization=authorization) + api_response = api_instance.create_function_decompilation_task(function_id) print("The response of FunctionsDecompilationApi->create_function_decompilation_task:\n") pprint(api_response) except Exception as e: @@ -235,7 +230,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -261,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) # **delete_decompilation_comment** -> BaseResponseBool delete_decompilation_comment(comment_id, function_id, authorization=authorization) +> BaseResponseBool delete_decompilation_comment(comment_id, function_id) Delete a comment @@ -300,11 +294,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsDecompilationApi(api_client) comment_id = 56 # int | function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Delete a comment - api_response = api_instance.delete_decompilation_comment(comment_id, function_id, authorization=authorization) + api_response = api_instance.delete_decompilation_comment(comment_id, function_id) print("The response of FunctionsDecompilationApi->delete_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -320,7 +313,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **comment_id** | **int**| | **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -347,7 +339,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, authorization=authorization) +> BaseResponseListCommentResponse get_decompilation_comments(function_id) Get comments for this function @@ -385,11 +377,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get comments for this function - api_response = api_instance.get_decompilation_comments(function_id, authorization=authorization) + api_response = api_instance.get_decompilation_comments(function_id) print("The response of FunctionsDecompilationApi->get_decompilation_comments:\n") pprint(api_response) except Exception as e: @@ -404,7 +395,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -429,7 +419,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_decompilation** -> BaseResponseDecompilationResponse get_function_decompilation(function_id, authorization=authorization) +> BaseResponseDecompilationResponse get_function_decompilation(function_id) Get decompilation result @@ -465,11 +455,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsDecompilationApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get decompilation result - api_response = api_instance.get_function_decompilation(function_id, authorization=authorization) + api_response = api_instance.get_function_decompilation(function_id) print("The response of FunctionsDecompilationApi->get_function_decompilation:\n") pprint(api_response) except Exception as e: @@ -484,7 +473,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -510,7 +498,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, authorization=authorization) +> BaseResponseCommentResponse update_decompilation_comment(comment_id, function_id, comment_update_request) Update a comment @@ -551,11 +539,10 @@ with revengai.ApiClient(configuration) as api_client: comment_id = 56 # int | function_id = 56 # int | comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Update a comment - api_response = api_instance.update_decompilation_comment(comment_id, function_id, comment_update_request, authorization=authorization) + api_response = api_instance.update_decompilation_comment(comment_id, function_id, comment_update_request) print("The response of FunctionsDecompilationApi->update_decompilation_comment:\n") pprint(api_response) except Exception as e: @@ -572,7 +559,6 @@ Name | Type | Description | Notes **comment_id** | **int**| | **function_id** | **int**| | **comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/FunctionsRenamingHistoryApi.md b/docs/FunctionsRenamingHistoryApi.md index 5d22948..eb83551 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, authorization=authorization) +> BaseResponse batch_rename_function(functions_list_rename) Batch Rename Functions @@ -51,11 +51,10 @@ 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 | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Batch Rename Functions - api_response = api_instance.batch_rename_function(functions_list_rename, authorization=authorization) + api_response = api_instance.batch_rename_function(functions_list_rename) print("The response of FunctionsRenamingHistoryApi->batch_rename_function:\n") pprint(api_response) except Exception as e: @@ -70,7 +69,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **functions_list_rename** | [**FunctionsListRename**](FunctionsListRename.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -95,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) # **get_function_name_history** -> BaseResponseListFunctionNameHistory get_function_name_history(function_id, authorization=authorization) +> BaseResponseListFunctionNameHistory get_function_name_history(function_id) Get Function Name History @@ -133,11 +131,10 @@ with revengai.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = revengai.FunctionsRenamingHistoryApi(api_client) function_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Get Function Name History - api_response = api_instance.get_function_name_history(function_id, authorization=authorization) + api_response = api_instance.get_function_name_history(function_id) print("The response of FunctionsRenamingHistoryApi->get_function_name_history:\n") pprint(api_response) except Exception as e: @@ -152,7 +149,6 @@ with revengai.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -177,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) # **rename_function_id** -> BaseResponse rename_function_id(function_id, function_rename, authorization=authorization) +> BaseResponse rename_function_id(function_id, function_rename) Rename Function @@ -218,11 +214,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsRenamingHistoryApi(api_client) function_id = 56 # int | function_rename = revengai.FunctionRename() # FunctionRename | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Rename Function - api_response = api_instance.rename_function_id(function_id, function_rename, authorization=authorization) + api_response = api_instance.rename_function_id(function_id, function_rename) print("The response of FunctionsRenamingHistoryApi->rename_function_id:\n") pprint(api_response) except Exception as e: @@ -238,7 +233,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **function_rename** | [**FunctionRename**](FunctionRename.md)| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -263,7 +257,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, authorization=authorization) +> BaseResponse revert_function_name(function_id, history_id) Revert the function name @@ -302,11 +296,10 @@ with revengai.ApiClient(configuration) as api_client: api_instance = revengai.FunctionsRenamingHistoryApi(api_client) function_id = 56 # int | history_id = 56 # int | - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Revert the function name - api_response = api_instance.revert_function_name(function_id, history_id, authorization=authorization) + api_response = api_instance.revert_function_name(function_id, history_id) print("The response of FunctionsRenamingHistoryApi->revert_function_name:\n") pprint(api_response) except Exception as e: @@ -322,7 +315,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **function_id** | **int**| | **history_id** | **int**| | - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/docs/ModelsApi.md b/docs/ModelsApi.md index efd2714..bf596f4 100644 --- a/docs/ModelsApi.md +++ b/docs/ModelsApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description # **get_models** -> BaseResponseModelsResponse get_models(authorization=authorization) +> BaseResponseModelsResponse get_models() Gets models @@ -45,11 +45,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Gets models - api_response = api_instance.get_models(authorization=authorization) + api_response = api_instance.get_models() print("The response of ModelsApi->get_models:\n") pprint(api_response) except Exception as e: @@ -60,10 +59,7 @@ with revengai.ApiClient(configuration) as api_client: ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| API Key bearer token | [optional] +This endpoint does not need any parameter. ### Return type diff --git a/docs/SearchApi.md b/docs/SearchApi.md index 2e67c08..6967efd 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, authorization=authorization) +> 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) Binaries search @@ -55,11 +55,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + 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) print("The response of SearchApi->search_binaries:\n") pprint(api_response) except Exception as e: @@ -80,7 +79,6 @@ 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] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -105,7 +103,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, authorization=authorization) +> 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) Collections search @@ -155,11 +153,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (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, authorization=authorization) + 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) print("The response of SearchApi->search_collections:\n") pprint(api_response) except Exception as e: @@ -183,7 +180,6 @@ 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] - **authorization** | **str**| API Key bearer token | [optional] ### Return type @@ -209,7 +205,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, authorization=authorization) +> BaseResponseFunctionSearchResponse search_functions(page=page, page_size=page_size, partial_name=partial_name, model_name=model_name) Functions search @@ -250,11 +246,10 @@ 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) - authorization = 'authorization_example' # str | API Key bearer token (optional) try: # Functions search - api_response = api_instance.search_functions(page=page, page_size=page_size, partial_name=partial_name, model_name=model_name, authorization=authorization) + api_response = api_instance.search_functions(page=page, page_size=page_size, partial_name=partial_name, model_name=model_name) print("The response of SearchApi->search_functions:\n") pprint(api_response) except Exception as e: @@ -272,7 +267,6 @@ 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] - **authorization** | **str**| API Key bearer token | [optional] ### Return type diff --git a/revengai/__init__.py b/revengai/__init__.py index ce811aa..7f01bff 100644 --- a/revengai/__init__.py +++ b/revengai/__init__.py @@ -13,7 +13,7 @@ """ # noqa: E501 -__version__ = "v1.94.0" +__version__ = "v1.95.0" # Define package exports __all__ = [ diff --git a/revengai/api/analyses_comments_api.py b/revengai/api/analyses_comments_api.py index 4579647..26f5011 100644 --- a/revengai/api/analyses_comments_api.py +++ b/revengai/api/analyses_comments_api.py @@ -15,8 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional +from pydantic import Field, StrictInt from typing_extensions import Annotated from revengai.models.base_response_bool import BaseResponseBool from revengai.models.base_response_comment_response import BaseResponseCommentResponse @@ -47,7 +46,6 @@ def create_analysis_comment( self, analysis_id: StrictInt, comment_base: CommentBase, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69,8 +67,6 @@ def create_analysis_comment( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +92,6 @@ def create_analysis_comment( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124,7 +119,6 @@ def create_analysis_comment_with_http_info( self, analysis_id: StrictInt, comment_base: CommentBase, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -146,8 +140,6 @@ def create_analysis_comment_with_http_info( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -173,7 +165,6 @@ def create_analysis_comment_with_http_info( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -201,7 +192,6 @@ def create_analysis_comment_without_preload_content( self, analysis_id: StrictInt, comment_base: CommentBase, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -223,8 +213,6 @@ def create_analysis_comment_without_preload_content( :type analysis_id: int :param comment_base: (required) :type comment_base: CommentBase - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -250,7 +238,6 @@ def create_analysis_comment_without_preload_content( _param = self._create_analysis_comment_serialize( analysis_id=analysis_id, comment_base=comment_base, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -273,7 +260,6 @@ def _create_analysis_comment_serialize( self, analysis_id, comment_base, - authorization, _request_auth, _content_type, _headers, @@ -299,8 +285,6 @@ def _create_analysis_comment_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if comment_base is not None: @@ -357,7 +341,6 @@ def delete_analysis_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -379,8 +362,6 @@ def delete_analysis_comment( :type comment_id: int :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -406,7 +387,6 @@ def delete_analysis_comment( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -435,7 +415,6 @@ def delete_analysis_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -457,8 +436,6 @@ def delete_analysis_comment_with_http_info( :type comment_id: int :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +461,6 @@ def delete_analysis_comment_with_http_info( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -513,7 +489,6 @@ def delete_analysis_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -535,8 +510,6 @@ def delete_analysis_comment_without_preload_content( :type comment_id: int :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -562,7 +535,6 @@ def delete_analysis_comment_without_preload_content( _param = self._delete_analysis_comment_serialize( comment_id=comment_id, analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -586,7 +558,6 @@ def _delete_analysis_comment_serialize( self, comment_id, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -614,8 +585,6 @@ def _delete_analysis_comment_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -656,7 +625,6 @@ def _delete_analysis_comment_serialize( def get_analysis_comments( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -676,8 +644,6 @@ def get_analysis_comments( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -702,7 +668,6 @@ def get_analysis_comments( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -728,7 +693,6 @@ def get_analysis_comments( def get_analysis_comments_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -748,8 +712,6 @@ def get_analysis_comments_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -774,7 +736,6 @@ def get_analysis_comments_with_http_info( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -800,7 +761,6 @@ def get_analysis_comments_with_http_info( def get_analysis_comments_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -820,8 +780,6 @@ def get_analysis_comments_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -846,7 +804,6 @@ def get_analysis_comments_without_preload_content( _param = self._get_analysis_comments_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -867,7 +824,6 @@ def get_analysis_comments_without_preload_content( def _get_analysis_comments_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -893,8 +849,6 @@ def _get_analysis_comments_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -937,7 +891,6 @@ def update_analysis_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -961,8 +914,6 @@ def update_analysis_comment( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -989,7 +940,6 @@ def update_analysis_comment( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1019,7 +969,6 @@ def update_analysis_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1043,8 +992,6 @@ def update_analysis_comment_with_http_info( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1071,7 +1018,6 @@ def update_analysis_comment_with_http_info( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1101,7 +1047,6 @@ def update_analysis_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], analysis_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1125,8 +1070,6 @@ def update_analysis_comment_without_preload_content( :type analysis_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1153,7 +1096,6 @@ def update_analysis_comment_without_preload_content( comment_id=comment_id, analysis_id=analysis_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1178,7 +1120,6 @@ def _update_analysis_comment_serialize( comment_id, analysis_id, comment_update_request, - authorization, _request_auth, _content_type, _headers, @@ -1206,8 +1147,6 @@ def _update_analysis_comment_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if comment_update_request is not None: diff --git a/revengai/api/analyses_core_api.py b/revengai/api/analyses_core_api.py index e8457e9..1be3842 100644 --- a/revengai/api/analyses_core_api.py +++ b/revengai/api/analyses_core_api.py @@ -70,7 +70,6 @@ def __init__(self, api_client=None) -> None: def batch_symbol_ann( self, app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90,8 +89,6 @@ def batch_symbol_ann( :param app_api_rest_v1_ann_schema_ann_function: (required) :type app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116,7 +113,6 @@ def batch_symbol_ann( _param = self._batch_symbol_ann_serialize( app_api_rest_v1_ann_schema_ann_function=app_api_rest_v1_ann_schema_ann_function, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -142,7 +138,6 @@ def batch_symbol_ann( def batch_symbol_ann_with_http_info( self, app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -162,8 +157,6 @@ def batch_symbol_ann_with_http_info( :param app_api_rest_v1_ann_schema_ann_function: (required) :type app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -188,7 +181,6 @@ def batch_symbol_ann_with_http_info( _param = self._batch_symbol_ann_serialize( app_api_rest_v1_ann_schema_ann_function=app_api_rest_v1_ann_schema_ann_function, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -214,7 +206,6 @@ def batch_symbol_ann_with_http_info( def batch_symbol_ann_without_preload_content( self, app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -234,8 +225,6 @@ def batch_symbol_ann_without_preload_content( :param app_api_rest_v1_ann_schema_ann_function: (required) :type app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -260,7 +249,6 @@ def batch_symbol_ann_without_preload_content( _param = self._batch_symbol_ann_serialize( app_api_rest_v1_ann_schema_ann_function=app_api_rest_v1_ann_schema_ann_function, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -281,7 +269,6 @@ def batch_symbol_ann_without_preload_content( def _batch_symbol_ann_serialize( self, app_api_rest_v1_ann_schema_ann_function, - authorization, _request_auth, _content_type, _headers, @@ -305,8 +292,6 @@ def _batch_symbol_ann_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if app_api_rest_v1_ann_schema_ann_function is not None: @@ -362,7 +347,6 @@ def _batch_symbol_ann_serialize( def create_analysis( self, analysis_create_request: AnalysisCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -382,8 +366,6 @@ def create_analysis( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -408,7 +390,6 @@ def create_analysis( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -436,7 +417,6 @@ def create_analysis( def create_analysis_with_http_info( self, analysis_create_request: AnalysisCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -456,8 +436,6 @@ def create_analysis_with_http_info( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +460,6 @@ def create_analysis_with_http_info( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -510,7 +487,6 @@ def create_analysis_with_http_info( def create_analysis_without_preload_content( self, analysis_create_request: AnalysisCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -530,8 +506,6 @@ def create_analysis_without_preload_content( :param analysis_create_request: (required) :type analysis_create_request: AnalysisCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -556,7 +530,6 @@ def create_analysis_without_preload_content( _param = self._create_analysis_serialize( analysis_create_request=analysis_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -579,7 +552,6 @@ def create_analysis_without_preload_content( def _create_analysis_serialize( self, analysis_create_request, - authorization, _request_auth, _content_type, _headers, @@ -603,8 +575,6 @@ def _create_analysis_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if analysis_create_request is not None: @@ -660,7 +630,6 @@ def _create_analysis_serialize( def delete_analysis( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -680,8 +649,6 @@ def delete_analysis( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +673,6 @@ def delete_analysis( _param = self._delete_analysis_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -734,7 +700,6 @@ def delete_analysis( def delete_analysis_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -754,8 +719,6 @@ def delete_analysis_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -780,7 +743,6 @@ def delete_analysis_with_http_info( _param = self._delete_analysis_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -808,7 +770,6 @@ def delete_analysis_with_http_info( def delete_analysis_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -828,8 +789,6 @@ def delete_analysis_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -854,7 +813,6 @@ def delete_analysis_without_preload_content( _param = self._delete_analysis_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -877,7 +835,6 @@ def delete_analysis_without_preload_content( def _delete_analysis_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -903,8 +860,6 @@ def _delete_analysis_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -946,7 +901,6 @@ def find_similar_functions_batch( self, analysis_id: StrictInt, app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -968,8 +922,6 @@ def find_similar_functions_batch( :type analysis_id: int :param app_api_rest_v2_similarity_schema_ann_function: (required) :type app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +947,6 @@ def find_similar_functions_batch( _param = self._find_similar_functions_batch_serialize( analysis_id=analysis_id, app_api_rest_v2_similarity_schema_ann_function=app_api_rest_v2_similarity_schema_ann_function, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1022,7 +973,6 @@ def find_similar_functions_batch_with_http_info( self, analysis_id: StrictInt, app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1044,8 +994,6 @@ def find_similar_functions_batch_with_http_info( :type analysis_id: int :param app_api_rest_v2_similarity_schema_ann_function: (required) :type app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1071,7 +1019,6 @@ def find_similar_functions_batch_with_http_info( _param = self._find_similar_functions_batch_serialize( analysis_id=analysis_id, app_api_rest_v2_similarity_schema_ann_function=app_api_rest_v2_similarity_schema_ann_function, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1098,7 +1045,6 @@ def find_similar_functions_batch_without_preload_content( self, analysis_id: StrictInt, app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1120,8 +1066,6 @@ def find_similar_functions_batch_without_preload_content( :type analysis_id: int :param app_api_rest_v2_similarity_schema_ann_function: (required) :type app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1091,6 @@ def find_similar_functions_batch_without_preload_content( _param = self._find_similar_functions_batch_serialize( analysis_id=analysis_id, app_api_rest_v2_similarity_schema_ann_function=app_api_rest_v2_similarity_schema_ann_function, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1169,7 +1112,6 @@ def _find_similar_functions_batch_serialize( self, analysis_id, app_api_rest_v2_similarity_schema_ann_function, - authorization, _request_auth, _content_type, _headers, @@ -1195,8 +1137,6 @@ def _find_similar_functions_batch_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if app_api_rest_v2_similarity_schema_ann_function is not None: @@ -1252,7 +1192,6 @@ def _find_similar_functions_batch_serialize( def get_analysis_basic_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1272,8 +1211,6 @@ def get_analysis_basic_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1298,7 +1235,6 @@ def get_analysis_basic_info( _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1324,7 +1260,6 @@ def get_analysis_basic_info( def get_analysis_basic_info_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1344,8 +1279,6 @@ def get_analysis_basic_info_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1370,7 +1303,6 @@ def get_analysis_basic_info_with_http_info( _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1396,7 +1328,6 @@ def get_analysis_basic_info_with_http_info( def get_analysis_basic_info_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1416,8 +1347,6 @@ def get_analysis_basic_info_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1442,7 +1371,6 @@ def get_analysis_basic_info_without_preload_content( _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1463,7 +1391,6 @@ def get_analysis_basic_info_without_preload_content( def _get_analysis_basic_info_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1489,8 +1416,6 @@ def _get_analysis_basic_info_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1531,7 +1456,6 @@ def _get_analysis_basic_info_serialize( def get_analysis_function_map( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1551,8 +1475,6 @@ def get_analysis_function_map( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1577,7 +1499,6 @@ def get_analysis_function_map( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1603,7 +1524,6 @@ def get_analysis_function_map( def get_analysis_function_map_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1623,8 +1543,6 @@ def get_analysis_function_map_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1567,6 @@ def get_analysis_function_map_with_http_info( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1675,7 +1592,6 @@ def get_analysis_function_map_with_http_info( def get_analysis_function_map_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1695,8 +1611,6 @@ def get_analysis_function_map_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1721,7 +1635,6 @@ def get_analysis_function_map_without_preload_content( _param = self._get_analysis_function_map_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1742,7 +1655,6 @@ def get_analysis_function_map_without_preload_content( def _get_analysis_function_map_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1768,8 +1680,6 @@ def _get_analysis_function_map_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1810,7 +1720,6 @@ def _get_analysis_function_map_serialize( def get_analysis_logs( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1830,8 +1739,6 @@ def get_analysis_logs( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1856,7 +1763,6 @@ def get_analysis_logs( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1882,7 +1788,6 @@ def get_analysis_logs( def get_analysis_logs_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1902,8 +1807,6 @@ def get_analysis_logs_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1928,7 +1831,6 @@ def get_analysis_logs_with_http_info( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1954,7 +1856,6 @@ def get_analysis_logs_with_http_info( def get_analysis_logs_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1974,8 +1875,6 @@ def get_analysis_logs_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2000,7 +1899,6 @@ def get_analysis_logs_without_preload_content( _param = self._get_analysis_logs_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2021,7 +1919,6 @@ def get_analysis_logs_without_preload_content( def _get_analysis_logs_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -2047,8 +1944,6 @@ def _get_analysis_logs_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -2089,7 +1984,6 @@ def _get_analysis_logs_serialize( def get_analysis_params( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2109,8 +2003,6 @@ def get_analysis_params( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2135,7 +2027,6 @@ def get_analysis_params( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2161,7 +2052,6 @@ def get_analysis_params( def get_analysis_params_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2181,8 +2071,6 @@ def get_analysis_params_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2207,7 +2095,6 @@ def get_analysis_params_with_http_info( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2233,7 +2120,6 @@ def get_analysis_params_with_http_info( def get_analysis_params_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2253,8 +2139,6 @@ def get_analysis_params_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2279,7 +2163,6 @@ def get_analysis_params_without_preload_content( _param = self._get_analysis_params_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2300,7 +2183,6 @@ def get_analysis_params_without_preload_content( def _get_analysis_params_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -2326,8 +2208,6 @@ def _get_analysis_params_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -2368,7 +2248,6 @@ def _get_analysis_params_serialize( def get_analysis_status( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2388,8 +2267,6 @@ def get_analysis_status( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2414,7 +2291,6 @@ def get_analysis_status( _param = self._get_analysis_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2440,7 +2316,6 @@ def get_analysis_status( def get_analysis_status_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2460,8 +2335,6 @@ def get_analysis_status_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2486,7 +2359,6 @@ def get_analysis_status_with_http_info( _param = self._get_analysis_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2512,7 +2384,6 @@ def get_analysis_status_with_http_info( def get_analysis_status_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2532,8 +2403,6 @@ def get_analysis_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2558,7 +2427,6 @@ def get_analysis_status_without_preload_content( _param = self._get_analysis_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2579,7 +2447,6 @@ def get_analysis_status_without_preload_content( def _get_analysis_status_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -2605,8 +2472,6 @@ def _get_analysis_status_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -2648,7 +2513,6 @@ def get_binary_ann( self, analysis_id: StrictInt, binary_ann_form: BinaryAnnForm, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2670,8 +2534,6 @@ def get_binary_ann( :type analysis_id: int :param binary_ann_form: (required) :type binary_ann_form: BinaryAnnForm - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2697,7 +2559,6 @@ def get_binary_ann( _param = self._get_binary_ann_serialize( analysis_id=analysis_id, binary_ann_form=binary_ann_form, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2724,7 +2585,6 @@ def get_binary_ann_with_http_info( self, analysis_id: StrictInt, binary_ann_form: BinaryAnnForm, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2746,8 +2606,6 @@ def get_binary_ann_with_http_info( :type analysis_id: int :param binary_ann_form: (required) :type binary_ann_form: BinaryAnnForm - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2773,7 +2631,6 @@ def get_binary_ann_with_http_info( _param = self._get_binary_ann_serialize( analysis_id=analysis_id, binary_ann_form=binary_ann_form, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2800,7 +2657,6 @@ def get_binary_ann_without_preload_content( self, analysis_id: StrictInt, binary_ann_form: BinaryAnnForm, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2822,8 +2678,6 @@ def get_binary_ann_without_preload_content( :type analysis_id: int :param binary_ann_form: (required) :type binary_ann_form: BinaryAnnForm - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2849,7 +2703,6 @@ def get_binary_ann_without_preload_content( _param = self._get_binary_ann_serialize( analysis_id=analysis_id, binary_ann_form=binary_ann_form, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2871,7 +2724,6 @@ def _get_binary_ann_serialize( self, analysis_id, binary_ann_form, - authorization, _request_auth, _content_type, _headers, @@ -2897,8 +2749,6 @@ def _get_binary_ann_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if binary_ann_form is not None: @@ -2964,7 +2814,6 @@ def list_analyses( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, order: Optional[Order] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3004,8 +2853,6 @@ def list_analyses( :type order_by: AppApiRestV2AnalysesEnumsOrderBy :param order: :type order: Order - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3040,7 +2887,6 @@ def list_analyses( offset=offset, order_by=order_by, order=order, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3076,7 +2922,6 @@ def list_analyses_with_http_info( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, order: Optional[Order] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3116,8 +2961,6 @@ def list_analyses_with_http_info( :type order_by: AppApiRestV2AnalysesEnumsOrderBy :param order: :type order: Order - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3152,7 +2995,6 @@ def list_analyses_with_http_info( offset=offset, order_by=order_by, order=order, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3188,7 +3030,6 @@ def list_analyses_without_preload_content( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None, order: Optional[Order] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3228,8 +3069,6 @@ def list_analyses_without_preload_content( :type order_by: AppApiRestV2AnalysesEnumsOrderBy :param order: :type order: Order - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3264,7 +3103,6 @@ def list_analyses_without_preload_content( offset=offset, order_by=order_by, order=order, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3295,7 +3133,6 @@ def _list_analyses_serialize( offset, order_by, order, - authorization, _request_auth, _content_type, _headers, @@ -3367,8 +3204,6 @@ def _list_analyses_serialize( _query_params.append(('order', order.value)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -3409,7 +3244,6 @@ def _list_analyses_serialize( def lookup_binary_id( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3429,8 +3263,6 @@ def lookup_binary_id( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3455,7 +3287,6 @@ def lookup_binary_id( _param = self._lookup_binary_id_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3481,7 +3312,6 @@ def lookup_binary_id( def lookup_binary_id_with_http_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3501,8 +3331,6 @@ def lookup_binary_id_with_http_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3527,7 +3355,6 @@ def lookup_binary_id_with_http_info( _param = self._lookup_binary_id_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3553,7 +3380,6 @@ def lookup_binary_id_with_http_info( def lookup_binary_id_without_preload_content( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3573,8 +3399,6 @@ def lookup_binary_id_without_preload_content( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3599,7 +3423,6 @@ def lookup_binary_id_without_preload_content( _param = self._lookup_binary_id_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3620,7 +3443,6 @@ def lookup_binary_id_without_preload_content( def _lookup_binary_id_serialize( self, binary_id, - authorization, _request_auth, _content_type, _headers, @@ -3646,8 +3468,6 @@ def _lookup_binary_id_serialize( _path_params['binary_id'] = binary_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -3689,7 +3509,6 @@ def requeue_analysis( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3711,8 +3530,6 @@ def requeue_analysis( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3738,7 +3555,6 @@ def requeue_analysis( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3767,7 +3583,6 @@ def requeue_analysis_with_http_info( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3789,8 +3604,6 @@ def requeue_analysis_with_http_info( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3816,7 +3629,6 @@ def requeue_analysis_with_http_info( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3845,7 +3657,6 @@ def requeue_analysis_without_preload_content( self, analysis_id: StrictInt, re_analysis_form: ReAnalysisForm, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3867,8 +3678,6 @@ def requeue_analysis_without_preload_content( :type analysis_id: int :param re_analysis_form: (required) :type re_analysis_form: ReAnalysisForm - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3894,7 +3703,6 @@ def requeue_analysis_without_preload_content( _param = self._requeue_analysis_serialize( analysis_id=analysis_id, re_analysis_form=re_analysis_form, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3918,7 +3726,6 @@ def _requeue_analysis_serialize( self, analysis_id, re_analysis_form, - authorization, _request_auth, _content_type, _headers, @@ -3944,8 +3751,6 @@ def _requeue_analysis_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if re_analysis_form is not None: @@ -4002,7 +3807,6 @@ def update_analysis( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4024,8 +3828,6 @@ def update_analysis( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4051,7 +3853,6 @@ def update_analysis( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4078,7 +3879,6 @@ def update_analysis_with_http_info( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4100,8 +3900,6 @@ def update_analysis_with_http_info( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4127,7 +3925,6 @@ def update_analysis_with_http_info( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4154,7 +3951,6 @@ def update_analysis_without_preload_content( self, analysis_id: StrictInt, analysis_update_request: AnalysisUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4176,8 +3972,6 @@ def update_analysis_without_preload_content( :type analysis_id: int :param analysis_update_request: (required) :type analysis_update_request: AnalysisUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4203,7 +3997,6 @@ def update_analysis_without_preload_content( _param = self._update_analysis_serialize( analysis_id=analysis_id, analysis_update_request=analysis_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4225,7 +4018,6 @@ def _update_analysis_serialize( self, analysis_id, analysis_update_request, - authorization, _request_auth, _content_type, _headers, @@ -4251,8 +4043,6 @@ def _update_analysis_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if analysis_update_request is not None: @@ -4309,7 +4099,6 @@ def update_analysis_tags( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4331,8 +4120,6 @@ def update_analysis_tags( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4358,7 +4145,6 @@ def update_analysis_tags( _param = self._update_analysis_tags_serialize( analysis_id=analysis_id, analysis_update_tags_request=analysis_update_tags_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4385,7 +4171,6 @@ def update_analysis_tags_with_http_info( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4407,8 +4192,6 @@ def update_analysis_tags_with_http_info( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4434,7 +4217,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4461,7 +4243,6 @@ def update_analysis_tags_without_preload_content( self, analysis_id: StrictInt, analysis_update_tags_request: AnalysisUpdateTagsRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4483,8 +4264,6 @@ def update_analysis_tags_without_preload_content( :type analysis_id: int :param analysis_update_tags_request: (required) :type analysis_update_tags_request: AnalysisUpdateTagsRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4510,7 +4289,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4532,7 +4310,6 @@ def _update_analysis_tags_serialize( self, analysis_id, analysis_update_tags_request, - authorization, _request_auth, _content_type, _headers, @@ -4558,8 +4335,6 @@ def _update_analysis_tags_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if analysis_update_tags_request is not None: @@ -4617,7 +4392,6 @@ def upload_file( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -4641,8 +4415,6 @@ def upload_file( :type file: bytearray :param packed_password: :type packed_password: str - :param authorization: API Key bearer token - :type authorization: str :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -4671,7 +4443,6 @@ def upload_file( upload_file_type=upload_file_type, file=file, packed_password=packed_password, - authorization=authorization, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -4700,7 +4471,6 @@ def upload_file_with_http_info( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -4724,8 +4494,6 @@ def upload_file_with_http_info( :type file: bytearray :param packed_password: :type packed_password: str - :param authorization: API Key bearer token - :type authorization: str :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -4754,7 +4522,6 @@ def upload_file_with_http_info( upload_file_type=upload_file_type, file=file, packed_password=packed_password, - authorization=authorization, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -4783,7 +4550,6 @@ def upload_file_without_preload_content( upload_file_type: UploadFileType, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], packed_password: Optional[StrictStr] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, force_overwrite: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -4807,8 +4573,6 @@ def upload_file_without_preload_content( :type file: bytearray :param packed_password: :type packed_password: str - :param authorization: API Key bearer token - :type authorization: str :param force_overwrite: :type force_overwrite: bool :param _request_timeout: timeout setting for this request. If one @@ -4837,7 +4601,6 @@ def upload_file_without_preload_content( upload_file_type=upload_file_type, file=file, packed_password=packed_password, - authorization=authorization, force_overwrite=force_overwrite, _request_auth=_request_auth, _content_type=_content_type, @@ -4861,7 +4624,6 @@ def _upload_file_serialize( upload_file_type, file, packed_password, - authorization, force_overwrite, _request_auth, _content_type, @@ -4890,8 +4652,6 @@ def _upload_file_serialize( _query_params.append(('packed_password', packed_password)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters if upload_file_type is not None: _form_params.append(('upload_file_type', upload_file_type)) diff --git a/revengai/api/analyses_dynamic_execution_api.py b/revengai/api/analyses_dynamic_execution_api.py index f99a13d..a559fb6 100644 --- a/revengai/api/analyses_dynamic_execution_api.py +++ b/revengai/api/analyses_dynamic_execution_api.py @@ -15,9 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Any, Optional -from typing_extensions import Annotated +from pydantic import StrictInt, StrictStr +from typing import Any 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 @@ -47,7 +46,6 @@ def __init__(self, api_client=None) -> None: def get_dynamic_execution_status( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66,8 +64,6 @@ def get_dynamic_execution_status( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +88,6 @@ def get_dynamic_execution_status( _param = self._get_dynamic_execution_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118,7 +113,6 @@ def get_dynamic_execution_status( def get_dynamic_execution_status_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137,8 +131,6 @@ def get_dynamic_execution_status_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -163,7 +155,6 @@ def get_dynamic_execution_status_with_http_info( _param = self._get_dynamic_execution_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -189,7 +180,6 @@ def get_dynamic_execution_status_with_http_info( def get_dynamic_execution_status_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -208,8 +198,6 @@ def get_dynamic_execution_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -234,7 +222,6 @@ def get_dynamic_execution_status_without_preload_content( _param = self._get_dynamic_execution_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -255,7 +242,6 @@ def get_dynamic_execution_status_without_preload_content( def _get_dynamic_execution_status_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -281,8 +267,6 @@ def _get_dynamic_execution_status_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -323,7 +307,6 @@ def _get_dynamic_execution_status_serialize( def get_network_overview( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -342,8 +325,6 @@ def get_network_overview( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -368,7 +349,6 @@ def get_network_overview( _param = self._get_network_overview_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -394,7 +374,6 @@ def get_network_overview( def get_network_overview_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -413,8 +392,6 @@ def get_network_overview_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -439,7 +416,6 @@ def get_network_overview_with_http_info( _param = self._get_network_overview_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -465,7 +441,6 @@ def get_network_overview_with_http_info( def get_network_overview_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -484,8 +459,6 @@ def get_network_overview_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +483,6 @@ def get_network_overview_without_preload_content( _param = self._get_network_overview_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -531,7 +503,6 @@ def get_network_overview_without_preload_content( def _get_network_overview_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -557,8 +528,6 @@ def _get_network_overview_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -600,7 +569,6 @@ def get_process_dump( self, analysis_id: StrictInt, dump_name: StrictStr, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -621,8 +589,6 @@ def get_process_dump( :type analysis_id: int :param dump_name: (required) :type dump_name: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -648,7 +614,6 @@ def get_process_dump( _param = self._get_process_dump_serialize( analysis_id=analysis_id, dump_name=dump_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -675,7 +640,6 @@ def get_process_dump_with_http_info( self, analysis_id: StrictInt, dump_name: StrictStr, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -696,8 +660,6 @@ def get_process_dump_with_http_info( :type analysis_id: int :param dump_name: (required) :type dump_name: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -723,7 +685,6 @@ def get_process_dump_with_http_info( _param = self._get_process_dump_serialize( analysis_id=analysis_id, dump_name=dump_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -750,7 +711,6 @@ def get_process_dump_without_preload_content( self, analysis_id: StrictInt, dump_name: StrictStr, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -771,8 +731,6 @@ def get_process_dump_without_preload_content( :type analysis_id: int :param dump_name: (required) :type dump_name: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -798,7 +756,6 @@ def get_process_dump_without_preload_content( _param = self._get_process_dump_serialize( analysis_id=analysis_id, dump_name=dump_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -820,7 +777,6 @@ def _get_process_dump_serialize( self, analysis_id, dump_name, - authorization, _request_auth, _content_type, _headers, @@ -848,8 +804,6 @@ def _get_process_dump_serialize( _path_params['dump_name'] = dump_name # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -890,7 +844,6 @@ def _get_process_dump_serialize( def get_process_dumps( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -909,8 +862,6 @@ def get_process_dumps( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -935,7 +886,6 @@ def get_process_dumps( _param = self._get_process_dumps_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -961,7 +911,6 @@ def get_process_dumps( def get_process_dumps_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -980,8 +929,6 @@ def get_process_dumps_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1006,7 +953,6 @@ def get_process_dumps_with_http_info( _param = self._get_process_dumps_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1032,7 +978,6 @@ def get_process_dumps_with_http_info( def get_process_dumps_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1051,8 +996,6 @@ def get_process_dumps_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1020,6 @@ def get_process_dumps_without_preload_content( _param = self._get_process_dumps_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1098,7 +1040,6 @@ def get_process_dumps_without_preload_content( def _get_process_dumps_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1124,8 +1065,6 @@ def _get_process_dumps_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1166,7 +1105,6 @@ def _get_process_dumps_serialize( def get_process_registry( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1185,8 +1123,6 @@ def get_process_registry( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1211,7 +1147,6 @@ def get_process_registry( _param = self._get_process_registry_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1237,7 +1172,6 @@ def get_process_registry( def get_process_registry_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1256,8 +1190,6 @@ def get_process_registry_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1282,7 +1214,6 @@ def get_process_registry_with_http_info( _param = self._get_process_registry_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1308,7 +1239,6 @@ def get_process_registry_with_http_info( def get_process_registry_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1327,8 +1257,6 @@ def get_process_registry_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1353,7 +1281,6 @@ def get_process_registry_without_preload_content( _param = self._get_process_registry_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1374,7 +1301,6 @@ def get_process_registry_without_preload_content( def _get_process_registry_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1400,8 +1326,6 @@ def _get_process_registry_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1442,7 +1366,6 @@ def _get_process_registry_serialize( def get_process_tree( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1461,8 +1384,6 @@ def get_process_tree( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1487,7 +1408,6 @@ def get_process_tree( _param = self._get_process_tree_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1513,7 +1433,6 @@ def get_process_tree( def get_process_tree_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1532,8 +1451,6 @@ def get_process_tree_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1558,7 +1475,6 @@ def get_process_tree_with_http_info( _param = self._get_process_tree_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1584,7 +1500,6 @@ def get_process_tree_with_http_info( def get_process_tree_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1603,8 +1518,6 @@ def get_process_tree_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1629,7 +1542,6 @@ def get_process_tree_without_preload_content( _param = self._get_process_tree_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1650,7 +1562,6 @@ def get_process_tree_without_preload_content( def _get_process_tree_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1676,8 +1587,6 @@ def _get_process_tree_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1718,7 +1627,6 @@ def _get_process_tree_serialize( def get_ttps( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1737,8 +1645,6 @@ def get_ttps( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1763,7 +1669,6 @@ def get_ttps( _param = self._get_ttps_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1789,7 +1694,6 @@ def get_ttps( def get_ttps_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1808,8 +1712,6 @@ def get_ttps_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1834,7 +1736,6 @@ def get_ttps_with_http_info( _param = self._get_ttps_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1860,7 +1761,6 @@ def get_ttps_with_http_info( def get_ttps_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1879,8 +1779,6 @@ def get_ttps_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1905,7 +1803,6 @@ def get_ttps_without_preload_content( _param = self._get_ttps_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1926,7 +1823,6 @@ def get_ttps_without_preload_content( def _get_ttps_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1952,8 +1848,6 @@ def _get_ttps_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/analyses_results_metadata_api.py b/revengai/api/analyses_results_metadata_api.py index c5f09ae..aaaed44 100644 --- a/revengai/api/analyses_results_metadata_api.py +++ b/revengai/api/analyses_results_metadata_api.py @@ -47,7 +47,6 @@ def __init__(self, api_client=None) -> None: def get_capabilities( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66,8 +65,6 @@ def get_capabilities( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +89,6 @@ def get_capabilities( _param = self._get_capabilities_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118,7 +114,6 @@ def get_capabilities( def get_capabilities_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137,8 +132,6 @@ def get_capabilities_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -163,7 +156,6 @@ def get_capabilities_with_http_info( _param = self._get_capabilities_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -189,7 +181,6 @@ def get_capabilities_with_http_info( def get_capabilities_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -208,8 +199,6 @@ def get_capabilities_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -234,7 +223,6 @@ def get_capabilities_without_preload_content( _param = self._get_capabilities_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -255,7 +243,6 @@ def get_capabilities_without_preload_content( def _get_capabilities_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -281,8 +268,6 @@ def _get_capabilities_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -324,7 +309,6 @@ def get_communities( self, analysis_id: StrictInt, user_name: Annotated[Optional[StrictStr], Field(description="The user name to limit communities to")] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -345,8 +329,6 @@ def get_communities( :type analysis_id: int :param user_name: The user name to limit communities to :type user_name: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -372,7 +354,6 @@ def get_communities( _param = self._get_communities_serialize( analysis_id=analysis_id, user_name=user_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -399,7 +380,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -420,8 +400,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -447,7 +425,6 @@ def get_communities_with_http_info( _param = self._get_communities_serialize( analysis_id=analysis_id, user_name=user_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -474,7 +451,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -495,8 +471,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -522,7 +496,6 @@ def get_communities_without_preload_content( _param = self._get_communities_serialize( analysis_id=analysis_id, user_name=user_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -544,7 +517,6 @@ def _get_communities_serialize( self, analysis_id, user_name, - authorization, _request_auth, _content_type, _headers, @@ -574,8 +546,6 @@ def _get_communities_serialize( _query_params.append(('user_name', user_name)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -619,7 +589,6 @@ def get_functions_list( search_term: Optional[StrictStr] = None, min_v_addr: Optional[StrictInt] = None, max_v_addr: Optional[StrictInt] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -645,8 +614,6 @@ def get_functions_list( :type min_v_addr: int :param max_v_addr: :type max_v_addr: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -674,7 +641,6 @@ def get_functions_list( search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -703,7 +669,6 @@ def get_functions_list_with_http_info( search_term: Optional[StrictStr] = None, min_v_addr: Optional[StrictInt] = None, max_v_addr: Optional[StrictInt] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -729,8 +694,6 @@ def get_functions_list_with_http_info( :type min_v_addr: int :param max_v_addr: :type max_v_addr: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -758,7 +721,6 @@ def get_functions_list_with_http_info( search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -787,7 +749,6 @@ def get_functions_list_without_preload_content( search_term: Optional[StrictStr] = None, min_v_addr: Optional[StrictInt] = None, max_v_addr: Optional[StrictInt] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -813,8 +774,6 @@ def get_functions_list_without_preload_content( :type min_v_addr: int :param max_v_addr: :type max_v_addr: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -842,7 +801,6 @@ def get_functions_list_without_preload_content( search_term=search_term, min_v_addr=min_v_addr, max_v_addr=max_v_addr, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -866,7 +824,6 @@ def _get_functions_list_serialize( search_term, min_v_addr, max_v_addr, - authorization, _request_auth, _content_type, _headers, @@ -904,8 +861,6 @@ def _get_functions_list_serialize( _query_params.append(('max_v_addr', max_v_addr)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -946,7 +901,6 @@ def _get_functions_list_serialize( def get_pdf( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -965,8 +919,6 @@ def get_pdf( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -991,7 +943,6 @@ def get_pdf( _param = self._get_pdf_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1017,7 +968,6 @@ def get_pdf( def get_pdf_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1036,8 +986,6 @@ def get_pdf_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1062,7 +1010,6 @@ def get_pdf_with_http_info( _param = self._get_pdf_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1088,7 +1035,6 @@ def get_pdf_with_http_info( def get_pdf_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1107,8 +1053,6 @@ def get_pdf_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1133,7 +1077,6 @@ def get_pdf_without_preload_content( _param = self._get_pdf_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1154,7 +1097,6 @@ def get_pdf_without_preload_content( def _get_pdf_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1180,8 +1122,6 @@ def _get_pdf_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1222,7 +1162,6 @@ def _get_pdf_serialize( def get_sbom( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1241,8 +1180,6 @@ def get_sbom( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1267,7 +1204,6 @@ def get_sbom( _param = self._get_sbom_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1293,7 +1229,6 @@ def get_sbom( def get_sbom_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1312,8 +1247,6 @@ def get_sbom_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1271,6 @@ def get_sbom_with_http_info( _param = self._get_sbom_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1364,7 +1296,6 @@ def get_sbom_with_http_info( def get_sbom_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1383,8 +1314,6 @@ def get_sbom_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1409,7 +1338,6 @@ def get_sbom_without_preload_content( _param = self._get_sbom_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1430,7 +1358,6 @@ def get_sbom_without_preload_content( def _get_sbom_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1456,8 +1383,6 @@ def _get_sbom_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1498,7 +1423,6 @@ def _get_sbom_serialize( def get_tags( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1517,8 +1441,6 @@ def get_tags( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1543,7 +1465,6 @@ def get_tags( _param = self._get_tags_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1569,7 +1490,6 @@ def get_tags( def get_tags_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1588,8 +1508,6 @@ def get_tags_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1614,7 +1532,6 @@ def get_tags_with_http_info( _param = self._get_tags_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1640,7 +1557,6 @@ def get_tags_with_http_info( def get_tags_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1659,8 +1575,6 @@ def get_tags_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1685,7 +1599,6 @@ def get_tags_without_preload_content( _param = self._get_tags_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1706,7 +1619,6 @@ def get_tags_without_preload_content( def _get_tags_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1732,8 +1644,6 @@ def _get_tags_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1774,7 +1684,6 @@ def _get_tags_serialize( def get_vulnerabilities( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1793,8 +1702,6 @@ def get_vulnerabilities( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1819,7 +1726,6 @@ def get_vulnerabilities( _param = self._get_vulnerabilities_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1845,7 +1751,6 @@ def get_vulnerabilities( def get_vulnerabilities_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1864,8 +1769,6 @@ def get_vulnerabilities_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1890,7 +1793,6 @@ def get_vulnerabilities_with_http_info( _param = self._get_vulnerabilities_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1916,7 +1818,6 @@ def get_vulnerabilities_with_http_info( def get_vulnerabilities_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1935,8 +1836,6 @@ def get_vulnerabilities_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1860,6 @@ def get_vulnerabilities_without_preload_content( _param = self._get_vulnerabilities_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1982,7 +1880,6 @@ def get_vulnerabilities_without_preload_content( def _get_vulnerabilities_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -2008,8 +1905,6 @@ def _get_vulnerabilities_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/analyses_security_checks_api.py b/revengai/api/analyses_security_checks_api.py index 7b607db..8abc6e7 100644 --- a/revengai/api/analyses_security_checks_api.py +++ b/revengai/api/analyses_security_checks_api.py @@ -15,8 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional +from pydantic import Field, StrictInt 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 @@ -44,7 +43,6 @@ def __init__(self, api_client=None) -> None: def create_scurity_checks_task( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,8 +61,6 @@ def create_scurity_checks_task( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +85,6 @@ def create_scurity_checks_task( _param = self._create_scurity_checks_task_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116,7 +111,6 @@ def create_scurity_checks_task( def create_scurity_checks_task_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135,8 +129,6 @@ def create_scurity_checks_task_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -161,7 +153,6 @@ def create_scurity_checks_task_with_http_info( _param = self._create_scurity_checks_task_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -188,7 +179,6 @@ def create_scurity_checks_task_with_http_info( def create_scurity_checks_task_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -207,8 +197,6 @@ def create_scurity_checks_task_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -233,7 +221,6 @@ def create_scurity_checks_task_without_preload_content( _param = self._create_scurity_checks_task_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -255,7 +242,6 @@ def create_scurity_checks_task_without_preload_content( def _create_scurity_checks_task_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -281,8 +267,6 @@ def _create_scurity_checks_task_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -325,7 +309,6 @@ 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.")], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -349,8 +332,6 @@ def get_security_checks( :type page: int :param page_size: Number of items per page. (required) :type page_size: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -377,7 +358,6 @@ def get_security_checks( analysis_id=analysis_id, page=page, page_size=page_size, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -405,7 +385,6 @@ 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.")], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -429,8 +408,6 @@ def get_security_checks_with_http_info( :type page: int :param page_size: Number of items per page. (required) :type page_size: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -457,7 +434,6 @@ def get_security_checks_with_http_info( analysis_id=analysis_id, page=page, page_size=page_size, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -485,7 +461,6 @@ 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.")], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -509,8 +484,6 @@ def get_security_checks_without_preload_content( :type page: int :param page_size: Number of items per page. (required) :type page_size: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -537,7 +510,6 @@ def get_security_checks_without_preload_content( analysis_id=analysis_id, page=page, page_size=page_size, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -560,7 +532,6 @@ def _get_security_checks_serialize( analysis_id, page, page_size, - authorization, _request_auth, _content_type, _headers, @@ -594,8 +565,6 @@ def _get_security_checks_serialize( _query_params.append(('page_size', page_size)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -636,7 +605,6 @@ def _get_security_checks_serialize( def get_security_checks_task_status( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -655,8 +623,6 @@ def get_security_checks_task_status( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -681,7 +647,6 @@ def get_security_checks_task_status( _param = self._get_security_checks_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -707,7 +672,6 @@ def get_security_checks_task_status( def get_security_checks_task_status_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -726,8 +690,6 @@ def get_security_checks_task_status_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -752,7 +714,6 @@ def get_security_checks_task_status_with_http_info( _param = self._get_security_checks_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -778,7 +739,6 @@ def get_security_checks_task_status_with_http_info( def get_security_checks_task_status_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -797,8 +757,6 @@ def get_security_checks_task_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -823,7 +781,6 @@ def get_security_checks_task_status_without_preload_content( _param = self._get_security_checks_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -844,7 +801,6 @@ def get_security_checks_task_status_without_preload_content( def _get_security_checks_task_status_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -870,8 +826,6 @@ def _get_security_checks_task_status_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/authentication_users_api.py b/revengai/api/authentication_users_api.py index 35f6176..e2de7e3 100644 --- a/revengai/api/authentication_users_api.py +++ b/revengai/api/authentication_users_api.py @@ -15,9 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional -from typing_extensions import Annotated +from pydantic import StrictInt 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 @@ -46,7 +44,6 @@ def __init__(self, api_client=None) -> None: @validate_call def get_requester_user_info( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,8 +60,6 @@ def get_requester_user_info( """Get the requesters user information - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +83,6 @@ def get_requester_user_info( """ # noqa: E501 _param = self._get_requester_user_info_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113,7 +107,6 @@ def get_requester_user_info( @validate_call def get_requester_user_info_with_http_info( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130,8 +123,6 @@ def get_requester_user_info_with_http_info( """Get the requesters user information - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +146,6 @@ def get_requester_user_info_with_http_info( """ # noqa: E501 _param = self._get_requester_user_info_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -180,7 +170,6 @@ def get_requester_user_info_with_http_info( @validate_call def get_requester_user_info_without_preload_content( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -197,8 +186,6 @@ def get_requester_user_info_without_preload_content( """Get the requesters user information - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +209,6 @@ def get_requester_user_info_without_preload_content( """ # noqa: E501 _param = self._get_requester_user_info_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -242,7 +228,6 @@ def get_requester_user_info_without_preload_content( def _get_requester_user_info_serialize( self, - authorization, _request_auth, _content_type, _headers, @@ -266,8 +251,6 @@ def _get_requester_user_info_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -308,7 +291,6 @@ def _get_requester_user_info_serialize( def get_user( self, user_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -327,8 +309,6 @@ def get_user( :param user_id: (required) :type user_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -353,7 +333,6 @@ def get_user( _param = self._get_user_serialize( user_id=user_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -379,7 +358,6 @@ def get_user( def get_user_with_http_info( self, user_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -398,8 +376,6 @@ def get_user_with_http_info( :param user_id: (required) :type user_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -424,7 +400,6 @@ def get_user_with_http_info( _param = self._get_user_serialize( user_id=user_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -450,7 +425,6 @@ def get_user_with_http_info( def get_user_without_preload_content( self, user_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -469,8 +443,6 @@ def get_user_without_preload_content( :param user_id: (required) :type user_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -495,7 +467,6 @@ def get_user_without_preload_content( _param = self._get_user_serialize( user_id=user_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -516,7 +487,6 @@ def get_user_without_preload_content( def _get_user_serialize( self, user_id, - authorization, _request_auth, _content_type, _headers, @@ -542,8 +512,6 @@ def _get_user_serialize( _path_params['user_id'] = user_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -583,7 +551,6 @@ def _get_user_serialize( @validate_call def get_user_activity( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -600,8 +567,6 @@ def get_user_activity( """Get auth user activity - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -625,7 +590,6 @@ def get_user_activity( """ # noqa: E501 _param = self._get_user_activity_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -650,7 +614,6 @@ def get_user_activity( @validate_call def get_user_activity_with_http_info( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -667,8 +630,6 @@ def get_user_activity_with_http_info( """Get auth user activity - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -692,7 +653,6 @@ def get_user_activity_with_http_info( """ # noqa: E501 _param = self._get_user_activity_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -717,7 +677,6 @@ def get_user_activity_with_http_info( @validate_call def get_user_activity_without_preload_content( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -734,8 +693,6 @@ def get_user_activity_without_preload_content( """Get auth user activity - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -759,7 +716,6 @@ def get_user_activity_without_preload_content( """ # noqa: E501 _param = self._get_user_activity_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -779,7 +735,6 @@ def get_user_activity_without_preload_content( def _get_user_activity_serialize( self, - authorization, _request_auth, _content_type, _headers, @@ -803,8 +758,6 @@ def _get_user_activity_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -844,7 +797,6 @@ def _get_user_activity_serialize( @validate_call def get_user_comments( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -862,8 +814,6 @@ def get_user_comments( Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to. - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -887,7 +837,6 @@ def get_user_comments( """ # noqa: E501 _param = self._get_user_comments_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -912,7 +861,6 @@ def get_user_comments( @validate_call def get_user_comments_with_http_info( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -930,8 +878,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_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,7 +901,6 @@ def get_user_comments_with_http_info( """ # noqa: E501 _param = self._get_user_comments_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -980,7 +925,6 @@ def get_user_comments_with_http_info( @validate_call def get_user_comments_without_preload_content( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -998,8 +942,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1023,7 +965,6 @@ def get_user_comments_without_preload_content( """ # noqa: E501 _param = self._get_user_comments_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1043,7 +984,6 @@ def get_user_comments_without_preload_content( def _get_user_comments_serialize( self, - authorization, _request_auth, _content_type, _headers, @@ -1067,8 +1007,6 @@ def _get_user_comments_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/binaries_api.py b/revengai/api/binaries_api.py index 8fb8a72..c5f152b 100644 --- a/revengai/api/binaries_api.py +++ b/revengai/api/binaries_api.py @@ -15,9 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Any, Optional -from typing_extensions import Annotated +from pydantic import StrictInt +from typing import Any 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 @@ -46,7 +45,6 @@ def __init__(self, api_client=None) -> None: def download_zipped_binary( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65,8 +63,6 @@ def download_zipped_binary( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91,7 +87,6 @@ def download_zipped_binary( _param = self._download_zipped_binary_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117,7 +112,6 @@ def download_zipped_binary( def download_zipped_binary_with_http_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136,8 +130,6 @@ def download_zipped_binary_with_http_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -162,7 +154,6 @@ def download_zipped_binary_with_http_info( _param = self._download_zipped_binary_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -188,7 +179,6 @@ def download_zipped_binary_with_http_info( def download_zipped_binary_without_preload_content( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -207,8 +197,6 @@ def download_zipped_binary_without_preload_content( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -233,7 +221,6 @@ def download_zipped_binary_without_preload_content( _param = self._download_zipped_binary_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -254,7 +241,6 @@ def download_zipped_binary_without_preload_content( def _download_zipped_binary_serialize( self, binary_id, - authorization, _request_auth, _content_type, _headers, @@ -280,8 +266,6 @@ def _download_zipped_binary_serialize( _path_params['binary_id'] = binary_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -322,7 +306,6 @@ def _download_zipped_binary_serialize( def get_binary_additional_details( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -341,8 +324,6 @@ def get_binary_additional_details( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -367,7 +348,6 @@ def get_binary_additional_details( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -393,7 +373,6 @@ def get_binary_additional_details( def get_binary_additional_details_with_http_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -412,8 +391,6 @@ def get_binary_additional_details_with_http_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -438,7 +415,6 @@ def get_binary_additional_details_with_http_info( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -464,7 +440,6 @@ def get_binary_additional_details_with_http_info( def get_binary_additional_details_without_preload_content( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -483,8 +458,6 @@ def get_binary_additional_details_without_preload_content( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +482,6 @@ def get_binary_additional_details_without_preload_content( _param = self._get_binary_additional_details_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -530,7 +502,6 @@ def get_binary_additional_details_without_preload_content( def _get_binary_additional_details_serialize( self, binary_id, - authorization, _request_auth, _content_type, _headers, @@ -556,8 +527,6 @@ def _get_binary_additional_details_serialize( _path_params['binary_id'] = binary_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -598,7 +567,6 @@ def _get_binary_additional_details_serialize( def get_binary_details( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -617,8 +585,6 @@ def get_binary_details( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -643,7 +609,6 @@ def get_binary_details( _param = self._get_binary_details_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -669,7 +634,6 @@ def get_binary_details( def get_binary_details_with_http_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -688,8 +652,6 @@ def get_binary_details_with_http_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +676,6 @@ def get_binary_details_with_http_info( _param = self._get_binary_details_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -740,7 +701,6 @@ def get_binary_details_with_http_info( def get_binary_details_without_preload_content( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -759,8 +719,6 @@ def get_binary_details_without_preload_content( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -785,7 +743,6 @@ def get_binary_details_without_preload_content( _param = self._get_binary_details_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -806,7 +763,6 @@ def get_binary_details_without_preload_content( def _get_binary_details_serialize( self, binary_id, - authorization, _request_auth, _content_type, _headers, @@ -832,8 +788,6 @@ def _get_binary_details_serialize( _path_params['binary_id'] = binary_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -874,7 +828,6 @@ def _get_binary_details_serialize( def get_binary_die_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -893,8 +846,6 @@ def get_binary_die_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -919,7 +870,6 @@ def get_binary_die_info( _param = self._get_binary_die_info_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -945,7 +895,6 @@ def get_binary_die_info( def get_binary_die_info_with_http_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -964,8 +913,6 @@ def get_binary_die_info_with_http_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -990,7 +937,6 @@ def get_binary_die_info_with_http_info( _param = self._get_binary_die_info_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1016,7 +962,6 @@ def get_binary_die_info_with_http_info( def get_binary_die_info_without_preload_content( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1035,8 +980,6 @@ def get_binary_die_info_without_preload_content( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1061,7 +1004,6 @@ def get_binary_die_info_without_preload_content( _param = self._get_binary_die_info_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1082,7 +1024,6 @@ def get_binary_die_info_without_preload_content( def _get_binary_die_info_serialize( self, binary_id, - authorization, _request_auth, _content_type, _headers, @@ -1108,8 +1049,6 @@ def _get_binary_die_info_serialize( _path_params['binary_id'] = binary_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1150,7 +1089,6 @@ def _get_binary_die_info_serialize( def get_binary_externals( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1169,8 +1107,6 @@ def get_binary_externals( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1195,7 +1131,6 @@ def get_binary_externals( _param = self._get_binary_externals_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1221,7 +1156,6 @@ def get_binary_externals( def get_binary_externals_with_http_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1240,8 +1174,6 @@ def get_binary_externals_with_http_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1266,7 +1198,6 @@ def get_binary_externals_with_http_info( _param = self._get_binary_externals_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1292,7 +1223,6 @@ def get_binary_externals_with_http_info( def get_binary_externals_without_preload_content( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1311,8 +1241,6 @@ def get_binary_externals_without_preload_content( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1337,7 +1265,6 @@ def get_binary_externals_without_preload_content( _param = self._get_binary_externals_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1358,7 +1285,6 @@ def get_binary_externals_without_preload_content( def _get_binary_externals_serialize( self, binary_id, - authorization, _request_auth, _content_type, _headers, @@ -1384,8 +1310,6 @@ def _get_binary_externals_serialize( _path_params['binary_id'] = binary_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1426,7 +1350,6 @@ def _get_binary_externals_serialize( def get_related_binaries( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1445,8 +1368,6 @@ def get_related_binaries( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1471,7 +1392,6 @@ def get_related_binaries( _param = self._get_related_binaries_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1498,7 +1418,6 @@ def get_related_binaries( def get_related_binaries_with_http_info( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1517,8 +1436,6 @@ def get_related_binaries_with_http_info( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1543,7 +1460,6 @@ def get_related_binaries_with_http_info( _param = self._get_related_binaries_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1570,7 +1486,6 @@ def get_related_binaries_with_http_info( def get_related_binaries_without_preload_content( self, binary_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1589,8 +1504,6 @@ def get_related_binaries_without_preload_content( :param binary_id: (required) :type binary_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1615,7 +1528,6 @@ def get_related_binaries_without_preload_content( _param = self._get_related_binaries_serialize( binary_id=binary_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1637,7 +1549,6 @@ def get_related_binaries_without_preload_content( def _get_related_binaries_serialize( self, binary_id, - authorization, _request_auth, _content_type, _headers, @@ -1663,8 +1574,6 @@ def _get_related_binaries_serialize( _path_params['binary_id'] = binary_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/collections_api.py b/revengai/api/collections_api.py index 8c1a7bb..0877edf 100644 --- a/revengai/api/collections_api.py +++ b/revengai/api/collections_api.py @@ -53,7 +53,6 @@ def __init__(self, api_client=None) -> None: def create_collection( self, collection_create_request: CollectionCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73,8 +72,6 @@ def create_collection( :param collection_create_request: (required) :type collection_create_request: CollectionCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99,7 +96,6 @@ def create_collection( _param = self._create_collection_serialize( collection_create_request=collection_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125,7 +121,6 @@ def create_collection( def create_collection_with_http_info( self, collection_create_request: CollectionCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -145,8 +140,6 @@ def create_collection_with_http_info( :param collection_create_request: (required) :type collection_create_request: CollectionCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +164,6 @@ def create_collection_with_http_info( _param = self._create_collection_serialize( collection_create_request=collection_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -197,7 +189,6 @@ def create_collection_with_http_info( def create_collection_without_preload_content( self, collection_create_request: CollectionCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -217,8 +208,6 @@ def create_collection_without_preload_content( :param collection_create_request: (required) :type collection_create_request: CollectionCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -243,7 +232,6 @@ def create_collection_without_preload_content( _param = self._create_collection_serialize( collection_create_request=collection_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -264,7 +252,6 @@ def create_collection_without_preload_content( def _create_collection_serialize( self, collection_create_request, - authorization, _request_auth, _content_type, _headers, @@ -288,8 +275,6 @@ def _create_collection_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if collection_create_request is not None: @@ -345,7 +330,6 @@ def _create_collection_serialize( def delete_collection( self, collection_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -365,8 +349,6 @@ def delete_collection( :param collection_id: (required) :type collection_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -391,7 +373,6 @@ def delete_collection( _param = self._delete_collection_serialize( collection_id=collection_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -417,7 +398,6 @@ def delete_collection( def delete_collection_with_http_info( self, collection_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -437,8 +417,6 @@ def delete_collection_with_http_info( :param collection_id: (required) :type collection_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -463,7 +441,6 @@ def delete_collection_with_http_info( _param = self._delete_collection_serialize( collection_id=collection_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -489,7 +466,6 @@ def delete_collection_with_http_info( def delete_collection_without_preload_content( self, collection_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -509,8 +485,6 @@ def delete_collection_without_preload_content( :param collection_id: (required) :type collection_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +509,6 @@ def delete_collection_without_preload_content( _param = self._delete_collection_serialize( collection_id=collection_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -556,7 +529,6 @@ def delete_collection_without_preload_content( def _delete_collection_serialize( self, collection_id, - authorization, _request_auth, _content_type, _headers, @@ -582,8 +554,6 @@ def _delete_collection_serialize( _path_params['collection_id'] = collection_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -626,7 +596,6 @@ def get_collection( collection_id: StrictInt, include_tags: Optional[StrictBool] = None, include_binaries: Optional[StrictBool] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -650,8 +619,6 @@ def get_collection( :type include_tags: bool :param include_binaries: :type include_binaries: bool - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -678,7 +645,6 @@ def get_collection( collection_id=collection_id, include_tags=include_tags, include_binaries=include_binaries, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -706,7 +672,6 @@ def get_collection_with_http_info( collection_id: StrictInt, include_tags: Optional[StrictBool] = None, include_binaries: Optional[StrictBool] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -730,8 +695,6 @@ def get_collection_with_http_info( :type include_tags: bool :param include_binaries: :type include_binaries: bool - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -758,7 +721,6 @@ def get_collection_with_http_info( collection_id=collection_id, include_tags=include_tags, include_binaries=include_binaries, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -786,7 +748,6 @@ def get_collection_without_preload_content( collection_id: StrictInt, include_tags: Optional[StrictBool] = None, include_binaries: Optional[StrictBool] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -810,8 +771,6 @@ def get_collection_without_preload_content( :type include_tags: bool :param include_binaries: :type include_binaries: bool - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -838,7 +797,6 @@ def get_collection_without_preload_content( collection_id=collection_id, include_tags=include_tags, include_binaries=include_binaries, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -861,7 +819,6 @@ def _get_collection_serialize( collection_id, include_tags, include_binaries, - authorization, _request_auth, _content_type, _headers, @@ -895,8 +852,6 @@ def _get_collection_serialize( _query_params.append(('include_binaries', include_binaries)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -942,7 +897,6 @@ def list_collections( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, order: Optional[Order] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -972,8 +926,6 @@ def list_collections( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order: :type order: Order - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1003,7 +955,6 @@ def list_collections( offset=offset, order_by=order_by, order=order, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1034,7 +985,6 @@ def list_collections_with_http_info( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, order: Optional[Order] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1064,8 +1014,6 @@ def list_collections_with_http_info( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order: :type order: Order - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1095,7 +1043,6 @@ def list_collections_with_http_info( offset=offset, order_by=order_by, order=order, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1126,7 +1073,6 @@ def list_collections_without_preload_content( offset: Optional[StrictInt] = None, order_by: Optional[AppApiRestV2CollectionsEnumsOrderBy] = None, order: Optional[Order] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1156,8 +1102,6 @@ def list_collections_without_preload_content( :type order_by: AppApiRestV2CollectionsEnumsOrderBy :param order: :type order: Order - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1187,7 +1131,6 @@ def list_collections_without_preload_content( offset=offset, order_by=order_by, order=order, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1213,7 +1156,6 @@ def _list_collections_serialize( offset, order_by, order, - authorization, _request_auth, _content_type, _headers, @@ -1262,8 +1204,6 @@ def _list_collections_serialize( _query_params.append(('order', order.value)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1305,7 +1245,6 @@ def update_collection( self, collection_id: StrictInt, collection_update_request: CollectionUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1327,8 +1266,6 @@ def update_collection( :type collection_id: int :param collection_update_request: (required) :type collection_update_request: CollectionUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1354,7 +1291,6 @@ def update_collection( _param = self._update_collection_serialize( collection_id=collection_id, collection_update_request=collection_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1381,7 +1317,6 @@ def update_collection_with_http_info( self, collection_id: StrictInt, collection_update_request: CollectionUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1403,8 +1338,6 @@ def update_collection_with_http_info( :type collection_id: int :param collection_update_request: (required) :type collection_update_request: CollectionUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1430,7 +1363,6 @@ def update_collection_with_http_info( _param = self._update_collection_serialize( collection_id=collection_id, collection_update_request=collection_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1457,7 +1389,6 @@ def update_collection_without_preload_content( self, collection_id: StrictInt, collection_update_request: CollectionUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1479,8 +1410,6 @@ def update_collection_without_preload_content( :type collection_id: int :param collection_update_request: (required) :type collection_update_request: CollectionUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1506,7 +1435,6 @@ def update_collection_without_preload_content( _param = self._update_collection_serialize( collection_id=collection_id, collection_update_request=collection_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1528,7 +1456,6 @@ def _update_collection_serialize( self, collection_id, collection_update_request, - authorization, _request_auth, _content_type, _headers, @@ -1554,8 +1481,6 @@ def _update_collection_serialize( _path_params['collection_id'] = collection_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if collection_update_request is not None: @@ -1612,7 +1537,6 @@ def update_collection_binaries( self, collection_id: StrictInt, collection_binaries_update_request: CollectionBinariesUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1634,8 +1558,6 @@ def update_collection_binaries( :type collection_id: int :param collection_binaries_update_request: (required) :type collection_binaries_update_request: CollectionBinariesUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1661,7 +1583,6 @@ def update_collection_binaries( _param = self._update_collection_binaries_serialize( collection_id=collection_id, collection_binaries_update_request=collection_binaries_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1688,7 +1609,6 @@ def update_collection_binaries_with_http_info( self, collection_id: StrictInt, collection_binaries_update_request: CollectionBinariesUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1710,8 +1630,6 @@ def update_collection_binaries_with_http_info( :type collection_id: int :param collection_binaries_update_request: (required) :type collection_binaries_update_request: CollectionBinariesUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1737,7 +1655,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1764,7 +1681,6 @@ def update_collection_binaries_without_preload_content( self, collection_id: StrictInt, collection_binaries_update_request: CollectionBinariesUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1786,8 +1702,6 @@ def update_collection_binaries_without_preload_content( :type collection_id: int :param collection_binaries_update_request: (required) :type collection_binaries_update_request: CollectionBinariesUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1813,7 +1727,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1835,7 +1748,6 @@ def _update_collection_binaries_serialize( self, collection_id, collection_binaries_update_request, - authorization, _request_auth, _content_type, _headers, @@ -1861,8 +1773,6 @@ def _update_collection_binaries_serialize( _path_params['collection_id'] = collection_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if collection_binaries_update_request is not None: @@ -1919,7 +1829,6 @@ def update_collection_tags( self, collection_id: StrictInt, collection_tags_update_request: CollectionTagsUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1941,8 +1850,6 @@ def update_collection_tags( :type collection_id: int :param collection_tags_update_request: (required) :type collection_tags_update_request: CollectionTagsUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1968,7 +1875,6 @@ def update_collection_tags( _param = self._update_collection_tags_serialize( collection_id=collection_id, collection_tags_update_request=collection_tags_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1995,7 +1901,6 @@ def update_collection_tags_with_http_info( self, collection_id: StrictInt, collection_tags_update_request: CollectionTagsUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2017,8 +1922,6 @@ def update_collection_tags_with_http_info( :type collection_id: int :param collection_tags_update_request: (required) :type collection_tags_update_request: CollectionTagsUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2044,7 +1947,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2071,7 +1973,6 @@ def update_collection_tags_without_preload_content( self, collection_id: StrictInt, collection_tags_update_request: CollectionTagsUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2093,8 +1994,6 @@ def update_collection_tags_without_preload_content( :type collection_id: int :param collection_tags_update_request: (required) :type collection_tags_update_request: CollectionTagsUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2120,7 +2019,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2142,7 +2040,6 @@ def _update_collection_tags_serialize( self, collection_id, collection_tags_update_request, - authorization, _request_auth, _content_type, _headers, @@ -2168,8 +2065,6 @@ def _update_collection_tags_serialize( _path_params['collection_id'] = collection_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if collection_tags_update_request is not None: diff --git a/revengai/api/confidence_api.py b/revengai/api/confidence_api.py index 4ce1174..4a3fc12 100644 --- a/revengai/api/confidence_api.py +++ b/revengai/api/confidence_api.py @@ -15,8 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional +from pydantic import Field, StrictInt from typing_extensions import Annotated from revengai.models.base_response_box_plot_confidence import BaseResponseBoxPlotConfidence from revengai.models.base_response_list_function_box_plot_confidence import BaseResponseListFunctionBoxPlotConfidence @@ -48,7 +47,6 @@ def get_analysis_tag_score( self, analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the tag scores for")], tag_confidence_body: TagConfidenceBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70,8 +68,6 @@ def get_analysis_tag_score( :type analysis_id: int :param tag_confidence_body: (required) :type tag_confidence_body: TagConfidenceBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97,7 +93,6 @@ def get_analysis_tag_score( _param = self._get_analysis_tag_score_serialize( analysis_id=analysis_id, tag_confidence_body=tag_confidence_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124,7 +119,6 @@ def get_analysis_tag_score_with_http_info( self, analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the tag scores for")], tag_confidence_body: TagConfidenceBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -146,8 +140,6 @@ def get_analysis_tag_score_with_http_info( :type analysis_id: int :param tag_confidence_body: (required) :type tag_confidence_body: TagConfidenceBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -173,7 +165,6 @@ def get_analysis_tag_score_with_http_info( _param = self._get_analysis_tag_score_serialize( analysis_id=analysis_id, tag_confidence_body=tag_confidence_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -200,7 +191,6 @@ def get_analysis_tag_score_without_preload_content( self, analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the tag scores for")], tag_confidence_body: TagConfidenceBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -222,8 +212,6 @@ def get_analysis_tag_score_without_preload_content( :type analysis_id: int :param tag_confidence_body: (required) :type tag_confidence_body: TagConfidenceBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -249,7 +237,6 @@ def get_analysis_tag_score_without_preload_content( _param = self._get_analysis_tag_score_serialize( analysis_id=analysis_id, tag_confidence_body=tag_confidence_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -271,7 +258,6 @@ def _get_analysis_tag_score_serialize( self, analysis_id, tag_confidence_body, - authorization, _request_auth, _content_type, _headers, @@ -297,8 +283,6 @@ def _get_analysis_tag_score_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if tag_confidence_body is not None: @@ -354,7 +338,6 @@ def _get_analysis_tag_score_serialize( def get_analysis_threat_score( self, analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the threat score for")], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -374,8 +357,6 @@ def get_analysis_threat_score( :param analysis_id: The analysis to calculate the threat score for (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +381,6 @@ def get_analysis_threat_score( _param = self._get_analysis_threat_score_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -426,7 +406,6 @@ def get_analysis_threat_score( def get_analysis_threat_score_with_http_info( self, analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the threat score for")], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -446,8 +425,6 @@ def get_analysis_threat_score_with_http_info( :param analysis_id: The analysis to calculate the threat score for (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -472,7 +449,6 @@ def get_analysis_threat_score_with_http_info( _param = self._get_analysis_threat_score_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -498,7 +474,6 @@ def get_analysis_threat_score_with_http_info( def get_analysis_threat_score_without_preload_content( self, analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the threat score for")], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -518,8 +493,6 @@ def get_analysis_threat_score_without_preload_content( :param analysis_id: The analysis to calculate the threat score for (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -544,7 +517,6 @@ def get_analysis_threat_score_without_preload_content( _param = self._get_analysis_threat_score_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -565,7 +537,6 @@ def get_analysis_threat_score_without_preload_content( def _get_analysis_threat_score_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -591,8 +562,6 @@ def _get_analysis_threat_score_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -633,7 +602,6 @@ def _get_analysis_threat_score_serialize( def get_functions_name_score( self, function_name_confidence_body: FunctionNameConfidenceBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -653,8 +621,6 @@ def get_functions_name_score( :param function_name_confidence_body: (required) :type function_name_confidence_body: FunctionNameConfidenceBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -679,7 +645,6 @@ def get_functions_name_score( _param = self._get_functions_name_score_serialize( function_name_confidence_body=function_name_confidence_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -705,7 +670,6 @@ def get_functions_name_score( def get_functions_name_score_with_http_info( self, function_name_confidence_body: FunctionNameConfidenceBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -725,8 +689,6 @@ def get_functions_name_score_with_http_info( :param function_name_confidence_body: (required) :type function_name_confidence_body: FunctionNameConfidenceBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -751,7 +713,6 @@ def get_functions_name_score_with_http_info( _param = self._get_functions_name_score_serialize( function_name_confidence_body=function_name_confidence_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -777,7 +738,6 @@ def get_functions_name_score_with_http_info( def get_functions_name_score_without_preload_content( self, function_name_confidence_body: FunctionNameConfidenceBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -797,8 +757,6 @@ def get_functions_name_score_without_preload_content( :param function_name_confidence_body: (required) :type function_name_confidence_body: FunctionNameConfidenceBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -823,7 +781,6 @@ def get_functions_name_score_without_preload_content( _param = self._get_functions_name_score_serialize( function_name_confidence_body=function_name_confidence_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -844,7 +801,6 @@ def get_functions_name_score_without_preload_content( def _get_functions_name_score_serialize( self, function_name_confidence_body, - authorization, _request_auth, _content_type, _headers, @@ -868,8 +824,6 @@ def _get_functions_name_score_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if function_name_confidence_body is not None: @@ -925,7 +879,6 @@ def _get_functions_name_score_serialize( def get_functions_threat_score( self, threat_score_function_body: ThreatScoreFunctionBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -945,8 +898,6 @@ def get_functions_threat_score( :param threat_score_function_body: (required) :type threat_score_function_body: ThreatScoreFunctionBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -971,7 +922,6 @@ def get_functions_threat_score( _param = self._get_functions_threat_score_serialize( threat_score_function_body=threat_score_function_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -997,7 +947,6 @@ def get_functions_threat_score( def get_functions_threat_score_with_http_info( self, threat_score_function_body: ThreatScoreFunctionBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1017,8 +966,6 @@ def get_functions_threat_score_with_http_info( :param threat_score_function_body: (required) :type threat_score_function_body: ThreatScoreFunctionBody - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +990,6 @@ def get_functions_threat_score_with_http_info( _param = self._get_functions_threat_score_serialize( threat_score_function_body=threat_score_function_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1069,7 +1015,6 @@ def get_functions_threat_score_with_http_info( def get_functions_threat_score_without_preload_content( self, threat_score_function_body: ThreatScoreFunctionBody, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1089,8 +1034,6 @@ def get_functions_threat_score_without_preload_content( :param threat_score_function_body: (required) :type threat_score_function_body: ThreatScoreFunctionBody - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1115,7 +1058,6 @@ def get_functions_threat_score_without_preload_content( _param = self._get_functions_threat_score_serialize( threat_score_function_body=threat_score_function_body, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1136,7 +1078,6 @@ def get_functions_threat_score_without_preload_content( def _get_functions_threat_score_serialize( self, threat_score_function_body, - authorization, _request_auth, _content_type, _headers, @@ -1160,8 +1101,6 @@ def _get_functions_threat_score_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if threat_score_function_body is not None: diff --git a/revengai/api/external_sources_api.py b/revengai/api/external_sources_api.py index 64f3ccc..9c9ab9d 100644 --- a/revengai/api/external_sources_api.py +++ b/revengai/api/external_sources_api.py @@ -15,9 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional -from typing_extensions import Annotated +from pydantic import StrictInt 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 @@ -44,7 +42,6 @@ def __init__(self, api_client=None) -> None: def create_external_task_mb( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,8 +60,6 @@ def create_external_task_mb( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +84,6 @@ def create_external_task_mb( _param = self._create_external_task_mb_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116,7 +110,6 @@ def create_external_task_mb( def create_external_task_mb_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135,8 +128,6 @@ def create_external_task_mb_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -161,7 +152,6 @@ def create_external_task_mb_with_http_info( _param = self._create_external_task_mb_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -188,7 +178,6 @@ def create_external_task_mb_with_http_info( def create_external_task_mb_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -207,8 +196,6 @@ def create_external_task_mb_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -233,7 +220,6 @@ def create_external_task_mb_without_preload_content( _param = self._create_external_task_mb_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -255,7 +241,6 @@ def create_external_task_mb_without_preload_content( def _create_external_task_mb_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -281,8 +266,6 @@ def _create_external_task_mb_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -323,7 +306,6 @@ def _create_external_task_mb_serialize( def create_external_task_vt( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -342,8 +324,6 @@ def create_external_task_vt( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -368,7 +348,6 @@ def create_external_task_vt( _param = self._create_external_task_vt_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -395,7 +374,6 @@ def create_external_task_vt( def create_external_task_vt_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -414,8 +392,6 @@ def create_external_task_vt_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +416,6 @@ def create_external_task_vt_with_http_info( _param = self._create_external_task_vt_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -467,7 +442,6 @@ def create_external_task_vt_with_http_info( def create_external_task_vt_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -486,8 +460,6 @@ def create_external_task_vt_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -512,7 +484,6 @@ def create_external_task_vt_without_preload_content( _param = self._create_external_task_vt_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -534,7 +505,6 @@ def create_external_task_vt_without_preload_content( def _create_external_task_vt_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -560,8 +530,6 @@ def _create_external_task_vt_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -602,7 +570,6 @@ def _create_external_task_vt_serialize( def get_mb_data( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -621,8 +588,6 @@ def get_mb_data( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +612,6 @@ def get_mb_data( _param = self._get_mb_data_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -674,7 +638,6 @@ def get_mb_data( def get_mb_data_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -693,8 +656,6 @@ def get_mb_data_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -719,7 +680,6 @@ def get_mb_data_with_http_info( _param = self._get_mb_data_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -746,7 +706,6 @@ def get_mb_data_with_http_info( def get_mb_data_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -765,8 +724,6 @@ def get_mb_data_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -791,7 +748,6 @@ def get_mb_data_without_preload_content( _param = self._get_mb_data_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -813,7 +769,6 @@ def get_mb_data_without_preload_content( def _get_mb_data_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -839,8 +794,6 @@ def _get_mb_data_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -881,7 +834,6 @@ def _get_mb_data_serialize( def get_mb_task_status( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -900,8 +852,6 @@ def get_mb_task_status( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -926,7 +876,6 @@ def get_mb_task_status( _param = self._get_mb_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -952,7 +901,6 @@ def get_mb_task_status( def get_mb_task_status_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -971,8 +919,6 @@ def get_mb_task_status_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -997,7 +943,6 @@ def get_mb_task_status_with_http_info( _param = self._get_mb_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1023,7 +968,6 @@ def get_mb_task_status_with_http_info( def get_mb_task_status_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1042,8 +986,6 @@ def get_mb_task_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1068,7 +1010,6 @@ def get_mb_task_status_without_preload_content( _param = self._get_mb_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1089,7 +1030,6 @@ def get_mb_task_status_without_preload_content( def _get_mb_task_status_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1115,8 +1055,6 @@ def _get_mb_task_status_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1157,7 +1095,6 @@ def _get_mb_task_status_serialize( def get_vt_data( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1176,8 +1113,6 @@ def get_vt_data( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1202,7 +1137,6 @@ def get_vt_data( _param = self._get_vt_data_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1229,7 +1163,6 @@ def get_vt_data( def get_vt_data_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1248,8 +1181,6 @@ def get_vt_data_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1274,7 +1205,6 @@ def get_vt_data_with_http_info( _param = self._get_vt_data_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1301,7 +1231,6 @@ def get_vt_data_with_http_info( def get_vt_data_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1320,8 +1249,6 @@ def get_vt_data_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1346,7 +1273,6 @@ def get_vt_data_without_preload_content( _param = self._get_vt_data_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1368,7 +1294,6 @@ def get_vt_data_without_preload_content( def _get_vt_data_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1394,8 +1319,6 @@ def _get_vt_data_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1436,7 +1359,6 @@ def _get_vt_data_serialize( def get_vt_task_status( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1455,8 +1377,6 @@ def get_vt_task_status( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1481,7 +1401,6 @@ def get_vt_task_status( _param = self._get_vt_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1507,7 +1426,6 @@ def get_vt_task_status( def get_vt_task_status_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1526,8 +1444,6 @@ def get_vt_task_status_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1552,7 +1468,6 @@ def get_vt_task_status_with_http_info( _param = self._get_vt_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1578,7 +1493,6 @@ def get_vt_task_status_with_http_info( def get_vt_task_status_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1597,8 +1511,6 @@ def get_vt_task_status_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1623,7 +1535,6 @@ def get_vt_task_status_without_preload_content( _param = self._get_vt_task_status_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1644,7 +1555,6 @@ def get_vt_task_status_without_preload_content( def _get_vt_task_status_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1670,8 +1580,6 @@ def _get_vt_task_status_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/firmware_api.py b/revengai/api/firmware_api.py index 30fc7ff..38e3fdd 100644 --- a/revengai/api/firmware_api.py +++ b/revengai/api/firmware_api.py @@ -15,9 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictBytes, StrictStr +from pydantic import StrictBytes, StrictStr from typing import Any, Optional, Tuple, Union -from typing_extensions import Annotated from revengai.api_client import ApiClient, RequestSerialized from revengai.api_response import ApiResponse @@ -41,7 +40,6 @@ def __init__(self, api_client=None) -> None: def get_binaries_for_firmware_task( self, task_id: StrictStr, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61,8 +59,6 @@ def get_binaries_for_firmware_task( :param task_id: (required) :type task_id: str - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +83,6 @@ def get_binaries_for_firmware_task( _param = self._get_binaries_for_firmware_task_serialize( task_id=task_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113,7 +108,6 @@ def get_binaries_for_firmware_task( def get_binaries_for_firmware_task_with_http_info( self, task_id: StrictStr, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133,8 +127,6 @@ def get_binaries_for_firmware_task_with_http_info( :param task_id: (required) :type task_id: str - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +151,6 @@ def get_binaries_for_firmware_task_with_http_info( _param = self._get_binaries_for_firmware_task_serialize( task_id=task_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -185,7 +176,6 @@ def get_binaries_for_firmware_task_with_http_info( def get_binaries_for_firmware_task_without_preload_content( self, task_id: StrictStr, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -205,8 +195,6 @@ def get_binaries_for_firmware_task_without_preload_content( :param task_id: (required) :type task_id: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -231,7 +219,6 @@ def get_binaries_for_firmware_task_without_preload_content( _param = self._get_binaries_for_firmware_task_serialize( task_id=task_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -252,7 +239,6 @@ def get_binaries_for_firmware_task_without_preload_content( def _get_binaries_for_firmware_task_serialize( self, task_id, - authorization, _request_auth, _content_type, _headers, @@ -278,8 +264,6 @@ def _get_binaries_for_firmware_task_serialize( _path_params['task_id'] = task_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -320,7 +304,6 @@ def _get_binaries_for_firmware_task_serialize( def upload_firmware( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -341,8 +324,6 @@ def upload_firmware( :param file: (required) :type file: bytearray - :param authorization: API Key bearer token - :type authorization: str :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -369,7 +350,6 @@ def upload_firmware( _param = self._upload_firmware_serialize( file=file, - authorization=authorization, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -396,7 +376,6 @@ def upload_firmware( def upload_firmware_with_http_info( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -417,8 +396,6 @@ def upload_firmware_with_http_info( :param file: (required) :type file: bytearray - :param authorization: API Key bearer token - :type authorization: str :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -445,7 +422,6 @@ def upload_firmware_with_http_info( _param = self._upload_firmware_serialize( file=file, - authorization=authorization, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -472,7 +448,6 @@ def upload_firmware_with_http_info( def upload_firmware_without_preload_content( self, file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, password: Optional[StrictStr] = None, _request_timeout: Union[ None, @@ -493,8 +468,6 @@ def upload_firmware_without_preload_content( :param file: (required) :type file: bytearray - :param authorization: API Key bearer token - :type authorization: str :param password: :type password: str :param _request_timeout: timeout setting for this request. If one @@ -521,7 +494,6 @@ def upload_firmware_without_preload_content( _param = self._upload_firmware_serialize( file=file, - authorization=authorization, password=password, _request_auth=_request_auth, _content_type=_content_type, @@ -543,7 +515,6 @@ def upload_firmware_without_preload_content( def _upload_firmware_serialize( self, file, - authorization, password, _request_auth, _content_type, @@ -568,8 +539,6 @@ def _upload_firmware_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters if file is not None: _files['file'] = file diff --git a/revengai/api/functions_ai_decompilation_api.py b/revengai/api/functions_ai_decompilation_api.py index 8fdfd22..321be0f 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, StrictStr +from pydantic import Field, StrictBool, StrictInt from typing import Optional from typing_extensions import Annotated from revengai.models.base_response import BaseResponse @@ -52,7 +52,6 @@ def create_ai_decompilation_comment( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74,8 +73,6 @@ def create_ai_decompilation_comment( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101,7 +98,6 @@ def create_ai_decompilation_comment( _param = self._create_ai_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129,7 +125,6 @@ def create_ai_decompilation_comment_with_http_info( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -151,8 +146,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -178,7 +171,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -206,7 +198,6 @@ def create_ai_decompilation_comment_without_preload_content( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -228,8 +219,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -255,7 +244,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -278,7 +266,6 @@ def _create_ai_decompilation_comment_serialize( self, function_id, function_comment_create_request, - authorization, _request_auth, _content_type, _headers, @@ -304,8 +291,6 @@ def _create_ai_decompilation_comment_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if function_comment_create_request is not None: @@ -361,7 +346,6 @@ def _create_ai_decompilation_comment_serialize( def create_ai_decompilation_task( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -381,8 +365,6 @@ def create_ai_decompilation_task( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -407,7 +389,6 @@ def create_ai_decompilation_task( _param = self._create_ai_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -437,7 +418,6 @@ def create_ai_decompilation_task( def create_ai_decompilation_task_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -457,8 +437,6 @@ def create_ai_decompilation_task_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +461,6 @@ def create_ai_decompilation_task_with_http_info( _param = self._create_ai_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -513,7 +490,6 @@ def create_ai_decompilation_task_with_http_info( def create_ai_decompilation_task_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -533,8 +509,6 @@ def create_ai_decompilation_task_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -559,7 +533,6 @@ def create_ai_decompilation_task_without_preload_content( _param = self._create_ai_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -584,7 +557,6 @@ def create_ai_decompilation_task_without_preload_content( def _create_ai_decompilation_task_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -610,8 +582,6 @@ def _create_ai_decompilation_task_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -653,7 +623,6 @@ def delete_ai_decompilation_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -675,8 +644,6 @@ def delete_ai_decompilation_comment( :type comment_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -702,7 +669,6 @@ def delete_ai_decompilation_comment( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -731,7 +697,6 @@ def delete_ai_decompilation_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -753,8 +718,6 @@ def delete_ai_decompilation_comment_with_http_info( :type comment_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -780,7 +743,6 @@ def delete_ai_decompilation_comment_with_http_info( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -809,7 +771,6 @@ def delete_ai_decompilation_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -831,8 +792,6 @@ def delete_ai_decompilation_comment_without_preload_content( :type comment_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -858,7 +817,6 @@ def delete_ai_decompilation_comment_without_preload_content( _param = self._delete_ai_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -882,7 +840,6 @@ def _delete_ai_decompilation_comment_serialize( self, comment_id, function_id, - authorization, _request_auth, _content_type, _headers, @@ -910,8 +867,6 @@ def _delete_ai_decompilation_comment_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -952,7 +907,6 @@ def _delete_ai_decompilation_comment_serialize( def get_ai_decompilation_comments( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -972,8 +926,6 @@ def get_ai_decompilation_comments( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -998,7 +950,6 @@ def get_ai_decompilation_comments( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1024,7 +975,6 @@ def get_ai_decompilation_comments( def get_ai_decompilation_comments_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1044,8 +994,6 @@ def get_ai_decompilation_comments_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1070,7 +1018,6 @@ def get_ai_decompilation_comments_with_http_info( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1096,7 +1043,6 @@ def get_ai_decompilation_comments_with_http_info( def get_ai_decompilation_comments_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1116,8 +1062,6 @@ def get_ai_decompilation_comments_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1142,7 +1086,6 @@ def get_ai_decompilation_comments_without_preload_content( _param = self._get_ai_decompilation_comments_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1163,7 +1106,6 @@ def get_ai_decompilation_comments_without_preload_content( def _get_ai_decompilation_comments_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -1189,8 +1131,6 @@ def _get_ai_decompilation_comments_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1231,7 +1171,6 @@ def _get_ai_decompilation_comments_serialize( def get_ai_decompilation_rating( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1250,8 +1189,6 @@ def get_ai_decompilation_rating( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1276,7 +1213,6 @@ def get_ai_decompilation_rating( _param = self._get_ai_decompilation_rating_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1302,7 +1238,6 @@ def get_ai_decompilation_rating( def get_ai_decompilation_rating_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1321,8 +1256,6 @@ def get_ai_decompilation_rating_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1280,6 @@ def get_ai_decompilation_rating_with_http_info( _param = self._get_ai_decompilation_rating_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1373,7 +1305,6 @@ def get_ai_decompilation_rating_with_http_info( def get_ai_decompilation_rating_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1392,8 +1323,6 @@ def get_ai_decompilation_rating_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1418,7 +1347,6 @@ def get_ai_decompilation_rating_without_preload_content( _param = self._get_ai_decompilation_rating_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1439,7 +1367,6 @@ def get_ai_decompilation_rating_without_preload_content( def _get_ai_decompilation_rating_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -1465,8 +1392,6 @@ def _get_ai_decompilation_rating_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1509,7 +1434,6 @@ def get_ai_decompilation_task_result( function_id: StrictInt, 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1533,8 +1457,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1561,7 +1483,6 @@ def get_ai_decompilation_task_result( function_id=function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1590,7 +1511,6 @@ def get_ai_decompilation_task_result_with_http_info( function_id: StrictInt, 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1614,8 +1534,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1642,7 +1560,6 @@ def get_ai_decompilation_task_result_with_http_info( function_id=function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1671,7 +1588,6 @@ def get_ai_decompilation_task_result_without_preload_content( function_id: StrictInt, 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1695,8 +1611,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1723,7 +1637,6 @@ def get_ai_decompilation_task_result_without_preload_content( function_id=function_id, summarise=summarise, generate_inline_comments=generate_inline_comments, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1747,7 +1660,6 @@ def _get_ai_decompilation_task_result_serialize( function_id, summarise, generate_inline_comments, - authorization, _request_auth, _content_type, _headers, @@ -1781,8 +1693,6 @@ def _get_ai_decompilation_task_result_serialize( _query_params.append(('generate_inline_comments', generate_inline_comments)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1823,7 +1733,6 @@ def _get_ai_decompilation_task_result_serialize( def get_ai_decompilation_task_status( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1842,8 +1751,6 @@ def get_ai_decompilation_task_status( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1868,7 +1775,6 @@ def get_ai_decompilation_task_status( _param = self._get_ai_decompilation_task_status_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1894,7 +1800,6 @@ def get_ai_decompilation_task_status( def get_ai_decompilation_task_status_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1913,8 +1818,6 @@ def get_ai_decompilation_task_status_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1939,7 +1842,6 @@ def get_ai_decompilation_task_status_with_http_info( _param = self._get_ai_decompilation_task_status_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1965,7 +1867,6 @@ def get_ai_decompilation_task_status_with_http_info( def get_ai_decompilation_task_status_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1984,8 +1885,6 @@ def get_ai_decompilation_task_status_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2010,7 +1909,6 @@ def get_ai_decompilation_task_status_without_preload_content( _param = self._get_ai_decompilation_task_status_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2031,7 +1929,6 @@ def get_ai_decompilation_task_status_without_preload_content( def _get_ai_decompilation_task_status_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -2057,8 +1954,6 @@ def _get_ai_decompilation_task_status_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -2101,7 +1996,6 @@ def update_ai_decompilation_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2125,8 +2019,6 @@ def update_ai_decompilation_comment( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2153,7 +2045,6 @@ def update_ai_decompilation_comment( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2183,7 +2074,6 @@ def update_ai_decompilation_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2207,8 +2097,6 @@ def update_ai_decompilation_comment_with_http_info( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2235,7 +2123,6 @@ def update_ai_decompilation_comment_with_http_info( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2265,7 +2152,6 @@ def update_ai_decompilation_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2289,8 +2175,6 @@ def update_ai_decompilation_comment_without_preload_content( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2317,7 +2201,6 @@ def update_ai_decompilation_comment_without_preload_content( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2342,7 +2225,6 @@ def _update_ai_decompilation_comment_serialize( comment_id, function_id, comment_update_request, - authorization, _request_auth, _content_type, _headers, @@ -2370,8 +2252,6 @@ def _update_ai_decompilation_comment_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if comment_update_request is not None: @@ -2428,7 +2308,6 @@ def upsert_ai_decompilation_rating( self, function_id: StrictInt, upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2449,8 +2328,6 @@ def upsert_ai_decompilation_rating( :type function_id: int :param upsert_ai_decomplation_rating_request: (required) :type upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2476,7 +2353,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2503,7 +2379,6 @@ def upsert_ai_decompilation_rating_with_http_info( self, function_id: StrictInt, upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2524,8 +2399,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2551,7 +2424,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2578,7 +2450,6 @@ def upsert_ai_decompilation_rating_without_preload_content( self, function_id: StrictInt, upsert_ai_decomplation_rating_request: UpsertAiDecomplationRatingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2599,8 +2470,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2626,7 +2495,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2648,7 +2516,6 @@ def _upsert_ai_decompilation_rating_serialize( self, function_id, upsert_ai_decomplation_rating_request, - authorization, _request_auth, _content_type, _headers, @@ -2674,8 +2541,6 @@ def _upsert_ai_decompilation_rating_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if upsert_ai_decomplation_rating_request is not None: diff --git a/revengai/api/functions_block_comments_api.py b/revengai/api/functions_block_comments_api.py index e62cbc5..acc9469 100644 --- a/revengai/api/functions_block_comments_api.py +++ b/revengai/api/functions_block_comments_api.py @@ -15,9 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional -from typing_extensions import Annotated +from pydantic import StrictInt 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 @@ -45,7 +43,6 @@ def generate_block_comments_for_block_in_function( self, function_id: StrictInt, block: Block, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66,8 +63,6 @@ def generate_block_comments_for_block_in_function( :type function_id: int :param block: (required) :type block: Block - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +88,6 @@ def generate_block_comments_for_block_in_function( _param = self._generate_block_comments_for_block_in_function_serialize( function_id=function_id, block=block, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120,7 +114,6 @@ def generate_block_comments_for_block_in_function_with_http_info( self, function_id: StrictInt, block: Block, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141,8 +134,6 @@ def generate_block_comments_for_block_in_function_with_http_info( :type function_id: int :param block: (required) :type block: Block - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -168,7 +159,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -195,7 +185,6 @@ def generate_block_comments_for_block_in_function_without_preload_content( self, function_id: StrictInt, block: Block, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -216,8 +205,6 @@ def generate_block_comments_for_block_in_function_without_preload_content( :type function_id: int :param block: (required) :type block: Block - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -243,7 +230,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -265,7 +251,6 @@ def _generate_block_comments_for_block_in_function_serialize( self, function_id, block, - authorization, _request_auth, _content_type, _headers, @@ -291,8 +276,6 @@ def _generate_block_comments_for_block_in_function_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if block is not None: @@ -348,7 +331,6 @@ def _generate_block_comments_for_block_in_function_serialize( def generate_block_comments_for_function( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -367,8 +349,6 @@ def generate_block_comments_for_function( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -393,7 +373,6 @@ def generate_block_comments_for_function( _param = self._generate_block_comments_for_function_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -419,7 +398,6 @@ def generate_block_comments_for_function( def generate_block_comments_for_function_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -438,8 +416,6 @@ def generate_block_comments_for_function_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +440,6 @@ def generate_block_comments_for_function_with_http_info( _param = self._generate_block_comments_for_function_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -490,7 +465,6 @@ def generate_block_comments_for_function_with_http_info( def generate_block_comments_for_function_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -509,8 +483,6 @@ def generate_block_comments_for_function_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +507,6 @@ def generate_block_comments_for_function_without_preload_content( _param = self._generate_block_comments_for_function_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -556,7 +527,6 @@ def generate_block_comments_for_function_without_preload_content( def _generate_block_comments_for_function_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -582,8 +552,6 @@ def _generate_block_comments_for_function_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -624,7 +592,6 @@ def _generate_block_comments_for_function_serialize( def generate_overview_comment_for_function( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -643,8 +610,6 @@ def generate_overview_comment_for_function( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +634,6 @@ def generate_overview_comment_for_function( _param = self._generate_overview_comment_for_function_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -695,7 +659,6 @@ def generate_overview_comment_for_function( def generate_overview_comment_for_function_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -714,8 +677,6 @@ def generate_overview_comment_for_function_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -740,7 +701,6 @@ def generate_overview_comment_for_function_with_http_info( _param = self._generate_overview_comment_for_function_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -766,7 +726,6 @@ def generate_overview_comment_for_function_with_http_info( def generate_overview_comment_for_function_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -785,8 +744,6 @@ def generate_overview_comment_for_function_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -811,7 +768,6 @@ def generate_overview_comment_for_function_without_preload_content( _param = self._generate_overview_comment_for_function_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -832,7 +788,6 @@ def generate_overview_comment_for_function_without_preload_content( def _generate_overview_comment_for_function_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -858,8 +813,6 @@ def _generate_overview_comment_for_function_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/functions_core_api.py b/revengai/api/functions_core_api.py index a305791..7fcd3ed 100644 --- a/revengai/api/functions_core_api.py +++ b/revengai/api/functions_core_api.py @@ -55,7 +55,6 @@ def ai_unstrip( self, analysis_id: StrictInt, ai_unstrip_request: AiUnstripRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77,8 +76,6 @@ def ai_unstrip( :type analysis_id: int :param ai_unstrip_request: (required) :type ai_unstrip_request: AiUnstripRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104,7 +101,6 @@ def ai_unstrip( _param = self._ai_unstrip_serialize( analysis_id=analysis_id, ai_unstrip_request=ai_unstrip_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131,7 +127,6 @@ def ai_unstrip_with_http_info( self, analysis_id: StrictInt, ai_unstrip_request: AiUnstripRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -153,8 +148,6 @@ def ai_unstrip_with_http_info( :type analysis_id: int :param ai_unstrip_request: (required) :type ai_unstrip_request: AiUnstripRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -180,7 +173,6 @@ def ai_unstrip_with_http_info( _param = self._ai_unstrip_serialize( analysis_id=analysis_id, ai_unstrip_request=ai_unstrip_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -207,7 +199,6 @@ def ai_unstrip_without_preload_content( self, analysis_id: StrictInt, ai_unstrip_request: AiUnstripRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -229,8 +220,6 @@ def ai_unstrip_without_preload_content( :type analysis_id: int :param ai_unstrip_request: (required) :type ai_unstrip_request: AiUnstripRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -256,7 +245,6 @@ def ai_unstrip_without_preload_content( _param = self._ai_unstrip_serialize( analysis_id=analysis_id, ai_unstrip_request=ai_unstrip_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -278,7 +266,6 @@ def _ai_unstrip_serialize( self, analysis_id, ai_unstrip_request, - authorization, _request_auth, _content_type, _headers, @@ -304,8 +291,6 @@ def _ai_unstrip_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if ai_unstrip_request is not None: @@ -362,7 +347,6 @@ def analysis_function_matching( self, analysis_id: StrictInt, analysis_function_matching_request: AnalysisFunctionMatchingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -384,8 +368,6 @@ def analysis_function_matching( :type analysis_id: int :param analysis_function_matching_request: (required) :type analysis_function_matching_request: AnalysisFunctionMatchingRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -411,7 +393,6 @@ def analysis_function_matching( _param = self._analysis_function_matching_serialize( analysis_id=analysis_id, analysis_function_matching_request=analysis_function_matching_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -438,7 +419,6 @@ def analysis_function_matching_with_http_info( self, analysis_id: StrictInt, analysis_function_matching_request: AnalysisFunctionMatchingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -460,8 +440,6 @@ def analysis_function_matching_with_http_info( :type analysis_id: int :param analysis_function_matching_request: (required) :type analysis_function_matching_request: AnalysisFunctionMatchingRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -487,7 +465,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -514,7 +491,6 @@ def analysis_function_matching_without_preload_content( self, analysis_id: StrictInt, analysis_function_matching_request: AnalysisFunctionMatchingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -536,8 +512,6 @@ def analysis_function_matching_without_preload_content( :type analysis_id: int :param analysis_function_matching_request: (required) :type analysis_function_matching_request: AnalysisFunctionMatchingRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -563,7 +537,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -585,7 +558,6 @@ def _analysis_function_matching_serialize( self, analysis_id, analysis_function_matching_request, - authorization, _request_auth, _content_type, _headers, @@ -611,8 +583,6 @@ def _analysis_function_matching_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if analysis_function_matching_request is not None: @@ -669,7 +639,6 @@ def auto_unstrip( self, analysis_id: StrictInt, auto_unstrip_request: AutoUnstripRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -691,8 +660,6 @@ def auto_unstrip( :type analysis_id: int :param auto_unstrip_request: (required) :type auto_unstrip_request: AutoUnstripRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -718,7 +685,6 @@ def auto_unstrip( _param = self._auto_unstrip_serialize( analysis_id=analysis_id, auto_unstrip_request=auto_unstrip_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -745,7 +711,6 @@ def auto_unstrip_with_http_info( self, analysis_id: StrictInt, auto_unstrip_request: AutoUnstripRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -767,8 +732,6 @@ def auto_unstrip_with_http_info( :type analysis_id: int :param auto_unstrip_request: (required) :type auto_unstrip_request: AutoUnstripRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -794,7 +757,6 @@ def auto_unstrip_with_http_info( _param = self._auto_unstrip_serialize( analysis_id=analysis_id, auto_unstrip_request=auto_unstrip_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -821,7 +783,6 @@ def auto_unstrip_without_preload_content( self, analysis_id: StrictInt, auto_unstrip_request: AutoUnstripRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -843,8 +804,6 @@ def auto_unstrip_without_preload_content( :type analysis_id: int :param auto_unstrip_request: (required) :type auto_unstrip_request: AutoUnstripRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +829,6 @@ def auto_unstrip_without_preload_content( _param = self._auto_unstrip_serialize( analysis_id=analysis_id, auto_unstrip_request=auto_unstrip_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -892,7 +850,6 @@ def _auto_unstrip_serialize( self, analysis_id, auto_unstrip_request, - authorization, _request_auth, _content_type, _headers, @@ -918,8 +875,6 @@ def _auto_unstrip_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if auto_unstrip_request is not None: @@ -975,7 +930,6 @@ def _auto_unstrip_serialize( def batch_function_matching( self, function_matching_request: FunctionMatchingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -995,8 +949,6 @@ def batch_function_matching( :param function_matching_request: (required) :type function_matching_request: FunctionMatchingRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1021,7 +973,6 @@ def batch_function_matching( _param = self._batch_function_matching_serialize( function_matching_request=function_matching_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1047,7 +998,6 @@ def batch_function_matching( def batch_function_matching_with_http_info( self, function_matching_request: FunctionMatchingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1067,8 +1017,6 @@ def batch_function_matching_with_http_info( :param function_matching_request: (required) :type function_matching_request: FunctionMatchingRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1093,7 +1041,6 @@ def batch_function_matching_with_http_info( _param = self._batch_function_matching_serialize( function_matching_request=function_matching_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1119,7 +1066,6 @@ def batch_function_matching_with_http_info( def batch_function_matching_without_preload_content( self, function_matching_request: FunctionMatchingRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1139,8 +1085,6 @@ def batch_function_matching_without_preload_content( :param function_matching_request: (required) :type function_matching_request: FunctionMatchingRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1165,7 +1109,6 @@ def batch_function_matching_without_preload_content( _param = self._batch_function_matching_serialize( function_matching_request=function_matching_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1186,7 +1129,6 @@ def batch_function_matching_without_preload_content( def _batch_function_matching_serialize( self, function_matching_request, - authorization, _request_auth, _content_type, _headers, @@ -1210,8 +1152,6 @@ def _batch_function_matching_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if function_matching_request is not None: @@ -1267,7 +1207,6 @@ def _batch_function_matching_serialize( def cancel_ai_unstrip( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1287,8 +1226,6 @@ def cancel_ai_unstrip( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1313,7 +1250,6 @@ def cancel_ai_unstrip( _param = self._cancel_ai_unstrip_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1339,7 +1275,6 @@ def cancel_ai_unstrip( def cancel_ai_unstrip_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1359,8 +1294,6 @@ def cancel_ai_unstrip_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1318,6 @@ def cancel_ai_unstrip_with_http_info( _param = self._cancel_ai_unstrip_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1411,7 +1343,6 @@ def cancel_ai_unstrip_with_http_info( def cancel_ai_unstrip_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1431,8 +1362,6 @@ def cancel_ai_unstrip_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1457,7 +1386,6 @@ def cancel_ai_unstrip_without_preload_content( _param = self._cancel_ai_unstrip_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1478,7 +1406,6 @@ def cancel_ai_unstrip_without_preload_content( def _cancel_ai_unstrip_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1504,8 +1431,6 @@ def _cancel_ai_unstrip_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1546,7 +1471,6 @@ def _cancel_ai_unstrip_serialize( def cancel_auto_unstrip( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1566,8 +1490,6 @@ def cancel_auto_unstrip( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1592,7 +1514,6 @@ def cancel_auto_unstrip( _param = self._cancel_auto_unstrip_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1618,7 +1539,6 @@ def cancel_auto_unstrip( def cancel_auto_unstrip_with_http_info( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1638,8 +1558,6 @@ def cancel_auto_unstrip_with_http_info( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1664,7 +1582,6 @@ def cancel_auto_unstrip_with_http_info( _param = self._cancel_auto_unstrip_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1690,7 +1607,6 @@ def cancel_auto_unstrip_with_http_info( def cancel_auto_unstrip_without_preload_content( self, analysis_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1710,8 +1626,6 @@ def cancel_auto_unstrip_without_preload_content( :param analysis_id: (required) :type analysis_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1650,6 @@ def cancel_auto_unstrip_without_preload_content( _param = self._cancel_auto_unstrip_serialize( analysis_id=analysis_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1757,7 +1670,6 @@ def cancel_auto_unstrip_without_preload_content( def _cancel_auto_unstrip_serialize( self, analysis_id, - authorization, _request_auth, _content_type, _headers, @@ -1783,8 +1695,6 @@ def _cancel_auto_unstrip_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1829,7 +1739,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1857,8 +1766,6 @@ def get_analysis_strings( :type search: str :param function_search: Search is applied to function names :type function_search: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1887,7 +1794,6 @@ def get_analysis_strings( page_size=page_size, search=search, function_search=function_search, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1917,7 +1823,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1945,8 +1850,6 @@ def get_analysis_strings_with_http_info( :type search: str :param function_search: Search is applied to function names :type function_search: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1975,7 +1878,6 @@ def get_analysis_strings_with_http_info( page_size=page_size, search=search, function_search=function_search, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2005,7 +1907,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2033,8 +1934,6 @@ def get_analysis_strings_without_preload_content( :type search: str :param function_search: Search is applied to function names :type function_search: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2063,7 +1962,6 @@ def get_analysis_strings_without_preload_content( page_size=page_size, search=search, function_search=function_search, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2088,7 +1986,6 @@ def _get_analysis_strings_serialize( page_size, search, function_search, - authorization, _request_auth, _content_type, _headers, @@ -2130,8 +2027,6 @@ def _get_analysis_strings_serialize( _query_params.append(('function_search', function_search)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -2172,7 +2067,6 @@ def _get_analysis_strings_serialize( def get_function_blocks( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2192,8 +2086,6 @@ def get_function_blocks( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2218,7 +2110,6 @@ def get_function_blocks( _param = self._get_function_blocks_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2245,7 +2136,6 @@ def get_function_blocks( def get_function_blocks_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2265,8 +2155,6 @@ def get_function_blocks_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2291,7 +2179,6 @@ def get_function_blocks_with_http_info( _param = self._get_function_blocks_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2318,7 +2205,6 @@ def get_function_blocks_with_http_info( def get_function_blocks_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2338,8 +2224,6 @@ def get_function_blocks_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2364,7 +2248,6 @@ def get_function_blocks_without_preload_content( _param = self._get_function_blocks_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2386,7 +2269,6 @@ def get_function_blocks_without_preload_content( def _get_function_blocks_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -2412,8 +2294,6 @@ def _get_function_blocks_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -2454,7 +2334,6 @@ def _get_function_blocks_serialize( def get_function_callees_callers( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2473,8 +2352,6 @@ def get_function_callees_callers( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2499,7 +2376,6 @@ def get_function_callees_callers( _param = self._get_function_callees_callers_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2525,7 +2401,6 @@ def get_function_callees_callers( def get_function_callees_callers_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2544,8 +2419,6 @@ def get_function_callees_callers_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2570,7 +2443,6 @@ def get_function_callees_callers_with_http_info( _param = self._get_function_callees_callers_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2596,7 +2468,6 @@ def get_function_callees_callers_with_http_info( def get_function_callees_callers_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2615,8 +2486,6 @@ def get_function_callees_callers_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2641,7 +2510,6 @@ def get_function_callees_callers_without_preload_content( _param = self._get_function_callees_callers_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2662,7 +2530,6 @@ def get_function_callees_callers_without_preload_content( def _get_function_callees_callers_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -2688,8 +2555,6 @@ def _get_function_callees_callers_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -2730,7 +2595,6 @@ def _get_function_callees_callers_serialize( def get_function_capabilities( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2749,8 +2613,6 @@ def get_function_capabilities( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2775,7 +2637,6 @@ def get_function_capabilities( _param = self._get_function_capabilities_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2802,7 +2663,6 @@ def get_function_capabilities( def get_function_capabilities_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2821,8 +2681,6 @@ def get_function_capabilities_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2847,7 +2705,6 @@ def get_function_capabilities_with_http_info( _param = self._get_function_capabilities_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2874,7 +2731,6 @@ def get_function_capabilities_with_http_info( def get_function_capabilities_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2893,8 +2749,6 @@ def get_function_capabilities_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2919,7 +2773,6 @@ def get_function_capabilities_without_preload_content( _param = self._get_function_capabilities_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2941,7 +2794,6 @@ def get_function_capabilities_without_preload_content( def _get_function_capabilities_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -2967,8 +2819,6 @@ def _get_function_capabilities_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -3009,7 +2859,6 @@ def _get_function_capabilities_serialize( def get_function_details( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3028,8 +2877,6 @@ def get_function_details( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3054,7 +2901,6 @@ def get_function_details( _param = self._get_function_details_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3080,7 +2926,6 @@ def get_function_details( def get_function_details_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3099,8 +2944,6 @@ def get_function_details_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3125,7 +2968,6 @@ def get_function_details_with_http_info( _param = self._get_function_details_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3151,7 +2993,6 @@ def get_function_details_with_http_info( def get_function_details_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3170,8 +3011,6 @@ def get_function_details_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3196,7 +3035,6 @@ def get_function_details_without_preload_content( _param = self._get_function_details_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3217,7 +3055,6 @@ def get_function_details_without_preload_content( def _get_function_details_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -3243,8 +3080,6 @@ def _get_function_details_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -3288,7 +3123,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3314,8 +3148,6 @@ def get_function_strings( :type page_size: int :param search: Search is applied to string value :type search: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3343,7 +3175,6 @@ def get_function_strings( page=page, page_size=page_size, search=search, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3372,7 +3203,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3398,8 +3228,6 @@ def get_function_strings_with_http_info( :type page_size: int :param search: Search is applied to string value :type search: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3427,7 +3255,6 @@ def get_function_strings_with_http_info( page=page, page_size=page_size, search=search, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3456,7 +3283,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3482,8 +3308,6 @@ def get_function_strings_without_preload_content( :type page_size: int :param search: Search is applied to string value :type search: str - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3511,7 +3335,6 @@ def get_function_strings_without_preload_content( page=page, page_size=page_size, search=search, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3535,7 +3358,6 @@ def _get_function_strings_serialize( page, page_size, search, - authorization, _request_auth, _content_type, _headers, @@ -3573,8 +3395,6 @@ def _get_function_strings_serialize( _query_params.append(('search', search)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -3621,7 +3441,6 @@ def get_similar_functions( debug: Annotated[Optional[StrictBool], Field(description="Only return matching debug functions")] = None, debug_types: Annotated[Optional[List[StrictStr]], Field(description="If limiting results to functions with debug names, which type of debug names to include?")] = None, binary_ids: Annotated[Optional[List[Optional[StrictInt]]], Field(description="Limit similar functions to specific binaries")] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3652,8 +3471,6 @@ def get_similar_functions( :type debug_types: List[str] :param binary_ids: Limit similar functions to specific binaries :type binary_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3684,7 +3501,6 @@ def get_similar_functions( debug=debug, debug_types=debug_types, binary_ids=binary_ids, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3716,7 +3532,6 @@ def get_similar_functions_with_http_info( debug: Annotated[Optional[StrictBool], Field(description="Only return matching debug functions")] = None, debug_types: Annotated[Optional[List[StrictStr]], Field(description="If limiting results to functions with debug names, which type of debug names to include?")] = None, binary_ids: Annotated[Optional[List[Optional[StrictInt]]], Field(description="Limit similar functions to specific binaries")] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3747,8 +3562,6 @@ def get_similar_functions_with_http_info( :type debug_types: List[str] :param binary_ids: Limit similar functions to specific binaries :type binary_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3779,7 +3592,6 @@ def get_similar_functions_with_http_info( debug=debug, debug_types=debug_types, binary_ids=binary_ids, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3811,7 +3623,6 @@ def get_similar_functions_without_preload_content( debug: Annotated[Optional[StrictBool], Field(description="Only return matching debug functions")] = None, debug_types: Annotated[Optional[List[StrictStr]], Field(description="If limiting results to functions with debug names, which type of debug names to include?")] = None, binary_ids: Annotated[Optional[List[Optional[StrictInt]]], Field(description="Limit similar functions to specific binaries")] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3842,8 +3653,6 @@ def get_similar_functions_without_preload_content( :type debug_types: List[str] :param binary_ids: Limit similar functions to specific binaries :type binary_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3874,7 +3683,6 @@ def get_similar_functions_without_preload_content( debug=debug, debug_types=debug_types, binary_ids=binary_ids, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3901,7 +3709,6 @@ def _get_similar_functions_serialize( debug, debug_types, binary_ids, - authorization, _request_auth, _content_type, _headers, @@ -3954,8 +3761,6 @@ def _get_similar_functions_serialize( _query_params.append(('binary_ids', binary_ids)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/functions_data_types_api.py b/revengai/api/functions_data_types_api.py index 3676057..f2b24c3 100644 --- a/revengai/api/functions_data_types_api.py +++ b/revengai/api/functions_data_types_api.py @@ -15,9 +15,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr +from pydantic import StrictInt from typing import List, Optional -from typing_extensions import Annotated from revengai.models.base_response_function_data_types import BaseResponseFunctionDataTypes from revengai.models.base_response_function_data_types_list import BaseResponseFunctionDataTypesList from revengai.models.base_response_generate_function_data_types import BaseResponseGenerateFunctionDataTypes @@ -48,7 +47,6 @@ def generate_function_data_types_for_analysis( self, analysis_id: StrictInt, function_data_types_params: FunctionDataTypesParams, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70,8 +68,6 @@ def generate_function_data_types_for_analysis( :type analysis_id: int :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97,7 +93,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124,7 +119,6 @@ def generate_function_data_types_for_analysis_with_http_info( self, analysis_id: StrictInt, function_data_types_params: FunctionDataTypesParams, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -146,8 +140,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -173,7 +165,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -200,7 +191,6 @@ def generate_function_data_types_for_analysis_without_preload_content( self, analysis_id: StrictInt, function_data_types_params: FunctionDataTypesParams, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -222,8 +212,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -249,7 +237,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -271,7 +258,6 @@ def _generate_function_data_types_for_analysis_serialize( self, analysis_id, function_data_types_params, - authorization, _request_auth, _content_type, _headers, @@ -297,8 +283,6 @@ def _generate_function_data_types_for_analysis_serialize( _path_params['analysis_id'] = analysis_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if function_data_types_params is not None: @@ -354,7 +338,6 @@ def _generate_function_data_types_for_analysis_serialize( def generate_function_data_types_for_functions( self, function_data_types_params: FunctionDataTypesParams, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -374,8 +357,6 @@ def generate_function_data_types_for_functions( :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +381,6 @@ def generate_function_data_types_for_functions( _param = self._generate_function_data_types_for_functions_serialize( function_data_types_params=function_data_types_params, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -426,7 +406,6 @@ def generate_function_data_types_for_functions( def generate_function_data_types_for_functions_with_http_info( self, function_data_types_params: FunctionDataTypesParams, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -446,8 +425,6 @@ def generate_function_data_types_for_functions_with_http_info( :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -472,7 +449,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -498,7 +474,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -518,8 +493,6 @@ def generate_function_data_types_for_functions_without_preload_content( :param function_data_types_params: (required) :type function_data_types_params: FunctionDataTypesParams - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -544,7 +517,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -565,7 +537,6 @@ def generate_function_data_types_for_functions_without_preload_content( def _generate_function_data_types_for_functions_serialize( self, function_data_types_params, - authorization, _request_auth, _content_type, _headers, @@ -589,8 +560,6 @@ def _generate_function_data_types_for_functions_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if function_data_types_params is not None: @@ -647,7 +616,6 @@ def get_function_data_types( self, analysis_id: StrictInt, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -669,8 +637,6 @@ def get_function_data_types( :type analysis_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -696,7 +662,6 @@ def get_function_data_types( _param = self._get_function_data_types_serialize( analysis_id=analysis_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -723,7 +688,6 @@ def get_function_data_types_with_http_info( self, analysis_id: StrictInt, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -745,8 +709,6 @@ def get_function_data_types_with_http_info( :type analysis_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -772,7 +734,6 @@ def get_function_data_types_with_http_info( _param = self._get_function_data_types_serialize( analysis_id=analysis_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -799,7 +760,6 @@ def get_function_data_types_without_preload_content( self, analysis_id: StrictInt, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -821,8 +781,6 @@ def get_function_data_types_without_preload_content( :type analysis_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -848,7 +806,6 @@ def get_function_data_types_without_preload_content( _param = self._get_function_data_types_serialize( analysis_id=analysis_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -870,7 +827,6 @@ def _get_function_data_types_serialize( self, analysis_id, function_id, - authorization, _request_auth, _content_type, _headers, @@ -898,8 +854,6 @@ def _get_function_data_types_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -941,7 +895,6 @@ def list_function_data_types_for_analysis( self, analysis_id: StrictInt, function_ids: Optional[List[Optional[StrictInt]]] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -963,8 +916,6 @@ def list_function_data_types_for_analysis( :type analysis_id: int :param function_ids: :type function_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -990,7 +941,6 @@ def list_function_data_types_for_analysis( _param = self._list_function_data_types_for_analysis_serialize( analysis_id=analysis_id, function_ids=function_ids, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1017,7 +967,6 @@ def list_function_data_types_for_analysis_with_http_info( self, analysis_id: StrictInt, function_ids: Optional[List[Optional[StrictInt]]] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1039,8 +988,6 @@ def list_function_data_types_for_analysis_with_http_info( :type analysis_id: int :param function_ids: :type function_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1066,7 +1013,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1093,7 +1039,6 @@ def list_function_data_types_for_analysis_without_preload_content( self, analysis_id: StrictInt, function_ids: Optional[List[Optional[StrictInt]]] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1115,8 +1060,6 @@ def list_function_data_types_for_analysis_without_preload_content( :type analysis_id: int :param function_ids: :type function_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1142,7 +1085,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1164,7 +1106,6 @@ def _list_function_data_types_for_analysis_serialize( self, analysis_id, function_ids, - authorization, _request_auth, _content_type, _headers, @@ -1195,8 +1136,6 @@ def _list_function_data_types_for_analysis_serialize( _query_params.append(('function_ids', function_ids)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1237,7 +1176,6 @@ def _list_function_data_types_for_analysis_serialize( def list_function_data_types_for_functions( self, function_ids: Optional[List[Optional[StrictInt]]] = None, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1257,8 +1195,6 @@ def list_function_data_types_for_functions( :param function_ids: :type function_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1283,7 +1219,6 @@ def list_function_data_types_for_functions( _param = self._list_function_data_types_for_functions_serialize( function_ids=function_ids, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1309,7 +1244,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1329,8 +1263,6 @@ def list_function_data_types_for_functions_with_http_info( :param function_ids: :type function_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +1287,6 @@ def list_function_data_types_for_functions_with_http_info( _param = self._list_function_data_types_for_functions_serialize( function_ids=function_ids, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1381,7 +1312,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1401,8 +1331,6 @@ def list_function_data_types_for_functions_without_preload_content( :param function_ids: :type function_ids: List[Optional[int]] - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1427,7 +1355,6 @@ def list_function_data_types_for_functions_without_preload_content( _param = self._list_function_data_types_for_functions_serialize( function_ids=function_ids, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1448,7 +1375,6 @@ def list_function_data_types_for_functions_without_preload_content( def _list_function_data_types_for_functions_serialize( self, function_ids, - authorization, _request_auth, _content_type, _headers, @@ -1477,8 +1403,6 @@ def _list_function_data_types_for_functions_serialize( _query_params.append(('function_ids', function_ids)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1521,7 +1445,6 @@ def update_function_data_types( analysis_id: StrictInt, function_id: StrictInt, update_function_data_types: UpdateFunctionDataTypes, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1545,8 +1468,6 @@ def update_function_data_types( :type function_id: int :param update_function_data_types: (required) :type update_function_data_types: UpdateFunctionDataTypes - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1573,7 +1494,6 @@ def update_function_data_types( analysis_id=analysis_id, function_id=function_id, update_function_data_types=update_function_data_types, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1601,7 +1521,6 @@ def update_function_data_types_with_http_info( analysis_id: StrictInt, function_id: StrictInt, update_function_data_types: UpdateFunctionDataTypes, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1625,8 +1544,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1653,7 +1570,6 @@ def update_function_data_types_with_http_info( analysis_id=analysis_id, function_id=function_id, update_function_data_types=update_function_data_types, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1681,7 +1597,6 @@ def update_function_data_types_without_preload_content( analysis_id: StrictInt, function_id: StrictInt, update_function_data_types: UpdateFunctionDataTypes, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1705,8 +1620,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1733,7 +1646,6 @@ def update_function_data_types_without_preload_content( analysis_id=analysis_id, function_id=function_id, update_function_data_types=update_function_data_types, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1756,7 +1668,6 @@ def _update_function_data_types_serialize( analysis_id, function_id, update_function_data_types, - authorization, _request_auth, _content_type, _headers, @@ -1784,8 +1695,6 @@ def _update_function_data_types_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if update_function_data_types is not None: diff --git a/revengai/api/functions_decompilation_api.py b/revengai/api/functions_decompilation_api.py index 051044a..0e598a2 100644 --- a/revengai/api/functions_decompilation_api.py +++ b/revengai/api/functions_decompilation_api.py @@ -15,8 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional +from pydantic import Field, StrictInt from typing_extensions import Annotated from revengai.models.base_response_bool import BaseResponseBool from revengai.models.base_response_comment_response import BaseResponseCommentResponse @@ -49,7 +48,6 @@ def __init__(self, api_client=None) -> None: def check_function_decompilation_task( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68,8 +66,6 @@ def check_function_decompilation_task( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94,7 +90,6 @@ def check_function_decompilation_task( _param = self._check_function_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120,7 +115,6 @@ def check_function_decompilation_task( def check_function_decompilation_task_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139,8 +133,6 @@ def check_function_decompilation_task_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +157,6 @@ def check_function_decompilation_task_with_http_info( _param = self._check_function_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -191,7 +182,6 @@ def check_function_decompilation_task_with_http_info( def check_function_decompilation_task_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -210,8 +200,6 @@ def check_function_decompilation_task_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -236,7 +224,6 @@ def check_function_decompilation_task_without_preload_content( _param = self._check_function_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -257,7 +244,6 @@ def check_function_decompilation_task_without_preload_content( def _check_function_decompilation_task_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -283,8 +269,6 @@ def _check_function_decompilation_task_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -326,7 +310,6 @@ def create_decompilation_comment( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -348,8 +331,6 @@ def create_decompilation_comment( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -375,7 +356,6 @@ def create_decompilation_comment( _param = self._create_decompilation_comment_serialize( function_id=function_id, function_comment_create_request=function_comment_create_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -403,7 +383,6 @@ def create_decompilation_comment_with_http_info( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -425,8 +404,6 @@ def create_decompilation_comment_with_http_info( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -452,7 +429,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -480,7 +456,6 @@ def create_decompilation_comment_without_preload_content( self, function_id: StrictInt, function_comment_create_request: FunctionCommentCreateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -502,8 +477,6 @@ def create_decompilation_comment_without_preload_content( :type function_id: int :param function_comment_create_request: (required) :type function_comment_create_request: FunctionCommentCreateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -529,7 +502,6 @@ 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, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -552,7 +524,6 @@ def _create_decompilation_comment_serialize( self, function_id, function_comment_create_request, - authorization, _request_auth, _content_type, _headers, @@ -578,8 +549,6 @@ def _create_decompilation_comment_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if function_comment_create_request is not None: @@ -635,7 +604,6 @@ def _create_decompilation_comment_serialize( def create_function_decompilation_task( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -654,8 +622,6 @@ def create_function_decompilation_task( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +646,6 @@ def create_function_decompilation_task( _param = self._create_function_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -707,7 +672,6 @@ def create_function_decompilation_task( def create_function_decompilation_task_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -726,8 +690,6 @@ def create_function_decompilation_task_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -752,7 +714,6 @@ def create_function_decompilation_task_with_http_info( _param = self._create_function_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -779,7 +740,6 @@ def create_function_decompilation_task_with_http_info( def create_function_decompilation_task_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -798,8 +758,6 @@ def create_function_decompilation_task_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -824,7 +782,6 @@ def create_function_decompilation_task_without_preload_content( _param = self._create_function_decompilation_task_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -846,7 +803,6 @@ def create_function_decompilation_task_without_preload_content( def _create_function_decompilation_task_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -872,8 +828,6 @@ def _create_function_decompilation_task_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -915,7 +869,6 @@ def delete_decompilation_comment( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -937,8 +890,6 @@ def delete_decompilation_comment( :type comment_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -964,7 +915,6 @@ def delete_decompilation_comment( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -993,7 +943,6 @@ def delete_decompilation_comment_with_http_info( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1015,8 +964,6 @@ def delete_decompilation_comment_with_http_info( :type comment_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1042,7 +989,6 @@ def delete_decompilation_comment_with_http_info( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1071,7 +1017,6 @@ def delete_decompilation_comment_without_preload_content( self, comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1093,8 +1038,6 @@ def delete_decompilation_comment_without_preload_content( :type comment_id: int :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1120,7 +1063,6 @@ def delete_decompilation_comment_without_preload_content( _param = self._delete_decompilation_comment_serialize( comment_id=comment_id, function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1144,7 +1086,6 @@ def _delete_decompilation_comment_serialize( self, comment_id, function_id, - authorization, _request_auth, _content_type, _headers, @@ -1172,8 +1113,6 @@ def _delete_decompilation_comment_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1214,7 +1153,6 @@ def _delete_decompilation_comment_serialize( def get_decompilation_comments( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1234,8 +1172,6 @@ def get_decompilation_comments( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1260,7 +1196,6 @@ def get_decompilation_comments( _param = self._get_decompilation_comments_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1286,7 +1221,6 @@ def get_decompilation_comments( def get_decompilation_comments_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1306,8 +1240,6 @@ def get_decompilation_comments_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1332,7 +1264,6 @@ def get_decompilation_comments_with_http_info( _param = self._get_decompilation_comments_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1358,7 +1289,6 @@ def get_decompilation_comments_with_http_info( def get_decompilation_comments_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1378,8 +1308,6 @@ def get_decompilation_comments_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1404,7 +1332,6 @@ def get_decompilation_comments_without_preload_content( _param = self._get_decompilation_comments_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1425,7 +1352,6 @@ def get_decompilation_comments_without_preload_content( def _get_decompilation_comments_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -1451,8 +1377,6 @@ def _get_decompilation_comments_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1493,7 +1417,6 @@ def _get_decompilation_comments_serialize( def get_function_decompilation( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1512,8 +1435,6 @@ def get_function_decompilation( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1538,7 +1459,6 @@ def get_function_decompilation( _param = self._get_function_decompilation_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1565,7 +1485,6 @@ def get_function_decompilation( def get_function_decompilation_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1584,8 +1503,6 @@ def get_function_decompilation_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1610,7 +1527,6 @@ def get_function_decompilation_with_http_info( _param = self._get_function_decompilation_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1637,7 +1553,6 @@ def get_function_decompilation_with_http_info( def get_function_decompilation_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1656,8 +1571,6 @@ def get_function_decompilation_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1682,7 +1595,6 @@ def get_function_decompilation_without_preload_content( _param = self._get_function_decompilation_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1704,7 +1616,6 @@ def get_function_decompilation_without_preload_content( def _get_function_decompilation_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -1730,8 +1641,6 @@ def _get_function_decompilation_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -1774,7 +1683,6 @@ def update_decompilation_comment( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1798,8 +1706,6 @@ def update_decompilation_comment( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1826,7 +1732,6 @@ def update_decompilation_comment( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1856,7 +1761,6 @@ def update_decompilation_comment_with_http_info( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1880,8 +1784,6 @@ def update_decompilation_comment_with_http_info( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1908,7 +1810,6 @@ def update_decompilation_comment_with_http_info( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1938,7 +1839,6 @@ def update_decompilation_comment_without_preload_content( comment_id: Annotated[int, Field(strict=True, ge=1)], function_id: StrictInt, comment_update_request: CommentUpdateRequest, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1962,8 +1862,6 @@ def update_decompilation_comment_without_preload_content( :type function_id: int :param comment_update_request: (required) :type comment_update_request: CommentUpdateRequest - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1990,7 +1888,6 @@ def update_decompilation_comment_without_preload_content( comment_id=comment_id, function_id=function_id, comment_update_request=comment_update_request, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2015,7 +1912,6 @@ def _update_decompilation_comment_serialize( comment_id, function_id, comment_update_request, - authorization, _request_auth, _content_type, _headers, @@ -2043,8 +1939,6 @@ def _update_decompilation_comment_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if comment_update_request is not None: diff --git a/revengai/api/functions_renaming_history_api.py b/revengai/api/functions_renaming_history_api.py index e50144c..a2c04c5 100644 --- a/revengai/api/functions_renaming_history_api.py +++ b/revengai/api/functions_renaming_history_api.py @@ -15,9 +15,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import Optional -from typing_extensions import Annotated +from pydantic import StrictInt 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 @@ -45,7 +43,6 @@ def __init__(self, api_client=None) -> None: def batch_rename_function( self, functions_list_rename: FunctionsListRename, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65,8 +62,6 @@ def batch_rename_function( :param functions_list_rename: (required) :type functions_list_rename: FunctionsListRename - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91,7 +86,6 @@ def batch_rename_function( _param = self._batch_rename_function_serialize( functions_list_rename=functions_list_rename, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117,7 +111,6 @@ def batch_rename_function( def batch_rename_function_with_http_info( self, functions_list_rename: FunctionsListRename, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137,8 +130,6 @@ def batch_rename_function_with_http_info( :param functions_list_rename: (required) :type functions_list_rename: FunctionsListRename - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -163,7 +154,6 @@ def batch_rename_function_with_http_info( _param = self._batch_rename_function_serialize( functions_list_rename=functions_list_rename, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -189,7 +179,6 @@ def batch_rename_function_with_http_info( def batch_rename_function_without_preload_content( self, functions_list_rename: FunctionsListRename, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -209,8 +198,6 @@ def batch_rename_function_without_preload_content( :param functions_list_rename: (required) :type functions_list_rename: FunctionsListRename - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -235,7 +222,6 @@ def batch_rename_function_without_preload_content( _param = self._batch_rename_function_serialize( functions_list_rename=functions_list_rename, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -256,7 +242,6 @@ def batch_rename_function_without_preload_content( def _batch_rename_function_serialize( self, functions_list_rename, - authorization, _request_auth, _content_type, _headers, @@ -280,8 +265,6 @@ def _batch_rename_function_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if functions_list_rename is not None: @@ -337,7 +320,6 @@ def _batch_rename_function_serialize( def get_function_name_history( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -357,8 +339,6 @@ def get_function_name_history( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -383,7 +363,6 @@ def get_function_name_history( _param = self._get_function_name_history_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -409,7 +388,6 @@ def get_function_name_history( def get_function_name_history_with_http_info( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -429,8 +407,6 @@ def get_function_name_history_with_http_info( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -455,7 +431,6 @@ def get_function_name_history_with_http_info( _param = self._get_function_name_history_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -481,7 +456,6 @@ def get_function_name_history_with_http_info( def get_function_name_history_without_preload_content( self, function_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -501,8 +475,6 @@ def get_function_name_history_without_preload_content( :param function_id: (required) :type function_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -527,7 +499,6 @@ def get_function_name_history_without_preload_content( _param = self._get_function_name_history_serialize( function_id=function_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -548,7 +519,6 @@ def get_function_name_history_without_preload_content( def _get_function_name_history_serialize( self, function_id, - authorization, _request_auth, _content_type, _headers, @@ -574,8 +544,6 @@ def _get_function_name_history_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -617,7 +585,6 @@ def rename_function_id( self, function_id: StrictInt, function_rename: FunctionRename, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -639,8 +606,6 @@ def rename_function_id( :type function_id: int :param function_rename: (required) :type function_rename: FunctionRename - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -666,7 +631,6 @@ def rename_function_id( _param = self._rename_function_id_serialize( function_id=function_id, function_rename=function_rename, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -693,7 +657,6 @@ def rename_function_id_with_http_info( self, function_id: StrictInt, function_rename: FunctionRename, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -715,8 +678,6 @@ def rename_function_id_with_http_info( :type function_id: int :param function_rename: (required) :type function_rename: FunctionRename - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -742,7 +703,6 @@ def rename_function_id_with_http_info( _param = self._rename_function_id_serialize( function_id=function_id, function_rename=function_rename, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -769,7 +729,6 @@ def rename_function_id_without_preload_content( self, function_id: StrictInt, function_rename: FunctionRename, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -791,8 +750,6 @@ def rename_function_id_without_preload_content( :type function_id: int :param function_rename: (required) :type function_rename: FunctionRename - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -818,7 +775,6 @@ def rename_function_id_without_preload_content( _param = self._rename_function_id_serialize( function_id=function_id, function_rename=function_rename, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -840,7 +796,6 @@ def _rename_function_id_serialize( self, function_id, function_rename, - authorization, _request_auth, _content_type, _headers, @@ -866,8 +821,6 @@ def _rename_function_id_serialize( _path_params['function_id'] = function_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter if function_rename is not None: @@ -924,7 +877,6 @@ def revert_function_name( self, function_id: StrictInt, history_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -946,8 +898,6 @@ def revert_function_name( :type function_id: int :param history_id: (required) :type history_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -973,7 +923,6 @@ def revert_function_name( _param = self._revert_function_name_serialize( function_id=function_id, history_id=history_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1000,7 +949,6 @@ def revert_function_name_with_http_info( self, function_id: StrictInt, history_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1022,8 +970,6 @@ def revert_function_name_with_http_info( :type function_id: int :param history_id: (required) :type history_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1049,7 +995,6 @@ def revert_function_name_with_http_info( _param = self._revert_function_name_serialize( function_id=function_id, history_id=history_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1076,7 +1021,6 @@ def revert_function_name_without_preload_content( self, function_id: StrictInt, history_id: StrictInt, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1098,8 +1042,6 @@ def revert_function_name_without_preload_content( :type function_id: int :param history_id: (required) :type history_id: int - :param authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1125,7 +1067,6 @@ def revert_function_name_without_preload_content( _param = self._revert_function_name_serialize( function_id=function_id, history_id=history_id, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1147,7 +1088,6 @@ def _revert_function_name_serialize( self, function_id, history_id, - authorization, _request_auth, _content_type, _headers, @@ -1175,8 +1115,6 @@ def _revert_function_name_serialize( _path_params['history_id'] = history_id # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/models_api.py b/revengai/api/models_api.py index 2148a96..f9acec9 100644 --- a/revengai/api/models_api.py +++ b/revengai/api/models_api.py @@ -15,9 +15,6 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing import Optional -from typing_extensions import Annotated from revengai.models.base_response_models_response import BaseResponseModelsResponse from revengai.api_client import ApiClient, RequestSerialized @@ -41,7 +38,6 @@ def __init__(self, api_client=None) -> None: @validate_call def get_models( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59,8 +55,6 @@ def get_models( Gets active models available for analysis. - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +78,6 @@ def get_models( """ # noqa: E501 _param = self._get_models_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109,7 +102,6 @@ def get_models( @validate_call def get_models_with_http_info( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127,8 +119,6 @@ def get_models_with_http_info( Gets active models available for analysis. - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +142,6 @@ def get_models_with_http_info( """ # noqa: E501 _param = self._get_models_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -177,7 +166,6 @@ def get_models_with_http_info( @validate_call def get_models_without_preload_content( self, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -195,8 +183,6 @@ def get_models_without_preload_content( Gets active models available for analysis. - :param authorization: API Key bearer token - :type authorization: str :param _request_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,7 +206,6 @@ def get_models_without_preload_content( """ # noqa: E501 _param = self._get_models_serialize( - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -240,7 +225,6 @@ def get_models_without_preload_content( def _get_models_serialize( self, - authorization, _request_auth, _content_type, _headers, @@ -264,8 +248,6 @@ def _get_models_serialize( # process the path parameters # process the query parameters # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api/search_api.py b/revengai/api/search_api.py index 4a51b42..0c04e88 100644 --- a/revengai/api/search_api.py +++ b/revengai/api/search_api.py @@ -54,7 +54,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86,8 +85,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118,7 +115,6 @@ def search_binaries( tags=tags, model_name=model_name, user_files_only=user_files_only, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -150,7 +146,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -182,8 +177,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -214,7 +207,6 @@ def search_binaries_with_http_info( tags=tags, model_name=model_name, user_files_only=user_files_only, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -246,7 +238,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -278,8 +269,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -310,7 +299,6 @@ def search_binaries_without_preload_content( tags=tags, model_name=model_name, user_files_only=user_files_only, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -337,7 +325,6 @@ def _search_binaries_serialize( tags, model_name, user_files_only, - authorization, _request_auth, _content_type, _headers, @@ -390,8 +377,6 @@ def _search_binaries_serialize( _query_params.append(('user_files_only', user_files_only)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -441,7 +426,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -479,8 +463,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -514,7 +496,6 @@ def search_collections( filters=filters, order_by=order_by, order_by_direction=order_by_direction, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -550,7 +531,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -588,8 +568,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -623,7 +601,6 @@ def search_collections_with_http_info( filters=filters, order_by=order_by, order_by_direction=order_by_direction, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -659,7 +636,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -697,8 +673,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -732,7 +706,6 @@ def search_collections_without_preload_content( filters=filters, order_by=order_by, order_by_direction=order_by_direction, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -763,7 +736,6 @@ def _search_collections_serialize( filters, order_by, order_by_direction, - authorization, _request_auth, _content_type, _headers, @@ -829,8 +801,6 @@ def _search_collections_serialize( _query_params.append(('order_by_direction', order_by_direction.value)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter @@ -874,7 +844,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -900,8 +869,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -929,7 +896,6 @@ def search_functions( page_size=page_size, partial_name=partial_name, model_name=model_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -958,7 +924,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -984,8 +949,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_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,7 +976,6 @@ def search_functions_with_http_info( page_size=page_size, partial_name=partial_name, model_name=model_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1042,7 +1004,6 @@ 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, - authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1068,8 +1029,6 @@ 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 authorization: API Key bearer token - :type authorization: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1097,7 +1056,6 @@ def search_functions_without_preload_content( page_size=page_size, partial_name=partial_name, model_name=model_name, - authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1121,7 +1079,6 @@ def _search_functions_serialize( page_size, partial_name, model_name, - authorization, _request_auth, _content_type, _headers, @@ -1161,8 +1118,6 @@ def _search_functions_serialize( _query_params.append(('model_name', model_name)) # process the header parameters - if authorization is not None: - _header_params['authorization'] = authorization # process the form parameters # process the body parameter diff --git a/revengai/api_client.py b/revengai/api_client.py index 91d475b..2a03d82 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/v1.94.0/python' + self.user_agent = 'OpenAPI-Generator/v1.95.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/revengai/configuration.py b/revengai/configuration.py index 70d46d6..1a64e99 100644 --- a/revengai/configuration.py +++ b/revengai/configuration.py @@ -529,8 +529,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v1.94.0\n"\ - "SDK Package Version: v1.94.0".\ + "Version of the API: v1.95.0\n"\ + "SDK Package Version: v1.95.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: