riveter-sdk 1.2.0 → 1.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5287a59260bd3fbf2f4069af7bcc49ec2c8cb9015d55e36db170c50c62ca5fa9
4
- data.tar.gz: 50ecfae1ff05b163f8479d9c63aabad0a18e31f001fd2a7fb4656901dc471f00
3
+ metadata.gz: 97615ce5421a13736f823dbc462115d4c336f9f79e0057c1089dfe608fdf0172
4
+ data.tar.gz: 565006350047c8346880bf21cf327f50aee63af2ca03584ca09ea3e296a01874
5
5
  SHA512:
6
- metadata.gz: 2bd4722b2d5c49a06390a520ca1b7f0319923390debe5a3301496cd58f6257de10aff9e28254175a52c9745b9a9038915a27bc6acaa354137641fc3b61b3c414
7
- data.tar.gz: ad7644661ae6d842485962aa4db8006936f26db528243ebebcdc721440f2cf879c4a05734a78924b3cf4b75d335e70ab2a36409f32a65c4d64b5af73426c81f3
6
+ metadata.gz: f000d31224a21d49f3fb94699bb0ac49b70095ee09bc584c73966ff4fb2232657ddbce617dbb5023e6b3e0552378ee5a7fe1d491247fc9498aba05b80b5d0525
7
+ data.tar.gz: 7e01550f44b5e44d99b6d2dba1080413aa373e1392c93fe00bad05ee19a1319a894cbac3b7a630749f7a2b700d5d1c4c9cae2a01185e5699731913a3228849fa
data/README.md CHANGED
@@ -79,7 +79,7 @@ csv = riveter.datasets.export(dataset.id)
79
79
 
80
80
  ## Surface
81
81
 
82
- - `riveter.enrich(...)`, `riveter.quick_search(...)`, `riveter.search_agent(...)`, `riveter.scrape(...)`, `riveter.account`
82
+ - `riveter.enrich(...)`, `riveter.quick_search(...)`, `riveter.search_agent(...)`, `riveter.scrape(...)`, `riveter.account`, `riveter.submit_feedback(...)`
83
83
  - `riveter.runs` — `get`, `result`, `stop`, `list`, `summary`, `wait_for_result`
84
84
  - `riveter.enrichments` — `list`, `create`, `get`, `update`, `delete`
85
85
  - `riveter.datasets` — `list`, `create`, `get`, `update`, `delete`, `list_rows`, `add_rows`, `delete_rows`, `update_row`, `import_rows`, `build_rows`, `promote_column`, `export`
@@ -69,6 +69,13 @@ module Riveter
69
69
  AccountInfo.new(request(:get, "/account"))
70
70
  end
71
71
 
72
+ # Send the Riveter team a report about the API or its tools; free. `title:` and
73
+ # `details:` are required; `category:`, `proposed_fix:`, `tool_name:`, and
74
+ # `related_ids:` are optional. (operationId: submitFeedback)
75
+ def submit_feedback(**params)
76
+ FeedbackReceipt.new(request(:post, "/feedback", body: params))
77
+ end
78
+
72
79
  # `body` is sent as JSON; `raw_body:` + `content_type:` send a body as-is (CSV imports).
73
80
  # `response_format:` is :json (an empty or 204 body is nil), :text, or :bytes.
74
81
  def request(method, path, query: nil, body: nil, raw_body: nil, content_type: nil, response_format: :json,
@@ -224,8 +224,9 @@ module Riveter
224
224
  end
225
225
  end
226
226
 
227
+ # #error is nil unless #status is "discovery_failed"; then it is a Hash with "type" and "message".
227
228
  class Extraction < Model
228
- field :id, :name, :status, :app_url, :starting_url, :goal_description,
229
+ field :id, :name, :status, :error, :app_url, :starting_url, :goal_description,
229
230
  :output_record_json_schema, :required_keys, :locked,
230
231
  :validation_passing, :discovered_at, :run_credits_required,
231
232
  :credits_charged, :estimate_cost
@@ -269,4 +270,8 @@ module Riveter
269
270
  model_field :account, Account
270
271
  model_field :api_key_info, ApiKeyInfo
271
272
  end
273
+
274
+ class FeedbackReceipt < Model
275
+ field :received, :message
276
+ end
272
277
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Riveter
4
- VERSION = "1.2.0"
4
+ VERSION = "1.4.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riveter-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Riveter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-12 00:00:00.000000000 Z
11
+ date: 2026-11-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Client for the Riveter API — enrich data, build datasets, scrape pages,
14
14
  and run web searches. https://docs.riveterhq.com