hostinger-mail-api 1.2.3__tar.gz → 1.4.0__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 (113) hide show
  1. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/PKG-INFO +2 -1
  2. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/README.md +1 -0
  3. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/__init__.py +3 -2
  4. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api/account_api.py +1 -1
  5. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api/folders_api.py +1 -1
  6. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api/messages_api.py +1 -1
  7. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api/quota_api.py +1 -1
  8. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api/send_api.py +1 -1
  9. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api/webhooks_api.py +1 -1
  10. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api_client.py +2 -2
  11. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/configuration.py +3 -3
  12. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/exceptions.py +1 -1
  13. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/__init__.py +2 -1
  14. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/error.py +1 -1
  15. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/pagination.py +1 -1
  16. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_collection.py +1 -1
  17. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_delete_bulk_request.py +1 -1
  18. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_flags_bulk_request.py +1 -1
  19. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_flags_request.py +1 -1
  20. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_message.py +1 -1
  21. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_message_address.py +1 -1
  22. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_message_attachment.py +1 -1
  23. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_message_text.py +1 -1
  24. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_message_text_resource.py +1 -1
  25. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_move_bulk_request.py +1 -1
  26. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_move_request.py +1 -1
  27. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_resource.py +1 -1
  28. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_search_request.py +1 -1
  29. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_update_flags_result.py +1 -1
  30. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_update_flags_result_data.py +1 -1
  31. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folder_messages_update_flags_result_data_failed_inner.py +1 -1
  32. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folders_collection.py +1 -1
  33. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folders_create_request.py +1 -1
  34. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folders_folder.py +1 -1
  35. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folders_resource.py +1 -1
  36. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_folders_update_request.py +1 -1
  37. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_me_mailbox.py +1 -1
  38. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_me_resource.py +1 -1
  39. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_me_resource_data.py +1 -1
  40. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_quota_quota.py +1 -1
  41. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_quota_quota_resource.py +1 -1
  42. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_quota_resource.py +1 -1
  43. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_send_attachment.py +1 -1
  44. hostinger_mail_api-1.4.0/hostinger_mail_api/models/v1_send_message_ref.py +87 -0
  45. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_send_request.py +4 -1
  46. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_collection.py +1 -1
  47. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_create_request.py +1 -1
  48. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_resource.py +1 -1
  49. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_resource_with_secret.py +1 -1
  50. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_test_result.py +1 -1
  51. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_test_result_data.py +1 -1
  52. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_update_request.py +1 -1
  53. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_webhook.py +1 -1
  54. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/models/v1_webhooks_webhook_with_secret.py +1 -1
  55. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/rest.py +1 -1
  56. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api.egg-info/PKG-INFO +2 -1
  57. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api.egg-info/SOURCES.txt +2 -0
  58. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/pyproject.toml +1 -1
  59. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/setup.py +2 -2
  60. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_account_api.py +1 -1
  61. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_error.py +1 -1
  62. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_folders_api.py +1 -1
  63. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_messages_api.py +1 -1
  64. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_pagination.py +1 -1
  65. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_quota_api.py +1 -1
  66. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_send_api.py +1 -1
  67. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_collection.py +1 -1
  68. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_delete_bulk_request.py +1 -1
  69. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_flags_bulk_request.py +1 -1
  70. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_flags_request.py +1 -1
  71. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_message.py +1 -1
  72. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_message_address.py +1 -1
  73. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_message_attachment.py +1 -1
  74. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_message_text.py +1 -1
  75. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_message_text_resource.py +1 -1
  76. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_move_bulk_request.py +1 -1
  77. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_move_request.py +1 -1
  78. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_resource.py +1 -1
  79. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_search_request.py +1 -1
  80. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_update_flags_result.py +1 -1
  81. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_update_flags_result_data.py +1 -1
  82. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folder_messages_update_flags_result_data_failed_inner.py +1 -1
  83. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folders_collection.py +1 -1
  84. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folders_create_request.py +1 -1
  85. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folders_folder.py +1 -1
  86. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folders_resource.py +1 -1
  87. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_folders_update_request.py +1 -1
  88. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_me_mailbox.py +1 -1
  89. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_me_resource.py +1 -1
  90. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_me_resource_data.py +1 -1
  91. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_quota_quota.py +1 -1
  92. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_quota_quota_resource.py +1 -1
  93. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_quota_resource.py +1 -1
  94. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_send_attachment.py +1 -1
  95. hostinger_mail_api-1.4.0/test/test_v1_send_message_ref.py +52 -0
  96. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_send_request.py +8 -2
  97. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_collection.py +1 -1
  98. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_create_request.py +1 -1
  99. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_resource.py +1 -1
  100. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_resource_with_secret.py +1 -1
  101. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_test_result.py +1 -1
  102. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_test_result_data.py +1 -1
  103. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_update_request.py +1 -1
  104. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_webhook.py +1 -1
  105. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_v1_webhooks_webhook_with_secret.py +1 -1
  106. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/test/test_webhooks_api.py +1 -1
  107. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api/__init__.py +0 -0
  108. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/api_response.py +0 -0
  109. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api/py.typed +0 -0
  110. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api.egg-info/dependency_links.txt +0 -0
  111. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api.egg-info/requires.txt +0 -0
  112. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/hostinger_mail_api.egg-info/top_level.txt +0 -0
  113. {hostinger_mail_api-1.2.3 → hostinger_mail_api-1.4.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hostinger_mail_api
3
- Version: 1.2.3
3
+ Version: 1.4.0
4
4
  Summary: Hostinger Mail API
5
5
  Home-page: https://github.com/hostinger/mail-api-python-sdk
6
6
  Author: Hostinger
@@ -166,6 +166,7 @@ Class | Method | HTTP request | Description
166
166
  - [V1QuotaQuotaResource](docs/V1QuotaQuotaResource.md)
167
167
  - [V1QuotaResource](docs/V1QuotaResource.md)
168
168
  - [V1SendAttachment](docs/V1SendAttachment.md)
169
+ - [V1SendMessageRef](docs/V1SendMessageRef.md)
169
170
  - [V1SendRequest](docs/V1SendRequest.md)
170
171
  - [V1WebhooksCollection](docs/V1WebhooksCollection.md)
171
172
  - [V1WebhooksCreateRequest](docs/V1WebhooksCreateRequest.md)
@@ -142,6 +142,7 @@ Class | Method | HTTP request | Description
142
142
  - [V1QuotaQuotaResource](docs/V1QuotaQuotaResource.md)
143
143
  - [V1QuotaResource](docs/V1QuotaResource.md)
144
144
  - [V1SendAttachment](docs/V1SendAttachment.md)
145
+ - [V1SendMessageRef](docs/V1SendMessageRef.md)
145
146
  - [V1SendRequest](docs/V1SendRequest.md)
146
147
  - [V1WebhooksCollection](docs/V1WebhooksCollection.md)
147
148
  - [V1WebhooksCreateRequest](docs/V1WebhooksCreateRequest.md)
@@ -5,14 +5,14 @@
5
5
  """
6
6
  Hostinger Mail API Python SDK
7
7
 
8
- API Version: 1.0.3
8
+ API Version: 1.1.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.2.3"
15
+ __version__ = "1.4.0"
16
16
 
17
17
  # import apis into sdk package
18
18
  from hostinger_mail_api.api.account_api import AccountApi
@@ -64,6 +64,7 @@ from hostinger_mail_api.models.v1_quota_quota import V1QuotaQuota
64
64
  from hostinger_mail_api.models.v1_quota_quota_resource import V1QuotaQuotaResource
65
65
  from hostinger_mail_api.models.v1_quota_resource import V1QuotaResource
66
66
  from hostinger_mail_api.models.v1_send_attachment import V1SendAttachment
67
+ from hostinger_mail_api.models.v1_send_message_ref import V1SendMessageRef
67
68
  from hostinger_mail_api.models.v1_send_request import V1SendRequest
68
69
  from hostinger_mail_api.models.v1_webhooks_collection import V1WebhooksCollection
69
70
  from hostinger_mail_api.models.v1_webhooks_create_request import V1WebhooksCreateRequest
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.2.3'
91
+ self.user_agent = 'hostinger_mail_api-python/1.4.0'
92
92
  self.client_side_validation = configuration.client_side_validation
93
93
 
94
94
  def __enter__(self):
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.0.3
6
+ API Version: 1.1.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.0.3\n"\
511
- "SDK Package Version: 1.2.3".\
510
+ "Version of the API: 1.1.0\n"\
511
+ "SDK Package Version: 1.4.0".\
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.0.3
6
+ API Version: 1.1.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.0.3
7
+ API Version: 1.1.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
@@ -42,6 +42,7 @@ from hostinger_mail_api.models.v1_quota_quota import V1QuotaQuota
42
42
  from hostinger_mail_api.models.v1_quota_quota_resource import V1QuotaQuotaResource
43
43
  from hostinger_mail_api.models.v1_quota_resource import V1QuotaResource
44
44
  from hostinger_mail_api.models.v1_send_attachment import V1SendAttachment
45
+ from hostinger_mail_api.models.v1_send_message_ref import V1SendMessageRef
45
46
  from hostinger_mail_api.models.v1_send_request import V1SendRequest
46
47
  from hostinger_mail_api.models.v1_webhooks_collection import V1WebhooksCollection
47
48
  from hostinger_mail_api.models.v1_webhooks_create_request import V1WebhooksCreateRequest
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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
@@ -0,0 +1,87 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Hostinger Mail API Python SDK
5
+
6
+ API Version: 1.1.0
7
+
8
+ NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
+ If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
10
+ """ # noqa: E501
11
+
12
+
13
+ from __future__ import annotations
14
+ import pprint
15
+ import re # noqa: F401
16
+ import json
17
+
18
+ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
19
+ from typing import Any, ClassVar, Dict, List
20
+ from typing import Optional, Set
21
+ from typing_extensions import Self
22
+
23
+ class V1SendMessageRef(BaseModel):
24
+ """
25
+ Reference to a source message by UID within a folder, used for reply/forward threading. Both fields are required.
26
+ """ # noqa: E501
27
+ uid: StrictInt = Field(description="UID of the source message.")
28
+ folder: StrictStr = Field(description="Folder containing the source message.")
29
+ __properties: ClassVar[List[str]] = ["uid", "folder"]
30
+
31
+ model_config = ConfigDict(
32
+ populate_by_name=True,
33
+ validate_assignment=True,
34
+ protected_namespaces=(),
35
+ )
36
+
37
+
38
+ def to_str(self) -> str:
39
+ """Returns the string representation of the model using alias"""
40
+ return pprint.pformat(self.model_dump(by_alias=True))
41
+
42
+ def to_json(self) -> str:
43
+ """Returns the JSON representation of the model using alias"""
44
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
45
+ return json.dumps(self.to_dict())
46
+
47
+ @classmethod
48
+ def from_json(cls, json_str: str) -> Optional[Self]:
49
+ """Create an instance of V1SendMessageRef from a JSON string"""
50
+ return cls.from_dict(json.loads(json_str))
51
+
52
+ def to_dict(self) -> Dict[str, Any]:
53
+ """Return the dictionary representation of the model using alias.
54
+
55
+ This has the following differences from calling pydantic's
56
+ `self.model_dump(by_alias=True)`:
57
+
58
+ * `None` is only added to the output dict for nullable fields that
59
+ were set at model initialization. Other fields with value `None`
60
+ are ignored.
61
+ """
62
+ excluded_fields: Set[str] = set([
63
+ ])
64
+
65
+ _dict = self.model_dump(
66
+ by_alias=True,
67
+ exclude=excluded_fields,
68
+ exclude_none=True,
69
+ )
70
+ return _dict
71
+
72
+ @classmethod
73
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
74
+ """Create an instance of V1SendMessageRef from a dict"""
75
+ if obj is None:
76
+ return None
77
+
78
+ if not isinstance(obj, dict):
79
+ return cls.model_validate(obj)
80
+
81
+ _obj = cls.model_validate({
82
+ "uid": obj.get("uid"),
83
+ "folder": obj.get("folder")
84
+ })
85
+ return _obj
86
+
87
+
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.0.3
6
+ API Version: 1.1.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
@@ -18,6 +18,7 @@ import json
18
18
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
19
19
  from typing import Any, ClassVar, Dict, List, Optional
20
20
  from hostinger_mail_api.models.v1_send_attachment import V1SendAttachment
21
+ from hostinger_mail_api.models.v1_send_message_ref import V1SendMessageRef
21
22
  from typing import Optional, Set
22
23
  from typing_extensions import Self
23
24
 
@@ -33,6 +34,8 @@ class V1SendRequest(BaseModel):
33
34
  text: Optional[StrictStr] = None
34
35
  html: Optional[StrictStr] = None
35
36
  attachments: Optional[List[V1SendAttachment]] = None
37
+ in_reply_to: Optional[V1SendMessageRef] = Field(default=None, description="Source message this is a reply to. Copies its Message-Id/References into In-Reply-To/References and flags it \\Answered. Mutually exclusive with forwardOf.", alias="inReplyTo")
38
+ forward_of: Optional[V1SendMessageRef] = Field(default=None, description="Source message this forwards. Copies its Message-Id/References into In-Reply-To/References and flags it $forwarded. Mutually exclusive with inReplyTo.", alias="forwardOf")
36
39
  __properties: ClassVar[List[str]] = []
37
40
 
38
41
  model_config = ConfigDict(
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Hostinger Mail API Python SDK
5
5
 
6
- API Version: 1.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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.0.3
6
+ API Version: 1.1.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