didit-sdk 2.14.0 → 2.16.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/resources/account.rb +6 -4
- data/lib/didit/resources/address_validation.rb +2 -1
- data/lib/didit/resources/bank.rb +9 -4
- data/lib/didit/resources/sessions.rb +18 -9
- data/lib/didit/resources/travel_rule.rb +76 -3
- data/lib/didit/types/account_components.rb +5 -4
- data/lib/didit/types/components.rb +180 -9
- data/lib/didit/types/sessions.rb +4 -3
- data/lib/didit/types/travel_rule.rb +17 -0
- data/lib/didit/types.rb +16 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/sessions.rbs +1 -1
- data/sig/didit/resources/travel_rule.rbs +3 -1
- data/sig/didit/types/account_components.rbs +1 -0
- data/sig/didit/types/components.rbs +142 -0
- data/sig/didit/types/sessions.rbs +2 -1
- data/sig/didit/types/travel_rule.rbs +16 -1
- 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: 976573d86ac3ea0f7e6a9d72e8251f43f2f05435ecf6737320c90a27a7358afc
|
|
4
|
+
data.tar.gz: 5b093e8f2ed8c29f81d8025986f368da53b26a7ff31e326707ef4e785ddfd509
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c31b3c5e914b6399197d2754dc40bc047cb4fce6a2b2a92592d20f9a2b6b55a09291108cb0b898738248ad0bf259a30f19f78248ba4d199612e43e4d4af4088c
|
|
7
|
+
data.tar.gz: 785bb3225fb64562fcd11bbefc16b3cfb522898f54d7e37c427c89d9f8b20da19ab56959321c224012c31c3ab9963b5dacbcdc6fb8d9927564c8a03e5ac2c02c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.16.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.15.0...v2.16.0) (2026-11-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-13 ([06b3c4d](https://github.com/didit-protocol/sdk-ruby/commit/06b3c4d2507ca40ee8b02adcb53340e46af34cd5))
|
|
9
|
+
|
|
10
|
+
## [2.15.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.14.0...v2.15.0) (2026-11-13)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **spec:** sync API spec 2026-11-13 ([9668e12](https://github.com/didit-protocol/sdk-ruby/commit/9668e1273ce001ec5208334bf1fa1fd61f9ebe51))
|
|
16
|
+
|
|
3
17
|
## [2.14.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.13.1...v2.14.0) (2026-11-12)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -157,8 +157,9 @@ module Didit
|
|
|
157
157
|
# @param description [String] Internal description for the application (not shown to end users).
|
|
158
158
|
# @param data_location [String] Where the application's verification data is stored and processed, chosen when
|
|
159
159
|
# the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney),
|
|
160
|
-
# `mx` (Mexico)
|
|
161
|
-
# data location is not available yet.` An organization's Sandbox
|
|
160
|
+
# `mx` (Mexico), `ae` (United Arab Emirates) and `us` (United States, N. Virginia) are coming soon: a request
|
|
161
|
+
# that names them answers 400 `This data location is not available yet.` An organization's Sandbox
|
|
162
|
+
# applicatio...
|
|
162
163
|
# @param initiate_login_uri [String] Application sign-in URL for an admin-sent sign-in link. Optional; an
|
|
163
164
|
# empty string disables sending. A nonempty value must use HTTPS and the exact hostname of website_url
|
|
164
165
|
# (subdomains must match), with no userinfo, query, fragment or whitespace and no port other than 443. The
|
|
@@ -281,8 +282,9 @@ module Didit
|
|
|
281
282
|
# @param description [String] Internal description for the application.
|
|
282
283
|
# @param data_location [String] Where the application's verification data is stored and processed, chosen when
|
|
283
284
|
# the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney),
|
|
284
|
-
# `mx` (Mexico)
|
|
285
|
-
# data location is not available yet.` An organization's Sandbox
|
|
285
|
+
# `mx` (Mexico), `ae` (United Arab Emirates) and `us` (United States, N. Virginia) are coming soon: a request
|
|
286
|
+
# that names them answers 400 `This data location is not available yet.` An organization's Sandbox
|
|
287
|
+
# applicatio...
|
|
286
288
|
# @param initiate_login_uri [String] Application sign-in URL for an admin-sent sign-in link. Optional; an
|
|
287
289
|
# empty string disables sending. A nonempty value must use HTTPS and the exact hostname of website_url
|
|
288
290
|
# (subdomains must match), with no userinfo, query, fragment or whitespace and no port other than 443. The
|
|
@@ -23,7 +23,8 @@ module Didit
|
|
|
23
23
|
# stored apart from the usage record: no session is created and the result is returned only in this response.
|
|
24
24
|
#
|
|
25
25
|
# **Sandbox.** Sandbox keys validate the request and always return a deterministic `verified` result that echoes
|
|
26
|
-
# the address sent,
|
|
26
|
+
# the address sent, with `address_type` and `is_residential` always `null` (the keys are present), without
|
|
27
|
+
# consuming credits.
|
|
27
28
|
#
|
|
28
29
|
# **Authentication.** Send your application's API key in `x-api-key`. Missing or invalid credentials return
|
|
29
30
|
# `403` - this API never returns `401`.
|
data/lib/didit/resources/bank.rb
CHANGED
|
@@ -16,8 +16,11 @@ module Didit
|
|
|
16
16
|
# business account.
|
|
17
17
|
#
|
|
18
18
|
# **What you get back.** `result` is `match`, `close_match`, `no_match` or `cannot_verify`. On a `close_match`,
|
|
19
|
-
# `holder_name` is the name the bank holds the account under, when the bank returned it. `
|
|
20
|
-
#
|
|
19
|
+
# `holder_name` is the name the bank holds the account under, when the bank returned it. `name_match_score` is
|
|
20
|
+
# the 0 to 100 similarity `result` was decided on, so you can apply your own threshold; `result` stays
|
|
21
|
+
# authoritative, decided with the default thresholds (a `match` from 85, a `close_match` from 70). It is `null`
|
|
22
|
+
# when no name was compared: a `cannot_verify`, or a `no_match` for an account that does not exist. `account`
|
|
23
|
+
# comes back masked to its last 4 characters.
|
|
21
24
|
#
|
|
22
25
|
# **Billing.** Each check the bank answers is billed once at the Account check price of the account's country,
|
|
23
26
|
# whatever the result: a `no_match`, an account that does not exist and a `cannot_verify` are billed too. A
|
|
@@ -28,8 +31,10 @@ module Didit
|
|
|
28
31
|
#
|
|
29
32
|
# **Sandbox.** Use a sandbox API key with the sample account details. A sandbox key calls no bank and is charged
|
|
30
33
|
# nothing. The last 4 characters of the IBAN, else of the account number, choose the answer: `0001` a
|
|
31
|
-
# `close_match` with a `holder_name`, `0002` a `close_match` without one
|
|
32
|
-
# `
|
|
34
|
+
# `close_match` with a `holder_name`, `0002` a `close_match` without one (`name_match_score` 78), `0003` a
|
|
35
|
+
# `no_match` (`name_match_score` 0), `0006` a `no_match` for an account that does not exist (`name_match_score`
|
|
36
|
+
# null), `0004` `cannot_verify`, `0005` a `503` and `0009` a `400`. Any other ending is a `match`
|
|
37
|
+
# (`name_match_score` 100).
|
|
33
38
|
#
|
|
34
39
|
# **API keys.** A scoped API key needs write access to sessions.
|
|
35
40
|
#
|
|
@@ -391,18 +391,20 @@ module Didit
|
|
|
391
391
|
# published workflow (created in the Console [Workflows](https://docs.didit.me/console/workflows) page) and an
|
|
392
392
|
# application API key with available credits. Sandbox applications bypass the credit check.
|
|
393
393
|
#
|
|
394
|
-
# **Idempotency:** when `vendor_data` is provided and an unfinished session
|
|
395
|
-
# `Resubmitted`, or `Awaiting User`) with the same `vendor_data` already exists
|
|
396
|
-
# latest published version** (and that session already has a hosted verification
|
|
397
|
-
# returned (still `201`) instead of creating a duplicate - with its `callback` and
|
|
398
|
-
# newly provided values. An unfinished session created on an older version of the
|
|
399
|
-
# been republished) is **not** reused; a new session pinned to the latest published
|
|
400
|
-
# Sessions in `Approved`, `Declined`, `In Review`, `Expired`, `Abandoned`, or `Kyc
|
|
394
|
+
# **Idempotency:** for a User Verification workflow, when `vendor_data` is provided and an unfinished session
|
|
395
|
+
# (`Not Started`, `In Progress`, `Resubmitted`, or `Awaiting User`) with the same `vendor_data` already exists
|
|
396
|
+
# on the workflow's **current latest published version** (and that session already has a hosted verification
|
|
397
|
+
# URL), the existing session is returned (still `201`) instead of creating a duplicate - with its `callback` and
|
|
398
|
+
# `metadata` updated to the newly provided values. An unfinished session created on an older version of the
|
|
399
|
+
# workflow (one that has since been republished) is **not** reused; a new session pinned to the latest published
|
|
400
|
+
# version is created instead. Sessions in `Approved`, `Declined`, `In Review`, `Expired`, `Abandoned`, or `Kyc
|
|
401
|
+
# Expired` are never reused. A Business Verification workflow creates a new session on every call.
|
|
401
402
|
#
|
|
402
403
|
# **Side effects:** the hosted verification URL is generated and stored; if
|
|
403
404
|
# `contact_details.send_notification_emails` is `true` and an email is provided, a verification invite email is
|
|
404
|
-
# sent. The session expires after
|
|
405
|
-
# `contact_details.phone` and
|
|
405
|
+
# sent. The session expires after `session_expiration_time` seconds when the request sets it, otherwise after
|
|
406
|
+
# the workflow's configured session expiration time. For KYB workflows, `contact_details.phone` and
|
|
407
|
+
# `expected_details` are ignored.
|
|
406
408
|
#
|
|
407
409
|
# +POST /v3/session/+
|
|
408
410
|
#
|
|
@@ -435,6 +437,11 @@ module Didit
|
|
|
435
437
|
# characters. Names are case-insensitive and stored in upper case. A name that does not exist yet in the
|
|
436
438
|
# application is created as a new tag. The tags show on the session in the console, where you can filter by
|
|
437
439
|
# them.
|
|
440
|
+
# @param session_expiration_time [Integer] Seconds this session's link stays valid, overriding the workflow's
|
|
441
|
+
# `session_expiration_time` for this session only. Whole number between 3600 (1 hour) and 2419200 (4 weeks), the
|
|
442
|
+
# same bounds as the workflow setting. Omit it to use the workflow's setting. A value outside the range, or one
|
|
443
|
+
# that is not a whole number, returns `400` on `session_expiration_time`. A session created by this call takes
|
|
444
|
+
# th...
|
|
438
445
|
# @param language [String] Language code (ISO 639-1) for the verification process interface. Controls the
|
|
439
446
|
# language displayed to the end user during verification. If not provided, the browser's language will be
|
|
440
447
|
# automatically detected and used. Check all the supported languages [here](/integration/supported-languages).
|
|
@@ -476,6 +483,7 @@ module Didit
|
|
|
476
483
|
callback_method: OMIT,
|
|
477
484
|
metadata: OMIT,
|
|
478
485
|
tags: OMIT,
|
|
486
|
+
session_expiration_time: OMIT,
|
|
479
487
|
language: OMIT,
|
|
480
488
|
contact_details: OMIT,
|
|
481
489
|
expected_details: OMIT,
|
|
@@ -497,6 +505,7 @@ module Didit
|
|
|
497
505
|
"callback_method" => callback_method,
|
|
498
506
|
"metadata" => metadata,
|
|
499
507
|
"tags" => tags,
|
|
508
|
+
"session_expiration_time" => session_expiration_time,
|
|
500
509
|
"language" => language,
|
|
501
510
|
"contact_details" => contact_details,
|
|
502
511
|
"expected_details" => expected_details,
|
|
@@ -117,6 +117,16 @@ module Didit
|
|
|
117
117
|
# completion.
|
|
118
118
|
# @param expires_in_minutes [Integer] Optional. Lifetime of the minted link, in minutes. Automatically extended
|
|
119
119
|
# to cover the Satoshi test window when SATOSHI_TEST is offered.
|
|
120
|
+
# @param wallet_entry_id [String] Optional. Request the ownership proof of this address book entry instead of
|
|
121
|
+
# passing `wallet_address` and `chain`. The entry must be a customer wallet with a holder
|
|
122
|
+
# (`holder_vendor_data`), an address and a chain; the saved wallet and holder are always used and a conflicting
|
|
123
|
+
# `wallet_address`, `chain`, `holder_name` or `vendor_data` is rejected. Cannot be combined with
|
|
124
|
+
# `transaction_id`.
|
|
125
|
+
# @param request_action [String] Only with `wallet_entry_id`. `ensure` and `resend` return the entry's active
|
|
126
|
+
# link when it has one (`200`) and create one otherwise (`201`). `new` revokes the active link and creates
|
|
127
|
+
# another; it needs `request_key`.
|
|
128
|
+
# @param request_key [String] Only with `request_action: new`. An idempotency key: repeating the call with the
|
|
129
|
+
# same key returns the same link while it is active, and `410` once it has been revoked or has expired.
|
|
120
130
|
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
121
131
|
# @return [Didit::Types::TravelRuleWidgetSessionResponse]
|
|
122
132
|
def create_widget_session(
|
|
@@ -128,6 +138,9 @@ module Didit
|
|
|
128
138
|
satoshi_deposit_address: OMIT,
|
|
129
139
|
callback_url: OMIT,
|
|
130
140
|
expires_in_minutes: OMIT,
|
|
141
|
+
wallet_entry_id: OMIT,
|
|
142
|
+
request_action: OMIT,
|
|
143
|
+
request_key: OMIT,
|
|
131
144
|
request_options: nil
|
|
132
145
|
)
|
|
133
146
|
@client.request(
|
|
@@ -141,7 +154,10 @@ module Didit
|
|
|
141
154
|
"transaction_id" => transaction_id,
|
|
142
155
|
"satoshi_deposit_address" => satoshi_deposit_address,
|
|
143
156
|
"callback_url" => callback_url,
|
|
144
|
-
"expires_in_minutes" => expires_in_minutes
|
|
157
|
+
"expires_in_minutes" => expires_in_minutes,
|
|
158
|
+
"wallet_entry_id" => wallet_entry_id,
|
|
159
|
+
"request_action" => request_action,
|
|
160
|
+
"request_key" => request_key
|
|
145
161
|
},
|
|
146
162
|
response: Types::TravelRuleWidgetSessionResponse,
|
|
147
163
|
request_options: request_options
|
|
@@ -838,8 +854,10 @@ module Didit
|
|
|
838
854
|
# List Travel Rule transfers
|
|
839
855
|
#
|
|
840
856
|
# Your application's Travel Rule transfers, newest first, paginated with `limit` (default 50) and `offset`.
|
|
841
|
-
# Rows carry VASP names, wallets
|
|
842
|
-
#
|
|
857
|
+
# Rows carry VASP names, wallets, memos, the transaction's review decision, your own end user's name (masked
|
|
858
|
+
# exactly as the transaction detail masks it), the counterparty VASP's jurisdiction, the chain and the fiat
|
|
859
|
+
# amount; they never carry the counterparty's person data. Comma-separated values select several. An unknown
|
|
860
|
+
# value answers 400 naming the parameter, for example `{"direction": ["Unknown value(s): inbound."]}`.
|
|
843
861
|
#
|
|
844
862
|
# +GET /v3/travel-rule/transfers/+
|
|
845
863
|
#
|
|
@@ -1115,6 +1133,61 @@ module Didit
|
|
|
1115
1133
|
)
|
|
1116
1134
|
end
|
|
1117
1135
|
|
|
1136
|
+
# List the transfers that used a wallet address
|
|
1137
|
+
#
|
|
1138
|
+
# Paginated list of your Travel Rule transfers whose originator or beneficiary wallet is this address book
|
|
1139
|
+
# entry, newest first. The endpoint answers 404 once the entry is deleted.
|
|
1140
|
+
#
|
|
1141
|
+
# +GET /v3/travel-rule/wallet-addresses/{entry_uuid}/transfers/+
|
|
1142
|
+
#
|
|
1143
|
+
# @param entry_uuid [String]
|
|
1144
|
+
# @param limit [Integer]
|
|
1145
|
+
# @param offset [Integer]
|
|
1146
|
+
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
1147
|
+
# @return [Didit::Page<Didit::Types::TravelRuleWalletTransfer>]
|
|
1148
|
+
def list_transfers(entry_uuid, limit: OMIT, offset: OMIT, request_options: nil)
|
|
1149
|
+
@client.request(
|
|
1150
|
+
:get,
|
|
1151
|
+
"/v3/travel-rule/wallet-addresses/{entry_uuid}/transfers/",
|
|
1152
|
+
path_params: { "entry_uuid" => entry_uuid },
|
|
1153
|
+
query: {
|
|
1154
|
+
"limit" => limit,
|
|
1155
|
+
"offset" => offset
|
|
1156
|
+
},
|
|
1157
|
+
page: Types::TravelRuleWalletTransfer,
|
|
1158
|
+
request_options: request_options
|
|
1159
|
+
)
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
# Look up a wallet address
|
|
1163
|
+
#
|
|
1164
|
+
# Checks one exact address, chain and memo against your own wallet address book and then against wallets
|
|
1165
|
+
# proven by other Didit Travel Rule participants. It never screens the wallet, never sends a message and never
|
|
1166
|
+
# returns holder data from another application. `directory_checked` is always `false`: the lookup does not
|
|
1167
|
+
# search a public directory, so `none` means the wallet is neither in your book nor proven on Didit, not that
|
|
1168
|
+
# it is unknown elsewhere.
|
|
1169
|
+
#
|
|
1170
|
+
# +GET /v3/travel-rule/wallet-addresses/lookup/+
|
|
1171
|
+
#
|
|
1172
|
+
# @param address [String] The wallet address.
|
|
1173
|
+
# @param chain [String] Chain token, for example `ETH`, `BTC` or `SOL`.
|
|
1174
|
+
# @param memo [String] Destination tag or memo, for chains that use one.
|
|
1175
|
+
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
1176
|
+
# @return [Didit::Types::TravelRuleWalletLookup]
|
|
1177
|
+
def lookup(address:, chain:, memo: OMIT, request_options: nil)
|
|
1178
|
+
@client.request(
|
|
1179
|
+
:get,
|
|
1180
|
+
"/v3/travel-rule/wallet-addresses/lookup/",
|
|
1181
|
+
query: {
|
|
1182
|
+
"address" => address,
|
|
1183
|
+
"chain" => chain,
|
|
1184
|
+
"memo" => memo
|
|
1185
|
+
},
|
|
1186
|
+
response: Types::TravelRuleWalletLookup,
|
|
1187
|
+
request_options: request_options
|
|
1188
|
+
)
|
|
1189
|
+
end
|
|
1190
|
+
|
|
1118
1191
|
# Update wallet address holder metadata
|
|
1119
1192
|
#
|
|
1120
1193
|
# Partial update of holder_name, holder_vendor_data, entity_type, and travel_address. Setting travel_address
|
|
@@ -15,16 +15,17 @@ module Didit
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
# Where the application's verification data is stored and processed, chosen when the application is created. `eu`
|
|
18
|
-
# is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico)
|
|
19
|
-
# Emirates) are coming soon: a request that names them answers 400 `This
|
|
20
|
-
# organization's Sandbox application is always in the European Union.
|
|
18
|
+
# is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico), `ae` (United Arab
|
|
19
|
+
# Emirates) and `us` (United States, N. Virginia) are coming soon: a request that names them answers 400 `This
|
|
20
|
+
# data location is not available yet.` An organization's Sandbox application is always in the European Union.
|
|
21
21
|
module ApplicationDataLocation
|
|
22
22
|
EU = "eu"
|
|
23
23
|
AU = "au"
|
|
24
24
|
MX = "mx"
|
|
25
25
|
AE = "ae"
|
|
26
|
+
US = "us"
|
|
26
27
|
|
|
27
|
-
VALUES = [EU, AU, MX, AE].freeze
|
|
28
|
+
VALUES = [EU, AU, MX, AE, US].freeze
|
|
28
29
|
end
|
|
29
30
|
|
|
30
31
|
# The application's environment. A `live` application bills every verification session and check created with its
|
|
@@ -190,6 +190,22 @@ module Didit
|
|
|
190
190
|
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
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
+
# The kind of delivery point the address is, for United States and Canadian addresses: `street`, `po_box` (a PO
|
|
194
|
+
# box or lock box), `high_rise` (a high-rise or business complex), `rural_route`, `general_delivery`, `firm` (a
|
|
195
|
+
# firm or company address) or `building`. `null` for addresses in other countries, when the address has no type on
|
|
196
|
+
# record, and when `status` is `unavailable`.
|
|
197
|
+
module AddressValidationResultAddressType
|
|
198
|
+
STREET = "street"
|
|
199
|
+
PO_BOX = "po_box"
|
|
200
|
+
HIGH_RISE = "high_rise"
|
|
201
|
+
RURAL_ROUTE = "rural_route"
|
|
202
|
+
GENERAL_DELIVERY = "general_delivery"
|
|
203
|
+
FIRM = "firm"
|
|
204
|
+
BUILDING = "building"
|
|
205
|
+
|
|
206
|
+
VALUES = [STREET, PO_BOX, HIGH_RISE, RURAL_ROUTE, GENERAL_DELIVERY, FIRM, BUILDING].freeze
|
|
207
|
+
end
|
|
208
|
+
|
|
193
209
|
# `verified`: the address was confirmed down to the building (or the flat or PO box). `partially_verified`: it was
|
|
194
210
|
# confirmed only to the street, or to the most precise level the postal reference data holds for that place.
|
|
195
211
|
# `not_verified`: only the region or the city matched, or nothing did. `unavailable`: the validation could not run
|
|
@@ -4432,7 +4448,7 @@ module Didit
|
|
|
4432
4448
|
VALUES = [TYPED, DRAWN].freeze
|
|
4433
4449
|
end
|
|
4434
4450
|
|
|
4435
|
-
# `null` for a Simple signature, which has no code.
|
|
4451
|
+
# `null` for a Simple signature, which has no code. Always `sms` for a Qualified (QES) signature.
|
|
4436
4452
|
module SignatureResultConfirmationChannel
|
|
4437
4453
|
EMAIL = "email"
|
|
4438
4454
|
SMS = "sms"
|
|
@@ -4440,6 +4456,16 @@ module Didit
|
|
|
4440
4456
|
VALUES = [EMAIL, SMS].freeze
|
|
4441
4457
|
end
|
|
4442
4458
|
|
|
4459
|
+
# Who sent the code: `didit`, or `qualified_provider` for a Qualified (QES) signature, whose code comes by SMS
|
|
4460
|
+
# from the qualified trust service provider and authorizes the signer's qualified certificate. `null` for a Simple
|
|
4461
|
+
# signature.
|
|
4462
|
+
module SignatureResultConfirmationSentBy
|
|
4463
|
+
DIDIT = "didit"
|
|
4464
|
+
QUALIFIED_PROVIDER = "qualified_provider"
|
|
4465
|
+
|
|
4466
|
+
VALUES = [DIDIT, QUALIFIED_PROVIDER].freeze
|
|
4467
|
+
end
|
|
4468
|
+
|
|
4443
4469
|
# Known values of an open enum: the API may send others.
|
|
4444
4470
|
module SignatureResultDeclinedAction
|
|
4445
4471
|
DECLINE = "DECLINE"
|
|
@@ -4482,7 +4508,7 @@ module Didit
|
|
|
4482
4508
|
VALUES = [SIGNED, DECLINED, NOT_SIGNED, NOT_REACHED].freeze
|
|
4483
4509
|
end
|
|
4484
4510
|
|
|
4485
|
-
# `pdf` for a Simple signature, `pades` for Advanced (AES).
|
|
4511
|
+
# `pdf` for a Simple signature, `pades` for Advanced (AES) and Qualified (QES).
|
|
4486
4512
|
module SignatureResultFormat
|
|
4487
4513
|
PDF = "pdf"
|
|
4488
4514
|
PADES = "pades"
|
|
@@ -4490,7 +4516,8 @@ module Didit
|
|
|
4490
4516
|
VALUES = [PDF, PADES].freeze
|
|
4491
4517
|
end
|
|
4492
4518
|
|
|
4493
|
-
# `simple` (default)
|
|
4519
|
+
# `simple` (default), `aes` or `qes` (Qualified electronic signature, QES, an add-on: a qualified trust service
|
|
4520
|
+
# provider issues the signer a qualified certificate and signs after the signer enters the code it texts them).
|
|
4494
4521
|
module SignatureResultLevel
|
|
4495
4522
|
SIMPLE = "simple"
|
|
4496
4523
|
AES = "aes"
|
|
@@ -4526,6 +4553,20 @@ module Didit
|
|
|
4526
4553
|
VALUES = [INTRO, REVIEW, CODE, SIGNING, SIGNED, DECLINED].freeze
|
|
4527
4554
|
end
|
|
4528
4555
|
|
|
4556
|
+
# Known values of an open enum: the API may send others.
|
|
4557
|
+
module SignatureResultValidationDocumentsFailedChecks
|
|
4558
|
+
INTEGRITY = "integrity"
|
|
4559
|
+
TRUSTED = "trusted"
|
|
4560
|
+
NOT_REVOKED = "not_revoked"
|
|
4561
|
+
COVERAGE = "coverage"
|
|
4562
|
+
TIMESTAMP = "timestamp"
|
|
4563
|
+
QUALIFIED_CERTIFICATE = "qualified_certificate"
|
|
4564
|
+
SIGNER_NAMED = "signer_named"
|
|
4565
|
+
ORIGINAL_KEPT = "original_kept"
|
|
4566
|
+
|
|
4567
|
+
VALUES = [INTEGRITY, TRUSTED, NOT_REVOKED, COVERAGE, TIMESTAMP, QUALIFIED_CERTIFICATE, SIGNER_NAMED, ORIGINAL_KEPT].freeze
|
|
4568
|
+
end
|
|
4569
|
+
|
|
4529
4570
|
# The step's outcome. A warning sets it through its rule; custom status rules apply after.
|
|
4530
4571
|
module SignatureResultVerdict
|
|
4531
4572
|
NOT_FINISHED = "Not Finished"
|
|
@@ -5319,6 +5360,15 @@ module Didit
|
|
|
5319
5360
|
VALUES = [OWNERSHIP_CONFIRMED, WALLET_PROOF, ADDRESS_BOOK_MATCH, OWN_VERIFIED_WALLET, INQUIRY_APPROVED, KNOWN_PAYMENT_METHOD, TRAVEL_ADDRESS].freeze
|
|
5320
5361
|
end
|
|
5321
5362
|
|
|
5363
|
+
# `email_undeliverable`: the email bounced or the address does not accept mail. `delivery_failed`: any other
|
|
5364
|
+
# failure.
|
|
5365
|
+
module TravelRuleDeliveryFailureCode
|
|
5366
|
+
EMAIL_UNDELIVERABLE = "email_undeliverable"
|
|
5367
|
+
DELIVERY_FAILED = "delivery_failed"
|
|
5368
|
+
|
|
5369
|
+
VALUES = [EMAIL_UNDELIVERABLE, DELIVERY_FAILED].freeze
|
|
5370
|
+
end
|
|
5371
|
+
|
|
5322
5372
|
# What the message carries. `SEND`: the transfer's first message to the counterparty (outbound; the rail is chosen
|
|
5323
5373
|
# when it is sent). `ANSWER`: your accept or decline, owed to the network that asked (inbound). `TXID`: the
|
|
5324
5374
|
# on-chain transaction hash, after you finish the transfer. `CANCEL`: the cancellation, after you cancel it.
|
|
@@ -5334,6 +5384,15 @@ module Didit
|
|
|
5334
5384
|
VALUES = [SEND, ANSWER, TXID, CANCEL, POLL].freeze
|
|
5335
5385
|
end
|
|
5336
5386
|
|
|
5387
|
+
# `email_undeliverable`: the email bounced or the address does not accept mail. `delivery_failed`: any other
|
|
5388
|
+
# failure.
|
|
5389
|
+
module TravelRuleDeliveryLogEntryFailureCode
|
|
5390
|
+
EMAIL_UNDELIVERABLE = "email_undeliverable"
|
|
5391
|
+
DELIVERY_FAILED = "delivery_failed"
|
|
5392
|
+
|
|
5393
|
+
VALUES = [EMAIL_UNDELIVERABLE, DELIVERY_FAILED].freeze
|
|
5394
|
+
end
|
|
5395
|
+
|
|
5337
5396
|
# What the message carries. `SEND`: the transfer's first message to the counterparty (outbound; the rail is chosen
|
|
5338
5397
|
# when it is sent). `ANSWER`: your accept or decline, owed to the network that asked (inbound). `TXID`: the
|
|
5339
5398
|
# on-chain transaction hash, after you finish the transfer. `CANCEL`: the cancellation, after you cancel it.
|
|
@@ -5379,9 +5438,10 @@ module Didit
|
|
|
5379
5438
|
VERIFYVASP = "VERIFYVASP"
|
|
5380
5439
|
SYGNA = "SYGNA"
|
|
5381
5440
|
EMAIL = "EMAIL"
|
|
5441
|
+
TEST_VASP = "TEST_VASP"
|
|
5382
5442
|
VALUE = ""
|
|
5383
5443
|
|
|
5384
|
-
VALUES = [INTERNAL, TRP, GTR, TRUST, VERIFYVASP, SYGNA, EMAIL, VALUE].freeze
|
|
5444
|
+
VALUES = [INTERNAL, TRP, GTR, TRUST, VERIFYVASP, SYGNA, EMAIL, TEST_VASP, VALUE].freeze
|
|
5385
5445
|
end
|
|
5386
5446
|
|
|
5387
5447
|
# `QUEUED`: waiting to be sent. `SENDING`: an attempt is running. `RETRYING`: an attempt failed and the next one
|
|
@@ -5915,6 +5975,17 @@ module Didit
|
|
|
5915
5975
|
VALUES = [INTERNAL, TRP, GTR, TRUST, VERIFYVASP, SYGNA, EMAIL, TEST_VASP].freeze
|
|
5916
5976
|
end
|
|
5917
5977
|
|
|
5978
|
+
# The transaction's own review decision, which can differ from the transfer's `status`: a transfer may wait on its
|
|
5979
|
+
# counterparty while its transaction is approved, or be stuck while its transaction is in review.
|
|
5980
|
+
module TravelRuleTransferRowReviewStatus
|
|
5981
|
+
APPROVED = "APPROVED"
|
|
5982
|
+
IN_REVIEW = "IN_REVIEW"
|
|
5983
|
+
DECLINED = "DECLINED"
|
|
5984
|
+
AWAITING_USER = "AWAITING_USER"
|
|
5985
|
+
|
|
5986
|
+
VALUES = [APPROVED, IN_REVIEW, DECLINED, AWAITING_USER].freeze
|
|
5987
|
+
end
|
|
5988
|
+
|
|
5918
5989
|
# Known values of an open enum: the API may send others.
|
|
5919
5990
|
module TravelRuleTransferRowStatus
|
|
5920
5991
|
AWAITING_COUNTERPARTY = "AWAITING_COUNTERPARTY"
|
|
@@ -5934,6 +6005,25 @@ module Didit
|
|
|
5934
6005
|
VALUES = [AWAITING_COUNTERPARTY, ON_HOLD, COMPLETED, FINISHED, CANCELLED, EXPIRED, COUNTERPARTY_MISMATCHED_DATA, COUNTERPARTY_VASP_NOT_FOUND, COUNTERPARTY_VASP_NOT_REACHABLE, UNCONFIRMED_OWNERSHIP, COUNTERPARTY_VASP_GENERAL_DECLINE, NOT_ENOUGH_COUNTERPARTY_DATA, NOT_APPLICABLE].freeze
|
|
5935
6006
|
end
|
|
5936
6007
|
|
|
6008
|
+
# `book`: the wallet is in your address book (`entry_id`). `didit`: exactly one other Didit participant has proven
|
|
6009
|
+
# ownership of it (`vasp_name`, `proof_state`). `ambiguous`: more than one other participant has proven it, so
|
|
6010
|
+
# nothing about them is returned. `none`: no match.
|
|
6011
|
+
module TravelRuleWalletLookupMatch
|
|
6012
|
+
BOOK = "book"
|
|
6013
|
+
DIDIT = "didit"
|
|
6014
|
+
AMBIGUOUS = "ambiguous"
|
|
6015
|
+
NONE = "none"
|
|
6016
|
+
|
|
6017
|
+
VALUES = [BOOK, DIDIT, AMBIGUOUS, NONE].freeze
|
|
6018
|
+
end
|
|
6019
|
+
|
|
6020
|
+
# Only with `match: didit`.
|
|
6021
|
+
module TravelRuleWalletLookupProofState
|
|
6022
|
+
VERIFIED = "verified"
|
|
6023
|
+
|
|
6024
|
+
VALUES = [VERIFIED].freeze
|
|
6025
|
+
end
|
|
6026
|
+
|
|
5937
6027
|
# Why a wallet-ownership proof, or its last attempt, fell short of VERIFIED. Empty when nothing failed. A PENDING
|
|
5938
6028
|
# proof can carry one: the last attempt failed and the end user can try again. DEPOSIT_MISMATCH, DEPOSIT_STALE,
|
|
5939
6029
|
# TXID_REUSED and REVIEW_REJECTED close the proof as REJECTED. SIGNATURE_INVALID: the signature does not match the
|
|
@@ -5983,6 +6073,25 @@ module Didit
|
|
|
5983
6073
|
VALUES = [PENDING, VERIFIED, REJECTED, EXPIRED].freeze
|
|
5984
6074
|
end
|
|
5985
6075
|
|
|
6076
|
+
# Known values of an open enum: the API may send others.
|
|
6077
|
+
module TravelRuleWalletTransferStatus
|
|
6078
|
+
AWAITING_COUNTERPARTY = "AWAITING_COUNTERPARTY"
|
|
6079
|
+
ON_HOLD = "ON_HOLD"
|
|
6080
|
+
COMPLETED = "COMPLETED"
|
|
6081
|
+
FINISHED = "FINISHED"
|
|
6082
|
+
CANCELLED = "CANCELLED"
|
|
6083
|
+
EXPIRED = "EXPIRED"
|
|
6084
|
+
COUNTERPARTY_MISMATCHED_DATA = "COUNTERPARTY_MISMATCHED_DATA"
|
|
6085
|
+
COUNTERPARTY_VASP_NOT_FOUND = "COUNTERPARTY_VASP_NOT_FOUND"
|
|
6086
|
+
COUNTERPARTY_VASP_NOT_REACHABLE = "COUNTERPARTY_VASP_NOT_REACHABLE"
|
|
6087
|
+
UNCONFIRMED_OWNERSHIP = "UNCONFIRMED_OWNERSHIP"
|
|
6088
|
+
COUNTERPARTY_VASP_GENERAL_DECLINE = "COUNTERPARTY_VASP_GENERAL_DECLINE"
|
|
6089
|
+
NOT_ENOUGH_COUNTERPARTY_DATA = "NOT_ENOUGH_COUNTERPARTY_DATA"
|
|
6090
|
+
NOT_APPLICABLE = "NOT_APPLICABLE"
|
|
6091
|
+
|
|
6092
|
+
VALUES = [AWAITING_COUNTERPARTY, ON_HOLD, COMPLETED, FINISHED, CANCELLED, EXPIRED, COUNTERPARTY_MISMATCHED_DATA, COUNTERPARTY_VASP_NOT_FOUND, COUNTERPARTY_VASP_NOT_REACHABLE, UNCONFIRMED_OWNERSHIP, COUNTERPARTY_VASP_GENERAL_DECLINE, NOT_ENOUGH_COUNTERPARTY_DATA, NOT_APPLICABLE].freeze
|
|
6093
|
+
end
|
|
6094
|
+
|
|
5986
6095
|
# Structured rejection reason. Empty when none was recorded; a new claim or approval clears it. Read review_note
|
|
5987
6096
|
# for the explanation.
|
|
5988
6097
|
module TravelRuleWorkspaceClaimRejectionReason
|
|
@@ -6906,6 +7015,8 @@ module Didit
|
|
|
6906
7015
|
field :formatted_address, "formatted_address", :string
|
|
6907
7016
|
field :latitude, "latitude", :float
|
|
6908
7017
|
field :longitude, "longitude", :float
|
|
7018
|
+
field :address_type, "address_type", :string
|
|
7019
|
+
field :is_residential, "is_residential", :boolean
|
|
6909
7020
|
end
|
|
6910
7021
|
|
|
6911
7022
|
# The normalised address. `null` when `status` is `unavailable`.
|
|
@@ -7212,6 +7323,7 @@ module Didit
|
|
|
7212
7323
|
field :request_id, "request_id", :string
|
|
7213
7324
|
field :result, "result", :string
|
|
7214
7325
|
field :holder_name, "holder_name", :string
|
|
7326
|
+
field :name_match_score, "name_match_score", :integer
|
|
7215
7327
|
field :account, "account", :string
|
|
7216
7328
|
field :vendor_data, "vendor_data", :string
|
|
7217
7329
|
field :created_at, "created_at", :datetime
|
|
@@ -11923,6 +12035,7 @@ module Didit
|
|
|
11923
12035
|
end
|
|
11924
12036
|
|
|
11925
12037
|
class SignatureResultConfirmation < Didit::Model
|
|
12038
|
+
field :sent_by, "sent_by", :string
|
|
11926
12039
|
field :channel, "channel", :string
|
|
11927
12040
|
field :destination, "destination", :string
|
|
11928
12041
|
field :confirmed_at, "confirmed_at", :datetime
|
|
@@ -11996,6 +12109,7 @@ module Didit
|
|
|
11996
12109
|
field :reason, "reason", :string
|
|
11997
12110
|
field :checked_at, "checked_at", :datetime
|
|
11998
12111
|
field :documents, "documents", [:array, "SignatureResultValidationDocuments"]
|
|
12112
|
+
field :profile, "profile", :string
|
|
11999
12113
|
end
|
|
12000
12114
|
|
|
12001
12115
|
class SignatureResultValidationDocuments < Didit::Model
|
|
@@ -12008,6 +12122,9 @@ module Didit
|
|
|
12008
12122
|
field :trusted_list, "trusted_list", "SignatureResultValidationDocumentsTrustedList"
|
|
12009
12123
|
field :certificate, "certificate", "SignatureResultValidationDocumentsCertificate"
|
|
12010
12124
|
field :timestamp, "timestamp", "SignatureResultValidationDocumentsTimestamp"
|
|
12125
|
+
field :qualified, "qualified", :boolean
|
|
12126
|
+
field :profile, "profile", :string
|
|
12127
|
+
field :failed_checks, "failed_checks", [:array, :string]
|
|
12011
12128
|
end
|
|
12012
12129
|
|
|
12013
12130
|
# The certificate the documents were signed with. `null` until signed, and always `null` for a Simple signature.
|
|
@@ -12017,17 +12134,28 @@ module Didit
|
|
|
12017
12134
|
field :serial, "serial", :string
|
|
12018
12135
|
field :valid_from, "valid_from", :datetime
|
|
12019
12136
|
field :valid_until, "valid_until", :datetime
|
|
12137
|
+
field :qualified_statements, "qualified_statements", "SignatureResultValidationDocumentsCertificateQualifiedStatements"
|
|
12020
12138
|
end
|
|
12021
12139
|
|
|
12022
|
-
#
|
|
12023
|
-
|
|
12140
|
+
# QES: which ETSI EN 319 412-5 statements the certificate carries.
|
|
12141
|
+
class SignatureResultValidationDocumentsCertificateQualifiedStatements < Didit::Model
|
|
12142
|
+
field :qc_compliance, "qc_compliance", :boolean
|
|
12143
|
+
field :qc_sscd, "qc_sscd", :boolean
|
|
12144
|
+
field :qc_type_esign, "qc_type_esign", :boolean
|
|
12145
|
+
end
|
|
12146
|
+
|
|
12147
|
+
# The RFC 3161 timestamp in the signature: issued by Didit for AES, by the qualified trust service provider for
|
|
12148
|
+
# QES. `null` until signed, and always `null` for a Simple signature.
|
|
12024
12149
|
class SignatureResultValidationDocumentsTimestamp < Didit::Model
|
|
12025
12150
|
field :time, "time", :datetime
|
|
12026
12151
|
field :qualified, "qualified", :boolean
|
|
12027
12152
|
field :valid, "valid", :boolean
|
|
12028
12153
|
end
|
|
12029
12154
|
|
|
12030
|
-
# EU Trusted List check.
|
|
12155
|
+
# EU Trusted List check. AES: `{"status": "not_applicable", "reason": "aes_not_qualified"}`. QES: `{"status":
|
|
12156
|
+
# "granted"}` when the certificate is a qualified certificate for electronic signatures issued under the qualified
|
|
12157
|
+
# trust service provider's Trusted List entry, else `{"status": "not_granted", ...}`. A sandbox session's
|
|
12158
|
+
# qualified level is sealed by Didit: `{"status": "not_applicable", "reason": "sandbox"}`.
|
|
12031
12159
|
class SignatureResultValidationDocumentsTrustedList < Didit::Model
|
|
12032
12160
|
field :status, "status", :string
|
|
12033
12161
|
field :reason, "reason", :string
|
|
@@ -12713,6 +12841,16 @@ module Didit
|
|
|
12713
12841
|
field :last_error, "last_error", :string
|
|
12714
12842
|
field :next_attempt_at, "next_attempt_at", :datetime
|
|
12715
12843
|
field :delivered_at, "delivered_at", :datetime
|
|
12844
|
+
field :updated_at, "updated_at", :datetime
|
|
12845
|
+
field :failure, "failure", "TravelRuleDeliveryFailure"
|
|
12846
|
+
field :route, "route", :string
|
|
12847
|
+
end
|
|
12848
|
+
|
|
12849
|
+
# Why the last attempt failed, or null while the message has not failed. The message is a fixed customer-safe
|
|
12850
|
+
# sentence: it never carries the counterparty's own text or a transport error.
|
|
12851
|
+
class TravelRuleDeliveryFailure < Didit::Model
|
|
12852
|
+
field :code, "code", :string
|
|
12853
|
+
field :message, "message", :string
|
|
12716
12854
|
end
|
|
12717
12855
|
|
|
12718
12856
|
# One supplier-neutral entry in the delivery history.
|
|
@@ -12724,6 +12862,18 @@ module Didit
|
|
|
12724
12862
|
field :created_at, "created_at", :datetime
|
|
12725
12863
|
field :delivered_at, "delivered_at", :datetime
|
|
12726
12864
|
field :detail_lines, "detail_lines", [:array, :string]
|
|
12865
|
+
field :attempts, "attempts", :integer
|
|
12866
|
+
field :updated_at, "updated_at", :datetime
|
|
12867
|
+
field :next_attempt_at, "next_attempt_at", :datetime
|
|
12868
|
+
field :failure, "failure", "TravelRuleDeliveryLogEntryFailure"
|
|
12869
|
+
field :route, "route", :string
|
|
12870
|
+
end
|
|
12871
|
+
|
|
12872
|
+
# Why the last attempt failed, or null while the message has not failed. The message is a fixed customer-safe
|
|
12873
|
+
# sentence: it never carries the counterparty's own text or a transport error.
|
|
12874
|
+
class TravelRuleDeliveryLogEntryFailure < Didit::Model
|
|
12875
|
+
field :code, "code", :string
|
|
12876
|
+
field :message, "message", :string
|
|
12727
12877
|
end
|
|
12728
12878
|
|
|
12729
12879
|
class TravelRuleDeliveryLogPage < Didit::Model
|
|
@@ -13066,22 +13216,29 @@ module Didit
|
|
|
13066
13216
|
field :reason, "reason", :string
|
|
13067
13217
|
end
|
|
13068
13218
|
|
|
13069
|
-
# One Travel Rule transfer as the transfers list shows it: VASP names, wallets
|
|
13070
|
-
#
|
|
13219
|
+
# One Travel Rule transfer as the transfers list shows it: VASP names, wallets, memos, the transaction's review
|
|
13220
|
+
# decision, your own end user's name (masked exactly as the transaction detail masks it), the counterparty VASP's
|
|
13221
|
+
# jurisdiction, the chain and the fiat amount. It never carries the counterparty's person data.
|
|
13071
13222
|
class TravelRuleTransferRow < Didit::Model
|
|
13072
13223
|
field :id, "id", :string
|
|
13073
13224
|
field :transaction_id, "transaction_id", :string
|
|
13074
13225
|
field :txn_id, "txn_id", :string
|
|
13075
13226
|
field :txn_date, "txn_date", :datetime
|
|
13227
|
+
field :review_status, "review_status", :string
|
|
13228
|
+
field :person_name, "person_name", :string
|
|
13076
13229
|
field :kind, "kind", :string
|
|
13077
13230
|
field :direction, "direction", :string
|
|
13078
13231
|
field :status, "status", :string
|
|
13079
13232
|
field :reason, "reason", :string
|
|
13080
13233
|
field :rail, "rail", :string
|
|
13081
13234
|
field :asset, "asset", :string
|
|
13235
|
+
field :chain, "chain", :string
|
|
13082
13236
|
field :amount, "amount", :string
|
|
13237
|
+
field :fiat_amount, "fiat_amount", :string
|
|
13238
|
+
field :fiat_currency, "fiat_currency", :string
|
|
13083
13239
|
field :originator_vasp, "originator_vasp", :string
|
|
13084
13240
|
field :beneficiary_vasp, "beneficiary_vasp", :string
|
|
13241
|
+
field :counterparty_jurisdiction, "counterparty_jurisdiction", :string
|
|
13085
13242
|
field :originator_wallet, "originator_wallet", :string
|
|
13086
13243
|
field :beneficiary_wallet, "beneficiary_wallet", :string
|
|
13087
13244
|
field :originator_memo, "originator_memo", :string
|
|
@@ -13119,6 +13276,14 @@ module Didit
|
|
|
13119
13276
|
field :vout, "vout", :integer
|
|
13120
13277
|
end
|
|
13121
13278
|
|
|
13279
|
+
class TravelRuleWalletLookup < Didit::Model
|
|
13280
|
+
field :match, "match", :string
|
|
13281
|
+
field :directory_checked, "directory_checked", :boolean
|
|
13282
|
+
field :entry_id, "entry_id", :string
|
|
13283
|
+
field :vasp_name, "vasp_name", :string
|
|
13284
|
+
field :proof_state, "proof_state", :string
|
|
13285
|
+
end
|
|
13286
|
+
|
|
13122
13287
|
class TravelRuleWalletProofReview < Didit::Model
|
|
13123
13288
|
field :proof_id, "proof_id", :string
|
|
13124
13289
|
field :method_, "method", :string
|
|
@@ -13140,6 +13305,12 @@ module Didit
|
|
|
13140
13305
|
field :created_at, "created_at", :datetime
|
|
13141
13306
|
end
|
|
13142
13307
|
|
|
13308
|
+
class TravelRuleWalletTransfer < Didit::Model
|
|
13309
|
+
field :transfer_id, "transfer_id", :string
|
|
13310
|
+
field :status, "status", :string
|
|
13311
|
+
field :created_at, "created_at", :datetime
|
|
13312
|
+
end
|
|
13313
|
+
|
|
13143
13314
|
class TravelRuleWidgetSessionResponse < Didit::Model
|
|
13144
13315
|
field :widget_session_id, "widget_session_id", :string
|
|
13145
13316
|
field :token, "token", :string
|
data/lib/didit/types/sessions.rb
CHANGED
|
@@ -317,9 +317,9 @@ module Didit
|
|
|
317
317
|
VALUES = [EN, AR, BG, BN, BS, CA, CNR, CS, DA, DE, EL, ES, ET, FA, FI, FR, HE, HI, HR, HU, HY, ID, IT, JA, KA, KK, KO, KY, LT, LV, MK, MN, MS, NL, NO, PL, PT_BR, PT, RO, RU, SK, SL, SO, SQ, SR, SV, TH, TR, UK, UZ, VI, ZH_CN, ZH_TW, ZH].freeze
|
|
318
318
|
end
|
|
319
319
|
|
|
320
|
-
# Current status of the session. Newly created sessions return `Not Started`.
|
|
321
|
-
# existed for the same `vendor_data` on the workflow's latest published version,
|
|
322
|
-
# existing session.
|
|
320
|
+
# Current status of the session. Newly created sessions return `Not Started`. For a User Verification workflow, if
|
|
321
|
+
# a non-finished session already existed for the same `vendor_data` on the workflow's latest published version,
|
|
322
|
+
# the returned status reflects that existing session.
|
|
323
323
|
module SessionsCreateResponseStatus
|
|
324
324
|
NOT_STARTED = "Not Started"
|
|
325
325
|
IN_PROGRESS = "In Progress"
|
|
@@ -1368,6 +1368,7 @@ module Didit
|
|
|
1368
1368
|
field :vendor_data, "vendor_data", :string
|
|
1369
1369
|
field :metadata, "metadata", :any
|
|
1370
1370
|
field :tags, "tags", [:array, :string]
|
|
1371
|
+
field :expires_at, "expires_at", :datetime
|
|
1371
1372
|
field :status, "status", :string
|
|
1372
1373
|
field :callback, "callback", :string
|
|
1373
1374
|
field :workflow_id, "workflow_id", :string
|
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
module Didit
|
|
5
5
|
module Types
|
|
6
|
+
# Only with `wallet_entry_id`. `ensure` and `resend` return the entry's active link when it has one (`200`) and
|
|
7
|
+
# create one otherwise (`201`). `new` revokes the active link and creates another; it needs `request_key`.
|
|
8
|
+
module TravelRuleCreateWidgetSessionParamsRequestAction
|
|
9
|
+
ENSURE = "ensure"
|
|
10
|
+
RESEND = "resend"
|
|
11
|
+
NEW = "new"
|
|
12
|
+
|
|
13
|
+
VALUES = [ENSURE, RESEND, NEW].freeze
|
|
14
|
+
end
|
|
15
|
+
|
|
6
16
|
# Known values of an open enum: the API may send others.
|
|
7
17
|
module TravelRuleListVaspsParamsKind
|
|
8
18
|
DIRECTORY = "directory"
|
|
@@ -165,6 +175,13 @@ module Didit
|
|
|
165
175
|
field :results, "results", [:array, "WalletAddressEntry"]
|
|
166
176
|
end
|
|
167
177
|
|
|
178
|
+
class TravelRuleWalletAddressesListTransfersResponse < Didit::Model
|
|
179
|
+
field :count, "count", :integer
|
|
180
|
+
field :next, "next", :string
|
|
181
|
+
field :previous, "previous", :string
|
|
182
|
+
field :results, "results", [:array, "TravelRuleWalletTransfer"]
|
|
183
|
+
end
|
|
184
|
+
|
|
168
185
|
class TravelRuleWalletProofsListResponse < Didit::Model
|
|
169
186
|
field :count, "count", :integer
|
|
170
187
|
field :next, "next", :string
|
data/lib/didit/types.rb
CHANGED
|
@@ -55,6 +55,7 @@ module Didit
|
|
|
55
55
|
autoload :AddressValidationResponse, "didit/types/components"
|
|
56
56
|
autoload :AddressValidationResult, "didit/types/components"
|
|
57
57
|
autoload :AddressValidationResultAddress, "didit/types/components"
|
|
58
|
+
autoload :AddressValidationResultAddressType, "didit/types/components"
|
|
58
59
|
autoload :AddressValidationResultStatus, "didit/types/components"
|
|
59
60
|
autoload :AddressValidationResultVerificationLevel, "didit/types/components"
|
|
60
61
|
autoload :AgeEstimationEstimateResponse, "didit/types/age_estimation"
|
|
@@ -1428,6 +1429,7 @@ module Didit
|
|
|
1428
1429
|
autoload :SignatureResultCertificate, "didit/types/components"
|
|
1429
1430
|
autoload :SignatureResultConfirmation, "didit/types/components"
|
|
1430
1431
|
autoload :SignatureResultConfirmationChannel, "didit/types/components"
|
|
1432
|
+
autoload :SignatureResultConfirmationSentBy, "didit/types/components"
|
|
1431
1433
|
autoload :SignatureResultDeclinedAction, "didit/types/components"
|
|
1432
1434
|
autoload :SignatureResultDocuments, "didit/types/components"
|
|
1433
1435
|
autoload :SignatureResultDocumentsConversion, "didit/types/components"
|
|
@@ -1446,6 +1448,8 @@ module Didit
|
|
|
1446
1448
|
autoload :SignatureResultValidation, "didit/types/components"
|
|
1447
1449
|
autoload :SignatureResultValidationDocuments, "didit/types/components"
|
|
1448
1450
|
autoload :SignatureResultValidationDocumentsCertificate, "didit/types/components"
|
|
1451
|
+
autoload :SignatureResultValidationDocumentsCertificateQualifiedStatements, "didit/types/components"
|
|
1452
|
+
autoload :SignatureResultValidationDocumentsFailedChecks, "didit/types/components"
|
|
1449
1453
|
autoload :SignatureResultValidationDocumentsTimestamp, "didit/types/components"
|
|
1450
1454
|
autoload :SignatureResultValidationDocumentsTrustedList, "didit/types/components"
|
|
1451
1455
|
autoload :SignatureResultVerdict, "didit/types/components"
|
|
@@ -1597,6 +1601,7 @@ module Didit
|
|
|
1597
1601
|
autoload :TravelRuleCounterpartyScreeningResultOutcome, "didit/types/components"
|
|
1598
1602
|
autoload :TravelRuleCounterpartyScreeningStatus, "didit/types/components"
|
|
1599
1603
|
autoload :TravelRuleCounterpartyScreeningStatusValues, "didit/types/components"
|
|
1604
|
+
autoload :TravelRuleCreateWidgetSessionParamsRequestAction, "didit/types/travel_rule"
|
|
1600
1605
|
autoload :TravelRuleDataMatch, "didit/types/components"
|
|
1601
1606
|
autoload :TravelRuleDataMatchFieldsValue, "didit/types/components"
|
|
1602
1607
|
autoload :TravelRuleDataMatchFieldsValueResult, "didit/types/components"
|
|
@@ -1608,8 +1613,12 @@ module Didit
|
|
|
1608
1613
|
autoload :TravelRuleDataUnmasked, "didit/types/components"
|
|
1609
1614
|
autoload :TravelRuleDataUnmaskedReason, "didit/types/components"
|
|
1610
1615
|
autoload :TravelRuleDelivery, "didit/types/components"
|
|
1616
|
+
autoload :TravelRuleDeliveryFailure, "didit/types/components"
|
|
1617
|
+
autoload :TravelRuleDeliveryFailureCode, "didit/types/components"
|
|
1611
1618
|
autoload :TravelRuleDeliveryKind, "didit/types/components"
|
|
1612
1619
|
autoload :TravelRuleDeliveryLogEntry, "didit/types/components"
|
|
1620
|
+
autoload :TravelRuleDeliveryLogEntryFailure, "didit/types/components"
|
|
1621
|
+
autoload :TravelRuleDeliveryLogEntryFailureCode, "didit/types/components"
|
|
1613
1622
|
autoload :TravelRuleDeliveryLogEntryKind, "didit/types/components"
|
|
1614
1623
|
autoload :TravelRuleDeliveryLogEntryRail, "didit/types/components"
|
|
1615
1624
|
autoload :TravelRuleDeliveryLogEntryStatus, "didit/types/components"
|
|
@@ -1695,6 +1704,7 @@ module Didit
|
|
|
1695
1704
|
autoload :TravelRuleTransferRowKind, "didit/types/components"
|
|
1696
1705
|
autoload :TravelRuleTransferRowOriginatorWalletType, "didit/types/components"
|
|
1697
1706
|
autoload :TravelRuleTransferRowRail, "didit/types/components"
|
|
1707
|
+
autoload :TravelRuleTransferRowReviewStatus, "didit/types/components"
|
|
1698
1708
|
autoload :TravelRuleTransferRowStatus, "didit/types/components"
|
|
1699
1709
|
autoload :TravelRuleTransfersListResponse, "didit/types/travel_rule"
|
|
1700
1710
|
autoload :TravelRuleUnmatchedDepositsListResponse, "didit/types/travel_rule"
|
|
@@ -1709,6 +1719,10 @@ module Didit
|
|
|
1709
1719
|
autoload :TravelRuleUserLinkResponse, "didit/types/components"
|
|
1710
1720
|
autoload :TravelRuleUtxoEntry, "didit/types/components"
|
|
1711
1721
|
autoload :TravelRuleWalletAddressesListResponse, "didit/types/travel_rule"
|
|
1722
|
+
autoload :TravelRuleWalletAddressesListTransfersResponse, "didit/types/travel_rule"
|
|
1723
|
+
autoload :TravelRuleWalletLookup, "didit/types/components"
|
|
1724
|
+
autoload :TravelRuleWalletLookupMatch, "didit/types/components"
|
|
1725
|
+
autoload :TravelRuleWalletLookupProofState, "didit/types/components"
|
|
1712
1726
|
autoload :TravelRuleWalletProofFailureReason, "didit/types/components"
|
|
1713
1727
|
autoload :TravelRuleWalletProofReview, "didit/types/components"
|
|
1714
1728
|
autoload :TravelRuleWalletProofReviewMethod, "didit/types/components"
|
|
@@ -1716,6 +1730,8 @@ module Didit
|
|
|
1716
1730
|
autoload :TravelRuleWalletProofsDecideParamsDecision, "didit/types/travel_rule"
|
|
1717
1731
|
autoload :TravelRuleWalletProofsListParamsStatus, "didit/types/travel_rule"
|
|
1718
1732
|
autoload :TravelRuleWalletProofsListResponse, "didit/types/travel_rule"
|
|
1733
|
+
autoload :TravelRuleWalletTransfer, "didit/types/components"
|
|
1734
|
+
autoload :TravelRuleWalletTransferStatus, "didit/types/components"
|
|
1719
1735
|
autoload :TravelRuleWidgetSessionResponse, "didit/types/components"
|
|
1720
1736
|
autoload :TravelRuleWorkspace, "didit/types/components"
|
|
1721
1737
|
autoload :TravelRuleWorkspaceClaim, "didit/types/components"
|
data/lib/didit/version.rb
CHANGED
|
@@ -11,7 +11,7 @@ module Didit
|
|
|
11
11
|
def batch_delete: (?session_numbers: Array[String], ?delete_all: bool, ?retain_face_embeddings: bool?, ?face_retention_days: Integer, ?face_retention_deadline: Time | String, ?deletion_instruction: String, ?instruction_id: String, ?filter_status: (String | Array[String]), ?filter_vendor_data: String, ?filter_search: String, ?filter_workflow_id: (String | Array[String]), ?filter_date_from: Date | String, ?filter_date_to: Date | String, ?filter_country: (String | Array[String]), ?filter_document_type: (String | Array[String]), ?filter_document_name: (String | Array[String]), ?filter_region: (String | Array[String]), ?filter_didit_internal_id: String, ?filter_session_type: (String | Array[String]), ?filter_api_service: String, ?filter_screened_full_name: String, ?filter_warning: (String | Array[String]), ?filter_status_initialized_as_in_review: bool, ?filter_is_kyc_to_be_reviewed: bool, ?filter_euuid: String, ?filter_organization_name: (String | Array[String]), ?request_options: Didit::request_options?) -> (Didit::Types::SessionsBatchDeleteResponse | Didit::Types::SessionDeletionJob)
|
|
12
12
|
def bulk_update_aml_hit_status: (String session_id, hit_updates: Array[Didit::Types::sessions_bulk_update_aml_hit_status_params_hit_updates], ?node_id: String, ?node_id_query: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsBulkUpdateAmlHitStatusResponse
|
|
13
13
|
def cancel_feature_override: (String session_id, String override_id, ?request_options: Didit::request_options?) -> Didit::Types::FeatureStatusOverride
|
|
14
|
-
def create: (workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateResponse
|
|
14
|
+
def create: (workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?session_expiration_time: Integer, ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateResponse
|
|
15
15
|
def create_kyb_party_draft: (String session_id, entity_type: String, nationality: String, ?full_name: String, ?first_name: String, ?last_name: String, ?role: String, ?roles: Array[String], ?position: String, ?date_of_birth: (Date | String)?, ?company_name: String, ?registration_number: String, ?email: String, ?ownership_percent: (Float | Integer)?, ?phone_number: String, ?custom_fields: Hash[String | Symbol, untyped], ?skip_verification: bool, ?node_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsCreateKybPartyDraftResponse
|
|
16
16
|
def delete: (String session_id, ?retain_face_embeddings: bool?, ?face_retention_days: Integer, ?face_retention_deadline: Time | String, ?deletion_instruction: String, ?instruction_id: String, ?request_options: Didit::request_options?) -> Didit::Types::SessionsDeleteResponse
|
|
17
17
|
def delete_kyb_party_draft: (String session_id, String draft_id, ?node_id: String, ?request_options: Didit::request_options?) -> nil
|
|
@@ -12,7 +12,7 @@ module Didit
|
|
|
12
12
|
def workspace: () -> Didit::Resources::TravelRule::Workspace
|
|
13
13
|
def clear_vasp_decision: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyDecisionResponse
|
|
14
14
|
def create_vasp: (name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool, ?request_options: Didit::request_options?) -> Didit::Types::VaspDirectoryEntry
|
|
15
|
-
def create_widget_session: (?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWidgetSessionResponse
|
|
15
|
+
def create_widget_session: (?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer, ?wallet_entry_id: String, ?request_action: String, ?request_key: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWidgetSessionResponse
|
|
16
16
|
def list_vasp_questionnaires: (String vasp_id, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleCounterpartyQuestionnaireList
|
|
17
17
|
def list_vasps: (?search: String, ?network: String, ?jurisdiction: String, ?reachable: bool, ?kind: String, ?risk: String, ?responsiveness: String, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::VaspDirectoryEntry]
|
|
18
18
|
def register_inbound: (chain: String, txid: String, wallet_address: String, amount: String, currency: String, ?originator_data: Hash[String | Symbol, untyped], ?beneficiary_data: Hash[String | Symbol, untyped], ?originating_vasp: Didit::Types::travel_rule_register_inbound_params_originating_vasp, ?memo: String, ?utxo: Didit::Types::travel_rule_utxo, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleInboundResponse
|
|
@@ -49,6 +49,8 @@ module Didit
|
|
|
49
49
|
def create: (address: String, ?chain: String, ?holder_vendor_data: String, ?holder_name: String, ?entity_type: String, ?self_declared: bool, ?travel_address: String, ?memo: String, ?request_options: Didit::request_options?) -> Didit::Types::WalletAddressEntry
|
|
50
50
|
def delete: (String entry_uuid, ?request_options: Didit::request_options?) -> nil
|
|
51
51
|
def list: (?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::WalletAddressEntry]
|
|
52
|
+
def list_transfers: (String entry_uuid, ?limit: Integer, ?offset: Integer, ?request_options: Didit::request_options?) -> Didit::Page[Didit::Types::TravelRuleWalletTransfer]
|
|
53
|
+
def lookup: (address: String, chain: String, ?memo: String, ?request_options: Didit::request_options?) -> Didit::Types::TravelRuleWalletLookup
|
|
52
54
|
def update: (String entry_uuid, ?holder_name: String, ?holder_vendor_data: String, ?entity_type: String, ?travel_address: String, ?request_options: Didit::request_options?) -> Didit::Types::WalletAddressEntryUpdate
|
|
53
55
|
end
|
|
54
56
|
class WalletProofs < Didit::Resource
|
|
@@ -170,6 +170,18 @@ module Didit
|
|
|
170
170
|
VALUES: Array[String]
|
|
171
171
|
end
|
|
172
172
|
|
|
173
|
+
module AddressValidationResultAddressType
|
|
174
|
+
STREET: String
|
|
175
|
+
PO_BOX: String
|
|
176
|
+
HIGH_RISE: String
|
|
177
|
+
RURAL_ROUTE: String
|
|
178
|
+
GENERAL_DELIVERY: String
|
|
179
|
+
FIRM: String
|
|
180
|
+
BUILDING: String
|
|
181
|
+
|
|
182
|
+
VALUES: Array[String]
|
|
183
|
+
end
|
|
184
|
+
|
|
173
185
|
module AddressValidationResultStatus
|
|
174
186
|
VERIFIED: String
|
|
175
187
|
PARTIALLY_VERIFIED: String
|
|
@@ -3705,6 +3717,13 @@ module Didit
|
|
|
3705
3717
|
VALUES: Array[String]
|
|
3706
3718
|
end
|
|
3707
3719
|
|
|
3720
|
+
module SignatureResultConfirmationSentBy
|
|
3721
|
+
DIDIT: String
|
|
3722
|
+
QUALIFIED_PROVIDER: String
|
|
3723
|
+
|
|
3724
|
+
VALUES: Array[String]
|
|
3725
|
+
end
|
|
3726
|
+
|
|
3708
3727
|
module SignatureResultDeclinedAction
|
|
3709
3728
|
DECLINE: String
|
|
3710
3729
|
REVIEW: String
|
|
@@ -3781,6 +3800,19 @@ module Didit
|
|
|
3781
3800
|
VALUES: Array[String]
|
|
3782
3801
|
end
|
|
3783
3802
|
|
|
3803
|
+
module SignatureResultValidationDocumentsFailedChecks
|
|
3804
|
+
INTEGRITY: String
|
|
3805
|
+
TRUSTED: String
|
|
3806
|
+
NOT_REVOKED: String
|
|
3807
|
+
COVERAGE: String
|
|
3808
|
+
TIMESTAMP: String
|
|
3809
|
+
QUALIFIED_CERTIFICATE: String
|
|
3810
|
+
SIGNER_NAMED: String
|
|
3811
|
+
ORIGINAL_KEPT: String
|
|
3812
|
+
|
|
3813
|
+
VALUES: Array[String]
|
|
3814
|
+
end
|
|
3815
|
+
|
|
3784
3816
|
module SignatureResultVerdict
|
|
3785
3817
|
NOT_FINISHED: String
|
|
3786
3818
|
APPROVED: String
|
|
@@ -4462,6 +4494,13 @@ module Didit
|
|
|
4462
4494
|
VALUES: Array[String]
|
|
4463
4495
|
end
|
|
4464
4496
|
|
|
4497
|
+
module TravelRuleDeliveryFailureCode
|
|
4498
|
+
EMAIL_UNDELIVERABLE: String
|
|
4499
|
+
DELIVERY_FAILED: String
|
|
4500
|
+
|
|
4501
|
+
VALUES: Array[String]
|
|
4502
|
+
end
|
|
4503
|
+
|
|
4465
4504
|
module TravelRuleDeliveryKind
|
|
4466
4505
|
SEND: String
|
|
4467
4506
|
ANSWER: String
|
|
@@ -4472,6 +4511,13 @@ module Didit
|
|
|
4472
4511
|
VALUES: Array[String]
|
|
4473
4512
|
end
|
|
4474
4513
|
|
|
4514
|
+
module TravelRuleDeliveryLogEntryFailureCode
|
|
4515
|
+
EMAIL_UNDELIVERABLE: String
|
|
4516
|
+
DELIVERY_FAILED: String
|
|
4517
|
+
|
|
4518
|
+
VALUES: Array[String]
|
|
4519
|
+
end
|
|
4520
|
+
|
|
4475
4521
|
module TravelRuleDeliveryLogEntryKind
|
|
4476
4522
|
SEND: String
|
|
4477
4523
|
ANSWER: String
|
|
@@ -4509,6 +4555,7 @@ module Didit
|
|
|
4509
4555
|
VERIFYVASP: String
|
|
4510
4556
|
SYGNA: String
|
|
4511
4557
|
EMAIL: String
|
|
4558
|
+
TEST_VASP: String
|
|
4512
4559
|
VALUE: String
|
|
4513
4560
|
|
|
4514
4561
|
VALUES: Array[String]
|
|
@@ -4951,6 +4998,15 @@ module Didit
|
|
|
4951
4998
|
VALUES: Array[String]
|
|
4952
4999
|
end
|
|
4953
5000
|
|
|
5001
|
+
module TravelRuleTransferRowReviewStatus
|
|
5002
|
+
APPROVED: String
|
|
5003
|
+
IN_REVIEW: String
|
|
5004
|
+
DECLINED: String
|
|
5005
|
+
AWAITING_USER: String
|
|
5006
|
+
|
|
5007
|
+
VALUES: Array[String]
|
|
5008
|
+
end
|
|
5009
|
+
|
|
4954
5010
|
module TravelRuleTransferRowStatus
|
|
4955
5011
|
AWAITING_COUNTERPARTY: String
|
|
4956
5012
|
ON_HOLD: String
|
|
@@ -4969,6 +5025,21 @@ module Didit
|
|
|
4969
5025
|
VALUES: Array[String]
|
|
4970
5026
|
end
|
|
4971
5027
|
|
|
5028
|
+
module TravelRuleWalletLookupMatch
|
|
5029
|
+
BOOK: String
|
|
5030
|
+
DIDIT: String
|
|
5031
|
+
AMBIGUOUS: String
|
|
5032
|
+
NONE: String
|
|
5033
|
+
|
|
5034
|
+
VALUES: Array[String]
|
|
5035
|
+
end
|
|
5036
|
+
|
|
5037
|
+
module TravelRuleWalletLookupProofState
|
|
5038
|
+
VERIFIED: String
|
|
5039
|
+
|
|
5040
|
+
VALUES: Array[String]
|
|
5041
|
+
end
|
|
5042
|
+
|
|
4972
5043
|
module TravelRuleWalletProofFailureReason
|
|
4973
5044
|
VALUE: String
|
|
4974
5045
|
SIGNATURE_INVALID: String
|
|
@@ -5004,6 +5075,24 @@ module Didit
|
|
|
5004
5075
|
VALUES: Array[String]
|
|
5005
5076
|
end
|
|
5006
5077
|
|
|
5078
|
+
module TravelRuleWalletTransferStatus
|
|
5079
|
+
AWAITING_COUNTERPARTY: String
|
|
5080
|
+
ON_HOLD: String
|
|
5081
|
+
COMPLETED: String
|
|
5082
|
+
FINISHED: String
|
|
5083
|
+
CANCELLED: String
|
|
5084
|
+
EXPIRED: String
|
|
5085
|
+
COUNTERPARTY_MISMATCHED_DATA: String
|
|
5086
|
+
COUNTERPARTY_VASP_NOT_FOUND: String
|
|
5087
|
+
COUNTERPARTY_VASP_NOT_REACHABLE: String
|
|
5088
|
+
UNCONFIRMED_OWNERSHIP: String
|
|
5089
|
+
COUNTERPARTY_VASP_GENERAL_DECLINE: String
|
|
5090
|
+
NOT_ENOUGH_COUNTERPARTY_DATA: String
|
|
5091
|
+
NOT_APPLICABLE: String
|
|
5092
|
+
|
|
5093
|
+
VALUES: Array[String]
|
|
5094
|
+
end
|
|
5095
|
+
|
|
5007
5096
|
module TravelRuleWorkspaceClaimRejectionReason
|
|
5008
5097
|
VALUE: String
|
|
5009
5098
|
DOMAIN_MISMATCH: String
|
|
@@ -5827,6 +5916,8 @@ module Didit
|
|
|
5827
5916
|
def formatted_address: () -> String?
|
|
5828
5917
|
def latitude: () -> Float?
|
|
5829
5918
|
def longitude: () -> Float?
|
|
5919
|
+
def address_type: () -> String?
|
|
5920
|
+
def is_residential: () -> bool?
|
|
5830
5921
|
end
|
|
5831
5922
|
|
|
5832
5923
|
class AddressValidationResultAddress < Didit::Model
|
|
@@ -6111,6 +6202,7 @@ module Didit
|
|
|
6111
6202
|
def request_id: () -> String
|
|
6112
6203
|
def result: () -> String
|
|
6113
6204
|
def holder_name: () -> String?
|
|
6205
|
+
def name_match_score: () -> Integer?
|
|
6114
6206
|
def account: () -> String
|
|
6115
6207
|
def vendor_data: () -> String?
|
|
6116
6208
|
def created_at: () -> Time
|
|
@@ -10512,6 +10604,7 @@ module Didit
|
|
|
10512
10604
|
end
|
|
10513
10605
|
|
|
10514
10606
|
class SignatureResultConfirmation < Didit::Model
|
|
10607
|
+
def sent_by: () -> String?
|
|
10515
10608
|
def channel: () -> String?
|
|
10516
10609
|
def destination: () -> String?
|
|
10517
10610
|
def confirmed_at: () -> Time?
|
|
@@ -10578,6 +10671,7 @@ module Didit
|
|
|
10578
10671
|
def reason: () -> String?
|
|
10579
10672
|
def checked_at: () -> Time?
|
|
10580
10673
|
def documents: () -> Array[Didit::Types::SignatureResultValidationDocuments]?
|
|
10674
|
+
def profile: () -> String?
|
|
10581
10675
|
end
|
|
10582
10676
|
|
|
10583
10677
|
class SignatureResultValidationDocuments < Didit::Model
|
|
@@ -10590,6 +10684,9 @@ module Didit
|
|
|
10590
10684
|
def trusted_list: () -> Didit::Types::SignatureResultValidationDocumentsTrustedList?
|
|
10591
10685
|
def certificate: () -> Didit::Types::SignatureResultValidationDocumentsCertificate?
|
|
10592
10686
|
def timestamp: () -> Didit::Types::SignatureResultValidationDocumentsTimestamp?
|
|
10687
|
+
def qualified: () -> bool?
|
|
10688
|
+
def profile: () -> String?
|
|
10689
|
+
def failed_checks: () -> Array[String]?
|
|
10593
10690
|
end
|
|
10594
10691
|
|
|
10595
10692
|
class SignatureResultValidationDocumentsCertificate < Didit::Model
|
|
@@ -10598,6 +10695,13 @@ module Didit
|
|
|
10598
10695
|
def serial: () -> String?
|
|
10599
10696
|
def valid_from: () -> Time?
|
|
10600
10697
|
def valid_until: () -> Time?
|
|
10698
|
+
def qualified_statements: () -> Didit::Types::SignatureResultValidationDocumentsCertificateQualifiedStatements?
|
|
10699
|
+
end
|
|
10700
|
+
|
|
10701
|
+
class SignatureResultValidationDocumentsCertificateQualifiedStatements < Didit::Model
|
|
10702
|
+
def qc_compliance: () -> bool?
|
|
10703
|
+
def qc_sscd: () -> bool?
|
|
10704
|
+
def qc_type_esign: () -> bool?
|
|
10601
10705
|
end
|
|
10602
10706
|
|
|
10603
10707
|
class SignatureResultValidationDocumentsTimestamp < Didit::Model
|
|
@@ -11221,6 +11325,14 @@ module Didit
|
|
|
11221
11325
|
def last_error: () -> String
|
|
11222
11326
|
def next_attempt_at: () -> Time?
|
|
11223
11327
|
def delivered_at: () -> Time?
|
|
11328
|
+
def updated_at: () -> Time
|
|
11329
|
+
def failure: () -> Didit::Types::TravelRuleDeliveryFailure?
|
|
11330
|
+
def route: () -> String?
|
|
11331
|
+
end
|
|
11332
|
+
|
|
11333
|
+
class TravelRuleDeliveryFailure < Didit::Model
|
|
11334
|
+
def code: () -> String
|
|
11335
|
+
def message: () -> String
|
|
11224
11336
|
end
|
|
11225
11337
|
|
|
11226
11338
|
class TravelRuleDeliveryLogEntry < Didit::Model
|
|
@@ -11231,6 +11343,16 @@ module Didit
|
|
|
11231
11343
|
def created_at: () -> Time
|
|
11232
11344
|
def delivered_at: () -> Time?
|
|
11233
11345
|
def detail_lines: () -> Array[String]
|
|
11346
|
+
def attempts: () -> Integer
|
|
11347
|
+
def updated_at: () -> Time
|
|
11348
|
+
def next_attempt_at: () -> Time?
|
|
11349
|
+
def failure: () -> Didit::Types::TravelRuleDeliveryLogEntryFailure?
|
|
11350
|
+
def route: () -> String?
|
|
11351
|
+
end
|
|
11352
|
+
|
|
11353
|
+
class TravelRuleDeliveryLogEntryFailure < Didit::Model
|
|
11354
|
+
def code: () -> String
|
|
11355
|
+
def message: () -> String
|
|
11234
11356
|
end
|
|
11235
11357
|
|
|
11236
11358
|
class TravelRuleDeliveryLogPage < Didit::Model
|
|
@@ -11543,15 +11665,21 @@ module Didit
|
|
|
11543
11665
|
def transaction_id: () -> String?
|
|
11544
11666
|
def txn_id: () -> String?
|
|
11545
11667
|
def txn_date: () -> Time?
|
|
11668
|
+
def review_status: () -> String?
|
|
11669
|
+
def person_name: () -> String?
|
|
11546
11670
|
def kind: () -> String?
|
|
11547
11671
|
def direction: () -> String?
|
|
11548
11672
|
def status: () -> String?
|
|
11549
11673
|
def reason: () -> String?
|
|
11550
11674
|
def rail: () -> String?
|
|
11551
11675
|
def asset: () -> String?
|
|
11676
|
+
def chain: () -> String?
|
|
11552
11677
|
def amount: () -> String?
|
|
11678
|
+
def fiat_amount: () -> String?
|
|
11679
|
+
def fiat_currency: () -> String?
|
|
11553
11680
|
def originator_vasp: () -> String?
|
|
11554
11681
|
def beneficiary_vasp: () -> String?
|
|
11682
|
+
def counterparty_jurisdiction: () -> String?
|
|
11555
11683
|
def originator_wallet: () -> String?
|
|
11556
11684
|
def beneficiary_wallet: () -> String?
|
|
11557
11685
|
def originator_memo: () -> String?
|
|
@@ -11588,6 +11716,14 @@ module Didit
|
|
|
11588
11716
|
def vout: () -> Integer?
|
|
11589
11717
|
end
|
|
11590
11718
|
|
|
11719
|
+
class TravelRuleWalletLookup < Didit::Model
|
|
11720
|
+
def match: () -> String
|
|
11721
|
+
def directory_checked: () -> bool
|
|
11722
|
+
def entry_id: () -> String?
|
|
11723
|
+
def vasp_name: () -> String?
|
|
11724
|
+
def proof_state: () -> String?
|
|
11725
|
+
end
|
|
11726
|
+
|
|
11591
11727
|
class TravelRuleWalletProofReview < Didit::Model
|
|
11592
11728
|
def proof_id: () -> String?
|
|
11593
11729
|
def method_: () -> String?
|
|
@@ -11609,6 +11745,12 @@ module Didit
|
|
|
11609
11745
|
def created_at: () -> Time?
|
|
11610
11746
|
end
|
|
11611
11747
|
|
|
11748
|
+
class TravelRuleWalletTransfer < Didit::Model
|
|
11749
|
+
def transfer_id: () -> String
|
|
11750
|
+
def status: () -> String
|
|
11751
|
+
def created_at: () -> Time
|
|
11752
|
+
end
|
|
11753
|
+
|
|
11612
11754
|
class TravelRuleWidgetSessionResponse < Didit::Model
|
|
11613
11755
|
def widget_session_id: () -> String?
|
|
11614
11756
|
def token: () -> String?
|
|
@@ -1209,6 +1209,7 @@ module Didit
|
|
|
1209
1209
|
def vendor_data: () -> String?
|
|
1210
1210
|
def metadata: () -> untyped
|
|
1211
1211
|
def tags: () -> Array[String]?
|
|
1212
|
+
def expires_at: () -> Time?
|
|
1212
1213
|
def status: () -> String
|
|
1213
1214
|
def callback: () -> String?
|
|
1214
1215
|
def workflow_id: () -> String
|
|
@@ -1736,7 +1737,7 @@ module Didit
|
|
|
1736
1737
|
|
|
1737
1738
|
type sessions_create_kyb_party_draft_params = { entity_type: String, ?full_name: String, ?first_name: String, ?last_name: String, ?role: String, ?roles: Array[String], ?position: String, ?date_of_birth: (Date | String)?, ?company_name: String, ?registration_number: String, ?email: String, ?ownership_percent: (Float | Integer)?, nationality: String, ?phone_number: String, ?custom_fields: Hash[String | Symbol, untyped], ?skip_verification: bool }
|
|
1738
1739
|
|
|
1739
|
-
type sessions_create_params = { workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent }
|
|
1740
|
+
type sessions_create_params = { workflow_id: String, ?vendor_data: String, ?multi_account_segment: String, ?callback: String, ?callback_method: String, ?metadata: untyped, ?tags: Array[String], ?session_expiration_time: Integer, ?language: String, ?contact_details: Didit::Types::sessions_create_params_contact_details, ?expected_details: Didit::Types::sessions_create_params_expected_details, ?portrait_image: String, ?sandbox_scenario: String, ?sign: Didit::Types::sessions_create_params_sign, ?user_state: String, ?biometric_consent: Didit::Types::sessions_create_params_biometric_consent }
|
|
1740
1741
|
|
|
1741
1742
|
type sessions_create_params_biometric_consent = { given_at: Time | String, text_version: String }
|
|
1742
1743
|
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
module Didit
|
|
4
4
|
module Types
|
|
5
|
+
module TravelRuleCreateWidgetSessionParamsRequestAction
|
|
6
|
+
ENSURE: String
|
|
7
|
+
RESEND: String
|
|
8
|
+
NEW: String
|
|
9
|
+
|
|
10
|
+
VALUES: Array[String]
|
|
11
|
+
end
|
|
12
|
+
|
|
5
13
|
module TravelRuleListVaspsParamsKind
|
|
6
14
|
DIRECTORY: String
|
|
7
15
|
DIDIT: String
|
|
@@ -151,6 +159,13 @@ module Didit
|
|
|
151
159
|
def results: () -> Array[Didit::Types::WalletAddressEntry]?
|
|
152
160
|
end
|
|
153
161
|
|
|
162
|
+
class TravelRuleWalletAddressesListTransfersResponse < Didit::Model
|
|
163
|
+
def count: () -> Integer?
|
|
164
|
+
def `next`: () -> String?
|
|
165
|
+
def previous: () -> String?
|
|
166
|
+
def results: () -> Array[Didit::Types::TravelRuleWalletTransfer]?
|
|
167
|
+
end
|
|
168
|
+
|
|
154
169
|
class TravelRuleWalletProofsListResponse < Didit::Model
|
|
155
170
|
def count: () -> Integer?
|
|
156
171
|
def `next`: () -> String?
|
|
@@ -162,7 +177,7 @@ module Didit
|
|
|
162
177
|
|
|
163
178
|
type travel_rule_create_vasp_params = { name: String, email: String, ?lei: String, ?jurisdiction: String, ?invite: bool }
|
|
164
179
|
|
|
165
|
-
type travel_rule_create_widget_session_params = { ?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer }
|
|
180
|
+
type travel_rule_create_widget_session_params = { ?wallet_address: String, ?chain: String, ?holder_name: String, ?vendor_data: String, ?transaction_id: String?, ?satoshi_deposit_address: String, ?callback_url: String, ?expires_in_minutes: Integer, ?wallet_entry_id: String, ?request_action: String, ?request_key: String }
|
|
166
181
|
|
|
167
182
|
type travel_rule_networks_update_questionnaire_params = { ?legal_name: String, ?registration_number: String, ?incorporation_country: String, ?registered_address: String, ?website: String, ?lei: String, ?licences: Array[Didit::Types::travel_rule_networks_update_questionnaire_params_licences], ?operating_jurisdictions: Array[String], ?compliance_officer_name: String, ?compliance_officer_email: String, ?aml_ctf_policy_attested: bool, ?sanctions_screening_attested: bool, ?data_protection_attested: bool, ?data_protection_contact_email: String, ?expected_monthly_transfers: Integer, ?expected_monthly_volume_usd: String, ?assets: Array[String] }
|
|
168
183
|
|