safetykit 0.31.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.
@@ -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