diff --git a/lib/algolia/models/ingestion/auth_input.rb b/lib/algolia/models/ingestion/auth_input.rb index 0da4dbdd..d018297b 100644 --- a/lib/algolia/models/ingestion/auth_input.rb +++ b/lib/algolia/models/ingestion/auth_input.rb @@ -15,7 +15,8 @@ def openapi_one_of :"AuthAlgoliaInsights", :"AuthBasic", :"AuthGoogleServiceAccount", - :"AuthOAuth" + :"AuthOAuth", + :"Hash" ] end diff --git a/lib/algolia/models/ingestion/authentication_type.rb b/lib/algolia/models/ingestion/authentication_type.rb index 5a0771cc..c22d01df 100644 --- a/lib/algolia/models/ingestion/authentication_type.rb +++ b/lib/algolia/models/ingestion/authentication_type.rb @@ -12,9 +12,10 @@ class AuthenticationType OAUTH = "oauth".freeze ALGOLIA = "algolia".freeze ALGOLIA_INSIGHTS = "algoliaInsights".freeze + SECRETS = "secrets".freeze def self.all_vars - @all_vars ||= [GOOGLE_SERVICE_ACCOUNT, BASIC, API_KEY, OAUTH, ALGOLIA, ALGOLIA_INSIGHTS].freeze + @all_vars ||= [GOOGLE_SERVICE_ACCOUNT, BASIC, API_KEY, OAUTH, ALGOLIA, ALGOLIA_INSIGHTS, SECRETS].freeze end # Builds the enum from string