didit-sdk 2.21.0 → 2.22.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: ac331e3d46bbe5b7bb01754f6ee9bd8f12dc69e5c410d0aa54700a36097ba17b
4
- data.tar.gz: '0301258d0c89f4bc698c9b06f5795a5599554437125f9351fb377653b8f2b064'
3
+ metadata.gz: 2dd49d09defef8d9a54bfa9ebe8d572ccae8aef006d23211bcc20a5154a7a7f5
4
+ data.tar.gz: 45542041f21ef6b68e91dd6dbf4bb593a89eff8ffa8c52623364a50e26158b14
5
5
  SHA512:
6
- metadata.gz: 982d1e6ccad67b658c5659a405b58689a827669e54a40f4c9965e8279a26e4bdcf0b31395e4cb0d4772477181f87740810fce4b1ee87c568525311b5c380f1e6
7
- data.tar.gz: 851a02e97d1111a42fffad3bed9767770746f9a744a1be8de8a8a10f2de797f403928dbb50002bfeb5d340386d74a8f962331e26f1f8ddf36a48fa267ec7083a
6
+ metadata.gz: c375931046c05aafa06d8c6900dcc22f63db06a80198abe7bcf8751945ffa79758ac3b68a32513e6176dadec5a6eec7e570aa5a918d83522aa8c0e67902663af
7
+ data.tar.gz: 6ec094f95a392eafc018fac9a62603842dff3f98fc1bde85a6fa2d1d2e5be5365e98ddbd16ce746fab9e9bdfd31b6b56b65fa24b1e4b889970b5fd0515cfcb17
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.22.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.21.0...v2.22.0) (2026-11-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * **spec:** sync API spec 2026-11-17 ([3abf3c0](https://github.com/didit-protocol/sdk-ruby/commit/3abf3c0105f0944286da82f696c96fdd67b36e1b))
9
+
3
10
  ## [2.21.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.20.1...v2.21.0) (2026-11-16)
4
11
 
5
12
 
@@ -1415,11 +1415,10 @@ module Didit
1415
1415
 
1416
1416
  # Start UAE PASS verification
1417
1417
  #
1418
- # Start a UAE PASS sign-in (UAE Digital Government Authority; ARE) without any workflow. Billed once, only when
1419
- # the identity is verified. The response carries next_action.type=redirect with the URL to send the user's
1420
- # browser to; the user returns to return_url with request_id and result appended. Read the outcome with GET
1421
- # /v3/id-verification/wallets/verifications/{request_id}/ or from the webhook, never from the URL. Sandbox
1422
- # applications get a deterministic simulation (simulated: true) that never contacts the provider.
1418
+ # UAE PASS (UAE Digital Government Authority; ARE) never returns an identity: it only confirms whether the
1419
+ # details you declared for your user (expected_details: name, date of birth, Emirates ID number) match, so it
1420
+ # runs only inside a verification session created with expected_details. This endpoint never starts it and
1421
+ # always answers 403 wallet_unavailable, sandbox applications included.
1423
1422
  #
1424
1423
  # +POST /v3/id-verification/wallets/uae-pass/+
1425
1424
  #
@@ -8860,6 +8860,7 @@ module Didit
8860
8860
  field :country_code, "country_code", :string
8861
8861
  field :region_code, "region_code", :string
8862
8862
  field :city, "city", :string
8863
+ field :parsed_address, "parsed_address", "GeolocationParsedAddress"
8863
8864
  field :geofence, "geofence", "GeolocationAttemptGeofence"
8864
8865
  field :inside_geofence, "inside_geofence", :boolean
8865
8866
  field :geofence_basis, "geofence_basis", :string
@@ -8923,6 +8924,7 @@ module Didit
8923
8924
  field :country_code, "country_code", :string
8924
8925
  field :region_code, "region_code", :string
8925
8926
  field :city, "city", :string
8927
+ field :parsed_address, "parsed_address", "GeolocationParsedAddress"
8926
8928
  field :geofence, "geofence", "GeolocationCheckGeofence"
8927
8929
  field :inside_geofence, "inside_geofence", :boolean
8928
8930
  field :geofence_basis, "geofence_basis", :string
@@ -8973,6 +8975,29 @@ module Didit
8973
8975
  field :node_id, "node_id", :string
8974
8976
  end
8975
8977
 
8978
+ # The street address at the device fix, reverse geocoded, in the same shape as `id_verifications[].parsed_address`
8979
+ # and `poa_verifications[].poa_parsed_address`. It is only as precise as `accuracy_m`. `null` when there is no
8980
+ # device fix (permission denied, timeout or skip), when the Location step only used the IP address, in sandbox
8981
+ # sessions, when the geocoder places the point nowhere, or when the geocoder failed.
8982
+ class GeolocationParsedAddress < Didit::Model
8983
+ field :street_1, "street_1", :string
8984
+ field :street_2, "street_2", :string
8985
+ field :city, "city", :string
8986
+ field :region, "region", :string
8987
+ field :country, "country", :string
8988
+ field :postal_code, "postal_code", :string
8989
+ field :address_type, "address_type", :string
8990
+ field :formatted_address, "formatted_address", :string
8991
+ field :raw_results, "raw_results", :any
8992
+ field :document_location, "document_location", "GeolocationParsedAddressDocumentLocation"
8993
+ end
8994
+
8995
+ # Coordinates of the address point.
8996
+ class GeolocationParsedAddressDocumentLocation < Didit::Model
8997
+ field :latitude, "latitude", :float
8998
+ field :longitude, "longitude", :float
8999
+ end
9000
+
8976
9001
  class IPRiskResponse < Didit::Model
8977
9002
  field :request_id, "request_id", :string
8978
9003
  field :status, "status", :string
@@ -11180,7 +11205,11 @@ module Didit
11180
11205
  field :longitude, "longitude", :float
11181
11206
  end
11182
11207
 
11183
- # Credential evidence. Present only when `verification_method` is `wallet`; `null` otherwise.
11208
+ # Credential evidence. Present only when `verification_method` is `wallet`; `null` otherwise. UAE PASS (`provider`
11209
+ # `uae_pass`) is outcome only: the identity fields of this ID verification (`full_name`, `first_name`,
11210
+ # `last_name`, `date_of_birth`, `nationality`, the document numbers) stay `null`, `attributes` holds only whether
11211
+ # each detail declared in `expected_details` matched, and nothing UAE PASS shared about the person is returned or
11212
+ # kept.
11184
11213
  class SessionDecisionIdVerificationsWalletVerification < Didit::Model
11185
11214
  field :provider, "provider", :string
11186
11215
  field :provider_name, "provider_name", :string
data/lib/didit/types.rb CHANGED
@@ -551,6 +551,8 @@ module Didit
551
551
  autoload :GeolocationCheckStatus, "didit/types/components"
552
552
  autoload :GeolocationCheckWarnings, "didit/types/components"
553
553
  autoload :GeolocationCheckWarningsFeature, "didit/types/components"
554
+ autoload :GeolocationParsedAddress, "didit/types/components"
555
+ autoload :GeolocationParsedAddressDocumentLocation, "didit/types/components"
554
556
  autoload :IPRiskResponse, "didit/types/components"
555
557
  autoload :IPRiskResponseIp, "didit/types/components"
556
558
  autoload :IPRiskResponseIpStatus, "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.21.0" # x-release-please-version
4
+ VERSION = "2.22.0" # x-release-please-version
5
5
  end
@@ -7650,6 +7650,7 @@ module Didit
7650
7650
  def country_code: () -> String?
7651
7651
  def region_code: () -> String?
7652
7652
  def city: () -> String?
7653
+ def parsed_address: () -> Didit::Types::GeolocationParsedAddress?
7653
7654
  def geofence: () -> Didit::Types::GeolocationAttemptGeofence?
7654
7655
  def inside_geofence: () -> bool?
7655
7656
  def geofence_basis: () -> String?
@@ -7708,6 +7709,7 @@ module Didit
7708
7709
  def country_code: () -> String?
7709
7710
  def region_code: () -> String?
7710
7711
  def city: () -> String?
7712
+ def parsed_address: () -> Didit::Types::GeolocationParsedAddress?
7711
7713
  def geofence: () -> Didit::Types::GeolocationCheckGeofence?
7712
7714
  def inside_geofence: () -> bool?
7713
7715
  def geofence_basis: () -> String?
@@ -7755,6 +7757,24 @@ module Didit
7755
7757
  def node_id: () -> String?
7756
7758
  end
7757
7759
 
7760
+ class GeolocationParsedAddress < Didit::Model
7761
+ def street_1: () -> String?
7762
+ def street_2: () -> String?
7763
+ def city: () -> String?
7764
+ def region: () -> String?
7765
+ def country: () -> String?
7766
+ def postal_code: () -> String?
7767
+ def address_type: () -> String?
7768
+ def formatted_address: () -> String?
7769
+ def raw_results: () -> Hash[String, untyped]?
7770
+ def document_location: () -> Didit::Types::GeolocationParsedAddressDocumentLocation?
7771
+ end
7772
+
7773
+ class GeolocationParsedAddressDocumentLocation < Didit::Model
7774
+ def latitude: () -> Float?
7775
+ def longitude: () -> Float?
7776
+ end
7777
+
7758
7778
  class IPRiskResponse < Didit::Model
7759
7779
  def request_id: () -> String
7760
7780
  def status: () -> String
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.21.0
4
+ version: 2.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit