agentcat-api 0.0.2 → 0.0.4

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.
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #AgentCat API
3
+
4
+ #API for AgentCat application
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentCatApi::AlertsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AlertsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentCatApi::AlertsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AlertsApi' do
30
+ it 'should create an instance of AlertsApi' do
31
+ expect(@api_instance).to be_instance_of(AgentCatApi::AlertsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for unsubscribe_alert_get
36
+ # Show the confirmation page for removing an email address from one alert rule
37
+ # GET, the link in the email, shows a confirmation page and changes nothing, because mail scanners fetch links. POST removes the address from the rule; the page's form and the List-Unsubscribe-Post header both send it. POST is idempotent.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :token
40
+ # @return [String]
41
+ describe 'unsubscribe_alert_get test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for unsubscribe_alert_post
48
+ # Remove an email address from one alert rule (List-Unsubscribe-Post and the confirmation form)
49
+ # GET, the link in the email, shows a confirmation page and changes nothing, because mail scanners fetch links. POST removes the address from the rule; the page's form and the List-Unsubscribe-Post header both send it. POST is idempotent.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :token
52
+ # @return [String]
53
+ describe 'unsubscribe_alert_post test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ end
@@ -45,4 +45,16 @@ describe 'NotificationsApi' do
45
45
  end
46
46
  end
47
47
 
48
+ # unit tests for verify_email_channel
49
+ # Activate an email channel from its verification link
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :token
52
+ # @option opts [EmailChannelVerifyRequest] :email_channel_verify_request
53
+ # @return [EmailChannelVerifyResponse]
54
+ describe 'verify_email_channel test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
48
60
  end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #AgentCat API
3
+
4
+ #API for AgentCat application
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentCatApi::ServerInfoApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ServerInfoApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentCatApi::ServerInfoApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ServerInfoApi' do
30
+ it 'should create an instance of ServerInfoApi' do
31
+ expect(@api_instance).to be_instance_of(AgentCatApi::ServerInfoApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for publish_server_info
36
+ # Publish MCP server info
37
+ # Tell AgentCat what an MCP server offers to agents: its name, version, title, instructions and its lists of tools, resources, resource templates and prompts. Send it when the server starts and then once an hour. The body can hold 1,000,000 bytes at most. AgentCat counts each non-ASCII character as 6 bytes, and an emoji as 12 bytes. AgentCat keeps one row per server name per day and drops repeats. Returns immediately with 202 Accepted.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [PublishServerInfoRequest] :publish_server_info_request
40
+ # @return [ServerInfoAcceptedResponse]
41
+ describe 'publish_server_info test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #AgentCat API
3
+
4
+ #API for AgentCat application
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AgentCatApi::EmailChannelVerifyRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AgentCatApi::EmailChannelVerifyRequest do
21
+ let(:instance) { AgentCatApi::EmailChannelVerifyRequest.new }
22
+
23
+ describe 'test an instance of EmailChannelVerifyRequest' do
24
+ it 'should create an instance of EmailChannelVerifyRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(AgentCatApi::EmailChannelVerifyRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "token"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #AgentCat API
3
+
4
+ #API for AgentCat application
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AgentCatApi::EmailChannelVerifyResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AgentCatApi::EmailChannelVerifyResponse do
21
+ let(:instance) { AgentCatApi::EmailChannelVerifyResponse.new }
22
+
23
+ describe 'test an instance of EmailChannelVerifyResponse' do
24
+ it 'should create an instance of EmailChannelVerifyResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(AgentCatApi::EmailChannelVerifyResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "success"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "channel_id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -60,7 +60,7 @@ describe AgentCatApi::PublishEventRequest do
60
60
  describe 'test attribute "event_type"' do
61
61
  it 'should work' do
62
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["mcp:ping", "mcp:initialize", "mcp:completion/complete", "mcp:logging/setLevel", "mcp:prompts/get", "mcp:prompts/list", "mcp:resources/list", "mcp:resources/templates/list", "mcp:resources/read", "mcp:resources/subscribe", "mcp:resources/unsubscribe", "mcp:tools/call", "mcp:tools/list", "mcp:tasks/get", "mcp:tasks/result", "mcp:tasks/list", "mcp:tasks/cancel", "agentcat:identify"])
63
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["mcp:ping", "mcp:initialize", "mcp:completion/complete", "mcp:logging/setLevel", "mcp:prompts/get", "mcp:prompts/list", "mcp:resources/list", "mcp:resources/templates/list", "mcp:resources/read", "mcp:resources/subscribe", "mcp:resources/unsubscribe", "mcp:tools/call", "mcp:tools/list", "mcp:tasks/get", "mcp:tasks/result", "mcp:tasks/list", "mcp:tasks/cancel", "agentcat:identify", "agentcat:custom"])
64
64
  # validator.allowable_values.each do |value|
65
65
  # expect { instance.event_type = value }.not_to raise_error
66
66
  # end
@@ -91,6 +91,18 @@ describe AgentCatApi::PublishEventRequest do
91
91
  end
92
92
  end
93
93
 
94
+ describe 'test attribute "input_tokens"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
+ end
98
+ end
99
+
100
+ describe 'test attribute "output_tokens"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
103
+ end
104
+ end
105
+
94
106
  describe 'test attribute "timestamp"' do
95
107
  it 'should work' do
