agentcat-api 1.0.0__tar.gz → 1.0.5__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.
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/PKG-INFO +19 -21
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/__init__.py +13 -1
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/api/__init__.py +2 -0
- agentcat_api-1.0.5/agentcat_api/api/alerts_api.py +582 -0
- agentcat_api-1.0.5/agentcat_api/api/notifications_api.py +644 -0
- agentcat_api-1.0.0/agentcat_api/api/notifications_api.py → agentcat_api-1.0.5/agentcat_api/api/server_info_api.py +47 -65
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/api_client.py +1 -1
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/configuration.py +3 -3
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/models/__init__.py +4 -0
- agentcat_api-1.0.5/agentcat_api/models/email_channel_verify_request.py +88 -0
- agentcat_api-1.0.5/agentcat_api/models/email_channel_verify_response.py +89 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/models/publish_event_request.py +7 -3
- agentcat_api-1.0.5/agentcat_api/models/publish_server_info_request.py +98 -0
- agentcat_api-1.0.5/agentcat_api/models/server_info_accepted_response.py +87 -0
- agentcat_api-1.0.5/agentcat_api/test/test_alerts_api.py +45 -0
- agentcat_api-1.0.5/agentcat_api/test/test_email_channel_verify_request.py +51 -0
- agentcat_api-1.0.5/agentcat_api/test/test_email_channel_verify_response.py +54 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_notifications_api.py +7 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_publish_event_request.py +2 -0
- agentcat_api-1.0.5/agentcat_api/test/test_publish_server_info_request.py +57 -0
- agentcat_api-1.0.5/agentcat_api/test/test_server_info_accepted_response.py +51 -0
- agentcat_api-1.0.5/agentcat_api/test/test_server_info_api.py +38 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api.egg-info/PKG-INFO +19 -21
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api.egg-info/SOURCES.txt +12 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api_README.md +18 -20
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/setup.py +1 -1
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/MANIFEST.in +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/api/events_api.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/api_response.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/exceptions.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/models/error.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/models/event_accepted_response.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/models/query_timeout.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/models/unsubscribe_request_request.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/models/validation_error_value.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/rest.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/__init__.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_error.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_event_accepted_response.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_events_api.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_query_timeout.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_unsubscribe_request_request.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api/test/test_validation_error_value.py +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api.egg-info/dependency_links.txt +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api.egg-info/requires.txt +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/agentcat_api.egg-info/top_level.txt +0 -0
- {agentcat_api-1.0.0 → agentcat_api-1.0.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentcat_api
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
License: MIT
|
|
5
5
|
Description-Content-Type: text/markdown
|
|
6
6
|
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
@@ -17,7 +17,7 @@ API for AgentCat application
|
|
|
17
17
|
The `agentcat_api` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
18
18
|
|
|
19
19
|
- API version: v1
|
|
20
|
-
- Package version: 1.0.
|
|
20
|
+
- Package version: 1.0.5
|
|
21
21
|
- Generator version: 7.14.0
|
|
22
22
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
23
23
|
|
|
@@ -47,56 +47,54 @@ import agentcat_api
|
|
|
47
47
|
from agentcat_api.rest import ApiException
|
|
48
48
|
from pprint import pprint
|
|
49
49
|
|
|
50
|
-
# Defining the host is optional and defaults to
|
|
50
|
+
# Defining the host is optional and defaults to https://api.agentcat.com
|
|
51
51
|
# See configuration.py for a list of all supported configuration parameters.
|
|
52
52
|
configuration = agentcat_api.Configuration(
|
|
53
|
-
host = "
|
|
53
|
+
host = "https://api.agentcat.com"
|
|
54
54
|
)
|
|
55
55
|
|
|
56
|
-
# The client must configure the authentication and authorization parameters
|
|
57
|
-
# in accordance with the API server security policy.
|
|
58
|
-
# Examples for each auth method are provided below, use the example that
|
|
59
|
-
# satisfies your auth use case.
|
|
60
|
-
|
|
61
|
-
# Configure API key authorization: tokenAuth
|
|
62
|
-
configuration.api_key['tokenAuth'] = os.environ["API_KEY"]
|
|
63
|
-
|
|
64
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
65
|
-
# configuration.api_key_prefix['tokenAuth'] = 'Bearer'
|
|
66
56
|
|
|
67
57
|
|
|
68
58
|
# Enter a context with an instance of the API client
|
|
69
59
|
with agentcat_api.ApiClient(configuration) as api_client:
|
|
70
60
|
# Create an instance of the API class
|
|
71
|
-
api_instance = agentcat_api.
|
|
72
|
-
|
|
61
|
+
api_instance = agentcat_api.AlertsApi(api_client)
|
|
62
|
+
token = 'token_example' # str | (optional)
|
|
73
63
|
|
|
74
64
|
try:
|
|
75
|
-
#
|
|
76
|
-
api_response = api_instance.
|
|
77
|
-
print("The response of
|
|
65
|
+
# Show the confirmation page for removing an email address from one alert rule
|
|
66
|
+
api_response = api_instance.unsubscribe_alert_get(token=token)
|
|
67
|
+
print("The response of AlertsApi->unsubscribe_alert_get:\n")
|
|
78
68
|
pprint(api_response)
|
|
79
69
|
except ApiException as e:
|
|
80
|
-
print("Exception when calling
|
|
70
|
+
print("Exception when calling AlertsApi->unsubscribe_alert_get: %s\n" % e)
|
|
81
71
|
|
|
82
72
|
```
|
|
83
73
|
|
|
84
74
|
## Documentation for API Endpoints
|
|
85
75
|
|
|
86
|
-
All URIs are relative to *
|
|
76
|
+
All URIs are relative to *https://api.agentcat.com*
|
|
87
77
|
|
|
88
78
|
Class | Method | HTTP request | Description
|
|
89
79
|
------------ | ------------- | ------------- | -------------
|
|
80
|
+
*AlertsApi* | [**unsubscribe_alert_get**](agentcat_api/docs/AlertsApi.md#unsubscribe_alert_get) | **GET** /v1/public/alerts/unsubscribe | Show the confirmation page for removing an email address from one alert rule
|
|
81
|
+
*AlertsApi* | [**unsubscribe_alert_post**](agentcat_api/docs/AlertsApi.md#unsubscribe_alert_post) | **POST** /v1/public/alerts/unsubscribe | Remove an email address from one alert rule (List-Unsubscribe-Post and the confirmation form)
|
|
90
82
|
*EventsApi* | [**publish_event**](agentcat_api/docs/EventsApi.md#publish_event) | **POST** /v1/public/events/ | Publish analytics event
|
|
91
83
|
*NotificationsApi* | [**unsubscribe_notification**](agentcat_api/docs/NotificationsApi.md#unsubscribe_notification) | **POST** /v1/public/notifications/unsubscribe | Disable an email notification type for the token's user
|
|
84
|
+
*NotificationsApi* | [**verify_email_channel**](agentcat_api/docs/NotificationsApi.md#verify_email_channel) | **POST** /v1/public/notifications/channels/verify | Activate an email channel from its verification link
|
|
85
|
+
*ServerInfoApi* | [**publish_server_info**](agentcat_api/docs/ServerInfoApi.md#publish_server_info) | **POST** /v1/public/server-info/ | Publish MCP server info
|
|
92
86
|
|
|
93
87
|
|
|
94
88
|
## Documentation For Models
|
|
95
89
|
|
|
90
|
+
- [EmailChannelVerifyRequest](agentcat_api/docs/EmailChannelVerifyRequest.md)
|
|
91
|
+
- [EmailChannelVerifyResponse](agentcat_api/docs/EmailChannelVerifyResponse.md)
|
|
96
92
|
- [Error](agentcat_api/docs/Error.md)
|
|
97
93
|
- [EventAcceptedResponse](agentcat_api/docs/EventAcceptedResponse.md)
|
|
98
94
|
- [PublishEventRequest](agentcat_api/docs/PublishEventRequest.md)
|
|
95
|
+
- [PublishServerInfoRequest](agentcat_api/docs/PublishServerInfoRequest.md)
|
|
99
96
|
- [QueryTimeout](agentcat_api/docs/QueryTimeout.md)
|
|
97
|
+
- [ServerInfoAcceptedResponse](agentcat_api/docs/ServerInfoAcceptedResponse.md)
|
|
100
98
|
- [UnsubscribeRequestRequest](agentcat_api/docs/UnsubscribeRequestRequest.md)
|
|
101
99
|
- [ValidationErrorValue](agentcat_api/docs/ValidationErrorValue.md)
|
|
102
100
|
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "1.0.
|
|
17
|
+
__version__ = "1.0.5"
|
|
18
18
|
|
|
19
19
|
# Define package exports
|
|
20
20
|
__all__ = [
|
|
21
|
+
"AlertsApi",
|
|
21
22
|
"EventsApi",
|
|
22
23
|
"NotificationsApi",
|
|
24
|
+
"ServerInfoApi",
|
|
23
25
|
"ApiResponse",
|
|
24
26
|
"ApiClient",
|
|
25
27
|
"Configuration",
|
|
@@ -29,17 +31,23 @@ __all__ = [
|
|
|
29
31
|
"ApiKeyError",
|
|
30
32
|
"ApiAttributeError",
|
|
31
33
|
"ApiException",
|
|
34
|
+
"EmailChannelVerifyRequest",
|
|
35
|
+
"EmailChannelVerifyResponse",
|
|
32
36
|
"Error",
|
|
33
37
|
"EventAcceptedResponse",
|
|
34
38
|
"PublishEventRequest",
|
|
39
|
+
"PublishServerInfoRequest",
|
|
35
40
|
"QueryTimeout",
|
|
41
|
+
"ServerInfoAcceptedResponse",
|
|
36
42
|
"UnsubscribeRequestRequest",
|
|
37
43
|
"ValidationErrorValue",
|
|
38
44
|
]
|
|
39
45
|
|
|
40
46
|
# import apis into sdk package
|
|
47
|
+
from agentcat_api.api.alerts_api import AlertsApi as AlertsApi
|
|
41
48
|
from agentcat_api.api.events_api import EventsApi as EventsApi
|
|
42
49
|
from agentcat_api.api.notifications_api import NotificationsApi as NotificationsApi
|
|
50
|
+
from agentcat_api.api.server_info_api import ServerInfoApi as ServerInfoApi
|
|
43
51
|
|
|
44
52
|
# import ApiClient
|
|
45
53
|
from agentcat_api.api_response import ApiResponse as ApiResponse
|
|
@@ -53,9 +61,13 @@ from agentcat_api.exceptions import ApiAttributeError as ApiAttributeError
|
|
|
53
61
|
from agentcat_api.exceptions import ApiException as ApiException
|
|
54
62
|
|
|
55
63
|
# import models into sdk package
|
|
64
|
+
from agentcat_api.models.email_channel_verify_request import EmailChannelVerifyRequest as EmailChannelVerifyRequest
|
|
65
|
+
from agentcat_api.models.email_channel_verify_response import EmailChannelVerifyResponse as EmailChannelVerifyResponse
|
|
56
66
|
from agentcat_api.models.error import Error as Error
|
|
57
67
|
from agentcat_api.models.event_accepted_response import EventAcceptedResponse as EventAcceptedResponse
|
|
58
68
|
from agentcat_api.models.publish_event_request import PublishEventRequest as PublishEventRequest
|
|
69
|
+
from agentcat_api.models.publish_server_info_request import PublishServerInfoRequest as PublishServerInfoRequest
|
|
59
70
|
from agentcat_api.models.query_timeout import QueryTimeout as QueryTimeout
|
|
71
|
+
from agentcat_api.models.server_info_accepted_response import ServerInfoAcceptedResponse as ServerInfoAcceptedResponse
|
|
60
72
|
from agentcat_api.models.unsubscribe_request_request import UnsubscribeRequestRequest as UnsubscribeRequestRequest
|
|
61
73
|
from agentcat_api.models.validation_error_value import ValidationErrorValue as ValidationErrorValue
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# flake8: noqa
|
|
2
2
|
|
|
3
3
|
# import apis into api package
|
|
4
|
+
from agentcat_api.api.alerts_api import AlertsApi
|
|
4
5
|
from agentcat_api.api.events_api import EventsApi
|
|
5
6
|
from agentcat_api.api.notifications_api import NotificationsApi
|
|
7
|
+
from agentcat_api.api.server_info_api import ServerInfoApi
|
|
6
8
|
|