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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 588c00cded41351e89d8a25a897e5d242d3be58d8af03b5d1470f287b79ccfc6
4
- data.tar.gz: 4e6e934ada1cb1c17de26eee3e083098c52dba36755bcfd901b238dc2d50a328
3
+ metadata.gz: 91dfc52c94f0698aad6f12342bd12180000e699343916c8db5bb00b007520a21
4
+ data.tar.gz: bef44c28c0cce4098811b9f315f7df7ceb97009ad433cf6304b2a4aacdcf4638
5
5
  SHA512:
6
- metadata.gz: 94ddddad843698fd482b74ebb54e16f943615e82ffd84194c92326c7f65f0d71c7e802d651fd00d0b0f7c7a018e60e5d3602ef1d70626dae2cbf8b35989b2372
7
- data.tar.gz: ea4b39df58a2daa481cf6c3cbde2c965f1f3539b4f0f18d0eecb30c3321c2012a085de3bfc71c978a1aa6588567408b9229a12a5e3d4c978cbb7d887a309e458
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Didit
4
- VERSION = "2.9.0" # x-release-please-version
4
+ VERSION = "2.10.0" # x-release-please-version
5
5
  end
@@ -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?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: didit-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit