From 8467af642b801e74daa924b02c09fb980aadb96a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Nov 2026 15:29:50 +0000 Subject: [PATCH] feat(spec): sync API spec 2026-11-10 Synced openapi/account.json from the published API contract (docs/DESIGN.md section 3.1). Operations: 0 added, 0 removed, 0 renamed, 0 moved, 5 changed. Regenerated the SDK. --- lib/didit/resources/account.rb | 12 ++++++------ lib/didit/types/account_components.rb | 9 +++++---- openapi/SOURCE.json | 4 ++-- openapi/account.json | 7 ++++--- sig/didit/types/account_components.rbs | 1 + 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/lib/didit/resources/account.rb b/lib/didit/resources/account.rb index da84382..8380ccb 100644 --- a/lib/didit/resources/account.rb +++ b/lib/didit/resources/account.rb @@ -149,9 +149,9 @@ class Applications < Didit::Resource # @param privacy_url [String] Privacy policy URL shown in the verification flow. # @param description [String] Internal description for the application (not shown to end users). # @param data_location [String] Where the application's verification data is stored and processed, chosen when - # the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney) and - # `mx` (Mexico) are coming soon: a request that names them answers 400 `This data location is not available - # yet.` An organization's Sandbox application is always in the European Union. + # the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), + # `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This + # data location is not available yet.` An organization's Sandbox application is always in the European Union. # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body # @return [Didit::Types::Application] def create( @@ -255,9 +255,9 @@ def retrieve(org_id, app_id, request_options: nil) # @param privacy_url [String] Privacy policy URL shown in the verification flow. # @param description [String] Internal description for the application. # @param data_location [String] Where the application's verification data is stored and processed, chosen when - # the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney) and - # `mx` (Mexico) are coming soon: a request that names them answers 400 `This data location is not available - # yet.` An organization's Sandbox application is always in the European Union. + # the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), + # `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This + # data location is not available yet.` An organization's Sandbox application is always in the European Union. # @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body # @return [Didit::Types::Application] def update( diff --git a/lib/didit/types/account_components.rb b/lib/didit/types/account_components.rb index b1f73fb..419b04e 100644 --- a/lib/didit/types/account_components.rb +++ b/lib/didit/types/account_components.rb @@ -4,15 +4,16 @@ module Didit module Types # Where the application's verification data is stored and processed, chosen when the application is created. `eu` - # is the European Union (Ireland), the default. `au` (Australia, Sydney) and `mx` (Mexico) are coming soon: a - # request that names them answers 400 `This data location is not available yet.` An organization's Sandbox - # application is always in the European Union. + # is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab + # Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An + # organization's Sandbox application is always in the European Union. module ApplicationDataLocation EU = "eu" AU = "au" MX = "mx" + AE = "ae" - VALUES = [EU, AU, MX].freeze + VALUES = [EU, AU, MX, AE].freeze end # `identity` (Identity verification), `transactions` (Transaction monitoring) or `authentication` diff --git a/openapi/SOURCE.json b/openapi/SOURCE.json index 3df85cd..336ef6e 100644 --- a/openapi/SOURCE.json +++ b/openapi/SOURCE.json @@ -6,8 +6,8 @@ }, "account.json": { "url": "https://docs.didit.me/openapi-auth.json", - "sha256": "3ebf65c9668861bcd2008c11d65be4055ef58ba5fa57945c72afe3d4ac4fb523", - "fetched_at": "2026-11-10T07:59:49Z" + "sha256": "c4dc0eb6b91635a3445edaa4e8f01c710c1615f0f4a621a140571937901b6da1", + "fetched_at": "2026-11-10T15:29:04Z" }, "webhook-vectors.json": { "generator": "product-automations scripts/server-sdks/make_vectors.py (seeded 2026-10-17)", diff --git a/openapi/account.json b/openapi/account.json index 177009c..8124ae9 100644 --- a/openapi/account.json +++ b/openapi/account.json @@ -994,7 +994,7 @@ } }, "400": { - "description": "Validation error in the request body: for example a malformed redirect URI, a `data_location` that is not available yet (`au`, `mx`) or one that does not exist. Nothing is created.", + "description": "Validation error in the request body: for example a malformed redirect URI, a `data_location` that is not available yet (`au`, `mx`, `ae`) or one that does not exist. Nothing is created.", "content": { "application/json": { "schema": { @@ -2553,9 +2553,10 @@ "enum": [ "eu", "au", - "mx" + "mx", + "ae" ], - "description": "Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney) and `mx` (Mexico) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union.", + "description": "Where the application's verification data is stored and processed, chosen when the application is created. `eu` is the European Union (Ireland), the default. `au` (Australia, Sydney), `mx` (Mexico) and `ae` (United Arab Emirates) are coming soon: a request that names them answers 400 `This data location is not available yet.` An organization's Sandbox application is always in the European Union.", "example": "eu" }, "ValidationError": { diff --git a/sig/didit/types/account_components.rbs b/sig/didit/types/account_components.rbs index bbd5775..4a5c134 100644 --- a/sig/didit/types/account_components.rbs +++ b/sig/didit/types/account_components.rbs @@ -6,6 +6,7 @@ module Didit EU: String AU: String MX: String + AE: String VALUES: Array[String] end