Skip to content

Commit

Permalink
Merge pull request #83 from dubinc/speakeasy-sdk-regen-1739406409
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.2.2-alpha.64
  • Loading branch information
devkiran authored Feb 13, 2025
2 parents 2aba42a + 7ec4b69 commit c1ee65c
Show file tree
Hide file tree
Showing 15 changed files with 48 additions and 33 deletions.
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -1332,7 +1332,7 @@ examples:
application/json: {"programId": "<id>", "name": "<value>", "email": "[email protected]", "username": "Aaliyah_Borer", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."]}}
responses:
"201":
application/json: {"id": "<id>", "name": "<value>", "email": "[email protected]", "image": "https://loremflickr.com/1/679?lock=7139282333236917", "country": "Slovenia", "createdAt": "1730216871840", "status": "pending", "programId": "<id>", "tenantId": "<id>", "links": [{"id": "<id>", "domain": "probable-heating.com", "key": "<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": "<id>", "name": "<value>", "email": "[email protected]", "image": "https://loremflickr.com/1/679?lock=7139282333236917", "country": "Slovenia", "payoutsEnabled": true, "createdAt": "1730216871840", "status": "pending", "programId": "<id>", "tenantId": "<id>", "links": [{"id": "<id>", "domain": "probable-heating.com", "key": "<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":
Expand Down
3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
4 changes: 2 additions & 2 deletions docs/models/operations/accesslevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ The access level of the folder within the workspace.

| Name | Value |
| ------- | ------- |
| `READ` | read |
| `WRITE` | write |
| `WRITE` | write |
| `READ` | read |
1 change: 1 addition & 0 deletions docs/models/operations/createpartnerresponsebody.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions docs/models/operations/updatefolderaccesslevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ The access level of the folder within the workspace.

| Name | Value |
| ------- | ------- |
| `READ` | read |
| `WRITE` | write |
| `WRITE` | write |
| `READ` | read |
4 changes: 2 additions & 2 deletions docs/models/shared/accesslevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ The access level of the folder within the workspace.

| Name | Value |
| ------- | ------- |
| `READ` | read |
| `WRITE` | write |
| `WRITE` | write |
| `READ` | read |
2 changes: 1 addition & 1 deletion dub.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 = '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 = ''
Expand Down
2 changes: 1 addition & 1 deletion lib/open_api_sdk/models/operations/accesslevel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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') } }
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/open_api_sdk/models/shared/accesslevel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions lib/open_api_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 = '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]]) }
Expand Down

0 comments on commit c1ee65c

Please sign in to comment.