96
108
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,66 @@
1
+ =begin
2
+ #AgentCat API
3
+
4
+ #API for AgentCat application
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AgentCatApi::PublishServerInfoRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AgentCatApi::PublishServerInfoRequest do
21
+ let(:instance) { AgentCatApi::PublishServerInfoRequest.new }
22
+
23
+ describe 'test an instance of PublishServerInfoRequest' do
24
+ it 'should create an instance of PublishServerInfoRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(AgentCatApi::PublishServerInfoRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "project_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "server_name"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "server_version"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "server_title"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "instructions"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "features"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #AgentCat API
3
+
4
+ #API for AgentCat application
5
+
6
+ The version of the OpenAPI document: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.14.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AgentCatApi::ServerInfoAcceptedResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AgentCatApi::ServerInfoAcceptedResponse do
21
+ let(:instance) { AgentCatApi::ServerInfoAcceptedResponse.new }
22
+
23
+ describe 'test an instance of ServerInfoAcceptedResponse' do
24
+ it 'should create an instance of ServerInfoAcceptedResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(AgentCatApi::ServerInfoAcceptedResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "status"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agentcat-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - AgentCat
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-08-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: faraday
@@ -90,33 +89,51 @@ files:
90
89
  - README.md
91
90
  - Rakefile
92
91
  - agentcat-api.gemspec
92
+ - docs/AlertsApi.md
93
+ - docs/EmailChannelVerifyRequest.md
94
+ - docs/EmailChannelVerifyResponse.md
93
95
  - docs/Error.md
94
96
  - docs/EventAcceptedResponse.md
95
97
  - docs/EventsApi.md
96
98
  - docs/NotificationsApi.md
97
99
  - docs/PublishEventRequest.md
100
+ - docs/PublishServerInfoRequest.md
98
101
  - docs/QueryTimeout.md
102
+ - docs/ServerInfoAcceptedResponse.md
103
+ - docs/ServerInfoApi.md
99
104
  - docs/UnsubscribeRequestRequest.md
100
105
  - docs/ValidationErrorValue.md
101
106
  - lib/agentcat-api.rb
107
+ - lib/agentcat-api/api/alerts_api.rb
102
108
  - lib/agentcat-api/api/events_api.rb
103
109
  - lib/agentcat-api/api/notifications_api.rb
110
+ - lib/agentcat-api/api/server_info_api.rb
104
111
  - lib/agentcat-api/api_client.rb
105
112
  - lib/agentcat-api/api_error.rb
106
113
  - lib/agentcat-api/configuration.rb
114
+ - lib/agentcat-api/models/email_channel_verify_request.rb
115
+ - lib/agentcat-api/models/email_channel_verify_response.rb
107
116
  - lib/agentcat-api/models/error.rb
108
117
  - lib/agentcat-api/models/event_accepted_response.rb
109
118
  - lib/agentcat-api/models/publish_event_request.rb
119
+ - lib/agentcat-api/models/publish_server_info_request.rb
110
120
  - lib/agentcat-api/models/query_timeout.rb
121
+ - lib/agentcat-api/models/server_info_accepted_response.rb
111
122
  - lib/agentcat-api/models/unsubscribe_request_request.rb
112
123
  - lib/agentcat-api/models/validation_error_value.rb
113
124
  - lib/agentcat-api/version.rb
125
+ - spec/api/alerts_api_spec.rb
114
126
  - spec/api/events_api_spec.rb
115
127
  - spec/api/notifications_api_spec.rb
128
+ - spec/api/server_info_api_spec.rb
129
+ - spec/models/email_channel_verify_request_spec.rb
130
+ - spec/models/email_channel_verify_response_spec.rb
116
131
  - spec/models/error_spec.rb
117
132
  - spec/models/event_accepted_response_spec.rb
118
133
  - spec/models/publish_event_request_spec.rb
134
+ - spec/models/publish_server_info_request_spec.rb
119
135
  - spec/models/query_timeout_spec.rb
136
+ - spec/models/server_info_accepted_response_spec.rb
120
137
  - spec/models/unsubscribe_request_request_spec.rb
121
138
  - spec/models/validation_error_value_spec.rb
122
139
  - spec/spec_helper.rb
@@ -124,7 +141,6 @@ homepage: https://agentcat.com
124
141
  licenses:
125
142
  - MIT
126
143
  metadata: {}
127
- post_install_message:
128
144
  rdoc_options: []
129
145
  require_paths:
130
146
  - lib
@@ -139,17 +155,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
155
  - !ruby/object:Gem::Version
140
156
  version: '0'
141
157
  requirements: []
142
- rubygems_version: 3.4.20
143
- signing_key:
158
+ rubygems_version: 3.6.7
144
159
  specification_version: 4
145
160
  summary: AgentCat API - Ruby SDK
146
161
  test_files:
147
- - spec/api/notifications_api_spec.rb
162
+ - spec/api/alerts_api_spec.rb
148
163
  - spec/api/events_api_spec.rb
164
+ - spec/api/notifications_api_spec.rb
165
+ - spec/api/server_info_api_spec.rb
166
+ - spec/models/email_channel_verify_request_spec.rb
167
+ - spec/models/email_channel_verify_response_spec.rb
168
+ - spec/models/error_spec.rb
169
+ - spec/models/event_accepted_response_spec.rb
149
170
  - spec/models/publish_event_request_spec.rb
171
+ - spec/models/publish_server_info_request_spec.rb
150
172
  - spec/models/query_timeout_spec.rb
151
- - spec/models/validation_error_value_spec.rb
173
+ - spec/models/server_info_accepted_response_spec.rb
152
174
  - spec/models/unsubscribe_request_request_spec.rb
153
- - spec/models/event_accepted_response_spec.rb
154
- - spec/models/error_spec.rb
175
+ - spec/models/validation_error_value_spec.rb
155
176
  - spec/spec_helper.rb