handinger 0.6.0 → 0.7.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/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/handinger/models/workers/update_webhook.rb +22 -0
- data/lib/handinger/models/workers/webhook.rb +32 -0
- data/lib/handinger/models/workers/webhook_delete_params.rb +22 -0
- data/lib/handinger/models/workers/webhook_execution.rb +102 -0
- data/lib/handinger/models/workers/webhook_execution_list.rb +42 -0
- data/lib/handinger/models/workers/webhook_list_executions_params.rb +31 -0
- data/lib/handinger/models/workers/webhook_regenerate_token_params.rb +22 -0
- data/lib/handinger/models/workers/webhook_retrieve_params.rb +22 -0
- data/lib/handinger/models/workers/webhook_update_params.rb +22 -0
- data/lib/handinger/resources/workers/webhooks.rb +138 -0
- data/lib/handinger/resources/workers.rb +5 -0
- data/lib/handinger/version.rb +1 -1
- data/lib/handinger.rb +10 -0
- data/rbi/handinger/models/workers/update_webhook.rbi +34 -0
- data/rbi/handinger/models/workers/webhook.rbi +45 -0
- data/rbi/handinger/models/workers/webhook_delete_params.rbi +40 -0
- data/rbi/handinger/models/workers/webhook_execution.rbi +146 -0
- data/rbi/handinger/models/workers/webhook_execution_list.rbi +64 -0
- data/rbi/handinger/models/workers/webhook_list_executions_params.rbi +57 -0
- data/rbi/handinger/models/workers/webhook_regenerate_token_params.rbi +40 -0
- data/rbi/handinger/models/workers/webhook_retrieve_params.rbi +40 -0
- data/rbi/handinger/models/workers/webhook_update_params.rbi +40 -0
- data/rbi/handinger/resources/workers/webhooks.rbi +101 -0
- data/rbi/handinger/resources/workers.rbi +4 -0
- data/sig/handinger/models/workers/update_webhook.rbs +15 -0
- data/sig/handinger/models/workers/webhook.rbs +17 -0
- data/sig/handinger/models/workers/webhook_delete_params.rbs +25 -0
- data/sig/handinger/models/workers/webhook_execution.rbs +78 -0
- data/sig/handinger/models/workers/webhook_execution_list.rbs +37 -0
- data/sig/handinger/models/workers/webhook_list_executions_params.rbs +32 -0
- data/sig/handinger/models/workers/webhook_regenerate_token_params.rbs +25 -0
- data/sig/handinger/models/workers/webhook_retrieve_params.rbs +25 -0
- data/sig/handinger/models/workers/webhook_update_params.rbs +27 -0
- data/sig/handinger/resources/workers/webhooks.rbs +36 -0
- data/sig/handinger/resources/workers.rbs +2 -0
- metadata +31 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Handinger
|
|
2
|
+
module Models
|
|
3
|
+
module Workers
|
|
4
|
+
type webhook_list_executions_params =
|
|
5
|
+
{ worker_id: String, page: Integer }
|
|
6
|
+
& Handinger::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class WebhookListExecutionsParams < Handinger::Internal::Type::BaseModel
|
|
9
|
+
extend Handinger::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Handinger::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor worker_id: String
|
|
13
|
+
|
|
14
|
+
attr_reader page: Integer?
|
|
15
|
+
|
|
16
|
+
def page=: (Integer) -> Integer
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
worker_id: String,
|
|
20
|
+
?page: Integer,
|
|
21
|
+
?request_options: Handinger::request_opts
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
worker_id: String,
|
|
26
|
+
page: Integer,
|
|
27
|
+
request_options: Handinger::RequestOptions
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Handinger
|
|
2
|
+
module Models
|
|
3
|
+
module Workers
|
|
4
|
+
type webhook_regenerate_token_params =
|
|
5
|
+
{ worker_id: String } & Handinger::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class WebhookRegenerateTokenParams < Handinger::Internal::Type::BaseModel
|
|
8
|
+
extend Handinger::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Handinger::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor worker_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
worker_id: String,
|
|
15
|
+
?request_options: Handinger::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
worker_id: String,
|
|
20
|
+
request_options: Handinger::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Handinger
|
|
2
|
+
module Models
|
|
3
|
+
module Workers
|
|
4
|
+
type webhook_retrieve_params =
|
|
5
|
+
{ worker_id: String } & Handinger::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class WebhookRetrieveParams < Handinger::Internal::Type::BaseModel
|
|
8
|
+
extend Handinger::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Handinger::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor worker_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
worker_id: String,
|
|
15
|
+
?request_options: Handinger::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
worker_id: String,
|
|
20
|
+
request_options: Handinger::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module Handinger
|
|
2
|
+
module Models
|
|
3
|
+
module Workers
|
|
4
|
+
type webhook_update_params =
|
|
5
|
+
{ worker_id: String } & Handinger::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class WebhookUpdateParams < Handinger::Models::Workers::UpdateWebhook
|
|
8
|
+
extend Handinger::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Handinger::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
def worker_id: -> String
|
|
12
|
+
|
|
13
|
+
def worker_id=: (String _) -> String
|
|
14
|
+
|
|
15
|
+
def initialize: (
|
|
16
|
+
worker_id: String,
|
|
17
|
+
?request_options: Handinger::request_opts
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
worker_id: String,
|
|
22
|
+
request_options: Handinger::RequestOptions
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module Handinger
|
|
2
|
+
module Resources
|
|
3
|
+
class Workers
|
|
4
|
+
class Webhooks
|
|
5
|
+
def retrieve: (
|
|
6
|
+
String worker_id,
|
|
7
|
+
?request_options: Handinger::request_opts
|
|
8
|
+
) -> Handinger::Workers::Webhook
|
|
9
|
+
|
|
10
|
+
def update: (
|
|
11
|
+
String worker_id,
|
|
12
|
+
url: String?,
|
|
13
|
+
?request_options: Handinger::request_opts
|
|
14
|
+
) -> Handinger::Workers::Webhook
|
|
15
|
+
|
|
16
|
+
def delete: (
|
|
17
|
+
String worker_id,
|
|
18
|
+
?request_options: Handinger::request_opts
|
|
19
|
+
) -> Handinger::Workers::Webhook
|
|
20
|
+
|
|
21
|
+
def list_executions: (
|
|
22
|
+
String worker_id,
|
|
23
|
+
?page: Integer,
|
|
24
|
+
?request_options: Handinger::request_opts
|
|
25
|
+
) -> Handinger::Workers::WebhookExecutionList
|
|
26
|
+
|
|
27
|
+
def regenerate_token: (
|
|
28
|
+
String worker_id,
|
|
29
|
+
?request_options: Handinger::request_opts
|
|
30
|
+
) -> Handinger::Workers::Webhook
|
|
31
|
+
|
|
32
|
+
def initialize: (client: Handinger::Client) -> void
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: handinger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Handinger
|
|
@@ -92,11 +92,21 @@ files:
|
|
|
92
92
|
- lib/handinger/models/workers/schedule_create_params.rb
|
|
93
93
|
- lib/handinger/models/workers/schedule_list_params.rb
|
|
94
94
|
- lib/handinger/models/workers/schedule_list_response.rb
|
|
95
|
+
- lib/handinger/models/workers/update_webhook.rb
|
|
96
|
+
- lib/handinger/models/workers/webhook.rb
|
|
97
|
+
- lib/handinger/models/workers/webhook_delete_params.rb
|
|
98
|
+
- lib/handinger/models/workers/webhook_execution.rb
|
|
99
|
+
- lib/handinger/models/workers/webhook_execution_list.rb
|
|
100
|
+
- lib/handinger/models/workers/webhook_list_executions_params.rb
|
|
101
|
+
- lib/handinger/models/workers/webhook_regenerate_token_params.rb
|
|
102
|
+
- lib/handinger/models/workers/webhook_retrieve_params.rb
|
|
103
|
+
- lib/handinger/models/workers/webhook_update_params.rb
|
|
95
104
|
- lib/handinger/models/workers/worker_schedule.rb
|
|
96
105
|
- lib/handinger/request_options.rb
|
|
97
106
|
- lib/handinger/resources/tasks.rb
|
|
98
107
|
- lib/handinger/resources/workers.rb
|
|
99
108
|
- lib/handinger/resources/workers/schedules.rb
|
|
109
|
+
- lib/handinger/resources/workers/webhooks.rb
|
|
100
110
|
- lib/handinger/version.rb
|
|
101
111
|
- manifest.yaml
|
|
102
112
|
- rbi/handinger/client.rbi
|
|
@@ -141,11 +151,21 @@ files:
|
|
|
141
151
|
- rbi/handinger/models/workers/schedule_create_params.rbi
|
|
142
152
|
- rbi/handinger/models/workers/schedule_list_params.rbi
|
|
143
153
|
- rbi/handinger/models/workers/schedule_list_response.rbi
|
|
154
|
+
- rbi/handinger/models/workers/update_webhook.rbi
|
|
155
|
+
- rbi/handinger/models/workers/webhook.rbi
|
|
156
|
+
- rbi/handinger/models/workers/webhook_delete_params.rbi
|
|
157
|
+
- rbi/handinger/models/workers/webhook_execution.rbi
|
|
158
|
+
- rbi/handinger/models/workers/webhook_execution_list.rbi
|
|
159
|
+
- rbi/handinger/models/workers/webhook_list_executions_params.rbi
|
|
160
|
+
- rbi/handinger/models/workers/webhook_regenerate_token_params.rbi
|
|
161
|
+
- rbi/handinger/models/workers/webhook_retrieve_params.rbi
|
|
162
|
+
- rbi/handinger/models/workers/webhook_update_params.rbi
|
|
144
163
|
- rbi/handinger/models/workers/worker_schedule.rbi
|
|
145
164
|
- rbi/handinger/request_options.rbi
|
|
146
165
|
- rbi/handinger/resources/tasks.rbi
|
|
147
166
|
- rbi/handinger/resources/workers.rbi
|
|
148
167
|
- rbi/handinger/resources/workers/schedules.rbi
|
|
168
|
+
- rbi/handinger/resources/workers/webhooks.rbi
|
|
149
169
|
- rbi/handinger/version.rbi
|
|
150
170
|
- sig/handinger/client.rbs
|
|
151
171
|
- sig/handinger/errors.rbs
|
|
@@ -189,11 +209,21 @@ files:
|
|
|
189
209
|
- sig/handinger/models/workers/schedule_create_params.rbs
|
|
190
210
|
- sig/handinger/models/workers/schedule_list_params.rbs
|
|
191
211
|
- sig/handinger/models/workers/schedule_list_response.rbs
|
|
212
|
+
- sig/handinger/models/workers/update_webhook.rbs
|
|
213
|
+
- sig/handinger/models/workers/webhook.rbs
|
|
214
|
+
- sig/handinger/models/workers/webhook_delete_params.rbs
|
|
215
|
+
- sig/handinger/models/workers/webhook_execution.rbs
|
|
216
|
+
- sig/handinger/models/workers/webhook_execution_list.rbs
|
|
217
|
+
- sig/handinger/models/workers/webhook_list_executions_params.rbs
|
|
218
|
+
- sig/handinger/models/workers/webhook_regenerate_token_params.rbs
|
|
219
|
+
- sig/handinger/models/workers/webhook_retrieve_params.rbs
|
|
220
|
+
- sig/handinger/models/workers/webhook_update_params.rbs
|
|
192
221
|
- sig/handinger/models/workers/worker_schedule.rbs
|
|
193
222
|
- sig/handinger/request_options.rbs
|
|
194
223
|
- sig/handinger/resources/tasks.rbs
|
|
195
224
|
- sig/handinger/resources/workers.rbs
|
|
196
225
|
- sig/handinger/resources/workers/schedules.rbs
|
|
226
|
+
- sig/handinger/resources/workers/webhooks.rbs
|
|
197
227
|
- sig/handinger/version.rbs
|
|
198
228
|
homepage: https://gemdocs.org/gems/handinger
|
|
199
229
|
licenses: []
|