didit-sdk 2.4.0 → 2.5.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: efe9df5d9d0ef175d6b9ce0cb94bbcfeebf45376b4c642fa34eae3809264d921
4
- data.tar.gz: 9157b1aedbb808403cb77319d1d9211c5eeaaf81d285eb4cf0394ec72e786b1a
3
+ metadata.gz: 49f04424db1fc9060d9f11580158b06932284ae993c54e36149f84413b24fb6e
4
+ data.tar.gz: eab16c569fdcb64bbba5bac6a75f1cd5601c82cf18fa6f399d73df189a49b134
5
5
  SHA512:
6
- metadata.gz: d6c25c53d8e9bae98d4401130cfa9c02b19ee5280542582b666aa6ecf263f1162b63fc81628f9539cc86b194687c7aec4082ce7db6401f1c582308b68fb72cba
7
- data.tar.gz: 259f3b4cd3dd48b7e06f27c50deb105e089bef4bc19db34ca7c1aaef5bf7b2b4d8e30fe702947f4a3dba0c8d5d46e3269e183f6e38ee83cd83c63ba82acfbc28
6
+ metadata.gz: dd4be6d33dcb6ec1e8bdb67a23955fc412c6e9794dd6ba81116c14d9b05b857cbeb109ab1d9c6b35219abc6c95eae31ee76418cd3890cf1db5af774526b0622b
7
+ data.tar.gz: a7c6110b6ede6bd49ab66d19da98e3a6f77d7f0d4ca68fbdc614f2d52ec09cc4f9a8640dec20934b2416386a05abd93e3d0105b4b5f5e996b7dc4c6ff2688a33
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.5.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.4.0...v2.5.0) (2026-11-10)
4
+
5
+
6
+ ### Features
7
+
8
+ * **spec:** sync API spec 2026-11-10 ([8d93d58](https://github.com/didit-protocol/sdk-ruby/commit/8d93d5847af771aeaac516b40c20b51913ed5f7b))
9
+
3
10
  ## [2.4.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.3.0...v2.4.0) (2026-11-10)
4
11
 
5
12
 
@@ -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`; delivery events carry
10925
- # `channel`, `status`; code-check events carry `code_tried`, `status`; final status events carry `reason` - or
10926
- # `null` when there is no reason to report (e.g. `PHONE_VERIFICATION_APPROVED`).
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Didit
4
- VERSION = "2.4.0" # x-release-please-version
4
+ VERSION = "2.5.0" # x-release-please-version
5
5
  end
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: didit-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit