hooksniff 0.1.0 → 0.3.0
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 +4 -1
- data/lib/openapi_client/api/admin_api.rb +452 -0
- data/lib/openapi_client/api/alerts_api.rb +322 -0
- data/lib/openapi_client/api/analytics_api.rb +208 -0
- data/lib/openapi_client/api/api_keys_api.rb +252 -0
- data/lib/openapi_client/api/audit_log_api.rb +140 -0
- data/lib/openapi_client/api/auth_api.rb +1080 -0
- data/lib/openapi_client/api/billing_api.rb +500 -0
- data/lib/openapi_client/api/contact_api.rb +88 -0
- data/lib/openapi_client/api/custom_domains_api.rb +253 -0
- data/lib/openapi_client/api/customer_portal_api.rb +700 -0
- data/lib/openapi_client/api/delivery_details_api.rb +146 -0
- data/lib/openapi_client/api/devices_api.rb +202 -0
- data/lib/openapi_client/api/embed_api.rb +128 -0
- data/lib/openapi_client/api/endpoints_api.rb +468 -0
- data/lib/openapi_client/api/events_api.rb +75 -0
- data/lib/openapi_client/api/health_api.rb +193 -0
- data/lib/openapi_client/api/inbound_api.rb +170 -0
- data/lib/openapi_client/api/notifications_api.rb +309 -0
- data/lib/openapi_client/api/o_auth_api.rb +181 -0
- data/lib/openapi_client/api/outbound_ips_api.rb +77 -0
- data/lib/openapi_client/api/playground_api.rb +143 -0
- data/lib/openapi_client/api/rate_limits_api.rb +252 -0
- data/lib/openapi_client/api/routing_api.rb +393 -0
- data/lib/openapi_client/api/schemas_api.rb +268 -0
- data/lib/openapi_client/api/search_api.rb +96 -0
- data/lib/openapi_client/api/simulator_api.rb +82 -0
- data/lib/openapi_client/api/sso_api.rb +241 -0
- data/lib/openapi_client/api/stats_api.rb +77 -0
- data/lib/openapi_client/api/stream_api.rb +88 -0
- data/lib/openapi_client/api/teams_api.rb +476 -0
- data/lib/openapi_client/api/templates_api.rb +213 -0
- data/lib/openapi_client/api/transforms_api.rb +368 -0
- data/lib/openapi_client/api/webhooks_api.rb +534 -0
- data/lib/openapi_client/api_client.rb +397 -0
- data/lib/openapi_client/api_error.rb +58 -0
- data/lib/openapi_client/api_model_base.rb +88 -0
- data/lib/openapi_client/configuration.rb +312 -0
- data/lib/openapi_client/models/admin_revenue_get200_response_inner.rb +165 -0
- data/lib/openapi_client/models/admin_sdk_update_post_request.rb +156 -0
- data/lib/openapi_client/models/admin_users_id_plan_put_request.rb +181 -0
- data/lib/openapi_client/models/admin_users_id_status_put_request.rb +147 -0
- data/lib/openapi_client/models/alert_rule.rb +237 -0
- data/lib/openapi_client/models/api_key_info.rb +185 -0
- data/lib/openapi_client/models/apply_template_request.rb +173 -0
- data/lib/openapi_client/models/apply_template_response.rb +156 -0
- data/lib/openapi_client/models/auth2fa_enable_post200_response.rb +156 -0
- data/lib/openapi_client/models/auth_login_post200_response.rb +104 -0
- data/lib/openapi_client/models/auth_response.rb +167 -0
- data/lib/openapi_client/models/batch_replay_request.rb +166 -0
- data/lib/openapi_client/models/batch_response.rb +160 -0
- data/lib/openapi_client/models/batch_response_errors_inner.rb +156 -0
- data/lib/openapi_client/models/batch_webhook_request.rb +166 -0
- data/lib/openapi_client/models/billing_portal_post200_response.rb +147 -0
- data/lib/openapi_client/models/change_password_request.rb +199 -0
- data/lib/openapi_client/models/change_role_request.rb +188 -0
- data/lib/openapi_client/models/confirm2fa_request.rb +182 -0
- data/lib/openapi_client/models/contact_request.rb +242 -0
- data/lib/openapi_client/models/contact_response.rb +156 -0
- data/lib/openapi_client/models/create_alert_request.rb +277 -0
- data/lib/openapi_client/models/create_api_key_response.rb +175 -0
- data/lib/openapi_client/models/create_endpoint_request.rb +288 -0
- data/lib/openapi_client/models/create_team_request.rb +164 -0
- data/lib/openapi_client/models/create_transform_rule_request.rb +216 -0
- data/lib/openapi_client/models/create_webhook_request.rb +201 -0
- data/lib/openapi_client/models/custom_domains_post_request.rb +147 -0
- data/lib/openapi_client/models/customer_response.rb +256 -0
- data/lib/openapi_client/models/delivery.rb +246 -0
- data/lib/openapi_client/models/delivery_attempt.rb +205 -0
- data/lib/openapi_client/models/delivery_list_response.rb +176 -0
- data/lib/openapi_client/models/delivery_trend_response.rb +158 -0
- data/lib/openapi_client/models/delivery_trend_response_buckets_inner.rb +174 -0
- data/lib/openapi_client/models/device_token_response.rb +174 -0
- data/lib/openapi_client/models/disable2fa_request.rb +164 -0
- data/lib/openapi_client/models/enable2fa_request.rb +164 -0
- data/lib/openapi_client/models/endpoint.rb +321 -0
- data/lib/openapi_client/models/endpoint_health.rb +183 -0
- data/lib/openapi_client/models/endpoints_endpoint_id_transforms_test_post_request.rb +156 -0
- data/lib/openapi_client/models/endpoints_id_rotate_secret_post200_response.rb +156 -0
- data/lib/openapi_client/models/error.rb +165 -0
- data/lib/openapi_client/models/forgot_password_request.rb +164 -0
- data/lib/openapi_client/models/invite_request.rb +207 -0
- data/lib/openapi_client/models/invoice_response.rb +183 -0
- data/lib/openapi_client/models/latency_trend_response.rb +167 -0
- data/lib/openapi_client/models/latency_trend_response_buckets_inner.rb +165 -0
- data/lib/openapi_client/models/login_request.rb +190 -0
- data/lib/openapi_client/models/notification.rb +193 -0
- data/lib/openapi_client/models/notification_list_response.rb +167 -0
- data/lib/openapi_client/models/notification_preferences.rb +201 -0
- data/lib/openapi_client/models/notifications_unread_count_get200_response.rb +147 -0
- data/lib/openapi_client/models/outbound_ips_response.rb +158 -0
- data/lib/openapi_client/models/paginated_users.rb +176 -0
- data/lib/openapi_client/models/playground_get200_response.rb +160 -0
- data/lib/openapi_client/models/portal_notifications_put200_response.rb +156 -0
- data/lib/openapi_client/models/portal_profile.rb +184 -0
- data/lib/openapi_client/models/refresh_token_request.rb +164 -0
- data/lib/openapi_client/models/register_device_request.rb +208 -0
- data/lib/openapi_client/models/register_request.rb +201 -0
- data/lib/openapi_client/models/register_schema_request.rb +191 -0
- data/lib/openapi_client/models/resend_verification_request.rb +164 -0
- data/lib/openapi_client/models/reset_password_request.rb +199 -0
- data/lib/openapi_client/models/retry_policy.rb +216 -0
- data/lib/openapi_client/models/routing_info.rb +193 -0
- data/lib/openapi_client/models/search_result.rb +158 -0
- data/lib/openapi_client/models/simulator_post_request.rb +165 -0
- data/lib/openapi_client/models/sso_config_post_request.rb +190 -0
- data/lib/openapi_client/models/stats_response.rb +210 -0
- data/lib/openapi_client/models/stream_params.rb +201 -0
- data/lib/openapi_client/models/subscription_response.rb +201 -0
- data/lib/openapi_client/models/success_rate_response.rb +183 -0
- data/lib/openapi_client/models/system_stats.rb +185 -0
- data/lib/openapi_client/models/system_stats_plan_breakdown_inner.rb +156 -0
- data/lib/openapi_client/models/system_status.rb +210 -0
- data/lib/openapi_client/models/system_status_components_inner.rb +184 -0
- data/lib/openapi_client/models/team.rb +165 -0
- data/lib/openapi_client/models/team_detail_response.rb +169 -0
- data/lib/openapi_client/models/team_invite.rb +174 -0
- data/lib/openapi_client/models/team_member.rb +193 -0
- data/lib/openapi_client/models/test_webhook_request.rb +199 -0
- data/lib/openapi_client/models/test_webhook_response.rb +174 -0
- data/lib/openapi_client/models/transform_rule.rb +201 -0
- data/lib/openapi_client/models/two_factor_required_response.rb +165 -0
- data/lib/openapi_client/models/update_endpoint_request.rb +278 -0
- data/lib/openapi_client/models/update_notification_preferences.rb +195 -0
- data/lib/openapi_client/models/update_profile_request.rb +190 -0
- data/lib/openapi_client/models/update_routing_request.rb +190 -0
- data/lib/openapi_client/models/upgrade_request.rb +209 -0
- data/lib/openapi_client/models/upgrade_response.rb +166 -0
- data/lib/openapi_client/models/usage_response.rb +201 -0
- data/lib/openapi_client/models/user_summary.rb +193 -0
- data/lib/openapi_client/models/validate_event_request.rb +164 -0
- data/lib/openapi_client/models/verify2fa_request.rb +208 -0
- data/lib/openapi_client/models/verify_email_request.rb +164 -0
- data/lib/openapi_client/models/webhook_template.rb +183 -0
- data/lib/openapi_client/version.rb +15 -0
- data/lib/openapi_client.rb +169 -0
- metadata +139 -10
- data/lib/hooksniff/client.rb +0 -213
- data/lib/hooksniff/errors.rb +0 -43
- data/lib/hooksniff/models.rb +0 -136
- data/lib/hooksniff/verification.rb +0 -134
- data/lib/hooksniff/version.rb +0 -5
- data/lib/hooksniff.rb +0 -19
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#HookSniff API
|
|
3
|
+
|
|
4
|
+
#Webhook delivery, monitoring, and management API. All endpoints under `/v1` require authentication via `Authorization: Bearer <api_key>` header unless marked as **Public**.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: support@hooksniff.vercel.app
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module OpenapiClient
|
|
17
|
+
class WebhookTemplate < ApiModelBase
|
|
18
|
+
attr_accessor :id
|
|
19
|
+
|
|
20
|
+
attr_accessor :name
|
|
21
|
+
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
24
|
+
attr_accessor :category
|
|
25
|
+
|
|
26
|
+
attr_accessor :payload_template
|
|
27
|
+
|
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
|
+
def self.attribute_map
|
|
30
|
+
{
|
|
31
|
+
:'id' => :'id',
|
|
32
|
+
:'name' => :'name',
|
|
33
|
+
:'description' => :'description',
|
|
34
|
+
:'category' => :'category',
|
|
35
|
+
:'payload_template' => :'payload_template'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Returns attribute mapping this model knows about
|
|
40
|
+
def self.acceptable_attribute_map
|
|
41
|
+
attribute_map
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Returns all the JSON keys this model knows about
|
|
45
|
+
def self.acceptable_attributes
|
|
46
|
+
acceptable_attribute_map.values
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Attribute type mapping.
|
|
50
|
+
def self.openapi_types
|
|
51
|
+
{
|
|
52
|
+
:'id' => :'String',
|
|
53
|
+
:'name' => :'String',
|
|
54
|
+
:'description' => :'String',
|
|
55
|
+
:'category' => :'String',
|
|
56
|
+
:'payload_template' => :'Object'
|
|
57
|
+
}
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# List of attributes with nullable: true
|
|
61
|
+
def self.openapi_nullable
|
|
62
|
+
Set.new([
|
|
63
|
+
])
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Initializes the object
|
|
67
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
68
|
+
def initialize(attributes = {})
|
|
69
|
+
if (!attributes.is_a?(Hash))
|
|
70
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::WebhookTemplate` initialize method"
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
74
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
75
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
76
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::WebhookTemplate`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
78
|
+
end
|
|
79
|
+
h[k.to_sym] = v
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'id')
|
|
83
|
+
self.id = attributes[:'id']
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if attributes.key?(:'name')
|
|
87
|
+
self.name = attributes[:'name']
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'description')
|
|
91
|
+
self.description = attributes[:'description']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'category')
|
|
95
|
+
self.category = attributes[:'category']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'payload_template')
|
|
99
|
+
self.payload_template = attributes[:'payload_template']
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
104
|
+
# @return Array for valid properties with the reasons
|
|
105
|
+
def list_invalid_properties
|
|
106
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
107
|
+
invalid_properties = Array.new
|
|
108
|
+
invalid_properties
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Check to see if the all the properties in the model are valid
|
|
112
|
+
# @return true if the model is valid
|
|
113
|
+
def valid?
|
|
114
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
115
|
+
true
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Checks equality by comparing each attribute.
|
|
119
|
+
# @param [Object] Object to be compared
|
|
120
|
+
def ==(o)
|
|
121
|
+
return true if self.equal?(o)
|
|
122
|
+
self.class == o.class &&
|
|
123
|
+
id == o.id &&
|
|
124
|
+
name == o.name &&
|
|
125
|
+
description == o.description &&
|
|
126
|
+
category == o.category &&
|
|
127
|
+
payload_template == o.payload_template
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# @see the `==` method
|
|
131
|
+
# @param [Object] Object to be compared
|
|
132
|
+
def eql?(o)
|
|
133
|
+
self == o
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Calculates hash code according to all attributes.
|
|
137
|
+
# @return [Integer] Hash code
|
|
138
|
+
def hash
|
|
139
|
+
[id, name, description, category, payload_template].hash
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Builds the object from hash
|
|
143
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
144
|
+
# @return [Object] Returns the model itself
|
|
145
|
+
def self.build_from_hash(attributes)
|
|
146
|
+
return nil unless attributes.is_a?(Hash)
|
|
147
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
148
|
+
transformed_hash = {}
|
|
149
|
+
openapi_types.each_pair do |key, type|
|
|
150
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
151
|
+
transformed_hash["#{key}"] = nil
|
|
152
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
153
|
+
# check to ensure the input is an array given that the attribute
|
|
154
|
+
# is documented as an array but the input is not
|
|
155
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
156
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
157
|
+
end
|
|
158
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
159
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
new(transformed_hash)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Returns the object in the form of hash
|
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
|
167
|
+
def to_hash
|
|
168
|
+
hash = {}
|
|
169
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
170
|
+
value = self.send(attr)
|
|
171
|
+
if value.nil?
|
|
172
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
173
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
hash[param] = _to_hash(value)
|
|
177
|
+
end
|
|
178
|
+
hash
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#HookSniff API
|
|
3
|
+
|
|
4
|
+
#Webhook delivery, monitoring, and management API. All endpoints under `/v1` require authentication via `Authorization: Bearer <api_key>` header unless marked as **Public**.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: support@hooksniff.vercel.app
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
module OpenapiClient
|
|
14
|
+
VERSION = '1.0.0'
|
|
15
|
+
end
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#HookSniff API
|
|
3
|
+
|
|
4
|
+
#Webhook delivery, monitoring, and management API. All endpoints under `/v1` require authentication via `Authorization: Bearer <api_key>` header unless marked as **Public**.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: support@hooksniff.vercel.app
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
# Common files
|
|
14
|
+
require 'openapi_client/api_client'
|
|
15
|
+
require 'openapi_client/api_error'
|
|
16
|
+
require 'openapi_client/api_model_base'
|
|
17
|
+
require 'openapi_client/version'
|
|
18
|
+
require 'openapi_client/configuration'
|
|
19
|
+
|
|
20
|
+
# Models
|
|
21
|
+
require 'openapi_client/models/admin_revenue_get200_response_inner'
|
|
22
|
+
require 'openapi_client/models/admin_sdk_update_post_request'
|
|
23
|
+
require 'openapi_client/models/admin_users_id_plan_put_request'
|
|
24
|
+
require 'openapi_client/models/admin_users_id_status_put_request'
|
|
25
|
+
require 'openapi_client/models/alert_rule'
|
|
26
|
+
require 'openapi_client/models/api_key_info'
|
|
27
|
+
require 'openapi_client/models/apply_template_request'
|
|
28
|
+
require 'openapi_client/models/apply_template_response'
|
|
29
|
+
require 'openapi_client/models/auth2fa_enable_post200_response'
|
|
30
|
+
require 'openapi_client/models/auth_login_post200_response'
|
|
31
|
+
require 'openapi_client/models/auth_response'
|
|
32
|
+
require 'openapi_client/models/batch_replay_request'
|
|
33
|
+
require 'openapi_client/models/batch_response'
|
|
34
|
+
require 'openapi_client/models/batch_response_errors_inner'
|
|
35
|
+
require 'openapi_client/models/batch_webhook_request'
|
|
36
|
+
require 'openapi_client/models/billing_portal_post200_response'
|
|
37
|
+
require 'openapi_client/models/change_password_request'
|
|
38
|
+
require 'openapi_client/models/change_role_request'
|
|
39
|
+
require 'openapi_client/models/confirm2fa_request'
|
|
40
|
+
require 'openapi_client/models/contact_request'
|
|
41
|
+
require 'openapi_client/models/contact_response'
|
|
42
|
+
require 'openapi_client/models/create_alert_request'
|
|
43
|
+
require 'openapi_client/models/create_api_key_response'
|
|
44
|
+
require 'openapi_client/models/create_endpoint_request'
|
|
45
|
+
require 'openapi_client/models/create_team_request'
|
|
46
|
+
require 'openapi_client/models/create_transform_rule_request'
|
|
47
|
+
require 'openapi_client/models/create_webhook_request'
|
|
48
|
+
require 'openapi_client/models/custom_domains_post_request'
|
|
49
|
+
require 'openapi_client/models/customer_response'
|
|
50
|
+
require 'openapi_client/models/delivery'
|
|
51
|
+
require 'openapi_client/models/delivery_attempt'
|
|
52
|
+
require 'openapi_client/models/delivery_list_response'
|
|
53
|
+
require 'openapi_client/models/delivery_trend_response'
|
|
54
|
+
require 'openapi_client/models/delivery_trend_response_buckets_inner'
|
|
55
|
+
require 'openapi_client/models/device_token_response'
|
|
56
|
+
require 'openapi_client/models/disable2fa_request'
|
|
57
|
+
require 'openapi_client/models/enable2fa_request'
|
|
58
|
+
require 'openapi_client/models/endpoint'
|
|
59
|
+
require 'openapi_client/models/endpoint_health'
|
|
60
|
+
require 'openapi_client/models/endpoints_endpoint_id_transforms_test_post_request'
|
|
61
|
+
require 'openapi_client/models/endpoints_id_rotate_secret_post200_response'
|
|
62
|
+
require 'openapi_client/models/error'
|
|
63
|
+
require 'openapi_client/models/forgot_password_request'
|
|
64
|
+
require 'openapi_client/models/invite_request'
|
|
65
|
+
require 'openapi_client/models/invoice_response'
|
|
66
|
+
require 'openapi_client/models/latency_trend_response'
|
|
67
|
+
require 'openapi_client/models/latency_trend_response_buckets_inner'
|
|
68
|
+
require 'openapi_client/models/login_request'
|
|
69
|
+
require 'openapi_client/models/notification'
|
|
70
|
+
require 'openapi_client/models/notification_list_response'
|
|
71
|
+
require 'openapi_client/models/notification_preferences'
|
|
72
|
+
require 'openapi_client/models/notifications_unread_count_get200_response'
|
|
73
|
+
require 'openapi_client/models/outbound_ips_response'
|
|
74
|
+
require 'openapi_client/models/paginated_users'
|
|
75
|
+
require 'openapi_client/models/playground_get200_response'
|
|
76
|
+
require 'openapi_client/models/portal_notifications_put200_response'
|
|
77
|
+
require 'openapi_client/models/portal_profile'
|
|
78
|
+
require 'openapi_client/models/refresh_token_request'
|
|
79
|
+
require 'openapi_client/models/register_device_request'
|
|
80
|
+
require 'openapi_client/models/register_request'
|
|
81
|
+
require 'openapi_client/models/register_schema_request'
|
|
82
|
+
require 'openapi_client/models/resend_verification_request'
|
|
83
|
+
require 'openapi_client/models/reset_password_request'
|
|
84
|
+
require 'openapi_client/models/retry_policy'
|
|
85
|
+
require 'openapi_client/models/routing_info'
|
|
86
|
+
require 'openapi_client/models/search_result'
|
|
87
|
+
require 'openapi_client/models/simulator_post_request'
|
|
88
|
+
require 'openapi_client/models/sso_config_post_request'
|
|
89
|
+
require 'openapi_client/models/stats_response'
|
|
90
|
+
require 'openapi_client/models/stream_params'
|
|
91
|
+
require 'openapi_client/models/subscription_response'
|
|
92
|
+
require 'openapi_client/models/success_rate_response'
|
|
93
|
+
require 'openapi_client/models/system_stats'
|
|
94
|
+
require 'openapi_client/models/system_stats_plan_breakdown_inner'
|
|
95
|
+
require 'openapi_client/models/system_status'
|
|
96
|
+
require 'openapi_client/models/system_status_components_inner'
|
|
97
|
+
require 'openapi_client/models/team'
|
|
98
|
+
require 'openapi_client/models/team_detail_response'
|
|
99
|
+
require 'openapi_client/models/team_invite'
|
|
100
|
+
require 'openapi_client/models/team_member'
|
|
101
|
+
require 'openapi_client/models/test_webhook_request'
|
|
102
|
+
require 'openapi_client/models/test_webhook_response'
|
|
103
|
+
require 'openapi_client/models/transform_rule'
|
|
104
|
+
require 'openapi_client/models/two_factor_required_response'
|
|
105
|
+
require 'openapi_client/models/update_endpoint_request'
|
|
106
|
+
require 'openapi_client/models/update_notification_preferences'
|
|
107
|
+
require 'openapi_client/models/update_profile_request'
|
|
108
|
+
require 'openapi_client/models/update_routing_request'
|
|
109
|
+
require 'openapi_client/models/upgrade_request'
|
|
110
|
+
require 'openapi_client/models/upgrade_response'
|
|
111
|
+
require 'openapi_client/models/usage_response'
|
|
112
|
+
require 'openapi_client/models/user_summary'
|
|
113
|
+
require 'openapi_client/models/validate_event_request'
|
|
114
|
+
require 'openapi_client/models/verify2fa_request'
|
|
115
|
+
require 'openapi_client/models/verify_email_request'
|
|
116
|
+
require 'openapi_client/models/webhook_template'
|
|
117
|
+
|
|
118
|
+
# APIs
|
|
119
|
+
require 'openapi_client/api/api_keys_api'
|
|
120
|
+
require 'openapi_client/api/admin_api'
|
|
121
|
+
require 'openapi_client/api/alerts_api'
|
|
122
|
+
require 'openapi_client/api/analytics_api'
|
|
123
|
+
require 'openapi_client/api/audit_log_api'
|
|
124
|
+
require 'openapi_client/api/auth_api'
|
|
125
|
+
require 'openapi_client/api/billing_api'
|
|
126
|
+
require 'openapi_client/api/contact_api'
|
|
127
|
+
require 'openapi_client/api/custom_domains_api'
|
|
128
|
+
require 'openapi_client/api/customer_portal_api'
|
|
129
|
+
require 'openapi_client/api/delivery_details_api'
|
|
130
|
+
require 'openapi_client/api/devices_api'
|
|
131
|
+
require 'openapi_client/api/embed_api'
|
|
132
|
+
require 'openapi_client/api/endpoints_api'
|
|
133
|
+
require 'openapi_client/api/events_api'
|
|
134
|
+
require 'openapi_client/api/health_api'
|
|
135
|
+
require 'openapi_client/api/inbound_api'
|
|
136
|
+
require 'openapi_client/api/notifications_api'
|
|
137
|
+
require 'openapi_client/api/o_auth_api'
|
|
138
|
+
require 'openapi_client/api/outbound_ips_api'
|
|
139
|
+
require 'openapi_client/api/playground_api'
|
|
140
|
+
require 'openapi_client/api/rate_limits_api'
|
|
141
|
+
require 'openapi_client/api/routing_api'
|
|
142
|
+
require 'openapi_client/api/sso_api'
|
|
143
|
+
require 'openapi_client/api/schemas_api'
|
|
144
|
+
require 'openapi_client/api/search_api'
|
|
145
|
+
require 'openapi_client/api/simulator_api'
|
|
146
|
+
require 'openapi_client/api/stats_api'
|
|
147
|
+
require 'openapi_client/api/stream_api'
|
|
148
|
+
require 'openapi_client/api/teams_api'
|
|
149
|
+
require 'openapi_client/api/templates_api'
|
|
150
|
+
require 'openapi_client/api/transforms_api'
|
|
151
|
+
require 'openapi_client/api/webhooks_api'
|
|
152
|
+
|
|
153
|
+
module OpenapiClient
|
|
154
|
+
class << self
|
|
155
|
+
# Customize default settings for the SDK using block.
|
|
156
|
+
# OpenapiClient.configure do |config|
|
|
157
|
+
# config.username = "xxx"
|
|
158
|
+
# config.password = "xxx"
|
|
159
|
+
# end
|
|
160
|
+
# If no block given, return the default Configuration object.
|
|
161
|
+
def configure
|
|
162
|
+
if block_given?
|
|
163
|
+
yield(Configuration.default)
|
|
164
|
+
else
|
|
165
|
+
Configuration.default
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hooksniff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- HookSniff
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-http
|
|
@@ -61,13 +61,142 @@ extensions: []
|
|
|
61
61
|
extra_rdoc_files: []
|
|
62
62
|
files:
|
|
63
63
|
- README.md
|
|
64
|
-
- lib/
|
|
65
|
-
- lib/
|
|
66
|
-
- lib/
|
|
67
|
-
- lib/
|
|
68
|
-
- lib/
|
|
69
|
-
- lib/
|
|
70
|
-
|
|
64
|
+
- lib/openapi_client.rb
|
|
65
|
+
- lib/openapi_client/api/admin_api.rb
|
|
66
|
+
- lib/openapi_client/api/alerts_api.rb
|
|
67
|
+
- lib/openapi_client/api/analytics_api.rb
|
|
68
|
+
- lib/openapi_client/api/api_keys_api.rb
|
|
69
|
+
- lib/openapi_client/api/audit_log_api.rb
|
|
70
|
+
- lib/openapi_client/api/auth_api.rb
|
|
71
|
+
- lib/openapi_client/api/billing_api.rb
|
|
72
|
+
- lib/openapi_client/api/contact_api.rb
|
|
73
|
+
- lib/openapi_client/api/custom_domains_api.rb
|
|
74
|
+
- lib/openapi_client/api/customer_portal_api.rb
|
|
75
|
+
- lib/openapi_client/api/delivery_details_api.rb
|
|
76
|
+
- lib/openapi_client/api/devices_api.rb
|
|
77
|
+
- lib/openapi_client/api/embed_api.rb
|
|
78
|
+
- lib/openapi_client/api/endpoints_api.rb
|
|
79
|
+
- lib/openapi_client/api/events_api.rb
|
|
80
|
+
- lib/openapi_client/api/health_api.rb
|
|
81
|
+
- lib/openapi_client/api/inbound_api.rb
|
|
82
|
+
- lib/openapi_client/api/notifications_api.rb
|
|
83
|
+
- lib/openapi_client/api/o_auth_api.rb
|
|
84
|
+
- lib/openapi_client/api/outbound_ips_api.rb
|
|
85
|
+
- lib/openapi_client/api/playground_api.rb
|
|
86
|
+
- lib/openapi_client/api/rate_limits_api.rb
|
|
87
|
+
- lib/openapi_client/api/routing_api.rb
|
|
88
|
+
- lib/openapi_client/api/schemas_api.rb
|
|
89
|
+
- lib/openapi_client/api/search_api.rb
|
|
90
|
+
- lib/openapi_client/api/simulator_api.rb
|
|
91
|
+
- lib/openapi_client/api/sso_api.rb
|
|
92
|
+
- lib/openapi_client/api/stats_api.rb
|
|
93
|
+
- lib/openapi_client/api/stream_api.rb
|
|
94
|
+
- lib/openapi_client/api/teams_api.rb
|
|
95
|
+
- lib/openapi_client/api/templates_api.rb
|
|
96
|
+
- lib/openapi_client/api/transforms_api.rb
|
|
97
|
+
- lib/openapi_client/api/webhooks_api.rb
|
|
98
|
+
- lib/openapi_client/api_client.rb
|
|
99
|
+
- lib/openapi_client/api_error.rb
|
|
100
|
+
- lib/openapi_client/api_model_base.rb
|
|
101
|
+
- lib/openapi_client/configuration.rb
|
|
102
|
+
- lib/openapi_client/models/admin_revenue_get200_response_inner.rb
|
|
103
|
+
- lib/openapi_client/models/admin_sdk_update_post_request.rb
|
|
104
|
+
- lib/openapi_client/models/admin_users_id_plan_put_request.rb
|
|
105
|
+
- lib/openapi_client/models/admin_users_id_status_put_request.rb
|
|
106
|
+
- lib/openapi_client/models/alert_rule.rb
|
|
107
|
+
- lib/openapi_client/models/api_key_info.rb
|
|
108
|
+
- lib/openapi_client/models/apply_template_request.rb
|
|
109
|
+
- lib/openapi_client/models/apply_template_response.rb
|
|
110
|
+
- lib/openapi_client/models/auth2fa_enable_post200_response.rb
|
|
111
|
+
- lib/openapi_client/models/auth_login_post200_response.rb
|
|
112
|
+
- lib/openapi_client/models/auth_response.rb
|
|
113
|
+
- lib/openapi_client/models/batch_replay_request.rb
|
|
114
|
+
- lib/openapi_client/models/batch_response.rb
|
|
115
|
+
- lib/openapi_client/models/batch_response_errors_inner.rb
|
|
116
|
+
- lib/openapi_client/models/batch_webhook_request.rb
|
|
117
|
+
- lib/openapi_client/models/billing_portal_post200_response.rb
|
|
118
|
+
- lib/openapi_client/models/change_password_request.rb
|
|
119
|
+
- lib/openapi_client/models/change_role_request.rb
|
|
120
|
+
- lib/openapi_client/models/confirm2fa_request.rb
|
|
121
|
+
- lib/openapi_client/models/contact_request.rb
|
|
122
|
+
- lib/openapi_client/models/contact_response.rb
|
|
123
|
+
- lib/openapi_client/models/create_alert_request.rb
|
|
124
|
+
- lib/openapi_client/models/create_api_key_response.rb
|
|
125
|
+
- lib/openapi_client/models/create_endpoint_request.rb
|
|
126
|
+
- lib/openapi_client/models/create_team_request.rb
|
|
127
|
+
- lib/openapi_client/models/create_transform_rule_request.rb
|
|
128
|
+
- lib/openapi_client/models/create_webhook_request.rb
|
|
129
|
+
- lib/openapi_client/models/custom_domains_post_request.rb
|
|
130
|
+
- lib/openapi_client/models/customer_response.rb
|
|
131
|
+
- lib/openapi_client/models/delivery.rb
|
|
132
|
+
- lib/openapi_client/models/delivery_attempt.rb
|
|
133
|
+
- lib/openapi_client/models/delivery_list_response.rb
|
|
134
|
+
- lib/openapi_client/models/delivery_trend_response.rb
|
|
135
|
+
- lib/openapi_client/models/delivery_trend_response_buckets_inner.rb
|
|
136
|
+
- lib/openapi_client/models/device_token_response.rb
|
|
137
|
+
- lib/openapi_client/models/disable2fa_request.rb
|
|
138
|
+
- lib/openapi_client/models/enable2fa_request.rb
|
|
139
|
+
- lib/openapi_client/models/endpoint.rb
|
|
140
|
+
- lib/openapi_client/models/endpoint_health.rb
|
|
141
|
+
- lib/openapi_client/models/endpoints_endpoint_id_transforms_test_post_request.rb
|
|
142
|
+
- lib/openapi_client/models/endpoints_id_rotate_secret_post200_response.rb
|
|
143
|
+
- lib/openapi_client/models/error.rb
|
|
144
|
+
- lib/openapi_client/models/forgot_password_request.rb
|
|
145
|
+
- lib/openapi_client/models/invite_request.rb
|
|
146
|
+
- lib/openapi_client/models/invoice_response.rb
|
|
147
|
+
- lib/openapi_client/models/latency_trend_response.rb
|
|
148
|
+
- lib/openapi_client/models/latency_trend_response_buckets_inner.rb
|
|
149
|
+
- lib/openapi_client/models/login_request.rb
|
|
150
|
+
- lib/openapi_client/models/notification.rb
|
|
151
|
+
- lib/openapi_client/models/notification_list_response.rb
|
|
152
|
+
- lib/openapi_client/models/notification_preferences.rb
|
|
153
|
+
- lib/openapi_client/models/notifications_unread_count_get200_response.rb
|
|
154
|
+
- lib/openapi_client/models/outbound_ips_response.rb
|
|
155
|
+
- lib/openapi_client/models/paginated_users.rb
|
|
156
|
+
- lib/openapi_client/models/playground_get200_response.rb
|
|
157
|
+
- lib/openapi_client/models/portal_notifications_put200_response.rb
|
|
158
|
+
- lib/openapi_client/models/portal_profile.rb
|
|
159
|
+
- lib/openapi_client/models/refresh_token_request.rb
|
|
160
|
+
- lib/openapi_client/models/register_device_request.rb
|
|
161
|
+
- lib/openapi_client/models/register_request.rb
|
|
162
|
+
- lib/openapi_client/models/register_schema_request.rb
|
|
163
|
+
- lib/openapi_client/models/resend_verification_request.rb
|
|
164
|
+
- lib/openapi_client/models/reset_password_request.rb
|
|
165
|
+
- lib/openapi_client/models/retry_policy.rb
|
|
166
|
+
- lib/openapi_client/models/routing_info.rb
|
|
167
|
+
- lib/openapi_client/models/search_result.rb
|
|
168
|
+
- lib/openapi_client/models/simulator_post_request.rb
|
|
169
|
+
- lib/openapi_client/models/sso_config_post_request.rb
|
|
170
|
+
- lib/openapi_client/models/stats_response.rb
|
|
171
|
+
- lib/openapi_client/models/stream_params.rb
|
|
172
|
+
- lib/openapi_client/models/subscription_response.rb
|
|
173
|
+
- lib/openapi_client/models/success_rate_response.rb
|
|
174
|
+
- lib/openapi_client/models/system_stats.rb
|
|
175
|
+
- lib/openapi_client/models/system_stats_plan_breakdown_inner.rb
|
|
176
|
+
- lib/openapi_client/models/system_status.rb
|
|
177
|
+
- lib/openapi_client/models/system_status_components_inner.rb
|
|
178
|
+
- lib/openapi_client/models/team.rb
|
|
179
|
+
- lib/openapi_client/models/team_detail_response.rb
|
|
180
|
+
- lib/openapi_client/models/team_invite.rb
|
|
181
|
+
- lib/openapi_client/models/team_member.rb
|
|
182
|
+
- lib/openapi_client/models/test_webhook_request.rb
|
|
183
|
+
- lib/openapi_client/models/test_webhook_response.rb
|
|
184
|
+
- lib/openapi_client/models/transform_rule.rb
|
|
185
|
+
- lib/openapi_client/models/two_factor_required_response.rb
|
|
186
|
+
- lib/openapi_client/models/update_endpoint_request.rb
|
|
187
|
+
- lib/openapi_client/models/update_notification_preferences.rb
|
|
188
|
+
- lib/openapi_client/models/update_profile_request.rb
|
|
189
|
+
- lib/openapi_client/models/update_routing_request.rb
|
|
190
|
+
- lib/openapi_client/models/upgrade_request.rb
|
|
191
|
+
- lib/openapi_client/models/upgrade_response.rb
|
|
192
|
+
- lib/openapi_client/models/usage_response.rb
|
|
193
|
+
- lib/openapi_client/models/user_summary.rb
|
|
194
|
+
- lib/openapi_client/models/validate_event_request.rb
|
|
195
|
+
- lib/openapi_client/models/verify2fa_request.rb
|
|
196
|
+
- lib/openapi_client/models/verify_email_request.rb
|
|
197
|
+
- lib/openapi_client/models/webhook_template.rb
|
|
198
|
+
- lib/openapi_client/version.rb
|
|
199
|
+
homepage: https://github.com/servetarslan02/HookSniff
|
|
71
200
|
licenses:
|
|
72
201
|
- MIT
|
|
73
202
|
metadata: {}
|
|
@@ -86,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
86
215
|
- !ruby/object:Gem::Version
|
|
87
216
|
version: '0'
|
|
88
217
|
requirements: []
|
|
89
|
-
rubygems_version: 3.
|
|
218
|
+
rubygems_version: 3.4.20
|
|
90
219
|
signing_key:
|
|
91
220
|
specification_version: 4
|
|
92
221
|
summary: Official Ruby client for HookSniff webhook delivery service
|