hostinger-mail-api 1.18.2__tar.gz → 1.18.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/PKG-INFO +3 -3
  2. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/README.md +1 -1
  3. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/__init__.py +2 -2
  4. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/account_api.py +1 -1
  5. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/feedback_api.py +1 -1
  6. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/folders_api.py +1 -1
  7. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/messages_api.py +7 -7
  8. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/quota_api.py +1 -1
  9. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/send_api.py +4 -5
  10. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/webhooks_api.py +1 -1
  11. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api_client.py +5 -2
  12. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/configuration.py +3 -3
  13. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/exceptions.py +1 -1
  14. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/__init__.py +1 -1
  15. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/error.py +1 -1
  16. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/pagination.py +1 -1
  17. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_feedback_submit_request.py +1 -1
  18. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_collection.py +1 -1
  19. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_delete_bulk_request.py +1 -1
  20. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_flags_bulk_request.py +1 -1
  21. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_flags_request.py +1 -1
  22. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_message.py +1 -1
  23. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_message_address.py +1 -1
  24. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_message_attachment.py +1 -1
  25. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_message_text.py +1 -1
  26. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_message_text_resource.py +1 -1
  27. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_move_bulk_request.py +1 -1
  28. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_move_request.py +1 -1
  29. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_resource.py +1 -1
  30. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_search_request.py +1 -1
  31. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_update_flags_result.py +1 -1
  32. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_update_flags_result_data.py +1 -1
  33. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folder_messages_update_flags_result_data_failed_inner.py +1 -1
  34. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folders_collection.py +1 -1
  35. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folders_create_request.py +1 -1
  36. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folders_folder.py +1 -1
  37. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folders_resource.py +1 -1
  38. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_folders_update_request.py +1 -1
  39. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_me_mailbox.py +1 -1
  40. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_me_resource.py +1 -1
  41. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_me_resource_data.py +1 -1
  42. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_quota_quota.py +1 -1
  43. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_quota_quota_resource.py +1 -1
  44. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_quota_resource.py +1 -1
  45. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_send_attachment.py +1 -1
  46. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_send_message_ref.py +1 -1
  47. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_send_request.py +27 -4
  48. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_collection.py +1 -1
  49. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_create_request.py +1 -1
  50. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_resource.py +1 -1
  51. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_resource_with_secret.py +1 -1
  52. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_test_result.py +1 -1
  53. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_test_result_data.py +1 -1
  54. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_update_request.py +1 -1
  55. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_webhook.py +1 -1
  56. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/models/v1_webhooks_webhook_with_secret.py +1 -1
  57. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/rest.py +1 -1
  58. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api.egg-info/PKG-INFO +3 -3
  59. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/pyproject.toml +3 -3
  60. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/setup.py +3 -3
  61. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_account_api.py +1 -1
  62. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_error.py +1 -1
  63. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_feedback_api.py +1 -1
  64. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_folders_api.py +1 -1
  65. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_messages_api.py +1 -1
  66. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_pagination.py +1 -1
  67. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_quota_api.py +1 -1
  68. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_send_api.py +1 -1
  69. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_feedback_submit_request.py +1 -1
  70. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_collection.py +1 -1
  71. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_delete_bulk_request.py +1 -1
  72. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_flags_bulk_request.py +1 -1
  73. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_flags_request.py +1 -1
  74. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_message.py +1 -1
  75. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_message_address.py +1 -1
  76. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_message_attachment.py +1 -1
  77. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_message_text.py +1 -1
  78. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_message_text_resource.py +1 -1
  79. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_move_bulk_request.py +1 -1
  80. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_move_request.py +1 -1
  81. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_resource.py +1 -1
  82. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_search_request.py +1 -1
  83. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_update_flags_result.py +1 -1
  84. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_update_flags_result_data.py +1 -1
  85. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folder_messages_update_flags_result_data_failed_inner.py +1 -1
  86. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folders_collection.py +1 -1
  87. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folders_create_request.py +1 -1
  88. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folders_folder.py +1 -1
  89. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folders_resource.py +1 -1
  90. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_folders_update_request.py +1 -1
  91. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_me_mailbox.py +1 -1
  92. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_me_resource.py +1 -1
  93. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_me_resource_data.py +1 -1
  94. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_quota_quota.py +1 -1
  95. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_quota_quota_resource.py +1 -1
  96. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_quota_resource.py +1 -1
  97. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_send_attachment.py +1 -1
  98. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_send_message_ref.py +1 -1
  99. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_send_request.py +1 -1
  100. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_collection.py +1 -1
  101. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_create_request.py +1 -1
  102. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_resource.py +1 -1
  103. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_resource_with_secret.py +1 -1
  104. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_test_result.py +1 -1
  105. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_test_result_data.py +1 -1
  106. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_update_request.py +1 -1
  107. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_webhook.py +1 -1
  108. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_v1_webhooks_webhook_with_secret.py +1 -1
  109. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/test/test_webhooks_api.py +1 -1
  110. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api/__init__.py +0 -0
  111. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/api_response.py +0 -0
  112. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api/py.typed +0 -0
  113. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api.egg-info/SOURCES.txt +0 -0
  114. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api.egg-info/dependency_links.txt +0 -0
  115. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api.egg-info/requires.txt +0 -0
  116. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/hostinger_mail_api.egg-info/top_level.txt +0 -0
  117. {hostinger_mail_api-1.18.2 → hostinger_mail_api-1.18.4}/setup.cfg +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hostinger_mail_api
