Skip to content

chore: 🐝 Update SDK - Generate 0.39.3 - #134

Merged
jrebocho merged 2 commits into
mainfrom
speakeasy-sdk-regen-1764579791
Dec 3, 2025
Merged

chore: 🐝 Update SDK - Generate 0.39.3#134
jrebocho merged 2 commits into
mainfrom
speakeasy-sdk-regen-1764579791

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

SDK update

Versioning

Version Bump Type: [patch] - 🤖 (automated)

Ruby SDK Changes:

  • stack_one.hris.get_employee(): response.data Changed Breaking ⚠️
  • stack_one.hris.list_employees(): response.data.[] Changed Breaking ⚠️
  • stack_one.ats.create_interview_note(): Added
  • stack_one.ats.update_interview_note(): Added
  • stack_one.lms.update_content(): Deleted Breaking ⚠️
  • stack_one.accounts.update_account():
    • request.patch_account_external_dto.integration_id Added
  • stack_one.connect_sessions.authenticate_connect_session(): response.integration_id Added
  • stack_one.connect_sessions.create_connect_session():
    • request.integration_id Added
    • response.integration_id Added
  • stack_one.hris.get_employee_employment(): response.data.manager.[] Changed
  • stack_one.hris.get_employment(): response.data.manager.[] Changed
  • stack_one.hris.list_employee_employments(): response.data.[].manager.[] Changed
  • stack_one.hris.list_employments(): response.data.[].manager.[] Changed
