From 1fe17848e88da78c8513bd68e6d07f0c30e3cb05 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 28 May 2024 10:03:55 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.296.1 --- .speakeasy/gen.lock | 10 +++++----- Gemfile.lock | 2 +- RELEASES.md | 12 +++++++++++- ding_sdk.gemspec | 2 +- docs/models/shared/createauthenticationrequest.md | 1 + gen.yaml | 2 +- .../models/shared/createauthenticationrequest.rb | 7 +++++-- lib/ding_sdk/sdkconfiguration.rb | 6 +++--- 8 files changed, 28 insertions(+), 14 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 938cf49..cbeca10 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: a5967f02-15bd-4a6c-b816-cdec24288371 management: - docChecksum: ae16b62a3e75707dc8c8098ef538764b + docChecksum: 85248a8dd6a5cd6fea1b82dfc30249e9 docVersion: 1.0.0 - speakeasyVersion: 1.295.0 - generationVersion: 2.333.3 - releaseVersion: 0.8.9 - configChecksum: b99175d04f02b5f18b00dc7b4b2b424c + speakeasyVersion: 1.296.1 + generationVersion: 2.338.1 + releaseVersion: 0.8.10 + configChecksum: e972c86586756ac4ca56bc5a6663440b repoURL: https://github.com/ding-live/ding-ruby.git repoSubDirectory: . installationURL: https://github.com/ding-live/ding-ruby diff --git a/Gemfile.lock b/Gemfile.lock index 2415a41..27a3a0c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - ding_sdk (0.8.9) + ding_sdk (0.8.10) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index dcc7446..b94baee 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -324,4 +324,14 @@ Based on: ### Generated - [ruby v0.8.9] . ### Releases -- [Ruby Gems v0.8.9] https://rubygems.org/gems/ding_sdk/versions/0.8.9 - . \ No newline at end of file +- [Ruby Gems v0.8.9] https://rubygems.org/gems/ding_sdk/versions/0.8.9 - . + +## 2024-05-28 10:03:43 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.296.1 (2.338.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.8.10] . +### Releases +- [Ruby Gems v0.8.10] https://rubygems.org/gems/ding_sdk/versions/0.8.10 - . \ No newline at end of file diff --git a/ding_sdk.gemspec b/ding_sdk.gemspec index 3293ffc..18a8f9a 100644 --- a/ding_sdk.gemspec +++ b/ding_sdk.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'ding_sdk' - s.version = '0.8.9' + s.version = '0.8.10' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/docs/models/shared/createauthenticationrequest.md b/docs/models/shared/createauthenticationrequest.md index f1261ce..f75c612 100644 --- a/docs/models/shared/createauthenticationrequest.md +++ b/docs/models/shared/createauthenticationrequest.md @@ -8,6 +8,7 @@ | `app_realm` | *T.nilable(::String)* | :heavy_minus_sign: | The Android SMS Retriever API hash code that identifies your app. This allows you to automatically retrieve and fill the OTP code on Android devices. | | | `app_version` | *T.nilable(::String)* | :heavy_minus_sign: | The version of your application. | | | `callback_url` | *T.nilable(::String)* | :heavy_minus_sign: | A webhook URL to which delivery statuses will be sent. | | +| `correlation_id` | *T.nilable(::String)* | :heavy_minus_sign: | A unique, user-defined identifier that will be included in webhook events | | | `customer_uuid` | *::String* | :heavy_check_mark: | Your customer UUID, which can be found in the API settings in the dashboard. | | | `device_id` | *T.nilable(::String)* | :heavy_minus_sign: | Unique identifier for the user's device. For Android, this corresponds to the `ANDROID_ID` and for iOS, this corresponds to the `identifierForVendor`. | | | `device_model` | *T.nilable(::String)* | :heavy_minus_sign: | The model of the user's device. | | diff --git a/gen.yaml b/gen.yaml index b930cda..2fd1c41 100644 --- a/gen.yaml +++ b/gen.yaml @@ -10,7 +10,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false ruby: - version: 0.8.9 + version: 0.8.10 author: Ding description: Ding Ruby SDK imports: diff --git a/lib/ding_sdk/models/shared/createauthenticationrequest.rb b/lib/ding_sdk/models/shared/createauthenticationrequest.rb index cd08d90..e74dd25 100644 --- a/lib/ding_sdk/models/shared/createauthenticationrequest.rb +++ b/lib/ding_sdk/models/shared/createauthenticationrequest.rb @@ -21,6 +21,8 @@ class CreateAuthenticationRequest < ::DingSDK::Utils::FieldAugmented field :app_version, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('app_version') } } # A webhook URL to which delivery statuses will be sent. field :callback_url, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('callback_url') } } + # A unique, user-defined identifier that will be included in webhook events + field :correlation_id, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('correlation_id') } } # Unique identifier for the user's device. For Android, this corresponds to the `ANDROID_ID` and for iOS, this corresponds to the `identifierForVendor`. field :device_id, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('device_id') } } # The model of the user's device. @@ -37,13 +39,14 @@ class CreateAuthenticationRequest < ::DingSDK::Utils::FieldAugmented field :template_id, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('template_id') } } - sig { params(customer_uuid: ::String, phone_number: ::String, app_realm: T.nilable(::String), app_version: T.nilable(::String), callback_url: T.nilable(::String), device_id: T.nilable(::String), device_model: T.nilable(::String), device_type: T.nilable(::DingSDK::Shared::DeviceType), ip: T.nilable(::String), is_returning_user: T.nilable(T::Boolean), os_version: T.nilable(::String), template_id: T.nilable(::String)).void } - def initialize(customer_uuid: nil, phone_number: nil, app_realm: nil, app_version: nil, callback_url: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, os_version: nil, template_id: nil) + sig { params(customer_uuid: ::String, phone_number: ::String, app_realm: T.nilable(::String), app_version: T.nilable(::String), callback_url: T.nilable(::String), correlation_id: T.nilable(::String), device_id: T.nilable(::String), device_model: T.nilable(::String), device_type: T.nilable(::DingSDK::Shared::DeviceType), ip: T.nilable(::String), is_returning_user: T.nilable(T::Boolean), os_version: T.nilable(::String), template_id: T.nilable(::String)).void } + def initialize(customer_uuid: nil, phone_number: nil, app_realm: nil, app_version: nil, callback_url: nil, correlation_id: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, os_version: nil, template_id: nil) @customer_uuid = customer_uuid @phone_number = phone_number @app_realm = app_realm @app_version = app_version @callback_url = callback_url + @correlation_id = correlation_id @device_id = device_id @device_model = device_model @device_type = device_type diff --git a/lib/ding_sdk/sdkconfiguration.rb b/lib/ding_sdk/sdkconfiguration.rb index 93e83a2..4880aa0 100644 --- a/lib/ding_sdk/sdkconfiguration.rb +++ b/lib/ding_sdk/sdkconfiguration.rb @@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx) @security = security @language = 'ruby' @openapi_doc_version = '1.0.0' - @sdk_version = '0.8.9' - @gen_version = '2.333.3' - @user_agent = 'speakeasy-sdk/ruby 0.8.9 2.333.3 1.0.0 ding_sdk' + @sdk_version = '0.8.10' + @gen_version = '2.338.1' + @user_agent = 'speakeasy-sdk/ruby 0.8.10 2.338.1 1.0.0 ding_sdk' end sig { returns([String, T::Hash[Symbol, String]]) }