trustcomponent 0.0.1b0__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.
- trustcomponent-0.0.1b0/.gitignore +45 -0
- trustcomponent-0.0.1b0/LICENSE.md +21 -0
- trustcomponent-0.0.1b0/PKG-INFO +98 -0
- trustcomponent-0.0.1b0/README.md +80 -0
- trustcomponent-0.0.1b0/pyproject.toml +37 -0
- trustcomponent-0.0.1b0/src/trustcomponent/__init__.py +7 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_client.py +54 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/__init__.py +186 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/__init__.py +12 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/analytics_server_events_api.py +330 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/analytics_websites_api.py +2006 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/captcha_verifications_api.py +335 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/monitoring_heartbeats_api.py +315 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/platform_events_api.py +381 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/tax_validation_schedules_api.py +579 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/tax_validation_validation_results_api.py +305 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api/tax_validation_validations_api.py +609 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api_client.py +819 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/api_response.py +21 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/configuration.py +630 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/exceptions.py +218 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/__init__.py +78 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_event_category_enum.py +49 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_realtime.py +110 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_realtime_page.py +90 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_realtime_point.py +90 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_create_params.py +106 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_event_commerce_create_params.py +113 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_event_commerce_product_create_params.py +97 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_event_create_params.py +131 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_event_error_create_params.py +95 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_event_refund_create_params.py +91 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_result.py +98 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_result_drop_reason_enum.py +49 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_server_event_batch_result_dropped.py +91 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_breakdown.py +109 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_breakdown_row.py +100 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_breakdown_row_page.py +111 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_conversions.py +102 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_conversions_goal.py +110 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_conversions_goal_revenue.py +90 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_dimension_enum.py +66 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_filter_match_mode_enum.py +37 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_filter_operator_enum.py +42 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_granularity_enum.py +37 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_overview.py +105 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_timeseries.py +103 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_timeseries_point.py +94 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_stats_totals.py +117 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_website.py +95 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/analytics_websites_page.py +102 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/captcha_verification_result.py +128 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event.py +136 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_actor.py +110 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_actor_automation.py +91 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_actor_automation_kind_enum.py +38 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_actor_type_enum.py +40 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_change.py +107 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_change_operation_enum.py +40 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_origin.py +107 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_ref.py +98 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_event_source_enum.py +41 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/platform_events_page.py +113 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_match_status_enum.py +41 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_provider_enum.py +43 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_provider_status_enum.py +48 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_schedule.py +124 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_schedule_create_params.py +135 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_tax_address.py +121 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_tax_identifier_scheme_enum.py +46 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation.py +163 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_address_match.py +97 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_batch_create_params.py +97 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_create_params.py +135 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_frequency_enum.py +38 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_input.py +117 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_match.py +97 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_mode_enum.py +37 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_outcome_enum.py +41 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_request_status_enum.py +41 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_response_data.py +113 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_result.py +146 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_validation_schedule_attach_params.py +109 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/models/tax_validation_verification_method_enum.py +37 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/modules.py +42 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/py.typed +0 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_generated/rest.py +313 -0
- trustcomponent-0.0.1b0/src/trustcomponent/_http.py +90 -0
- trustcomponent-0.0.1b0/src/trustcomponent/captcha.py +33 -0
- trustcomponent-0.0.1b0/src/trustcomponent/errors.py +51 -0
- trustcomponent-0.0.1b0/tests/test_client.py +117 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
node_modules/
|
|
2
|
+
build/
|
|
3
|
+
.idea/
|
|
4
|
+
*.iml
|
|
5
|
+
.DS_Store
|
|
6
|
+
|
|
7
|
+
php/vendor/
|
|
8
|
+
php/generated/
|
|
9
|
+
php/composer.lock
|
|
10
|
+
typescript/node_modules/
|
|
11
|
+
typescript/dist/
|
|
12
|
+
typescript/src/generated/
|
|
13
|
+
java/.gradle/
|
|
14
|
+
java/build/
|
|
15
|
+
java/generated/
|
|
16
|
+
build-test/
|
|
17
|
+
python/.venv/
|
|
18
|
+
python/src/trustcomponent/_generated/
|
|
19
|
+
python/build/
|
|
20
|
+
python/dist/
|
|
21
|
+
__pycache__/
|
|
22
|
+
.pytest_cache/
|
|
23
|
+
ruby/lib/trustcomponent_generated/
|
|
24
|
+
ruby/lib/trustcomponent_generated.rb
|
|
25
|
+
ruby/build/
|
|
26
|
+
ruby/Gemfile.lock
|
|
27
|
+
ruby/vendor/
|
|
28
|
+
ruby/*.gem
|
|
29
|
+
.bundle/
|
|
30
|
+
rust/src/generated/
|
|
31
|
+
rust/target/
|
|
32
|
+
rust/build/
|
|
33
|
+
rust/Cargo.lock
|
|
34
|
+
smoke/dotnet/bin/
|
|
35
|
+
smoke/dotnet/obj/
|
|
36
|
+
smoke/go/go.sum
|
|
37
|
+
dotnet/generated/
|
|
38
|
+
bin/
|
|
39
|
+
obj/
|
|
40
|
+
go/api/
|
|
41
|
+
go/modules_gen.go
|
|
42
|
+
compat/jvm/.gradle/
|
|
43
|
+
compat/jvm/build/
|
|
44
|
+
compat/jvm/.kotlin/
|
|
45
|
+
.kotlin/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Trustcaptcha GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: trustcomponent
|
|
3
|
+
Version: 0.0.1-beta.0
|
|
4
|
+
Summary: Official TrustComponent SDK for Python: TrustCaptcha, TrustAnalytics, TrustMonitoring, Trust VAT Checker and the platform API.
|
|
5
|
+
Project-URL: Homepage, https://docs.trustcomponent.com
|
|
6
|
+
Project-URL: Source, https://github.com/trustcomponent/trustcomponent-python
|
|
7
|
+
Author-email: Trustcaptcha GmbH <mail@trustcomponent.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE.md
|
|
10
|
+
Requires-Python: >=3.9
|
|
11
|
+
Requires-Dist: pydantic<3,>=2.11
|
|
12
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
13
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
14
|
+
Requires-Dist: urllib3<3,>=2.2
|
|
15
|
+
Provides-Extra: test
|
|
16
|
+
Requires-Dist: pytest>=8; extra == 'test'
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# TrustComponent SDK for Python
|
|
20
|
+
|
|
21
|
+
The official SDK for the TrustComponent API: TrustCaptcha, TrustAnalytics, TrustMonitoring, Trust VAT Checker and the
|
|
22
|
+
platform API, in one package. Developed and hosted in the EU.
|
|
23
|
+
|
|
24
|
+
Requires Python 3.9 or newer.
|
|
25
|
+
|
|
26
|
+
## Install
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
pip install trustcomponent
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Check a TrustCaptcha result
|
|
33
|
+
|
|
34
|
+
The widget writes a verification token into your form. One call turns it into the result:
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
from trustcomponent import TrustComponent
|
|
38
|
+
|
|
39
|
+
tc = TrustComponent("ak_…")
|
|
40
|
+
result = tc.captcha.get_verification_result(request.form["tc-verification-token"])
|
|
41
|
+
if result.verification_passed:
|
|
42
|
+
...
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Create the API key (`ak_…`) in the dashboard under the project's API keys. The key decides which modules the client can use.
|
|
46
|
+
|
|
47
|
+
## Every module
|
|
48
|
+
|
|
49
|
+
The client is `module → resource → operation`, with the same names in every language:
|
|
50
|
+
|
|
51
|
+
```python
|
|
52
|
+
from trustcomponent import models
|
|
53
|
+
|
|
54
|
+
tc.analytics.websites.get_websites()
|
|
55
|
+
tc.tax_validation.validations.create_validation(models.TaxValidationValidationCreateParams(countryCode="DE", rawValue="DE811569869"))
|
|
56
|
+
tc.monitoring.heartbeats.ping_heartbeat(service_id, monitor_id)
|
|
57
|
+
tc.platform.events.get_events()
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
The full reference of every operation is at https://docs.trustcomponent.com.
|
|
61
|
+
|
|
62
|
+
## Configuration
|
|
63
|
+
|
|
64
|
+
```python
|
|
65
|
+
tc = TrustComponent("ak_…", timeout=5, max_retries=1, integration="my-plugin/1.0")
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Options: `host`, `timeout`, `proxy`, `max_retries`, `deprecation_warnings`, `integration`, `logger`.
|
|
69
|
+
|
|
70
|
+
The SDK retries only what the API reserves for retries: `429` with `Retry-After`, `502`, `503`, `504` and a lost
|
|
71
|
+
connection (2 retries by default). When the API marks an operation as deprecated, it logs one warning per operation.
|
|
72
|
+
Every request names the SDK in `User-Agent` and `TrustComponent-Sdk`, together with the integration you set.
|
|
73
|
+
|
|
74
|
+
## Errors
|
|
75
|
+
|
|
76
|
+
Every error is a `trustcomponent.TrustComponentError` carrying the HTTP status and the stable `code` of the API:
|
|
77
|
+
`InvalidRequestError`, `AuthenticationError`, `PermissionDeniedError`, `PlanLimitError`, `NotFoundError`, `ConflictError`, `GoneError`, `RateLimitError`, `ServerError`, `ConnectionError`, `OperationRetiredError`, `VerificationTokenInvalidError`.
|
|
78
|
+
|
|
79
|
+
```python
|
|
80
|
+
from trustcomponent import NotFoundError
|
|
81
|
+
|
|
82
|
+
try:
|
|
83
|
+
tc.captcha.get_verification_result(token)
|
|
84
|
+
except NotFoundError as e:
|
|
85
|
+
print(e.status, e.code)
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
`OperationRetired` means the operation was switched off after its sunset: update the SDK.
|
|
89
|
+
|
|
90
|
+
## Support
|
|
91
|
+
|
|
92
|
+
The GitHub repository of this SDK is a read-only mirror, generated from the TrustComponent API, so pull requests and
|
|
93
|
+
issues are not processed there. For questions and bug reports, write to mail@trustcomponent.com or contact support
|
|
94
|
+
through https://www.trustcomponent.com.
|
|
95
|
+
|
|
96
|
+
## License
|
|
97
|
+
|
|
98
|
+
MIT
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# TrustComponent SDK for Python
|
|
2
|
+
|
|
3
|
+
The official SDK for the TrustComponent API: TrustCaptcha, TrustAnalytics, TrustMonitoring, Trust VAT Checker and the
|
|
4
|
+
platform API, in one package. Developed and hosted in the EU.
|
|
5
|
+
|
|
6
|
+
Requires Python 3.9 or newer.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
pip install trustcomponent
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Check a TrustCaptcha result
|
|
15
|
+
|
|
16
|
+
The widget writes a verification token into your form. One call turns it into the result:
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from trustcomponent import TrustComponent
|
|
20
|
+
|
|
21
|
+
tc = TrustComponent("ak_…")
|
|
22
|
+
result = tc.captcha.get_verification_result(request.form["tc-verification-token"])
|
|
23
|
+
if result.verification_passed:
|
|
24
|
+
...
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Create the API key (`ak_…`) in the dashboard under the project's API keys. The key decides which modules the client can use.
|
|
28
|
+
|
|
29
|
+
## Every module
|
|
30
|
+
|
|
31
|
+
The client is `module → resource → operation`, with the same names in every language:
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
from trustcomponent import models
|
|
35
|
+
|
|
36
|
+
tc.analytics.websites.get_websites()
|
|
37
|
+
tc.tax_validation.validations.create_validation(models.TaxValidationValidationCreateParams(countryCode="DE", rawValue="DE811569869"))
|
|
38
|
+
tc.monitoring.heartbeats.ping_heartbeat(service_id, monitor_id)
|
|
39
|
+
tc.platform.events.get_events()
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The full reference of every operation is at https://docs.trustcomponent.com.
|
|
43
|
+
|
|
44
|
+
## Configuration
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
tc = TrustComponent("ak_…", timeout=5, max_retries=1, integration="my-plugin/1.0")
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Options: `host`, `timeout`, `proxy`, `max_retries`, `deprecation_warnings`, `integration`, `logger`.
|
|
51
|
+
|
|
52
|
+
The SDK retries only what the API reserves for retries: `429` with `Retry-After`, `502`, `503`, `504` and a lost
|
|
53
|
+
connection (2 retries by default). When the API marks an operation as deprecated, it logs one warning per operation.
|
|
54
|
+
Every request names the SDK in `User-Agent` and `TrustComponent-Sdk`, together with the integration you set.
|
|
55
|
+
|
|
56
|
+
## Errors
|
|
57
|
+
|
|
58
|
+
Every error is a `trustcomponent.TrustComponentError` carrying the HTTP status and the stable `code` of the API:
|
|
59
|
+
`InvalidRequestError`, `AuthenticationError`, `PermissionDeniedError`, `PlanLimitError`, `NotFoundError`, `ConflictError`, `GoneError`, `RateLimitError`, `ServerError`, `ConnectionError`, `OperationRetiredError`, `VerificationTokenInvalidError`.
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
from trustcomponent import NotFoundError
|
|
63
|
+
|
|
64
|
+
try:
|
|
65
|
+
tc.captcha.get_verification_result(token)
|
|
66
|
+
except NotFoundError as e:
|
|
67
|
+
print(e.status, e.code)
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
`OperationRetired` means the operation was switched off after its sunset: update the SDK.
|
|
71
|
+
|
|
72
|
+
## Support
|
|
73
|
+
|
|
74
|
+
The GitHub repository of this SDK is a read-only mirror, generated from the TrustComponent API, so pull requests and
|
|
75
|
+
issues are not processed there. For questions and bug reports, write to mail@trustcomponent.com or contact support
|
|
76
|
+
through https://www.trustcomponent.com.
|
|
77
|
+
|
|
78
|
+
## License
|
|
79
|
+
|
|
80
|
+
MIT
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.25"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "trustcomponent"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "Official TrustComponent SDK for Python: TrustCaptcha, TrustAnalytics, TrustMonitoring, Trust VAT Checker and the platform API."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
authors = [{ name = "Trustcaptcha GmbH", email = "mail@trustcomponent.com" }]
|
|
13
|
+
dependencies = [
|
|
14
|
+
"urllib3>=2.2,<3",
|
|
15
|
+
"python-dateutil>=2.8.2",
|
|
16
|
+
"pydantic>=2.11,<3",
|
|
17
|
+
"typing-extensions>=4.7.1",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.urls]
|
|
21
|
+
Homepage = "https://docs.trustcomponent.com"
|
|
22
|
+
Source = "https://github.com/trustcomponent/trustcomponent-python"
|
|
23
|
+
|
|
24
|
+
[project.optional-dependencies]
|
|
25
|
+
test = ["pytest>=8"]
|
|
26
|
+
|
|
27
|
+
[tool.hatch.version]
|
|
28
|
+
path = "src/trustcomponent/_generated/modules.py"
|
|
29
|
+
pattern = "SDK_VERSION = '(?P<version>[^']+)'"
|
|
30
|
+
|
|
31
|
+
[tool.hatch.build.targets.wheel]
|
|
32
|
+
packages = ["src/trustcomponent"]
|
|
33
|
+
# The generated code is git-ignored here; artifacts keeps it in the wheel and the sdist anyway.
|
|
34
|
+
artifacts = ["src/trustcomponent/_generated/**"]
|
|
35
|
+
|
|
36
|
+
[tool.hatch.build.targets.sdist]
|
|
37
|
+
artifacts = ["src/trustcomponent/_generated/**"]
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
from trustcomponent._client import TrustComponent
|
|
2
|
+
from trustcomponent.captcha import CaptchaModule, VerificationToken, parse_verification_token
|
|
3
|
+
from trustcomponent.errors import * # noqa: F401,F403
|
|
4
|
+
from trustcomponent._generated import models
|
|
5
|
+
|
|
6
|
+
__all__ = ["TrustComponent", "CaptchaModule", "VerificationToken", "parse_verification_token", "models"]
|
|
7
|
+
__version__ = TrustComponent.version
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import base64
|
|
4
|
+
import json
|
|
5
|
+
import logging
|
|
6
|
+
import platform
|
|
7
|
+
from typing import Callable, Optional
|
|
8
|
+
|
|
9
|
+
from trustcomponent._generated.configuration import Configuration
|
|
10
|
+
from trustcomponent._generated.modules import API_VERSION, SDK_VERSION, AnalyticsModule, MonitoringModule, PlatformModule, TaxValidationModule
|
|
11
|
+
from trustcomponent._http import SdkApiClient
|
|
12
|
+
from trustcomponent.captcha import CaptchaModule
|
|
13
|
+
|
|
14
|
+
DEFAULT_HOST = "https://api.trustcomponent.com"
|
|
15
|
+
_logger = logging.getLogger("trustcomponent")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class TrustComponent:
|
|
19
|
+
"""Entry point of the SDK. ``TrustComponent("ak_…")`` is all most integrations need; keyword arguments change host,
|
|
20
|
+
timeout, proxy, retries and the rest."""
|
|
21
|
+
|
|
22
|
+
version = SDK_VERSION
|
|
23
|
+
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
api_key: str,
|
|
27
|
+
*,
|
|
28
|
+
host: str = DEFAULT_HOST,
|
|
29
|
+
timeout: float = 10.0,
|
|
30
|
+
proxy: Optional[str] = None,
|
|
31
|
+
max_retries: int = 2,
|
|
32
|
+
deprecation_warnings: bool = True,
|
|
33
|
+
integration: Optional[str] = None,
|
|
34
|
+
logger: Callable[[str], None] = _logger.warning,
|
|
35
|
+
) -> None:
|
|
36
|
+
if not api_key or not api_key.strip():
|
|
37
|
+
raise ValueError("api_key must not be empty")
|
|
38
|
+
configuration = Configuration(host=host.rstrip("/"), access_token=api_key.strip(), retries=False, proxy=proxy)
|
|
39
|
+
client = SdkApiClient(configuration, timeout, max(0, max_retries), deprecation_warnings, logger)
|
|
40
|
+
client.user_agent = f"trustcomponent-python/{SDK_VERSION}"
|
|
41
|
+
client.set_default_header("Authorization", f"Bearer {api_key.strip()}")
|
|
42
|
+
client.set_default_header("TrustComponent-Sdk", _sdk_header(integration))
|
|
43
|
+
self.captcha = CaptchaModule(client)
|
|
44
|
+
self.analytics = AnalyticsModule(client)
|
|
45
|
+
self.monitoring = MonitoringModule(client)
|
|
46
|
+
self.tax_validation = TaxValidationModule(client)
|
|
47
|
+
self.platform = PlatformModule(client)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _sdk_header(integration: Optional[str]) -> str:
|
|
51
|
+
metadata = {"sdk": "python", "version": SDK_VERSION, "api": API_VERSION, "runtime": f"python/{platform.python_version()}", "os": platform.system()}
|
|
52
|
+
if integration:
|
|
53
|
+
metadata["integration"] = integration
|
|
54
|
+
return base64.b64encode(json.dumps(metadata, separators=(",", ":")).encode()).decode()
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
TrustComponent API
|
|
7
|
+
|
|
8
|
+
The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 0.0.1-beta.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "0.0.1-beta.0"
|
|
18
|
+
|
|
19
|
+
# Define package exports
|
|
20
|
+
__all__ = [
|
|
21
|
+
"AnalyticsServerEventsApi",
|
|
22
|
+
"AnalyticsWebsitesApi",
|
|
23
|
+
"CaptchaVerificationsApi",
|
|
24
|
+
"MonitoringHeartbeatsApi",
|
|
25
|
+
"PlatformEventsApi",
|
|
26
|
+
"TaxValidationSchedulesApi",
|
|
27
|
+
"TaxValidationValidationResultsApi",
|
|
28
|
+
"TaxValidationValidationsApi",
|
|
29
|
+
"ApiResponse",
|
|
30
|
+
"ApiClient",
|
|
31
|
+
"Configuration",
|
|
32
|
+
"OpenApiException",
|
|
33
|
+
"ApiTypeError",
|
|
34
|
+
"ApiValueError",
|
|
35
|
+
"ApiKeyError",
|
|
36
|
+
"ApiAttributeError",
|
|
37
|
+
"ApiException",
|
|
38
|
+
"AnalyticsEventCategoryEnum",
|
|
39
|
+
"AnalyticsRealtime",
|
|
40
|
+
"AnalyticsRealtimePage",
|
|
41
|
+
"AnalyticsRealtimePoint",
|
|
42
|
+
"AnalyticsServerEventBatchCreateParams",
|
|
43
|
+
"AnalyticsServerEventBatchEventCommerceCreateParams",
|
|
44
|
+
"AnalyticsServerEventBatchEventCommerceProductCreateParams",
|
|
45
|
+
"AnalyticsServerEventBatchEventCreateParams",
|
|
46
|
+
"AnalyticsServerEventBatchEventErrorCreateParams",
|
|
47
|
+
"AnalyticsServerEventBatchEventRefundCreateParams",
|
|
48
|
+
"AnalyticsServerEventBatchResult",
|
|
49
|
+
"AnalyticsServerEventBatchResultDropReasonEnum",
|
|
50
|
+
"AnalyticsServerEventBatchResultDropped",
|
|
51
|
+
"AnalyticsStatsBreakdown",
|
|
52
|
+
"AnalyticsStatsBreakdownRow",
|
|
53
|
+
"AnalyticsStatsBreakdownRowPage",
|
|
54
|
+
"AnalyticsStatsConversions",
|
|
55
|
+
"AnalyticsStatsConversionsGoal",
|
|
56
|
+
"AnalyticsStatsConversionsGoalRevenue",
|
|
57
|
+
"AnalyticsStatsDimensionEnum",
|
|
58
|
+
"AnalyticsStatsFilterMatchModeEnum",
|
|
59
|
+
"AnalyticsStatsFilterOperatorEnum",
|
|
60
|
+
"AnalyticsStatsGranularityEnum",
|
|
61
|
+
"AnalyticsStatsOverview",
|
|
62
|
+
"AnalyticsStatsTimeseries",
|
|
63
|
+
"AnalyticsStatsTimeseriesPoint",
|
|
64
|
+
"AnalyticsStatsTotals",
|
|
65
|
+
"AnalyticsWebsite",
|
|
66
|
+
"AnalyticsWebsitesPage",
|
|
67
|
+
"CaptchaVerificationResult",
|
|
68
|
+
"PlatformEvent",
|
|
69
|
+
"PlatformEventActor",
|
|
70
|
+
"PlatformEventActorAutomation",
|
|
71
|
+
"PlatformEventActorAutomationKindEnum",
|
|
72
|
+
"PlatformEventActorTypeEnum",
|
|
73
|
+
"PlatformEventChange",
|
|
74
|
+
"PlatformEventChangeOperationEnum",
|
|
75
|
+
"PlatformEventOrigin",
|
|
76
|
+
"PlatformEventRef",
|
|
77
|
+
"PlatformEventSourceEnum",
|
|
78
|
+
"PlatformEventsPage",
|
|
79
|
+
"TaxValidationMatchStatusEnum",
|
|
80
|
+
"TaxValidationProviderEnum",
|
|
81
|
+
"TaxValidationProviderStatusEnum",
|
|
82
|
+
"TaxValidationSchedule",
|
|
83
|
+
"TaxValidationScheduleCreateParams",
|
|
84
|
+
"TaxValidationTaxAddress",
|
|
85
|
+
"TaxValidationTaxIdentifierSchemeEnum",
|
|
86
|
+
"TaxValidationValidation",
|
|
87
|
+
"TaxValidationValidationAddressMatch",
|
|
88
|
+
"TaxValidationValidationBatchCreateParams",
|
|
89
|
+
"TaxValidationValidationCreateParams",
|
|
90
|
+
"TaxValidationValidationFrequencyEnum",
|
|
91
|
+
"TaxValidationValidationInput",
|
|
92
|
+
"TaxValidationValidationMatch",
|
|
93
|
+
"TaxValidationValidationModeEnum",
|
|
94
|
+
"TaxValidationValidationOutcomeEnum",
|
|
95
|
+
"TaxValidationValidationRequestStatusEnum",
|
|
96
|
+
"TaxValidationValidationResponseData",
|
|
97
|
+
"TaxValidationValidationResult",
|
|
98
|
+
"TaxValidationValidationScheduleAttachParams",
|
|
99
|
+
"TaxValidationVerificationMethodEnum",
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
# import apis into sdk package
|
|
103
|
+
from trustcomponent._generated.api.analytics_server_events_api import AnalyticsServerEventsApi as AnalyticsServerEventsApi
|
|
104
|
+
from trustcomponent._generated.api.analytics_websites_api import AnalyticsWebsitesApi as AnalyticsWebsitesApi
|
|
105
|
+
from trustcomponent._generated.api.captcha_verifications_api import CaptchaVerificationsApi as CaptchaVerificationsApi
|
|
106
|
+
from trustcomponent._generated.api.monitoring_heartbeats_api import MonitoringHeartbeatsApi as MonitoringHeartbeatsApi
|
|
107
|
+
from trustcomponent._generated.api.platform_events_api import PlatformEventsApi as PlatformEventsApi
|
|
108
|
+
from trustcomponent._generated.api.tax_validation_schedules_api import TaxValidationSchedulesApi as TaxValidationSchedulesApi
|
|
109
|
+
from trustcomponent._generated.api.tax_validation_validation_results_api import TaxValidationValidationResultsApi as TaxValidationValidationResultsApi
|
|
110
|
+
from trustcomponent._generated.api.tax_validation_validations_api import TaxValidationValidationsApi as TaxValidationValidationsApi
|
|
111
|
+
|
|
112
|
+
# import ApiClient
|
|
113
|
+
from trustcomponent._generated.api_response import ApiResponse as ApiResponse
|
|
114
|
+
from trustcomponent._generated.api_client import ApiClient as ApiClient
|
|
115
|
+
from trustcomponent._generated.configuration import Configuration as Configuration
|
|
116
|
+
from trustcomponent._generated.exceptions import OpenApiException as OpenApiException
|
|
117
|
+
from trustcomponent._generated.exceptions import ApiTypeError as ApiTypeError
|
|
118
|
+
from trustcomponent._generated.exceptions import ApiValueError as ApiValueError
|
|
119
|
+
from trustcomponent._generated.exceptions import ApiKeyError as ApiKeyError
|
|
120
|
+
from trustcomponent._generated.exceptions import ApiAttributeError as ApiAttributeError
|
|
121
|
+
from trustcomponent._generated.exceptions import ApiException as ApiException
|
|
122
|
+
|
|
123
|
+
# import models into sdk package
|
|
124
|
+
from trustcomponent._generated.models.analytics_event_category_enum import AnalyticsEventCategoryEnum as AnalyticsEventCategoryEnum
|
|
125
|
+
from trustcomponent._generated.models.analytics_realtime import AnalyticsRealtime as AnalyticsRealtime
|
|
126
|
+
from trustcomponent._generated.models.analytics_realtime_page import AnalyticsRealtimePage as AnalyticsRealtimePage
|
|
127
|
+
from trustcomponent._generated.models.analytics_realtime_point import AnalyticsRealtimePoint as AnalyticsRealtimePoint
|
|
128
|
+
from trustcomponent._generated.models.analytics_server_event_batch_create_params import AnalyticsServerEventBatchCreateParams as AnalyticsServerEventBatchCreateParams
|
|
129
|
+
from trustcomponent._generated.models.analytics_server_event_batch_event_commerce_create_params import AnalyticsServerEventBatchEventCommerceCreateParams as AnalyticsServerEventBatchEventCommerceCreateParams
|
|
130
|
+
from trustcomponent._generated.models.analytics_server_event_batch_event_commerce_product_create_params import AnalyticsServerEventBatchEventCommerceProductCreateParams as AnalyticsServerEventBatchEventCommerceProductCreateParams
|
|
131
|
+
from trustcomponent._generated.models.analytics_server_event_batch_event_create_params import AnalyticsServerEventBatchEventCreateParams as AnalyticsServerEventBatchEventCreateParams
|
|
132
|
+
from trustcomponent._generated.models.analytics_server_event_batch_event_error_create_params import AnalyticsServerEventBatchEventErrorCreateParams as AnalyticsServerEventBatchEventErrorCreateParams
|
|
133
|
+
from trustcomponent._generated.models.analytics_server_event_batch_event_refund_create_params import AnalyticsServerEventBatchEventRefundCreateParams as AnalyticsServerEventBatchEventRefundCreateParams
|
|
134
|
+
from trustcomponent._generated.models.analytics_server_event_batch_result import AnalyticsServerEventBatchResult as AnalyticsServerEventBatchResult
|
|
135
|
+
from trustcomponent._generated.models.analytics_server_event_batch_result_drop_reason_enum import AnalyticsServerEventBatchResultDropReasonEnum as AnalyticsServerEventBatchResultDropReasonEnum
|
|
136
|
+
from trustcomponent._generated.models.analytics_server_event_batch_result_dropped import AnalyticsServerEventBatchResultDropped as AnalyticsServerEventBatchResultDropped
|
|
137
|
+
from trustcomponent._generated.models.analytics_stats_breakdown import AnalyticsStatsBreakdown as AnalyticsStatsBreakdown
|
|
138
|
+
from trustcomponent._generated.models.analytics_stats_breakdown_row import AnalyticsStatsBreakdownRow as AnalyticsStatsBreakdownRow
|
|
139
|
+
from trustcomponent._generated.models.analytics_stats_breakdown_row_page import AnalyticsStatsBreakdownRowPage as AnalyticsStatsBreakdownRowPage
|
|
140
|
+
from trustcomponent._generated.models.analytics_stats_conversions import AnalyticsStatsConversions as AnalyticsStatsConversions
|
|
141
|
+
from trustcomponent._generated.models.analytics_stats_conversions_goal import AnalyticsStatsConversionsGoal as AnalyticsStatsConversionsGoal
|
|
142
|
+
from trustcomponent._generated.models.analytics_stats_conversions_goal_revenue import AnalyticsStatsConversionsGoalRevenue as AnalyticsStatsConversionsGoalRevenue
|
|
143
|
+
from trustcomponent._generated.models.analytics_stats_dimension_enum import AnalyticsStatsDimensionEnum as AnalyticsStatsDimensionEnum
|
|
144
|
+
from trustcomponent._generated.models.analytics_stats_filter_match_mode_enum import AnalyticsStatsFilterMatchModeEnum as AnalyticsStatsFilterMatchModeEnum
|
|
145
|
+
from trustcomponent._generated.models.analytics_stats_filter_operator_enum import AnalyticsStatsFilterOperatorEnum as AnalyticsStatsFilterOperatorEnum
|
|
146
|
+
from trustcomponent._generated.models.analytics_stats_granularity_enum import AnalyticsStatsGranularityEnum as AnalyticsStatsGranularityEnum
|
|
147
|
+
from trustcomponent._generated.models.analytics_stats_overview import AnalyticsStatsOverview as AnalyticsStatsOverview
|
|
148
|
+
from trustcomponent._generated.models.analytics_stats_timeseries import AnalyticsStatsTimeseries as AnalyticsStatsTimeseries
|
|
149
|
+
from trustcomponent._generated.models.analytics_stats_timeseries_point import AnalyticsStatsTimeseriesPoint as AnalyticsStatsTimeseriesPoint
|
|
150
|
+
from trustcomponent._generated.models.analytics_stats_totals import AnalyticsStatsTotals as AnalyticsStatsTotals
|
|
151
|
+
from trustcomponent._generated.models.analytics_website import AnalyticsWebsite as AnalyticsWebsite
|
|
152
|
+
from trustcomponent._generated.models.analytics_websites_page import AnalyticsWebsitesPage as AnalyticsWebsitesPage
|
|
153
|
+
from trustcomponent._generated.models.captcha_verification_result import CaptchaVerificationResult as CaptchaVerificationResult
|
|
154
|
+
from trustcomponent._generated.models.platform_event import PlatformEvent as PlatformEvent
|
|
155
|
+
from trustcomponent._generated.models.platform_event_actor import PlatformEventActor as PlatformEventActor
|
|
156
|
+
from trustcomponent._generated.models.platform_event_actor_automation import PlatformEventActorAutomation as PlatformEventActorAutomation
|
|
157
|
+
from trustcomponent._generated.models.platform_event_actor_automation_kind_enum import PlatformEventActorAutomationKindEnum as PlatformEventActorAutomationKindEnum
|
|
158
|
+
from trustcomponent._generated.models.platform_event_actor_type_enum import PlatformEventActorTypeEnum as PlatformEventActorTypeEnum
|
|
159
|
+
from trustcomponent._generated.models.platform_event_change import PlatformEventChange as PlatformEventChange
|
|
160
|
+
from trustcomponent._generated.models.platform_event_change_operation_enum import PlatformEventChangeOperationEnum as PlatformEventChangeOperationEnum
|
|
161
|
+
from trustcomponent._generated.models.platform_event_origin import PlatformEventOrigin as PlatformEventOrigin
|
|
162
|
+
from trustcomponent._generated.models.platform_event_ref import PlatformEventRef as PlatformEventRef
|
|
163
|
+
from trustcomponent._generated.models.platform_event_source_enum import PlatformEventSourceEnum as PlatformEventSourceEnum
|
|
164
|
+
from trustcomponent._generated.models.platform_events_page import PlatformEventsPage as PlatformEventsPage
|
|
165
|
+
from trustcomponent._generated.models.tax_validation_match_status_enum import TaxValidationMatchStatusEnum as TaxValidationMatchStatusEnum
|
|
166
|
+
from trustcomponent._generated.models.tax_validation_provider_enum import TaxValidationProviderEnum as TaxValidationProviderEnum
|
|
167
|
+
from trustcomponent._generated.models.tax_validation_provider_status_enum import TaxValidationProviderStatusEnum as TaxValidationProviderStatusEnum
|
|
168
|
+
from trustcomponent._generated.models.tax_validation_schedule import TaxValidationSchedule as TaxValidationSchedule
|
|
169
|
+
from trustcomponent._generated.models.tax_validation_schedule_create_params import TaxValidationScheduleCreateParams as TaxValidationScheduleCreateParams
|
|
170
|
+
from trustcomponent._generated.models.tax_validation_tax_address import TaxValidationTaxAddress as TaxValidationTaxAddress
|
|
171
|
+
from trustcomponent._generated.models.tax_validation_tax_identifier_scheme_enum import TaxValidationTaxIdentifierSchemeEnum as TaxValidationTaxIdentifierSchemeEnum
|
|
172
|
+
from trustcomponent._generated.models.tax_validation_validation import TaxValidationValidation as TaxValidationValidation
|
|
173
|
+
from trustcomponent._generated.models.tax_validation_validation_address_match import TaxValidationValidationAddressMatch as TaxValidationValidationAddressMatch
|
|
174
|
+
from trustcomponent._generated.models.tax_validation_validation_batch_create_params import TaxValidationValidationBatchCreateParams as TaxValidationValidationBatchCreateParams
|
|
175
|
+
from trustcomponent._generated.models.tax_validation_validation_create_params import TaxValidationValidationCreateParams as TaxValidationValidationCreateParams
|
|
176
|
+
from trustcomponent._generated.models.tax_validation_validation_frequency_enum import TaxValidationValidationFrequencyEnum as TaxValidationValidationFrequencyEnum
|
|
177
|
+
from trustcomponent._generated.models.tax_validation_validation_input import TaxValidationValidationInput as TaxValidationValidationInput
|
|
178
|
+
from trustcomponent._generated.models.tax_validation_validation_match import TaxValidationValidationMatch as TaxValidationValidationMatch
|
|
179
|
+
from trustcomponent._generated.models.tax_validation_validation_mode_enum import TaxValidationValidationModeEnum as TaxValidationValidationModeEnum
|
|
180
|
+
from trustcomponent._generated.models.tax_validation_validation_outcome_enum import TaxValidationValidationOutcomeEnum as TaxValidationValidationOutcomeEnum
|
|
181
|
+
from trustcomponent._generated.models.tax_validation_validation_request_status_enum import TaxValidationValidationRequestStatusEnum as TaxValidationValidationRequestStatusEnum
|
|
182
|
+
from trustcomponent._generated.models.tax_validation_validation_response_data import TaxValidationValidationResponseData as TaxValidationValidationResponseData
|
|
183
|
+
from trustcomponent._generated.models.tax_validation_validation_result import TaxValidationValidationResult as TaxValidationValidationResult
|
|
184
|
+
from trustcomponent._generated.models.tax_validation_validation_schedule_attach_params import TaxValidationValidationScheduleAttachParams as TaxValidationValidationScheduleAttachParams
|
|
185
|
+
from trustcomponent._generated.models.tax_validation_verification_method_enum import TaxValidationVerificationMethodEnum as TaxValidationVerificationMethodEnum
|
|
186
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from trustcomponent._generated.api.analytics_server_events_api import AnalyticsServerEventsApi
|
|
5
|
+
from trustcomponent._generated.api.analytics_websites_api import AnalyticsWebsitesApi
|
|
6
|
+
from trustcomponent._generated.api.captcha_verifications_api import CaptchaVerificationsApi
|
|
7
|
+
from trustcomponent._generated.api.monitoring_heartbeats_api import MonitoringHeartbeatsApi
|
|
8
|
+
from trustcomponent._generated.api.platform_events_api import PlatformEventsApi
|
|
9
|
+
from trustcomponent._generated.api.tax_validation_schedules_api import TaxValidationSchedulesApi
|
|
10
|
+
from trustcomponent._generated.api.tax_validation_validation_results_api import TaxValidationValidationResultsApi
|
|
11
|
+
from trustcomponent._generated.api.tax_validation_validations_api import TaxValidationValidationsApi
|
|
12
|
+
|