mailodds 0.1.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.
- mailodds-0.1.0/PKG-INFO +265 -0
- mailodds-0.1.0/README.md +230 -0
- mailodds-0.1.0/mailodds/__init__.py +159 -0
- mailodds-0.1.0/mailodds/api/__init__.py +9 -0
- mailodds-0.1.0/mailodds/api/bulk_validation_api.py +2638 -0
- mailodds-0.1.0/mailodds/api/email_validation_api.py +321 -0
- mailodds-0.1.0/mailodds/api/suppression_lists_api.py +1446 -0
- mailodds-0.1.0/mailodds/api/system_api.py +555 -0
- mailodds-0.1.0/mailodds/api/validation_policies_api.py +2827 -0
- mailodds-0.1.0/mailodds/api_client.py +805 -0
- mailodds-0.1.0/mailodds/api_response.py +21 -0
- mailodds-0.1.0/mailodds/cli.py +334 -0
- mailodds-0.1.0/mailodds/configuration.py +588 -0
- mailodds-0.1.0/mailodds/exceptions.py +220 -0
- mailodds-0.1.0/mailodds/models/__init__.py +68 -0
- mailodds-0.1.0/mailodds/models/add_policy_rule201_response.py +92 -0
- mailodds-0.1.0/mailodds/models/add_suppression_request.py +96 -0
- mailodds-0.1.0/mailodds/models/add_suppression_request_entries_inner.py +99 -0
- mailodds-0.1.0/mailodds/models/add_suppression_response.py +92 -0
- mailodds-0.1.0/mailodds/models/check_suppression_request.py +88 -0
- mailodds-0.1.0/mailodds/models/create_job_from_s3_request.py +90 -0
- mailodds-0.1.0/mailodds/models/create_job_request.py +97 -0
- mailodds-0.1.0/mailodds/models/create_policy_from_preset_request.py +99 -0
- mailodds-0.1.0/mailodds/models/create_policy_request.py +103 -0
- mailodds-0.1.0/mailodds/models/delete_job200_response.py +90 -0
- mailodds-0.1.0/mailodds/models/delete_policy200_response.py +90 -0
- mailodds-0.1.0/mailodds/models/delete_policy_rule200_response.py +88 -0
- mailodds-0.1.0/mailodds/models/error_response.py +92 -0
- mailodds-0.1.0/mailodds/models/get_presigned_upload_request.py +90 -0
- mailodds-0.1.0/mailodds/models/health_check200_response.py +91 -0
- mailodds-0.1.0/mailodds/models/job.py +120 -0
- mailodds-0.1.0/mailodds/models/job_list_response.py +104 -0
- mailodds-0.1.0/mailodds/models/job_response.py +94 -0
- mailodds-0.1.0/mailodds/models/job_summary.py +96 -0
- mailodds-0.1.0/mailodds/models/pagination.py +94 -0
- mailodds-0.1.0/mailodds/models/policy.py +113 -0
- mailodds-0.1.0/mailodds/models/policy_list_response.py +104 -0
- mailodds-0.1.0/mailodds/models/policy_list_response_limits.py +92 -0
- mailodds-0.1.0/mailodds/models/policy_presets_response.py +98 -0
- mailodds-0.1.0/mailodds/models/policy_presets_response_presets_inner.py +102 -0
- mailodds-0.1.0/mailodds/models/policy_response.py +94 -0
- mailodds-0.1.0/mailodds/models/policy_rule.py +109 -0
- mailodds-0.1.0/mailodds/models/policy_rule_action.py +98 -0
- mailodds-0.1.0/mailodds/models/policy_test_response.py +101 -0
- mailodds-0.1.0/mailodds/models/presigned_upload_response.py +94 -0
- mailodds-0.1.0/mailodds/models/presigned_upload_response_upload.py +94 -0
- mailodds-0.1.0/mailodds/models/remove_suppression200_response.py +90 -0
- mailodds-0.1.0/mailodds/models/remove_suppression_request.py +88 -0
- mailodds-0.1.0/mailodds/models/results_response.py +104 -0
- mailodds-0.1.0/mailodds/models/suppression_check_response.py +106 -0
- mailodds-0.1.0/mailodds/models/suppression_entry.py +107 -0
- mailodds-0.1.0/mailodds/models/suppression_list_response.py +104 -0
- mailodds-0.1.0/mailodds/models/suppression_stats_response.py +96 -0
- mailodds-0.1.0/mailodds/models/suppression_stats_response_by_type.py +90 -0
- mailodds-0.1.0/mailodds/models/telemetry_summary.py +137 -0
- mailodds-0.1.0/mailodds/models/telemetry_summary_rates.py +94 -0
- mailodds-0.1.0/mailodds/models/telemetry_summary_top_domains_inner.py +98 -0
- mailodds-0.1.0/mailodds/models/telemetry_summary_top_reasons_inner.py +90 -0
- mailodds-0.1.0/mailodds/models/telemetry_summary_totals.py +90 -0
- mailodds-0.1.0/mailodds/models/test_policy_request.py +94 -0
- mailodds-0.1.0/mailodds/models/test_policy_request_test_result.py +96 -0
- mailodds-0.1.0/mailodds/models/update_policy_request.py +94 -0
- mailodds-0.1.0/mailodds/models/validate_request.py +90 -0
- mailodds-0.1.0/mailodds/models/validation_response.py +128 -0
- mailodds-0.1.0/mailodds/models/validation_response_suppression_match.py +102 -0
- mailodds-0.1.0/mailodds/models/validation_result.py +97 -0
- mailodds-0.1.0/mailodds/py.typed +0 -0
- mailodds-0.1.0/mailodds/rest.py +264 -0
- mailodds-0.1.0/mailodds.egg-info/PKG-INFO +265 -0
- mailodds-0.1.0/mailodds.egg-info/SOURCES.txt +132 -0
- mailodds-0.1.0/mailodds.egg-info/dependency_links.txt +1 -0
- mailodds-0.1.0/mailodds.egg-info/entry_points.txt +2 -0
- mailodds-0.1.0/mailodds.egg-info/requires.txt +8 -0
- mailodds-0.1.0/mailodds.egg-info/top_level.txt +1 -0
- mailodds-0.1.0/pyproject.toml +50 -0
- mailodds-0.1.0/setup.cfg +7 -0
- mailodds-0.1.0/setup.py +51 -0
- mailodds-0.1.0/test/test_add_policy_rule201_response.py +58 -0
- mailodds-0.1.0/test/test_add_suppression_request.py +63 -0
- mailodds-0.1.0/test/test_add_suppression_request_entries_inner.py +56 -0
- mailodds-0.1.0/test/test_add_suppression_response.py +54 -0
- mailodds-0.1.0/test/test_bulk_validation_api.py +95 -0
- mailodds-0.1.0/test/test_check_suppression_request.py +53 -0
- mailodds-0.1.0/test/test_create_job_from_s3_request.py +54 -0
- mailodds-0.1.0/test/test_create_job_request.py +61 -0
- mailodds-0.1.0/test/test_create_policy_from_preset_request.py +56 -0
- mailodds-0.1.0/test/test_create_policy_request.py +64 -0
- mailodds-0.1.0/test/test_delete_job200_response.py +53 -0
- mailodds-0.1.0/test/test_delete_policy200_response.py +53 -0
- mailodds-0.1.0/test/test_delete_policy_rule200_response.py +52 -0
- mailodds-0.1.0/test/test_email_validation_api.py +39 -0
- mailodds-0.1.0/test/test_error_response.py +56 -0
- mailodds-0.1.0/test/test_get_presigned_upload_request.py +54 -0
- mailodds-0.1.0/test/test_health_check200_response.py +53 -0
- mailodds-0.1.0/test/test_job.py +65 -0
- mailodds-0.1.0/test/test_job_list_response.py +74 -0
- mailodds-0.1.0/test/test_job_response.py +67 -0
- mailodds-0.1.0/test/test_job_summary.py +56 -0
- mailodds-0.1.0/test/test_pagination.py +55 -0
- mailodds-0.1.0/test/test_policy.py +68 -0
- mailodds-0.1.0/test/test_policy_list_response.py +76 -0
- mailodds-0.1.0/test/test_policy_list_response_limits.py +54 -0
- mailodds-0.1.0/test/test_policy_presets_response.py +67 -0
- mailodds-0.1.0/test/test_policy_presets_response_presets_inner.py +63 -0
- mailodds-0.1.0/test/test_policy_response.py +70 -0
- mailodds-0.1.0/test/test_policy_rule.py +60 -0
- mailodds-0.1.0/test/test_policy_rule_action.py +52 -0
- mailodds-0.1.0/test/test_policy_test_response.py +56 -0
- mailodds-0.1.0/test/test_presigned_upload_response.py +57 -0
- mailodds-0.1.0/test/test_presigned_upload_response_upload.py +55 -0
- mailodds-0.1.0/test/test_remove_suppression200_response.py +53 -0
- mailodds-0.1.0/test/test_remove_suppression_request.py +57 -0
- mailodds-0.1.0/test/test_results_response.py +65 -0
- mailodds-0.1.0/test/test_suppression_check_response.py +56 -0
- mailodds-0.1.0/test/test_suppression_entry.py +56 -0
- mailodds-0.1.0/test/test_suppression_list_response.py +65 -0
- mailodds-0.1.0/test/test_suppression_lists_api.py +67 -0
- mailodds-0.1.0/test/test_suppression_stats_response.py +56 -0
- mailodds-0.1.0/test/test_suppression_stats_response_by_type.py +53 -0
- mailodds-0.1.0/test/test_system_api.py +46 -0
- mailodds-0.1.0/test/test_telemetry_summary.py +77 -0
- mailodds-0.1.0/test/test_telemetry_summary_rates.py +55 -0
- mailodds-0.1.0/test/test_telemetry_summary_top_domains_inner.py +57 -0
- mailodds-0.1.0/test/test_telemetry_summary_top_reasons_inner.py +53 -0
- mailodds-0.1.0/test/test_telemetry_summary_totals.py +53 -0
- mailodds-0.1.0/test/test_test_policy_request.py +65 -0
- mailodds-0.1.0/test/test_test_policy_request_test_result.py +56 -0
- mailodds-0.1.0/test/test_update_policy_request.py +55 -0
- mailodds-0.1.0/test/test_validate_request.py +54 -0
- mailodds-0.1.0/test/test_validation_policies_api.py +102 -0
- mailodds-0.1.0/test/test_validation_response.py +69 -0
- mailodds-0.1.0/test/test_validation_response_suppression_match.py +54 -0
- mailodds-0.1.0/test/test_validation_result.py +56 -0
mailodds-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mailodds
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: MailOdds Email Validation API - SDK and CLI
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: MailOdds Support
|
|
7
|
+
Author-email: MailOdds <support@mailodds.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Homepage, https://mailodds.com
|
|
10
|
+
Project-URL: Documentation, https://mailodds.com/docs
|
|
11
|
+
Project-URL: Repository, https://github.com/mailodds/python-sdk
|
|
12
|
+
Keywords: email,validation,verification,mailodds,api,sdk
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Communications :: Email
|
|
23
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
+
Requires-Python: >=3.9
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
27
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
28
|
+
Requires-Dist: pydantic>=2
|
|
29
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
30
|
+
Requires-Dist: click>=8.0
|
|
31
|
+
Requires-Dist: requests>=2.28
|
|
32
|
+
Requires-Dist: sseclient-py>=1.7
|
|
33
|
+
Requires-Dist: rich>=13.0
|
|
34
|
+
Dynamic: author
|
|
35
|
+
|
|
36
|
+
# mailodds
|
|
37
|
+
MailOdds provides email validation services to help maintain clean email lists
|
|
38
|
+
and improve deliverability. The API performs multiple validation checks including
|
|
39
|
+
format verification, domain validation, MX record checking, and disposable email detection.
|
|
40
|
+
|
|
41
|
+
## Authentication
|
|
42
|
+
|
|
43
|
+
All API requests require authentication using a Bearer token. Include your API key
|
|
44
|
+
in the Authorization header:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
Authorization: Bearer YOUR_API_KEY
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
API keys can be created in the MailOdds dashboard.
|
|
51
|
+
|
|
52
|
+
## Rate Limits
|
|
53
|
+
|
|
54
|
+
Rate limits vary by plan:
|
|
55
|
+
- Free: 10 requests/minute
|
|
56
|
+
- Starter: 60 requests/minute
|
|
57
|
+
- Pro: 300 requests/minute
|
|
58
|
+
- Business: 1000 requests/minute
|
|
59
|
+
- Enterprise: Custom limits
|
|
60
|
+
|
|
61
|
+
## Response Format
|
|
62
|
+
|
|
63
|
+
All responses include:
|
|
64
|
+
- `schema_version`: API schema version (currently \"1.0\")
|
|
65
|
+
- `request_id`: Unique request identifier for debugging
|
|
66
|
+
|
|
67
|
+
Error responses include:
|
|
68
|
+
- `error`: Machine-readable error code
|
|
69
|
+
- `message`: Human-readable error description
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
73
|
+
|
|
74
|
+
- API version: 1.0.0
|
|
75
|
+
- Package version: 0.1.0
|
|
76
|
+
- Generator version: 7.19.0
|
|
77
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
78
|
+
For more information, please visit [https://mailodds.com/contact](https://mailodds.com/contact)
|
|
79
|
+
|
|
80
|
+
## Requirements.
|
|
81
|
+
|
|
82
|
+
Python 3.9+
|
|
83
|
+
|
|
84
|
+
## Installation & Usage
|
|
85
|
+
### pip install
|
|
86
|
+
|
|
87
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
88
|
+
|
|
89
|
+
```sh
|
|
90
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
91
|
+
```
|
|
92
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
93
|
+
|
|
94
|
+
Then import the package:
|
|
95
|
+
```python
|
|
96
|
+
import mailodds
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Setuptools
|
|
100
|
+
|
|
101
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
python setup.py install --user
|
|
105
|
+
```
|
|
106
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
107
|
+
|
|
108
|
+
Then import the package:
|
|
109
|
+
```python
|
|
110
|
+
import mailodds
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Tests
|
|
114
|
+
|
|
115
|
+
Execute `pytest` to run the tests.
|
|
116
|
+
|
|
117
|
+
## Getting Started
|
|
118
|
+
|
|
119
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
120
|
+
|
|
121
|
+
```python
|
|
122
|
+
|
|
123
|
+
import mailodds
|
|
124
|
+
from mailodds.rest import ApiException
|
|
125
|
+
from pprint import pprint
|
|
126
|
+
|
|
127
|
+
# Defining the host is optional and defaults to https://api.mailodds.com/v1
|
|
128
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
129
|
+
configuration = mailodds.Configuration(
|
|
130
|
+
host = "https://api.mailodds.com/v1"
|
|
131
|
+
)
|
|
132
|
+
|
|
133
|
+
# The client must configure the authentication and authorization parameters
|
|
134
|
+
# in accordance with the API server security policy.
|
|
135
|
+
# Examples for each auth method are provided below, use the example that
|
|
136
|
+
# satisfies your auth use case.
|
|
137
|
+
|
|
138
|
+
# Configure Bearer authorization: BearerAuth
|
|
139
|
+
configuration = mailodds.Configuration(
|
|
140
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
# Enter a context with an instance of the API client
|
|
145
|
+
with mailodds.ApiClient(configuration) as api_client:
|
|
146
|
+
# Create an instance of the API class
|
|
147
|
+
api_instance = mailodds.BulkValidationApi(api_client)
|
|
148
|
+
job_id = 'job_id_example' # str |
|
|
149
|
+
|
|
150
|
+
try:
|
|
151
|
+
# Cancel a job
|
|
152
|
+
api_response = api_instance.cancel_job(job_id)
|
|
153
|
+
print("The response of BulkValidationApi->cancel_job:\n")
|
|
154
|
+
pprint(api_response)
|
|
155
|
+
except ApiException as e:
|
|
156
|
+
print("Exception when calling BulkValidationApi->cancel_job: %s\n" % e)
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
## Documentation for API Endpoints
|
|
161
|
+
|
|
162
|
+
All URIs are relative to *https://api.mailodds.com/v1*
|
|
163
|
+
|
|
164
|
+
Class | Method | HTTP request | Description
|
|
165
|
+
------------ | ------------- | ------------- | -------------
|
|
166
|
+
*BulkValidationApi* | [**cancel_job**](docs/BulkValidationApi.md#cancel_job) | **POST** /v1/jobs/{job_id}/cancel | Cancel a job
|
|
167
|
+
*BulkValidationApi* | [**create_job**](docs/BulkValidationApi.md#create_job) | **POST** /v1/jobs | Create bulk validation job (JSON)
|
|
168
|
+
*BulkValidationApi* | [**create_job_from_s3**](docs/BulkValidationApi.md#create_job_from_s3) | **POST** /v1/jobs/upload/s3 | Create job from S3 upload
|
|
169
|
+
*BulkValidationApi* | [**create_job_upload**](docs/BulkValidationApi.md#create_job_upload) | **POST** /v1/jobs/upload | Create bulk validation job (file upload)
|
|
170
|
+
*BulkValidationApi* | [**delete_job**](docs/BulkValidationApi.md#delete_job) | **DELETE** /v1/jobs/{job_id} | Delete a job
|
|
171
|
+
*BulkValidationApi* | [**get_job**](docs/BulkValidationApi.md#get_job) | **GET** /v1/jobs/{job_id} | Get job status
|
|
172
|
+
*BulkValidationApi* | [**get_job_results**](docs/BulkValidationApi.md#get_job_results) | **GET** /v1/jobs/{job_id}/results | Get job results
|
|
173
|
+
*BulkValidationApi* | [**get_presigned_upload**](docs/BulkValidationApi.md#get_presigned_upload) | **POST** /v1/jobs/upload/presigned | Get S3 presigned upload URL
|
|
174
|
+
*BulkValidationApi* | [**list_jobs**](docs/BulkValidationApi.md#list_jobs) | **GET** /v1/jobs | List validation jobs
|
|
175
|
+
*EmailValidationApi* | [**validate_email**](docs/EmailValidationApi.md#validate_email) | **POST** /v1/validate | Validate single email
|
|
176
|
+
*SuppressionListsApi* | [**add_suppression**](docs/SuppressionListsApi.md#add_suppression) | **POST** /v1/suppression | Add suppression entries
|
|
177
|
+
*SuppressionListsApi* | [**check_suppression**](docs/SuppressionListsApi.md#check_suppression) | **POST** /v1/suppression/check | Check suppression status
|
|
178
|
+
*SuppressionListsApi* | [**get_suppression_stats**](docs/SuppressionListsApi.md#get_suppression_stats) | **GET** /v1/suppression/stats | Get suppression statistics
|
|
179
|
+
*SuppressionListsApi* | [**list_suppression**](docs/SuppressionListsApi.md#list_suppression) | **GET** /v1/suppression | List suppression entries
|
|
180
|
+
*SuppressionListsApi* | [**remove_suppression**](docs/SuppressionListsApi.md#remove_suppression) | **DELETE** /v1/suppression | Remove suppression entries
|
|
181
|
+
*SystemApi* | [**get_telemetry_summary**](docs/SystemApi.md#get_telemetry_summary) | **GET** /v1/telemetry/summary | Get validation telemetry
|
|
182
|
+
*SystemApi* | [**health_check**](docs/SystemApi.md#health_check) | **GET** /health | Health check
|
|
183
|
+
*ValidationPoliciesApi* | [**add_policy_rule**](docs/ValidationPoliciesApi.md#add_policy_rule) | **POST** /v1/policies/{policy_id}/rules | Add rule to policy
|
|
184
|
+
*ValidationPoliciesApi* | [**create_policy**](docs/ValidationPoliciesApi.md#create_policy) | **POST** /v1/policies | Create policy
|
|
185
|
+
*ValidationPoliciesApi* | [**create_policy_from_preset**](docs/ValidationPoliciesApi.md#create_policy_from_preset) | **POST** /v1/policies/from-preset | Create policy from preset
|
|
186
|
+
*ValidationPoliciesApi* | [**delete_policy**](docs/ValidationPoliciesApi.md#delete_policy) | **DELETE** /v1/policies/{policy_id} | Delete policy
|
|
187
|
+
*ValidationPoliciesApi* | [**delete_policy_rule**](docs/ValidationPoliciesApi.md#delete_policy_rule) | **DELETE** /v1/policies/{policy_id}/rules/{rule_id} | Delete rule
|
|
188
|
+
*ValidationPoliciesApi* | [**get_policy**](docs/ValidationPoliciesApi.md#get_policy) | **GET** /v1/policies/{policy_id} | Get policy
|
|
189
|
+
*ValidationPoliciesApi* | [**get_policy_presets**](docs/ValidationPoliciesApi.md#get_policy_presets) | **GET** /v1/policies/presets | Get policy presets
|
|
190
|
+
*ValidationPoliciesApi* | [**list_policies**](docs/ValidationPoliciesApi.md#list_policies) | **GET** /v1/policies | List policies
|
|
191
|
+
*ValidationPoliciesApi* | [**test_policy**](docs/ValidationPoliciesApi.md#test_policy) | **POST** /v1/policies/test | Test policy evaluation
|
|
192
|
+
*ValidationPoliciesApi* | [**update_policy**](docs/ValidationPoliciesApi.md#update_policy) | **PUT** /v1/policies/{policy_id} | Update policy
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
## Documentation For Models
|
|
196
|
+
|
|
197
|
+
- [AddPolicyRule201Response](docs/AddPolicyRule201Response.md)
|
|
198
|
+
- [AddSuppressionRequest](docs/AddSuppressionRequest.md)
|
|
199
|
+
- [AddSuppressionRequestEntriesInner](docs/AddSuppressionRequestEntriesInner.md)
|
|
200
|
+
- [AddSuppressionResponse](docs/AddSuppressionResponse.md)
|
|
201
|
+
- [CheckSuppressionRequest](docs/CheckSuppressionRequest.md)
|
|
202
|
+
- [CreateJobFromS3Request](docs/CreateJobFromS3Request.md)
|
|
203
|
+
- [CreateJobRequest](docs/CreateJobRequest.md)
|
|
204
|
+
- [CreatePolicyFromPresetRequest](docs/CreatePolicyFromPresetRequest.md)
|
|
205
|
+
- [CreatePolicyRequest](docs/CreatePolicyRequest.md)
|
|
206
|
+
- [DeleteJob200Response](docs/DeleteJob200Response.md)
|
|
207
|
+
- [DeletePolicy200Response](docs/DeletePolicy200Response.md)
|
|
208
|
+
- [DeletePolicyRule200Response](docs/DeletePolicyRule200Response.md)
|
|
209
|
+
- [ErrorResponse](docs/ErrorResponse.md)
|
|
210
|
+
- [GetPresignedUploadRequest](docs/GetPresignedUploadRequest.md)
|
|
211
|
+
- [HealthCheck200Response](docs/HealthCheck200Response.md)
|
|
212
|
+
- [Job](docs/Job.md)
|
|
213
|
+
- [JobListResponse](docs/JobListResponse.md)
|
|
214
|
+
- [JobResponse](docs/JobResponse.md)
|
|
215
|
+
- [JobSummary](docs/JobSummary.md)
|
|
216
|
+
- [Pagination](docs/Pagination.md)
|
|
217
|
+
- [Policy](docs/Policy.md)
|
|
218
|
+
- [PolicyListResponse](docs/PolicyListResponse.md)
|
|
219
|
+
- [PolicyListResponseLimits](docs/PolicyListResponseLimits.md)
|
|
220
|
+
- [PolicyPresetsResponse](docs/PolicyPresetsResponse.md)
|
|
221
|
+
- [PolicyPresetsResponsePresetsInner](docs/PolicyPresetsResponsePresetsInner.md)
|
|
222
|
+
- [PolicyResponse](docs/PolicyResponse.md)
|
|
223
|
+
- [PolicyRule](docs/PolicyRule.md)
|
|
224
|
+
- [PolicyRuleAction](docs/PolicyRuleAction.md)
|
|
225
|
+
- [PolicyTestResponse](docs/PolicyTestResponse.md)
|
|
226
|
+
- [PresignedUploadResponse](docs/PresignedUploadResponse.md)
|
|
227
|
+
- [PresignedUploadResponseUpload](docs/PresignedUploadResponseUpload.md)
|
|
228
|
+
- [RemoveSuppression200Response](docs/RemoveSuppression200Response.md)
|
|
229
|
+
- [RemoveSuppressionRequest](docs/RemoveSuppressionRequest.md)
|
|
230
|
+
- [ResultsResponse](docs/ResultsResponse.md)
|
|
231
|
+
- [SuppressionCheckResponse](docs/SuppressionCheckResponse.md)
|
|
232
|
+
- [SuppressionEntry](docs/SuppressionEntry.md)
|
|
233
|
+
- [SuppressionListResponse](docs/SuppressionListResponse.md)
|
|
234
|
+
- [SuppressionStatsResponse](docs/SuppressionStatsResponse.md)
|
|
235
|
+
- [SuppressionStatsResponseByType](docs/SuppressionStatsResponseByType.md)
|
|
236
|
+
- [TelemetrySummary](docs/TelemetrySummary.md)
|
|
237
|
+
- [TelemetrySummaryRates](docs/TelemetrySummaryRates.md)
|
|
238
|
+
- [TelemetrySummaryTopDomainsInner](docs/TelemetrySummaryTopDomainsInner.md)
|
|
239
|
+
- [TelemetrySummaryTopReasonsInner](docs/TelemetrySummaryTopReasonsInner.md)
|
|
240
|
+
- [TelemetrySummaryTotals](docs/TelemetrySummaryTotals.md)
|
|
241
|
+
- [TestPolicyRequest](docs/TestPolicyRequest.md)
|
|
242
|
+
- [TestPolicyRequestTestResult](docs/TestPolicyRequestTestResult.md)
|
|
243
|
+
- [UpdatePolicyRequest](docs/UpdatePolicyRequest.md)
|
|
244
|
+
- [ValidateRequest](docs/ValidateRequest.md)
|
|
245
|
+
- [ValidationResponse](docs/ValidationResponse.md)
|
|
246
|
+
- [ValidationResponseSuppressionMatch](docs/ValidationResponseSuppressionMatch.md)
|
|
247
|
+
- [ValidationResult](docs/ValidationResult.md)
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
<a id="documentation-for-authorization"></a>
|
|
251
|
+
## Documentation For Authorization
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
Authentication schemes defined for the API:
|
|
255
|
+
<a id="BearerAuth"></a>
|
|
256
|
+
### BearerAuth
|
|
257
|
+
|
|
258
|
+
- **Type**: Bearer authentication
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
## Author
|
|
262
|
+
|
|
263
|
+
support@mailodds.com
|
|
264
|
+
|
|
265
|
+
|
mailodds-0.1.0/README.md
ADDED
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
# mailodds
|
|
2
|
+
MailOdds provides email validation services to help maintain clean email lists
|
|
3
|
+
and improve deliverability. The API performs multiple validation checks including
|
|
4
|
+
format verification, domain validation, MX record checking, and disposable email detection.
|
|
5
|
+
|
|
6
|
+
## Authentication
|
|
7
|
+
|
|
8
|
+
All API requests require authentication using a Bearer token. Include your API key
|
|
9
|
+
in the Authorization header:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
Authorization: Bearer YOUR_API_KEY
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
API keys can be created in the MailOdds dashboard.
|
|
16
|
+
|
|
17
|
+
## Rate Limits
|
|
18
|
+
|
|
19
|
+
Rate limits vary by plan:
|
|
20
|
+
- Free: 10 requests/minute
|
|
21
|
+
- Starter: 60 requests/minute
|
|
22
|
+
- Pro: 300 requests/minute
|
|
23
|
+
- Business: 1000 requests/minute
|
|
24
|
+
- Enterprise: Custom limits
|
|
25
|
+
|
|
26
|
+
## Response Format
|
|
27
|
+
|
|
28
|
+
All responses include:
|
|
29
|
+
- `schema_version`: API schema version (currently \"1.0\")
|
|
30
|
+
- `request_id`: Unique request identifier for debugging
|
|
31
|
+
|
|
32
|
+
Error responses include:
|
|
33
|
+
- `error`: Machine-readable error code
|
|
34
|
+
- `message`: Human-readable error description
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
38
|
+
|
|
39
|
+
- API version: 1.0.0
|
|
40
|
+
- Package version: 0.1.0
|
|
41
|
+
- Generator version: 7.19.0
|
|
42
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
43
|
+
For more information, please visit [https://mailodds.com/contact](https://mailodds.com/contact)
|
|
44
|
+
|
|
45
|
+
## Requirements.
|
|
46
|
+
|
|
47
|
+
Python 3.9+
|
|
48
|
+
|
|
49
|
+
## Installation & Usage
|
|
50
|
+
### pip install
|
|
51
|
+
|
|
52
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
56
|
+
```
|
|
57
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
58
|
+
|
|
59
|
+
Then import the package:
|
|
60
|
+
```python
|
|
61
|
+
import mailodds
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Setuptools
|
|
65
|
+
|
|
66
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
python setup.py install --user
|
|
70
|
+
```
|
|
71
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
72
|
+
|
|
73
|
+
Then import the package:
|
|
74
|
+
```python
|
|
75
|
+
import mailodds
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Tests
|
|
79
|
+
|
|
80
|
+
Execute `pytest` to run the tests.
|
|
81
|
+
|
|
82
|
+
## Getting Started
|
|
83
|
+
|
|
84
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
|
|
88
|
+
import mailodds
|
|
89
|
+
from mailodds.rest import ApiException
|
|
90
|
+
from pprint import pprint
|
|
91
|
+
|
|
92
|
+
# Defining the host is optional and defaults to https://api.mailodds.com/v1
|
|
93
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
94
|
+
configuration = mailodds.Configuration(
|
|
95
|
+
host = "https://api.mailodds.com/v1"
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
# The client must configure the authentication and authorization parameters
|
|
99
|
+
# in accordance with the API server security policy.
|
|
100
|
+
# Examples for each auth method are provided below, use the example that
|
|
101
|
+
# satisfies your auth use case.
|
|
102
|
+
|
|
103
|
+
# Configure Bearer authorization: BearerAuth
|
|
104
|
+
configuration = mailodds.Configuration(
|
|
105
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
# Enter a context with an instance of the API client
|
|
110
|
+
with mailodds.ApiClient(configuration) as api_client:
|
|
111
|
+
# Create an instance of the API class
|
|
112
|
+
api_instance = mailodds.BulkValidationApi(api_client)
|
|
113
|
+
job_id = 'job_id_example' # str |
|
|
114
|
+
|
|
115
|
+
try:
|
|
116
|
+
# Cancel a job
|
|
117
|
+
api_response = api_instance.cancel_job(job_id)
|
|
118
|
+
print("The response of BulkValidationApi->cancel_job:\n")
|
|
119
|
+
pprint(api_response)
|
|
120
|
+
except ApiException as e:
|
|
121
|
+
print("Exception when calling BulkValidationApi->cancel_job: %s\n" % e)
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Documentation for API Endpoints
|
|
126
|
+
|
|
127
|
+
All URIs are relative to *https://api.mailodds.com/v1*
|
|
128
|
+
|
|
129
|
+
Class | Method | HTTP request | Description
|
|
130
|
+
------------ | ------------- | ------------- | -------------
|
|
131
|
+
*BulkValidationApi* | [**cancel_job**](docs/BulkValidationApi.md#cancel_job) | **POST** /v1/jobs/{job_id}/cancel | Cancel a job
|
|
132
|
+
*BulkValidationApi* | [**create_job**](docs/BulkValidationApi.md#create_job) | **POST** /v1/jobs | Create bulk validation job (JSON)
|
|
133
|
+
*BulkValidationApi* | [**create_job_from_s3**](docs/BulkValidationApi.md#create_job_from_s3) | **POST** /v1/jobs/upload/s3 | Create job from S3 upload
|
|
134
|
+
*BulkValidationApi* | [**create_job_upload**](docs/BulkValidationApi.md#create_job_upload) | **POST** /v1/jobs/upload | Create bulk validation job (file upload)
|
|
135
|
+
*BulkValidationApi* | [**delete_job**](docs/BulkValidationApi.md#delete_job) | **DELETE** /v1/jobs/{job_id} | Delete a job
|
|
136
|
+
*BulkValidationApi* | [**get_job**](docs/BulkValidationApi.md#get_job) | **GET** /v1/jobs/{job_id} | Get job status
|
|
137
|
+
*BulkValidationApi* | [**get_job_results**](docs/BulkValidationApi.md#get_job_results) | **GET** /v1/jobs/{job_id}/results | Get job results
|
|
138
|
+
*BulkValidationApi* | [**get_presigned_upload**](docs/BulkValidationApi.md#get_presigned_upload) | **POST** /v1/jobs/upload/presigned | Get S3 presigned upload URL
|
|
139
|
+
*BulkValidationApi* | [**list_jobs**](docs/BulkValidationApi.md#list_jobs) | **GET** /v1/jobs | List validation jobs
|
|
140
|
+
*EmailValidationApi* | [**validate_email**](docs/EmailValidationApi.md#validate_email) | **POST** /v1/validate | Validate single email
|
|
141
|
+
*SuppressionListsApi* | [**add_suppression**](docs/SuppressionListsApi.md#add_suppression) | **POST** /v1/suppression | Add suppression entries
|
|
142
|
+
*SuppressionListsApi* | [**check_suppression**](docs/SuppressionListsApi.md#check_suppression) | **POST** /v1/suppression/check | Check suppression status
|
|
143
|
+
*SuppressionListsApi* | [**get_suppression_stats**](docs/SuppressionListsApi.md#get_suppression_stats) | **GET** /v1/suppression/stats | Get suppression statistics
|
|
144
|
+
*SuppressionListsApi* | [**list_suppression**](docs/SuppressionListsApi.md#list_suppression) | **GET** /v1/suppression | List suppression entries
|
|
145
|
+
*SuppressionListsApi* | [**remove_suppression**](docs/SuppressionListsApi.md#remove_suppression) | **DELETE** /v1/suppression | Remove suppression entries
|
|
146
|
+
*SystemApi* | [**get_telemetry_summary**](docs/SystemApi.md#get_telemetry_summary) | **GET** /v1/telemetry/summary | Get validation telemetry
|
|
147
|
+
*SystemApi* | [**health_check**](docs/SystemApi.md#health_check) | **GET** /health | Health check
|
|
148
|
+
*ValidationPoliciesApi* | [**add_policy_rule**](docs/ValidationPoliciesApi.md#add_policy_rule) | **POST** /v1/policies/{policy_id}/rules | Add rule to policy
|
|
149
|
+
*ValidationPoliciesApi* | [**create_policy**](docs/ValidationPoliciesApi.md#create_policy) | **POST** /v1/policies | Create policy
|
|
150
|
+
*ValidationPoliciesApi* | [**create_policy_from_preset**](docs/ValidationPoliciesApi.md#create_policy_from_preset) | **POST** /v1/policies/from-preset | Create policy from preset
|
|
151
|
+
*ValidationPoliciesApi* | [**delete_policy**](docs/ValidationPoliciesApi.md#delete_policy) | **DELETE** /v1/policies/{policy_id} | Delete policy
|
|
152
|
+
*ValidationPoliciesApi* | [**delete_policy_rule**](docs/ValidationPoliciesApi.md#delete_policy_rule) | **DELETE** /v1/policies/{policy_id}/rules/{rule_id} | Delete rule
|
|
153
|
+
*ValidationPoliciesApi* | [**get_policy**](docs/ValidationPoliciesApi.md#get_policy) | **GET** /v1/policies/{policy_id} | Get policy
|
|
154
|
+
*ValidationPoliciesApi* | [**get_policy_presets**](docs/ValidationPoliciesApi.md#get_policy_presets) | **GET** /v1/policies/presets | Get policy presets
|
|
155
|
+
*ValidationPoliciesApi* | [**list_policies**](docs/ValidationPoliciesApi.md#list_policies) | **GET** /v1/policies | List policies
|
|
156
|
+
*ValidationPoliciesApi* | [**test_policy**](docs/ValidationPoliciesApi.md#test_policy) | **POST** /v1/policies/test | Test policy evaluation
|
|
157
|
+
*ValidationPoliciesApi* | [**update_policy**](docs/ValidationPoliciesApi.md#update_policy) | **PUT** /v1/policies/{policy_id} | Update policy
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
## Documentation For Models
|
|
161
|
+
|
|
162
|
+
- [AddPolicyRule201Response](docs/AddPolicyRule201Response.md)
|
|
163
|
+
- [AddSuppressionRequest](docs/AddSuppressionRequest.md)
|
|
164
|
+
- [AddSuppressionRequestEntriesInner](docs/AddSuppressionRequestEntriesInner.md)
|
|
165
|
+
- [AddSuppressionResponse](docs/AddSuppressionResponse.md)
|
|
166
|
+
- [CheckSuppressionRequest](docs/CheckSuppressionRequest.md)
|
|
167
|
+
- [CreateJobFromS3Request](docs/CreateJobFromS3Request.md)
|
|
168
|
+
- [CreateJobRequest](docs/CreateJobRequest.md)
|
|
169
|
+
- [CreatePolicyFromPresetRequest](docs/CreatePolicyFromPresetRequest.md)
|
|
170
|
+
- [CreatePolicyRequest](docs/CreatePolicyRequest.md)
|
|
171
|
+
- [DeleteJob200Response](docs/DeleteJob200Response.md)
|
|
172
|
+
- [DeletePolicy200Response](docs/DeletePolicy200Response.md)
|
|
173
|
+
- [DeletePolicyRule200Response](docs/DeletePolicyRule200Response.md)
|
|
174
|
+
- [ErrorResponse](docs/ErrorResponse.md)
|
|
175
|
+
- [GetPresignedUploadRequest](docs/GetPresignedUploadRequest.md)
|
|
176
|
+
- [HealthCheck200Response](docs/HealthCheck200Response.md)
|
|
177
|
+
- [Job](docs/Job.md)
|
|
178
|
+
- [JobListResponse](docs/JobListResponse.md)
|
|
179
|
+
- [JobResponse](docs/JobResponse.md)
|
|
180
|
+
- [JobSummary](docs/JobSummary.md)
|
|
181
|
+
- [Pagination](docs/Pagination.md)
|
|
182
|
+
- [Policy](docs/Policy.md)
|
|
183
|
+
- [PolicyListResponse](docs/PolicyListResponse.md)
|
|
184
|
+
- [PolicyListResponseLimits](docs/PolicyListResponseLimits.md)
|
|
185
|
+
- [PolicyPresetsResponse](docs/PolicyPresetsResponse.md)
|
|
186
|
+
- [PolicyPresetsResponsePresetsInner](docs/PolicyPresetsResponsePresetsInner.md)
|
|
187
|
+
- [PolicyResponse](docs/PolicyResponse.md)
|
|
188
|
+
- [PolicyRule](docs/PolicyRule.md)
|
|
189
|
+
- [PolicyRuleAction](docs/PolicyRuleAction.md)
|
|
190
|
+
- [PolicyTestResponse](docs/PolicyTestResponse.md)
|
|
191
|
+
- [PresignedUploadResponse](docs/PresignedUploadResponse.md)
|
|
192
|
+
- [PresignedUploadResponseUpload](docs/PresignedUploadResponseUpload.md)
|
|
193
|
+
- [RemoveSuppression200Response](docs/RemoveSuppression200Response.md)
|
|
194
|
+
- [RemoveSuppressionRequest](docs/RemoveSuppressionRequest.md)
|
|
195
|
+
- [ResultsResponse](docs/ResultsResponse.md)
|
|
196
|
+
- [SuppressionCheckResponse](docs/SuppressionCheckResponse.md)
|
|
197
|
+
- [SuppressionEntry](docs/SuppressionEntry.md)
|
|
198
|
+
- [SuppressionListResponse](docs/SuppressionListResponse.md)
|
|
199
|
+
- [SuppressionStatsResponse](docs/SuppressionStatsResponse.md)
|
|
200
|
+
- [SuppressionStatsResponseByType](docs/SuppressionStatsResponseByType.md)
|
|
201
|
+
- [TelemetrySummary](docs/TelemetrySummary.md)
|
|
202
|
+
- [TelemetrySummaryRates](docs/TelemetrySummaryRates.md)
|
|
203
|
+
- [TelemetrySummaryTopDomainsInner](docs/TelemetrySummaryTopDomainsInner.md)
|
|
204
|
+
- [TelemetrySummaryTopReasonsInner](docs/TelemetrySummaryTopReasonsInner.md)
|
|
205
|
+
- [TelemetrySummaryTotals](docs/TelemetrySummaryTotals.md)
|
|
206
|
+
- [TestPolicyRequest](docs/TestPolicyRequest.md)
|
|
207
|
+
- [TestPolicyRequestTestResult](docs/TestPolicyRequestTestResult.md)
|
|
208
|
+
- [UpdatePolicyRequest](docs/UpdatePolicyRequest.md)
|
|
209
|
+
- [ValidateRequest](docs/ValidateRequest.md)
|
|
210
|
+
- [ValidationResponse](docs/ValidationResponse.md)
|
|
211
|
+
- [ValidationResponseSuppressionMatch](docs/ValidationResponseSuppressionMatch.md)
|
|
212
|
+
- [ValidationResult](docs/ValidationResult.md)
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<a id="documentation-for-authorization"></a>
|
|
216
|
+
## Documentation For Authorization
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
Authentication schemes defined for the API:
|
|
220
|
+
<a id="BearerAuth"></a>
|
|
221
|
+
### BearerAuth
|
|
222
|
+
|
|
223
|
+
- **Type**: Bearer authentication
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
## Author
|
|
227
|
+
|
|
228
|
+
support@mailodds.com
|
|
229
|
+
|
|
230
|
+
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
MailOdds Email Validation API
|
|
7
|
+
|
|
8
|
+
MailOdds provides email validation services to help maintain clean email lists and improve deliverability. The API performs multiple validation checks including format verification, domain validation, MX record checking, and disposable email detection. ## Authentication All API requests require authentication using a Bearer token. Include your API key in the Authorization header: ``` Authorization: Bearer YOUR_API_KEY ``` API keys can be created in the MailOdds dashboard. ## Rate Limits Rate limits vary by plan: - Free: 10 requests/minute - Starter: 60 requests/minute - Pro: 300 requests/minute - Business: 1000 requests/minute - Enterprise: Custom limits ## Response Format All responses include: - `schema_version`: API schema version (currently \"1.0\") - `request_id`: Unique request identifier for debugging Error responses include: - `error`: Machine-readable error code - `message`: Human-readable error description
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 1.0.0
|
|
11
|
+
Contact: support@mailodds.com
|
|
12
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
+
|
|
14
|
+
Do not edit the class manually.
|
|
15
|
+
""" # noqa: E501
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__version__ = "0.1.0"
|
|
19
|
+
|
|
20
|
+
# Define package exports
|
|
21
|
+
__all__ = [
|
|
22
|
+
"BulkValidationApi",
|
|
23
|
+
"EmailValidationApi",
|
|
24
|
+
"SuppressionListsApi",
|
|
25
|
+
"SystemApi",
|
|
26
|
+
"ValidationPoliciesApi",
|
|
27
|
+
"ApiResponse",
|
|
28
|
+
"ApiClient",
|
|
29
|
+
"Configuration",
|
|
30
|
+
"OpenApiException",
|
|
31
|
+
"ApiTypeError",
|
|
32
|
+
"ApiValueError",
|
|
33
|
+
"ApiKeyError",
|
|
34
|
+
"ApiAttributeError",
|
|
35
|
+
"ApiException",
|
|
36
|
+
"AddPolicyRule201Response",
|
|
37
|
+
"AddSuppressionRequest",
|
|
38
|
+
"AddSuppressionRequestEntriesInner",
|
|
39
|
+
"AddSuppressionResponse",
|
|
40
|
+
"CheckSuppressionRequest",
|
|
41
|
+
"CreateJobFromS3Request",
|
|
42
|
+
"CreateJobRequest",
|
|
43
|
+
"CreatePolicyFromPresetRequest",
|
|
44
|
+
"CreatePolicyRequest",
|
|
45
|
+
"DeleteJob200Response",
|
|
46
|
+
"DeletePolicy200Response",
|
|
47
|
+
"DeletePolicyRule200Response",
|
|
48
|
+
"ErrorResponse",
|
|
49
|
+
"GetPresignedUploadRequest",
|
|
50
|
+
"HealthCheck200Response",
|
|
51
|
+
"Job",
|
|
52
|
+
"JobListResponse",
|
|
53
|
+
"JobResponse",
|
|
54
|
+
"JobSummary",
|
|
55
|
+
"Pagination",
|
|
56
|
+
"Policy",
|
|
57
|
+
"PolicyListResponse",
|
|
58
|
+
"PolicyListResponseLimits",
|
|
59
|
+
"PolicyPresetsResponse",
|
|
60
|
+
"PolicyPresetsResponsePresetsInner",
|
|
61
|
+
"PolicyResponse",
|
|
62
|
+
"PolicyRule",
|
|
63
|
+
"PolicyRuleAction",
|
|
64
|
+
"PolicyTestResponse",
|
|
65
|
+
"PresignedUploadResponse",
|
|
66
|
+
"PresignedUploadResponseUpload",
|
|
67
|
+
"RemoveSuppression200Response",
|
|
68
|
+
"RemoveSuppressionRequest",
|
|
69
|
+
"ResultsResponse",
|
|
70
|
+
"SuppressionCheckResponse",
|
|
71
|
+
"SuppressionEntry",
|
|
72
|
+
"SuppressionListResponse",
|
|
73
|
+
"SuppressionStatsResponse",
|
|
74
|
+
"SuppressionStatsResponseByType",
|
|
75
|
+
"TelemetrySummary",
|
|
76
|
+
"TelemetrySummaryRates",
|
|
77
|
+
"TelemetrySummaryTopDomainsInner",
|
|
78
|
+
"TelemetrySummaryTopReasonsInner",
|
|
79
|
+
"TelemetrySummaryTotals",
|
|
80
|
+
"TestPolicyRequest",
|
|
81
|
+
"TestPolicyRequestTestResult",
|
|
82
|
+
"UpdatePolicyRequest",
|
|
83
|
+
"ValidateRequest",
|
|
84
|
+
"ValidationResponse",
|
|
85
|
+
"ValidationResponseSuppressionMatch",
|
|
86
|
+
"ValidationResult",
|
|
87
|
+
]
|
|
88
|
+
|
|
89
|
+
# import apis into sdk package
|
|
90
|
+
from mailodds.api.bulk_validation_api import BulkValidationApi as BulkValidationApi
|
|
91
|
+
from mailodds.api.email_validation_api import EmailValidationApi as EmailValidationApi
|
|
92
|
+
from mailodds.api.suppression_lists_api import SuppressionListsApi as SuppressionListsApi
|
|
93
|
+
from mailodds.api.system_api import SystemApi as SystemApi
|
|
94
|
+
from mailodds.api.validation_policies_api import ValidationPoliciesApi as ValidationPoliciesApi
|
|
95
|
+
|
|
96
|
+
# import ApiClient
|
|
97
|
+
from mailodds.api_response import ApiResponse as ApiResponse
|
|
98
|
+
from mailodds.api_client import ApiClient as ApiClient
|
|
99
|
+
from mailodds.configuration import Configuration as Configuration
|
|
100
|
+
from mailodds.exceptions import OpenApiException as OpenApiException
|
|
101
|
+
from mailodds.exceptions import ApiTypeError as ApiTypeError
|
|
102
|
+
from mailodds.exceptions import ApiValueError as ApiValueError
|
|
103
|
+
from mailodds.exceptions import ApiKeyError as ApiKeyError
|
|
104
|
+
from mailodds.exceptions import ApiAttributeError as ApiAttributeError
|
|
105
|
+
from mailodds.exceptions import ApiException as ApiException
|
|
106
|
+
|
|
107
|
+
# import models into sdk package
|
|
108
|
+
from mailodds.models.add_policy_rule201_response import AddPolicyRule201Response as AddPolicyRule201Response
|
|
109
|
+
from mailodds.models.add_suppression_request import AddSuppressionRequest as AddSuppressionRequest
|
|
110
|
+
from mailodds.models.add_suppression_request_entries_inner import AddSuppressionRequestEntriesInner as AddSuppressionRequestEntriesInner
|
|
111
|
+
from mailodds.models.add_suppression_response import AddSuppressionResponse as AddSuppressionResponse
|
|
112
|
+
from mailodds.models.check_suppression_request import CheckSuppressionRequest as CheckSuppressionRequest
|
|
113
|
+
from mailodds.models.create_job_from_s3_request import CreateJobFromS3Request as CreateJobFromS3Request
|
|
114
|
+
from mailodds.models.create_job_request import CreateJobRequest as CreateJobRequest
|
|
115
|
+
from mailodds.models.create_policy_from_preset_request import CreatePolicyFromPresetRequest as CreatePolicyFromPresetRequest
|
|
116
|
+
from mailodds.models.create_policy_request import CreatePolicyRequest as CreatePolicyRequest
|
|
117
|
+
from mailodds.models.delete_job200_response import DeleteJob200Response as DeleteJob200Response
|
|
118
|
+
from mailodds.models.delete_policy200_response import DeletePolicy200Response as DeletePolicy200Response
|
|
119
|
+
from mailodds.models.delete_policy_rule200_response import DeletePolicyRule200Response as DeletePolicyRule200Response
|
|
120
|
+
from mailodds.models.error_response import ErrorResponse as ErrorResponse
|
|
121
|
+
from mailodds.models.get_presigned_upload_request import GetPresignedUploadRequest as GetPresignedUploadRequest
|
|
122
|
+
from mailodds.models.health_check200_response import HealthCheck200Response as HealthCheck200Response
|
|
123
|
+
from mailodds.models.job import Job as Job
|
|
124
|
+
from mailodds.models.job_list_response import JobListResponse as JobListResponse
|
|
125
|
+
from mailodds.models.job_response import JobResponse as JobResponse
|
|
126
|
+
from mailodds.models.job_summary import JobSummary as JobSummary
|
|
127
|
+
from mailodds.models.pagination import Pagination as Pagination
|
|
128
|
+
from mailodds.models.policy import Policy as Policy
|
|
129
|
+
from mailodds.models.policy_list_response import PolicyListResponse as PolicyListResponse
|
|
130
|
+
from mailodds.models.policy_list_response_limits import PolicyListResponseLimits as PolicyListResponseLimits
|
|
131
|
+
from mailodds.models.policy_presets_response import PolicyPresetsResponse as PolicyPresetsResponse
|
|
132
|
+
from mailodds.models.policy_presets_response_presets_inner import PolicyPresetsResponsePresetsInner as PolicyPresetsResponsePresetsInner
|
|
133
|
+
from mailodds.models.policy_response import PolicyResponse as PolicyResponse
|
|
134
|
+
from mailodds.models.policy_rule import PolicyRule as PolicyRule
|
|
135
|
+
from mailodds.models.policy_rule_action import PolicyRuleAction as PolicyRuleAction
|
|
136
|
+
from mailodds.models.policy_test_response import PolicyTestResponse as PolicyTestResponse
|
|
137
|
+
from mailodds.models.presigned_upload_response import PresignedUploadResponse as PresignedUploadResponse
|
|
138
|
+
from mailodds.models.presigned_upload_response_upload import PresignedUploadResponseUpload as PresignedUploadResponseUpload
|
|
139
|
+
from mailodds.models.remove_suppression200_response import RemoveSuppression200Response as RemoveSuppression200Response
|
|
140
|
+
from mailodds.models.remove_suppression_request import RemoveSuppressionRequest as RemoveSuppressionRequest
|
|
141
|
+
from mailodds.models.results_response import ResultsResponse as ResultsResponse
|
|
142
|
+
from mailodds.models.suppression_check_response import SuppressionCheckResponse as SuppressionCheckResponse
|
|
143
|
+
from mailodds.models.suppression_entry import SuppressionEntry as SuppressionEntry
|
|
144
|
+
from mailodds.models.suppression_list_response import SuppressionListResponse as SuppressionListResponse
|
|
145
|
+
from mailodds.models.suppression_stats_response import SuppressionStatsResponse as SuppressionStatsResponse
|
|
146
|
+
from mailodds.models.suppression_stats_response_by_type import SuppressionStatsResponseByType as SuppressionStatsResponseByType
|
|
147
|
+
from mailodds.models.telemetry_summary import TelemetrySummary as TelemetrySummary
|
|
148
|
+
from mailodds.models.telemetry_summary_rates import TelemetrySummaryRates as TelemetrySummaryRates
|
|
149
|
+
from mailodds.models.telemetry_summary_top_domains_inner import TelemetrySummaryTopDomainsInner as TelemetrySummaryTopDomainsInner
|
|
150
|
+
from mailodds.models.telemetry_summary_top_reasons_inner import TelemetrySummaryTopReasonsInner as TelemetrySummaryTopReasonsInner
|
|
151
|
+
from mailodds.models.telemetry_summary_totals import TelemetrySummaryTotals as TelemetrySummaryTotals
|
|
152
|
+
from mailodds.models.test_policy_request import TestPolicyRequest as TestPolicyRequest
|
|
153
|
+
from mailodds.models.test_policy_request_test_result import TestPolicyRequestTestResult as TestPolicyRequestTestResult
|
|
154
|
+
from mailodds.models.update_policy_request import UpdatePolicyRequest as UpdatePolicyRequest
|
|
155
|
+
from mailodds.models.validate_request import ValidateRequest as ValidateRequest
|
|
156
|
+
from mailodds.models.validation_response import ValidationResponse as ValidationResponse
|
|
157
|
+
from mailodds.models.validation_response_suppression_match import ValidationResponseSuppressionMatch as ValidationResponseSuppressionMatch
|
|
158
|
+
from mailodds.models.validation_result import ValidationResult as ValidationResult
|
|
159
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from mailodds.api.bulk_validation_api import BulkValidationApi
|
|
5
|
+
from mailodds.api.email_validation_api import EmailValidationApi
|
|
6
|
+
from mailodds.api.suppression_lists_api import SuppressionListsApi
|
|
7
|
+
from mailodds.api.system_api import SystemApi
|
|
8
|
+
from mailodds.api.validation_policies_api import ValidationPoliciesApi
|
|
9
|
+
|