diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 5f4e8be..2e8c4a3 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: 24e29770dbf567bc2b877159fa7eab18 + docChecksum: 800c2d1e9d6794eaf14a0b0c2f0ca711 docVersion: 0.0.1 - speakeasyVersion: 1.488.0 - generationVersion: 2.506.0 - releaseVersion: 0.2.2-alpha.63 - configChecksum: 5196f81956a8984761a28d2d69a91ff3 + speakeasyVersion: 1.490.0 + generationVersion: 2.512.0 + releaseVersion: 0.2.2-alpha.64 + configChecksum: e14ae35d3a1f00a4c5d0159cf36fbffe repoURL: https://github.com/dubinc/dub-ruby.git installationURL: https://github.com/dubinc/dub-ruby published: true @@ -16,7 +16,7 @@ features: deprecations: 2.81.2 examples: 2.81.5 flattening: 2.81.1 - globalSecurity: 2.81.7 + globalSecurity: 2.81.8 globalServerURLs: 2.82.3 includes: 2.81.1 nameOverrides: 2.81.2 @@ -1332,7 +1332,7 @@ examples: application/json: {"programId": "", "name": "", "email": "Loyal79@yahoo.com", "username": "Aaliyah_Borer", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."]}} responses: "201": - application/json: {"id": "", "name": "", "email": "Loyal79@yahoo.com", "image": "https://loremflickr.com/1/679?lock=7139282333236917", "country": "Slovenia", "createdAt": "1730216871840", "status": "pending", "programId": "", "tenantId": "", "links": [{"id": "", "domain": "probable-heating.com", "key": "", "shortLink": "https://standard-utilization.com/", "url": "https://brisk-seafood.net/", "clicks": 5862.2, "leads": 7524.38, "sales": 9574.09, "saleAmount": 3570.21}], "clicks": 2596.29, "leads": 177.59, "sales": 2303.13, "saleAmount": 4865.89, "earnings": 5235.23} + application/json: {"id": "", "name": "", "email": "Loyal79@yahoo.com", "image": "https://loremflickr.com/1/679?lock=7139282333236917", "country": "Slovenia", "payoutsEnabled": true, "createdAt": "1730216871840", "status": "pending", "programId": "", "tenantId": "", "links": [{"id": "", "domain": "probable-heating.com", "key": "", "shortLink": "https://standard-utilization.com/", "url": "https://brisk-seafood.net/", "clicks": 5862.2, "leads": 7524.38, "sales": 9574.09, "saleAmount": 3570.21}], "clicks": 2596.29, "leads": 177.59, "sales": 2303.13, "saleAmount": 4865.89, "earnings": 5235.23} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}} "401": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 935b610..4444d86 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -9,11 +9,12 @@ generation: nameResolutionDec2023: true parameterOrderingFeb2024: true requestResponseComponentNamesFeb2024: true + securityFeb2025: false auth: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false ruby: - version: 0.2.2-alpha.63 + version: 0.2.2-alpha.64 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 7c2adef..6d6206a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.488.0 +speakeasyVersion: 1.490.0 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:01fe07c77ed882057c70a46306223dc7e936dc237a9805e9df560541f52f78b3 - sourceBlobDigest: sha256:cefa494187073dd8bb1eebde5639c67f6f8ede53421ce7fd329ea379e75153ca + sourceRevisionDigest: sha256:05120c38d247096a19f1a2c88c0bd4b6fe5bd8c67caa6eb3ce3f4bc59d31ef50 + sourceBlobDigest: sha256:71a6866fef88f7b683008f13d8e49115f35a419afa02c3bba42d5967bb65d268 tags: - latest - - speakeasy-sdk-regen-1739147271 + - speakeasy-sdk-regen-1739406409 - 0.0.1 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:01fe07c77ed882057c70a46306223dc7e936dc237a9805e9df560541f52f78b3 - sourceBlobDigest: sha256:cefa494187073dd8bb1eebde5639c67f6f8ede53421ce7fd329ea379e75153ca + sourceRevisionDigest: sha256:05120c38d247096a19f1a2c88c0bd4b6fe5bd8c67caa6eb3ce3f4bc59d31ef50 + sourceBlobDigest: sha256:71a6866fef88f7b683008f13d8e49115f35a419afa02c3bba42d5967bb65d268 codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:e292c506290ee30432b4accd12d5d64fb8473b118501ce025d09cc34ed0b39d3 + codeSamplesRevisionDigest: sha256:d5f4401b39fc54b33532abf0456b3b91bfabb251176b439300a45cf50e12f67e workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index 7e91b3d..77dc92e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.63) + dub (0.2.2.pre.alpha.64) faraday faraday-multipart rack @@ -35,7 +35,7 @@ GEM racc prism (0.27.0) racc (1.8.1) - rack (3.1.9) + rack (3.1.10) rainbow (3.1.1) rake (13.2.1) rbi (0.1.12) diff --git a/RELEASES.md b/RELEASES.md index 295cd64..9154968 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -778,4 +778,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.63] . ### Releases -- [Ruby Gems v0.2.2-alpha.63] https://rubygems.org/gems/dub/versions/0.2.2-alpha.63 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.63] https://rubygems.org/gems/dub/versions/0.2.2-alpha.63 - . + +## 2025-02-13 00:26:35 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.490.0 (2.512.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.64] . +### Releases +- [Ruby Gems v0.2.2-alpha.64] https://rubygems.org/gems/dub/versions/0.2.2-alpha.64 - . \ No newline at end of file diff --git a/docs/models/operations/accesslevel.md b/docs/models/operations/accesslevel.md index 4bff1ab..6cb6c4e 100644 --- a/docs/models/operations/accesslevel.md +++ b/docs/models/operations/accesslevel.md @@ -7,5 +7,5 @@ The access level of the folder within the workspace. | Name | Value | | ------- | ------- | -| `READ` | read | -| `WRITE` | write | \ No newline at end of file +| `WRITE` | write | +| `READ` | read | \ No newline at end of file diff --git a/docs/models/operations/createpartnerresponsebody.md b/docs/models/operations/createpartnerresponsebody.md index 48b3d8f..0a3df26 100644 --- a/docs/models/operations/createpartnerresponsebody.md +++ b/docs/models/operations/createpartnerresponsebody.md @@ -13,6 +13,7 @@ The created partner | `image` | *::String* | :heavy_check_mark: | N/A | | `description` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | | `country` | *::String* | :heavy_check_mark: | N/A | +| `payouts_enabled` | *T::Boolean* | :heavy_check_mark: | N/A | | `created_at` | *::String* | :heavy_check_mark: | N/A | | `status` | [::OpenApiSDK::Operations::Status](../../models/operations/status.md) | :heavy_check_mark: | N/A | | `program_id` | *::String* | :heavy_check_mark: | N/A | diff --git a/docs/models/operations/updatefolderaccesslevel.md b/docs/models/operations/updatefolderaccesslevel.md index f4daa0d..3098470 100644 --- a/docs/models/operations/updatefolderaccesslevel.md +++ b/docs/models/operations/updatefolderaccesslevel.md @@ -7,5 +7,5 @@ The access level of the folder within the workspace. | Name | Value | | ------- | ------- | -| `READ` | read | -| `WRITE` | write | \ No newline at end of file +| `WRITE` | write | +| `READ` | read | \ No newline at end of file diff --git a/docs/models/shared/accesslevel.md b/docs/models/shared/accesslevel.md index 4bff1ab..6cb6c4e 100644 --- a/docs/models/shared/accesslevel.md +++ b/docs/models/shared/accesslevel.md @@ -7,5 +7,5 @@ The access level of the folder within the workspace. | Name | Value | | ------- | ------- | -| `READ` | read | -| `WRITE` | write | \ No newline at end of file +| `WRITE` | write | +| `READ` | read | \ No newline at end of file diff --git a/dub.gemspec b/dub.gemspec index 409dd85..341a9c7 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.63' + s.version = '0.2.2-alpha.64' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/lib/open_api_sdk/models/operations/accesslevel.rb b/lib/open_api_sdk/models/operations/accesslevel.rb index 6d01b6f..48a3f0a 100644 --- a/lib/open_api_sdk/models/operations/accesslevel.rb +++ b/lib/open_api_sdk/models/operations/accesslevel.rb @@ -10,8 +10,8 @@ module Operations # AccessLevel - The access level of the folder within the workspace. class AccessLevel < T::Enum enums do - READ = new('read') WRITE = new('write') + READ = new('read') end end end diff --git a/lib/open_api_sdk/models/operations/createpartner_responsebody.rb b/lib/open_api_sdk/models/operations/createpartner_responsebody.rb index 7ddb350..46a35d1 100644 --- a/lib/open_api_sdk/models/operations/createpartner_responsebody.rb +++ b/lib/open_api_sdk/models/operations/createpartner_responsebody.rb @@ -32,6 +32,8 @@ class CreatePartnerResponseBody < ::OpenApiSDK::Utils::FieldAugmented field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } } + field :payouts_enabled, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('payoutsEnabled') } } + field :program_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } } field :sale_amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('saleAmount') } } @@ -45,8 +47,8 @@ class CreatePartnerResponseBody < ::OpenApiSDK::Utils::FieldAugmented field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } } - sig { params(clicks: ::Float, country: ::String, created_at: ::String, earnings: ::Float, email: ::String, id: ::String, image: ::String, leads: ::Float, links: T::Array[::OpenApiSDK::Operations::Links], name: ::String, program_id: ::String, sale_amount: ::Float, sales: ::Float, status: ::OpenApiSDK::Operations::Status, tenant_id: ::String, description: T.nilable(::String)).void } - def initialize(clicks: nil, country: nil, created_at: nil, earnings: nil, email: nil, id: nil, image: nil, leads: nil, links: nil, name: nil, program_id: nil, sale_amount: nil, sales: nil, status: nil, tenant_id: nil, description: nil) + sig { params(clicks: ::Float, country: ::String, created_at: ::String, earnings: ::Float, email: ::String, id: ::String, image: ::String, leads: ::Float, links: T::Array[::OpenApiSDK::Operations::Links], name: ::String, payouts_enabled: T::Boolean, program_id: ::String, sale_amount: ::Float, sales: ::Float, status: ::OpenApiSDK::Operations::Status, tenant_id: ::String, description: T.nilable(::String)).void } + def initialize(clicks: nil, country: nil, created_at: nil, earnings: nil, email: nil, id: nil, image: nil, leads: nil, links: nil, name: nil, payouts_enabled: nil, program_id: nil, sale_amount: nil, sales: nil, status: nil, tenant_id: nil, description: nil) @clicks = clicks @country = country @created_at = created_at @@ -57,6 +59,7 @@ def initialize(clicks: nil, country: nil, created_at: nil, earnings: nil, email: @leads = leads @links = links @name = name + @payouts_enabled = payouts_enabled @program_id = program_id @sale_amount = sale_amount @sales = sales diff --git a/lib/open_api_sdk/models/operations/updatefolder_accesslevel.rb b/lib/open_api_sdk/models/operations/updatefolder_accesslevel.rb index ab18bbb..c8f8c2f 100644 --- a/lib/open_api_sdk/models/operations/updatefolder_accesslevel.rb +++ b/lib/open_api_sdk/models/operations/updatefolder_accesslevel.rb @@ -10,8 +10,8 @@ module Operations # UpdateFolderAccessLevel - The access level of the folder within the workspace. class UpdateFolderAccessLevel < T::Enum enums do - READ = new('read') WRITE = new('write') + READ = new('read') end end end diff --git a/lib/open_api_sdk/models/shared/accesslevel.rb b/lib/open_api_sdk/models/shared/accesslevel.rb index e83cf7b..28b7a95 100644 --- a/lib/open_api_sdk/models/shared/accesslevel.rb +++ b/lib/open_api_sdk/models/shared/accesslevel.rb @@ -10,8 +10,8 @@ module Shared # AccessLevel - The access level of the folder within the workspace. class AccessLevel < T::Enum enums do - READ = new('read') WRITE = new('write') + READ = new('read') end end end diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index 269b418..dd40ee7 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.63' - @gen_version = '2.506.0' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.63 2.506.0 0.0.1 dub' + @sdk_version = '0.2.2-alpha.64' + @gen_version = '2.512.0' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.64 2.512.0 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) }