didit-sdk 2.9.0 → 2.10.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/types/account_components.rb +25 -0
- data/lib/didit/types.rb +2 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/types/account_components.rbs +17 -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: 91dfc52c94f0698aad6f12342bd12180000e699343916c8db5bb00b007520a21
|
|
4
|
+
data.tar.gz: bef44c28c0cce4098811b9f315f7df7ceb97009ad433cf6304b2a4aacdcf4638
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6f565b512d52999ef1dd881ed4e9854448a5e53f365803c4a9ff2c4aad2ce2ee36b9fc9d8bd4a01d28293b40e093f148d36d3e342473f3a27b1920dc4b5306f
|
|
7
|
+
data.tar.gz: 75d30c35704784925b9248b6ab89ab199258808d06def529de1c6d883b16d658f820224c0073618a76d20575e605220cf81ffef7cbf53858d99108875901b00a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.10.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.9.0...v2.10.0) (2026-11-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-11 ([f2e8649](https://github.com/didit-protocol/sdk-ruby/commit/f2e8649be2f8bee51ee031917d56ad4a2d31d345))
|
|
9
|
+
|
|
3
10
|
## [2.9.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.8.0...v2.9.0) (2026-11-10)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
module Didit
|
|
5
5
|
module Types
|
|
6
|
+
# The application's environment. A `live` application bills every verification session and check created with its
|
|
7
|
+
# key. A `sandbox` application mocks every check and is never billed, so it is where you test (each sandbox
|
|
8
|
+
# application can create 500 test sessions every 24 hours). Read this field to pick the application: never infer
|
|
9
|
+
# the environment from the name.
|
|
10
|
+
module ApplicationCredentialsSummaryMode
|
|
11
|
+
LIVE = "live"
|
|
12
|
+
SANDBOX = "sandbox"
|
|
13
|
+
|
|
14
|
+
VALUES = [LIVE, SANDBOX].freeze
|
|
15
|
+
end
|
|
16
|
+
|
|
6
17
|
# Where the application's verification data is stored and processed, chosen when the application is created. `eu`
|
|
7
18
|
# is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab
|
|
8
19
|
# Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An
|
|
@@ -16,6 +27,17 @@ module Didit
|
|
|
16
27
|
VALUES = [EU, AU, MX, AE].freeze
|
|
17
28
|
end
|
|
18
29
|
|
|
30
|
+
# The application's environment. A `live` application bills every verification session and check created with its
|
|
31
|
+
# key. A `sandbox` application mocks every check and is never billed, so it is where you test (each sandbox
|
|
32
|
+
# application can create 500 test sessions every 24 hours). Read this field to pick the application: never infer
|
|
33
|
+
# the environment from the name.
|
|
34
|
+
module ApplicationMode
|
|
35
|
+
LIVE = "live"
|
|
36
|
+
SANDBOX = "sandbox"
|
|
37
|
+
|
|
38
|
+
VALUES = [LIVE, SANDBOX].freeze
|
|
39
|
+
end
|
|
40
|
+
|
|
19
41
|
# `identity` (Identity verification), `transactions` (Transaction monitoring) or `authentication`
|
|
20
42
|
# (Authentication).
|
|
21
43
|
module ApplicationProductProduct
|
|
@@ -52,6 +74,7 @@ module Didit
|
|
|
52
74
|
field :created_at, "created_at", :datetime
|
|
53
75
|
field :data_location, "data_location", :string
|
|
54
76
|
field :products, "products", [:array, "ApplicationProduct"]
|
|
77
|
+
field :mode, "mode", :string
|
|
55
78
|
end
|
|
56
79
|
|
|
57
80
|
# Minimal application shape returned inline by `POST /programmatic/verify-email/`. Persist the `api_key`
|
|
@@ -62,6 +85,7 @@ module Didit
|
|
|
62
85
|
field :client_id, "client_id", :string
|
|
63
86
|
field :api_key, "api_key", :string
|
|
64
87
|
field :data_location, "data_location", :string
|
|
88
|
+
field :mode, "mode", :string
|
|
65
89
|
end
|
|
66
90
|
|
|
67
91
|
# One product of an application and its state. Read-only: the application endpoints return it and ignore it in a
|
|
@@ -117,6 +141,7 @@ module Didit
|
|
|
117
141
|
field :expires_in, "expires_in", :integer
|
|
118
142
|
field :organization, "organization", "OrganizationSummary"
|
|
119
143
|
field :application, "application", "ApplicationCredentialsSummary"
|
|
144
|
+
field :sandbox_application, "sandbox_application", "ApplicationCredentialsSummary"
|
|
120
145
|
field :v_2fa_required, "2fa_required", :boolean
|
|
121
146
|
field :temp_token, "temp_token", :string
|
|
122
147
|
field :has_authenticator, "has_authenticator", :boolean
|
data/lib/didit/types.rb
CHANGED
|
@@ -135,7 +135,9 @@ module Didit
|
|
|
135
135
|
autoload :ApplicationAnalyticsWorkflowFunnelValue, "didit/types/components"
|
|
136
136
|
autoload :ApplicationAnalyticsWorkflowFunnelValueStepsValue, "didit/types/components"
|
|
137
137
|
autoload :ApplicationCredentialsSummary, "didit/types/account_components"
|
|
138
|
+
autoload :ApplicationCredentialsSummaryMode, "didit/types/account_components"
|
|
138
139
|
autoload :ApplicationDataLocation, "didit/types/account_components"
|
|
140
|
+
autoload :ApplicationMode, "didit/types/account_components"
|
|
139
141
|
autoload :ApplicationProduct, "didit/types/account_components"
|
|
140
142
|
autoload :ApplicationProductProduct, "didit/types/account_components"
|
|
141
143
|
autoload :ApplicationProductStatus, "didit/types/account_components"
|
data/lib/didit/version.rb
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
module Didit
|
|
4
4
|
module Types
|
|
5
|
+
module ApplicationCredentialsSummaryMode
|
|
6
|
+
LIVE: String
|
|
7
|
+
SANDBOX: String
|
|
8
|
+
|
|
9
|
+
VALUES: Array[String]
|
|
10
|
+
end
|
|
11
|
+
|
|
5
12
|
module ApplicationDataLocation
|
|
6
13
|
EU: String
|
|
7
14
|
AU: String
|
|
@@ -11,6 +18,13 @@ module Didit
|
|
|
11
18
|
VALUES: Array[String]
|
|
12
19
|
end
|
|
13
20
|
|
|
21
|
+
module ApplicationMode
|
|
22
|
+
LIVE: String
|
|
23
|
+
SANDBOX: String
|
|
24
|
+
|
|
25
|
+
VALUES: Array[String]
|
|
26
|
+
end
|
|
27
|
+
|
|
14
28
|
module ApplicationProductProduct
|
|
15
29
|
IDENTITY: String
|
|
16
30
|
TRANSACTIONS: String
|
|
@@ -40,6 +54,7 @@ module Didit
|
|
|
40
54
|
def created_at: () -> Time?
|
|
41
55
|
def data_location: () -> String?
|
|
42
56
|
def products: () -> Array[Didit::Types::ApplicationProduct]?
|
|
57
|
+
def mode: () -> String?
|
|
43
58
|
end
|
|
44
59
|
|
|
45
60
|
class ApplicationCredentialsSummary < Didit::Model
|
|
@@ -48,6 +63,7 @@ module Didit
|
|
|
48
63
|
def client_id: () -> String?
|
|
49
64
|
def api_key: () -> String?
|
|
50
65
|
def data_location: () -> String?
|
|
66
|
+
def mode: () -> String?
|
|
51
67
|
end
|
|
52
68
|
|
|
53
69
|
class ApplicationProduct < Didit::Model
|
|
@@ -100,6 +116,7 @@ module Didit
|
|
|
100
116
|
def expires_in: () -> Integer?
|
|
101
117
|
def organization: () -> Didit::Types::OrganizationSummary?
|
|
102
118
|
def application: () -> Didit::Types::ApplicationCredentialsSummary?
|
|
119
|
+
def sandbox_application: () -> Didit::Types::ApplicationCredentialsSummary?
|
|
103
120
|
def v_2fa_required: () -> bool?
|
|
104
121
|
def temp_token: () -> String?
|
|
105
122
|
def has_authenticator: () -> bool?
|