safetykit 0.32.0 → 0.33.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/safety_kit/models/data_get_download_url_response.rb +10 -1
- data/lib/safety_kit/models/data_get_status_response.rb +13 -1
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/models/data_get_download_url_response.rbi +13 -3
- data/rbi/safety_kit/models/data_get_status_response.rbi +13 -3
- data/sig/safety_kit/models/data_get_download_url_response.rbs +8 -3
- data/sig/safety_kit/models/data_get_status_response.rbs +8 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0eda99a246925e2d49e63a9e40e28d8caa476be4b4a0679795789fb43250c011
|
|
4
|
+
data.tar.gz: 137555f1415546b06c4e696ac019ffa25811bc67cb64dc554159ff1000d11e69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34ab87361da8ea71600986d3596fad30e23b7855beb5dea08fe2fd7a5e5f365e0dccb44f5193330ce628c15c2447334b605cea3ffa18ae0340089cff9b33a577
|
|
7
|
+
data.tar.gz: 4ff1a5320cdc7977cb2f4209b07905140004910c4682900d7c0eff47d624167547cf77bc23fad242d064f671b4194c707e3b963671a516f2834d456633e1347f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.33.0 (2026-06-24)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.32.0...v0.33.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.32.0...v0.33.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([71c0f6a](https://github.com/GetSafetyKit/safetykit-ruby/commit/71c0f6a98075cf7c1f24f9f027709d81b9de88a7))
|
|
10
|
+
|
|
3
11
|
## 0.32.0 (2026-06-23)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.31.0...v0.32.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.31.0...v0.32.0)
|
data/README.md
CHANGED
|
@@ -40,7 +40,14 @@ module SafetyKit
|
|
|
40
40
|
# @return [Symbol, SafetyKit::Models::DataGetDownloadURLResponse::Status]
|
|
41
41
|
required :status, enum: -> { SafetyKit::Models::DataGetDownloadURLResponse::Status }
|
|
42
42
|
|
|
43
|
-
# @!
|
|
43
|
+
# @!attribute error_summary
|
|
44
|
+
# Human-readable failure summary when object-level or batch-level errors were
|
|
45
|
+
# recorded.
|
|
46
|
+
#
|
|
47
|
+
# @return [String, nil]
|
|
48
|
+
optional :error_summary, String, nil?: true
|
|
49
|
+
|
|
50
|
+
# @!method initialize(data_count:, data_expires_at:, data_url:, namespace:, request_id:, status:, error_summary: nil)
|
|
44
51
|
# Some parameter documentations has been truncated, see
|
|
45
52
|
# {SafetyKit::Models::DataGetDownloadURLResponse} for more details.
|
|
46
53
|
#
|
|
@@ -59,6 +66,8 @@ module SafetyKit
|
|
|
59
66
|
# @param request_id [String]
|
|
60
67
|
#
|
|
61
68
|
# @param status [Symbol, SafetyKit::Models::DataGetDownloadURLResponse::Status] Current processing status of the request
|
|
69
|
+
#
|
|
70
|
+
# @param error_summary [String, nil] Human-readable failure summary when object-level or batch-level errors were reco
|
|
62
71
|
|
|
63
72
|
# Current processing status of the request
|
|
64
73
|
#
|
|
@@ -25,7 +25,17 @@ module SafetyKit
|
|
|
25
25
|
# @return [Symbol, SafetyKit::Models::DataGetStatusResponse::Status]
|
|
26
26
|
required :status, enum: -> { SafetyKit::Models::DataGetStatusResponse::Status }
|
|
27
27
|
|
|
28
|
-
# @!
|
|
28
|
+
# @!attribute error_summary
|
|
29
|
+
# Human-readable failure summary when object-level or batch-level errors were
|
|
30
|
+
# recorded.
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :error_summary, String, nil?: true
|
|
34
|
+
|
|
35
|
+
# @!method initialize(data:, namespace:, request_id:, status:, error_summary: nil)
|
|
36
|
+
# Some parameter documentations has been truncated, see
|
|
37
|
+
# {SafetyKit::Models::DataGetStatusResponse} for more details.
|
|
38
|
+
#
|
|
29
39
|
# Response containing request status and processed output data. Before processing
|
|
30
40
|
# completes, `data` is an empty array. If the processed output exceeds the 5 MiB
|
|
31
41
|
# inline response limit, this endpoint returns an error instructing you to use the
|
|
@@ -38,6 +48,8 @@ module SafetyKit
|
|
|
38
48
|
# @param request_id [String]
|
|
39
49
|
#
|
|
40
50
|
# @param status [Symbol, SafetyKit::Models::DataGetStatusResponse::Status] Current processing status of the request
|
|
51
|
+
#
|
|
52
|
+
# @param error_summary [String, nil] Human-readable failure summary when object-level or batch-level errors were reco
|
|
41
53
|
|
|
42
54
|
class Data < SafetyKit::Internal::Type::BaseModel
|
|
43
55
|
# @!attribute id
|
data/lib/safety_kit/version.rb
CHANGED
|
@@ -39,6 +39,11 @@ module SafetyKit
|
|
|
39
39
|
end
|
|
40
40
|
attr_accessor :status
|
|
41
41
|
|
|
42
|
+
# Human-readable failure summary when object-level or batch-level errors were
|
|
43
|
+
# recorded.
|
|
44
|
+
sig { returns(T.nilable(String)) }
|
|
45
|
+
attr_accessor :error_summary
|
|
46
|
+
|
|
42
47
|
# Response containing request status and a temporary S3 URL for the full request
|
|
43
48
|
# result. The shape is stable across all request sizes; before processing
|
|
44
49
|
# completes, the download fields are null.
|
|
@@ -50,7 +55,8 @@ module SafetyKit
|
|
|
50
55
|
namespace: String,
|
|
51
56
|
request_id: String,
|
|
52
57
|
status:
|
|
53
|
-
SafetyKit::Models::DataGetDownloadURLResponse::Status::OrSymbol
|
|
58
|
+
SafetyKit::Models::DataGetDownloadURLResponse::Status::OrSymbol,
|
|
59
|
+
error_summary: T.nilable(String)
|
|
54
60
|
).returns(T.attached_class)
|
|
55
61
|
end
|
|
56
62
|
def self.new(
|
|
@@ -65,7 +71,10 @@ module SafetyKit
|
|
|
65
71
|
namespace:,
|
|
66
72
|
request_id:,
|
|
67
73
|
# Current processing status of the request
|
|
68
|
-
status
|
|
74
|
+
status:,
|
|
75
|
+
# Human-readable failure summary when object-level or batch-level errors were
|
|
76
|
+
# recorded.
|
|
77
|
+
error_summary: nil
|
|
69
78
|
)
|
|
70
79
|
end
|
|
71
80
|
|
|
@@ -78,7 +87,8 @@ module SafetyKit
|
|
|
78
87
|
namespace: String,
|
|
79
88
|
request_id: String,
|
|
80
89
|
status:
|
|
81
|
-
SafetyKit::Models::DataGetDownloadURLResponse::Status::TaggedSymbol
|
|
90
|
+
SafetyKit::Models::DataGetDownloadURLResponse::Status::TaggedSymbol,
|
|
91
|
+
error_summary: T.nilable(String)
|
|
82
92
|
}
|
|
83
93
|
)
|
|
84
94
|
end
|
|
@@ -26,6 +26,11 @@ module SafetyKit
|
|
|
26
26
|
end
|
|
27
27
|
attr_accessor :status
|
|
28
28
|
|
|
29
|
+
# Human-readable failure summary when object-level or batch-level errors were
|
|
30
|
+
# recorded.
|
|
31
|
+
sig { returns(T.nilable(String)) }
|
|
32
|
+
attr_accessor :error_summary
|
|
33
|
+
|
|
29
34
|
# Response containing request status and processed output data. Before processing
|
|
30
35
|
# completes, `data` is an empty array. If the processed output exceeds the 5 MiB
|
|
31
36
|
# inline response limit, this endpoint returns an error instructing you to use the
|
|
@@ -36,7 +41,8 @@ module SafetyKit
|
|
|
36
41
|
T::Array[SafetyKit::Models::DataGetStatusResponse::Data::OrHash],
|
|
37
42
|
namespace: String,
|
|
38
43
|
request_id: String,
|
|
39
|
-
status: SafetyKit::Models::DataGetStatusResponse::Status::OrSymbol
|
|
44
|
+
status: SafetyKit::Models::DataGetStatusResponse::Status::OrSymbol,
|
|
45
|
+
error_summary: T.nilable(String)
|
|
40
46
|
).returns(T.attached_class)
|
|
41
47
|
end
|
|
42
48
|
def self.new(
|
|
@@ -44,7 +50,10 @@ module SafetyKit
|
|
|
44
50
|
namespace:,
|
|
45
51
|
request_id:,
|
|
46
52
|
# Current processing status of the request
|
|
47
|
-
status
|
|
53
|
+
status:,
|
|
54
|
+
# Human-readable failure summary when object-level or batch-level errors were
|
|
55
|
+
# recorded.
|
|
56
|
+
error_summary: nil
|
|
48
57
|
)
|
|
49
58
|
end
|
|
50
59
|
|
|
@@ -55,7 +64,8 @@ module SafetyKit
|
|
|
55
64
|
namespace: String,
|
|
56
65
|
request_id: String,
|
|
57
66
|
status:
|
|
58
|
-
SafetyKit::Models::DataGetStatusResponse::Status::TaggedSymbol
|
|
67
|
+
SafetyKit::Models::DataGetStatusResponse::Status::TaggedSymbol,
|
|
68
|
+
error_summary: T.nilable(String)
|
|
59
69
|
}
|
|
60
70
|
)
|
|
61
71
|
end
|
|
@@ -7,7 +7,8 @@ module SafetyKit
|
|
|
7
7
|
data_url: String?,
|
|
8
8
|
namespace: String,
|
|
9
9
|
request_id: String,
|
|
10
|
-
status: SafetyKit::Models::DataGetDownloadURLResponse::status
|
|
10
|
+
status: SafetyKit::Models::DataGetDownloadURLResponse::status,
|
|
11
|
+
error_summary: String?
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
class DataGetDownloadURLResponse < SafetyKit::Internal::Type::BaseModel
|
|
@@ -23,13 +24,16 @@ module SafetyKit
|
|
|
23
24
|
|
|
24
25
|
attr_accessor status: SafetyKit::Models::DataGetDownloadURLResponse::status
|
|
25
26
|
|
|
27
|
+
attr_accessor error_summary: String?
|
|
28
|
+
|
|
26
29
|
def initialize: (
|
|
27
30
|
data_count: Integer?,
|
|
28
31
|
data_expires_at: String?,
|
|
29
32
|
data_url: String?,
|
|
30
33
|
namespace: String,
|
|
31
34
|
request_id: String,
|
|
32
|
-
status: SafetyKit::Models::DataGetDownloadURLResponse::status
|
|
35
|
+
status: SafetyKit::Models::DataGetDownloadURLResponse::status,
|
|
36
|
+
?error_summary: String?
|
|
33
37
|
) -> void
|
|
34
38
|
|
|
35
39
|
def to_hash: -> {
|
|
@@ -38,7 +42,8 @@ module SafetyKit
|
|
|
38
42
|
data_url: String?,
|
|
39
43
|
namespace: String,
|
|
40
44
|
request_id: String,
|
|
41
|
-
status: SafetyKit::Models::DataGetDownloadURLResponse::status
|
|
45
|
+
status: SafetyKit::Models::DataGetDownloadURLResponse::status,
|
|
46
|
+
error_summary: String?
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
type status = :queued | :uploading | :ingesting | :succeeded | :failed
|
|
@@ -5,7 +5,8 @@ module SafetyKit
|
|
|
5
5
|
data: ::Array[SafetyKit::Models::DataGetStatusResponse::Data],
|
|
6
6
|
namespace: String,
|
|
7
7
|
request_id: String,
|
|
8
|
-
status: SafetyKit::Models::DataGetStatusResponse::status
|
|
8
|
+
status: SafetyKit::Models::DataGetStatusResponse::status,
|
|
9
|
+
error_summary: String?
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
class DataGetStatusResponse < SafetyKit::Internal::Type::BaseModel
|
|
@@ -17,18 +18,22 @@ module SafetyKit
|
|
|
17
18
|
|
|
18
19
|
attr_accessor status: SafetyKit::Models::DataGetStatusResponse::status
|
|
19
20
|
|
|
21
|
+
attr_accessor error_summary: String?
|
|
22
|
+
|
|
20
23
|
def initialize: (
|
|
21
24
|
data: ::Array[SafetyKit::Models::DataGetStatusResponse::Data],
|
|
22
25
|
namespace: String,
|
|
23
26
|
request_id: String,
|
|
24
|
-
status: SafetyKit::Models::DataGetStatusResponse::status
|
|
27
|
+
status: SafetyKit::Models::DataGetStatusResponse::status,
|
|
28
|
+
?error_summary: String?
|
|
25
29
|
) -> void
|
|
26
30
|
|
|
27
31
|
def to_hash: -> {
|
|
28
32
|
data: ::Array[SafetyKit::Models::DataGetStatusResponse::Data],
|
|
29
33
|
namespace: String,
|
|
30
34
|
request_id: String,
|
|
31
|
-
status: SafetyKit::Models::DataGetStatusResponse::status
|
|
35
|
+
status: SafetyKit::Models::DataGetStatusResponse::status,
|
|
36
|
+
error_summary: String?
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
type data =
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: safetykit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.33.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Safetykit
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|