Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.296.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed May 28, 2024
1 parent 73c96bd commit 1fe1784
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ding_sdk (0.8.9)
ding_sdk (0.8.10)
faraday
faraday-multipart
rack
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
2 changes: 1 addition & 1 deletion ding_sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
1 change: 1 addition & 0 deletions docs/models/shared/createauthenticationrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. | |
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
ruby:
version: 0.8.9
version: 0.8.10
author: Ding
description: Ding Ruby SDK
imports:
Expand Down
7 changes: 5 additions & 2 deletions lib/ding_sdk/models/shared/createauthenticationrequest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions lib/ding_sdk/sdkconfiguration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]]) }
Expand Down

0 comments on commit 1fe1784

Please sign in to comment.