OpenAPI Change Summary
├─┬Paths
│ ├──[+] path (33509:5)
│ ├──[+] path (33316:5)
│ ├─┬/unified/lms/content/batch
│ │ └─┬POST
│ │   └──[🔀] description (50817:24)
│ ├─┬/unified/hris/employees
│ │ └─┬GET
│ │   ├─┬Parameters
│ │   │ └─┬Schema
│ │   │   └──[🔀] example (5229:26)
│ │   └─┬Parameters
│ │     └─┬Schema
│ │       └──[🔀] example (5142:26)
│ ├─┬/unified/lms/content
│ │ └─┬PUT
│ │   └──[🔀] description (51302:24)
│ ├─┬/unified/lms/content/{id}
│ │ └──[-] patch (1:867888)❌ 
│ ├─┬/unified/hris/employees/{id}/shifts
│ │ └─┬GET
│ │   └─┬Parameters
│ │     └──[🔀] description (6281:28)
│ └─┬/unified/hris/employees/{id}
│   └─┬GET
│     ├─┬Parameters
│     │ └─┬Schema
│     │   └──[🔀] example (5655:26)
│     └─┬Parameters
│       └─┬Schema
│         └──[🔀] example (5666:26)
└─┬Components
  ├──[-] schemas (1:1558762)❌ 
  ├──[-] schemas (1:1348139)❌ 
  ├─┬ConnectSession
  │ ├──[+] properties (71116:11)
  │ ├─┬provider
  │ │ └──[-] nullable (1:1199565)❌ 
  │ ├─┬type
  │ │ ├──[-] enum (1:1200314)❌ 
  │ │ ├──[-] enum (1:1200328)❌ 
  │ │ ├──[-] enum (1:1200336)❌ 
  │ │ ├──[-] enum (1:1200354)❌ 
  │ │ ├──[-] description (1:1200376)
  │ │ ├──[-] example (1:1200441)
  │ │ └─┬Extensions
  │ │   └──[-] x-speakeasy-unknown-values (1:1200495)❌ 
  │ ├─┬organization_id
  │ │ ├──[🔀] type (71090:21)❌ 
  │ │ ├──[+] description (71091:28)
  │ │ └──[+] nullable (71092:25)❌ 
  │ ├─┬origin_username
  │ │ └──[-] nullable (1:1199702)❌ 
  │ ├─┬project_id
  │ │ └──[+] nullable (71075:25)❌ 
  │ ├─┬label
  │ │ └──[+] description (71118:28)
  │ ├─┬metadata
  │ │ ├──[🔀] type (71082:21)❌ 
  │ │ └──[-] description (1:1199911)
  │ └─┬origin_owner_id
  │   └──[🔀] type (71017:21)❌ 
  ├─┬ConnectSessionCreate
  │ ├──[+] properties (71254:11)
  │ ├─┬provider
  │ │ └──[🔀] description (71208:28)
  │ ├─┬multiple
  │ │ ├──[🔀] type (71223:21)❌ 
  │ │ ├──[🔀] description (71224:28)
  │ │ └──[-] default (1:1202512)❌ 
  │ ├─┬label
  │ │ └──[🔀] description (71256:28)
  │ ├─┬provider_version
  │ │ └──[🔀] description (71190:28)
  │ ├─┬metadata
  │ │ ├──[🔀] type (71234:21)❌ 
  │ │ └──[🔀] description (71235:28)
  │ ├─┬origin_username
  │ │ ├──[🔀] description (71204:28)
  │ │ └──[-] nullable (1:1201821)❌ 
  │ ├─┬type
  │ │ ├──[-] enum (1:1202716)❌ 
  │ │ ├──[-] enum (1:1202730)❌ 
  │ │ ├──[-] enum (1:1202738)❌ 
  │ │ ├──[🔀] description (71195:28)
  │ │ ├──[-] default (1:1202807)❌ 
  │ │ ├──[-] example (1:1202850)
  │ │ └─┬Extensions
  │ │   └──[-] x-speakeasy-unknown-values (1:1202904)❌ 
  │ ├─┬origin_owner_name
  │ │ └──[🔀] description (71200:28)
  │ └─┬origin_owner_id
  │   ├──[🔀] type (71228:21)❌ 
  │   ├──[🔀] description (71229:28)
  │   ├──[+] default (71230:24)❌ 
  │   └──[+] nullable (71231:25)❌ 
  ├─┬PatchAccountExternalDto
  │ ├──[+] properties (71742:11)
  │ ├─┬label
  │ │ └──[🔀] type (71743:21)❌ 
  │ ├─┬type
  │ │ ├──[+] additionalProperties (71702:37)❌ 
  │ │ ├──[-] enum (1:1209881)❌ 
  │ │ ├──[-] enum (1:1209895)❌ 
  │ │ ├──[-] enum (1:1209903)❌ 
  │ │ ├──[🔀] type (71701:21)❌ 
  │ │ ├──[-] description (1:1209925)
  │ │ ├──[-] example (1:1209974)
  │ │ └─┬Extensions
  │ │   └──[-] x-speakeasy-unknown-values (1:1210028)❌ 
  │ ├─┬metadata
  │ │ └──[-] additionalProperties (1:1209819)❌ 
  │ ├─┬secrets
  │ │ ├──[-] additionalProperties (1:1209571)❌ 
  │ │ └──[🔀] type (71680:21)❌ 
  │ └─┬origin_owner_id
  │   ├──[+] additionalProperties (71724:37)❌ 
  │   └──[🔀] type (71723:21)❌ 
  ├─┬EmploymentManagerApiModel
  │ ├──[+] properties (75547:11)
  │ ├──[+] properties (75541:11)
  │ ├─┬role
  │ │ ├──[+] type (75542:21)❌ 
  │ │ ├──[🔀] description (75543:28)
  │ │ ├──[+] example (75545:24)
  │ │ └──[-] allOf (1:1348700)❌ 
  │ ├─┬id
  │ │ ├──[🔀] description (75549:28)
  │ │ └──[🔀] example (75551:24)
  │ └─┬remote_id
  │   └──[🔀] description (75531:28)
  ├─┬ConnectSessionTokenAuthLink
  │ ├──[+] properties (71371:11)
  │ ├─┬metadata
  │ │ ├──[🔀] type (71337:21)❌ 
  │ │ └──[-] description (1:1203982)
  │ ├─┬origin_username
  │ │ └──[-] nullable (1:1203773)❌ 
  │ ├─┬type
  │ │ ├──[-] enum (1:1204385)❌ 
  │ │ ├──[-] enum (1:1204399)❌ 
  │ │ ├──[-] enum (1:1204407)❌ 
  │ │ ├──[-] enum (1:1204425)❌ 
  │ │ ├──[-] description (1:1204447)
  │ │ ├──[-] nullable (1:1204495)❌ 
  │ │ ├──[-] example (1:1204512)
  │ │ └─┬Extensions
  │ │   └──[-] x-speakeasy-unknown-values (1:1204566)❌ 
  │ ├─┬origin_owner_id
  │ │ └──[🔀] type (71272:21)❌ 
  │ ├─┬project_id
  │ │ └──[+] nullable (71330:25)❌ 
  │ ├─┬label
  │ │ └──[+] description (71373:28)
  │ ├─┬provider
  │ │ └──[-] nullable (1:1203636)❌ 
  │ ├─┬token
  │ │ └──[+] nullable (71320:25)❌ 
  │ └─┬organization_id
  │   ├──[🔀] type (71345:21)❌ 
  │   ├──[+] description (71346:28)
  │   └──[+] nullable (71347:25)❌ 
  └─┬Employee
    └──[-] properties (1:1263515)❌ 
Document Element Total Changes Breaking Changes
paths 10 1
components 88 51

RUBY CHANGELOG

core: 3.11.4 - 2025-11-24

