didit-sdk 2.4.0 → 2.6.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 +14 -0
- data/lib/didit/types/components.rb +19 -3
- data/lib/didit/types.rb +1 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/types/components.rbs +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb23d1c5131fef653ac86491c1194c805dae46179d0c55c3bc5a35155993e2b1
|
|
4
|
+
data.tar.gz: 63a0a5061e6943dc4f5312b8804d7a595fe2d0f863a17721894dc42d9b8ba0c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5429753ede2e74519ffd754c943bd40d0281f19e3d0f26cfa6c55be1941e7eda63d7f5ec92cacc50b80a4220ea1f17d9e2d3b2d17f34d03e6494d7d6d5610d94
|
|
7
|
+
data.tar.gz: b3ca828cd5bf39cf204d1ba2d5bb66cd4a481790114fb26cbefdf4bbb640567376c85f6c3f96377b81d16409a8e78b9a6f01587e4ae6bd899bd994db3df52281
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.6.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.5.0...v2.6.0) (2026-11-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-10 ([bd9dcb0](https://github.com/didit-protocol/sdk-ruby/commit/bd9dcb09fe8a2ae28e0c9fc16fdd0d9f168fa9ac))
|
|
9
|
+
|
|
10
|
+
## [2.5.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.4.0...v2.5.0) (2026-11-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **spec:** sync API spec 2026-11-10 ([8d93d58](https://github.com/didit-protocol/sdk-ruby/commit/8d93d5847af771aeaac516b40c20b51913ed5f7b))
|
|
16
|
+
|
|
3
17
|
## [2.4.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.3.0...v2.4.0) (2026-11-10)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -3818,6 +3818,16 @@ module Didit
|
|
|
3818
3818
|
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
3819
3819
|
end
|
|
3820
3820
|
|
|
3821
|
+
# Send events: how the send ended. `unknown` once no delivery report can still arrive (the verification finished
|
|
3822
|
+
# without one); absent while one can.
|
|
3823
|
+
module SessionDecisionPhoneVerificationsLifecycleDetailsDeliveryStatus
|
|
3824
|
+
DELIVERED = "delivered"
|
|
3825
|
+
UNDELIVERABLE = "undeliverable"
|
|
3826
|
+
UNKNOWN = "unknown"
|
|
3827
|
+
|
|
3828
|
+
VALUES = [DELIVERED, UNDELIVERABLE, UNKNOWN].freeze
|
|
3829
|
+
end
|
|
3830
|
+
|
|
3821
3831
|
# Where this match came from. `session` means another verification session in your application matched on this
|
|
3822
3832
|
# value. `list_entry` means the value was hit against an org-managed list (allowlist/blocklist) - see the
|
|
3823
3833
|
# management API lists overview at `/management-api/lists/overview` for how to manage those lists.
|
|
@@ -10921,14 +10931,20 @@ module Didit
|
|
|
10921
10931
|
field :fee, "fee", :float
|
|
10922
10932
|
end
|
|
10923
10933
|
|
|
10924
|
-
# Event-specific payload. Send events carry `status`, `reason`, `channel`, `actual_channel
|
|
10925
|
-
#
|
|
10926
|
-
# `
|
|
10934
|
+
# Event-specific payload. Send events carry `status`, `reason`, `channel`, `actual_channel`, `attempt` (the send's
|
|
10935
|
+
# 0-based index, matching the order of the send events) and `delivery_status` (`delivered`, `undeliverable`, or
|
|
10936
|
+
# `unknown` once no report can still arrive; absent while one can); delivery events carry `channel`, `status`,
|
|
10937
|
+
# `attempt` and, on `PHONE_DELIVERY_UNDELIVERABLE`, `reason` (`expired`, `rejected`, `unreachable`, `blocked` or
|
|
10938
|
+
# `unknown` for a message; `unreachable_number`, `no_answer`, `busy` or `undeliverable` for a call - always a
|
|
10939
|
+
# fixed word, never a provider status or error code); code-check events carry `code_tried`, `status`; final status
|
|
10940
|
+
# events carry `reason` - or `null` when there is no reason to report (e.g. `PHONE_VERIFICATION_APPROVED`).
|
|
10927
10941
|
class SessionDecisionPhoneVerificationsLifecycleDetails < Didit::Model
|
|
10928
10942
|
field :status, "status", :string
|
|
10929
10943
|
field :reason, "reason", :string
|
|
10930
10944
|
field :channel, "channel", :string
|
|
10931
10945
|
field :actual_channel, "actual_channel", :string
|
|
10946
|
+
field :attempt, "attempt", :integer
|
|
10947
|
+
field :delivery_status, "delivery_status", :string
|
|
10932
10948
|
field :code_tried, "code_tried", :string
|
|
10933
10949
|
end
|
|
10934
10950
|
|
data/lib/didit/types.rb
CHANGED
|
@@ -1178,6 +1178,7 @@ module Didit
|
|
|
1178
1178
|
autoload :SessionDecisionPhoneVerificationsCarrier, "didit/types/components"
|
|
1179
1179
|
autoload :SessionDecisionPhoneVerificationsLifecycle, "didit/types/components"
|
|
1180
1180
|
autoload :SessionDecisionPhoneVerificationsLifecycleDetails, "didit/types/components"
|
|
1181
|
+
autoload :SessionDecisionPhoneVerificationsLifecycleDetailsDeliveryStatus, "didit/types/components"
|
|
1181
1182
|
autoload :SessionDecisionPhoneVerificationsMatches, "didit/types/components"
|
|
1182
1183
|
autoload :SessionDecisionPhoneVerificationsMatchesSource, "didit/types/components"
|
|
1183
1184
|
autoload :SessionDecisionPhoneVerificationsStatus, "didit/types/components"
|
data/lib/didit/version.rb
CHANGED
|
@@ -3182,6 +3182,14 @@ module Didit
|
|
|
3182
3182
|
VALUES: Array[String]
|
|
3183
3183
|
end
|
|
3184
3184
|
|
|
3185
|
+
module SessionDecisionPhoneVerificationsLifecycleDetailsDeliveryStatus
|
|
3186
|
+
DELIVERED: String
|
|
3187
|
+
UNDELIVERABLE: String
|
|
3188
|
+
UNKNOWN: String
|
|
3189
|
+
|
|
3190
|
+
VALUES: Array[String]
|
|
3191
|
+
end
|
|
3192
|
+
|
|
3185
3193
|
module SessionDecisionPhoneVerificationsMatchesSource
|
|
3186
3194
|
SESSION: String
|
|
3187
3195
|
LIST_ENTRY: String
|
|
@@ -9615,6 +9623,8 @@ module Didit
|
|
|
9615
9623
|
def reason: () -> String?
|
|
9616
9624
|
def channel: () -> String?
|
|
9617
9625
|
def actual_channel: () -> String?
|
|
9626
|
+
def attempt: () -> Integer?
|
|
9627
|
+
def delivery_status: () -> String?
|
|
9618
9628
|
def code_tried: () -> String?
|
|
9619
9629
|
end
|
|
9620
9630
|
|