safetykit 0.36.0 → 0.37.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 +13 -0
- data/README.md +1 -1
- data/lib/safety_kit/client.rb +2 -2
- data/lib/safety_kit/models/deletion_request_create_params.rb +2 -1
- data/lib/safety_kit/models/deletion_request_create_response.rb +6 -6
- data/lib/safety_kit/resources/deletion_requests.rb +5 -4
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/client.rbi +2 -2
- data/rbi/safety_kit/models/deletion_request_create_params.rbi +4 -2
- data/rbi/safety_kit/models/deletion_request_create_response.rbi +6 -6
- data/rbi/safety_kit/resources/deletion_requests.rbi +7 -5
- 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: a5e10312376a135af36cb19c355a05e0cf566f8c12d124cb4e16f4e13e613a69
|
|
4
|
+
data.tar.gz: fb152ba6688cf30efffcdd2f4b7d50fbca77a245b75865242ffc57f321313840
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ba428f39430bedc394e84937943c9fa25312447f3481f29dc86b69c3b1aba0037afe0b8d49bb835db57b5cad5c7293a36e7826d2762413db5c0b7fa8d518189
|
|
7
|
+
data.tar.gz: cca2790026b624c06d50760b11d0c7c642b95fc97aa5d92d8d31ecdcd7d35218b20c4887754821c71f2a6c24daa5941ef9226adbbbc7d3a72c09f5be7ba76baf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.37.0 (2026-07-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.36.0...v0.37.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.36.0...v0.37.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([c829ea3](https://github.com/GetSafetyKit/safetykit-ruby/commit/c829ea3b29adf9359b451c45a5070bd51ef6417e))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** bound formatter parallelism to CPU count ([b7f4940](https://github.com/GetSafetyKit/safetykit-ruby/commit/b7f494006a515a87f61f9f3e5cc20ba91235347f))
|
|
15
|
+
|
|
3
16
|
## 0.36.0 (2026-06-25)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.35.0...v0.36.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.35.0...v0.36.0)
|
data/README.md
CHANGED
data/lib/safety_kit/client.rb
CHANGED
|
@@ -37,8 +37,8 @@ module SafetyKit
|
|
|
37
37
|
# @return [SafetyKit::Resources::Async]
|
|
38
38
|
attr_reader :async
|
|
39
39
|
|
|
40
|
-
# Submit end-user deletion requests
|
|
41
|
-
#
|
|
40
|
+
# Submit end-user deletion requests. Accepted requests are processed
|
|
41
|
+
# asynchronously.
|
|
42
42
|
# @return [SafetyKit::Resources::DeletionRequests]
|
|
43
43
|
attr_reader :deletion_requests
|
|
44
44
|
|
|
@@ -16,7 +16,8 @@ module SafetyKit
|
|
|
16
16
|
|
|
17
17
|
# @!attribute external_request_id
|
|
18
18
|
# Optional caller-provided request identifier for correlating the deletion request
|
|
19
|
-
# in both systems.
|
|
19
|
+
# in both systems. Repeat submissions with the same external_request_id are
|
|
20
|
+
# deduplicated and return the original deletion_request_id.
|
|
20
21
|
#
|
|
21
22
|
# @return [String, nil]
|
|
22
23
|
optional :external_request_id, String
|
|
@@ -5,13 +5,13 @@ module SafetyKit
|
|
|
5
5
|
# @see SafetyKit::Resources::DeletionRequests#create
|
|
6
6
|
class DeletionRequestCreateResponse < SafetyKit::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute deletion_request_id
|
|
8
|
-
# SafetyKit correlation identifier for the
|
|
8
|
+
# SafetyKit correlation identifier for the deletion request.
|
|
9
9
|
#
|
|
10
10
|
# @return [String]
|
|
11
11
|
required :deletion_request_id, String
|
|
12
12
|
|
|
13
13
|
# @!attribute status
|
|
14
|
-
# Deletion request was accepted and
|
|
14
|
+
# Deletion request was accepted and queued for asynchronous processing.
|
|
15
15
|
#
|
|
16
16
|
# @return [Symbol, SafetyKit::Models::DeletionRequestCreateResponse::Status]
|
|
17
17
|
required :status, enum: -> { SafetyKit::Models::DeletionRequestCreateResponse::Status }
|
|
@@ -23,15 +23,15 @@ module SafetyKit
|
|
|
23
23
|
optional :external_request_id, String
|
|
24
24
|
|
|
25
25
|
# @!method initialize(deletion_request_id:, status:, external_request_id: nil)
|
|
26
|
-
# Response returned after SafetyKit accepts and
|
|
26
|
+
# Response returned after SafetyKit accepts and queues a deletion request.
|
|
27
27
|
#
|
|
28
|
-
# @param deletion_request_id [String] SafetyKit correlation identifier for the
|
|
28
|
+
# @param deletion_request_id [String] SafetyKit correlation identifier for the deletion request.
|
|
29
29
|
#
|
|
30
|
-
# @param status [Symbol, SafetyKit::Models::DeletionRequestCreateResponse::Status] Deletion request was accepted and
|
|
30
|
+
# @param status [Symbol, SafetyKit::Models::DeletionRequestCreateResponse::Status] Deletion request was accepted and queued for asynchronous processing.
|
|
31
31
|
#
|
|
32
32
|
# @param external_request_id [String] Caller-provided request identifier, if supplied.
|
|
33
33
|
|
|
34
|
-
# Deletion request was accepted and
|
|
34
|
+
# Deletion request was accepted and queued for asynchronous processing.
|
|
35
35
|
#
|
|
36
36
|
# @see SafetyKit::Models::DeletionRequestCreateResponse#status
|
|
37
37
|
module Status
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
module SafetyKit
|
|
4
4
|
module Resources
|
|
5
|
-
# Submit end-user deletion requests
|
|
6
|
-
#
|
|
5
|
+
# Submit end-user deletion requests. Accepted requests are processed
|
|
6
|
+
# asynchronously.
|
|
7
7
|
class DeletionRequests
|
|
8
8
|
# Some parameter documentations has been truncated, see
|
|
9
9
|
# {SafetyKit::Models::DeletionRequestCreateParams} for more details.
|
|
10
10
|
#
|
|
11
|
-
# Submit an end-user data deletion request
|
|
12
|
-
#
|
|
11
|
+
# Submit an end-user data deletion request. SafetyKit validates the request,
|
|
12
|
+
# durably queues it, and asynchronously deletes the stored data associated with
|
|
13
|
+
# the subject user.
|
|
13
14
|
#
|
|
14
15
|
# @overload create(subject_user_id:, external_request_id: nil, requested_at: nil, request_options: {})
|
|
15
16
|
#
|
data/lib/safety_kit/version.rb
CHANGED
data/rbi/safety_kit/client.rbi
CHANGED
|
@@ -32,8 +32,8 @@ module SafetyKit
|
|
|
32
32
|
sig { returns(SafetyKit::Resources::Async) }
|
|
33
33
|
attr_reader :async
|
|
34
34
|
|
|
35
|
-
# Submit end-user deletion requests
|
|
36
|
-
#
|
|
35
|
+
# Submit end-user deletion requests. Accepted requests are processed
|
|
36
|
+
# asynchronously.
|
|
37
37
|
sig { returns(SafetyKit::Resources::DeletionRequests) }
|
|
38
38
|
attr_reader :deletion_requests
|
|
39
39
|
|
|
@@ -20,7 +20,8 @@ module SafetyKit
|
|
|
20
20
|
attr_accessor :subject_user_id
|
|
21
21
|
|
|
22
22
|
# Optional caller-provided request identifier for correlating the deletion request
|
|
23
|
-
# in both systems.
|
|
23
|
+
# in both systems. Repeat submissions with the same external_request_id are
|
|
24
|
+
# deduplicated and return the original deletion_request_id.
|
|
24
25
|
sig { returns(T.nilable(String)) }
|
|
25
26
|
attr_reader :external_request_id
|
|
26
27
|
|
|
@@ -48,7 +49,8 @@ module SafetyKit
|
|
|
48
49
|
# deleted.
|
|
49
50
|
subject_user_id:,
|
|
50
51
|
# Optional caller-provided request identifier for correlating the deletion request
|
|
51
|
-
# in both systems.
|
|
52
|
+
# in both systems. Repeat submissions with the same external_request_id are
|
|
53
|
+
# deduplicated and return the original deletion_request_id.
|
|
52
54
|
external_request_id: nil,
|
|
53
55
|
# The time the deletion request was received in your system, as an ISO 8601
|
|
54
56
|
# datetime string.
|
|
@@ -11,11 +11,11 @@ module SafetyKit
|
|
|
11
11
|
)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
# SafetyKit correlation identifier for the
|
|
14
|
+
# SafetyKit correlation identifier for the deletion request.
|
|
15
15
|
sig { returns(String) }
|
|
16
16
|
attr_accessor :deletion_request_id
|
|
17
17
|
|
|
18
|
-
# Deletion request was accepted and
|
|
18
|
+
# Deletion request was accepted and queued for asynchronous processing.
|
|
19
19
|
sig do
|
|
20
20
|
returns(
|
|
21
21
|
SafetyKit::Models::DeletionRequestCreateResponse::Status::TaggedSymbol
|
|
@@ -30,7 +30,7 @@ module SafetyKit
|
|
|
30
30
|
sig { params(external_request_id: String).void }
|
|
31
31
|
attr_writer :external_request_id
|
|
32
32
|
|
|
33
|
-
# Response returned after SafetyKit accepts and
|
|
33
|
+
# Response returned after SafetyKit accepts and queues a deletion request.
|
|
34
34
|
sig do
|
|
35
35
|
params(
|
|
36
36
|
deletion_request_id: String,
|
|
@@ -40,9 +40,9 @@ module SafetyKit
|
|
|
40
40
|
).returns(T.attached_class)
|
|
41
41
|
end
|
|
42
42
|
def self.new(
|
|
43
|
-
# SafetyKit correlation identifier for the
|
|
43
|
+
# SafetyKit correlation identifier for the deletion request.
|
|
44
44
|
deletion_request_id:,
|
|
45
|
-
# Deletion request was accepted and
|
|
45
|
+
# Deletion request was accepted and queued for asynchronous processing.
|
|
46
46
|
status:,
|
|
47
47
|
# Caller-provided request identifier, if supplied.
|
|
48
48
|
external_request_id: nil
|
|
@@ -62,7 +62,7 @@ module SafetyKit
|
|
|
62
62
|
def to_hash
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
# Deletion request was accepted and
|
|
65
|
+
# Deletion request was accepted and queued for asynchronous processing.
|
|
66
66
|
module Status
|
|
67
67
|
extend SafetyKit::Internal::Type::Enum
|
|
68
68
|
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
module SafetyKit
|
|
4
4
|
module Resources
|
|
5
|
-
# Submit end-user deletion requests
|
|
6
|
-
#
|
|
5
|
+
# Submit end-user deletion requests. Accepted requests are processed
|
|
6
|
+
# asynchronously.
|
|
7
7
|
class DeletionRequests
|
|
8
|
-
# Submit an end-user data deletion request
|
|
9
|
-
#
|
|
8
|
+
# Submit an end-user data deletion request. SafetyKit validates the request,
|
|
9
|
+
# durably queues it, and asynchronously deletes the stored data associated with
|
|
10
|
+
# the subject user.
|
|
10
11
|
sig do
|
|
11
12
|
params(
|
|
12
13
|
subject_user_id: String,
|
|
@@ -20,7 +21,8 @@ module SafetyKit
|
|
|
20
21
|
# deleted.
|
|
21
22
|
subject_user_id:,
|
|
22
23
|
# Optional caller-provided request identifier for correlating the deletion request
|
|
23
|
-
# in both systems.
|
|
24
|
+
# in both systems. Repeat submissions with the same external_request_id are
|
|
25
|
+
# deduplicated and return the original deletion_request_id.
|
|
24
26
|
external_request_id: nil,
|
|
25
27
|
# The time the deletion request was received in your system, as an ISO 8601
|
|
26
28
|
# datetime string.
|
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.37.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-
|
|
11
|
+
date: 2026-07-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|