3
- Version: 1.18.2
3
+ Version: 1.18.4
4
4
  Summary: Hostinger Mail API
5
5
  Home-page: https://github.com/hostinger/mail-api-python-sdk
6
6
  Author: Hostinger
7
7
  Author-email: devs@hostinger.com
8
8
  License: MIT
9
9
  Keywords: hostinger,openapi,python,sdk,rest,api
10
- Requires-Python: >= 3.10
10
+ Requires-Python: >= 3.11
11
11
  Description-Content-Type: text/markdown
12
12
  Requires-Dist: urllib3<3.0.0,>=2.7.0
13
13
  Requires-Dist: python-dateutil>=2.8.2
@@ -34,7 +34,7 @@ This is a Python SDK for the [Hostinger API](https://developers.hostinger.com).
34
34
 
35
35
  ## Requirements.
36
36
 
37
- Python 3.9+
37
+ Python 3.11+
38
38
 
39
39
  ## Installation & Usage
40
40
  ### pip install
@@ -8,7 +8,7 @@ This is a Python SDK for the [Hostinger API](https://developers.hostinger.com).
8
8
 
9
9
  ## Requirements.
10
10
 
11
- Python 3.9+
11
+ Python 3.11+
12
12
 
13
13
  ## Installation & Usage
14
14
  ### pip install
@@ -5,14 +5,14 @@
5
5
  """
6
6
  Hostinger Mail API Python SDK
7
7
 
8
- API Version: 1.2.2
8
+ API Version: 1.3.0
9
9
 
10
10
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
11
11
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
12
12
  """ # noqa: E501
13
13
 
14
14
 
15
- __version__ = "1.18.2"
15
+ __version__ = "1.18.4"
16
16
 
17
17
  # import apis into sdk package
18
18
  from hostinger_mail_api.api.account_api import AccountApi
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1615,7 +1615,7 @@ class MessagesApi:
1615
1615
  ) -> bytearray:
1616
1616
  """Get message source
1617
1617
 
1618
- Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
1618
+ Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
1619
1619
 
1620
1620
  :param mailbox_resource_id: Resource ID of the managed mailbox the bearer token is authorized for. (required)
1621
1621
  :type mailbox_resource_id: str
@@ -1696,7 +1696,7 @@ class MessagesApi:
1696
1696
  ) -> ApiResponse[bytearray]:
1697
1697
  """Get message source
1698
1698
 
1699
- Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
1699
+ Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
1700
1700
 
1701
1701
  :param mailbox_resource_id: Resource ID of the managed mailbox the bearer token is authorized for. (required)
1702
1702
  :type mailbox_resource_id: str
@@ -1777,7 +1777,7 @@ class MessagesApi:
1777
1777
  ) -> RESTResponseType:
1778
1778
  """Get message source
1779
1779
 
1780
- Retrieve raw RFC822 source of a message as `message/rfc822` attachment.
1780
+ Retrieve raw RFC822 source of a message as `message/rfc822` attachment. Does not change the message `\\Seen` flag.
1781
1781
 
1782
1782
  :param mailbox_resource_id: Resource ID of the managed mailbox the bearer token is authorized for. (required)
1783
1783
  :type mailbox_resource_id: str
@@ -1925,7 +1925,7 @@ class MessagesApi:
1925
1925
  ) -> V1FolderMessagesMessageTextResource:
1926
1926
  """Get message text content
1927
1927
 
1928
- Retrieve rendered text (plain + HTML) of a message. Marks message as `\\Seen`.
1928
+ Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
1929
1929
 
1930
1930
  :param mailbox_resource_id: Resource ID of the managed mailbox the bearer token is authorized for. (required)
1931
1931
  :type mailbox_resource_id: str
@@ -2006,7 +2006,7 @@ class MessagesApi:
2006
2006
  ) -> ApiResponse[V1FolderMessagesMessageTextResource]:
