agentcat-api 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/README.md +14 -19
- data/docs/AlertsApi.md +141 -0
- data/docs/EmailChannelVerifyRequest.md +18 -0
- data/docs/EmailChannelVerifyResponse.md +20 -0
- data/docs/NotificationsApi.md +67 -0
- data/docs/PublishEventRequest.md +4 -0
- data/lib/agentcat-api/api/alerts_api.rb +142 -0
- data/lib/agentcat-api/api/notifications_api.rb +65 -0
- data/lib/agentcat-api/models/email_channel_verify_request.rb +239 -0
- data/lib/agentcat-api/models/email_channel_verify_response.rb +263 -0
- data/lib/agentcat-api/models/publish_event_request.rb +21 -1
- data/lib/agentcat-api/version.rb +1 -1
- data/lib/agentcat-api.rb +3 -0
- data/spec/api/alerts_api_spec.rb +59 -0
- data/spec/api/notifications_api_spec.rb +12 -0
- data/spec/models/email_channel_verify_request_spec.rb +36 -0
- data/spec/models/email_channel_verify_response_spec.rb +42 -0
- data/spec/models/publish_event_request_spec.rb +12 -0
- metadata +15 -3
|
@@ -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
|
|
@@ -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/
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: agentcat-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AgentCat
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -90,6 +90,9 @@ files:
|
|
|
90
90
|
- README.md
|
|
91
91
|
- Rakefile
|
|
92
92
|
- agentcat-api.gemspec
|
|
93
|
+
- docs/AlertsApi.md
|
|
94
|
+
- docs/EmailChannelVerifyRequest.md
|
|
95
|
+
- docs/EmailChannelVerifyResponse.md
|
|
93
96
|
- docs/Error.md
|
|
94
97
|
- docs/EventAcceptedResponse.md
|
|
95
98
|
- docs/EventsApi.md
|
|
@@ -99,11 +102,14 @@ files:
|
|
|
99
102
|
- docs/UnsubscribeRequestRequest.md
|
|
100
103
|
- docs/ValidationErrorValue.md
|
|
101
104
|
- lib/agentcat-api.rb
|
|
105
|
+
- lib/agentcat-api/api/alerts_api.rb
|
|
102
106
|
- lib/agentcat-api/api/events_api.rb
|
|
103
107
|
- lib/agentcat-api/api/notifications_api.rb
|
|
104
108
|
- lib/agentcat-api/api_client.rb
|
|
105
109
|
- lib/agentcat-api/api_error.rb
|
|
106
110
|
- lib/agentcat-api/configuration.rb
|
|
111
|
+
- lib/agentcat-api/models/email_channel_verify_request.rb
|
|
112
|
+
- lib/agentcat-api/models/email_channel_verify_response.rb
|
|
107
113
|
- lib/agentcat-api/models/error.rb
|
|
108
114
|
- lib/agentcat-api/models/event_accepted_response.rb
|
|
109
115
|
- lib/agentcat-api/models/publish_event_request.rb
|
|
@@ -111,8 +117,11 @@ files:
|
|
|
111
117
|
- lib/agentcat-api/models/unsubscribe_request_request.rb
|
|
112
118
|
- lib/agentcat-api/models/validation_error_value.rb
|
|
113
119
|
- lib/agentcat-api/version.rb
|
|
120
|
+
- spec/api/alerts_api_spec.rb
|
|
114
121
|
- spec/api/events_api_spec.rb
|
|
115
122
|
- spec/api/notifications_api_spec.rb
|
|
123
|
+
- spec/models/email_channel_verify_request_spec.rb
|
|
124
|
+
- spec/models/email_channel_verify_response_spec.rb
|
|
116
125
|
- spec/models/error_spec.rb
|
|
117
126
|
- spec/models/event_accepted_response_spec.rb
|
|
118
127
|
- spec/models/publish_event_request_spec.rb
|
|
@@ -144,12 +153,15 @@ signing_key:
|
|
|
144
153
|
specification_version: 4
|
|
145
154
|
summary: AgentCat API - Ruby SDK
|
|
146
155
|
test_files:
|
|
156
|
+
- spec/api/alerts_api_spec.rb
|
|
147
157
|
- spec/api/notifications_api_spec.rb
|
|
148
158
|
- spec/api/events_api_spec.rb
|
|
149
159
|
- spec/models/publish_event_request_spec.rb
|
|
150
160
|
- spec/models/query_timeout_spec.rb
|
|
161
|
+
- spec/models/error_spec.rb
|
|
151
162
|
- spec/models/validation_error_value_spec.rb
|
|
152
163
|
- spec/models/unsubscribe_request_request_spec.rb
|
|
164
|
+
- spec/models/email_channel_verify_response_spec.rb
|
|
165
|
+
- spec/models/email_channel_verify_request_spec.rb
|
|
153
166
|
- spec/models/event_accepted_response_spec.rb
|
|
154
|
-
- spec/models/error_spec.rb
|
|
155
167
|
- spec/spec_helper.rb
|