didit-sdk 2.24.0 → 2.25.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 +7 -0
- data/lib/didit/resources/travel_rule.rb +6 -3
- data/lib/didit/types/components.rb +54 -7
- data/lib/didit/types.rb +3 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/types/components.rbs +33 -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: cdf128fe760d0a4da10d8ac085f8817af7d21342fe058205c3451751f788bf36
|
|
4
|
+
data.tar.gz: 664e74fd6c18a9d573bc5b5d9b32e00a374542cddcef16adf66816e841e95eb3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9514f82c251e47f65f0381692f73513efcd1859dd56a985bf304623d845a161702b76c9aaa73094eac6cdf065c67c337ce9f41530fce1b53a968a5c6680d969
|
|
7
|
+
data.tar.gz: 6927bb4537e90f466b5ac5d9b19bb23dc43fd4bdcaf2ccafd0b7d6215a50a67289b4c121ceb476463a78234bf14d443d2d1b2015c2bbf063fef24ed48e32263a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.25.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.24.0...v2.25.0) (2026-11-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-19 ([2f95636](https://github.com/didit-protocol/sdk-ruby/commit/2f956364b31e6cdd7d597d0d71d5e9dbce6f3e27))
|
|
9
|
+
|
|
3
10
|
## [2.24.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.23.0...v2.24.0) (2026-11-19)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -688,7 +688,10 @@ module Didit
|
|
|
688
688
|
#
|
|
689
689
|
# @param is_enabled [Boolean]
|
|
690
690
|
# @param legal_name [String]
|
|
691
|
-
# @param lei [String]
|
|
691
|
+
# @param lei [String] Your Legal Entity Identifier (ISO 17442): 20 letters and digits whose last two are check
|
|
692
|
+
# digits (ISO 7064 MOD 97-10). It is stored in upper case. Anything else answers 400 with 'Enter a valid LEI: 20
|
|
693
|
+
# letters and digits whose last two are its check digits (ISO 17442).' Send an empty string to clear it. When
|
|
694
|
+
# the LEI, the legal name or the country changes, Didit checks the LEI with GLEIF; didit_netw...
|
|
692
695
|
# @param jurisdiction [String]
|
|
693
696
|
# @param vasp_jurisdiction [String] Your VASP profile's own jurisdiction, up to 3 characters (for example `GB`
|
|
694
697
|
# or `USA`), shown to other Didit customers in the VASP directory. Independent of `jurisdiction`, which sets the
|
|
@@ -702,8 +705,8 @@ module Didit
|
|
|
702
705
|
# /v3/travel-rule/settings/compliance-email/confirmation/); changing it needs a new confirmation.
|
|
703
706
|
# @param is_discoverable [Boolean] Whether your VASP profile can be listed in the Didit network: found in GET
|
|
704
707
|
# /v3/travel-rule/vasps/ by other Didit customers and reached on the INTERNAL rail. Listing also needs a live
|
|
705
|
-
# application, Travel Rule on, a legal name
|
|
706
|
-
#
|
|
708
|
+
# application, Travel Rule on, a legal name, a confirmed compliance email, an LEI that GLEIF lists as issued to
|
|
709
|
+
# an active entity and a review by Didit that you are a virtual asset service provider; didit_network says w...
|
|
707
710
|
# @param threshold_amount [String] Decimal string, zero or greater, in your application's default currency.
|
|
708
711
|
# Minimum transfer amount that triggers a managed exchange.
|
|
709
712
|
# @param ownership_validation_mode [String] See the response field of the same name.
|
|
@@ -5972,18 +5972,49 @@ module Didit
|
|
|
5972
5972
|
VALUES = [SELECT_COUNTERPARTY_VASP, DECLARE_SELF_HOSTED, ADD_VASP_HINT, UPDATE_COMPLIANCE_EMAIL, RESEND].freeze
|
|
5973
5973
|
end
|
|
5974
5974
|
|
|
5975
|
+
# no_lei: no LEI is set. no_gleif_record: GLEIF has not been asked yet. gleif_lei_unknown: GLEIF has no record of
|
|
5976
|
+
# this LEI. gleif_other_lei: the GLEIF record on file is for a different LEI. gleif_entity_inactive: the GLEIF
|
|
5977
|
+
# entity is not active. gleif_lei_not_issued: the LEI is not in issued status (for example it lapsed).
|
|
5978
|
+
# gleif_name_mismatch: GLEIF's legal name does not match your legal name. gleif_country_mismatch: GLEIF's country
|
|
5979
|
+
# does not match your country. gleif_consistent: active, issued and consistent with your legal name and country.
|
|
5980
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckReason
|
|
5981
|
+
NO_LEI = "no_lei"
|
|
5982
|
+
NO_GLEIF_RECORD = "no_gleif_record"
|
|
5983
|
+
GLEIF_LEI_UNKNOWN = "gleif_lei_unknown"
|
|
5984
|
+
GLEIF_OTHER_LEI = "gleif_other_lei"
|
|
5985
|
+
GLEIF_ENTITY_INACTIVE = "gleif_entity_inactive"
|
|
5986
|
+
GLEIF_LEI_NOT_ISSUED = "gleif_lei_not_issued"
|
|
5987
|
+
GLEIF_NAME_MISMATCH = "gleif_name_mismatch"
|
|
5988
|
+
GLEIF_COUNTRY_MISMATCH = "gleif_country_mismatch"
|
|
5989
|
+
GLEIF_CONSISTENT = "gleif_consistent"
|
|
5990
|
+
|
|
5991
|
+
VALUES = [NO_LEI, NO_GLEIF_RECORD, GLEIF_LEI_UNKNOWN, GLEIF_OTHER_LEI, GLEIF_ENTITY_INACTIVE, GLEIF_LEI_NOT_ISSUED, GLEIF_NAME_MISMATCH, GLEIF_COUNTRY_MISMATCH, GLEIF_CONSISTENT].freeze
|
|
5992
|
+
end
|
|
5993
|
+
|
|
5994
|
+
# Known values of an open enum: the API may send others.
|
|
5995
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckStatus
|
|
5996
|
+
PASS = "pass"
|
|
5997
|
+
FAIL = "fail"
|
|
5998
|
+
UNKNOWN = "unknown"
|
|
5999
|
+
|
|
6000
|
+
VALUES = [PASS, FAIL, UNKNOWN].freeze
|
|
6001
|
+
end
|
|
6002
|
+
|
|
5975
6003
|
# Known values of an open enum: the API may send others.
|
|
5976
6004
|
module TravelRuleSettingsDetailDiditNetworkMissing
|
|
5977
6005
|
TRAVEL_RULE_OFF = "travel_rule_off"
|
|
5978
6006
|
SANDBOX_APPLICATION = "sandbox_application"
|
|
5979
6007
|
NOT_DISCOVERABLE = "not_discoverable"
|
|
5980
6008
|
LEGAL_NAME_MISSING = "legal_name_missing"
|
|
6009
|
+
LEI_MISSING = "lei_missing"
|
|
6010
|
+
LEI_UNVERIFIED = "lei_unverified"
|
|
5981
6011
|
COMPLIANCE_EMAIL_MISSING = "compliance_email_missing"
|
|
5982
6012
|
COMPLIANCE_EMAIL_UNCONFIRMED = "compliance_email_unconfirmed"
|
|
5983
6013
|
EXCLUDED_BY_STAFF = "excluded_by_staff"
|
|
5984
6014
|
INTERNAL_ORGANIZATION = "internal_organization"
|
|
6015
|
+
REVIEW_PENDING = "review_pending"
|
|
5985
6016
|
|
|
5986
|
-
VALUES = [TRAVEL_RULE_OFF, SANDBOX_APPLICATION, NOT_DISCOVERABLE, LEGAL_NAME_MISSING, COMPLIANCE_EMAIL_MISSING, COMPLIANCE_EMAIL_UNCONFIRMED, EXCLUDED_BY_STAFF, INTERNAL_ORGANIZATION].freeze
|
|
6017
|
+
VALUES = [TRAVEL_RULE_OFF, SANDBOX_APPLICATION, NOT_DISCOVERABLE, LEGAL_NAME_MISSING, LEI_MISSING, LEI_UNVERIFIED, COMPLIANCE_EMAIL_MISSING, COMPLIANCE_EMAIL_UNCONFIRMED, EXCLUDED_BY_STAFF, INTERNAL_ORGANIZATION, REVIEW_PENDING].freeze
|
|
5987
6018
|
end
|
|
5988
6019
|
|
|
5989
6020
|
# Known values of an open enum: the API may send others.
|
|
@@ -13653,11 +13684,23 @@ module Didit
|
|
|
13653
13684
|
end
|
|
13654
13685
|
|
|
13655
13686
|
# Whether the Didit network lists your VASP profile, so other Didit customers find it in the directory and reach
|
|
13656
|
-
# it on the INTERNAL rail, and each condition it still misses.
|
|
13687
|
+
# it on the INTERNAL rail, and each condition it still misses. Listing needs: a live (not sandbox) application
|
|
13688
|
+
# with Travel Rule on, Discoverable on, a legal name, a compliance email confirmed through the emailed link, an
|
|
13689
|
+
# LEI that GLEIF lists as issued to an active entity, and a review by Didit that the company is a virtual asset
|
|
13690
|
+
# service provider (the review is for that LEI: changing the LEI or the legal name needs a new review).
|
|
13657
13691
|
class TravelRuleSettingsDetailDiditNetwork < Didit::Model
|
|
13658
13692
|
field :listed, "listed", :boolean
|
|
13659
13693
|
field :missing, "missing", [:array, :string]
|
|
13660
13694
|
field :compliance_email_confirmed, "compliance_email_confirmed", :boolean
|
|
13695
|
+
field :lei_check, "lei_check", "TravelRuleSettingsDetailDiditNetworkLeiCheck"
|
|
13696
|
+
end
|
|
13697
|
+
|
|
13698
|
+
# What GLEIF said about your current LEI. null before the LEI was first checked.
|
|
13699
|
+
class TravelRuleSettingsDetailDiditNetworkLeiCheck < Didit::Model
|
|
13700
|
+
field :status, "status", :string
|
|
13701
|
+
field :reason, "reason", :string
|
|
13702
|
+
field :gleif_legal_name, "gleif_legal_name", :string
|
|
13703
|
+
field :checked_at, "checked_at", :datetime
|
|
13661
13704
|
end
|
|
13662
13705
|
|
|
13663
13706
|
# Per network, how this application would send and why it cannot. No network, including GTR, is included by
|
|
@@ -14051,10 +14094,11 @@ module Didit
|
|
|
14051
14094
|
|
|
14052
14095
|
# A VASP of the directory or a member of the Didit network, with the routes your application has to it. A customer
|
|
14053
14096
|
# is a member of the Didit network only while its application is live, its Travel Rule is on, its profile is
|
|
14054
|
-
# discoverable, has a legal name and a confirmed compliance email,
|
|
14055
|
-
#
|
|
14056
|
-
#
|
|
14057
|
-
#
|
|
14097
|
+
# discoverable, has a legal name and a confirmed compliance email, has an LEI that GLEIF lists as issued to an
|
|
14098
|
+
# active entity and has been reviewed by Didit as a virtual asset service provider, and Didit has not marked the
|
|
14099
|
+
# application as a test, demo, internal or not-a-VASP one. Each row also carries the shared due-diligence
|
|
14100
|
+
# assessment (dd_score, risk_level, responsiveness, essential_checks) and your application's own decision, entity
|
|
14101
|
+
# screening and questionnaires, which no other customer sees.
|
|
14058
14102
|
class VaspDirectoryEntry < Didit::Model
|
|
14059
14103
|
field :id, "id", :string
|
|
14060
14104
|
field :kind, "kind", :string
|
|
@@ -14122,7 +14166,10 @@ module Didit
|
|
|
14122
14166
|
# LEI register), licence (a MiCA authorisation is on record and current), domain (the entry's domain matches its
|
|
14123
14167
|
# TRP endpoint or the website its register gives) and lei (its LEI record is active, issued and consistent with
|
|
14124
14168
|
# the entry's names and country). The essentials component of dd_score is the share of decided checks that pass.
|
|
14125
|
-
# Empty until the weekly directory refresh first checks the entry
|
|
14169
|
+
# Empty until the weekly directory refresh first checks the entry. A Didit network member (kind didit) carries the
|
|
14170
|
+
# report too: registration, licence and domain come from the registered directory entry with the same LEI when
|
|
14171
|
+
# there is one (else registration fails with no_register, licence is unknown with no_licence_record and domain is
|
|
14172
|
+
# unknown with no_domain), and the lei check is GLEIF's answer against the member's own legal name and country.
|
|
14126
14173
|
class VaspDirectoryEntryEssentialChecks < Didit::Model
|
|
14127
14174
|
field :level, "level", :string
|
|
14128
14175
|
field :checked_at, "checked_at", :datetime
|
data/lib/didit/types.rb
CHANGED
|
@@ -1727,6 +1727,9 @@ module Didit
|
|
|
1727
1727
|
autoload :TravelRuleSendComplianceEmailConfirmationResponse, "didit/types/travel_rule"
|
|
1728
1728
|
autoload :TravelRuleSettingsDetail, "didit/types/components"
|
|
1729
1729
|
autoload :TravelRuleSettingsDetailDiditNetwork, "didit/types/components"
|
|
1730
|
+
autoload :TravelRuleSettingsDetailDiditNetworkLeiCheck, "didit/types/components"
|
|
1731
|
+
autoload :TravelRuleSettingsDetailDiditNetworkLeiCheckReason, "didit/types/components"
|
|
1732
|
+
autoload :TravelRuleSettingsDetailDiditNetworkLeiCheckStatus, "didit/types/components"
|
|
1730
1733
|
autoload :TravelRuleSettingsDetailDiditNetworkMissing, "didit/types/components"
|
|
1731
1734
|
autoload :TravelRuleSettingsDetailDisabledNetworks, "didit/types/components"
|
|
1732
1735
|
autoload :TravelRuleSettingsDetailNameMatchingStrictness, "didit/types/components"
|
data/lib/didit/version.rb
CHANGED
|
@@ -4997,15 +4997,40 @@ module Didit
|
|
|
4997
4997
|
VALUES: Array[String]
|
|
4998
4998
|
end
|
|
4999
4999
|
|
|
5000
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckReason
|
|
5001
|
+
NO_LEI: String
|
|
5002
|
+
NO_GLEIF_RECORD: String
|
|
5003
|
+
GLEIF_LEI_UNKNOWN: String
|
|
5004
|
+
GLEIF_OTHER_LEI: String
|
|
5005
|
+
GLEIF_ENTITY_INACTIVE: String
|
|
5006
|
+
GLEIF_LEI_NOT_ISSUED: String
|
|
5007
|
+
GLEIF_NAME_MISMATCH: String
|
|
5008
|
+
GLEIF_COUNTRY_MISMATCH: String
|
|
5009
|
+
GLEIF_CONSISTENT: String
|
|
5010
|
+
|
|
5011
|
+
VALUES: Array[String]
|
|
5012
|
+
end
|
|
5013
|
+
|
|
5014
|
+
module TravelRuleSettingsDetailDiditNetworkLeiCheckStatus
|
|
5015
|
+
PASS: String
|
|
5016
|
+
FAIL: String
|
|
5017
|
+
UNKNOWN: String
|
|
5018
|
+
|
|
5019
|
+
VALUES: Array[String]
|
|
5020
|
+
end
|
|
5021
|
+
|
|
5000
5022
|
module TravelRuleSettingsDetailDiditNetworkMissing
|
|
5001
5023
|
TRAVEL_RULE_OFF: String
|
|
5002
5024
|
SANDBOX_APPLICATION: String
|
|
5003
5025
|
NOT_DISCOVERABLE: String
|
|
5004
5026
|
LEGAL_NAME_MISSING: String
|
|
5027
|
+
LEI_MISSING: String
|
|
5028
|
+
LEI_UNVERIFIED: String
|
|
5005
5029
|
COMPLIANCE_EMAIL_MISSING: String
|
|
5006
5030
|
COMPLIANCE_EMAIL_UNCONFIRMED: String
|
|
5007
5031
|
EXCLUDED_BY_STAFF: String
|
|
5008
5032
|
INTERNAL_ORGANIZATION: String
|
|
5033
|
+
REVIEW_PENDING: String
|
|
5009
5034
|
|
|
5010
5035
|
VALUES: Array[String]
|
|
5011
5036
|
end
|
|
@@ -12043,6 +12068,14 @@ module Didit
|
|
|
12043
12068
|
def listed: () -> bool?
|
|
12044
12069
|
def missing: () -> Array[String]?
|
|
12045
12070
|
def compliance_email_confirmed: () -> bool?
|
|
12071
|
+
def lei_check: () -> Didit::Types::TravelRuleSettingsDetailDiditNetworkLeiCheck?
|
|
12072
|
+
end
|
|
12073
|
+
|
|
12074
|
+
class TravelRuleSettingsDetailDiditNetworkLeiCheck < Didit::Model
|
|
12075
|
+
def status: () -> String?
|
|
12076
|
+
def reason: () -> String?
|
|
12077
|
+
def gleif_legal_name: () -> String?
|
|
12078
|
+
def checked_at: () -> Time?
|
|
12046
12079
|
end
|
|
12047
12080
|
|
|
12048
12081
|
class TravelRuleSettingsDetailNetworks < Didit::Model
|