2007
2007
  """Get message text content
2008
2008
 
2009
- Retrieve rendered text (plain + HTML) of a message. Marks message as `\\Seen`.
2009
+ Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
2010
2010
 
2011
2011
  :param mailbox_resource_id: Resource ID of the managed mailbox the bearer token is authorized for. (required)
2012
2012
  :type mailbox_resource_id: str
@@ -2087,7 +2087,7 @@ class MessagesApi:
2087
2087
  ) -> RESTResponseType:
2088
2088
  """Get message text content
2089
2089
 
2090
- Retrieve rendered text (plain + HTML) of a message. Marks message as `\\Seen`.
2090
+ Retrieve rendered text (plain + HTML) of a message. Does not change the message `\\Seen` flag.
2091
2091
 
2092
2092
  :param mailbox_resource_id: Resource ID of the managed mailbox the bearer token is authorized for. (required)
2093
2093
  :type mailbox_resource_id: str
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -15,7 +15,6 @@ from typing import Any, Dict, List, Optional, Tuple, Union
15
15
  from typing_extensions import Annotated
16
16
 
17
17
  from pydantic import Field, StrictStr
18
- from typing import Optional
19
18
  from typing_extensions import Annotated
20
19
  from hostinger_mail_api.models.v1_send_request import V1SendRequest
21
20
 
@@ -36,7 +35,7 @@ class SendApi:
36
35
  def send_email(
37
36
  self,
38
37
  mailbox_resource_id: Annotated[StrictStr, Field(description="Resource ID of the managed mailbox the bearer token is authorized for.")],
39
- v1_send_request: Optional[V1SendRequest],
38
+ v1_send_request: V1SendRequest,
40
39
  _request_timeout: Union[
41
40
  None,
42
41
  Annotated[StrictFloat, Field(gt=0)],
@@ -113,7 +112,7 @@ class SendApi:
113
112
  def send_email_with_http_info(
114
113
  self,
115
114
  mailbox_resource_id: Annotated[StrictStr, Field(description="Resource ID of the managed mailbox the bearer token is authorized for.")],
116
- v1_send_request: Optional[V1SendRequest],
115
+ v1_send_request: V1SendRequest,
117
116
  _request_timeout: Union[
118
117
  None,
119
118
  Annotated[StrictFloat, Field(gt=0)],
@@ -190,7 +189,7 @@ class SendApi:
190
189
  def send_email_without_preload_content(
191
190
  self,
192
191
  mailbox_resource_id: Annotated[StrictStr, Field(description="Resource ID of the managed mailbox the bearer token is authorized for.")],
193
- v1_send_request: Optional[V1SendRequest],
192
+ v1_send_request: V1SendRequest,
194
193
  _request_timeout: Union[
195
194
  None,
196
195
  Annotated[StrictFloat, Field(gt=0)],
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -88,7 +88,7 @@ class ApiClient:
88
88
  self.default_headers[header_name] = header_value
89
89
  self.cookie = cookie
90
90
  # Set default User-Agent.
91
- self.user_agent = 'hostinger_mail_api-python/1.18.2'
91
+ self.user_agent = 'hostinger_mail_api-python/1.18.4'
92
92
  self.client_side_validation = configuration.client_side_validation
93
93
 
94
94
  def __enter__(self):
@@ -194,6 +194,9 @@ class ApiClient:
194
194
  collection_formats
195
195
  )
196
196
  for k, v in path_params:
197
+ # empty values and dot segments survive encoding and collapse or resolve away, changing the endpoint
198
+ if str(v) in ('', '.', '..'):
199
+ raise ApiValueError('Invalid value for path parameter `%s`' % k)
197
200
  # specified safe chars, encode everything
198
201
  resource_path = resource_path.replace(
199
202
  '{%s}' % k,
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -507,8 +507,8 @@ class Configuration:
507
507
  return "Python SDK Debug Report:\n"\
508
508
  "OS: {env}\n"\
509
509
  "Python Version: {pyversion}\n"\
510
- "Version of the API: 1.2.2\n"\
511
- "SDK Package Version: 1.18.2".\
510
+ "Version of the API: 1.3.0\n"\
511
+ "SDK Package Version: 1.18.4".\
512
512
  format(env=sys.platform, pyversion=sys.version)
513
513
 
514
514
  def get_host_settings(self) -> List[HostSetting]:
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -4,7 +4,7 @@
4
4
  """
5
5
  Hostinger Mail API Python SDK
6
6
 
7
- API Version: 1.2.2
7
+ API Version: 1.3.0
8
8
 
9
9
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.2.2
6
+ API Version: 1.3.0
7
7
 
8
8
  NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api