🐝 New Features

  • union discriminators are inferred for oneOfs missing the explicit OpenAPI discriminator mapping. Configure via inferUnionDiscriminators: true in gen.yaml (commit by @mfbx9da4)

unions: 0.1.2 - 2025-11-26

🐝 New Features

  • support union discriminator mappings (commit by @idbentley)

Based on Speakeasy CLI 1.665.0


Summary by cubic

Regenerated Ruby SDK to 0.39.3. Adds ATS interview note APIs, integration_id support in Connect Sessions and Accounts, updates HRIS manager fields, and removes LMS update_content; also fixes multipart array uploads.

  • New Features

    • ATS: added create_interview_note and update_interview_note.
    • Connect Sessions: authenticate and create now return integration_id; create accepts integration_id.
    • Accounts: update_account accepts integration_id in PatchAccountExternalDto.
  • Migration

    • LMS: update_content removed. Use upsert_content or batch_upsert_content. Partial updates are not supported; send all required fields.
    • HRIS: Employee.manager removed and manager details moved to EmploymentManagerApiModel. Response shapes for employee/employment endpoints changed; update expansions/field selections accordingly.

Written for commit e95baca. Summary will update automatically on new commits.

* `stack_one.hris.get_employee()`:  `response.data` **Changed** **Breaking** ⚠️
* `stack_one.hris.list_employees()`:  `response.data.[]` **Changed** **Breaking** ⚠️
* `stack_one.ats.create_interview_note()`: **Added**
* `stack_one.ats.update_interview_note()`: **Added**
* `stack_one.lms.update_content()`: **Deleted** **Breaking** ⚠️
* `stack_one.accounts.update_account()`: 
  *  `request.patch_account_external_dto.integration_id` **Added**
* `stack_one.connect_sessions.authenticate_connect_session()`:  `response.integration_id` **Added**
* `stack_one.connect_sessions.create_connect_session()`: 
  *  `request.integration_id` **Added**
  *  `response.integration_id` **Added**
* `stack_one.hris.get_employee_employment()`:  `response.data.manager.[]` **Changed**
* `stack_one.hris.get_employment()`:  `response.data.manager.[]` **Changed**
* `stack_one.hris.list_employee_employments()`:  `response.data.[].manager.[]` **Changed**
* `stack_one.hris.list_employments()`:  `response.data.[].manager.[]` **Changed**
@github-actions
github-actions Bot requested a review from a team as a code owner December 1, 2025 09:13
@github-actions github-actions Bot added the patch Patch version bump label Dec 1, 2025

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 82 files

Prompt for AI agents (all 2 issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="lib/crystalline/types.rb">

<violation number="1" location="lib/crystalline/types.rb:49">
P1: Initialize super check misses superclass initializers; may skip required setup.</violation>

<violation number="2" location="lib/crystalline/types.rb:74">
P3: Raise a specific error class (ArgumentError) for invalid enum values.</violation>
</file>

Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR

Comment thread lib/crystalline/types.rb
if @mapping.include? val
@mapping[val]
else
raise "Invalid value for enum: #{val}"

@cubic-dev-ai cubic-dev-ai Bot Dec 1, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: Raise a specific error class (ArgumentError) for invalid enum values.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At lib/crystalline/types.rb, line 74:

<comment>Raise a specific error class (ArgumentError) for invalid enum values.</comment>

<file context>
@@ -41,38 +41,43 @@ class Boolean
+        if @mapping.include? val
+          @mapping[val]
+        else
+          raise &quot;Invalid value for enum: #{val}&quot;
         end
-        @mapping[instance.serialize] = instance
</file context>
Suggested change
raise "Invalid value for enum: #{val}"
raise ArgumentError, "Invalid value for enum: #{val}"
Fix with Cubic

Comment thread lib/crystalline/types.rb
def initialize(val)
puts methods
if instance_methods(false).include?(:initialize)
if self.class.instance_methods(false).include?(:initialize)

@cubic-dev-ai cubic-dev-ai Bot Dec 1, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: Initialize super check misses superclass initializers; may skip required setup.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At lib/crystalline/types.rb, line 49:

<comment>Initialize super check misses superclass initializers; may skip required setup.</comment>

<file context>
@@ -41,38 +41,43 @@ class Boolean
     def initialize(val)
-      puts methods
-      if instance_methods(false).include?(:initialize)
+      if self.class.instance_methods(false).include?(:initialize)
         super(val)
       else
</file context>
Fix with Cubic

@jrebocho
jrebocho merged commit 0131d78 into main Dec 3, 2025
1 check passed
@jrebocho
jrebocho deleted the speakeasy-sdk-regen-1764579791 branch December 3, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Patch version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants