agentcat-api 0.0.1 → 0.0.2
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/Gemfile +9 -0
- data/README.md +106 -16
- data/Rakefile +10 -0
- data/agentcat-api.gemspec +40 -33
- data/docs/Error.md +18 -0
- data/docs/EventAcceptedResponse.md +18 -0
- data/docs/EventsApi.md +81 -0
- data/docs/NotificationsApi.md +76 -0
- data/docs/PublishEventRequest.md +68 -0
- data/docs/QueryTimeout.md +20 -0
- data/docs/UnsubscribeRequestRequest.md +18 -0
- data/docs/ValidationErrorValue.md +49 -0
- data/lib/agentcat-api/api/events_api.rb +86 -0
- data/lib/agentcat-api/api/notifications_api.rb +89 -0
- data/lib/agentcat-api/api_client.rb +437 -0
- data/lib/agentcat-api/api_error.rb +58 -0
- data/lib/agentcat-api/configuration.rb +392 -0
- data/lib/agentcat-api/models/error.rb +237 -0
- data/lib/agentcat-api/models/event_accepted_response.rb +222 -0
- data/lib/agentcat-api/models/publish_event_request.rb +525 -0
- data/lib/agentcat-api/models/query_timeout.rb +287 -0
- data/lib/agentcat-api/models/unsubscribe_request_request.rb +239 -0
- data/lib/agentcat-api/models/validation_error_value.rb +105 -0
- data/lib/agentcat-api/version.rb +15 -0
- data/lib/agentcat-api.rb +47 -0
- data/spec/api/events_api_spec.rb +47 -0
- data/spec/api/notifications_api_spec.rb +48 -0
- data/spec/models/error_spec.rb +36 -0
- data/spec/models/event_accepted_response_spec.rb +36 -0
- data/spec/models/publish_event_request_spec.rb +190 -0
- data/spec/models/query_timeout_spec.rb +46 -0
- data/spec/models/unsubscribe_request_request_spec.rb +36 -0
- data/spec/models/validation_error_value_spec.rb +32 -0
- data/spec/spec_helper.rb +111 -0
- metadata +123 -23
- data/LICENSE +0 -21
- data/lib/agentcat/api/version.rb +0 -7
- data/lib/agentcat/api.rb +0 -30
metadata
CHANGED
|
@@ -1,39 +1,130 @@
|
|
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- AgentCat
|
|
8
|
-
autorequire:
|
|
7
|
+
- AgentCat
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
12
|
-
dependencies:
|
|
11
|
+
date: 2026-08-26 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: faraday
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 1.0.1
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '3.0'
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 1.0.1
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '3.0'
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
34
|
+
name: faraday-multipart
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
40
|
+
type: :runtime
|
|
41
|
+
prerelease: false
|
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: marcel
|
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
type: :runtime
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
- !ruby/object:Gem::Dependency
|
|
62
|
+
name: rspec
|
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '3.6'
|
|
68
|
+
- - ">="
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: 3.6.0
|
|
71
|
+
type: :development
|
|
72
|
+
prerelease: false
|
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
74
|
+
requirements:
|
|
75
|
+
- - "~>"
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '3.6'
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: 3.6.0
|
|
13
81
|
description: Generated HTTP client for the AgentCat API, consumed by the agentcat
|
|
14
|
-
gem.
|
|
15
|
-
development. Use the agentcat gem instead.
|
|
82
|
+
gem.
|
|
16
83
|
email:
|
|
17
|
-
-
|
|
84
|
+
- hi@agentcat.com
|
|
18
85
|
executables: []
|
|
19
86
|
extensions: []
|
|
20
87
|
extra_rdoc_files: []
|
|
21
88
|
files:
|
|
22
|
-
-
|
|
89
|
+
- Gemfile
|
|
23
90
|
- README.md
|
|
91
|
+
- Rakefile
|
|
24
92
|
- agentcat-api.gemspec
|
|
25
|
-
-
|
|
26
|
-
-
|
|
93
|
+
- docs/Error.md
|
|
94
|
+
- docs/EventAcceptedResponse.md
|
|
95
|
+
- docs/EventsApi.md
|
|
96
|
+
- docs/NotificationsApi.md
|
|
97
|
+
- docs/PublishEventRequest.md
|
|
98
|
+
- docs/QueryTimeout.md
|
|
99
|
+
- docs/UnsubscribeRequestRequest.md
|
|
100
|
+
- docs/ValidationErrorValue.md
|
|
101
|
+
- lib/agentcat-api.rb
|
|
102
|
+
- lib/agentcat-api/api/events_api.rb
|
|
103
|
+
- lib/agentcat-api/api/notifications_api.rb
|
|
104
|
+
- lib/agentcat-api/api_client.rb
|
|
105
|
+
- lib/agentcat-api/api_error.rb
|
|
106
|
+
- lib/agentcat-api/configuration.rb
|
|
107
|
+
- lib/agentcat-api/models/error.rb
|
|
108
|
+
- lib/agentcat-api/models/event_accepted_response.rb
|
|
109
|
+
- lib/agentcat-api/models/publish_event_request.rb
|
|
110
|
+
- lib/agentcat-api/models/query_timeout.rb
|
|
111
|
+
- lib/agentcat-api/models/unsubscribe_request_request.rb
|
|
112
|
+
- lib/agentcat-api/models/validation_error_value.rb
|
|
113
|
+
- lib/agentcat-api/version.rb
|
|
114
|
+
- spec/api/events_api_spec.rb
|
|
115
|
+
- spec/api/notifications_api_spec.rb
|
|
116
|
+
- spec/models/error_spec.rb
|
|
117
|
+
- spec/models/event_accepted_response_spec.rb
|
|
118
|
+
- spec/models/publish_event_request_spec.rb
|
|
119
|
+
- spec/models/query_timeout_spec.rb
|
|
120
|
+
- spec/models/unsubscribe_request_request_spec.rb
|
|
121
|
+
- spec/models/validation_error_value_spec.rb
|
|
122
|
+
- spec/spec_helper.rb
|
|
27
123
|
homepage: https://agentcat.com
|
|
28
124
|
licenses:
|
|
29
125
|
- MIT
|
|
30
|
-
metadata:
|
|
31
|
-
|
|
32
|
-
source_code_uri: https://github.com/agentcathq/agentcat-ruby-api
|
|
33
|
-
bug_tracker_uri: https://github.com/agentcathq/agentcat-ruby-api/issues
|
|
34
|
-
documentation_uri: https://docs.agentcat.com
|
|
35
|
-
rubygems_mfa_required: 'true'
|
|
36
|
-
post_install_message:
|
|
126
|
+
metadata: {}
|
|
127
|
+
post_install_message:
|
|
37
128
|
rdoc_options: []
|
|
38
129
|
require_paths:
|
|
39
130
|
- lib
|
|
@@ -41,15 +132,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
41
132
|
requirements:
|
|
42
133
|
- - ">="
|
|
43
134
|
- !ruby/object:Gem::Version
|
|
44
|
-
version: 2.7
|
|
135
|
+
version: '2.7'
|
|
45
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
46
137
|
requirements:
|
|
47
138
|
- - ">="
|
|
48
139
|
- !ruby/object:Gem::Version
|
|
49
140
|
version: '0'
|
|
50
141
|
requirements: []
|
|
51
|
-
rubygems_version: 3.
|
|
52
|
-
signing_key:
|
|
142
|
+
rubygems_version: 3.4.20
|
|
143
|
+
signing_key:
|
|
53
144
|
specification_version: 4
|
|
54
|
-
summary: AgentCat API -
|
|
55
|
-
test_files:
|
|
145
|
+
summary: AgentCat API - Ruby SDK
|
|
146
|
+
test_files:
|
|
147
|
+
- spec/api/notifications_api_spec.rb
|
|
148
|
+
- spec/api/events_api_spec.rb
|
|
149
|
+
- spec/models/publish_event_request_spec.rb
|
|
150
|
+
- spec/models/query_timeout_spec.rb
|
|
151
|
+
- spec/models/validation_error_value_spec.rb
|
|
152
|
+
- spec/models/unsubscribe_request_request_spec.rb
|
|
153
|
+
- spec/models/event_accepted_response_spec.rb
|
|
154
|
+
- spec/models/error_spec.rb
|
|
155
|
+
- spec/spec_helper.rb
|
data/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 AgentCat, Inc.
|
|
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.
|
data/lib/agentcat/api/version.rb
DELETED
data/lib/agentcat/api.rb
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require_relative "api/version"
|
|
4
|
-
|
|
5
|
-
module AgentCat
|
|
6
|
-
# Generated HTTP client for the AgentCat API.
|
|
7
|
-
#
|
|
8
|
-
# This release is a name placeholder. The real client is generated from the
|
|
9
|
-
# AgentCat OpenAPI specification and is consumed by the `agentcat` gem rather
|
|
10
|
-
# than used directly. It will ship as version 1.0.0, tracking its siblings:
|
|
11
|
-
#
|
|
12
|
-
# TypeScript — agentcat-api (npm)
|
|
13
|
-
# Python — agentcat-api (PyPI)
|
|
14
|
-
# Go — github.com/agentcathq/agentcat-go-api
|
|
15
|
-
#
|
|
16
|
-
# Depend on the `agentcat` gem instead; it wraps this one.
|
|
17
|
-
module API
|
|
18
|
-
# Raised by any entry point until the generated client ships.
|
|
19
|
-
class NotYetImplementedError < StandardError; end
|
|
20
|
-
|
|
21
|
-
# Placeholder for the generated client constructor.
|
|
22
|
-
#
|
|
23
|
-
# @raise [NotYetImplementedError] always, in this release.
|
|
24
|
-
def self.new(*, **)
|
|
25
|
-
raise NotYetImplementedError,
|
|
26
|
-
"The AgentCat Ruby API client is not released yet. This gem reserves " \
|
|
27
|
-
"the name for the generated client. See https://agentcat.com for status."
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|