diff --git a/field-manager-python-client/field_manager_python_client/api/comments/delete_comment_projects_project_id_locations_location_id_comments_comment_id_delete.py b/field-manager-python-client/field_manager_python_client/api/comments/delete_comment_projects_project_id_locations_location_id_comments_comment_id_delete.py index d067fd1..b0f7cb6 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/delete_comment_projects_project_id_locations_location_id_comments_comment_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/delete_comment_projects_project_id_locations_location_id_comments_comment_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -33,7 +34,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}", + "url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + comment_id=quote(str(comment_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/comments/get_likes_projects_project_id_locations_location_id_comments_comment_id_likes_get.py b/field-manager-python-client/field_manager_python_client/api/comments/get_likes_projects_project_id_locations_location_id_comments_comment_id_likes_get.py index ff1d874..42fb8c9 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/get_likes_projects_project_id_locations_location_id_comments_comment_id_likes_get.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/get_likes_projects_project_id_locations_location_id_comments_comment_id_likes_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -33,7 +34,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes", + "url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + comment_id=quote(str(comment_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/comments/get_location_comments_projects_project_id_locations_location_id_comments_get.py b/field-manager-python-client/field_manager_python_client/api/comments/get_location_comments_projects_project_id_locations_location_id_comments_get.py index eb0845e..c25731e 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/get_location_comments_projects_project_id_locations_location_id_comments_get.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/get_location_comments_projects_project_id_locations_location_id_comments_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/comments", + "url": "/projects/{project_id}/locations/{location_id}/comments".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/comments/get_method_comments_projects_project_id_locations_location_id_methods_method_id_comments_get.py b/field-manager-python-client/field_manager_python_client/api/comments/get_method_comments_projects_project_id_locations_location_id_methods_method_id_comments_get.py index c60d0bf..b36fe44 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/get_method_comments_projects_project_id_locations_location_id_methods_method_id_comments_get.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/get_method_comments_projects_project_id_locations_location_id_methods_method_id_comments_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -18,7 +19,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/comments", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/comments".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/comments/like_comment_projects_project_id_locations_location_id_comments_comment_id_likes_post.py b/field-manager-python-client/field_manager_python_client/api/comments/like_comment_projects_project_id_locations_location_id_comments_comment_id_likes_post.py index 7c7d7ae..aa43817 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/like_comment_projects_project_id_locations_location_id_comments_comment_id_likes_post.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/like_comment_projects_project_id_locations_location_id_comments_comment_id_likes_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -33,7 +34,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes", + "url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + comment_id=quote(str(comment_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/comments/modify_comment_projects_project_id_locations_location_id_comments_comment_id_text_put.py b/field-manager-python-client/field_manager_python_client/api/comments/modify_comment_projects_project_id_locations_location_id_comments_comment_id_text_put.py index da8d840..e7198a1 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/modify_comment_projects_project_id_locations_location_id_comments_comment_id_text_put.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/modify_comment_projects_project_id_locations_location_id_comments_comment_id_text_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -37,7 +38,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/text", + "url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/text".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + comment_id=quote(str(comment_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/comments/submit_comment_projects_project_id_locations_location_id_comments_post.py b/field-manager-python-client/field_manager_python_client/api/comments/submit_comment_projects_project_id_locations_location_id_comments_post.py index 04aaea3..5b017c1 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/submit_comment_projects_project_id_locations_location_id_comments_post.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/submit_comment_projects_project_id_locations_location_id_comments_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -36,7 +37,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/{location_id}/comments", + "url": "/projects/{project_id}/locations/{location_id}/comments".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/comments/unlike_comment_projects_project_id_locations_location_id_comments_comment_id_likes_like_id_delete.py b/field-manager-python-client/field_manager_python_client/api/comments/unlike_comment_projects_project_id_locations_location_id_comments_comment_id_likes_like_id_delete.py index 9cd993f..6052f3a 100644 --- a/field-manager-python-client/field_manager_python_client/api/comments/unlike_comment_projects_project_id_locations_location_id_comments_comment_id_likes_like_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/comments/unlike_comment_projects_project_id_locations_location_id_comments_comment_id_likes_like_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -34,7 +35,12 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes/{like_id}", + "url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes/{like_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + comment_id=quote(str(comment_id), safe=""), + like_id=quote(str(like_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_lines_projects_project_id_cross_sections_lines_format_post.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_lines_projects_project_id_cross_sections_lines_format_post.py index ab0f3b8..d1327b1 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_lines_projects_project_id_cross_sections_lines_format_post.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_lines_projects_project_id_cross_sections_lines_format_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -34,7 +35,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/cross_sections/lines/{format_}", + "url": "/projects/{project_id}/cross_sections/lines/{format_}".format( + project_id=quote(str(project_id), safe=""), + format_=quote(str(format_), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_projects_project_id_cross_sections_post.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_projects_project_id_cross_sections_post.py index a53ea37..3f0e6d8 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_projects_project_id_cross_sections_post.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_projects_project_id_cross_sections_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/cross_sections", + "url": "/projects/{project_id}/cross_sections".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_section_projects_project_id_cross_sections_cross_section_id_delete.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_section_projects_project_id_cross_sections_cross_section_id_delete.py index 95f65db..70cbcfb 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_section_projects_project_id_cross_sections_cross_section_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_section_projects_project_id_cross_sections_cross_section_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/cross_sections/{cross_section_id}", + "url": "/projects/{project_id}/cross_sections/{cross_section_id}".format( + project_id=quote(str(project_id), safe=""), + cross_section_id=quote(str(cross_section_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_sections_projects_project_id_cross_sections_delete.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_sections_projects_project_id_cross_sections_delete.py index 92c3a89..3b00f2d 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_sections_projects_project_id_cross_sections_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/delete_cross_sections_projects_project_id_cross_sections_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -28,7 +29,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/cross_sections", + "url": "/projects/{project_id}/cross_sections".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_plot_projects_project_id_cross_sections_cross_section_id_format_get.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_plot_projects_project_id_cross_sections_cross_section_id_format_get.py index aa44980..75b9281 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_plot_projects_project_id_cross_sections_cross_section_id_format_get.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_plot_projects_project_id_cross_sections_cross_section_id_format_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -20,7 +21,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/cross_sections/{cross_section_id}/{format_}", + "url": "/projects/{project_id}/cross_sections/{cross_section_id}/{format_}".format( + project_id=quote(str(project_id), safe=""), + cross_section_id=quote(str(cross_section_id), safe=""), + format_=quote(str(format_), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_projects_project_id_cross_sections_cross_section_id_get.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_projects_project_id_cross_sections_cross_section_id_get.py index ec1d7a3..5bb24fa 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_projects_project_id_cross_sections_cross_section_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_section_projects_project_id_cross_sections_cross_section_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/cross_sections/{cross_section_id}", + "url": "/projects/{project_id}/cross_sections/{cross_section_id}".format( + project_id=quote(str(project_id), safe=""), + cross_section_id=quote(str(cross_section_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_sections_for_project_projects_project_id_cross_sections_get.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_sections_for_project_projects_project_id_cross_sections_get.py index 5e1de75..10813cd 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_sections_for_project_projects_project_id_cross_sections_get.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/get_cross_sections_for_project_projects_project_id_cross_sections_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/cross_sections", + "url": "/projects/{project_id}/cross_sections".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/cross_sections/update_cross_section_projects_project_id_cross_sections_cross_section_id_put.py b/field-manager-python-client/field_manager_python_client/api/cross_sections/update_cross_section_projects_project_id_cross_sections_cross_section_id_put.py index d3728a5..cb32348 100644 --- a/field-manager-python-client/field_manager_python_client/api/cross_sections/update_cross_section_projects_project_id_cross_sections_cross_section_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/cross_sections/update_cross_section_projects_project_id_cross_sections_cross_section_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/cross_sections/{cross_section_id}", + "url": "/projects/{project_id}/cross_sections/{cross_section_id}".format( + project_id=quote(str(project_id), safe=""), + cross_section_id=quote(str(cross_section_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/export/export_files_projects_project_id_export_files_get.py b/field-manager-python-client/field_manager_python_client/api/export/export_files_projects_project_id_export_files_get.py index abbcc83..ba7b398 100644 --- a/field-manager-python-client/field_manager_python_client/api/export/export_files_projects_project_id_export_files_get.py +++ b/field-manager-python-client/field_manager_python_client/api/export/export_files_projects_project_id_export_files_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -30,7 +31,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/export/files", + "url": "/projects/{project_id}/export/files".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/export/export_projects_project_id_export_post.py b/field-manager-python-client/field_manager_python_client/api/export/export_projects_project_id_export_post.py index 1af025a..65e161b 100644 --- a/field-manager-python-client/field_manager_python_client/api/export/export_projects_project_id_export_post.py +++ b/field-manager-python-client/field_manager_python_client/api/export/export_projects_project_id_export_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/export", + "url": "/projects/{project_id}/export".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/files/change_file_metadata_projects_project_id_files_file_id_put.py b/field-manager-python-client/field_manager_python_client/api/files/change_file_metadata_projects_project_id_files_file_id_put.py index 4539ac9..0eef5e6 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/change_file_metadata_projects_project_id_files_file_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/files/change_file_metadata_projects_project_id_files_file_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/files/{file_id}", + "url": "/projects/{project_id}/files/{file_id}".format( + project_id=quote(str(project_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/files/download_file_projects_project_id_files_file_id_download_get.py b/field-manager-python-client/field_manager_python_client/api/files/download_file_projects_project_id_files_file_id_download_get.py index adaa2fa..5b306df 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/download_file_projects_project_id_files_file_id_download_get.py +++ b/field-manager-python-client/field_manager_python_client/api/files/download_file_projects_project_id_files_file_id_download_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -48,7 +49,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/files/{file_id}/download", + "url": "/projects/{project_id}/files/{file_id}/download".format( + project_id=quote(str(project_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/files/download_file_specified_in_token_download_projects_project_id_file_get.py b/field-manager-python-client/field_manager_python_client/api/files/download_file_specified_in_token_download_projects_project_id_file_get.py index df400be..f48499c 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/download_file_specified_in_token_download_projects_project_id_file_get.py +++ b/field-manager-python-client/field_manager_python_client/api/files/download_file_specified_in_token_download_projects_project_id_file_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -50,7 +51,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/download/projects/{project_id}/file", + "url": "/download/projects/{project_id}/file".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/files/download_project_file_download_projects_project_id_file_file_id_get.py b/field-manager-python-client/field_manager_python_client/api/files/download_project_file_download_projects_project_id_file_file_id_get.py index 21ff5e3..5777d05 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/download_project_file_download_projects_project_id_file_file_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/files/download_project_file_download_projects_project_id_file_file_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -51,7 +52,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/download/projects/{project_id}/file/{file_id}", + "url": "/download/projects/{project_id}/file/{file_id}".format( + project_id=quote(str(project_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/files/export_files_via_token_download_projects_project_id_export_files_get.py b/field-manager-python-client/field_manager_python_client/api/files/export_files_via_token_download_projects_project_id_export_files_get.py index 517e50b..c0430a3 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/export_files_via_token_download_projects_project_id_export_files_get.py +++ b/field-manager-python-client/field_manager_python_client/api/files/export_files_via_token_download_projects_project_id_export_files_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -33,7 +34,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/download/projects/{project_id}/export/files", + "url": "/download/projects/{project_id}/export/files".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/files/file_token_projects_project_id_files_file_id_token_get.py b/field-manager-python-client/field_manager_python_client/api/files/file_token_projects_project_id_files_file_id_token_get.py index 6130911..4331035 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/file_token_projects_project_id_files_file_id_token_get.py +++ b/field-manager-python-client/field_manager_python_client/api/files/file_token_projects_project_id_files_file_id_token_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/files/{file_id}/token", + "url": "/projects/{project_id}/files/{file_id}/token".format( + project_id=quote(str(project_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/files/parse_project_file_projects_project_id_files_file_id_parse_post.py b/field-manager-python-client/field_manager_python_client/api/files/parse_project_file_projects_project_id_files_file_id_parse_post.py index 8b08bb4..fa509a5 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/parse_project_file_projects_project_id_files_file_id_parse_post.py +++ b/field-manager-python-client/field_manager_python_client/api/files/parse_project_file_projects_project_id_files_file_id_parse_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -33,7 +34,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/files/{file_id}/parse", + "url": "/projects/{project_id}/files/{file_id}/parse".format( + project_id=quote(str(project_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/files/project_token_projects_project_id_token_get.py b/field-manager-python-client/field_manager_python_client/api/files/project_token_projects_project_id_token_get.py index 30f2338..fe3531c 100644 --- a/field-manager-python-client/field_manager_python_client/api/files/project_token_projects_project_id_token_get.py +++ b/field-manager-python-client/field_manager_python_client/api/files/project_token_projects_project_id_token_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/token", + "url": "/projects/{project_id}/token".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/gis/get_locations_in_project_projects_project_id_gis_onshore_get.py b/field-manager-python-client/field_manager_python_client/api/gis/get_locations_in_project_projects_project_id_gis_onshore_get.py index ece7006..0196391 100644 --- a/field-manager-python-client/field_manager_python_client/api/gis/get_locations_in_project_projects_project_id_gis_onshore_get.py +++ b/field-manager-python-client/field_manager_python_client/api/gis/get_locations_in_project_projects_project_id_gis_onshore_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -26,7 +27,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/gis/onshore", + "url": "/projects/{project_id}/gis/onshore".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/location_types/get_location_iogp_type_location_iogp_types_iogp_type_id_get.py b/field-manager-python-client/field_manager_python_client/api/location_types/get_location_iogp_type_location_iogp_types_iogp_type_id_get.py index 1f33102..2106a41 100644 --- a/field-manager-python-client/field_manager_python_client/api/location_types/get_location_iogp_type_location_iogp_types_iogp_type_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/location_types/get_location_iogp_type_location_iogp_types_iogp_type_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/location_iogp_types/{iogp_type_id}", + "url": "/location_iogp_types/{iogp_type_id}".format( + iogp_type_id=quote(str(iogp_type_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/locations/add_location_to_project_projects_project_id_locations_post.py b/field-manager-python-client/field_manager_python_client/api/locations/add_location_to_project_projects_project_id_locations_post.py index 901bd07..a670310 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/add_location_to_project_projects_project_id_locations_post.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/add_location_to_project_projects_project_id_locations_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations", + "url": "/projects/{project_id}/locations".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/locations/delete_file_projects_project_id_locations_location_id_files_file_id_delete.py b/field-manager-python-client/field_manager_python_client/api/locations/delete_file_projects_project_id_locations_location_id_files_file_id_delete.py index b970199..4074203 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/delete_file_projects_project_id_locations_location_id_files_file_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/delete_file_projects_project_id_locations_location_id_files_file_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}/files/{file_id}", + "url": "/projects/{project_id}/locations/{location_id}/files/{file_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/locations/delete_location_in_project_projects_project_id_locations_location_id_delete.py b/field-manager-python-client/field_manager_python_client/api/locations/delete_location_in_project_projects_project_id_locations_location_id_delete.py index a9b010e..78a3add 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/delete_location_in_project_projects_project_id_locations_location_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/delete_location_in_project_projects_project_id_locations_location_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}", + "url": "/projects/{project_id}/locations/{location_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/locations/delete_locations_in_project_projects_project_id_locations_delete.py b/field-manager-python-client/field_manager_python_client/api/locations/delete_locations_in_project_projects_project_id_locations_delete.py index 7d97693..57ca64d 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/delete_locations_in_project_projects_project_id_locations_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/delete_locations_in_project_projects_project_id_locations_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations", + "url": "/projects/{project_id}/locations".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = [] diff --git a/field-manager-python-client/field_manager_python_client/api/locations/export_projects_project_id_locations_location_id_export_get.py b/field-manager-python-client/field_manager_python_client/api/locations/export_projects_project_id_locations_location_id_export_get.py index e307e00..c9aca21 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/export_projects_project_id_locations_location_id_export_get.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/export_projects_project_id_locations_location_id_export_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -29,7 +30,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/export", + "url": "/projects/{project_id}/locations/{location_id}/export".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/locations/get_files_in_location_in_project_projects_project_id_locations_location_id_files_get.py b/field-manager-python-client/field_manager_python_client/api/locations/get_files_in_location_in_project_projects_project_id_locations_location_id_files_get.py index 3a21e0b..11f972a 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/get_files_in_location_in_project_projects_project_id_locations_location_id_files_get.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/get_files_in_location_in_project_projects_project_id_locations_location_id_files_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -33,7 +34,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/files", + "url": "/projects/{project_id}/locations/{location_id}/files".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_by_name_projects_project_id_locations_get_by_name_name_get.py b/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_by_name_projects_project_id_locations_get_by_name_name_get.py index 0eb36eb..9dbf042 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_by_name_projects_project_id_locations_get_by_name_name_get.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_by_name_projects_project_id_locations_get_by_name_name_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/get_by_name/{name}", + "url": "/projects/{project_id}/locations/get_by_name/{name}".format( + project_id=quote(str(project_id), safe=""), + name=quote(str(name), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_projects_project_id_locations_location_id_get.py b/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_projects_project_id_locations_location_id_get.py index 1979d6c..91d505f 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_projects_project_id_locations_location_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/get_location_in_project_projects_project_id_locations_location_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}", + "url": "/projects/{project_id}/locations/{location_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/locations/get_locations_in_project_projects_project_id_locations_get.py b/field-manager-python-client/field_manager_python_client/api/locations/get_locations_in_project_projects_project_id_locations_get.py index a64c48c..71defbd 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/get_locations_in_project_projects_project_id_locations_get.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/get_locations_in_project_projects_project_id_locations_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -47,7 +48,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations", + "url": "/projects/{project_id}/locations".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/locations/queue_locations_to_project_projects_project_id_locations_queue_post.py b/field-manager-python-client/field_manager_python_client/api/locations/queue_locations_to_project_projects_project_id_locations_queue_post.py index 0b99223..3901123 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/queue_locations_to_project_projects_project_id_locations_queue_post.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/queue_locations_to_project_projects_project_id_locations_queue_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -42,7 +43,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/queue", + "url": "/projects/{project_id}/locations/queue".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/locations/update_location_in_project_projects_project_id_locations_location_id_put.py b/field-manager-python-client/field_manager_python_client/api/locations/update_location_in_project_projects_project_id_locations_location_id_put.py index 01ea09c..69bc45c 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/update_location_in_project_projects_project_id_locations_location_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/update_location_in_project_projects_project_id_locations_location_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/locations/{location_id}", + "url": "/projects/{project_id}/locations/{location_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/locations/update_locations_in_project_projects_project_id_locations_put.py b/field-manager-python-client/field_manager_python_client/api/locations/update_locations_in_project_projects_project_id_locations_put.py index 45ba59e..e18611f 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/update_locations_in_project_projects_project_id_locations_put.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/update_locations_in_project_projects_project_id_locations_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/locations", + "url": "/projects/{project_id}/locations".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = [] diff --git a/field-manager-python-client/field_manager_python_client/api/locations/upload_file_to_location_projects_project_id_locations_location_id_upload_post.py b/field-manager-python-client/field_manager_python_client/api/locations/upload_file_to_location_projects_project_id_locations_location_id_upload_post.py index a125c95..8ab1280 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/upload_file_to_location_projects_project_id_locations_location_id_upload_post.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/upload_file_to_location_projects_project_id_locations_location_id_upload_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -51,7 +52,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/{location_id}/upload", + "url": "/projects/{project_id}/locations/{location_id}/upload".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), } _kwargs["files"] = body.to_multipart() diff --git a/field-manager-python-client/field_manager_python_client/api/locations/upload_locations_to_project_projects_project_id_locations_upload_post.py b/field-manager-python-client/field_manager_python_client/api/locations/upload_locations_to_project_projects_project_id_locations_upload_post.py index 2a90fed..6abc415 100644 --- a/field-manager-python-client/field_manager_python_client/api/locations/upload_locations_to_project_projects_project_id_locations_upload_post.py +++ b/field-manager-python-client/field_manager_python_client/api/locations/upload_locations_to_project_projects_project_id_locations_upload_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -42,7 +43,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/upload", + "url": "/projects/{project_id}/locations/upload".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_to_project_projects_project_id_map_layouts_post.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_to_project_projects_project_id_map_layouts_post.py index 6e65c17..020b5b3 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_to_project_projects_project_id_map_layouts_post.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_to_project_projects_project_id_map_layouts_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/map_layouts", + "url": "/projects/{project_id}/map_layouts".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_post.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_post.py index b721220..ac4289c 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_post.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/add_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/map_layouts/{map_layout_id}/versions", + "url": "/projects/{project_id}/map_layouts/{map_layout_id}/versions".format( + project_id=quote(str(project_id), safe=""), + map_layout_id=quote(str(map_layout_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_delete.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_delete.py index 222aa3e..0029257 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/map_layouts/{map_layout_id}", + "url": "/projects/{project_id}/map_layouts/{map_layout_id}".format( + project_id=quote(str(project_id), safe=""), + map_layout_id=quote(str(map_layout_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_delete.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_delete.py index ba0bfde..40ae285 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/map_layouts/{map_layout_id}/versions/{map_layout_version_id}", + "url": "/projects/{project_id}/map_layouts/{map_layout_id}/versions/{map_layout_version_id}".format( + project_id=quote(str(project_id), safe=""), + map_layout_id=quote(str(map_layout_id), safe=""), + map_layout_version_id=quote(str(map_layout_version_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layouts_in_project_projects_project_id_map_layouts_delete.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layouts_in_project_projects_project_id_map_layouts_delete.py index 09b2c1d..e62a28f 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layouts_in_project_projects_project_id_map_layouts_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/delete_map_layouts_in_project_projects_project_id_map_layouts_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/map_layouts", + "url": "/projects/{project_id}/map_layouts".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = [] diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_get.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_get.py index ff24bcc..650e10c 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/map_layouts/{map_layout_id}", + "url": "/projects/{project_id}/map_layouts/{map_layout_id}".format( + project_id=quote(str(project_id), safe=""), + map_layout_id=quote(str(map_layout_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layouts_in_project_projects_project_id_map_layouts_get.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layouts_in_project_projects_project_id_map_layouts_get.py index f6d09e3..1e8df23 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layouts_in_project_projects_project_id_map_layouts_get.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/get_map_layouts_in_project_projects_project_id_map_layouts_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/map_layouts", + "url": "/projects/{project_id}/map_layouts".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_put.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_put.py index d8a9d45..406ecae 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/map_layouts/{map_layout_id}", + "url": "/projects/{project_id}/map_layouts/{map_layout_id}".format( + project_id=quote(str(project_id), safe=""), + map_layout_id=quote(str(map_layout_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_put.py b/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_put.py index 5959090..e627974 100644 --- a/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/map_layouts/update_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -23,7 +24,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/map_layouts/{map_layout_id}/versions/{map_layout_version_id}", + "url": "/projects/{project_id}/map_layouts/{map_layout_id}/versions/{map_layout_version_id}".format( + project_id=quote(str(project_id), safe=""), + map_layout_id=quote(str(map_layout_id), safe=""), + map_layout_version_id=quote(str(map_layout_version_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/method_types/get_method_type_method_types_method_type_id_get.py b/field-manager-python-client/field_manager_python_client/api/method_types/get_method_type_method_types_method_type_id_get.py index 81a2f2c..cadd641 100644 --- a/field-manager-python-client/field_manager_python_client/api/method_types/get_method_type_method_types_method_type_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/method_types/get_method_type_method_types_method_type_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/method_types/{method_type_id}", + "url": "/method_types/{method_type_id}".format( + method_type_id=quote(str(method_type_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/methods/add_method_to_location_projects_project_id_locations_location_id_methods_post.py b/field-manager-python-client/field_manager_python_client/api/methods/add_method_to_location_projects_project_id_locations_location_id_methods_post.py index 5ce0585..9b3e7e2 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/add_method_to_location_projects_project_id_locations_location_id_methods_post.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/add_method_to_location_projects_project_id_locations_location_id_methods_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -103,10 +104,12 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/{location_id}/methods", + "url": "/projects/{project_id}/locations/{location_id}/methods".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), } - _kwargs["json"]: dict[str, Any] if isinstance(body, MethodADCreate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodCDCreate): diff --git a/field-manager-python-client/field_manager_python_client/api/methods/batch_delete_methods_for_location_projects_project_id_locations_location_id_methods_delete.py b/field-manager-python-client/field_manager_python_client/api/methods/batch_delete_methods_for_location_projects_project_id_locations_location_id_methods_delete.py index 5bcfde1..ba274bf 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/batch_delete_methods_for_location_projects_project_id_locations_location_id_methods_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/batch_delete_methods_for_location_projects_project_id_locations_location_id_methods_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -20,7 +21,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}/methods", + "url": "/projects/{project_id}/locations/{location_id}/methods".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), } _kwargs["json"] = [] diff --git a/field-manager-python-client/field_manager_python_client/api/methods/create_data_row_projects_project_id_locations_location_id_methods_method_id_data_post.py b/field-manager-python-client/field_manager_python_client/api/methods/create_data_row_projects_project_id_locations_location_id_methods_method_id_data_post.py index 02e3622..c29545c 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/create_data_row_projects_project_id_locations_location_id_methods_method_id_data_post.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/create_data_row_projects_project_id_locations_location_id_methods_method_id_data_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -19,10 +20,14 @@ from ...models.method_rcd_data_create import MethodRCDDataCreate from ...models.method_rp_data import MethodRPData from ...models.method_rp_data_create import MethodRPDataCreate +from ...models.method_slb_data import MethodSLBData +from ...models.method_slb_data_create import MethodSLBDataCreate from ...models.method_srs_data import MethodSRSData from ...models.method_srs_data_create import MethodSRSDataCreate from ...models.method_ss_data import MethodSSData from ...models.method_ss_data_create import MethodSSDataCreate +from ...models.method_sti_data import MethodSTIData +from ...models.method_sti_data_create import MethodSTIDataCreate from ...models.method_svt_data import MethodSVTData from ...models.method_svt_data_create import MethodSVTDataCreate from ...models.method_tot_data import MethodTOTData @@ -45,8 +50,10 @@ def _get_kwargs( | MethodPZDataCreate | MethodRCDDataCreate | MethodRPDataCreate + | MethodSLBDataCreate | MethodSRSDataCreate | MethodSSDataCreate + | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate @@ -56,10 +63,13 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/data", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/data".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), } - _kwargs["json"]: dict[str, Any] if isinstance(body, MethodCPTDataCreate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodDPDataCreate): @@ -72,10 +82,14 @@ def _get_kwargs( _kwargs["json"] = body.to_dict() elif isinstance(body, MethodRPDataCreate): _kwargs["json"] = body.to_dict() + elif isinstance(body, MethodSLBDataCreate): + _kwargs["json"] = body.to_dict() elif isinstance(body, MethodSRSDataCreate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodSSDataCreate): _kwargs["json"] = body.to_dict() + elif isinstance(body, MethodSTIDataCreate): + _kwargs["json"] = body.to_dict() elif isinstance(body, MethodSVTDataCreate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodTOTDataCreate): @@ -101,8 +115,10 @@ def _parse_response( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -120,8 +136,10 @@ def _parse_response_201( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -178,7 +196,7 @@ def _parse_response_201( try: if not isinstance(data, dict): raise TypeError() - response_201_type_6 = MethodSSData.from_dict(data) + response_201_type_6 = MethodSLBData.from_dict(data) return response_201_type_6 except (TypeError, ValueError, AttributeError, KeyError): @@ -186,7 +204,7 @@ def _parse_response_201( try: if not isinstance(data, dict): raise TypeError() - response_201_type_7 = MethodSRSData.from_dict(data) + response_201_type_7 = MethodSSData.from_dict(data) return response_201_type_7 except (TypeError, ValueError, AttributeError, KeyError): @@ -194,7 +212,7 @@ def _parse_response_201( try: if not isinstance(data, dict): raise TypeError() - response_201_type_8 = MethodSVTData.from_dict(data) + response_201_type_8 = MethodSTIData.from_dict(data) return response_201_type_8 except (TypeError, ValueError, AttributeError, KeyError): @@ -202,7 +220,7 @@ def _parse_response_201( try: if not isinstance(data, dict): raise TypeError() - response_201_type_9 = MethodTOTData.from_dict(data) + response_201_type_9 = MethodSRSData.from_dict(data) return response_201_type_9 except (TypeError, ValueError, AttributeError, KeyError): @@ -210,16 +228,32 @@ def _parse_response_201( try: if not isinstance(data, dict): raise TypeError() - response_201_type_10 = MethodTRData.from_dict(data) + response_201_type_10 = MethodSVTData.from_dict(data) return response_201_type_10 except (TypeError, ValueError, AttributeError, KeyError): pass + try: + if not isinstance(data, dict): + raise TypeError() + response_201_type_11 = MethodTOTData.from_dict(data) + + return response_201_type_11 + except (TypeError, ValueError, AttributeError, KeyError): + pass + try: + if not isinstance(data, dict): + raise TypeError() + response_201_type_12 = MethodTRData.from_dict(data) + + return response_201_type_12 + except (TypeError, ValueError, AttributeError, KeyError): + pass if not isinstance(data, dict): raise TypeError() - response_201_type_11 = MethodWSTData.from_dict(data) + response_201_type_13 = MethodWSTData.from_dict(data) - return response_201_type_11 + return response_201_type_13 response_201 = _parse_response_201(response.json()) @@ -246,8 +280,10 @@ def _build_response( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -273,8 +309,10 @@ def sync_detailed( | MethodPZDataCreate | MethodRCDDataCreate | MethodRPDataCreate + | MethodSLBDataCreate | MethodSRSDataCreate | MethodSSDataCreate + | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate @@ -287,8 +325,10 @@ def sync_detailed( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -303,15 +343,16 @@ def sync_detailed( location_id (UUID): method_id (UUID): body (MethodCPTDataCreate | MethodDPDataCreate | MethodDTDataCreate | MethodPZDataCreate | - MethodRCDDataCreate | MethodRPDataCreate | MethodSRSDataCreate | MethodSSDataCreate | - MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate | MethodWSTDataCreate): + MethodRCDDataCreate | MethodRPDataCreate | MethodSLBDataCreate | MethodSRSDataCreate | + MethodSSDataCreate | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | + MethodTRDataCreate | MethodWSTDataCreate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] + Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] """ kwargs = _get_kwargs( @@ -340,8 +381,10 @@ def sync( | MethodPZDataCreate | MethodRCDDataCreate | MethodRPDataCreate + | MethodSLBDataCreate | MethodSRSDataCreate | MethodSSDataCreate + | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate @@ -354,8 +397,10 @@ def sync( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -371,15 +416,16 @@ def sync( location_id (UUID): method_id (UUID): body (MethodCPTDataCreate | MethodDPDataCreate | MethodDTDataCreate | MethodPZDataCreate | - MethodRCDDataCreate | MethodRPDataCreate | MethodSRSDataCreate | MethodSSDataCreate | - MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate | MethodWSTDataCreate): + MethodRCDDataCreate | MethodRPDataCreate | MethodSLBDataCreate | MethodSRSDataCreate | + MethodSSDataCreate | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | + MethodTRDataCreate | MethodWSTDataCreate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData + HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData """ return sync_detailed( @@ -403,8 +449,10 @@ async def asyncio_detailed( | MethodPZDataCreate | MethodRCDDataCreate | MethodRPDataCreate + | MethodSLBDataCreate | MethodSRSDataCreate | MethodSSDataCreate + | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate @@ -417,8 +465,10 @@ async def asyncio_detailed( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -433,15 +483,16 @@ async def asyncio_detailed( location_id (UUID): method_id (UUID): body (MethodCPTDataCreate | MethodDPDataCreate | MethodDTDataCreate | MethodPZDataCreate | - MethodRCDDataCreate | MethodRPDataCreate | MethodSRSDataCreate | MethodSSDataCreate | - MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate | MethodWSTDataCreate): + MethodRCDDataCreate | MethodRPDataCreate | MethodSLBDataCreate | MethodSRSDataCreate | + MethodSSDataCreate | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | + MethodTRDataCreate | MethodWSTDataCreate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] + Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] """ kwargs = _get_kwargs( @@ -468,8 +519,10 @@ async def asyncio( | MethodPZDataCreate | MethodRCDDataCreate | MethodRPDataCreate + | MethodSLBDataCreate | MethodSRSDataCreate | MethodSSDataCreate + | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate @@ -482,8 +535,10 @@ async def asyncio( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -499,15 +554,16 @@ async def asyncio( location_id (UUID): method_id (UUID): body (MethodCPTDataCreate | MethodDPDataCreate | MethodDTDataCreate | MethodPZDataCreate | - MethodRCDDataCreate | MethodRPDataCreate | MethodSRSDataCreate | MethodSSDataCreate | - MethodSVTDataCreate | MethodTOTDataCreate | MethodTRDataCreate | MethodWSTDataCreate): + MethodRCDDataCreate | MethodRPDataCreate | MethodSLBDataCreate | MethodSRSDataCreate | + MethodSSDataCreate | MethodSTIDataCreate | MethodSVTDataCreate | MethodTOTDataCreate | + MethodTRDataCreate | MethodWSTDataCreate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData + HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData """ return ( diff --git a/field-manager-python-client/field_manager_python_client/api/methods/delete_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_delete.py b/field-manager-python-client/field_manager_python_client/api/methods/delete_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_delete.py index 43a2527..75cfab1 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/delete_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/delete_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -18,7 +19,12 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/data/{method_data_id}", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/data/{method_data_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + method_data_id=quote(str(method_data_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/methods/delete_file_projects_project_id_locations_location_id_methods_method_id_files_file_id_delete.py b/field-manager-python-client/field_manager_python_client/api/methods/delete_file_projects_project_id_locations_location_id_methods_method_id_files_file_id_delete.py index 229c662..84bb702 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/delete_file_projects_project_id_locations_location_id_methods_method_id_files_file_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/delete_file_projects_project_id_locations_location_id_methods_method_id_files_file_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -18,7 +19,12 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/files/{file_id}", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/files/{file_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/methods/delete_method_for_location_projects_project_id_locations_location_id_methods_method_id_delete.py b/field-manager-python-client/field_manager_python_client/api/methods/delete_method_for_location_projects_project_id_locations_location_id_methods_method_id_delete.py index d5bfece..2c5b07d 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/delete_method_for_location_projects_project_id_locations_location_id_methods_method_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/delete_method_for_location_projects_project_id_locations_location_id_methods_method_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/methods/export_projects_project_id_locations_location_id_methods_method_id_export_get.py b/field-manager-python-client/field_manager_python_client/api/methods/export_projects_project_id_locations_location_id_methods_method_id_export_get.py index 93d53d2..14cf72e 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/export_projects_project_id_locations_location_id_methods_method_id_export_get.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/export_projects_project_id_locations_location_id_methods_method_id_export_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -30,7 +31,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/export", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/export".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/methods/get_files_for_method_projects_project_id_locations_location_id_methods_method_id_files_get.py b/field-manager-python-client/field_manager_python_client/api/methods/get_files_for_method_projects_project_id_locations_location_id_methods_method_id_files_get.py index b2a166d..fc663f1 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/get_files_for_method_projects_project_id_locations_location_id_methods_method_id_files_get.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/get_files_for_method_projects_project_id_locations_location_id_methods_method_id_files_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -34,7 +35,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/files", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/files".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/methods/get_method_projects_project_id_locations_location_id_methods_method_id_get.py b/field-manager-python-client/field_manager_python_client/api/methods/get_method_projects_project_id_locations_location_id_methods_method_id_get.py index 8f7cae5..b5d2a30 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/get_method_projects_project_id_locations_location_id_methods_method_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/get_method_projects_project_id_locations_location_id_methods_method_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -45,7 +46,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/methods/get_methods_data_projects_project_id_locations_location_id_methods_method_id_data_get.py b/field-manager-python-client/field_manager_python_client/api/methods/get_methods_data_projects_project_id_locations_location_id_methods_method_id_data_get.py index fa5377b..65f9046 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/get_methods_data_projects_project_id_locations_location_id_methods_method_id_data_get.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/get_methods_data_projects_project_id_locations_location_id_methods_method_id_data_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -13,8 +14,10 @@ from ...models.method_pz_data import MethodPZData from ...models.method_rcd_data import MethodRCDData from ...models.method_rp_data import MethodRPData +from ...models.method_slb_data import MethodSLBData from ...models.method_srs_data import MethodSRSData from ...models.method_ss_data import MethodSSData +from ...models.method_sti_data import MethodSTIData from ...models.method_svt_data import MethodSVTData from ...models.method_tot_data import MethodTOTData from ...models.method_tr_data import MethodTRData @@ -29,7 +32,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/data", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/data".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), } return _kwargs @@ -46,8 +53,10 @@ def _parse_response( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -69,8 +78,10 @@ def _parse_response_200_item( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -127,7 +138,7 @@ def _parse_response_200_item( try: if not isinstance(data, dict): raise TypeError() - response_200_item_type_6 = MethodSSData.from_dict(data) + response_200_item_type_6 = MethodSLBData.from_dict(data) return response_200_item_type_6 except (TypeError, ValueError, AttributeError, KeyError): @@ -135,7 +146,7 @@ def _parse_response_200_item( try: if not isinstance(data, dict): raise TypeError() - response_200_item_type_7 = MethodSRSData.from_dict(data) + response_200_item_type_7 = MethodSSData.from_dict(data) return response_200_item_type_7 except (TypeError, ValueError, AttributeError, KeyError): @@ -143,7 +154,7 @@ def _parse_response_200_item( try: if not isinstance(data, dict): raise TypeError() - response_200_item_type_8 = MethodSVTData.from_dict(data) + response_200_item_type_8 = MethodSTIData.from_dict(data) return response_200_item_type_8 except (TypeError, ValueError, AttributeError, KeyError): @@ -151,7 +162,7 @@ def _parse_response_200_item( try: if not isinstance(data, dict): raise TypeError() - response_200_item_type_9 = MethodTOTData.from_dict(data) + response_200_item_type_9 = MethodSRSData.from_dict(data) return response_200_item_type_9 except (TypeError, ValueError, AttributeError, KeyError): @@ -159,16 +170,32 @@ def _parse_response_200_item( try: if not isinstance(data, dict): raise TypeError() - response_200_item_type_10 = MethodTRData.from_dict(data) + response_200_item_type_10 = MethodSVTData.from_dict(data) return response_200_item_type_10 except (TypeError, ValueError, AttributeError, KeyError): pass + try: + if not isinstance(data, dict): + raise TypeError() + response_200_item_type_11 = MethodTOTData.from_dict(data) + + return response_200_item_type_11 + except (TypeError, ValueError, AttributeError, KeyError): + pass + try: + if not isinstance(data, dict): + raise TypeError() + response_200_item_type_12 = MethodTRData.from_dict(data) + + return response_200_item_type_12 + except (TypeError, ValueError, AttributeError, KeyError): + pass if not isinstance(data, dict): raise TypeError() - response_200_item_type_11 = MethodWSTData.from_dict(data) + response_200_item_type_13 = MethodWSTData.from_dict(data) - return response_200_item_type_11 + return response_200_item_type_13 response_200_item = _parse_response_200_item(response_200_item_data) @@ -198,8 +225,10 @@ def _build_response( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -229,8 +258,10 @@ def sync_detailed( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -251,7 +282,7 @@ def sync_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData]] + Response[HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData]] """ kwargs = _get_kwargs( @@ -282,8 +313,10 @@ def sync( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -305,7 +338,7 @@ def sync( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] + HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] """ return sync_detailed( @@ -331,8 +364,10 @@ async def asyncio_detailed( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -353,7 +388,7 @@ async def asyncio_detailed( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData]] + Response[HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData]] """ kwargs = _get_kwargs( @@ -382,8 +417,10 @@ async def asyncio( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -405,7 +442,7 @@ async def asyncio( httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] + HTTPValidationError | list[MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] """ return ( diff --git a/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_of_type_projects_project_id_locations_location_id_methods_type_method_type_name_get.py b/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_of_type_projects_project_id_locations_location_id_methods_type_method_type_name_get.py index a94fd91..eddc45f 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_of_type_projects_project_id_locations_location_id_methods_type_method_type_name_get.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_of_type_projects_project_id_locations_location_id_methods_type_method_type_name_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -57,7 +58,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/methods/type/{method_type_name}", + "url": "/projects/{project_id}/locations/{location_id}/methods/type/{method_type_name}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_type_name=quote(str(method_type_name), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_projects_project_id_locations_location_id_methods_get.py b/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_projects_project_id_locations_location_id_methods_get.py index 419f3fc..711875b 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_projects_project_id_locations_location_id_methods_get.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/get_methods_for_location_projects_project_id_locations_location_id_methods_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -55,7 +56,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/locations/{location_id}/methods", + "url": "/projects/{project_id}/locations/{location_id}/methods".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/methods/update_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_put.py b/field-manager-python-client/field_manager_python_client/api/methods/update_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_put.py index 9d50b42..620dbb3 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/update_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/update_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -18,10 +19,14 @@ from ...models.method_rcd_data_update import MethodRCDDataUpdate from ...models.method_rp_data import MethodRPData from ...models.method_rp_data_update import MethodRPDataUpdate +from ...models.method_slb_data import MethodSLBData +from ...models.method_slb_data_update import MethodSLBDataUpdate from ...models.method_srs_data import MethodSRSData from ...models.method_srs_data_update import MethodSRSDataUpdate from ...models.method_ss_data import MethodSSData from ...models.method_ss_data_update import MethodSSDataUpdate +from ...models.method_sti_data import MethodSTIData +from ...models.method_sti_data_update import MethodSTIDataUpdate from ...models.method_svt_data import MethodSVTData from ...models.method_svt_data_update import MethodSVTDataUpdate from ...models.method_tot_data import MethodTOTData @@ -44,8 +49,10 @@ def _get_kwargs( | MethodPZDataUpdate | MethodRCDDataUpdate | MethodRPDataUpdate + | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate + | MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate @@ -55,10 +62,14 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/data/{method_data_id}", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/data/{method_data_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + method_data_id=quote(str(method_data_id), safe=""), + ), } - _kwargs["json"]: dict[str, Any] if isinstance(body, MethodCPTDataUpdate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodDTDataUpdate): @@ -69,10 +80,14 @@ def _get_kwargs( _kwargs["json"] = body.to_dict() elif isinstance(body, MethodRPDataUpdate): _kwargs["json"] = body.to_dict() + elif isinstance(body, MethodSLBDataUpdate): + _kwargs["json"] = body.to_dict() elif isinstance(body, MethodSRSDataUpdate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodSSDataUpdate): _kwargs["json"] = body.to_dict() + elif isinstance(body, MethodSTIDataUpdate): + _kwargs["json"] = body.to_dict() elif isinstance(body, MethodSVTDataUpdate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodTOTDataUpdate): @@ -98,8 +113,10 @@ def _parse_response( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -117,8 +134,10 @@ def _parse_response_200( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -175,7 +194,7 @@ def _parse_response_200( try: if not isinstance(data, dict): raise TypeError() - response_200_type_6 = MethodSSData.from_dict(data) + response_200_type_6 = MethodSLBData.from_dict(data) return response_200_type_6 except (TypeError, ValueError, AttributeError, KeyError): @@ -183,7 +202,7 @@ def _parse_response_200( try: if not isinstance(data, dict): raise TypeError() - response_200_type_7 = MethodSRSData.from_dict(data) + response_200_type_7 = MethodSSData.from_dict(data) return response_200_type_7 except (TypeError, ValueError, AttributeError, KeyError): @@ -191,7 +210,7 @@ def _parse_response_200( try: if not isinstance(data, dict): raise TypeError() - response_200_type_8 = MethodSVTData.from_dict(data) + response_200_type_8 = MethodSTIData.from_dict(data) return response_200_type_8 except (TypeError, ValueError, AttributeError, KeyError): @@ -199,7 +218,7 @@ def _parse_response_200( try: if not isinstance(data, dict): raise TypeError() - response_200_type_9 = MethodTOTData.from_dict(data) + response_200_type_9 = MethodSRSData.from_dict(data) return response_200_type_9 except (TypeError, ValueError, AttributeError, KeyError): @@ -207,16 +226,32 @@ def _parse_response_200( try: if not isinstance(data, dict): raise TypeError() - response_200_type_10 = MethodTRData.from_dict(data) + response_200_type_10 = MethodSVTData.from_dict(data) return response_200_type_10 except (TypeError, ValueError, AttributeError, KeyError): pass + try: + if not isinstance(data, dict): + raise TypeError() + response_200_type_11 = MethodTOTData.from_dict(data) + + return response_200_type_11 + except (TypeError, ValueError, AttributeError, KeyError): + pass + try: + if not isinstance(data, dict): + raise TypeError() + response_200_type_12 = MethodTRData.from_dict(data) + + return response_200_type_12 + except (TypeError, ValueError, AttributeError, KeyError): + pass if not isinstance(data, dict): raise TypeError() - response_200_type_11 = MethodWSTData.from_dict(data) + response_200_type_13 = MethodWSTData.from_dict(data) - return response_200_type_11 + return response_200_type_13 response_200 = _parse_response_200(response.json()) @@ -243,8 +278,10 @@ def _build_response( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -270,8 +307,10 @@ def sync_detailed( | MethodPZDataUpdate | MethodRCDDataUpdate | MethodRPDataUpdate + | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate + | MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate @@ -284,8 +323,10 @@ def sync_detailed( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -301,15 +342,16 @@ def sync_detailed( method_id (UUID): method_data_id (UUID): body (MethodCPTDataUpdate | MethodDTDataUpdate | MethodPZDataUpdate | MethodRCDDataUpdate - | MethodRPDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | MethodSVTDataUpdate | - MethodTOTDataUpdate | MethodTRDataUpdate | MethodWSTDataUpdate): + | MethodRPDataUpdate | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | + MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate | + MethodWSTDataUpdate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] + Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] """ kwargs = _get_kwargs( @@ -339,8 +381,10 @@ def sync( | MethodPZDataUpdate | MethodRCDDataUpdate | MethodRPDataUpdate + | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate + | MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate @@ -353,8 +397,10 @@ def sync( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -371,15 +417,16 @@ def sync( method_id (UUID): method_data_id (UUID): body (MethodCPTDataUpdate | MethodDTDataUpdate | MethodPZDataUpdate | MethodRCDDataUpdate - | MethodRPDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | MethodSVTDataUpdate | - MethodTOTDataUpdate | MethodTRDataUpdate | MethodWSTDataUpdate): + | MethodRPDataUpdate | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | + MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate | + MethodWSTDataUpdate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData + HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData """ return sync_detailed( @@ -404,8 +451,10 @@ async def asyncio_detailed( | MethodPZDataUpdate | MethodRCDDataUpdate | MethodRPDataUpdate + | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate + | MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate @@ -418,8 +467,10 @@ async def asyncio_detailed( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -435,15 +486,16 @@ async def asyncio_detailed( method_id (UUID): method_data_id (UUID): body (MethodCPTDataUpdate | MethodDTDataUpdate | MethodPZDataUpdate | MethodRCDDataUpdate - | MethodRPDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | MethodSVTDataUpdate | - MethodTOTDataUpdate | MethodTRDataUpdate | MethodWSTDataUpdate): + | MethodRPDataUpdate | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | + MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate | + MethodWSTDataUpdate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] + Response[HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData] """ kwargs = _get_kwargs( @@ -471,8 +523,10 @@ async def asyncio( | MethodPZDataUpdate | MethodRCDDataUpdate | MethodRPDataUpdate + | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate + | MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate @@ -485,8 +539,10 @@ async def asyncio( | MethodPZData | MethodRCDData | MethodRPData + | MethodSLBData | MethodSRSData | MethodSSData + | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData @@ -503,15 +559,16 @@ async def asyncio( method_id (UUID): method_data_id (UUID): body (MethodCPTDataUpdate | MethodDTDataUpdate | MethodPZDataUpdate | MethodRCDDataUpdate - | MethodRPDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | MethodSVTDataUpdate | - MethodTOTDataUpdate | MethodTRDataUpdate | MethodWSTDataUpdate): + | MethodRPDataUpdate | MethodSLBDataUpdate | MethodSRSDataUpdate | MethodSSDataUpdate | + MethodSTIDataUpdate | MethodSVTDataUpdate | MethodTOTDataUpdate | MethodTRDataUpdate | + MethodWSTDataUpdate): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSRSData | MethodSSData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData + HTTPValidationError | MethodCPTData | MethodDPData | MethodDTData | MethodPZData | MethodRCDData | MethodRPData | MethodSLBData | MethodSRSData | MethodSSData | MethodSTIData | MethodSVTData | MethodTOTData | MethodTRData | MethodWSTData """ return ( diff --git a/field-manager-python-client/field_manager_python_client/api/methods/update_method_for_location_projects_project_id_locations_location_id_methods_method_id_put.py b/field-manager-python-client/field_manager_python_client/api/methods/update_method_for_location_projects_project_id_locations_location_id_methods_method_id_put.py index 1ec20ce..3d4bb1c 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/update_method_for_location_projects_project_id_locations_location_id_methods_method_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/update_method_for_location_projects_project_id_locations_location_id_methods_method_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -104,10 +105,13 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), } - _kwargs["json"]: dict[str, Any] if isinstance(body, MethodCPTUpdate): _kwargs["json"] = body.to_dict() elif isinstance(body, MethodTOTUpdate): diff --git a/field-manager-python-client/field_manager_python_client/api/methods/upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py b/field-manager-python-client/field_manager_python_client/api/methods/upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py index 5a64a0d..9b9e698 100644 --- a/field-manager-python-client/field_manager_python_client/api/methods/upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py +++ b/field-manager-python-client/field_manager_python_client/api/methods/upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -52,7 +53,11 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/upload", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/upload".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + ), } _kwargs["files"] = body.to_multipart() diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/create_web_map_service_organization_organizations_organization_id_web_map_services_post.py b/field-manager-python-client/field_manager_python_client/api/organizations/create_web_map_service_organization_organizations_organization_id_web_map_services_post.py index 4b7d3e3..48f938b 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/create_web_map_service_organization_organizations_organization_id_web_map_services_post.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/create_web_map_service_organization_organizations_organization_id_web_map_services_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/organizations/{organization_id}/web_map_services", + "url": "/organizations/{organization_id}/web_map_services".format( + organization_id=quote(str(organization_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/delete_file_organizations_organization_id_files_file_id_delete.py b/field-manager-python-client/field_manager_python_client/api/organizations/delete_file_organizations_organization_id_files_file_id_delete.py index 9f23c64..d5f6054 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/delete_file_organizations_organization_id_files_file_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/delete_file_organizations_organization_id_files_file_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/organizations/{organization_id}/files/{file_id}", + "url": "/organizations/{organization_id}/files/{file_id}".format( + organization_id=quote(str(organization_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/delete_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_delete.py b/field-manager-python-client/field_manager_python_client/api/organizations/delete_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_delete.py index d25517b..c1d59d3 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/delete_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/delete_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/organizations/{organization_id}/web_map_services/{web_map_service_id}", + "url": "/organizations/{organization_id}/web_map_services/{web_map_service_id}".format( + organization_id=quote(str(organization_id), safe=""), + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/download_file_organizations_organization_id_files_file_id_download_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/download_file_organizations_organization_id_files_file_id_download_get.py index 4123d11..67cf412 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/download_file_organizations_organization_id_files_file_id_download_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/download_file_organizations_organization_id_files_file_id_download_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -29,7 +30,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/{organization_id}/files/{file_id}/download", + "url": "/organizations/{organization_id}/files/{file_id}/download".format( + organization_id=quote(str(organization_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_files_in_organization_organizations_organization_id_files_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_files_in_organization_organizations_organization_id_files_get.py index 29681b9..d31f8f8 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_files_in_organization_organizations_organization_id_files_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_files_in_organization_organizations_organization_id_files_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -31,7 +32,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/{organization_id}/files", + "url": "/organizations/{organization_id}/files".format( + organization_id=quote(str(organization_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_by_external_id_organizations_get_by_external_id_external_id_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_by_external_id_organizations_get_by_external_id_external_id_get.py index 3a110fd..4ba98b1 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_by_external_id_organizations_get_by_external_id_external_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_by_external_id_organizations_get_by_external_id_external_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/get_by_external_id/{external_id}", + "url": "/organizations/get_by_external_id/{external_id}".format( + external_id=quote(str(external_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_organizations_organization_id_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_organizations_organization_id_get.py index 7bca5f8..072d16b 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_organizations_organization_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_organizations_organization_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/{organization_id}", + "url": "/organizations/{organization_id}".format( + organization_id=quote(str(organization_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_projects_organizations_organization_id_projects_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_projects_organizations_organization_id_projects_get.py index d73b363..80c012d 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_projects_organizations_organization_id_projects_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_projects_organizations_organization_id_projects_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -26,7 +27,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/{organization_id}/projects", + "url": "/organizations/{organization_id}/projects".format( + organization_id=quote(str(organization_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_users_organizations_organization_id_users_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_users_organizations_organization_id_users_get.py index c887243..b4c3b57 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_users_organizations_organization_id_users_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_users_organizations_organization_id_users_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/{organization_id}/users", + "url": "/organizations/{organization_id}/users".format( + organization_id=quote(str(organization_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_service_organizations_organization_id_web_map_services_web_map_service_id_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_service_organizations_organization_id_web_map_services_web_map_service_id_get.py index 30b6369..404e376 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_service_organizations_organization_id_web_map_services_web_map_service_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_service_organizations_organization_id_web_map_services_web_map_service_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/{organization_id}/web_map_services/{web_map_service_id}", + "url": "/organizations/{organization_id}/web_map_services/{web_map_service_id}".format( + organization_id=quote(str(organization_id), safe=""), + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_services_organizations_organization_id_web_map_services_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_services_organizations_organization_id_web_map_services_get.py index b7e110d..af5eaed 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_services_organizations_organization_id_web_map_services_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_organization_web_map_services_organizations_organization_id_web_map_services_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/organizations/{organization_id}/web_map_services", + "url": "/organizations/{organization_id}/web_map_services".format( + organization_id=quote(str(organization_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/get_organizations_organizations_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/get_organizations_organizations_get.py index 6b81644..f311342 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/get_organizations_organizations_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/get_organizations_organizations_get.py @@ -77,6 +77,10 @@ def sync_detailed( Retrieve the organizations you have access to. + Admin users will get all organizations, else: + If the user has a project role in a organization, the organization will be included. + If the user has an organization role, the organization will be included. + Args: skip (int | Unset): Default: 0. limit (int | Unset): Default: 100. @@ -111,6 +115,10 @@ def sync( Retrieve the organizations you have access to. + Admin users will get all organizations, else: + If the user has a project role in a organization, the organization will be included. + If the user has an organization role, the organization will be included. + Args: skip (int | Unset): Default: 0. limit (int | Unset): Default: 100. @@ -140,6 +148,10 @@ async def asyncio_detailed( Retrieve the organizations you have access to. + Admin users will get all organizations, else: + If the user has a project role in a organization, the organization will be included. + If the user has an organization role, the organization will be included. + Args: skip (int | Unset): Default: 0. limit (int | Unset): Default: 100. @@ -172,6 +184,10 @@ async def asyncio( Retrieve the organizations you have access to. + Admin users will get all organizations, else: + If the user has a project role in a organization, the organization will be included. + If the user has an organization role, the organization will be included. + Args: skip (int | Unset): Default: 0. limit (int | Unset): Default: 100. diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/move_organization_project_organizations_organization_id_projects_project_id_move_post.py b/field-manager-python-client/field_manager_python_client/api/organizations/move_organization_project_organizations_organization_id_projects_project_id_move_post.py index b3215bf..c0f837e 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/move_organization_project_organizations_organization_id_projects_project_id_move_post.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/move_organization_project_organizations_organization_id_projects_project_id_move_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -25,7 +26,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/organizations/{organization_id}/projects/{project_id}/move", + "url": "/organizations/{organization_id}/projects/{project_id}/move".format( + organization_id=quote(str(organization_id), safe=""), + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/read_web_map_services_project_projects_project_id_web_map_services_get.py b/field-manager-python-client/field_manager_python_client/api/organizations/read_web_map_services_project_projects_project_id_web_map_services_get.py index 6b70aaf..9ce3772 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/read_web_map_services_project_projects_project_id_web_map_services_get.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/read_web_map_services_project_projects_project_id_web_map_services_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -31,7 +32,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/web_map_services", + "url": "/projects/{project_id}/web_map_services".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/update_organization_organizations_organization_id_put.py b/field-manager-python-client/field_manager_python_client/api/organizations/update_organization_organizations_organization_id_put.py index 138d8d2..819645a 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/update_organization_organizations_organization_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/update_organization_organizations_organization_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/organizations/{organization_id}", + "url": "/organizations/{organization_id}".format( + organization_id=quote(str(organization_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/update_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_put.py b/field-manager-python-client/field_manager_python_client/api/organizations/update_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_put.py index 08495d6..c9f57f1 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/update_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/update_web_map_service_organization_organizations_organization_id_web_map_services_web_map_service_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/organizations/{organization_id}/web_map_services/{web_map_service_id}", + "url": "/organizations/{organization_id}/web_map_services/{web_map_service_id}".format( + organization_id=quote(str(organization_id), safe=""), + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/organizations/upload_file_to_organization_organizations_organization_id_upload_post.py b/field-manager-python-client/field_manager_python_client/api/organizations/upload_file_to_organization_organizations_organization_id_upload_post.py index cb41119..7f396fb 100644 --- a/field-manager-python-client/field_manager_python_client/api/organizations/upload_file_to_organization_organizations_organization_id_upload_post.py +++ b/field-manager-python-client/field_manager_python_client/api/organizations/upload_file_to_organization_organizations_organization_id_upload_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -22,7 +23,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/organizations/{organization_id}/upload", + "url": "/organizations/{organization_id}/upload".format( + organization_id=quote(str(organization_id), safe=""), + ), } _kwargs["files"] = body.to_multipart() diff --git a/field-manager-python-client/field_manager_python_client/api/piezometers/create_piezometer_model_projects_project_id_piezometers_models_post.py b/field-manager-python-client/field_manager_python_client/api/piezometers/create_piezometer_model_projects_project_id_piezometers_models_post.py index a7361e7..f55f230 100644 --- a/field-manager-python-client/field_manager_python_client/api/piezometers/create_piezometer_model_projects_project_id_piezometers_models_post.py +++ b/field-manager-python-client/field_manager_python_client/api/piezometers/create_piezometer_model_projects_project_id_piezometers_models_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/piezometers/models", + "url": "/projects/{project_id}/piezometers/models".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_model_projects_project_id_piezometers_models_model_id_get.py b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_model_projects_project_id_piezometers_models_model_id_get.py index cdafbdc..1370066 100644 --- a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_model_projects_project_id_piezometers_models_model_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_model_projects_project_id_piezometers_models_model_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/piezometers/models/{model_id}", + "url": "/projects/{project_id}/piezometers/models/{model_id}".format( + project_id=quote(str(project_id), safe=""), + model_id=quote(str(model_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_models_projects_project_id_piezometers_models_get.py b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_models_projects_project_id_piezometers_models_get.py index cfe744d..3534185 100644 --- a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_models_projects_project_id_piezometers_models_get.py +++ b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_models_projects_project_id_piezometers_models_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/piezometers/models", + "url": "/projects/{project_id}/piezometers/models".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendor_projects_project_id_piezometers_vendors_vendor_id_get.py b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendor_projects_project_id_piezometers_vendors_vendor_id_get.py index 6b6f34f..58fcd90 100644 --- a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendor_projects_project_id_piezometers_vendors_vendor_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendor_projects_project_id_piezometers_vendors_vendor_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/piezometers/vendors/{vendor_id}", + "url": "/projects/{project_id}/piezometers/vendors/{vendor_id}".format( + project_id=quote(str(project_id), safe=""), + vendor_id=quote(str(vendor_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendors_projects_project_id_piezometers_vendors_get.py b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendors_projects_project_id_piezometers_vendors_get.py index c122918..8cdf1a9 100644 --- a/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendors_projects_project_id_piezometers_vendors_get.py +++ b/field-manager-python-client/field_manager_python_client/api/piezometers/get_piezometer_vendors_projects_project_id_piezometers_vendors_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/piezometers/vendors", + "url": "/projects/{project_id}/piezometers/vendors".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/piezometers/update_piezometer_model_projects_project_id_piezometers_models_model_id_put.py b/field-manager-python-client/field_manager_python_client/api/piezometers/update_piezometer_model_projects_project_id_piezometers_models_model_id_put.py index 5f74e0a..042bebd 100644 --- a/field-manager-python-client/field_manager_python_client/api/piezometers/update_piezometer_model_projects_project_id_piezometers_models_model_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/piezometers/update_piezometer_model_projects_project_id_piezometers_models_model_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/piezometers/models/{model_id}", + "url": "/projects/{project_id}/piezometers/models/{model_id}".format( + project_id=quote(str(project_id), safe=""), + model_id=quote(str(model_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/plots/get_plot_from_sequence_plots_project_project_id_format_post.py b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_from_sequence_plots_project_project_id_format_post.py index a757f4b..4d62525 100644 --- a/field-manager-python-client/field_manager_python_client/api/plots/get_plot_from_sequence_plots_project_project_id_format_post.py +++ b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_from_sequence_plots_project_project_id_format_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -21,7 +22,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/plots/project/{project_id}/{format_}", + "url": "/plots/project/{project_id}/{format_}".format( + project_id=quote(str(project_id), safe=""), + format_=quote(str(format_), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/plots/get_plot_preview_for_location_project_project_id_locations_location_id_plots_svg_post.py b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_preview_for_location_project_project_id_locations_location_id_plots_svg_post.py new file mode 100644 index 0000000..df1f7b3 --- /dev/null +++ b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_preview_for_location_project_project_id_locations_location_id_plots_svg_post.py @@ -0,0 +1,173 @@ +from http import HTTPStatus +from typing import Any +from urllib.parse import quote +from uuid import UUID + +import httpx + +from ... import errors +from ...client import AuthenticatedClient, Client +from ...models.http_validation_error import HTTPValidationError +from ...types import Response + + +def _get_kwargs( + project_id: str, + location_id: UUID, +) -> dict[str, Any]: + _kwargs: dict[str, Any] = { + "method": "post", + "url": "/project/{project_id}/locations/{location_id}/plots/svg".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + ), + } + + return _kwargs + + +def _parse_response( + *, client: AuthenticatedClient | Client, response: httpx.Response +) -> Any | HTTPValidationError | None: + if response.status_code == 200: + response_200 = response.json() + return response_200 + + if response.status_code == 422: + response_422 = HTTPValidationError.from_dict(response.json()) + + return response_422 + + if client.raise_on_unexpected_status: + raise errors.UnexpectedStatus(response.status_code, response.content) + else: + return None + + +def _build_response( + *, client: AuthenticatedClient | Client, response: httpx.Response +) -> Response[Any | HTTPValidationError]: + return Response( + status_code=HTTPStatus(response.status_code), + content=response.content, + headers=response.headers, + parsed=_parse_response(client=client, response=response), + ) + + +def sync_detailed( + project_id: str, + location_id: UUID, + *, + client: AuthenticatedClient, +) -> Response[Any | HTTPValidationError]: + """Get Plot Preview For Location + + Args: + project_id (str): + location_id (UUID): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Any | HTTPValidationError] + """ + + kwargs = _get_kwargs( + project_id=project_id, + location_id=location_id, + ) + + response = client.get_httpx_client().request( + **kwargs, + ) + + return _build_response(client=client, response=response) + + +def sync( + project_id: str, + location_id: UUID, + *, + client: AuthenticatedClient, +) -> Any | HTTPValidationError | None: + """Get Plot Preview For Location + + Args: + project_id (str): + location_id (UUID): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Any | HTTPValidationError + """ + + return sync_detailed( + project_id=project_id, + location_id=location_id, + client=client, + ).parsed + + +async def asyncio_detailed( + project_id: str, + location_id: UUID, + *, + client: AuthenticatedClient, +) -> Response[Any | HTTPValidationError]: + """Get Plot Preview For Location + + Args: + project_id (str): + location_id (UUID): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Response[Any | HTTPValidationError] + """ + + kwargs = _get_kwargs( + project_id=project_id, + location_id=location_id, + ) + + response = await client.get_async_httpx_client().request(**kwargs) + + return _build_response(client=client, response=response) + + +async def asyncio( + project_id: str, + location_id: UUID, + *, + client: AuthenticatedClient, +) -> Any | HTTPValidationError | None: + """Get Plot Preview For Location + + Args: + project_id (str): + location_id (UUID): + + Raises: + errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. + httpx.TimeoutException: If the request takes longer than Client.timeout. + + Returns: + Any | HTTPValidationError + """ + + return ( + await asyncio_detailed( + project_id=project_id, + location_id=location_id, + client=client, + ) + ).parsed diff --git a/field-manager-python-client/field_manager_python_client/api/plots/get_plot_projects_project_id_locations_location_id_methods_method_id_plots_format_post.py b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_projects_project_id_locations_location_id_methods_method_id_plots_format_post.py index b2d8fdc..0ab1d08 100644 --- a/field-manager-python-client/field_manager_python_client/api/plots/get_plot_projects_project_id_locations_location_id_methods_method_id_plots_format_post.py +++ b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_projects_project_id_locations_location_id_methods_method_id_plots_format_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -8,7 +9,7 @@ from ...client import AuthenticatedClient, Client from ...models.http_validation_error import HTTPValidationError from ...models.method_plot_format import MethodPlotFormat -from ...types import Response +from ...types import UNSET, Response, Unset def _get_kwargs( @@ -16,10 +17,27 @@ def _get_kwargs( location_id: UUID, method_id: UUID, format_: MethodPlotFormat, + *, + cross_section: bool | Unset = False, + show_depth: bool | Unset = False, ) -> dict[str, Any]: + params: dict[str, Any] = {} + + params["cross_section"] = cross_section + + params["show_depth"] = show_depth + + params = {k: v for k, v in params.items() if v is not UNSET and v is not None} + _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/plots/{format_}", + "url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/plots/{format_}".format( + project_id=quote(str(project_id), safe=""), + location_id=quote(str(location_id), safe=""), + method_id=quote(str(method_id), safe=""), + format_=quote(str(format_), safe=""), + ), + "params": params, } return _kwargs @@ -61,6 +79,8 @@ def sync_detailed( format_: MethodPlotFormat, *, client: AuthenticatedClient, + cross_section: bool | Unset = False, + show_depth: bool | Unset = False, ) -> Response[Any | HTTPValidationError]: """Get Plot @@ -71,6 +91,8 @@ def sync_detailed( location_id (UUID): method_id (UUID): format_ (MethodPlotFormat): + cross_section (bool | Unset): Default: False. + show_depth (bool | Unset): Default: False. Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -85,6 +107,8 @@ def sync_detailed( location_id=location_id, method_id=method_id, format_=format_, + cross_section=cross_section, + show_depth=show_depth, ) response = client.get_httpx_client().request( @@ -101,6 +125,8 @@ def sync( format_: MethodPlotFormat, *, client: AuthenticatedClient, + cross_section: bool | Unset = False, + show_depth: bool | Unset = False, ) -> Any | HTTPValidationError | None: """Get Plot @@ -111,6 +137,8 @@ def sync( location_id (UUID): method_id (UUID): format_ (MethodPlotFormat): + cross_section (bool | Unset): Default: False. + show_depth (bool | Unset): Default: False. Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,6 +154,8 @@ def sync( method_id=method_id, format_=format_, client=client, + cross_section=cross_section, + show_depth=show_depth, ).parsed @@ -136,6 +166,8 @@ async def asyncio_detailed( format_: MethodPlotFormat, *, client: AuthenticatedClient, + cross_section: bool | Unset = False, + show_depth: bool | Unset = False, ) -> Response[Any | HTTPValidationError]: """Get Plot @@ -146,6 +178,8 @@ async def asyncio_detailed( location_id (UUID): method_id (UUID): format_ (MethodPlotFormat): + cross_section (bool | Unset): Default: False. + show_depth (bool | Unset): Default: False. Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -160,6 +194,8 @@ async def asyncio_detailed( location_id=location_id, method_id=method_id, format_=format_, + cross_section=cross_section, + show_depth=show_depth, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -174,6 +210,8 @@ async def asyncio( format_: MethodPlotFormat, *, client: AuthenticatedClient, + cross_section: bool | Unset = False, + show_depth: bool | Unset = False, ) -> Any | HTTPValidationError | None: """Get Plot @@ -184,6 +222,8 @@ async def asyncio( location_id (UUID): method_id (UUID): format_ (MethodPlotFormat): + cross_section (bool | Unset): Default: False. + show_depth (bool | Unset): Default: False. Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -200,5 +240,7 @@ async def asyncio( method_id=method_id, format_=format_, client=client, + cross_section=cross_section, + show_depth=show_depth, ) ).parsed diff --git a/field-manager-python-client/field_manager_python_client/api/plots/get_plot_sequence_plots_project_project_id_plot_sequence_format_post.py b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_sequence_plots_project_project_id_plot_sequence_format_post.py index bea07a8..75b6c03 100644 --- a/field-manager-python-client/field_manager_python_client/api/plots/get_plot_sequence_plots_project_project_id_plot_sequence_format_post.py +++ b/field-manager-python-client/field_manager_python_client/api/plots/get_plot_sequence_plots_project_project_id_plot_sequence_format_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -8,23 +9,25 @@ from ...models.http_validation_error import HTTPValidationError from ...models.options import Options from ...models.plot_format import PlotFormat -from ...types import Response +from ...types import UNSET, Response, Unset def _get_kwargs( project_id: str, format_: PlotFormat, *, - body: None | Options, + body: None | Options | Unset = UNSET, ) -> dict[str, Any]: headers: dict[str, Any] = {} _kwargs: dict[str, Any] = { "method": "post", - "url": f"/plots/project/{project_id}/plot_sequence/{format_}", + "url": "/plots/project/{project_id}/plot_sequence/{format_}".format( + project_id=quote(str(project_id), safe=""), + format_=quote(str(format_), safe=""), + ), } - _kwargs["json"]: dict[str, Any] | None if isinstance(body, Options): _kwargs["json"] = body.to_dict() else: @@ -62,7 +65,7 @@ def sync_detailed( format_: PlotFormat, *, client: AuthenticatedClient, - body: None | Options, + body: None | Options | Unset = UNSET, ) -> Response[HTTPValidationError]: """Get Plot Sequence @@ -71,7 +74,7 @@ def sync_detailed( Args: project_id (str): format_ (PlotFormat): - body (None | Options): + body (None | Options | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -99,7 +102,7 @@ def sync( format_: PlotFormat, *, client: AuthenticatedClient, - body: None | Options, + body: None | Options | Unset = UNSET, ) -> HTTPValidationError | None: """Get Plot Sequence @@ -108,7 +111,7 @@ def sync( Args: project_id (str): format_ (PlotFormat): - body (None | Options): + body (None | Options | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -131,7 +134,7 @@ async def asyncio_detailed( format_: PlotFormat, *, client: AuthenticatedClient, - body: None | Options, + body: None | Options | Unset = UNSET, ) -> Response[HTTPValidationError]: """Get Plot Sequence @@ -140,7 +143,7 @@ async def asyncio_detailed( Args: project_id (str): format_ (PlotFormat): - body (None | Options): + body (None | Options | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -166,7 +169,7 @@ async def asyncio( format_: PlotFormat, *, client: AuthenticatedClient, - body: None | Options, + body: None | Options | Unset = UNSET, ) -> HTTPValidationError | None: """Get Plot Sequence @@ -175,7 +178,7 @@ async def asyncio( Args: project_id (str): format_ (PlotFormat): - body (None | Options): + body (None | Options | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/field-manager-python-client/field_manager_python_client/api/projects/create_web_map_service_project_projects_project_id_web_map_services_post.py b/field-manager-python-client/field_manager_python_client/api/projects/create_web_map_service_project_projects_project_id_web_map_services_post.py index 6ef3f01..376cc65 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/create_web_map_service_project_projects_project_id_web_map_services_post.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/create_web_map_service_project_projects_project_id_web_map_services_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/web_map_services", + "url": "/projects/{project_id}/web_map_services".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/projects/delete_file_projects_project_id_files_file_id_delete.py b/field-manager-python-client/field_manager_python_client/api/projects/delete_file_projects_project_id_files_file_id_delete.py index 8b2f848..0570058 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/delete_file_projects_project_id_files_file_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/delete_file_projects_project_id_files_file_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/files/{file_id}", + "url": "/projects/{project_id}/files/{file_id}".format( + project_id=quote(str(project_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/delete_files_projects_project_id_files_delete.py b/field-manager-python-client/field_manager_python_client/api/projects/delete_files_projects_project_id_files_delete.py index 9998e5a..561cb34 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/delete_files_projects_project_id_files_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/delete_files_projects_project_id_files_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/files", + "url": "/projects/{project_id}/files".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = [] diff --git a/field-manager-python-client/field_manager_python_client/api/projects/delete_project_favorite_projects_project_id_favorite_delete.py b/field-manager-python-client/field_manager_python_client/api/projects/delete_project_favorite_projects_project_id_favorite_delete.py index 640ca63..9a3d0fc 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/delete_project_favorite_projects_project_id_favorite_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/delete_project_favorite_projects_project_id_favorite_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/favorite", + "url": "/projects/{project_id}/favorite".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/delete_project_projects_project_id_delete.py b/field-manager-python-client/field_manager_python_client/api/projects/delete_project_projects_project_id_delete.py index f1cc22e..98312e5 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/delete_project_projects_project_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/delete_project_projects_project_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}", + "url": "/projects/{project_id}".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/delete_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_delete.py b/field-manager-python-client/field_manager_python_client/api/projects/delete_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_delete.py index e94aa78..3d0710a 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/delete_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/delete_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/web_map_services/{web_map_service_id}", + "url": "/projects/{project_id}/web_map_services/{web_map_service_id}".format( + project_id=quote(str(project_id), safe=""), + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/download_logo_projects_project_id_logo_get.py b/field-manager-python-client/field_manager_python_client/api/projects/download_logo_projects_project_id_logo_get.py index 1245239..bf32ef0 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/download_logo_projects_project_id_logo_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/download_logo_projects_project_id_logo_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/logo", + "url": "/projects/{project_id}/logo".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/get_file_in_project_projects_project_id_files_file_id_get.py b/field-manager-python-client/field_manager_python_client/api/projects/get_file_in_project_projects_project_id_files_file_id_get.py index b0e85c6..aeb1dcf 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/get_file_in_project_projects_project_id_files_file_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/get_file_in_project_projects_project_id_files_file_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/files/{file_id}", + "url": "/projects/{project_id}/files/{file_id}".format( + project_id=quote(str(project_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/get_files_in_project_projects_project_id_files_get.py b/field-manager-python-client/field_manager_python_client/api/projects/get_files_in_project_projects_project_id_files_get.py index 28a16f9..7de3ebb 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/get_files_in_project_projects_project_id_files_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/get_files_in_project_projects_project_id_files_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -35,7 +36,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/files", + "url": "/projects/{project_id}/files".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/projects/get_linked_projects_projects_project_id_linked_projects_get.py b/field-manager-python-client/field_manager_python_client/api/projects/get_linked_projects_projects_project_id_linked_projects_get.py index 77a0aa0..aa95baf 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/get_linked_projects_projects_project_id_linked_projects_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/get_linked_projects_projects_project_id_linked_projects_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/linked_projects", + "url": "/projects/{project_id}/linked_projects".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/get_project_projects_project_id_get.py b/field-manager-python-client/field_manager_python_client/api/projects/get_project_projects_project_id_get.py index 7674181..ed27d4a 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/get_project_projects_project_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/get_project_projects_project_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}", + "url": "/projects/{project_id}".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/get_project_summary_projects_project_id_summary_get.py b/field-manager-python-client/field_manager_python_client/api/projects/get_project_summary_projects_project_id_summary_get.py index 203505f..39c694a 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/get_project_summary_projects_project_id_summary_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/get_project_summary_projects_project_id_summary_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/summary", + "url": "/projects/{project_id}/summary".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/get_project_users_projects_project_id_users_get.py b/field-manager-python-client/field_manager_python_client/api/projects/get_project_users_projects_project_id_users_get.py index b08c960..08060c2 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/get_project_users_projects_project_id_users_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/get_project_users_projects_project_id_users_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -14,7 +15,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/users", + "url": "/projects/{project_id}/users".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/link_linked_project_projects_project_id_linked_projects_linked_project_id_post.py b/field-manager-python-client/field_manager_python_client/api/projects/link_linked_project_projects_project_id_linked_projects_linked_project_id_post.py index 02e8040..dd8f30d 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/link_linked_project_projects_project_id_linked_projects_linked_project_id_post.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/link_linked_project_projects_project_id_linked_projects_linked_project_id_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -8,16 +9,33 @@ from ...client import AuthenticatedClient, Client from ...models.http_validation_error import HTTPValidationError from ...models.project import Project -from ...types import Response +from ...types import UNSET, Response, Unset def _get_kwargs( project_id: str, linked_project_id: UUID, + *, + linked_project_prefix: None | str | Unset = UNSET, ) -> dict[str, Any]: + params: dict[str, Any] = {} + + json_linked_project_prefix: None | str | Unset + if isinstance(linked_project_prefix, Unset): + json_linked_project_prefix = UNSET + else: + json_linked_project_prefix = linked_project_prefix + params["linked_project_prefix"] = json_linked_project_prefix + + params = {k: v for k, v in params.items() if v is not UNSET and v is not None} + _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/linked_projects/{linked_project_id}", + "url": "/projects/{project_id}/linked_projects/{linked_project_id}".format( + project_id=quote(str(project_id), safe=""), + linked_project_id=quote(str(linked_project_id), safe=""), + ), + "params": params, } return _kwargs @@ -58,14 +76,19 @@ def sync_detailed( linked_project_id: UUID, *, client: AuthenticatedClient, + linked_project_prefix: None | str | Unset = UNSET, ) -> Response[HTTPValidationError | Project]: """Link Linked Project - Link another project to a project by project_id. + Link a project with `project_id` to another project with `linked_project_id`. + + Optionally add a linked project prefix usually including a separator character at the end of the + string. Args: project_id (str): linked_project_id (UUID): + linked_project_prefix (None | str | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -78,6 +101,7 @@ def sync_detailed( kwargs = _get_kwargs( project_id=project_id, linked_project_id=linked_project_id, + linked_project_prefix=linked_project_prefix, ) response = client.get_httpx_client().request( @@ -92,14 +116,19 @@ def sync( linked_project_id: UUID, *, client: AuthenticatedClient, + linked_project_prefix: None | str | Unset = UNSET, ) -> HTTPValidationError | Project | None: """Link Linked Project - Link another project to a project by project_id. + Link a project with `project_id` to another project with `linked_project_id`. + + Optionally add a linked project prefix usually including a separator character at the end of the + string. Args: project_id (str): linked_project_id (UUID): + linked_project_prefix (None | str | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -113,6 +142,7 @@ def sync( project_id=project_id, linked_project_id=linked_project_id, client=client, + linked_project_prefix=linked_project_prefix, ).parsed @@ -121,14 +151,19 @@ async def asyncio_detailed( linked_project_id: UUID, *, client: AuthenticatedClient, + linked_project_prefix: None | str | Unset = UNSET, ) -> Response[HTTPValidationError | Project]: """Link Linked Project - Link another project to a project by project_id. + Link a project with `project_id` to another project with `linked_project_id`. + + Optionally add a linked project prefix usually including a separator character at the end of the + string. Args: project_id (str): linked_project_id (UUID): + linked_project_prefix (None | str | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,6 +176,7 @@ async def asyncio_detailed( kwargs = _get_kwargs( project_id=project_id, linked_project_id=linked_project_id, + linked_project_prefix=linked_project_prefix, ) response = await client.get_async_httpx_client().request(**kwargs) @@ -153,14 +189,19 @@ async def asyncio( linked_project_id: UUID, *, client: AuthenticatedClient, + linked_project_prefix: None | str | Unset = UNSET, ) -> HTTPValidationError | Project | None: """Link Linked Project - Link another project to a project by project_id. + Link a project with `project_id` to another project with `linked_project_id`. + + Optionally add a linked project prefix usually including a separator character at the end of the + string. Args: project_id (str): linked_project_id (UUID): + linked_project_prefix (None | str | Unset): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -175,5 +216,6 @@ async def asyncio( project_id=project_id, linked_project_id=linked_project_id, client=client, + linked_project_prefix=linked_project_prefix, ) ).parsed diff --git a/field-manager-python-client/field_manager_python_client/api/projects/read_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_get.py b/field-manager-python-client/field_manager_python_client/api/projects/read_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_get.py index fb6dcc2..3c89a61 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/read_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/read_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/web_map_services/{web_map_service_id}", + "url": "/projects/{project_id}/web_map_services/{web_map_service_id}".format( + project_id=quote(str(project_id), safe=""), + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/unlink_linked_project_projects_project_id_linked_projects_linked_project_id_delete.py b/field-manager-python-client/field_manager_python_client/api/projects/unlink_linked_project_projects_project_id_linked_projects_linked_project_id_delete.py index efe75a5..1fbe83d 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/unlink_linked_project_projects_project_id_linked_projects_linked_project_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/unlink_linked_project_projects_project_id_linked_projects_linked_project_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/linked_projects/{linked_project_id}", + "url": "/projects/{project_id}/linked_projects/{linked_project_id}".format( + project_id=quote(str(project_id), safe=""), + linked_project_id=quote(str(linked_project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_post.py b/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_post.py index 38b145a..f8637d5 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_post.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/favorite", + "url": "/projects/{project_id}/favorite".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_put.py b/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_put.py index cd7a212..5019e6c 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_put.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/update_project_favorite_projects_project_id_favorite_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/favorite", + "url": "/projects/{project_id}/favorite".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/projects/update_project_projects_project_id_put.py b/field-manager-python-client/field_manager_python_client/api/projects/update_project_projects_project_id_put.py index e9cdc5c..42d80cc 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/update_project_projects_project_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/update_project_projects_project_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}", + "url": "/projects/{project_id}".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/projects/update_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_put.py b/field-manager-python-client/field_manager_python_client/api/projects/update_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_put.py index 7afb00e..531f3f8 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/update_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/update_web_map_service_project_projects_project_id_web_map_services_web_map_service_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/web_map_services/{web_map_service_id}", + "url": "/projects/{project_id}/web_map_services/{web_map_service_id}".format( + project_id=quote(str(project_id), safe=""), + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/projects/upload_file_to_project_projects_project_id_upload_post.py b/field-manager-python-client/field_manager_python_client/api/projects/upload_file_to_project_projects_project_id_upload_post.py index 80cd7d1..d133c2a 100644 --- a/field-manager-python-client/field_manager_python_client/api/projects/upload_file_to_project_projects_project_id_upload_post.py +++ b/field-manager-python-client/field_manager_python_client/api/projects/upload_file_to_project_projects_project_id_upload_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -37,7 +38,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/upload", + "url": "/projects/{project_id}/upload".format( + project_id=quote(str(project_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/public/get_organization_by_email_address_public_organizations_email_address_get.py b/field-manager-python-client/field_manager_python_client/api/public/get_organization_by_email_address_public_organizations_email_address_get.py index 7f7891b..29dcb9a 100644 --- a/field-manager-python-client/field_manager_python_client/api/public/get_organization_by_email_address_public_organizations_email_address_get.py +++ b/field-manager-python-client/field_manager_python_client/api/public/get_organization_by_email_address_public_organizations_email_address_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/public/organizations/{email_address}", + "url": "/public/organizations/{email_address}".format( + email_address=quote(str(email_address), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/public/get_organization_information_public_organizations_organization_id_information_get.py b/field-manager-python-client/field_manager_python_client/api/public/get_organization_information_public_organizations_organization_id_information_get.py index ce06265..4643697 100644 --- a/field-manager-python-client/field_manager_python_client/api/public/get_organization_information_public_organizations_organization_id_information_get.py +++ b/field-manager-python-client/field_manager_python_client/api/public/get_organization_information_public_organizations_organization_id_information_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/public/organizations/{organization_id}/information", + "url": "/public/organizations/{organization_id}/information".format( + organization_id=quote(str(organization_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/sample_containers/get_sample_container_sample_containers_sample_container_type_id_get.py b/field-manager-python-client/field_manager_python_client/api/sample_containers/get_sample_container_sample_containers_sample_container_type_id_get.py index 4792566..323e13c 100644 --- a/field-manager-python-client/field_manager_python_client/api/sample_containers/get_sample_container_sample_containers_sample_container_type_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/sample_containers/get_sample_container_sample_containers_sample_container_type_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/sample_containers/{sample_container_type_id}", + "url": "/sample_containers/{sample_container_type_id}".format( + sample_container_type_id=quote(str(sample_container_type_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/sample_materials/get_sample_material_sample_materials_sample_material_id_get.py b/field-manager-python-client/field_manager_python_client/api/sample_materials/get_sample_material_sample_materials_sample_material_id_get.py index 3f47b84..4a07dd2 100644 --- a/field-manager-python-client/field_manager_python_client/api/sample_materials/get_sample_material_sample_materials_sample_material_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/sample_materials/get_sample_material_sample_materials_sample_material_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/sample_materials/{sample_material_id}", + "url": "/sample_materials/{sample_material_id}".format( + sample_material_id=quote(str(sample_material_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/sampler_types/get_sampler_type_sampler_types_sampler_type_id_get.py b/field-manager-python-client/field_manager_python_client/api/sampler_types/get_sampler_type_sampler_types_sampler_type_id_get.py index 5962e5b..03eaa3c 100644 --- a/field-manager-python-client/field_manager_python_client/api/sampler_types/get_sampler_type_sampler_types_sampler_type_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/sampler_types/get_sampler_type_sampler_types_sampler_type_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/sampler_types/{sampler_type_id}", + "url": "/sampler_types/{sampler_type_id}".format( + sampler_type_id=quote(str(sampler_type_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/sampling_techniques/get_sampling_technique_sampling_techniques_sampling_technique_id_get.py b/field-manager-python-client/field_manager_python_client/api/sampling_techniques/get_sampling_technique_sampling_techniques_sampling_technique_id_get.py index 73b2e30..e344412 100644 --- a/field-manager-python-client/field_manager_python_client/api/sampling_techniques/get_sampling_technique_sampling_techniques_sampling_technique_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/sampling_techniques/get_sampling_technique_sampling_techniques_sampling_technique_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/sampling_techniques/{sampling_technique_id}", + "url": "/sampling_techniques/{sampling_technique_id}".format( + sampling_technique_id=quote(str(sampling_technique_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/create_shape_projects_project_id_shapes_post.py b/field-manager-python-client/field_manager_python_client/api/shapes/create_shape_projects_project_id_shapes_post.py index 1715e3e..ab8c107 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/create_shape_projects_project_id_shapes_post.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/create_shape_projects_project_id_shapes_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -20,7 +21,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/shapes", + "url": "/projects/{project_id}/shapes".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["files"] = body.to_multipart() diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/delete_file_from_shape_projects_project_id_shapes_shape_id_files_file_id_delete.py b/field-manager-python-client/field_manager_python_client/api/shapes/delete_file_from_shape_projects_project_id_shapes_shape_id_files_file_id_delete.py index 5136549..ca44b31 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/delete_file_from_shape_projects_project_id_shapes_shape_id_files_file_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/delete_file_from_shape_projects_project_id_shapes_shape_id_files_file_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,11 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/shapes/{shape_id}/files/{file_id}", + "url": "/projects/{project_id}/shapes/{shape_id}/files/{file_id}".format( + project_id=quote(str(project_id), safe=""), + shape_id=quote(str(shape_id), safe=""), + file_id=quote(str(file_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_files_projects_project_id_shapes_shape_id_files_delete.py b/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_files_projects_project_id_shapes_shape_id_files_delete.py index 6afd04e..e493c49 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_files_projects_project_id_shapes_shape_id_files_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_files_projects_project_id_shapes_shape_id_files_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -20,7 +21,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/shapes/{shape_id}/files", + "url": "/projects/{project_id}/shapes/{shape_id}/files".format( + project_id=quote(str(project_id), safe=""), + shape_id=quote(str(shape_id), safe=""), + ), } _kwargs["json"] = [] diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_projects_project_id_shapes_shape_id_delete.py b/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_projects_project_id_shapes_shape_id_delete.py index bc95883..858d50d 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_projects_project_id_shapes_shape_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/delete_shape_projects_project_id_shapes_shape_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -16,7 +17,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/shapes/{shape_id}", + "url": "/projects/{project_id}/shapes/{shape_id}".format( + project_id=quote(str(project_id), safe=""), + shape_id=quote(str(shape_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/delete_shapes_projects_project_id_shapes_delete_delete.py b/field-manager-python-client/field_manager_python_client/api/shapes/delete_shapes_projects_project_id_shapes_delete_delete.py index 3022870..864395c 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/delete_shapes_projects_project_id_shapes_delete_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/delete_shapes_projects_project_id_shapes_delete_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -19,7 +20,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/projects/{project_id}/shapes/delete", + "url": "/projects/{project_id}/shapes/delete".format( + project_id=quote(str(project_id), safe=""), + ), } _kwargs["json"] = [] diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/get_files_projects_project_id_shapes_shape_id_files_get.py b/field-manager-python-client/field_manager_python_client/api/shapes/get_files_projects_project_id_shapes_shape_id_files_get.py index c838e79..fca775c 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/get_files_projects_project_id_shapes_shape_id_files_get.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/get_files_projects_project_id_shapes_shape_id_files_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/shapes/{shape_id}/files", + "url": "/projects/{project_id}/shapes/{shape_id}/files".format( + project_id=quote(str(project_id), safe=""), + shape_id=quote(str(shape_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/get_shape_projects_project_id_shapes_shape_id_get.py b/field-manager-python-client/field_manager_python_client/api/shapes/get_shape_projects_project_id_shapes_shape_id_get.py index 16ab864..0d33510 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/get_shape_projects_project_id_shapes_shape_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/get_shape_projects_project_id_shapes_shape_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -17,7 +18,10 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/shapes/{shape_id}", + "url": "/projects/{project_id}/shapes/{shape_id}".format( + project_id=quote(str(project_id), safe=""), + shape_id=quote(str(shape_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/get_shapes_projects_project_id_shapes_get.py b/field-manager-python-client/field_manager_python_client/api/shapes/get_shapes_projects_project_id_shapes_get.py index cbc2241..93914b7 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/get_shapes_projects_project_id_shapes_get.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/get_shapes_projects_project_id_shapes_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/projects/{project_id}/shapes", + "url": "/projects/{project_id}/shapes".format( + project_id=quote(str(project_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/update_shape_projects_project_id_shapes_shape_id_put.py b/field-manager-python-client/field_manager_python_client/api/shapes/update_shape_projects_project_id_shapes_shape_id_put.py index 985f95a..b11ef82 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/update_shape_projects_project_id_shapes_shape_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/update_shape_projects_project_id_shapes_shape_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -22,7 +23,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/projects/{project_id}/shapes/{shape_id}", + "url": "/projects/{project_id}/shapes/{shape_id}".format( + project_id=quote(str(project_id), safe=""), + shape_id=quote(str(shape_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/shapes/upload_file_to_shape_projects_project_id_shapes_shape_id_file_post.py b/field-manager-python-client/field_manager_python_client/api/shapes/upload_file_to_shape_projects_project_id_shapes_shape_id_file_post.py index 9f2c64d..1fba5a5 100644 --- a/field-manager-python-client/field_manager_python_client/api/shapes/upload_file_to_shape_projects_project_id_shapes_shape_id_file_post.py +++ b/field-manager-python-client/field_manager_python_client/api/shapes/upload_file_to_shape_projects_project_id_shapes_shape_id_file_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -24,7 +25,10 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/projects/{project_id}/shapes/{shape_id}/file", + "url": "/projects/{project_id}/shapes/{shape_id}/file".format( + project_id=quote(str(project_id), safe=""), + shape_id=quote(str(shape_id), safe=""), + ), } _kwargs["files"] = body.to_multipart() diff --git a/field-manager-python-client/field_manager_python_client/api/standards/get_standard_standards_standard_id_get.py b/field-manager-python-client/field_manager_python_client/api/standards/get_standard_standards_standard_id_get.py index e00532e..cb1bc21 100644 --- a/field-manager-python-client/field_manager_python_client/api/standards/get_standard_standards_standard_id_get.py +++ b/field-manager-python-client/field_manager_python_client/api/standards/get_standard_standards_standard_id_get.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote import httpx @@ -16,7 +17,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "get", - "url": f"/standards/{standard_id}", + "url": "/standards/{standard_id}".format( + standard_id=quote(str(standard_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/users/add_user_role_users_user_id_roles_post.py b/field-manager-python-client/field_manager_python_client/api/users/add_user_role_users_user_id_roles_post.py index 7ce329b..0fb1296 100644 --- a/field-manager-python-client/field_manager_python_client/api/users/add_user_role_users_user_id_roles_post.py +++ b/field-manager-python-client/field_manager_python_client/api/users/add_user_role_users_user_id_roles_post.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -21,7 +22,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "post", - "url": f"/users/{user_id}/roles", + "url": "/users/{user_id}/roles".format( + user_id=quote(str(user_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/api/users/remove_user_role_users_user_id_roles_delete.py b/field-manager-python-client/field_manager_python_client/api/users/remove_user_role_users_user_id_roles_delete.py index 5c46eef..1bc695f 100644 --- a/field-manager-python-client/field_manager_python_client/api/users/remove_user_role_users_user_id_roles_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/users/remove_user_role_users_user_id_roles_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -23,7 +24,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/users/{user_id}/roles", + "url": "/users/{user_id}/roles".format( + user_id=quote(str(user_id), safe=""), + ), "params": params, } diff --git a/field-manager-python-client/field_manager_python_client/api/web_map_services/delete_application_layer_web_map_service_web_map_services_web_map_service_id_delete.py b/field-manager-python-client/field_manager_python_client/api/web_map_services/delete_application_layer_web_map_service_web_map_services_web_map_service_id_delete.py index 655468f..61631ce 100644 --- a/field-manager-python-client/field_manager_python_client/api/web_map_services/delete_application_layer_web_map_service_web_map_services_web_map_service_id_delete.py +++ b/field-manager-python-client/field_manager_python_client/api/web_map_services/delete_application_layer_web_map_service_web_map_services_web_map_service_id_delete.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any, cast +from urllib.parse import quote from uuid import UUID import httpx @@ -15,7 +16,9 @@ def _get_kwargs( ) -> dict[str, Any]: _kwargs: dict[str, Any] = { "method": "delete", - "url": f"/web_map_services/{web_map_service_id}", + "url": "/web_map_services/{web_map_service_id}".format( + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } return _kwargs diff --git a/field-manager-python-client/field_manager_python_client/api/web_map_services/update_application_layer_web_map_service_web_map_services_web_map_service_id_put.py b/field-manager-python-client/field_manager_python_client/api/web_map_services/update_application_layer_web_map_service_web_map_services_web_map_service_id_put.py index e01aab9..9dc6479 100644 --- a/field-manager-python-client/field_manager_python_client/api/web_map_services/update_application_layer_web_map_service_web_map_services_web_map_service_id_put.py +++ b/field-manager-python-client/field_manager_python_client/api/web_map_services/update_application_layer_web_map_service_web_map_services_web_map_service_id_put.py @@ -1,5 +1,6 @@ from http import HTTPStatus from typing import Any +from urllib.parse import quote from uuid import UUID import httpx @@ -21,7 +22,9 @@ def _get_kwargs( _kwargs: dict[str, Any] = { "method": "put", - "url": f"/web_map_services/{web_map_service_id}", + "url": "/web_map_services/{web_map_service_id}".format( + web_map_service_id=quote(str(web_map_service_id), safe=""), + ), } _kwargs["json"] = body.to_dict() diff --git a/field-manager-python-client/field_manager_python_client/models/__init__.py b/field-manager-python-client/field_manager_python_client/models/__init__.py index 4c39651..ec66d91 100644 --- a/field-manager-python-client/field_manager_python_client/models/__init__.py +++ b/field-manager-python-client/field_manager_python_client/models/__init__.py @@ -153,6 +153,9 @@ from .method_sa_update import MethodSAUpdate from .method_slb import MethodSLB from .method_slb_create import MethodSLBCreate +from .method_slb_data import MethodSLBData +from .method_slb_data_create import MethodSLBDataCreate +from .method_slb_data_update import MethodSLBDataUpdate from .method_slb_update import MethodSLBUpdate from .method_spt import MethodSPT from .method_spt_create import MethodSPTCreate @@ -172,6 +175,9 @@ from .method_status_enum import MethodStatusEnum from .method_sti import MethodSTI from .method_sti_create import MethodSTICreate +from .method_sti_data import MethodSTIData +from .method_sti_data_create import MethodSTIDataCreate +from .method_sti_data_update import MethodSTIDataUpdate from .method_sti_update import MethodSTIUpdate from .method_summary import MethodSummary from .method_svt import MethodSVT @@ -404,6 +410,9 @@ "MethodSAUpdate", "MethodSLB", "MethodSLBCreate", + "MethodSLBData", + "MethodSLBDataCreate", + "MethodSLBDataUpdate", "MethodSLBUpdate", "MethodSPT", "MethodSPTCreate", @@ -423,6 +432,9 @@ "MethodStatusEnum", "MethodSTI", "MethodSTICreate", + "MethodSTIData", + "MethodSTIDataCreate", + "MethodSTIDataUpdate", "MethodSTIUpdate", "MethodSummary", "MethodSVT", diff --git a/field-manager-python-client/field_manager_python_client/models/crs_info.py b/field-manager-python-client/field_manager_python_client/models/crs_info.py index ee62d60..f56248b 100644 --- a/field-manager-python-client/field_manager_python_client/models/crs_info.py +++ b/field-manager-python-client/field_manager_python_client/models/crs_info.py @@ -1,7 +1,7 @@ from __future__ import annotations from collections.abc import Mapping -from typing import Any, TypeVar +from typing import Any, TypeVar, cast from attrs import define as _attrs_define from attrs import field as _attrs_field @@ -17,12 +17,16 @@ class CRSInfo: srid (int): EPSG code name (str): unit (str): Unit of measurement for coordinate axes (e.g., meter, degree, foot) + wkt (None | str): Well-Known Text representation of the CRS + proj4 (None | str): Proj4 representation of the CRS """ auth_name: str srid: int name: str unit: str + wkt: None | str + proj4: None | str additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -34,6 +38,12 @@ def to_dict(self) -> dict[str, Any]: unit = self.unit + wkt: None | str + wkt = self.wkt + + proj4: None | str + proj4 = self.proj4 + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -42,6 +52,8 @@ def to_dict(self) -> dict[str, Any]: "srid": srid, "name": name, "unit": unit, + "wkt": wkt, + "proj4": proj4, } ) @@ -58,11 +70,27 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: unit = d.pop("unit") + def _parse_wkt(data: object) -> None | str: + if data is None: + return data + return cast(None | str, data) + + wkt = _parse_wkt(d.pop("wkt")) + + def _parse_proj4(data: object) -> None | str: + if data is None: + return data + return cast(None | str, data) + + proj4 = _parse_proj4(d.pop("proj4")) + crs_info = cls( auth_name=auth_name, srid=srid, name=name, unit=unit, + wkt=wkt, + proj4=proj4, ) crs_info.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/file.py b/field-manager-python-client/field_manager_python_client/models/file.py index f54dfcc..d5fb6c7 100644 --- a/field-manager-python-client/field_manager_python_client/models/file.py +++ b/field-manager-python-client/field_manager_python_client/models/file.py @@ -21,7 +21,7 @@ class File: Attributes: file_id (UUID): name (str): - blob_url (str): + blob_url (str): Will be removed in future versions. original_filename (str): file_type (FileType): mime_type (str): diff --git a/field-manager-python-client/field_manager_python_client/models/file_extended.py b/field-manager-python-client/field_manager_python_client/models/file_extended.py index f327217..5377c77 100644 --- a/field-manager-python-client/field_manager_python_client/models/file_extended.py +++ b/field-manager-python-client/field_manager_python_client/models/file_extended.py @@ -26,7 +26,7 @@ class FileExtended: Attributes: file_id (UUID): name (str): - blob_url (str): + blob_url (str): Will be removed in future versions. original_filename (str): file_type (FileType): mime_type (str): diff --git a/field-manager-python-client/field_manager_python_client/models/linked_project_info.py b/field-manager-python-client/field_manager_python_client/models/linked_project_info.py index 01a96eb..d0b71d4 100644 --- a/field-manager-python-client/field_manager_python_client/models/linked_project_info.py +++ b/field-manager-python-client/field_manager_python_client/models/linked_project_info.py @@ -36,7 +36,6 @@ class LinkedProjectInfo: standard_id (StandardType): srid (int): number_of_locations (int): - number_of_active_locations (int): created_at (datetime.datetime | None | Unset): updated_at (datetime.datetime | None | Unset): external_id_source (None | str | Unset): @@ -47,6 +46,7 @@ class LinkedProjectInfo: effective_role (None | Role | Unset): last_updated (datetime.datetime | None | Unset): favorite (bool | Unset): Default: False. + linked_project_prefix (None | str | Unset): """ project_id: UUID @@ -56,7 +56,6 @@ class LinkedProjectInfo: standard_id: StandardType srid: int number_of_locations: int - number_of_active_locations: int created_at: datetime.datetime | None | Unset = UNSET updated_at: datetime.datetime | None | Unset = UNSET external_id_source: None | str | Unset = UNSET @@ -67,6 +66,7 @@ class LinkedProjectInfo: effective_role: None | Role | Unset = UNSET last_updated: datetime.datetime | None | Unset = UNSET favorite: bool | Unset = False + linked_project_prefix: None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -87,8 +87,6 @@ def to_dict(self) -> dict[str, Any]: number_of_locations = self.number_of_locations - number_of_active_locations = self.number_of_active_locations - created_at: None | str | Unset if isinstance(self.created_at, Unset): created_at = UNSET @@ -160,6 +158,12 @@ def to_dict(self) -> dict[str, Any]: favorite = self.favorite + linked_project_prefix: None | str | Unset + if isinstance(self.linked_project_prefix, Unset): + linked_project_prefix = UNSET + else: + linked_project_prefix = self.linked_project_prefix + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -171,7 +175,6 @@ def to_dict(self) -> dict[str, Any]: "standard_id": standard_id, "srid": srid, "number_of_locations": number_of_locations, - "number_of_active_locations": number_of_active_locations, } ) if created_at is not UNSET: @@ -194,6 +197,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["last_updated"] = last_updated if favorite is not UNSET: field_dict["favorite"] = favorite + if linked_project_prefix is not UNSET: + field_dict["linked_project_prefix"] = linked_project_prefix return field_dict @@ -217,8 +222,6 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: number_of_locations = d.pop("number_of_locations") - number_of_active_locations = d.pop("number_of_active_locations") - def _parse_created_at(data: object) -> datetime.datetime | None | Unset: if data is None: return data @@ -358,6 +361,15 @@ def _parse_last_updated(data: object) -> datetime.datetime | None | Unset: favorite = d.pop("favorite", UNSET) + def _parse_linked_project_prefix(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + linked_project_prefix = _parse_linked_project_prefix(d.pop("linked_project_prefix", UNSET)) + linked_project_info = cls( project_id=project_id, external_id=external_id, @@ -366,7 +378,6 @@ def _parse_last_updated(data: object) -> datetime.datetime | None | Unset: standard_id=standard_id, srid=srid, number_of_locations=number_of_locations, - number_of_active_locations=number_of_active_locations, created_at=created_at, updated_at=updated_at, external_id_source=external_id_source, @@ -377,6 +388,7 @@ def _parse_last_updated(data: object) -> datetime.datetime | None | Unset: effective_role=effective_role, last_updated=last_updated, favorite=favorite, + linked_project_prefix=linked_project_prefix, ) linked_project_info.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/location.py b/field-manager-python-client/field_manager_python_client/models/location.py index 6163397..e96c063 100644 --- a/field-manager-python-client/field_manager_python_client/models/location.py +++ b/field-manager-python-client/field_manager_python_client/models/location.py @@ -73,6 +73,7 @@ class Location: point_y_wgs84_pseudo (float | None | Unset): point_x_wgs84_web (float | None | Unset): point_y_wgs84_web (float | None | Unset): + point_z_height_data (float | None | Unset): tags (list[str] | None | Unset): methods (list[MethodAD | MethodCD | MethodCPT | MethodDEF | MethodDP | MethodDT | MethodESA | MethodINC | MethodIW | MethodOTHER | MethodPT | MethodPZ | MethodRCD | MethodRO | MethodRP | MethodRS | MethodRWS | MethodSA @@ -99,6 +100,7 @@ class Location: point_y_wgs84_pseudo: float | None | Unset = UNSET point_x_wgs84_web: float | None | Unset = UNSET point_y_wgs84_web: float | None | Unset = UNSET + point_z_height_data: float | None | Unset = UNSET tags: list[str] | None | Unset = UNSET methods: ( list[ @@ -243,6 +245,12 @@ def to_dict(self) -> dict[str, Any]: else: point_y_wgs84_web = self.point_y_wgs84_web + point_z_height_data: float | None | Unset + if isinstance(self.point_z_height_data, Unset): + point_z_height_data = UNSET + else: + point_z_height_data = self.point_z_height_data + tags: list[str] | None | Unset if isinstance(self.tags, Unset): tags = UNSET @@ -358,6 +366,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["point_x_wgs84_web"] = point_x_wgs84_web if point_y_wgs84_web is not UNSET: field_dict["point_y_wgs84_web"] = point_y_wgs84_web + if point_z_height_data is not UNSET: + field_dict["point_z_height_data"] = point_z_height_data if tags is not UNSET: field_dict["tags"] = tags if methods is not UNSET: @@ -511,6 +521,15 @@ def _parse_point_y_wgs84_web(data: object) -> float | None | Unset: point_y_wgs84_web = _parse_point_y_wgs84_web(d.pop("point_y_wgs84_web", UNSET)) + def _parse_point_z_height_data(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + point_z_height_data = _parse_point_z_height_data(d.pop("point_z_height_data", UNSET)) + def _parse_tags(data: object) -> list[str] | None | Unset: if data is None: return data @@ -852,6 +871,7 @@ def _parse_methods_item( point_y_wgs84_pseudo=point_y_wgs84_pseudo, point_x_wgs84_web=point_x_wgs84_web, point_y_wgs84_web=point_y_wgs84_web, + point_z_height_data=point_z_height_data, tags=tags, methods=methods, files=files, diff --git a/field-manager-python-client/field_manager_python_client/models/location_create.py b/field-manager-python-client/field_manager_python_client/models/location_create.py index cd513b3..176af3f 100644 --- a/field-manager-python-client/field_manager_python_client/models/location_create.py +++ b/field-manager-python-client/field_manager_python_client/models/location_create.py @@ -68,6 +68,7 @@ class LocationCreate: point_y_wgs84_pseudo (float | None | Unset): point_x_wgs84_web (float | None | Unset): point_y_wgs84_web (float | None | Unset): + point_z_height_data (float | None | Unset): tags (list[str] | Unset): project_id (None | Unset | UUID): methods (list[MethodADCreate | MethodCDCreate | MethodCPTCreate | MethodDEFCreate | MethodDPCreate | @@ -91,6 +92,7 @@ class LocationCreate: point_y_wgs84_pseudo: float | None | Unset = UNSET point_x_wgs84_web: float | None | Unset = UNSET point_y_wgs84_web: float | None | Unset = UNSET + point_z_height_data: float | None | Unset = UNSET tags: list[str] | Unset = UNSET project_id: None | Unset | UUID = UNSET methods: ( @@ -239,6 +241,12 @@ def to_dict(self) -> dict[str, Any]: else: point_y_wgs84_web = self.point_y_wgs84_web + point_z_height_data: float | None | Unset + if isinstance(self.point_z_height_data, Unset): + point_z_height_data = UNSET + else: + point_z_height_data = self.point_z_height_data + tags: list[str] | Unset = UNSET if not isinstance(self.tags, Unset): tags = self.tags @@ -348,6 +356,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["point_x_wgs84_web"] = point_x_wgs84_web if point_y_wgs84_web is not UNSET: field_dict["point_y_wgs84_web"] = point_y_wgs84_web + if point_z_height_data is not UNSET: + field_dict["point_z_height_data"] = point_z_height_data if tags is not UNSET: field_dict["tags"] = tags if project_id is not UNSET: @@ -522,6 +532,15 @@ def _parse_point_y_wgs84_web(data: object) -> float | None | Unset: point_y_wgs84_web = _parse_point_y_wgs84_web(d.pop("point_y_wgs84_web", UNSET)) + def _parse_point_z_height_data(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + point_z_height_data = _parse_point_z_height_data(d.pop("point_z_height_data", UNSET)) + tags = cast(list[str], d.pop("tags", UNSET)) def _parse_project_id(data: object) -> None | Unset | UUID: @@ -852,6 +871,7 @@ def _parse_methods_item( point_y_wgs84_pseudo=point_y_wgs84_pseudo, point_x_wgs84_web=point_x_wgs84_web, point_y_wgs84_web=point_y_wgs84_web, + point_z_height_data=point_z_height_data, tags=tags, project_id=project_id, methods=methods, diff --git a/field-manager-python-client/field_manager_python_client/models/method_ad.py b/field-manager-python-client/field_manager_python_client/models/method_ad.py index 958c9bc..67e884c 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_ad.py +++ b/field-manager-python-client/field_manager_python_client/models/method_ad.py @@ -43,7 +43,7 @@ class MethodAD: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_cd.py b/field-manager-python-client/field_manager_python_client/models/method_cd.py index b667778..020f49b 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_cd.py +++ b/field-manager-python-client/field_manager_python_client/models/method_cd.py @@ -43,7 +43,7 @@ class MethodCD: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. sampler_type_id (int | None | Unset): inclination (float | None | Unset): Inclination angle (deg). azimuth (float | None | Unset): Azimuth angle relative to N (deg). diff --git a/field-manager-python-client/field_manager_python_client/models/method_cpt.py b/field-manager-python-client/field_manager_python_client/models/method_cpt.py index 5443ed6..45e261c 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_cpt.py +++ b/field-manager-python-client/field_manager_python_client/models/method_cpt.py @@ -44,7 +44,7 @@ class MethodCPT: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. predrilling_depth (float | None | Unset): cone_reference (None | str | Unset): water_depth (float | None | Unset): diff --git a/field-manager-python-client/field_manager_python_client/models/method_def.py b/field-manager-python-client/field_manager_python_client/models/method_def.py index b03087d..cd0ada2 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_def.py +++ b/field-manager-python-client/field_manager_python_client/models/method_def.py @@ -43,7 +43,7 @@ class MethodDEF: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_dp.py b/field-manager-python-client/field_manager_python_client/models/method_dp.py index 8a6edd4..66098a9 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_dp.py +++ b/field-manager-python-client/field_manager_python_client/models/method_dp.py @@ -47,9 +47,9 @@ class MethodDP: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. dynamic_probing_type (DPType | Unset): (Dynamic Probing) DP Type - predrilling_depth (float | Unset): Default: 0.0. + predrilling_depth (float | None | Unset): cone_type (None | str | Unset): cushion_type (None | str | Unset): use_damper (bool | None | Unset): @@ -75,7 +75,7 @@ class MethodDP: files: list[File] | Unset = UNSET self_: None | str | Unset = UNSET dynamic_probing_type: DPType | Unset = UNSET - predrilling_depth: float | Unset = 0.0 + predrilling_depth: float | None | Unset = UNSET cone_type: None | str | Unset = UNSET cushion_type: None | str | Unset = UNSET use_damper: bool | None | Unset = UNSET @@ -151,7 +151,11 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.dynamic_probing_type, Unset): dynamic_probing_type = self.dynamic_probing_type.value - predrilling_depth = self.predrilling_depth + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth cone_type: None | str | Unset if isinstance(self.cone_type, Unset): @@ -346,7 +350,14 @@ def _parse_self_(data: object) -> None | str | Unset: else: dynamic_probing_type = DPType(_dynamic_probing_type) - predrilling_depth = d.pop("predrilling_depth", UNSET) + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) def _parse_cone_type(data: object) -> None | str | Unset: if data is None: diff --git a/field-manager-python-client/field_manager_python_client/models/method_dt.py b/field-manager-python-client/field_manager_python_client/models/method_dt.py index 1be6b4a..04c0e22 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_dt.py +++ b/field-manager-python-client/field_manager_python_client/models/method_dt.py @@ -43,7 +43,7 @@ class MethodDT: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. depth (float | None | Unset): Depth (m). SGF code D. u2_initial (float | None | Unset): Initial shoulder pressure (kPa). u2_equilibrium (float | None | Unset): Equilibrium shoulder pressure (kPa). diff --git a/field-manager-python-client/field_manager_python_client/models/method_esa.py b/field-manager-python-client/field_manager_python_client/models/method_esa.py index e6ae9b1..eca16dd 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_esa.py +++ b/field-manager-python-client/field_manager_python_client/models/method_esa.py @@ -43,7 +43,7 @@ class MethodESA: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_inc.py b/field-manager-python-client/field_manager_python_client/models/method_inc.py index 6ce7097..fb3137d 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_inc.py +++ b/field-manager-python-client/field_manager_python_client/models/method_inc.py @@ -43,7 +43,7 @@ class MethodINC: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_iw.py b/field-manager-python-client/field_manager_python_client/models/method_iw.py index 63fe9e2..df64dcf 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_iw.py +++ b/field-manager-python-client/field_manager_python_client/models/method_iw.py @@ -42,7 +42,7 @@ class MethodIW: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_other.py b/field-manager-python-client/field_manager_python_client/models/method_other.py index 6a3e372..c2b4dbb 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_other.py +++ b/field-manager-python-client/field_manager_python_client/models/method_other.py @@ -43,7 +43,7 @@ class MethodOTHER: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_plot_format.py b/field-manager-python-client/field_manager_python_client/models/method_plot_format.py index 01c375a..75e191a 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_plot_format.py +++ b/field-manager-python-client/field_manager_python_client/models/method_plot_format.py @@ -3,6 +3,7 @@ class MethodPlotFormat(str, Enum): DXF = "dxf" + SVG = "svg" def __str__(self) -> str: return str(self.value) diff --git a/field-manager-python-client/field_manager_python_client/models/method_pt.py b/field-manager-python-client/field_manager_python_client/models/method_pt.py index 730bdc7..ef9996d 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_pt.py +++ b/field-manager-python-client/field_manager_python_client/models/method_pt.py @@ -43,7 +43,7 @@ class MethodPT: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_pz.py b/field-manager-python-client/field_manager_python_client/models/method_pz.py index 43528ad..5298055 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_pz.py +++ b/field-manager-python-client/field_manager_python_client/models/method_pz.py @@ -53,7 +53,7 @@ class MethodPZ: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. depth_top (float | None | Unset): depth_base (float | None | Unset): distance_over_terrain (float | None | Unset): diff --git a/field-manager-python-client/field_manager_python_client/models/method_rcd.py b/field-manager-python-client/field_manager_python_client/models/method_rcd.py index 6d02d18..7aeb9bf 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_rcd.py +++ b/field-manager-python-client/field_manager_python_client/models/method_rcd.py @@ -43,7 +43,7 @@ class MethodRCD: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. stopcode (int | None | Unset): depth_top (float | None | Unset): depth_base (float | None | Unset): diff --git a/field-manager-python-client/field_manager_python_client/models/method_ro.py b/field-manager-python-client/field_manager_python_client/models/method_ro.py index 093650c..ca48c02 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_ro.py +++ b/field-manager-python-client/field_manager_python_client/models/method_ro.py @@ -43,7 +43,7 @@ class MethodRO: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_rp.py b/field-manager-python-client/field_manager_python_client/models/method_rp.py index 1634be2..153e3e9 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_rp.py +++ b/field-manager-python-client/field_manager_python_client/models/method_rp.py @@ -43,7 +43,7 @@ class MethodRP: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. predrilling_depth (float | None | Unset): stopcode (int | None | Unset): depth_top (float | None | Unset): diff --git a/field-manager-python-client/field_manager_python_client/models/method_rs.py b/field-manager-python-client/field_manager_python_client/models/method_rs.py index dcadc55..172fa0e 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_rs.py +++ b/field-manager-python-client/field_manager_python_client/models/method_rs.py @@ -43,7 +43,7 @@ class MethodRS: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_rws.py b/field-manager-python-client/field_manager_python_client/models/method_rws.py index a5f549f..70d1b8e 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_rws.py +++ b/field-manager-python-client/field_manager_python_client/models/method_rws.py @@ -43,7 +43,7 @@ class MethodRWS: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_sa.py b/field-manager-python-client/field_manager_python_client/models/method_sa.py index f406e7e..5c7d953 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_sa.py +++ b/field-manager-python-client/field_manager_python_client/models/method_sa.py @@ -42,7 +42,8 @@ class MethodSA: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. + predrilling_depth (float | None | Unset): depth_top (float | None | Unset): Depth top (m). depth_base (float | None | Unset): Depth base (m). length (float | None | Unset): @@ -70,6 +71,7 @@ class MethodSA: conducted_by: None | str | Unset = UNSET files: list[File] | Unset = UNSET self_: None | str | Unset = UNSET + predrilling_depth: float | None | Unset = UNSET depth_top: float | None | Unset = UNSET depth_base: float | None | Unset = UNSET length: float | None | Unset = UNSET @@ -142,6 +144,12 @@ def to_dict(self) -> dict[str, Any]: else: self_ = self.self_ + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -228,6 +236,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["files"] = files if self_ is not UNSET: field_dict["self"] = self_ + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: @@ -343,6 +353,15 @@ def _parse_self_(data: object) -> None | str | Unset: self_ = _parse_self_(d.pop("self", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | Unset: if data is None: return data @@ -441,6 +460,7 @@ def _parse_is_disturbed(data: object) -> bool | None | Unset: conducted_by=conducted_by, files=files, self_=self_, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, length=length, diff --git a/field-manager-python-client/field_manager_python_client/models/method_sa_create.py b/field-manager-python-client/field_manager_python_client/models/method_sa_create.py index 9df7898..e377ef1 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_sa_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_sa_create.py @@ -36,6 +36,7 @@ class MethodSACreate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[4] | Unset): Default: 4. + predrilling_depth (float | None | str | Unset): depth_top (float | None | str | Unset): depth_base (float | None | str | Unset): diameter (float | None | str | Unset): @@ -57,6 +58,7 @@ class MethodSACreate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[4] | Unset = 4 + predrilling_depth: float | None | str | Unset = UNSET depth_top: float | None | str | Unset = UNSET depth_base: float | None | str | Unset = UNSET diameter: float | None | str | Unset = UNSET @@ -132,6 +134,12 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | str | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -203,6 +211,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: @@ -343,6 +353,15 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 4 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 4, got '{method_type_id}'") + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | str | Unset: if data is None: return data @@ -420,6 +439,7 @@ def _parse_sampling_technique_id(data: object) -> int | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, diameter=diameter, diff --git a/field-manager-python-client/field_manager_python_client/models/method_sa_update.py b/field-manager-python-client/field_manager_python_client/models/method_sa_update.py index cd6ec0e..a384b53 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_sa_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_sa_update.py @@ -28,6 +28,7 @@ class MethodSAUpdate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[4] | Unset): Default: 4. + predrilling_depth (float | None | str | Unset): depth_top (float | None | str | Unset): depth_base (float | None | str | Unset): diameter (float | None | str | Unset): @@ -47,6 +48,7 @@ class MethodSAUpdate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[4] | Unset = 4 + predrilling_depth: float | None | str | Unset = UNSET depth_top: float | None | str | Unset = UNSET depth_base: float | None | str | Unset = UNSET diameter: float | None | str | Unset = UNSET @@ -116,6 +118,12 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | str | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -183,6 +191,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: @@ -314,6 +324,15 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 4 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 4, got '{method_type_id}'") + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | str | Unset: if data is None: return data @@ -389,6 +408,7 @@ def _parse_sampling_technique_id(data: object) -> int | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, diameter=diameter, diff --git a/field-manager-python-client/field_manager_python_client/models/method_slb.py b/field-manager-python-client/field_manager_python_client/models/method_slb.py index af1975c..eda5fb5 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_slb.py +++ b/field-manager-python-client/field_manager_python_client/models/method_slb.py @@ -43,7 +43,12 @@ class MethodSLB: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. + water_level (float | None | Unset): + predrilling_depth (float | None | Unset): + depth_top (float | None | Unset): + depth_base (float | None | Unset): + stopcode (int | None | Unset): """ method_id: UUID @@ -60,6 +65,11 @@ class MethodSLB: conducted_by: None | str | Unset = UNSET files: list[File] | Unset = UNSET self_: None | str | Unset = UNSET + water_level: float | None | Unset = UNSET + predrilling_depth: float | None | Unset = UNSET + depth_top: float | None | Unset = UNSET + depth_base: float | None | Unset = UNSET + stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -122,6 +132,36 @@ def to_dict(self) -> dict[str, Any]: else: self_ = self.self_ + water_level: float | None | Unset + if isinstance(self.water_level, Unset): + water_level = UNSET + else: + water_level = self.water_level + + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + + depth_top: float | None | Unset + if isinstance(self.depth_top, Unset): + depth_top = UNSET + else: + depth_top = self.depth_top + + depth_base: float | None | Unset + if isinstance(self.depth_base, Unset): + depth_base = UNSET + else: + depth_base = self.depth_base + + stopcode: int | None | Unset + if isinstance(self.stopcode, Unset): + stopcode = UNSET + else: + stopcode = self.stopcode + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -150,6 +190,16 @@ def to_dict(self) -> dict[str, Any]: field_dict["files"] = files if self_ is not UNSET: field_dict["self"] = self_ + if water_level is not UNSET: + field_dict["water_level"] = water_level + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth + if depth_top is not UNSET: + field_dict["depth_top"] = depth_top + if depth_base is not UNSET: + field_dict["depth_base"] = depth_base + if stopcode is not UNSET: + field_dict["stopcode"] = stopcode return field_dict @@ -245,6 +295,51 @@ def _parse_self_(data: object) -> None | str | Unset: self_ = _parse_self_(d.pop("self", UNSET)) + def _parse_water_level(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + water_level = _parse_water_level(d.pop("water_level", UNSET)) + + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + + def _parse_depth_top(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + depth_top = _parse_depth_top(d.pop("depth_top", UNSET)) + + def _parse_depth_base(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + depth_base = _parse_depth_base(d.pop("depth_base", UNSET)) + + def _parse_stopcode(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + stopcode = _parse_stopcode(d.pop("stopcode", UNSET)) + method_slb = cls( method_id=method_id, name=name, @@ -260,6 +355,11 @@ def _parse_self_(data: object) -> None | str | Unset: conducted_by=conducted_by, files=files, self_=self_, + water_level=water_level, + predrilling_depth=predrilling_depth, + depth_top=depth_top, + depth_base=depth_base, + stopcode=stopcode, ) method_slb.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_slb_create.py b/field-manager-python-client/field_manager_python_client/models/method_slb_create.py index d1879aa..4d753ab 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_slb_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_slb_create.py @@ -36,6 +36,11 @@ class MethodSLBCreate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[27] | Unset): Default: 27. + water_level (float | None | str | Unset): + predrilling_depth (float | None | str | Unset): + depth_top (float | None | str | Unset): + depth_base (float | None | str | Unset): + stopcode (int | None | Unset): """ method_id: None | Unset | UUID = UNSET @@ -49,6 +54,11 @@ class MethodSLBCreate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[27] | Unset = 27 + water_level: float | None | str | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET + depth_top: float | None | str | Unset = UNSET + depth_base: float | None | str | Unset = UNSET + stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -116,6 +126,36 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + water_level: float | None | str | Unset + if isinstance(self.water_level, Unset): + water_level = UNSET + else: + water_level = self.water_level + + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + + depth_top: float | None | str | Unset + if isinstance(self.depth_top, Unset): + depth_top = UNSET + else: + depth_top = self.depth_top + + depth_base: float | None | str | Unset + if isinstance(self.depth_base, Unset): + depth_base = UNSET + else: + depth_base = self.depth_base + + stopcode: int | None | Unset + if isinstance(self.stopcode, Unset): + stopcode = UNSET + else: + stopcode = self.stopcode + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -141,6 +181,16 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if water_level is not UNSET: + field_dict["water_level"] = water_level + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth + if depth_top is not UNSET: + field_dict["depth_top"] = depth_top + if depth_base is not UNSET: + field_dict["depth_base"] = depth_base + if stopcode is not UNSET: + field_dict["stopcode"] = stopcode return field_dict @@ -265,6 +315,51 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 27 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 27, got '{method_type_id}'") + def _parse_water_level(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + water_level = _parse_water_level(d.pop("water_level", UNSET)) + + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + + def _parse_depth_top(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + depth_top = _parse_depth_top(d.pop("depth_top", UNSET)) + + def _parse_depth_base(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + depth_base = _parse_depth_base(d.pop("depth_base", UNSET)) + + def _parse_stopcode(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + stopcode = _parse_stopcode(d.pop("stopcode", UNSET)) + method_slb_create = cls( method_id=method_id, name=name, @@ -277,6 +372,11 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + water_level=water_level, + predrilling_depth=predrilling_depth, + depth_top=depth_top, + depth_base=depth_base, + stopcode=stopcode, ) method_slb_create.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_slb_data.py b/field-manager-python-client/field_manager_python_client/models/method_slb_data.py new file mode 100644 index 0000000..ebd208a --- /dev/null +++ b/field-manager-python-client/field_manager_python_client/models/method_slb_data.py @@ -0,0 +1,189 @@ +from __future__ import annotations + +import datetime +from collections.abc import Mapping +from typing import Any, Literal, TypeVar, cast +from uuid import UUID + +from attrs import define as _attrs_define +from attrs import field as _attrs_field +from dateutil.parser import isoparse + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="MethodSLBData") + + +@_attrs_define +class MethodSLBData: + """ + Attributes: + method_data_id (UUID): + method_id (UUID): + created_at (datetime.datetime): + updated_at (datetime.datetime): + depth (float): Depth (m). SGF code D. + method_type_id (Literal[27] | Unset): Default: 27. + penetration_rate (float | None | Unset): Penetration rate (mm/s). SGF code B. + load (float | None | Unset): Load (kN). SGF code W. + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. + """ + + method_data_id: UUID + method_id: UUID + created_at: datetime.datetime + updated_at: datetime.datetime + depth: float + method_type_id: Literal[27] | Unset = 27 + penetration_rate: float | None | Unset = UNSET + load: float | None | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + method_data_id = str(self.method_data_id) + + method_id = str(self.method_id) + + created_at = self.created_at.isoformat() + + updated_at = self.updated_at.isoformat() + + depth = self.depth + + method_type_id = self.method_type_id + + penetration_rate: float | None | Unset + if isinstance(self.penetration_rate, Unset): + penetration_rate = UNSET + else: + penetration_rate = self.penetration_rate + + load: float | None | Unset + if isinstance(self.load, Unset): + load = UNSET + else: + load = self.load + + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "method_data_id": method_data_id, + "method_id": method_id, + "created_at": created_at, + "updated_at": updated_at, + "depth": depth, + } + ) + if method_type_id is not UNSET: + field_dict["method_type_id"] = method_type_id + if penetration_rate is not UNSET: + field_dict["penetration_rate"] = penetration_rate + if load is not UNSET: + field_dict["load"] = load + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + method_data_id = UUID(d.pop("method_data_id")) + + method_id = UUID(d.pop("method_id")) + + created_at = isoparse(d.pop("created_at")) + + updated_at = isoparse(d.pop("updated_at")) + + depth = d.pop("depth") + + method_type_id = cast(Literal[27] | Unset, d.pop("method_type_id", UNSET)) + if method_type_id != 27 and not isinstance(method_type_id, Unset): + raise ValueError(f"method_type_id must match const 27, got '{method_type_id}'") + + def _parse_penetration_rate(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + penetration_rate = _parse_penetration_rate(d.pop("penetration_rate", UNSET)) + + def _parse_load(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + load = _parse_load(d.pop("load", UNSET)) + + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + + method_slb_data = cls( + method_data_id=method_data_id, + method_id=method_id, + created_at=created_at, + updated_at=updated_at, + depth=depth, + method_type_id=method_type_id, + penetration_rate=penetration_rate, + load=load, + remarks=remarks, + comment_code=comment_code, + ) + + method_slb_data.additional_properties = d + return method_slb_data + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/field-manager-python-client/field_manager_python_client/models/method_slb_data_create.py b/field-manager-python-client/field_manager_python_client/models/method_slb_data_create.py new file mode 100644 index 0000000..105f272 --- /dev/null +++ b/field-manager-python-client/field_manager_python_client/models/method_slb_data_create.py @@ -0,0 +1,262 @@ +from __future__ import annotations + +import datetime +from collections.abc import Mapping +from typing import Any, Literal, TypeVar, cast +from uuid import UUID + +from attrs import define as _attrs_define +from attrs import field as _attrs_field +from dateutil.parser import isoparse + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="MethodSLBDataCreate") + + +@_attrs_define +class MethodSLBDataCreate: + """ + Attributes: + depth (float | str): Depth (m). SGF code D. + method_data_id (None | Unset | UUID): + method_id (None | Unset | UUID): + method_type_id (Literal[27] | Unset): Default: 27. + created_at (datetime.datetime | None | Unset): + updated_at (datetime.datetime | None | Unset): + penetration_rate (float | None | str | Unset): Penetration rate (mm/s). SGF code B. + load (float | None | str | Unset): Load (kN). SGF code W. + remarks (None | str | Unset): Remarks. SGF code T + """ + + depth: float | str + method_data_id: None | Unset | UUID = UNSET + method_id: None | Unset | UUID = UNSET + method_type_id: Literal[27] | Unset = 27 + created_at: datetime.datetime | None | Unset = UNSET + updated_at: datetime.datetime | None | Unset = UNSET + penetration_rate: float | None | str | Unset = UNSET + load: float | None | str | Unset = UNSET + remarks: None | str | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + depth: float | str + depth = self.depth + + method_data_id: None | str | Unset + if isinstance(self.method_data_id, Unset): + method_data_id = UNSET + elif isinstance(self.method_data_id, UUID): + method_data_id = str(self.method_data_id) + else: + method_data_id = self.method_data_id + + method_id: None | str | Unset + if isinstance(self.method_id, Unset): + method_id = UNSET + elif isinstance(self.method_id, UUID): + method_id = str(self.method_id) + else: + method_id = self.method_id + + method_type_id = self.method_type_id + + created_at: None | str | Unset + if isinstance(self.created_at, Unset): + created_at = UNSET + elif isinstance(self.created_at, datetime.datetime): + created_at = self.created_at.isoformat() + else: + created_at = self.created_at + + updated_at: None | str | Unset + if isinstance(self.updated_at, Unset): + updated_at = UNSET + elif isinstance(self.updated_at, datetime.datetime): + updated_at = self.updated_at.isoformat() + else: + updated_at = self.updated_at + + penetration_rate: float | None | str | Unset + if isinstance(self.penetration_rate, Unset): + penetration_rate = UNSET + else: + penetration_rate = self.penetration_rate + + load: float | None | str | Unset + if isinstance(self.load, Unset): + load = UNSET + else: + load = self.load + + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "depth": depth, + } + ) + if method_data_id is not UNSET: + field_dict["method_data_id"] = method_data_id + if method_id is not UNSET: + field_dict["method_id"] = method_id + if method_type_id is not UNSET: + field_dict["method_type_id"] = method_type_id + if created_at is not UNSET: + field_dict["created_at"] = created_at + if updated_at is not UNSET: + field_dict["updated_at"] = updated_at + if penetration_rate is not UNSET: + field_dict["penetration_rate"] = penetration_rate + if load is not UNSET: + field_dict["load"] = load + if remarks is not UNSET: + field_dict["remarks"] = remarks + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + + def _parse_depth(data: object) -> float | str: + return cast(float | str, data) + + depth = _parse_depth(d.pop("depth")) + + def _parse_method_data_id(data: object) -> None | Unset | UUID: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + method_data_id_type_0 = UUID(data) + + return method_data_id_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(None | Unset | UUID, data) + + method_data_id = _parse_method_data_id(d.pop("method_data_id", UNSET)) + + def _parse_method_id(data: object) -> None | Unset | UUID: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + method_id_type_0 = UUID(data) + + return method_id_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(None | Unset | UUID, data) + + method_id = _parse_method_id(d.pop("method_id", UNSET)) + + method_type_id = cast(Literal[27] | Unset, d.pop("method_type_id", UNSET)) + if method_type_id != 27 and not isinstance(method_type_id, Unset): + raise ValueError(f"method_type_id must match const 27, got '{method_type_id}'") + + def _parse_created_at(data: object) -> datetime.datetime | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + created_at_type_0 = isoparse(data) + + return created_at_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(datetime.datetime | None | Unset, data) + + created_at = _parse_created_at(d.pop("created_at", UNSET)) + + def _parse_updated_at(data: object) -> datetime.datetime | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + updated_at_type_0 = isoparse(data) + + return updated_at_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(datetime.datetime | None | Unset, data) + + updated_at = _parse_updated_at(d.pop("updated_at", UNSET)) + + def _parse_penetration_rate(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + penetration_rate = _parse_penetration_rate(d.pop("penetration_rate", UNSET)) + + def _parse_load(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + load = _parse_load(d.pop("load", UNSET)) + + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + method_slb_data_create = cls( + depth=depth, + method_data_id=method_data_id, + method_id=method_id, + method_type_id=method_type_id, + created_at=created_at, + updated_at=updated_at, + penetration_rate=penetration_rate, + load=load, + remarks=remarks, + ) + + method_slb_data_create.additional_properties = d + return method_slb_data_create + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/field-manager-python-client/field_manager_python_client/models/method_slb_data_update.py b/field-manager-python-client/field_manager_python_client/models/method_slb_data_update.py new file mode 100644 index 0000000..5c51456 --- /dev/null +++ b/field-manager-python-client/field_manager_python_client/models/method_slb_data_update.py @@ -0,0 +1,84 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any, Literal, TypeVar, cast + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="MethodSLBDataUpdate") + + +@_attrs_define +class MethodSLBDataUpdate: + """Method SLB data update structure + + Attributes: + method_type_id (Literal[27] | Unset): Default: 27. + remarks (None | str | Unset): + """ + + method_type_id: Literal[27] | Unset = 27 + remarks: None | str | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + method_type_id = self.method_type_id + + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if method_type_id is not UNSET: + field_dict["method_type_id"] = method_type_id + if remarks is not UNSET: + field_dict["remarks"] = remarks + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + method_type_id = cast(Literal[27] | Unset, d.pop("method_type_id", UNSET)) + if method_type_id != 27 and not isinstance(method_type_id, Unset): + raise ValueError(f"method_type_id must match const 27, got '{method_type_id}'") + + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + method_slb_data_update = cls( + method_type_id=method_type_id, + remarks=remarks, + ) + + method_slb_data_update.additional_properties = d + return method_slb_data_update + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/field-manager-python-client/field_manager_python_client/models/method_slb_update.py b/field-manager-python-client/field_manager_python_client/models/method_slb_update.py index c029664..6b189a3 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_slb_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_slb_update.py @@ -28,6 +28,11 @@ class MethodSLBUpdate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[27] | Unset): Default: 27. + predrilling_depth (float | None | str | Unset): + water_level (float | None | str | Unset): + depth_top (float | None | str | Unset): + depth_base (float | None | str | Unset): + stopcode (int | None | Unset): """ method_id: None | Unset | UUID = UNSET @@ -39,6 +44,11 @@ class MethodSLBUpdate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[27] | Unset = 27 + predrilling_depth: float | None | str | Unset = UNSET + water_level: float | None | str | Unset = UNSET + depth_top: float | None | str | Unset = UNSET + depth_base: float | None | str | Unset = UNSET + stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -100,6 +110,36 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + + water_level: float | None | str | Unset + if isinstance(self.water_level, Unset): + water_level = UNSET + else: + water_level = self.water_level + + depth_top: float | None | str | Unset + if isinstance(self.depth_top, Unset): + depth_top = UNSET + else: + depth_top = self.depth_top + + depth_base: float | None | str | Unset + if isinstance(self.depth_base, Unset): + depth_base = UNSET + else: + depth_base = self.depth_base + + stopcode: int | None | Unset + if isinstance(self.stopcode, Unset): + stopcode = UNSET + else: + stopcode = self.stopcode + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -121,6 +161,16 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth + if water_level is not UNSET: + field_dict["water_level"] = water_level + if depth_top is not UNSET: + field_dict["depth_top"] = depth_top + if depth_base is not UNSET: + field_dict["depth_base"] = depth_base + if stopcode is not UNSET: + field_dict["stopcode"] = stopcode return field_dict @@ -236,6 +286,51 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 27 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 27, got '{method_type_id}'") + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + + def _parse_water_level(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + water_level = _parse_water_level(d.pop("water_level", UNSET)) + + def _parse_depth_top(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + depth_top = _parse_depth_top(d.pop("depth_top", UNSET)) + + def _parse_depth_base(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + depth_base = _parse_depth_base(d.pop("depth_base", UNSET)) + + def _parse_stopcode(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + stopcode = _parse_stopcode(d.pop("stopcode", UNSET)) + method_slb_update = cls( method_id=method_id, name=name, @@ -246,6 +341,11 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + predrilling_depth=predrilling_depth, + water_level=water_level, + depth_top=depth_top, + depth_base=depth_base, + stopcode=stopcode, ) method_slb_update.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_spt.py b/field-manager-python-client/field_manager_python_client/models/method_spt.py index 19f6590..d46d5ef 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_spt.py +++ b/field-manager-python-client/field_manager_python_client/models/method_spt.py @@ -43,7 +43,7 @@ class MethodSPT: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_srs.py b/field-manager-python-client/field_manager_python_client/models/method_srs.py index ec7db63..97199c3 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_srs.py +++ b/field-manager-python-client/field_manager_python_client/models/method_srs.py @@ -45,11 +45,12 @@ class MethodSRS: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. sounding_class (None | SoundingClass | Unset): serial_number (None | str | Unset): calibration_date (datetime.datetime | None | Unset): conversion_factor (float | None | Unset): + predrilling_depth (float | None | Unset): depth_top (float | None | Unset): depth_base (float | None | Unset): stopcode (int | None | Unset): @@ -76,6 +77,7 @@ class MethodSRS: serial_number: None | str | Unset = UNSET calibration_date: datetime.datetime | None | Unset = UNSET conversion_factor: float | None | Unset = UNSET + predrilling_depth: float | None | Unset = UNSET depth_top: float | None | Unset = UNSET depth_base: float | None | Unset = UNSET stopcode: int | None | Unset = UNSET @@ -172,6 +174,12 @@ def to_dict(self) -> dict[str, Any]: else: conversion_factor = self.conversion_factor + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -244,6 +252,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["calibration_date"] = calibration_date if conversion_factor is not UNSET: field_dict["conversion_factor"] = conversion_factor + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: @@ -403,6 +413,15 @@ def _parse_conversion_factor(data: object) -> float | None | Unset: conversion_factor = _parse_conversion_factor(d.pop("conversion_factor", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | Unset: if data is None: return data @@ -476,6 +495,7 @@ def _parse_bedrock_elevation(data: object) -> float | None | Unset: serial_number=serial_number, calibration_date=calibration_date, conversion_factor=conversion_factor, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, stopcode=stopcode, diff --git a/field-manager-python-client/field_manager_python_client/models/method_srs_create.py b/field-manager-python-client/field_manager_python_client/models/method_srs_create.py index 1792ce1..7689343 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_srs_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_srs_create.py @@ -47,6 +47,7 @@ class MethodSRSCreate: serial_number (None | str | Unset): calibration_date (datetime.datetime | None | Unset): conversion_factor (float | None | str | Unset): + predrilling_depth (float | None | str | Unset): """ method_id: None | Unset | UUID = UNSET @@ -64,6 +65,7 @@ class MethodSRSCreate: serial_number: None | str | Unset = UNSET calibration_date: datetime.datetime | None | Unset = UNSET conversion_factor: float | None | str | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -155,6 +157,12 @@ def to_dict(self) -> dict[str, Any]: else: conversion_factor = self.conversion_factor + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -188,6 +196,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["calibration_date"] = calibration_date if conversion_factor is not UNSET: field_dict["conversion_factor"] = conversion_factor + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth return field_dict @@ -354,6 +364,15 @@ def _parse_conversion_factor(data: object) -> float | None | str | Unset: conversion_factor = _parse_conversion_factor(d.pop("conversion_factor", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + method_srs_create = cls( method_id=method_id, name=name, @@ -370,6 +389,7 @@ def _parse_conversion_factor(data: object) -> float | None | str | Unset: serial_number=serial_number, calibration_date=calibration_date, conversion_factor=conversion_factor, + predrilling_depth=predrilling_depth, ) method_srs_create.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_srs_update.py b/field-manager-python-client/field_manager_python_client/models/method_srs_update.py index 654ac83..9129bc3 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_srs_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_srs_update.py @@ -33,6 +33,7 @@ class MethodSRSUpdate: serial_number (None | str | Unset): calibration_date (datetime.datetime | None | Unset): conversion_factor (float | None | str | Unset): + predrilling_depth (float | None | str | Unset): """ method_id: None | Unset | UUID = UNSET @@ -48,6 +49,7 @@ class MethodSRSUpdate: serial_number: None | str | Unset = UNSET calibration_date: datetime.datetime | None | Unset = UNSET conversion_factor: float | None | str | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -137,6 +139,12 @@ def to_dict(self) -> dict[str, Any]: else: conversion_factor = self.conversion_factor + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -166,6 +174,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["calibration_date"] = calibration_date if conversion_factor is not UNSET: field_dict["conversion_factor"] = conversion_factor + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth return field_dict @@ -333,6 +343,15 @@ def _parse_conversion_factor(data: object) -> float | None | str | Unset: conversion_factor = _parse_conversion_factor(d.pop("conversion_factor", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + method_srs_update = cls( method_id=method_id, name=name, @@ -347,6 +366,7 @@ def _parse_conversion_factor(data: object) -> float | None | str | Unset: serial_number=serial_number, calibration_date=calibration_date, conversion_factor=conversion_factor, + predrilling_depth=predrilling_depth, ) method_srs_update.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_ss.py b/field-manager-python-client/field_manager_python_client/models/method_ss.py index b23bf09..e6f32f3 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_ss.py +++ b/field-manager-python-client/field_manager_python_client/models/method_ss.py @@ -43,7 +43,8 @@ class MethodSS: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. + predrilling_depth (float | None | Unset): depth_top (float | None | Unset): depth_base (float | None | Unset): stopcode (int | None | Unset): @@ -63,6 +64,7 @@ class MethodSS: conducted_by: None | str | Unset = UNSET files: list[File] | Unset = UNSET self_: None | str | Unset = UNSET + predrilling_depth: float | None | Unset = UNSET depth_top: float | None | Unset = UNSET depth_base: float | None | Unset = UNSET stopcode: int | None | Unset = UNSET @@ -128,6 +130,12 @@ def to_dict(self) -> dict[str, Any]: else: self_ = self.self_ + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -174,6 +182,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["files"] = files if self_ is not UNSET: field_dict["self"] = self_ + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: @@ -275,6 +285,15 @@ def _parse_self_(data: object) -> None | str | Unset: self_ = _parse_self_(d.pop("self", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | Unset: if data is None: return data @@ -317,6 +336,7 @@ def _parse_stopcode(data: object) -> int | None | Unset: conducted_by=conducted_by, files=files, self_=self_, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, stopcode=stopcode, diff --git a/field-manager-python-client/field_manager_python_client/models/method_ss_create.py b/field-manager-python-client/field_manager_python_client/models/method_ss_create.py index 61e3970..48ed320 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_ss_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_ss_create.py @@ -36,6 +36,7 @@ class MethodSSCreate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[6] | Unset): Default: 6. + predrilling_depth (float | None | str | Unset): stopcode (int | None | Unset): """ @@ -50,6 +51,7 @@ class MethodSSCreate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[6] | Unset = 6 + predrilling_depth: float | None | str | Unset = UNSET stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -118,6 +120,12 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + stopcode: int | None | Unset if isinstance(self.stopcode, Unset): stopcode = UNSET @@ -149,6 +157,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if stopcode is not UNSET: field_dict["stopcode"] = stopcode @@ -275,6 +285,15 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 6 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 6, got '{method_type_id}'") + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_stopcode(data: object) -> int | None | Unset: if data is None: return data @@ -296,6 +315,7 @@ def _parse_stopcode(data: object) -> int | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + predrilling_depth=predrilling_depth, stopcode=stopcode, ) diff --git a/field-manager-python-client/field_manager_python_client/models/method_ss_update.py b/field-manager-python-client/field_manager_python_client/models/method_ss_update.py index df263e3..0c49bc7 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_ss_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_ss_update.py @@ -28,6 +28,7 @@ class MethodSSUpdate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[6] | Unset): Default: 6. + predrilling_depth (float | None | str | Unset): stopcode (int | None | Unset): """ @@ -40,6 +41,7 @@ class MethodSSUpdate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[6] | Unset = 6 + predrilling_depth: float | None | str | Unset = UNSET stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -102,6 +104,12 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + stopcode: int | None | Unset if isinstance(self.stopcode, Unset): stopcode = UNSET @@ -129,6 +137,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if stopcode is not UNSET: field_dict["stopcode"] = stopcode @@ -246,6 +256,15 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 6 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 6, got '{method_type_id}'") + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_stopcode(data: object) -> int | None | Unset: if data is None: return data @@ -265,6 +284,7 @@ def _parse_stopcode(data: object) -> int | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + predrilling_depth=predrilling_depth, stopcode=stopcode, ) diff --git a/field-manager-python-client/field_manager_python_client/models/method_sti.py b/field-manager-python-client/field_manager_python_client/models/method_sti.py index b63bd9b..9f63e4e 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_sti.py +++ b/field-manager-python-client/field_manager_python_client/models/method_sti.py @@ -43,7 +43,12 @@ class MethodSTI: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. + water_level (float | None | Unset): Water surface below ground surface (m) + predrilling_depth (float | None | Unset): + depth_top (float | None | Unset): + depth_base (float | None | Unset): + stopcode (int | None | Unset): """ method_id: UUID @@ -60,6 +65,11 @@ class MethodSTI: conducted_by: None | str | Unset = UNSET files: list[File] | Unset = UNSET self_: None | str | Unset = UNSET + water_level: float | None | Unset = UNSET + predrilling_depth: float | None | Unset = UNSET + depth_top: float | None | Unset = UNSET + depth_base: float | None | Unset = UNSET + stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -122,6 +132,36 @@ def to_dict(self) -> dict[str, Any]: else: self_ = self.self_ + water_level: float | None | Unset + if isinstance(self.water_level, Unset): + water_level = UNSET + else: + water_level = self.water_level + + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + + depth_top: float | None | Unset + if isinstance(self.depth_top, Unset): + depth_top = UNSET + else: + depth_top = self.depth_top + + depth_base: float | None | Unset + if isinstance(self.depth_base, Unset): + depth_base = UNSET + else: + depth_base = self.depth_base + + stopcode: int | None | Unset + if isinstance(self.stopcode, Unset): + stopcode = UNSET + else: + stopcode = self.stopcode + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -150,6 +190,16 @@ def to_dict(self) -> dict[str, Any]: field_dict["files"] = files if self_ is not UNSET: field_dict["self"] = self_ + if water_level is not UNSET: + field_dict["water_level"] = water_level + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth + if depth_top is not UNSET: + field_dict["depth_top"] = depth_top + if depth_base is not UNSET: + field_dict["depth_base"] = depth_base + if stopcode is not UNSET: + field_dict["stopcode"] = stopcode return field_dict @@ -245,6 +295,51 @@ def _parse_self_(data: object) -> None | str | Unset: self_ = _parse_self_(d.pop("self", UNSET)) + def _parse_water_level(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + water_level = _parse_water_level(d.pop("water_level", UNSET)) + + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + + def _parse_depth_top(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + depth_top = _parse_depth_top(d.pop("depth_top", UNSET)) + + def _parse_depth_base(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + depth_base = _parse_depth_base(d.pop("depth_base", UNSET)) + + def _parse_stopcode(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + stopcode = _parse_stopcode(d.pop("stopcode", UNSET)) + method_sti = cls( method_id=method_id, name=name, @@ -260,6 +355,11 @@ def _parse_self_(data: object) -> None | str | Unset: conducted_by=conducted_by, files=files, self_=self_, + water_level=water_level, + predrilling_depth=predrilling_depth, + depth_top=depth_top, + depth_base=depth_base, + stopcode=stopcode, ) method_sti.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_sti_create.py b/field-manager-python-client/field_manager_python_client/models/method_sti_create.py index 11ee9df..9da8064 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_sti_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_sti_create.py @@ -36,6 +36,11 @@ class MethodSTICreate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[28] | Unset): Default: 28. + water_level (float | None | str | Unset): + predrilling_depth (float | None | str | Unset): + depth_top (float | None | str | Unset): + depth_base (float | None | str | Unset): + stopcode (int | None | Unset): """ method_id: None | Unset | UUID = UNSET @@ -49,6 +54,11 @@ class MethodSTICreate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[28] | Unset = 28 + water_level: float | None | str | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET + depth_top: float | None | str | Unset = UNSET + depth_base: float | None | str | Unset = UNSET + stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -116,6 +126,36 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + water_level: float | None | str | Unset + if isinstance(self.water_level, Unset): + water_level = UNSET + else: + water_level = self.water_level + + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + + depth_top: float | None | str | Unset + if isinstance(self.depth_top, Unset): + depth_top = UNSET + else: + depth_top = self.depth_top + + depth_base: float | None | str | Unset + if isinstance(self.depth_base, Unset): + depth_base = UNSET + else: + depth_base = self.depth_base + + stopcode: int | None | Unset + if isinstance(self.stopcode, Unset): + stopcode = UNSET + else: + stopcode = self.stopcode + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -141,6 +181,16 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if water_level is not UNSET: + field_dict["water_level"] = water_level + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth + if depth_top is not UNSET: + field_dict["depth_top"] = depth_top + if depth_base is not UNSET: + field_dict["depth_base"] = depth_base + if stopcode is not UNSET: + field_dict["stopcode"] = stopcode return field_dict @@ -265,6 +315,51 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 28 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 28, got '{method_type_id}'") + def _parse_water_level(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + water_level = _parse_water_level(d.pop("water_level", UNSET)) + + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + + def _parse_depth_top(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + depth_top = _parse_depth_top(d.pop("depth_top", UNSET)) + + def _parse_depth_base(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + depth_base = _parse_depth_base(d.pop("depth_base", UNSET)) + + def _parse_stopcode(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + stopcode = _parse_stopcode(d.pop("stopcode", UNSET)) + method_sti_create = cls( method_id=method_id, name=name, @@ -277,6 +372,11 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + water_level=water_level, + predrilling_depth=predrilling_depth, + depth_top=depth_top, + depth_base=depth_base, + stopcode=stopcode, ) method_sti_create.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_sti_data.py b/field-manager-python-client/field_manager_python_client/models/method_sti_data.py new file mode 100644 index 0000000..e6ed909 --- /dev/null +++ b/field-manager-python-client/field_manager_python_client/models/method_sti_data.py @@ -0,0 +1,149 @@ +from __future__ import annotations + +import datetime +from collections.abc import Mapping +from typing import Any, Literal, TypeVar, cast +from uuid import UUID + +from attrs import define as _attrs_define +from attrs import field as _attrs_field +from dateutil.parser import isoparse + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="MethodSTIData") + + +@_attrs_define +class MethodSTIData: + """ + Attributes: + method_data_id (UUID): + method_id (UUID): + created_at (datetime.datetime): + updated_at (datetime.datetime): + depth (float): Depth (m). SGF code D. + method_type_id (Literal[28] | Unset): Default: 28. + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. + """ + + method_data_id: UUID + method_id: UUID + created_at: datetime.datetime + updated_at: datetime.datetime + depth: float + method_type_id: Literal[28] | Unset = 28 + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + method_data_id = str(self.method_data_id) + + method_id = str(self.method_id) + + created_at = self.created_at.isoformat() + + updated_at = self.updated_at.isoformat() + + depth = self.depth + + method_type_id = self.method_type_id + + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "method_data_id": method_data_id, + "method_id": method_id, + "created_at": created_at, + "updated_at": updated_at, + "depth": depth, + } + ) + if method_type_id is not UNSET: + field_dict["method_type_id"] = method_type_id + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + method_data_id = UUID(d.pop("method_data_id")) + + method_id = UUID(d.pop("method_id")) + + created_at = isoparse(d.pop("created_at")) + + updated_at = isoparse(d.pop("updated_at")) + + depth = d.pop("depth") + + method_type_id = cast(Literal[28] | Unset, d.pop("method_type_id", UNSET)) + if method_type_id != 28 and not isinstance(method_type_id, Unset): + raise ValueError(f"method_type_id must match const 28, got '{method_type_id}'") + + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + + method_sti_data = cls( + method_data_id=method_data_id, + method_id=method_id, + created_at=created_at, + updated_at=updated_at, + depth=depth, + method_type_id=method_type_id, + remarks=remarks, + comment_code=comment_code, + ) + + method_sti_data.additional_properties = d + return method_sti_data + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/field-manager-python-client/field_manager_python_client/models/method_sti_data_create.py b/field-manager-python-client/field_manager_python_client/models/method_sti_data_create.py new file mode 100644 index 0000000..2bf86a0 --- /dev/null +++ b/field-manager-python-client/field_manager_python_client/models/method_sti_data_create.py @@ -0,0 +1,242 @@ +from __future__ import annotations + +import datetime +from collections.abc import Mapping +from typing import Any, Literal, TypeVar, cast +from uuid import UUID + +from attrs import define as _attrs_define +from attrs import field as _attrs_field +from dateutil.parser import isoparse + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="MethodSTIDataCreate") + + +@_attrs_define +class MethodSTIDataCreate: + """ + Attributes: + depth (float | str): Depth (m). SGF code D. + method_data_id (None | Unset | UUID): + method_id (None | Unset | UUID): + method_type_id (Literal[28] | Unset): Default: 28. + created_at (datetime.datetime | None | Unset): + updated_at (datetime.datetime | None | Unset): + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. + """ + + depth: float | str + method_data_id: None | Unset | UUID = UNSET + method_id: None | Unset | UUID = UNSET + method_type_id: Literal[28] | Unset = 28 + created_at: datetime.datetime | None | Unset = UNSET + updated_at: datetime.datetime | None | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + depth: float | str + depth = self.depth + + method_data_id: None | str | Unset + if isinstance(self.method_data_id, Unset): + method_data_id = UNSET + elif isinstance(self.method_data_id, UUID): + method_data_id = str(self.method_data_id) + else: + method_data_id = self.method_data_id + + method_id: None | str | Unset + if isinstance(self.method_id, Unset): + method_id = UNSET + elif isinstance(self.method_id, UUID): + method_id = str(self.method_id) + else: + method_id = self.method_id + + method_type_id = self.method_type_id + + created_at: None | str | Unset + if isinstance(self.created_at, Unset): + created_at = UNSET + elif isinstance(self.created_at, datetime.datetime): + created_at = self.created_at.isoformat() + else: + created_at = self.created_at + + updated_at: None | str | Unset + if isinstance(self.updated_at, Unset): + updated_at = UNSET + elif isinstance(self.updated_at, datetime.datetime): + updated_at = self.updated_at.isoformat() + else: + updated_at = self.updated_at + + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update( + { + "depth": depth, + } + ) + if method_data_id is not UNSET: + field_dict["method_data_id"] = method_data_id + if method_id is not UNSET: + field_dict["method_id"] = method_id + if method_type_id is not UNSET: + field_dict["method_type_id"] = method_type_id + if created_at is not UNSET: + field_dict["created_at"] = created_at + if updated_at is not UNSET: + field_dict["updated_at"] = updated_at + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + + def _parse_depth(data: object) -> float | str: + return cast(float | str, data) + + depth = _parse_depth(d.pop("depth")) + + def _parse_method_data_id(data: object) -> None | Unset | UUID: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + method_data_id_type_0 = UUID(data) + + return method_data_id_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(None | Unset | UUID, data) + + method_data_id = _parse_method_data_id(d.pop("method_data_id", UNSET)) + + def _parse_method_id(data: object) -> None | Unset | UUID: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + method_id_type_0 = UUID(data) + + return method_id_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(None | Unset | UUID, data) + + method_id = _parse_method_id(d.pop("method_id", UNSET)) + + method_type_id = cast(Literal[28] | Unset, d.pop("method_type_id", UNSET)) + if method_type_id != 28 and not isinstance(method_type_id, Unset): + raise ValueError(f"method_type_id must match const 28, got '{method_type_id}'") + + def _parse_created_at(data: object) -> datetime.datetime | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + created_at_type_0 = isoparse(data) + + return created_at_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(datetime.datetime | None | Unset, data) + + created_at = _parse_created_at(d.pop("created_at", UNSET)) + + def _parse_updated_at(data: object) -> datetime.datetime | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + try: + if not isinstance(data, str): + raise TypeError() + updated_at_type_0 = isoparse(data) + + return updated_at_type_0 + except (TypeError, ValueError, AttributeError, KeyError): + pass + return cast(datetime.datetime | None | Unset, data) + + updated_at = _parse_updated_at(d.pop("updated_at", UNSET)) + + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + + method_sti_data_create = cls( + depth=depth, + method_data_id=method_data_id, + method_id=method_id, + method_type_id=method_type_id, + created_at=created_at, + updated_at=updated_at, + remarks=remarks, + comment_code=comment_code, + ) + + method_sti_data_create.additional_properties = d + return method_sti_data_create + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/field-manager-python-client/field_manager_python_client/models/method_sti_data_update.py b/field-manager-python-client/field_manager_python_client/models/method_sti_data_update.py new file mode 100644 index 0000000..f614e48 --- /dev/null +++ b/field-manager-python-client/field_manager_python_client/models/method_sti_data_update.py @@ -0,0 +1,103 @@ +from __future__ import annotations + +from collections.abc import Mapping +from typing import Any, Literal, TypeVar, cast + +from attrs import define as _attrs_define +from attrs import field as _attrs_field + +from ..types import UNSET, Unset + +T = TypeVar("T", bound="MethodSTIDataUpdate") + + +@_attrs_define +class MethodSTIDataUpdate: + """ + Attributes: + method_type_id (Literal[28] | Unset): Default: 28. + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. + """ + + method_type_id: Literal[28] | Unset = 28 + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET + additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) + + def to_dict(self) -> dict[str, Any]: + method_type_id = self.method_type_id + + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + + field_dict: dict[str, Any] = {} + field_dict.update(self.additional_properties) + field_dict.update({}) + if method_type_id is not UNSET: + field_dict["method_type_id"] = method_type_id + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code + + return field_dict + + @classmethod + def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + d = dict(src_dict) + method_type_id = cast(Literal[28] | Unset, d.pop("method_type_id", UNSET)) + if method_type_id != 28 and not isinstance(method_type_id, Unset): + raise ValueError(f"method_type_id must match const 28, got '{method_type_id}'") + + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + + method_sti_data_update = cls( + method_type_id=method_type_id, + remarks=remarks, + comment_code=comment_code, + ) + + method_sti_data_update.additional_properties = d + return method_sti_data_update + + @property + def additional_keys(self) -> list[str]: + return list(self.additional_properties.keys()) + + def __getitem__(self, key: str) -> Any: + return self.additional_properties[key] + + def __setitem__(self, key: str, value: Any) -> None: + self.additional_properties[key] = value + + def __delitem__(self, key: str) -> None: + del self.additional_properties[key] + + def __contains__(self, key: str) -> bool: + return key in self.additional_properties diff --git a/field-manager-python-client/field_manager_python_client/models/method_sti_update.py b/field-manager-python-client/field_manager_python_client/models/method_sti_update.py index 8a32905..0eba864 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_sti_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_sti_update.py @@ -28,6 +28,8 @@ class MethodSTIUpdate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[28] | Unset): Default: 28. + water_level (float | None | str | Unset): + predrilling_depth (float | None | str | Unset): """ method_id: None | Unset | UUID = UNSET @@ -39,6 +41,8 @@ class MethodSTIUpdate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[28] | Unset = 28 + water_level: float | None | str | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -100,6 +104,18 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + water_level: float | None | str | Unset + if isinstance(self.water_level, Unset): + water_level = UNSET + else: + water_level = self.water_level + + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -121,6 +137,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if water_level is not UNSET: + field_dict["water_level"] = water_level + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth return field_dict @@ -236,6 +256,24 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 28 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 28, got '{method_type_id}'") + def _parse_water_level(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + water_level = _parse_water_level(d.pop("water_level", UNSET)) + + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + method_sti_update = cls( method_id=method_id, name=name, @@ -246,6 +284,8 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + water_level=water_level, + predrilling_depth=predrilling_depth, ) method_sti_update.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_svt.py b/field-manager-python-client/field_manager_python_client/models/method_svt.py index 048ba94..ee7c096 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_svt.py +++ b/field-manager-python-client/field_manager_python_client/models/method_svt.py @@ -43,11 +43,12 @@ class MethodSVT: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. vane_height (float | None | Unset): Height of the vane used (mm). vane_diameter (float | None | Unset): Diameter of the vane used (mm). serial_number (None | str | Unset): Serial number of the vane used. calibration_date (datetime.datetime | None | Unset): Date of calibration of the vane used. + predrilling_depth (float | None | Unset): depth_top (float | None | Unset): Minimum depth of the data rows (m). depth_base (float | None | Unset): Maximum depth of the data rows (m). """ @@ -70,6 +71,7 @@ class MethodSVT: vane_diameter: float | None | Unset = UNSET serial_number: None | str | Unset = UNSET calibration_date: datetime.datetime | None | Unset = UNSET + predrilling_depth: float | None | Unset = UNSET depth_top: float | None | Unset = UNSET depth_base: float | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -160,6 +162,12 @@ def to_dict(self) -> dict[str, Any]: else: calibration_date = self.calibration_date + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -208,6 +216,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["serial_number"] = serial_number if calibration_date is not UNSET: field_dict["calibration_date"] = calibration_date + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: @@ -351,6 +361,15 @@ def _parse_calibration_date(data: object) -> datetime.datetime | None | Unset: calibration_date = _parse_calibration_date(d.pop("calibration_date", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | Unset: if data is None: return data @@ -388,6 +407,7 @@ def _parse_depth_base(data: object) -> float | None | Unset: vane_diameter=vane_diameter, serial_number=serial_number, calibration_date=calibration_date, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, ) diff --git a/field-manager-python-client/field_manager_python_client/models/method_svt_create.py b/field-manager-python-client/field_manager_python_client/models/method_svt_create.py index e9cb497..208d667 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_svt_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_svt_create.py @@ -42,6 +42,7 @@ class MethodSVTCreate: vane_diameter (float | None | str | Unset): Diameter of the vane used (mm). serial_number (None | str | Unset): Serial number of the vane used. calibration_date (datetime.datetime | None | Unset): Date of calibration of the vane used. + predrilling_depth (float | None | str | Unset): """ method_id: None | Unset | UUID = UNSET @@ -61,6 +62,7 @@ class MethodSVTCreate: vane_diameter: float | None | str | Unset = UNSET serial_number: None | str | Unset = UNSET calibration_date: datetime.datetime | None | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -166,6 +168,12 @@ def to_dict(self) -> dict[str, Any]: else: calibration_date = self.calibration_date + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -203,6 +211,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["serial_number"] = serial_number if calibration_date is not UNSET: field_dict["calibration_date"] = calibration_date + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth return field_dict @@ -389,6 +399,15 @@ def _parse_calibration_date(data: object) -> datetime.datetime | None | Unset: calibration_date = _parse_calibration_date(d.pop("calibration_date", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + method_svt_create = cls( method_id=method_id, name=name, @@ -407,6 +426,7 @@ def _parse_calibration_date(data: object) -> datetime.datetime | None | Unset: vane_diameter=vane_diameter, serial_number=serial_number, calibration_date=calibration_date, + predrilling_depth=predrilling_depth, ) method_svt_create.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_svt_update.py b/field-manager-python-client/field_manager_python_client/models/method_svt_update.py index 78386f4..a4b9089 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_svt_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_svt_update.py @@ -32,6 +32,7 @@ class MethodSVTUpdate: vane_diameter (float | None | str | Unset): Diameter of the vane used (mm). serial_number (None | str | Unset): Serial number of the vane used. calibration_date (datetime.datetime | None | Unset): Date of calibration of the vane used. + predrilling_depth (float | None | str | Unset): depth_top (float | None | str | Unset): depth_base (float | None | str | Unset): """ @@ -49,6 +50,7 @@ class MethodSVTUpdate: vane_diameter: float | None | str | Unset = UNSET serial_number: None | str | Unset = UNSET calibration_date: datetime.datetime | None | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET depth_top: float | None | str | Unset = UNSET depth_base: float | None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -138,6 +140,12 @@ def to_dict(self) -> dict[str, Any]: else: calibration_date = self.calibration_date + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | str | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -179,6 +187,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["serial_number"] = serial_number if calibration_date is not UNSET: field_dict["calibration_date"] = calibration_date + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: @@ -342,6 +352,15 @@ def _parse_calibration_date(data: object) -> datetime.datetime | None | Unset: calibration_date = _parse_calibration_date(d.pop("calibration_date", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | str | Unset: if data is None: return data @@ -374,6 +393,7 @@ def _parse_depth_base(data: object) -> float | None | str | Unset: vane_diameter=vane_diameter, serial_number=serial_number, calibration_date=calibration_date, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, ) diff --git a/field-manager-python-client/field_manager_python_client/models/method_tot.py b/field-manager-python-client/field_manager_python_client/models/method_tot.py index f5be0d5..6072285 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_tot.py +++ b/field-manager-python-client/field_manager_python_client/models/method_tot.py @@ -43,7 +43,7 @@ class MethodTOT: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. predrilling_depth (float | None | Unset): stopcode (int | None | Unset): depth_top (float | None | Unset): diff --git a/field-manager-python-client/field_manager_python_client/models/method_tp.py b/field-manager-python-client/field_manager_python_client/models/method_tp.py index 4cd0f9b..7f869d7 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_tp.py +++ b/field-manager-python-client/field_manager_python_client/models/method_tp.py @@ -43,7 +43,7 @@ class MethodTP: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. """ method_id: UUID diff --git a/field-manager-python-client/field_manager_python_client/models/method_tr.py b/field-manager-python-client/field_manager_python_client/models/method_tr.py index fe930c2..137f268 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_tr.py +++ b/field-manager-python-client/field_manager_python_client/models/method_tr.py @@ -43,7 +43,7 @@ class MethodTR: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. predrilling_depth (float | None | Unset): serial_number (None | str | Unset): depth_top (float | None | Unset): diff --git a/field-manager-python-client/field_manager_python_client/models/method_tr_data.py b/field-manager-python-client/field_manager_python_client/models/method_tr_data.py index 7f48a76..97b0ba0 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_tr_data.py +++ b/field-manager-python-client/field_manager_python_client/models/method_tr_data.py @@ -29,6 +29,8 @@ class MethodTRData: rotation_rate (float | None | Unset): Rotation rate (rpm) rod_friction (float | None | Unset): Rod friction (kN) increased_rotation_rate (bool | Unset): Increased rotation rate + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. """ method_data_id: UUID @@ -42,6 +44,8 @@ class MethodTRData: rotation_rate: float | None | Unset = UNSET rod_friction: float | None | Unset = UNSET increased_rotation_rate: bool | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -83,6 +87,18 @@ def to_dict(self) -> dict[str, Any]: increased_rotation_rate = self.increased_rotation_rate + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -106,6 +122,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["rod_friction"] = rod_friction if increased_rotation_rate is not UNSET: field_dict["increased_rotation_rate"] = increased_rotation_rate + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code return field_dict @@ -164,6 +184,24 @@ def _parse_rod_friction(data: object) -> float | None | Unset: increased_rotation_rate = d.pop("increased_rotation_rate", UNSET) + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + method_tr_data = cls( method_data_id=method_data_id, method_id=method_id, @@ -176,6 +214,8 @@ def _parse_rod_friction(data: object) -> float | None | Unset: rotation_rate=rotation_rate, rod_friction=rod_friction, increased_rotation_rate=increased_rotation_rate, + remarks=remarks, + comment_code=comment_code, ) method_tr_data.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_tr_data_create.py b/field-manager-python-client/field_manager_python_client/models/method_tr_data_create.py index 9bb6e25..9cbeebf 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_tr_data_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_tr_data_create.py @@ -29,6 +29,8 @@ class MethodTRDataCreate: rotation_rate (float | None | str | Unset): Rotation rate (rpm) rod_friction (float | None | str | Unset): Rod friction (kN) increased_rotation_rate (bool | Unset): Increased rotation rate + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. """ depth: float | str @@ -42,6 +44,8 @@ class MethodTRDataCreate: rotation_rate: float | None | str | Unset = UNSET rod_friction: float | None | str | Unset = UNSET increased_rotation_rate: bool | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -108,6 +112,18 @@ def to_dict(self) -> dict[str, Any]: increased_rotation_rate = self.increased_rotation_rate + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -135,6 +151,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["rod_friction"] = rod_friction if increased_rotation_rate is not UNSET: field_dict["increased_rotation_rate"] = increased_rotation_rate + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code return field_dict @@ -257,6 +277,24 @@ def _parse_rod_friction(data: object) -> float | None | str | Unset: increased_rotation_rate = d.pop("increased_rotation_rate", UNSET) + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + method_tr_data_create = cls( depth=depth, method_data_id=method_data_id, @@ -269,6 +307,8 @@ def _parse_rod_friction(data: object) -> float | None | str | Unset: rotation_rate=rotation_rate, rod_friction=rod_friction, increased_rotation_rate=increased_rotation_rate, + remarks=remarks, + comment_code=comment_code, ) method_tr_data_create.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_tr_data_update.py b/field-manager-python-client/field_manager_python_client/models/method_tr_data_update.py index 3ba5ea9..099d8fc 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_tr_data_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_tr_data_update.py @@ -16,79 +16,39 @@ class MethodTRDataUpdate: """ Attributes: method_type_id (Literal[16] | Unset): Default: 16. - depth (float | None | str | Unset): Depth (m). SGF code D. - penetration_rate (float | None | str | Unset): Penetration rate (mm/s) - penetration_force (float | None | str | Unset): Penetration force (kN) - rotation_rate (float | None | str | Unset): Rotation rate (rpm) - rod_friction (float | None | str | Unset): Rod friction (kN) - increased_rotation_rate (bool | None | Unset): Increased rotation rate + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. """ method_type_id: Literal[16] | Unset = 16 - depth: float | None | str | Unset = UNSET - penetration_rate: float | None | str | Unset = UNSET - penetration_force: float | None | str | Unset = UNSET - rotation_rate: float | None | str | Unset = UNSET - rod_friction: float | None | str | Unset = UNSET - increased_rotation_rate: bool | None | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id - depth: float | None | str | Unset - if isinstance(self.depth, Unset): - depth = UNSET + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET else: - depth = self.depth + remarks = self.remarks - penetration_rate: float | None | str | Unset - if isinstance(self.penetration_rate, Unset): - penetration_rate = UNSET + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET else: - penetration_rate = self.penetration_rate - - penetration_force: float | None | str | Unset - if isinstance(self.penetration_force, Unset): - penetration_force = UNSET - else: - penetration_force = self.penetration_force - - rotation_rate: float | None | str | Unset - if isinstance(self.rotation_rate, Unset): - rotation_rate = UNSET - else: - rotation_rate = self.rotation_rate - - rod_friction: float | None | str | Unset - if isinstance(self.rod_friction, Unset): - rod_friction = UNSET - else: - rod_friction = self.rod_friction - - increased_rotation_rate: bool | None | Unset - if isinstance(self.increased_rotation_rate, Unset): - increased_rotation_rate = UNSET - else: - increased_rotation_rate = self.increased_rotation_rate + comment_code = self.comment_code field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id - if depth is not UNSET: - field_dict["depth"] = depth - if penetration_rate is not UNSET: - field_dict["penetration_rate"] = penetration_rate - if penetration_force is not UNSET: - field_dict["penetration_force"] = penetration_force - if rotation_rate is not UNSET: - field_dict["rotation_rate"] = rotation_rate - if rod_friction is not UNSET: - field_dict["rod_friction"] = rod_friction - if increased_rotation_rate is not UNSET: - field_dict["increased_rotation_rate"] = increased_rotation_rate + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code return field_dict @@ -99,68 +59,28 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: if method_type_id != 16 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 16, got '{method_type_id}'") - def _parse_depth(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - depth = _parse_depth(d.pop("depth", UNSET)) - - def _parse_penetration_rate(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - penetration_rate = _parse_penetration_rate(d.pop("penetration_rate", UNSET)) - - def _parse_penetration_force(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - penetration_force = _parse_penetration_force(d.pop("penetration_force", UNSET)) - - def _parse_rotation_rate(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - rotation_rate = _parse_rotation_rate(d.pop("rotation_rate", UNSET)) - - def _parse_rod_friction(data: object) -> float | None | str | Unset: + def _parse_remarks(data: object) -> None | str | Unset: if data is None: return data if isinstance(data, Unset): return data - return cast(float | None | str | Unset, data) + return cast(None | str | Unset, data) - rod_friction = _parse_rod_friction(d.pop("rod_friction", UNSET)) + remarks = _parse_remarks(d.pop("remarks", UNSET)) - def _parse_increased_rotation_rate(data: object) -> bool | None | Unset: + def _parse_comment_code(data: object) -> int | None | Unset: if data is None: return data if isinstance(data, Unset): return data - return cast(bool | None | Unset, data) + return cast(int | None | Unset, data) - increased_rotation_rate = _parse_increased_rotation_rate(d.pop("increased_rotation_rate", UNSET)) + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) method_tr_data_update = cls( method_type_id=method_type_id, - depth=depth, - penetration_rate=penetration_rate, - penetration_force=penetration_force, - rotation_rate=rotation_rate, - rod_friction=rod_friction, - increased_rotation_rate=increased_rotation_rate, + remarks=remarks, + comment_code=comment_code, ) method_tr_data_update.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_wst.py b/field-manager-python-client/field_manager_python_client/models/method_wst.py index 63735f1..636761a 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_wst.py +++ b/field-manager-python-client/field_manager_python_client/models/method_wst.py @@ -50,9 +50,11 @@ class MethodWST: conducted_at (datetime.datetime | None | Unset): conducted_by (None | str | Unset): files (list[File] | Unset): - self_ (None | str | Unset): + self_ (None | str | Unset): Deprecated output only field. Will be removed soon after 2026-01-01. + predrilling_depth (float | None | Unset): depth_top (float | None | Unset): depth_base (float | None | Unset): + stopcode (int | None | Unset): """ method_id: UUID @@ -70,8 +72,10 @@ class MethodWST: conducted_by: None | str | Unset = UNSET files: list[File] | Unset = UNSET self_: None | str | Unset = UNSET + predrilling_depth: float | None | Unset = UNSET depth_top: float | None | Unset = UNSET depth_base: float | None | Unset = UNSET + stopcode: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -136,6 +140,12 @@ def to_dict(self) -> dict[str, Any]: else: self_ = self.self_ + predrilling_depth: float | None | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + depth_top: float | None | Unset if isinstance(self.depth_top, Unset): depth_top = UNSET @@ -148,6 +158,12 @@ def to_dict(self) -> dict[str, Any]: else: depth_base = self.depth_base + stopcode: int | None | Unset + if isinstance(self.stopcode, Unset): + stopcode = UNSET + else: + stopcode = self.stopcode + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -177,10 +193,14 @@ def to_dict(self) -> dict[str, Any]: field_dict["files"] = files if self_ is not UNSET: field_dict["self"] = self_ + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if depth_top is not UNSET: field_dict["depth_top"] = depth_top if depth_base is not UNSET: field_dict["depth_base"] = depth_base + if stopcode is not UNSET: + field_dict["stopcode"] = stopcode return field_dict @@ -278,6 +298,15 @@ def _parse_self_(data: object) -> None | str | Unset: self_ = _parse_self_(d.pop("self", UNSET)) + def _parse_predrilling_depth(data: object) -> float | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_depth_top(data: object) -> float | None | Unset: if data is None: return data @@ -296,6 +325,15 @@ def _parse_depth_base(data: object) -> float | None | Unset: depth_base = _parse_depth_base(d.pop("depth_base", UNSET)) + def _parse_stopcode(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + stopcode = _parse_stopcode(d.pop("stopcode", UNSET)) + method_wst = cls( method_id=method_id, name=name, @@ -312,8 +350,10 @@ def _parse_depth_base(data: object) -> float | None | Unset: conducted_by=conducted_by, files=files, self_=self_, + predrilling_depth=predrilling_depth, depth_top=depth_top, depth_base=depth_base, + stopcode=stopcode, ) method_wst.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_wst_create.py b/field-manager-python-client/field_manager_python_client/models/method_wst_create.py index 2bf62f5..6019e6c 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_wst_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_wst_create.py @@ -42,6 +42,7 @@ class MethodWSTCreate: MANUAL = "MANUAL", MECHANICAL = "MECHANICAL" ) + predrilling_depth (float | None | str | Unset): """ method_id: None | Unset | UUID = UNSET @@ -56,6 +57,7 @@ class MethodWSTCreate: conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[26] | Unset = 26 operation: Operation | Unset = UNSET + predrilling_depth: float | None | str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -127,6 +129,12 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.operation, Unset): operation = self.operation.value + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -154,6 +162,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["method_type_id"] = method_type_id if operation is not UNSET: field_dict["operation"] = operation + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth return field_dict @@ -285,6 +295,15 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: else: operation = Operation(_operation) + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + method_wst_create = cls( method_id=method_id, name=name, @@ -298,6 +317,7 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: conducted_at=conducted_at, method_type_id=method_type_id, operation=operation, + predrilling_depth=predrilling_depth, ) method_wst_create.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_wst_data.py b/field-manager-python-client/field_manager_python_client/models/method_wst_data.py index 84ce2ed..5b68027 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_wst_data.py +++ b/field-manager-python-client/field_manager_python_client/models/method_wst_data.py @@ -29,6 +29,8 @@ class MethodWSTData: penetration_rate (float | None | Unset): Penetration rate (mm/s) hammering (bool | None | Unset): Hammering 0=off 1=on SGF code AP. rotation_rate (float | None | Unset): Rotation rate (rpm) + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. """ method_data_id: UUID @@ -42,6 +44,8 @@ class MethodWSTData: penetration_rate: float | None | Unset = UNSET hammering: bool | None | Unset = UNSET rotation_rate: float | None | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -87,6 +91,18 @@ def to_dict(self) -> dict[str, Any]: else: rotation_rate = self.rotation_rate + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -110,6 +126,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["hammering"] = hammering if rotation_rate is not UNSET: field_dict["rotation_rate"] = rotation_rate + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code return field_dict @@ -175,6 +195,24 @@ def _parse_rotation_rate(data: object) -> float | None | Unset: rotation_rate = _parse_rotation_rate(d.pop("rotation_rate", UNSET)) + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + method_wst_data = cls( method_data_id=method_data_id, method_id=method_id, @@ -187,6 +225,8 @@ def _parse_rotation_rate(data: object) -> float | None | Unset: penetration_rate=penetration_rate, hammering=hammering, rotation_rate=rotation_rate, + remarks=remarks, + comment_code=comment_code, ) method_wst_data.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_wst_data_create.py b/field-manager-python-client/field_manager_python_client/models/method_wst_data_create.py index 1c130b6..90b56a1 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_wst_data_create.py +++ b/field-manager-python-client/field_manager_python_client/models/method_wst_data_create.py @@ -29,6 +29,8 @@ class MethodWSTDataCreate: penetration_rate (float | None | str | Unset): Penetration rate (mm/s) hammering (bool | None | Unset): rotation_rate (float | None | str | Unset): Rotation rate (rpm) + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. """ depth: float | str @@ -42,6 +44,8 @@ class MethodWSTDataCreate: penetration_rate: float | None | str | Unset = UNSET hammering: bool | None | Unset = UNSET rotation_rate: float | None | str | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -112,6 +116,18 @@ def to_dict(self) -> dict[str, Any]: else: rotation_rate = self.rotation_rate + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET + else: + remarks = self.remarks + + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET + else: + comment_code = self.comment_code + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -139,6 +155,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["hammering"] = hammering if rotation_rate is not UNSET: field_dict["rotation_rate"] = rotation_rate + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code return field_dict @@ -268,6 +288,24 @@ def _parse_rotation_rate(data: object) -> float | None | str | Unset: rotation_rate = _parse_rotation_rate(d.pop("rotation_rate", UNSET)) + def _parse_remarks(data: object) -> None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(None | str | Unset, data) + + remarks = _parse_remarks(d.pop("remarks", UNSET)) + + def _parse_comment_code(data: object) -> int | None | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(int | None | Unset, data) + + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) + method_wst_data_create = cls( depth=depth, method_data_id=method_data_id, @@ -280,6 +318,8 @@ def _parse_rotation_rate(data: object) -> float | None | str | Unset: penetration_rate=penetration_rate, hammering=hammering, rotation_rate=rotation_rate, + remarks=remarks, + comment_code=comment_code, ) method_wst_data_create.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_wst_data_update.py b/field-manager-python-client/field_manager_python_client/models/method_wst_data_update.py index 904b182..773527f 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_wst_data_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_wst_data_update.py @@ -16,79 +16,39 @@ class MethodWSTDataUpdate: """ Attributes: method_type_id (Literal[26] | Unset): Default: 26. - depth (float | None | str | Unset): Depth (m). SGF code D. - turning (float | None | str | Unset): Turning (half revolution/0.2 m) - load (float | None | str | Unset): Load (kN) - penetration_rate (float | None | str | Unset): Penetration rate (mm/s) - hammering (bool | None | Unset): - rotation_rate (float | None | str | Unset): Rotation rate (rpm) + remarks (None | str | Unset): Remarks. SGF code T + comment_code (int | None | Unset): Comment code. Two digit value. """ method_type_id: Literal[26] | Unset = 26 - depth: float | None | str | Unset = UNSET - turning: float | None | str | Unset = UNSET - load: float | None | str | Unset = UNSET - penetration_rate: float | None | str | Unset = UNSET - hammering: bool | None | Unset = UNSET - rotation_rate: float | None | str | Unset = UNSET + remarks: None | str | Unset = UNSET + comment_code: int | None | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id - depth: float | None | str | Unset - if isinstance(self.depth, Unset): - depth = UNSET + remarks: None | str | Unset + if isinstance(self.remarks, Unset): + remarks = UNSET else: - depth = self.depth + remarks = self.remarks - turning: float | None | str | Unset - if isinstance(self.turning, Unset): - turning = UNSET + comment_code: int | None | Unset + if isinstance(self.comment_code, Unset): + comment_code = UNSET else: - turning = self.turning - - load: float | None | str | Unset - if isinstance(self.load, Unset): - load = UNSET - else: - load = self.load - - penetration_rate: float | None | str | Unset - if isinstance(self.penetration_rate, Unset): - penetration_rate = UNSET - else: - penetration_rate = self.penetration_rate - - hammering: bool | None | Unset - if isinstance(self.hammering, Unset): - hammering = UNSET - else: - hammering = self.hammering - - rotation_rate: float | None | str | Unset - if isinstance(self.rotation_rate, Unset): - rotation_rate = UNSET - else: - rotation_rate = self.rotation_rate + comment_code = self.comment_code field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id - if depth is not UNSET: - field_dict["depth"] = depth - if turning is not UNSET: - field_dict["turning"] = turning - if load is not UNSET: - field_dict["load"] = load - if penetration_rate is not UNSET: - field_dict["penetration_rate"] = penetration_rate - if hammering is not UNSET: - field_dict["hammering"] = hammering - if rotation_rate is not UNSET: - field_dict["rotation_rate"] = rotation_rate + if remarks is not UNSET: + field_dict["remarks"] = remarks + if comment_code is not UNSET: + field_dict["comment_code"] = comment_code return field_dict @@ -99,68 +59,28 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: if method_type_id != 26 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 26, got '{method_type_id}'") - def _parse_depth(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - depth = _parse_depth(d.pop("depth", UNSET)) - - def _parse_turning(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - turning = _parse_turning(d.pop("turning", UNSET)) - - def _parse_load(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - load = _parse_load(d.pop("load", UNSET)) - - def _parse_penetration_rate(data: object) -> float | None | str | Unset: - if data is None: - return data - if isinstance(data, Unset): - return data - return cast(float | None | str | Unset, data) - - penetration_rate = _parse_penetration_rate(d.pop("penetration_rate", UNSET)) - - def _parse_hammering(data: object) -> bool | None | Unset: + def _parse_remarks(data: object) -> None | str | Unset: if data is None: return data if isinstance(data, Unset): return data - return cast(bool | None | Unset, data) + return cast(None | str | Unset, data) - hammering = _parse_hammering(d.pop("hammering", UNSET)) + remarks = _parse_remarks(d.pop("remarks", UNSET)) - def _parse_rotation_rate(data: object) -> float | None | str | Unset: + def _parse_comment_code(data: object) -> int | None | Unset: if data is None: return data if isinstance(data, Unset): return data - return cast(float | None | str | Unset, data) + return cast(int | None | Unset, data) - rotation_rate = _parse_rotation_rate(d.pop("rotation_rate", UNSET)) + comment_code = _parse_comment_code(d.pop("comment_code", UNSET)) method_wst_data_update = cls( method_type_id=method_type_id, - depth=depth, - turning=turning, - load=load, - penetration_rate=penetration_rate, - hammering=hammering, - rotation_rate=rotation_rate, + remarks=remarks, + comment_code=comment_code, ) method_wst_data_update.additional_properties = d diff --git a/field-manager-python-client/field_manager_python_client/models/method_wst_update.py b/field-manager-python-client/field_manager_python_client/models/method_wst_update.py index ed9c355..f1ef95f 100644 --- a/field-manager-python-client/field_manager_python_client/models/method_wst_update.py +++ b/field-manager-python-client/field_manager_python_client/models/method_wst_update.py @@ -29,6 +29,7 @@ class MethodWSTUpdate: conducted_by (None | str | Unset): conducted_at (datetime.datetime | None | Unset): method_type_id (Literal[26] | Unset): Default: 26. + predrilling_depth (float | None | str | Unset): operation (None | Operation | Unset): """ @@ -41,6 +42,7 @@ class MethodWSTUpdate: conducted_by: None | str | Unset = UNSET conducted_at: datetime.datetime | None | Unset = UNSET method_type_id: Literal[26] | Unset = 26 + predrilling_depth: float | None | str | Unset = UNSET operation: None | Operation | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -103,6 +105,12 @@ def to_dict(self) -> dict[str, Any]: method_type_id = self.method_type_id + predrilling_depth: float | None | str | Unset + if isinstance(self.predrilling_depth, Unset): + predrilling_depth = UNSET + else: + predrilling_depth = self.predrilling_depth + operation: None | str | Unset if isinstance(self.operation, Unset): operation = UNSET @@ -132,6 +140,8 @@ def to_dict(self) -> dict[str, Any]: field_dict["conducted_at"] = conducted_at if method_type_id is not UNSET: field_dict["method_type_id"] = method_type_id + if predrilling_depth is not UNSET: + field_dict["predrilling_depth"] = predrilling_depth if operation is not UNSET: field_dict["operation"] = operation @@ -249,6 +259,15 @@ def _parse_conducted_at(data: object) -> datetime.datetime | None | Unset: if method_type_id != 26 and not isinstance(method_type_id, Unset): raise ValueError(f"method_type_id must match const 26, got '{method_type_id}'") + def _parse_predrilling_depth(data: object) -> float | None | str | Unset: + if data is None: + return data + if isinstance(data, Unset): + return data + return cast(float | None | str | Unset, data) + + predrilling_depth = _parse_predrilling_depth(d.pop("predrilling_depth", UNSET)) + def _parse_operation(data: object) -> None | Operation | Unset: if data is None: return data @@ -276,6 +295,7 @@ def _parse_operation(data: object) -> None | Operation | Unset: conducted_by=conducted_by, conducted_at=conducted_at, method_type_id=method_type_id, + predrilling_depth=predrilling_depth, operation=operation, ) diff --git a/field-manager-python-client/field_manager_python_client/models/standard.py b/field-manager-python-client/field_manager_python_client/models/standard.py index c19fdc3..51711e0 100644 --- a/field-manager-python-client/field_manager_python_client/models/standard.py +++ b/field-manager-python-client/field_manager_python_client/models/standard.py @@ -10,6 +10,7 @@ from ..types import UNSET, Unset if TYPE_CHECKING: + from ..models.crs_info import CRSInfo from ..models.method_type import MethodType from ..models.sampling_technique import SamplingTechnique @@ -27,6 +28,7 @@ class Standard: sort_order (int): method_types (list[MethodType] | Unset): sampling_techniques (list[SamplingTechnique] | Unset): + default_coordinate_reference_systems (list[CRSInfo] | Unset): """ standard_id: StandardType @@ -35,6 +37,7 @@ class Standard: sort_order: int method_types: list[MethodType] | Unset = UNSET sampling_techniques: list[SamplingTechnique] | Unset = UNSET + default_coordinate_reference_systems: list[CRSInfo] | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -60,6 +63,13 @@ def to_dict(self) -> dict[str, Any]: sampling_techniques_item = sampling_techniques_item_data.to_dict() sampling_techniques.append(sampling_techniques_item) + default_coordinate_reference_systems: list[dict[str, Any]] | Unset = UNSET + if not isinstance(self.default_coordinate_reference_systems, Unset): + default_coordinate_reference_systems = [] + for default_coordinate_reference_systems_item_data in self.default_coordinate_reference_systems: + default_coordinate_reference_systems_item = default_coordinate_reference_systems_item_data.to_dict() + default_coordinate_reference_systems.append(default_coordinate_reference_systems_item) + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -74,11 +84,14 @@ def to_dict(self) -> dict[str, Any]: field_dict["method_types"] = method_types if sampling_techniques is not UNSET: field_dict["sampling_techniques"] = sampling_techniques + if default_coordinate_reference_systems is not UNSET: + field_dict["default_coordinate_reference_systems"] = default_coordinate_reference_systems return field_dict @classmethod def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: + from ..models.crs_info import CRSInfo from ..models.method_type import MethodType from ..models.sampling_technique import SamplingTechnique @@ -109,6 +122,17 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: sampling_techniques.append(sampling_techniques_item) + _default_coordinate_reference_systems = d.pop("default_coordinate_reference_systems", UNSET) + default_coordinate_reference_systems: list[CRSInfo] | Unset = UNSET + if _default_coordinate_reference_systems is not UNSET: + default_coordinate_reference_systems = [] + for default_coordinate_reference_systems_item_data in _default_coordinate_reference_systems: + default_coordinate_reference_systems_item = CRSInfo.from_dict( + default_coordinate_reference_systems_item_data + ) + + default_coordinate_reference_systems.append(default_coordinate_reference_systems_item) + standard = cls( standard_id=standard_id, name=name, @@ -116,6 +140,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: sort_order=sort_order, method_types=method_types, sampling_techniques=sampling_techniques, + default_coordinate_reference_systems=default_coordinate_reference_systems, ) standard.additional_properties = d diff --git a/field-manager-python-client/pyproject.toml b/field-manager-python-client/pyproject.toml index 73decb7..5614561 100644 --- a/field-manager-python-client/pyproject.toml +++ b/field-manager-python-client/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "field-manager-python-client" -version = "4.6.97" +version = "4.6.150" description = "A client library for accessing Field Manager Data API" authors = ["Jiyang Ye "] maintainers = ["Jiyang Ye ", "Jostein Leira "] diff --git a/logs/log b/logs/log index 9942de5..6b2eee3 100644 --- a/logs/log +++ b/logs/log @@ -1495,3 +1495,112 @@ Unable to parse this part of your OpenAPI document: : Attempted to generate dupl Schema(title='User', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties={'user_id': Schema(title='User Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'name': Schema(title='Name', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'email': Schema(title='Email', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'roles': Schema(title='Roles', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Reference(ref='#/components/schemas/Role'), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=[], nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'email_verified': Schema(title='Email Verified', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'organization_id': Schema(title='Organization Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)}, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None) If you believe this was a mistake or this tool is missing a feature you need, please open an issue at https://github.com/openapi-generators/openapi-python-client/issues/new/choose +Recording openapi-python-client version... +openapi-python-client version: 0.28.1 +Generating API client... +Warning(s) encountered while generating. Client was generated, but some pieces may be missing +Generating /home/runner/work/field-manager-python-client/field-manager-python-client/field-manager-python-client + +WARNING parsing GET /organizations/{organization_id}/users within organizations. + +Cannot parse response for status code 200 (Could not find reference in parsed models or enums), response will be omitted from generated client + +Reference(ref='#/components/schemas/User-Output') + +WARNING parsing GET /projects/{project_id}/users within projects. + +Cannot parse response for status code 200 (Could not find reference in parsed models or enums), response will be omitted from generated client + +Reference(ref='#/components/schemas/User-Output') + +WARNING parsing POST /projects/{project_id}/locations/{location_id}/methods/{method_id}/comments within comments. Endpoint will not be generated. + +None | UUID is not allowed in path + +Parameter(name='method_id', param_in=, description=None, required=True, deprecated=False, allowEmptyValue=False, style=None, explode=False, allowReserved=False, param_schema=Schema(title='Method Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), example=None, examples=None, content=None) + +WARNING parsing DELETE /projects/{project_id}/locations/{location_id}/methods/{method_id}/comments/{comment_id} within comments. Endpoint will not be generated. + +None | UUID is not allowed in path + +Parameter(name='method_id', param_in=, description=None, required=True, deprecated=False, allowEmptyValue=False, style=None, explode=False, allowReserved=False, param_schema=Schema(title='Method Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), example=None, examples=None, content=None) + +WARNING parsing PUT /projects/{project_id}/locations/{location_id}/methods/{method_id}/comments/{comment_id}/text within comments. Endpoint will not be generated. + +None | UUID is not allowed in path + +Parameter(name='method_id', param_in=, description=None, required=True, deprecated=False, allowEmptyValue=False, style=None, explode=False, allowReserved=False, param_schema=Schema(title='Method Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), example=None, examples=None, content=None) + +WARNING parsing GET /projects/{project_id}/locations/{location_id}/methods/{method_id}/comments/{comment_id}/likes within comments. Endpoint will not be generated. + +None | UUID is not allowed in path + +Parameter(name='method_id', param_in=, description=None, required=True, deprecated=False, allowEmptyValue=False, style=None, explode=False, allowReserved=False, param_schema=Schema(title='Method Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), example=None, examples=None, content=None) + +WARNING parsing POST /projects/{project_id}/locations/{location_id}/methods/{method_id}/comments/{comment_id}/likes within comments. Endpoint will not be generated. + +None | UUID is not allowed in path + +Parameter(name='method_id', param_in=, description=None, required=True, deprecated=False, allowEmptyValue=False, style=None, explode=False, allowReserved=False, param_schema=Schema(title='Method Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), example=None, examples=None, content=None) + +WARNING parsing DELETE /projects/{project_id}/locations/{location_id}/methods/{method_id}/comments/{comment_id}/likes/{like_id} within comments. Endpoint will not be generated. + +None | UUID is not allowed in path + +Parameter(name='method_id', param_in=, description=None, required=True, deprecated=False, allowEmptyValue=False, style=None, explode=False, allowReserved=False, param_schema=Schema(title='Method Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), example=None, examples=None, content=None) + +WARNING parsing POST /plots/project/{project_id}/plot_sequence/{format} within plots. + +Cannot parse response for status code 200 (Could not find reference in parsed models or enums), response will be omitted from generated client + +Reference(ref='#/components/schemas/PlotSequence-Output') + +WARNING parsing GET /users within users. + +Cannot parse response for status code 200 (Could not find reference in parsed models or enums), response will be omitted from generated client + +Reference(ref='#/components/schemas/User-Output') + +WARNING parsing POST /users within users. + +Cannot parse response for status code 201 (Could not find reference in parsed models or enums), response will be omitted from generated client + +Reference(ref='#/components/schemas/User-Output') + +Unable to parse schema /components/schemas/FM_PlotOptions-Output + +Unable to parse this part of your OpenAPI document: : Attempted to generate duplicate models with name "FMPlotOptions" + +Schema(title='FM_PlotOptions', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties={'fill_curve': Schema(title='Fill Curve', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=True, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'depth_scale': Reference(ref='#/components/schemas/Scales', default='Auto scaling'), 'depth_range': Schema(title='Depth Range', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=2, minItems=2, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=[0, 0], nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'cpt': Reference(ref='#/components/schemas/CPTOptions', default={'scaling_mode': 'percentile', 'percentile': 0.975})}, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None) + +Unable to parse schema /components/schemas/MethodInfo-Output + +Unable to parse this part of your OpenAPI document: : Attempted to generate duplicate models with name "MethodInfo" + +Schema(title='MethodInfo', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=['method_id', 'method_name', 'method_status', 'method_type', 'created_at'], enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties={'method_id': Schema(title='Method Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'method_name': Schema(title='Method Name', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'method_status': Reference(ref='#/components/schemas/MethodStatusEnum'), 'method_type': Reference(ref='#/components/schemas/MethodTypeEnum'), 'conducted_at': Schema(title='Conducted At', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='date-time', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'conducted_by': Schema(title='Conducted By', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'created_at': Schema(title='Created At', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='date-time', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'created_by': Schema(title='Created By', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'cone_reference': Schema(title='Cone Reference', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'srs_type': Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Reference(ref='#/components/schemas/SoundingClass'), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'bedrock_info': Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Reference(ref='#/components/schemas/BedrockInfo'), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)}, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None) + +Unable to parse schema /components/schemas/PlotInfoObject-Output + +Unable to parse this part of your OpenAPI document: : Attempted to generate duplicate models with name "PlotInfoObject" + +Schema(title='PlotInfoObject', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=['project_id', 'location_type', 'location_ids', 'location_names', 'location_coordinates', 'location_info', 'method_info', 'method_ids', 'method_type', 'is_combined_plot', 'plot_type', 'plot_options'], enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties={'project_id': Schema(title='Project Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'location_type': Reference(ref='#/components/schemas/LocationType'), 'location_ids': Schema(title='Location Ids', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'location_names': Schema(title='Location Names', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'location_coordinates': Schema(title='Location Coordinates', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Reference(ref='#/components/schemas/LocationCoordinates'), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'location_info': Schema(title='Location Info', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Reference(ref='#/components/schemas/LocationInfo'), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'method_info': Schema(title='Method Info', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Reference(ref='#/components/schemas/MethodInfo-Output'), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'method_ids': Schema(title='Method Ids', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'method_type': Schema(title='Method Type', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'is_combined_plot': Schema(title='Is Combined Plot', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'plot_type': Reference(ref='#/components/schemas/PlotType'), 'plot_options': Reference(ref='#/components/schemas/FM_PlotOptions-Output'), 'messages': Schema(title='Messages', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'pdf_info': Reference(ref='#/components/schemas/PDFPageInfo', default={'project_name': '', 'client': '', 'report_number': '', 'revision': '', 'date': '', 'page_number': '', 'info_table': '', 'drawn_by': '', 'controlled_by': '', 'approved_by': ''}), 'stats': Schema(title='Stats', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=Reference(ref='#/components/schemas/PlotDataStats'), description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)}, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None) + +Unable to parse schema /components/schemas/PlotSequence-Output + +Unable to parse this part of your OpenAPI document: : Attempted to generate duplicate models with name "PlotSequence" + +Schema(title='PlotSequence', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=['sequence'], enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties={'sequence': Schema(title='Sequence', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Reference(ref='#/components/schemas/PlotInfoObject-Output'), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'options': Reference(ref='#/components/schemas/PlotSequenceOptions-Output', default={'auto_set_depth': False, 'pdf_filename': 'factual_report.pdf', 'pdf': {'approved_by': '', 'client_name': '', 'color_mode': 'grayscale', 'controlled_by': '', 'date': '', 'date_format': 'YYYY-MM-DD', 'drawn_by': '', 'fill_curve': True, 'lang': 'eng', 'max_pages': -1, 'page_number_prefix': '', 'page_number_prefix_per_method': {'CPT': '', 'DP': '', 'PZ': '', 'RCD': '', 'RP': '', 'SRS': '', 'SS': '', 'SVT': '', 'TOT': '', 'WST': ''}, 'page_number_start': '1', 'page_number_start_per_method': {'CPT': '', 'DP': '', 'PZ': '', 'RCD': '', 'RP': '', 'SRS': '', 'SS': '', 'SVT': '', 'TOT': '', 'WST': ''}, 'paper_size': 'A4', 'plot_scale': '1/100', 'projection_system': '', 'report_number': '', 'report_number_suffix': '', 'revision': '', 'show_comment_in_plot': False, 'sort_figures_by': 'location', 'use_approved_by': True, 'use_controlled_by': False, 'use_revision': True}})}, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None) + +Unable to parse schema /components/schemas/PlotSequenceOptions-Output + +Unable to parse this part of your OpenAPI document: : Attempted to generate duplicate models with name "PlotSequenceOptions" + +Schema(title='PlotSequenceOptions', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties={'auto_set_depth': Schema(title='Auto Set Depth', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=False, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'pdf_filename': Schema(title='Pdf Filename', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default='factual_report.pdf', nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'pdf': Reference(ref='#/components/schemas/PdfOptions', default={'lang': 'eng', 'date_format': 'YYYY-MM-DD', 'date': '', 'use_controlled_by': False, 'use_revision': True, 'report_number_suffix': '', 'revision': '', 'paper_size': 'A4', 'plot_scale': '1/100', 'report_number': '', 'client_name': '', 'sort_figures_by': 'location', 'page_number_prefix': '', 'page_number_start': '1', 'page_number_prefix_per_method': {'CPT': '', 'DP': '', 'PZ': '', 'RCD': '', 'RP': '', 'SRS': '', 'SS': '', 'SVT': '', 'TOT': '', 'WST': ''}, 'page_number_start_per_method': {'CPT': '', 'DP': '', 'PZ': '', 'RCD': '', 'RP': '', 'SRS': '', 'SS': '', 'SVT': '', 'TOT': '', 'WST': ''}, 'drawn_by': '', 'controlled_by': '', 'use_approved_by': True, 'approved_by': '', 'show_comment_in_plot': False, 'projection_system': '', 'max_pages': -1, 'color_mode': 'grayscale', 'fill_curve': True})}, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None) + +Unable to parse schema /components/schemas/User-Output + +Unable to parse this part of your OpenAPI document: : Attempted to generate duplicate models with name "User" + +Schema(title='User', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties={'user_id': Schema(title='User Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'name': Schema(title='Name', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'email': Schema(title='Email', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'roles': Schema(title='Roles', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=Reference(ref='#/components/schemas/Role'), prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=[], nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'email_verified': Schema(title='Email Verified', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), 'organization_id': Schema(title='Organization Id', multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=None, allOf=[], oneOf=[], anyOf=[Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format='uuid', default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None), Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=None, const=None, type=, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)], schema_not=None, items=None, prefixItems=[], properties=None, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)}, additionalProperties=None, description=None, schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None) + +If you believe this was a mistake or this tool is missing a feature you need, please open an issue at https://github.com/openapi-generators/openapi-python-client/issues/new/choose diff --git a/openapi_specification/openapi.json b/openapi_specification/openapi.json index 1b5807b..4e8c796 100644 --- a/openapi_specification/openapi.json +++ b/openapi_specification/openapi.json @@ -1,6 +1,6 @@ { "openapi": "3.1.0", - "info": { "title": "Field Manager Data API", "version": "4.6.97" }, + "info": { "title": "Field Manager Data API", "version": "4.6.150" }, "servers": [ { "url": "https://api.fieldmanager.io/fieldmanager", @@ -365,7 +365,7 @@ "get": { "tags": ["organizations"], "summary": "Get Organizations", - "description": "Retrieve the organizations you have access to.", + "description": "Retrieve the organizations you have access to.\n\nAdmin users will get all organizations, else:\nIf the user has a project role in a organization, the organization will be included.\nIf the user has an organization role, the organization will be included.", "operationId": "get_organizations_organizations_get", "security": [{ "HTTPBearer": [] }], "parameters": [ @@ -873,7 +873,7 @@ "post": { "tags": ["projects", "linked_projects"], "summary": "Link Linked Project", - "description": "Link another project to a project by project_id.", + "description": "Link a project with `project_id` to another project with `linked_project_id`.\n\nOptionally add a linked project prefix usually including a separator character at the end of the string.", "operationId": "link_linked_project_projects__project_id__linked_projects__linked_project_id__post", "security": [{ "HTTPBearer": [] }], "parameters": [ @@ -892,6 +892,15 @@ "format": "uuid", "title": "Linked Project Id" } + }, + { + "name": "linked_project_prefix", + "in": "query", + "required": false, + "schema": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Linked Project Prefix" + } } ], "responses": { @@ -3251,7 +3260,9 @@ { "$ref": "#/components/schemas/MethodPZData" }, { "$ref": "#/components/schemas/MethodRCDData" }, { "$ref": "#/components/schemas/MethodRPData" }, + { "$ref": "#/components/schemas/MethodSLBData" }, { "$ref": "#/components/schemas/MethodSSData" }, + { "$ref": "#/components/schemas/MethodSTIData" }, { "$ref": "#/components/schemas/MethodSRSData" }, { "$ref": "#/components/schemas/MethodSVTData" }, { "$ref": "#/components/schemas/MethodTOTData" }, @@ -3267,7 +3278,9 @@ "5": "#/components/schemas/MethodPZData", "8": "#/components/schemas/MethodRCDData", "3": "#/components/schemas/MethodRPData", + "27": "#/components/schemas/MethodSLBData", "6": "#/components/schemas/MethodSSData", + "28": "#/components/schemas/MethodSTIData", "24": "#/components/schemas/MethodSRSData", "10": "#/components/schemas/MethodSVTData", "2": "#/components/schemas/MethodTOTData", @@ -3337,8 +3350,10 @@ { "$ref": "#/components/schemas/MethodPZDataCreate" }, { "$ref": "#/components/schemas/MethodRCDDataCreate" }, { "$ref": "#/components/schemas/MethodRPDataCreate" }, + { "$ref": "#/components/schemas/MethodSLBDataCreate" }, { "$ref": "#/components/schemas/MethodSRSDataCreate" }, { "$ref": "#/components/schemas/MethodSSDataCreate" }, + { "$ref": "#/components/schemas/MethodSTIDataCreate" }, { "$ref": "#/components/schemas/MethodSVTDataCreate" }, { "$ref": "#/components/schemas/MethodTOTDataCreate" }, { "$ref": "#/components/schemas/MethodTRDataCreate" }, @@ -3353,8 +3368,10 @@ "5": "#/components/schemas/MethodPZDataCreate", "8": "#/components/schemas/MethodRCDDataCreate", "3": "#/components/schemas/MethodRPDataCreate", + "27": "#/components/schemas/MethodSLBDataCreate", "24": "#/components/schemas/MethodSRSDataCreate", "6": "#/components/schemas/MethodSSDataCreate", + "28": "#/components/schemas/MethodSTIDataCreate", "10": "#/components/schemas/MethodSVTDataCreate", "2": "#/components/schemas/MethodTOTDataCreate", "16": "#/components/schemas/MethodTRDataCreate", @@ -3379,7 +3396,9 @@ { "$ref": "#/components/schemas/MethodPZData" }, { "$ref": "#/components/schemas/MethodRCDData" }, { "$ref": "#/components/schemas/MethodRPData" }, + { "$ref": "#/components/schemas/MethodSLBData" }, { "$ref": "#/components/schemas/MethodSSData" }, + { "$ref": "#/components/schemas/MethodSTIData" }, { "$ref": "#/components/schemas/MethodSRSData" }, { "$ref": "#/components/schemas/MethodSVTData" }, { "$ref": "#/components/schemas/MethodTOTData" }, @@ -3395,7 +3414,9 @@ "5": "#/components/schemas/MethodPZData", "8": "#/components/schemas/MethodRCDData", "3": "#/components/schemas/MethodRPData", + "27": "#/components/schemas/MethodSLBData", "6": "#/components/schemas/MethodSSData", + "28": "#/components/schemas/MethodSTIData", "24": "#/components/schemas/MethodSRSData", "10": "#/components/schemas/MethodSVTData", "2": "#/components/schemas/MethodTOTData", @@ -3475,8 +3496,10 @@ { "$ref": "#/components/schemas/MethodPZDataUpdate" }, { "$ref": "#/components/schemas/MethodRCDDataUpdate" }, { "$ref": "#/components/schemas/MethodRPDataUpdate" }, + { "$ref": "#/components/schemas/MethodSLBDataUpdate" }, { "$ref": "#/components/schemas/MethodSRSDataUpdate" }, { "$ref": "#/components/schemas/MethodSSDataUpdate" }, + { "$ref": "#/components/schemas/MethodSTIDataUpdate" }, { "$ref": "#/components/schemas/MethodSVTDataUpdate" }, { "$ref": "#/components/schemas/MethodTOTDataUpdate" }, { "$ref": "#/components/schemas/MethodTRDataUpdate" }, @@ -3490,8 +3513,10 @@ "5": "#/components/schemas/MethodPZDataUpdate", "8": "#/components/schemas/MethodRCDDataUpdate", "3": "#/components/schemas/MethodRPDataUpdate", + "27": "#/components/schemas/MethodSLBDataUpdate", "24": "#/components/schemas/MethodSRSDataUpdate", "6": "#/components/schemas/MethodSSDataUpdate", + "28": "#/components/schemas/MethodSTIDataUpdate", "10": "#/components/schemas/MethodSVTDataUpdate", "2": "#/components/schemas/MethodTOTDataUpdate", "16": "#/components/schemas/MethodTRDataUpdate", @@ -3516,7 +3541,9 @@ { "$ref": "#/components/schemas/MethodPZData" }, { "$ref": "#/components/schemas/MethodRCDData" }, { "$ref": "#/components/schemas/MethodRPData" }, + { "$ref": "#/components/schemas/MethodSLBData" }, { "$ref": "#/components/schemas/MethodSSData" }, + { "$ref": "#/components/schemas/MethodSTIData" }, { "$ref": "#/components/schemas/MethodSRSData" }, { "$ref": "#/components/schemas/MethodSVTData" }, { "$ref": "#/components/schemas/MethodTOTData" }, @@ -3532,7 +3559,9 @@ "5": "#/components/schemas/MethodPZData", "8": "#/components/schemas/MethodRCDData", "3": "#/components/schemas/MethodRPData", + "27": "#/components/schemas/MethodSLBData", "6": "#/components/schemas/MethodSSData", + "28": "#/components/schemas/MethodSTIData", "24": "#/components/schemas/MethodSRSData", "10": "#/components/schemas/MethodSVTData", "2": "#/components/schemas/MethodTOTData", @@ -6558,6 +6587,46 @@ } } }, + "/project/{project_id}/locations/{location_id}/plots/svg": { + "post": { + "tags": ["plots"], + "summary": "Get Plot Preview For Location", + "operationId": "get_plot_preview_for_location_project__project_id__locations__location_id__plots_svg_post", + "security": [{ "HTTPBearer": [] }], + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { "type": "string", "title": "Project Id" } + }, + { + "name": "location_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Location Id" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { "application/json": { "schema": {} } } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/HTTPValidationError" } + } + } + } + } + } + }, "/projects/{project_id}/locations/{location_id}/methods/{method_id}/plots/{format}": { "post": { "tags": ["plots"], @@ -6597,6 +6666,26 @@ "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/MethodPlotFormat" } + }, + { + "name": "cross_section", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Cross Section" + } + }, + { + "name": "show_depth", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false, + "title": "Show Depth" + } } ], "responses": { @@ -8425,10 +8514,21 @@ "type": "string", "title": "Unit", "description": "Unit of measurement for coordinate axes (e.g., meter, degree, foot)" + }, + "wkt": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Wkt", + "description": "Well-Known Text representation of the CRS" + }, + "proj4": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Proj4", + "description": "Proj4 representation of the CRS", + "deprecated": true } }, "type": "object", - "required": ["auth_name", "srid", "name", "unit"], + "required": ["auth_name", "srid", "name", "unit", "wkt", "proj4"], "title": "CRSInfo" }, "ColorMode": { @@ -8848,7 +8948,12 @@ "anyOf": [{ "type": "integer" }, { "type": "null" }], "title": "Size" }, - "blob_url": { "type": "string", "title": "Blob Url" }, + "blob_url": { + "type": "string", + "title": "Blob Url", + "description": "Will be removed in future versions.", + "deprecated": true + }, "original_filename": { "type": "string", "title": "Original Filename" @@ -8916,7 +9021,12 @@ "anyOf": [{ "type": "integer" }, { "type": "null" }], "title": "Size" }, - "blob_url": { "type": "string", "title": "Blob Url" }, + "blob_url": { + "type": "string", + "title": "Blob Url", + "description": "Will be removed in future versions.", + "deprecated": true + }, "original_filename": { "type": "string", "title": "Original Filename" @@ -9240,9 +9350,9 @@ "title": "Favorite", "default": false }, - "number_of_active_locations": { - "type": "integer", - "title": "Number Of Active Locations" + "linked_project_prefix": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Linked Project Prefix" } }, "type": "object", @@ -9253,8 +9363,7 @@ "name", "standard_id", "srid", - "number_of_locations", - "number_of_active_locations" + "number_of_locations" ], "title": "LinkedProjectInfo", "example": { @@ -9326,6 +9435,10 @@ "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Point Y Wgs84 Web" }, + "point_z_height_data": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Point Z Height Data" + }, "tags": { "anyOf": [ { @@ -9534,6 +9647,10 @@ "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Point Y Wgs84 Web" }, + "point_z_height_data": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Point Z Height Data" + }, "tags": { "items": { "type": "string" }, "type": "array", @@ -10543,7 +10660,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -10737,7 +10856,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "sampler_type_id": { "anyOf": [{ "type": "integer" }, { "type": "null" }], @@ -11181,7 +11302,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "predrilling_depth": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -11869,7 +11992,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -12063,16 +12188,17 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "dynamic_probing_type": { "$ref": "#/components/schemas/DPType", "default": "DPSHA" }, "predrilling_depth": { - "type": "number", - "title": "Predrilling Depth", - "default": 0.0 + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" }, "cone_type": { "anyOf": [{ "type": "string" }, { "type": "null" }], @@ -12589,7 +12715,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "depth": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -13180,7 +13308,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -13379,7 +13509,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -13573,7 +13705,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -13901,7 +14035,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -14095,7 +14231,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -14289,7 +14427,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "piezometer_type": { "$ref": "#/components/schemas/PiezometerType" }, "depth_top": { @@ -15042,7 +15182,7 @@ }, "MethodPlotFormat": { "type": "string", - "enum": ["dxf"], + "enum": ["dxf", "svg"], "title": "MethodPlotFormat" }, "MethodRCD": { @@ -15108,7 +15248,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "stopcode": { "anyOf": [{ "type": "integer" }, { "type": "null" }], @@ -15506,7 +15648,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -15700,7 +15844,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "predrilling_depth": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -16166,7 +16312,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -16360,7 +16508,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -16554,7 +16704,13 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true + }, + "predrilling_depth": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" }, "depth_top": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -16673,6 +16829,17 @@ "title": "Method Type Id", "default": 4 }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, "depth_top": { "anyOf": [ { "type": "number" }, @@ -16784,6 +16951,17 @@ "title": "Method Type Id", "default": 4 }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, "depth_top": { "anyOf": [ { "type": "number" }, @@ -16907,7 +17085,29 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true + }, + "water_level": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Water Level" + }, + "predrilling_depth": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" + }, + "depth_top": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Depth Top" + }, + "depth_base": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Depth Base" + }, + "stopcode": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Stopcode" } }, "type": "object", @@ -16978,133 +17178,393 @@ "const": 27, "title": "Method Type Id", "default": 27 - } - }, - "type": "object", - "title": "MethodSLBCreate" - }, - "MethodSLBUpdate": { - "properties": { - "method_id": { + }, + "water_level": { "anyOf": [ - { "type": "string", "format": "uuid" }, + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, { "type": "null" } ], - "title": "Method Id" - }, - "name": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Name" - }, - "remarks": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Remarks" + "title": "Water Level" }, - "method_status_id": { + "predrilling_depth": { "anyOf": [ - { "$ref": "#/components/schemas/MethodStatusEnum" }, + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, { "type": "null" } - ] + ], + "title": "Predrilling Depth" }, - "updated_at": { + "depth_top": { "anyOf": [ - { "type": "string", "format": "date-time" }, + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, { "type": "null" } ], - "title": "Updated At" - }, - "updated_by": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Updated By" - }, - "conducted_by": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Conducted By" + "title": "Depth Top" }, - "conducted_at": { + "depth_base": { "anyOf": [ - { "type": "string", "format": "date-time" }, + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, { "type": "null" } ], - "title": "Conducted At" + "title": "Depth Base" }, - "method_type_id": { - "type": "integer", - "const": 27, - "title": "Method Type Id", - "default": 27 + "stopcode": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Stopcode" } }, "type": "object", - "title": "MethodSLBUpdate" + "title": "MethodSLBCreate" }, - "MethodSPT": { + "MethodSLBData": { "properties": { + "method_data_id": { + "type": "string", + "format": "uuid", + "title": "Method Data Id" + }, "method_id": { "type": "string", "format": "uuid", "title": "Method Id" }, - "name": { "type": "string", "title": "Name" }, - "remarks": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Remarks" - }, "method_type_id": { "type": "integer", - "const": 11, + "const": 27, "title": "Method Type Id", - "default": 11 - }, - "location_id": { - "type": "string", - "format": "uuid", - "title": "Location Id" - }, - "method_status_id": { - "$ref": "#/components/schemas/MethodStatusEnum" + "default": 27 }, "created_at": { "type": "string", "format": "date-time", "title": "Created At" }, - "created_by": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Created By" - }, "updated_at": { "type": "string", "format": "date-time", "title": "Updated At" }, - "updated_by": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Updated By" - }, - "conducted_at": { - "anyOf": [ - { "type": "string", "format": "date-time" }, - { "type": "null" } - ], - "title": "Conducted At" + "depth": { + "type": "number", + "title": "Depth", + "description": "Depth (m). SGF code D." }, - "conducted_by": { - "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Conducted By" + "penetration_rate": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Penetration Rate", + "description": "Penetration rate (mm/s). SGF code B." }, - "files": { - "items": { "$ref": "#/components/schemas/File" }, - "type": "array", - "title": "Files", - "default": [] + "load": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Load", + "description": "Load (kN). SGF code W." }, - "self": { + "remarks": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" - } - }, - "type": "object", + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." + } + }, + "type": "object", + "required": [ + "method_data_id", + "method_id", + "created_at", + "updated_at", + "depth" + ], + "title": "MethodSLBData" + }, + "MethodSLBDataCreate": { + "properties": { + "method_data_id": { + "anyOf": [ + { "type": "string", "format": "uuid" }, + { "type": "null" } + ], + "title": "Method Data Id" + }, + "method_id": { + "anyOf": [ + { "type": "string", "format": "uuid" }, + { "type": "null" } + ], + "title": "Method Id" + }, + "method_type_id": { + "type": "integer", + "const": 27, + "title": "Method Type Id", + "default": 27 + }, + "created_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Created At" + }, + "updated_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Updated At" + }, + "depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + } + ], + "title": "Depth", + "description": "Depth (m). SGF code D." + }, + "penetration_rate": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Penetration Rate", + "description": "Penetration rate (mm/s). SGF code B." + }, + "load": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Load", + "description": "Load (kN). SGF code W." + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + } + }, + "type": "object", + "required": ["depth"], + "title": "MethodSLBDataCreate" + }, + "MethodSLBDataUpdate": { + "properties": { + "method_type_id": { + "type": "integer", + "const": 27, + "title": "Method Type Id", + "default": 27 + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks" + } + }, + "type": "object", + "title": "MethodSLBDataUpdate", + "description": "Method SLB data update structure" + }, + "MethodSLBUpdate": { + "properties": { + "method_id": { + "anyOf": [ + { "type": "string", "format": "uuid" }, + { "type": "null" } + ], + "title": "Method Id" + }, + "name": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Name" + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks" + }, + "method_status_id": { + "anyOf": [ + { "$ref": "#/components/schemas/MethodStatusEnum" }, + { "type": "null" } + ] + }, + "updated_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Updated At" + }, + "updated_by": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Updated By" + }, + "conducted_by": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Conducted By" + }, + "conducted_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Conducted At" + }, + "method_type_id": { + "type": "integer", + "const": 27, + "title": "Method Type Id", + "default": 27 + }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, + "water_level": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Water Level" + }, + "depth_top": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Depth Top" + }, + "depth_base": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Depth Base" + }, + "stopcode": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Stopcode" + } + }, + "type": "object", + "title": "MethodSLBUpdate" + }, + "MethodSPT": { + "properties": { + "method_id": { + "type": "string", + "format": "uuid", + "title": "Method Id" + }, + "name": { "type": "string", "title": "Name" }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks" + }, + "method_type_id": { + "type": "integer", + "const": 11, + "title": "Method Type Id", + "default": 11 + }, + "location_id": { + "type": "string", + "format": "uuid", + "title": "Location Id" + }, + "method_status_id": { + "$ref": "#/components/schemas/MethodStatusEnum" + }, + "created_at": { + "type": "string", + "format": "date-time", + "title": "Created At" + }, + "created_by": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Created By" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "title": "Updated At" + }, + "updated_by": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Updated By" + }, + "conducted_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Conducted At" + }, + "conducted_by": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Conducted By" + }, + "files": { + "items": { "$ref": "#/components/schemas/File" }, + "type": "array", + "title": "Files", + "default": [] + }, + "self": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true + } + }, + "type": "object", "required": [ "method_id", "name", @@ -17295,7 +17755,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "sounding_class": { "anyOf": [ @@ -17318,6 +17780,10 @@ "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Conversion Factor" }, + "predrilling_depth": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" + }, "depth_top": { "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Depth Top" @@ -17437,6 +17903,17 @@ { "type": "null" } ], "title": "Conversion Factor" + }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" } }, "type": "object", @@ -17930,6 +18407,17 @@ { "type": "null" } ], "title": "Conversion Factor" + }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" } }, "type": "object", @@ -17998,7 +18486,13 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true + }, + "predrilling_depth": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" }, "depth_top": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -18082,6 +18576,17 @@ "title": "Method Type Id", "default": 6 }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, "stopcode": { "anyOf": [{ "type": "integer" }, { "type": "null" }], "title": "Stopcode" @@ -18341,6 +18846,17 @@ "title": "Method Type Id", "default": 6 }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, "stopcode": { "anyOf": [{ "type": "integer" }, { "type": "null" }], "title": "Stopcode" @@ -18412,7 +18928,30 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true + }, + "water_level": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Water Level", + "description": "Water surface below ground surface (m)" + }, + "predrilling_depth": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" + }, + "depth_top": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Depth Top" + }, + "depth_base": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Depth Base" + }, + "stopcode": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Stopcode" } }, "type": "object", @@ -18483,11 +19022,197 @@ "const": 28, "title": "Method Type Id", "default": 28 + }, + "water_level": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Water Level" + }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, + "depth_top": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Depth Top" + }, + "depth_base": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Depth Base" + }, + "stopcode": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Stopcode" } }, "type": "object", "title": "MethodSTICreate" }, + "MethodSTIData": { + "properties": { + "method_data_id": { + "type": "string", + "format": "uuid", + "title": "Method Data Id" + }, + "method_id": { + "type": "string", + "format": "uuid", + "title": "Method Id" + }, + "method_type_id": { + "type": "integer", + "const": 28, + "title": "Method Type Id", + "default": 28 + }, + "created_at": { + "type": "string", + "format": "date-time", + "title": "Created At" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "title": "Updated At" + }, + "depth": { + "type": "number", + "title": "Depth", + "description": "Depth (m). SGF code D." + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." + } + }, + "type": "object", + "required": [ + "method_data_id", + "method_id", + "created_at", + "updated_at", + "depth" + ], + "title": "MethodSTIData" + }, + "MethodSTIDataCreate": { + "properties": { + "method_data_id": { + "anyOf": [ + { "type": "string", "format": "uuid" }, + { "type": "null" } + ], + "title": "Method Data Id" + }, + "method_id": { + "anyOf": [ + { "type": "string", "format": "uuid" }, + { "type": "null" } + ], + "title": "Method Id" + }, + "method_type_id": { + "type": "integer", + "const": 28, + "title": "Method Type Id", + "default": 28 + }, + "created_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Created At" + }, + "updated_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Updated At" + }, + "depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + } + ], + "title": "Depth", + "description": "Depth (m). SGF code D." + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." + } + }, + "type": "object", + "required": ["depth"], + "title": "MethodSTIDataCreate" + }, + "MethodSTIDataUpdate": { + "properties": { + "method_type_id": { + "type": "integer", + "const": 28, + "title": "Method Type Id", + "default": 28 + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." + } + }, + "type": "object", + "title": "MethodSTIDataUpdate" + }, "MethodSTIUpdate": { "properties": { "method_id": { @@ -18526,18 +19251,40 @@ "anyOf": [{ "type": "string" }, { "type": "null" }], "title": "Conducted By" }, - "conducted_at": { + "conducted_at": { + "anyOf": [ + { "type": "string", "format": "date-time" }, + { "type": "null" } + ], + "title": "Conducted At" + }, + "method_type_id": { + "type": "integer", + "const": 28, + "title": "Method Type Id", + "default": 28 + }, + "water_level": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Water Level" + }, + "predrilling_depth": { "anyOf": [ - { "type": "string", "format": "date-time" }, + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, { "type": "null" } ], - "title": "Conducted At" - }, - "method_type_id": { - "type": "integer", - "const": 28, - "title": "Method Type Id", - "default": 28 + "title": "Predrilling Depth" } }, "type": "object", @@ -18606,7 +19353,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "vane_height": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -18631,6 +19380,10 @@ "title": "Calibration Date", "description": "Date of calibration of the vane used." }, + "predrilling_depth": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" + }, "depth_top": { "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Depth Top", @@ -18769,6 +19522,17 @@ ], "title": "Calibration Date", "description": "Date of calibration of the vane used." + }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" } }, "type": "object", @@ -19154,6 +19918,17 @@ "title": "Calibration Date", "description": "Date of calibration of the vane used." }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, "depth_top": { "anyOf": [ { "type": "number" }, @@ -19329,7 +20104,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "predrilling_depth": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -19831,7 +20608,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true } }, "type": "object", @@ -20025,7 +20804,9 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "predrilling_depth": { "anyOf": [{ "type": "number" }, { "type": "null" }], @@ -20220,6 +21001,16 @@ "type": "boolean", "title": "Increased Rotation Rate", "description": "Increased rotation rate" + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." } }, "type": "object", @@ -20331,6 +21122,16 @@ "type": "boolean", "title": "Increased Rotation Rate", "description": "Increased rotation rate" + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." } }, "type": "object", @@ -20345,70 +21146,15 @@ "title": "Method Type Id", "default": 16 }, - "depth": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Depth", - "description": "Depth (m). SGF code D." - }, - "penetration_rate": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Penetration Rate", - "description": "Penetration rate (mm/s)" - }, - "penetration_force": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Penetration Force", - "description": "Penetration force (kN)" - }, - "rotation_rate": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Rotation Rate", - "description": "Rotation rate (rpm)" - }, - "rod_friction": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Rod Friction", - "description": "Rod friction (kN)" + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" }, - "increased_rotation_rate": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], - "title": "Increased Rotation Rate", - "description": "Increased rotation rate" + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." } }, "type": "object", @@ -20621,9 +21367,15 @@ }, "self": { "anyOf": [{ "type": "string" }, { "type": "null" }], - "title": "Self" + "title": "Self", + "description": "Deprecated output only field. Will be removed soon after 2026-01-01.", + "deprecated": true }, "operation": { "$ref": "#/components/schemas/Operation" }, + "predrilling_depth": { + "anyOf": [{ "type": "number" }, { "type": "null" }], + "title": "Predrilling Depth" + }, "depth_top": { "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Depth Top" @@ -20631,6 +21383,10 @@ "depth_base": { "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Depth Base" + }, + "stopcode": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Stopcode" } }, "type": "object", @@ -20706,6 +21462,17 @@ "operation": { "$ref": "#/components/schemas/Operation", "default": "MECHANICAL" + }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" } }, "type": "object", @@ -20768,6 +21535,16 @@ "anyOf": [{ "type": "number" }, { "type": "null" }], "title": "Rotation Rate", "description": "Rotation rate (rpm)" + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." } }, "type": "object", @@ -20878,6 +21655,16 @@ ], "title": "Rotation Rate", "description": "Rotation rate (rpm)" + }, + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" + }, + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." } }, "type": "object", @@ -20892,69 +21679,15 @@ "title": "Method Type Id", "default": 26 }, - "depth": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Depth", - "description": "Depth (m). SGF code D." - }, - "turning": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Turning", - "description": "Turning (half revolution/0.2 m)" - }, - "load": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Load", - "description": "Load (kN)" - }, - "penetration_rate": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Penetration Rate", - "description": "Penetration rate (mm/s)" - }, - "hammering": { - "anyOf": [{ "type": "boolean" }, { "type": "null" }], - "title": "Hammering" + "remarks": { + "anyOf": [{ "type": "string" }, { "type": "null" }], + "title": "Remarks", + "description": "Remarks. SGF code T" }, - "rotation_rate": { - "anyOf": [ - { "type": "number" }, - { - "type": "string", - "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" - }, - { "type": "null" } - ], - "title": "Rotation Rate", - "description": "Rotation rate (rpm)" + "comment_code": { + "anyOf": [{ "type": "integer" }, { "type": "null" }], + "title": "Comment Code", + "description": "Comment code. Two digit value." } }, "type": "object", @@ -21011,6 +21744,17 @@ "title": "Method Type Id", "default": 26 }, + "predrilling_depth": { + "anyOf": [ + { "type": "number" }, + { + "type": "string", + "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$" + }, + { "type": "null" } + ], + "title": "Predrilling Depth" + }, "operation": { "anyOf": [ { "$ref": "#/components/schemas/Operation" }, @@ -23075,6 +23819,12 @@ "type": "array", "title": "Sampling Techniques", "default": [] + }, + "default_coordinate_reference_systems": { + "items": { "$ref": "#/components/schemas/CRSInfo" }, + "type": "array", + "title": "Default Coordinate Reference Systems", + "default": [] } }, "type": "object", diff --git a/openapi_specification/version b/openapi_specification/version index 98f35b2..c425b6c 100644 --- a/openapi_specification/version +++ b/openapi_specification/version @@ -1 +1 @@ -4.6.97 +4.6.150