diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 0316cee..6d698ef 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5a2dd83e-da98-455b-8ef9-0100a914efdf management: - docChecksum: b1ddc6340113bd7c10aec74280cf3844 + docChecksum: 8b1b9eb49f7d9c9e3b923b7d3311eb0b docVersion: 0.0.1 - speakeasyVersion: 1.440.0 - generationVersion: 2.457.9 - releaseVersion: 0.2.2-alpha.33 - configChecksum: f3c0f7116ca67855a5d8e7d102b4483e + speakeasyVersion: 1.440.1 + generationVersion: 2.460.1 + releaseVersion: 0.2.2-alpha.34 + configChecksum: 731491b25ecdc58f1974fb3c2f4ba127 repoURL: https://github.com/dubinc/dub-ruby.git installationURL: https://github.com/dubinc/dub-ruby published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 21d4dc7..41df379 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false ruby: - version: 0.2.2-alpha.33 + version: 0.2.2-alpha.34 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 733b595..0270ffe 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,20 +1,20 @@ -speakeasyVersion: 1.440.0 +speakeasyVersion: 1.440.1 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:aefb1cdaf4bfc8e70dcd671b5afed4b011c96c85c950d87f536a02ce4d41a8b0 - sourceBlobDigest: sha256:3966bb8bc5699e35c824bb96a8f3ec677b9648218db57fb301fdb1c8e0d97e25 + sourceRevisionDigest: sha256:e46b2d51e90bfc87a2e190267f2f3366be45072509ea8791e6cad0d96107b926 + sourceBlobDigest: sha256:7f884150a91b025552d2e32c9ce7b58adf036cfebe8f99c4074877d76123b100 tags: - latest - - speakeasy-sdk-regen-1731630478 + - speakeasy-sdk-regen-1731716841 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:aefb1cdaf4bfc8e70dcd671b5afed4b011c96c85c950d87f536a02ce4d41a8b0 - sourceBlobDigest: sha256:3966bb8bc5699e35c824bb96a8f3ec677b9648218db57fb301fdb1c8e0d97e25 + sourceRevisionDigest: sha256:e46b2d51e90bfc87a2e190267f2f3366be45072509ea8791e6cad0d96107b926 + sourceBlobDigest: sha256:7f884150a91b025552d2e32c9ce7b58adf036cfebe8f99c4074877d76123b100 codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:6223326bd882d72fa6b908b3b2f4843c249bdd28bd6c3d8cc9862d7e74600113 + codeSamplesRevisionDigest: sha256:930fcbb0090147a659c1507ec21ee30391303d87a43eca5493f28b3f02ff7c4a workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index c4a9c54..c0650cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.33) + dub (0.2.2.pre.alpha.34) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index 9354cb2..2bb55aa 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -478,4 +478,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.33] . ### Releases -- [Ruby Gems v0.2.2-alpha.33] https://rubygems.org/gems/dub/versions/0.2.2-alpha.33 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.33] https://rubygems.org/gems/dub/versions/0.2.2-alpha.33 - . + +## 2024-11-16 00:27:17 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.440.1 (2.460.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.34] . +### Releases +- [Ruby Gems v0.2.2-alpha.34] https://rubygems.org/gems/dub/versions/0.2.2-alpha.34 - . \ No newline at end of file diff --git a/docs/models/operations/interval.md b/docs/models/operations/interval.md index 6a7873e..c9ebecd 100644 --- a/docs/models/operations/interval.md +++ b/docs/models/operations/interval.md @@ -1,6 +1,6 @@ # Interval -The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. +The interval to retrieve analytics for. If undefined, defaults to 24h. ## Values diff --git a/docs/models/operations/listeventsrequest.md b/docs/models/operations/listeventsrequest.md index cc646e2..9288195 100644 --- a/docs/models/operations/listeventsrequest.md +++ b/docs/models/operations/listeventsrequest.md @@ -11,8 +11,8 @@ | `link_id` | *T.nilable(::String)* | :heavy_minus_sign: | The unique ID of the short link on Dub. | | | `external_id` | *T.nilable(::String)* | :heavy_minus_sign: | This is the ID of the link in the your database. Must be prefixed with 'ext_' when passed as a query parameter. | | | `interval` | [T.nilable(::OpenApiSDK::Operations::QueryParamInterval)](../../models/operations/queryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve events for. Takes precedence over start and end. If undefined, defaults to 24h. | | -| `start` | *T.nilable(::String)* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. | | -| `end_` | *T.nilable(::String)* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. | | +| `start` | *T.nilable(::String)* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. Takes precedence over `interval`. | | +| `end_` | *T.nilable(::String)* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. Takes precedence over `interval`. | | | `timezone` | *T.nilable(::String)* | :heavy_minus_sign: | The IANA time zone code for aligning timeseries granularity (e.g. America/New_York). Defaults to UTC. | America/New_York | | `continent` | [T.nilable(::OpenApiSDK::Shared::ContinentCode)](../../models/shared/continentcode.md) | :heavy_minus_sign: | The continent to retrieve analytics for. | | | `country` | [T.nilable(::OpenApiSDK::Shared::CountryCode)](../../models/shared/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. | | diff --git a/docs/models/operations/retrieveanalyticsrequest.md b/docs/models/operations/retrieveanalyticsrequest.md index eb9b4ab..02f6721 100644 --- a/docs/models/operations/retrieveanalyticsrequest.md +++ b/docs/models/operations/retrieveanalyticsrequest.md @@ -11,9 +11,9 @@ | `key` | *T.nilable(::String)* | :heavy_minus_sign: | The short link slug. | | | `link_id` | *T.nilable(::String)* | :heavy_minus_sign: | The unique ID of the short link on Dub. | | | `external_id` | *T.nilable(::String)* | :heavy_minus_sign: | This is the ID of the link in the your database. Must be prefixed with 'ext_' when passed as a query parameter. | | -| `interval` | [T.nilable(::OpenApiSDK::Operations::Interval)](../../models/operations/interval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. | | -| `start` | *T.nilable(::String)* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. | | -| `end_` | *T.nilable(::String)* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. | | +| `interval` | [T.nilable(::OpenApiSDK::Operations::Interval)](../../models/operations/interval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. If undefined, defaults to 24h. | | +| `start` | *T.nilable(::String)* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. Takes precedence over `interval`. | | +| `end_` | *T.nilable(::String)* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. Takes precedence over `interval`. | | | `timezone` | *T.nilable(::String)* | :heavy_minus_sign: | The IANA time zone code for aligning timeseries granularity (e.g. America/New_York). Defaults to UTC. | America/New_York | | `continent` | [T.nilable(::OpenApiSDK::Shared::ContinentCode)](../../models/shared/continentcode.md) | :heavy_minus_sign: | The continent to retrieve analytics for. | | | `country` | [T.nilable(::OpenApiSDK::Shared::CountryCode)](../../models/shared/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. | | diff --git a/dub.gemspec b/dub.gemspec index 056ff72..4bf9e0d 100644 --- a/dub.gemspec +++ b/dub.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'dub' - s.version = '0.2.2-alpha.33' + s.version = '0.2.2-alpha.34' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/lib/open_api_sdk/models/operations/interval.rb b/lib/open_api_sdk/models/operations/interval.rb index 2d7e71b..a031c6c 100644 --- a/lib/open_api_sdk/models/operations/interval.rb +++ b/lib/open_api_sdk/models/operations/interval.rb @@ -7,7 +7,7 @@ module OpenApiSDK module Operations - # Interval - The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. + # Interval - The interval to retrieve analytics for. If undefined, defaults to 24h. class Interval < T::Enum enums do TWENTY_FOURH = new('24h') diff --git a/lib/open_api_sdk/models/operations/listevents_request.rb b/lib/open_api_sdk/models/operations/listevents_request.rb index 18dc4c9..7a6fb66 100644 --- a/lib/open_api_sdk/models/operations/listevents_request.rb +++ b/lib/open_api_sdk/models/operations/listevents_request.rb @@ -23,7 +23,7 @@ class ListEventsRequest < ::OpenApiSDK::Utils::FieldAugmented field :device, T.nilable(::String), { 'query_param': { 'field_name': 'device', 'style': 'form', 'explode': true } } # The domain to filter analytics for. field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } } - # The end date and time when to retrieve analytics from. If not provided, defaults to the current date. + # The end date and time when to retrieve analytics from. If not provided, defaults to the current date. Takes precedence over `interval`. field :end_, T.nilable(::String), { 'query_param': { 'field_name': 'end', 'style': 'form', 'explode': true } } # The type of event to retrieve analytics for. Defaults to 'clicks'. field :event, T.nilable(::OpenApiSDK::Operations::QueryParamEvent), { 'query_param': { 'field_name': 'event', 'style': 'form', 'explode': true } } @@ -53,7 +53,7 @@ class ListEventsRequest < ::OpenApiSDK::Utils::FieldAugmented field :root, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'root', 'style': 'form', 'explode': true } } field :sort_by, T.nilable(::OpenApiSDK::Operations::SortBy), { 'query_param': { 'field_name': 'sortBy', 'style': 'form', 'explode': true } } - # The start date and time when to retrieve analytics from. + # The start date and time when to retrieve analytics from. Takes precedence over `interval`. field :start, T.nilable(::String), { 'query_param': { 'field_name': 'start', 'style': 'form', 'explode': true } } # Deprecated. Use `tagIds` instead. The tag ID to retrieve analytics for. field :tag_id, T.nilable(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } } diff --git a/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb b/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb index c95c2bb..63a61a2 100644 --- a/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +++ b/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb @@ -23,7 +23,7 @@ class RetrieveAnalyticsRequest < ::OpenApiSDK::Utils::FieldAugmented field :device, T.nilable(::String), { 'query_param': { 'field_name': 'device', 'style': 'form', 'explode': true } } # The domain to filter analytics for. field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } } - # The end date and time when to retrieve analytics from. If not provided, defaults to the current date. + # The end date and time when to retrieve analytics from. If not provided, defaults to the current date. Takes precedence over `interval`. field :end_, T.nilable(::String), { 'query_param': { 'field_name': 'end', 'style': 'form', 'explode': true } } # The type of event to retrieve analytics for. Defaults to `clicks`. field :event, T.nilable(::OpenApiSDK::Operations::Event), { 'query_param': { 'field_name': 'event', 'style': 'form', 'explode': true } } @@ -31,7 +31,7 @@ class RetrieveAnalyticsRequest < ::OpenApiSDK::Utils::FieldAugmented field :external_id, T.nilable(::String), { 'query_param': { 'field_name': 'externalId', 'style': 'form', 'explode': true } } # The parameter to group the analytics data points by. Defaults to `count` if undefined. Note that `trigger` is deprecated (use `triggers` instead), but kept for backwards compatibility. field :group_by, T.nilable(::OpenApiSDK::Operations::GroupBy), { 'query_param': { 'field_name': 'groupBy', 'style': 'form', 'explode': true } } - # The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. + # The interval to retrieve analytics for. If undefined, defaults to 24h. field :interval, T.nilable(::OpenApiSDK::Operations::Interval), { 'query_param': { 'field_name': 'interval', 'style': 'form', 'explode': true } } # The short link slug. field :key, T.nilable(::String), { 'query_param': { 'field_name': 'key', 'style': 'form', 'explode': true } } @@ -47,7 +47,7 @@ class RetrieveAnalyticsRequest < ::OpenApiSDK::Utils::FieldAugmented field :referer_url, T.nilable(::String), { 'query_param': { 'field_name': 'refererUrl', 'style': 'form', 'explode': true } } # Filter for root domains. If true, filter for domains only. If false, filter for links only. If undefined, return both. field :root, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'root', 'style': 'form', 'explode': true } } - # The start date and time when to retrieve analytics from. + # The start date and time when to retrieve analytics from. Takes precedence over `interval`. field :start, T.nilable(::String), { 'query_param': { 'field_name': 'start', 'style': 'form', 'explode': true } } # Deprecated. Use `tagIds` instead. The tag ID to retrieve analytics for. field :tag_id, T.nilable(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } } diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index 0800dd8..811f459 100644 --- a/lib/open_api_sdk/sdkconfiguration.rb +++ b/lib/open_api_sdk/sdkconfiguration.rb @@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx) @security = security @language = 'ruby' @openapi_doc_version = '0.0.1' - @sdk_version = '0.2.2-alpha.33' - @gen_version = '2.457.9' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.33 2.457.9 0.0.1 dub' + @sdk_version = '0.2.2-alpha.34' + @gen_version = '2.460.1' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.34 2.460.1 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) }