Skip to content

chore: 🐝 Update SDK - Generate 0.40.1 - #144

Merged
mstrivens merged 2 commits into
mainfrom
speakeasy-sdk-regen-1776937219
Apr 23, 2026
Merged

chore: 🐝 Update SDK - Generate 0.40.1#144
mstrivens merged 2 commits into
mainfrom
speakeasy-sdk-regen-1776937219

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

SDK update

Versioning

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

Tip

If updates to your OpenAPI document introduce breaking changes, be sure to update the info.version field to trigger the correct version bump.
Speakeasy supports manual control of SDK versioning through multiple methods.

Ruby SDK Changes:

  • stack_one.hris.create_employee():
    • request.hris_create_employee_request_dto.employment_status.source_value Changed (Breaking ⚠️)
  • stack_one.hris.update_employee():
    • request.hris_update_employee_request_dto.employment_status.source_value Changed (Breaking ⚠️)
  • stack_one.lms.list_user_assignments(): response.data[].status.source_value.union(integer) Added (Breaking ⚠️)
  • stack_one.lms.list_assignments(): response.data[].status.source_value.union(integer) Added (Breaking ⚠️)
  • stack_one.lms.get_user_assignment(): response.data.status.source_value.union(integer) Added (Breaking ⚠️)
  • stack_one.actions.rpc_action():
    • request Changed (Breaking ⚠️)
    • response Changed (Breaking ⚠️)
  • stack_one.actions.search_actions():
    • request.min_similarity Added
    • response.results[] Changed (Breaking ⚠️)
  • stack_one.lms.get_assignment(): response.data.status.source_value.union(integer) Added (Breaking ⚠️)
  • stack_one.mcp.mcp_post(): request Changed (Breaking ⚠️)
  • stack_one.hris.get_employee(): response.data.employment_status.source_value Changed (Breaking ⚠️)
  • stack_one.hris.list_employees(): response.data[].employment_status.source_value Changed (Breaking ⚠️)
  • stack_one.actions.rpc_action_synced(): Added
  • stack_one.actions.check_permissions(): Added
  • stack_one.connectors.list_connectors_meta(): Deprecated
  • stack_one.lms.create_user_assignment():
    • request.lms_create_assignment_request_dto.status.source_value.union(integer) Added
  • stack_one.connectors.get_connector_meta(): Deprecated
  • stack_one.actions.list_actions_meta(): response.data[] Changed
  • stack_one.accounts.get_account_meta_info(): Deprecated
  • stack_one.auth_configs.list_auth_configs(): Added
  • stack_one.proxy.proxy_request(): Deprecated

View full SDK changelog

OpenAPI Change Summary
├─┬Paths
│ ├──[+] path (23:5)
│ ├──[+] path (21:5)
│ ├──[+] path (13:5)
│ ├─┬/connectors/meta
│ │ └─┬GET
│ │   ├──[🔀] summary (14:2322)
│ │   └──[+] deprecated (14:46)
│ ├─┬/unified/proxy
│ │ └─┬POST
│ │   ├──[🔀] summary (22:3265)
│ │   └──[+] deprecated (22:45)
│ ├─┬/mcp
│ │ └─┬POST
│ │   ├──[+] parameters (16:368)❌ 
│ │   └──[+] parameters (16:686)❌ 
│ ├─┬/connectors/meta/{provider}
│ │ └─┬GET
│ │   ├──[🔀] summary (15:2372)
│ │   └──[+] deprecated (15:57)
│ ├─┬/actions/rpc
│ │ └─┬POST
│ │   ├──[+] parameters (20:149)❌ 
│ │   └─┬Responses
│ │     └─┬200
│ │       ├──[🔀] description (20:1060)
│ │       └─┬application/json
│ │         └─┬Schema
│ │           └──[🔀] $ref (20:1193)❌ 
│ └─┬/accounts/{id}/meta
│   └─┬GET
│     ├──[🔀] summary (8:2108)
│     └──[+] deprecated (8:49)
├─┬Tags
│ └──[+] Auth Configs (66194:5)
└─┬Components
  ├──[+] schemas (66519:31)
  ├──[+] schemas (66512:37)
  ├──[+] schemas (66549:25)
  ├──[+] schemas (66513:32)
  ├──[+] schemas (66536:37)
  ├──[+] schemas (66518:21)
  ├──[+] schemas (66514:32)
  ├──[+] schemas (66537:35)
  ├──[+] schemas (66547:28)
  ├─┬EmploymentStatusEnum
  │ └─┬source_value
  │   ├──[+] oneOf (69329:15)
  │   └─┬ONEOF
  │     └──[🔀] type (69317:25)❌ 
  ├─┬ActionsMeta
  │ ├──[+] properties (66508:1098)
  │ ├─┬icon
  │ │ └──[🔀] description (66508:755)
  │ ├─┬version
  │ │ ├──[+] items (66508:1595)❌ 
  │ │ ├──[🔀] type (66508:1579)❌ 
  │ │ └──[🔀] description (66508:1496)
  │ ├─┬name
  │ │ └──[🔀] description (66508:572)
  │ ├─┬key
  │ │ └──[🔀] description (66508:249)
  │ ├─┬scope_definitions
  │ │ ├──[-] items (66504:1414)❌ 
  │ │ ├──[🔀] type (66508:830)❌ 
  │ │ └──[🔀] description (66508:853)
  │ ├─┬release_stage
  │ │ └──[🔀] description (66508:491)
  │ ├─┬integration_id
  │ │ └──[🔀] description (66508:661)
  │ └─┬description
  │   ├──[+] items (66508:1260)❌ 
  │   ├──[🔀] type (66508:1244)❌ 
  │   ├──[🔀] description (66508:1126)
  │   └──[+] example (66508:1206)
  ├─┬ActionSearchResultDto
  │ ├──[+] required (66507:335)❌ 
  │ ├──[-] required (66503:547)❌ 
  │ ├──[-] required (66503:582)❌ 
  │ ├──[-] required (66503:590)❌ 
  │ ├──[-] required (66503:604)❌ 
  │ ├──[-] required (66503:533)❌ 
  │ ├──[-] properties (66503:63)❌ 
  │ ├──[-] properties (66503:136)❌ 
  │ ├──[-] properties (66503:353)❌ 
  │ ├──[-] properties (66503:283)❌ 
  │ ├──[-] properties (66503:420)❌ 
  │ └──[+] properties (66507:63)
  ├─┬AssignmentStatusEnum
  │ └─┬source_value
  │   └──[+] oneOf (85693:15)
  ├─┬GuideStepMeta
  │ ├──[+] properties (66552:432)
  │ ├──[+] properties (66552:323)
  │ ├──[+] properties (66552:571)
  │ ├─┬content
  │ │ ├──[+] items (66552:552)❌ 
  │ │ ├──[🔀] type (66552:536)❌ 
  │ │ ├──[🔀] description (66552:466)
  │ │ └──[+] nullable (66552:524)❌ 
  │ ├─┬list
  │ │ ├──[-] items (66540:304)❌ 
  │ │ ├──[🔀] type (66552:137)❌ 
  │ │ ├──[🔀] description (66552:160)
  │ │ └──[-] nullable (66540:276)❌ 
  │ └─┬title
  │   ├──[🔀] type (66552:347)❌ 
  │   ├──[🔀] description (66552:371)
  │   └──[+] nullable (66552:426)❌ 
  ├─┬ActionsRpcResponse
  │ ├──[+] additionalProperties (91582:33)❌ 
  │ ├──[+] description (91571:24)
  │ ├─┬data
  │ │ ├──[🔀] description (91574:28)
  │ │ ├──[-] oneOf (66508:238)❌ 
  │ │ ├──[-] oneOf (66508:285)❌ 
  │ │ └──[-] oneOf (66508:357)❌ 
  │ └─┬next
  │   ├──[-] type (66508:75)❌ 
  │   └──[🔀] description (91578:28)
  ├─┬ActionSearchDto
  │ ├──[+] properties (66505:367)
  │ ├─┬query
  │ │ ├──[🔀] type (66505:392)❌ 
  │ │ ├──[+] maximum (66505:552)❌ 
  │ │ ├──[+] minimum (66505:540)❌ 
  │ │ ├──[🔀] description (66505:415)
  │ │ ├──[+] default (66505:526)❌ 
  │ │ └──[🔀] example (66505:512)
  │ └─┬top_k
  │   ├──[🔀] type (66505:73)❌ 
  │   ├──[-] maximum (66501:362)❌ 
  │   ├──[-] minimum (66501:350)❌ 
  │   ├──[🔀] description (66505:96)
  │   ├──[-] default (66501:336)❌ 
  │   └──[+] example (66505:151)
  ├─┬ConnectSessionCreate
  │ ├─┬provider_version
  │ │ └──[🔀] description (66544:852)
  │ ├─┬provider
  │ │ └──[🔀] description (66544:583)
  │ └─┬integration_id
  │   └──[🔀] description (66544:2375)
  ├─┬GuideSectionMeta
  │ ├──[+] properties (66551:478)
  │ ├──[+] properties (66551:620)
  │ ├─┬title
  │ │ ├──[+] items (66551:316)❌ 
  │ │ ├──[🔀] type (66551:300)❌ 
  │ │ ├──[🔀] description (66551:248)
  │ │ └──[+] nullable (66551:288)❌ 
  │ ├─┬steps
  │ │ ├──[-] items (66539:431)❌ 
  │ │ ├──[-] type (66539:415)❌ 
  │ │ ├──[🔀] description (66551:643)
  │ │ └──[+] allOf (66549:25)
  │ ├─┬content
  │ │ ├──[+] items (66551:601)❌ 
  │ │ ├──[🔀] type (66551:585)❌ 
  │ │ ├──[🔀] description (66551:512)
  │ │ └──[+] nullable (66551:573)❌ 
  │ └─┬list
  │   ├──[-] items (66539:316)❌ 
  │   ├──[🔀] type (66551:143)❌ 
  │   ├──[🔀] description (66551:166)
  │   └──[-] nullable (66539:288)❌ 
  └─┬ActionsRpcRequestDto
    ├──[+] properties (66511:970)
    ├──[+] properties (66511:756)
    ├─┬path
    │ ├──[-] additionalProperties (66507:288)❌ 
    │ ├──[🔀] type (66511:783)❌ 
    │ ├──[🔀] description (66511:807)
    │ ├──[🔀] example (66511:930)
    │ └──[+] deprecated (66511:964)
    ├─┬query
    │ ├──[+] type (66511:475)❌ 
    │ ├──[🔀] description (66511:498)
    │ ├──[+] example (66511:533)
    │ └──[-] allOf (66506:29)❌ 
    └─┬headers
      ├──[-] additionalProperties (66507:608)❌ 
      ├──[-] type (66507:475)❌ 
      ├──[🔀] description (66511:1003)
      ├──[-] example (66507:533)
      └──[+] allOf (66547:28)
Document Element Total Changes Breaking Changes
paths 16 4
tags 1 0
components 112 56

View full report

Linting Report 0 errors, 8 warnings, 28 hints

View full report

RUBY CHANGELOG

constsAndDefaults: 0.1.4 - 2026-02-21

🐛 Bug Fixes

  • coerce type-mismatched default values instead of clearing them to prevent invalid generated code (commit by @danielkov)

core: 3.11.27 - 2026-03-24

🐛 Bug Fixes

  • reserve key and value as method argument keywords to prevent shadowing block variables (commit by @danielkov)

core: 3.11.26 - 2026-03-24

🐛 Bug Fixes

  • add missing empty line after attr_accessor in sub-SDK service classes (commit by @danielkov)

core: 3.11.25 - 2026-03-22

🐛 Bug Fixes

  • eliminate double assignment of SERVERS constant in Ruby Sorbet SDKs (commit by @subomi)

core: 3.11.24 - 2026-03-10

🐝 New Features

  • Improved formatter memory allocations for faster performance when enableFormatting is enabled (commit by @bflad)

core: 3.11.23 - 2026-03-04

🐛 Bug Fixes

  • include global security in SDK Example Usage snippets and per-operation docs (commit by @mfbx9da4)

core: 3.11.22 - 2026-02-27

🐛 Bug Fixes

  • make serverURL optional when operations define their own servers (commit by @danielkov)

core: 3.11.21 - 2026-02-27

🐛 Bug Fixes

  • derive installation URL from repo URL for monorepo subdirectory support (commit by @bradcypert)

examples: 2.81.7 - 2026-02-27

🐛 Bug Fixes

  • don't show global server URL in examples when operation has its own servers (commit by @tristanspeakeasy)

globalSecurity: 2.81.11 - 2026-03-24

🐛 Bug Fixes

  • respect global security alternatives ordering and enforce operation-level security restrictions when hoisted (commit by @2ynn)

globalServerURLs: 2.83.1 - 2026-02-27

🐛 Bug Fixes

  • don't show global server URL in examples when operation has its own servers (commit by @tristanspeakeasy)

methodSecurity: 2.82.4 - 2026-03-09

🐛 Bug Fixes

  • allow method security hoisting when both global and operation-level security are optional (commit by @2ynn)

openEnums: 0.1.1 - 2026-03-06

🐛 Bug Fixes

pagination: 0.1.1 - 2026-02-21

🐛 Bug Fixes

  • handle cursor-based pagination when cursor input is inside a nested request body object and fix request field access in pagination methods (commit by @danielkov)

Based on Speakeasy CLI 1.761.9

Last updated by Speakeasy workflow


Summary by cubic

Regenerated the Ruby SDK to v0.40.1 (Speakeasy 1.761.9) with new Actions/Auth Configs APIs, updates to Actions RPC, and deprecations of legacy meta/proxy endpoints. Includes breaking changes to HRIS employment status and LMS assignment status types.

  • New Features

    • Added stack_one.actions.check_permissions() to validate user access.
    • Added stack_one.actions.rpc_action_synced() returning results with datasync metadata.
    • Added stack_one.auth_configs.list_auth_configs() to list auth configs.
    • stack_one.actions.search_actions() now supports min_similarity.
    • Docs: new helpers ParamStyle and ToolMode, plus more enum examples.
  • Migration

    • Actions RPC: stack_one.actions.rpc_action() request/response shapes changed; update DTO usage and parse ActionsRpcResponse accordingly.
    • HRIS: employment_status.source_value type changed across create/update/get/list employee; adjust enum/value handling.
    • LMS: assignment.status.source_value can now be an integer in get/list user assignments; handle union values.
    • MCP: stack_one.mcp.mcp_post() request schema changed.
    • Deprecations: stack_one.connectors.list_connectors_meta(), stack_one.connectors.get_connector_meta(), stack_one.accounts.get_account_meta_info(), and stack_one.proxy.proxy_request(); migrate to supported endpoints.

Written for commit 3dabe8d. Summary will update on new commits.

* `stack_one.hris.create_employee()`: 
  *  `request.hris_create_employee_request_dto.employment_status.source_value` **Changed** (Breaking ⚠️)
* `stack_one.hris.update_employee()`: 
  *  `request.hris_update_employee_request_dto.employment_status.source_value` **Changed** (Breaking ⚠️)
* `stack_one.lms.list_user_assignments()`:  `response.data[].status.source_value.union(integer)` **Added** (Breaking ⚠️)
* `stack_one.lms.list_assignments()`:  `response.data[].status.source_value.union(integer)` **Added** (Breaking ⚠️)
* `stack_one.lms.get_user_assignment()`:  `response.data.status.source_value.union(integer)` **Added** (Breaking ⚠️)
* `stack_one.actions.rpc_action()`: 
  *  `request` **Changed** (Breaking ⚠️)
  *  `response` **Changed** (Breaking ⚠️)
* `stack_one.actions.search_actions()`: 
  *  `request.min_similarity` **Added**
  *  `response.results[]` **Changed** (Breaking ⚠️)
* `stack_one.lms.get_assignment()`:  `response.data.status.source_value.union(integer)` **Added** (Breaking ⚠️)
* `stack_one.mcp.mcp_post()`:  `request` **Changed** (Breaking ⚠️)
* `stack_one.hris.get_employee()`:  `response.data.employment_status.source_value` **Changed** (Breaking ⚠️)
* `stack_one.hris.list_employees()`:  `response.data[].employment_status.source_value` **Changed** (Breaking ⚠️)
* `stack_one.actions.rpc_action_synced()`: **Added**
* `stack_one.actions.check_permissions()`: **Added**
* `stack_one.connectors.list_connectors_meta()`: **Deprecated**
* `stack_one.lms.create_user_assignment()`: 
  *  `request.lms_create_assignment_request_dto.status.source_value.union(integer)` **Added**
* `stack_one.connectors.get_connector_meta()`: **Deprecated**
* `stack_one.actions.list_actions_meta()`:  `response.data[]` **Changed**
* `stack_one.accounts.get_account_meta_info()`: **Deprecated**
* `stack_one.auth_configs.list_auth_configs()`: **Added**
* `stack_one.proxy.proxy_request()`: **Deprecated**
Copilot AI review requested due to automatic review settings April 23, 2026 09:43
@github-actions
github-actions Bot requested a review from a team as a code owner April 23, 2026 09:43
@github-actions github-actions Bot added the patch Patch version bump label Apr 23, 2026
@github-actions
github-actions Bot removed the request for review from Copilot April 23, 2026 09:43

@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.

16 issues found across 2928 files

Note: This PR contains a large number of files. cubic only reviews up to 75 files per PR, so some files may not have been reviewed. cubic prioritises the most important files to review.

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docs/models/operations/include.md">

<violation number="1" location="docs/models/operations/include.md:8">
P3: Qualify the enum reference in the example; `Include` is not defined at top level.</violation>
</file>

<file name="docs/models/shared/atscreateapplicationrequestdtovalue.md">

<violation number="1" location="docs/models/shared/atscreateapplicationrequestdtovalue.md:10">
P3: Qualify the enum constant in the example; the current snippet references an undefined top-level constant.</violation>
</file>

<file name="docs/models/shared/assignmentschemasstatusvalue.md">

<violation number="1" location="docs/models/shared/assignmentschemasstatusvalue.md:10">
P3: Use the namespaced enum constant here; the bare constant is not defined at top level, so the example is not runnable as written.</violation>
</file>

<file name="docs/models/shared/accountingtaxrateresult2.md">

<violation number="1" location="docs/models/shared/accountingtaxrateresult2.md:8">
P3: Use the fully qualified enum constant in the example; `AccountingTaxRateResult2` is not defined at top level.</violation>
</file>

<file name="docs/models/operations/queryparamtype.md">

<violation number="1" location="docs/models/operations/queryparamtype.md:10">
P3: Use the fully qualified Ruby constant in the example; `QueryParamType` is namespaced under `StackOne::Models::Operations`.</violation>
</file>

<file name="docs/models/operations/jobstatus.md">

<violation number="1" location="docs/models/operations/jobstatus.md:10">
P3: Use the fully qualified enum constant here; `JobStatus` is not defined at the top level.</violation>
</file>

<file name="docs/models/shared/accountingtaxrate2.md">

<violation number="1" location="docs/models/shared/accountingtaxrate2.md:8">
P3: Use the fully qualified enum constant in the example; `AccountingTaxRate2` is namespaced under `StackOne::Models::Shared` and isn’t available at the top level.</violation>
</file>

<file name="docs/models/operations/type.md">

<violation number="1" location="docs/models/operations/type.md:10">
P3: Use the fully-qualified enum constant in the example; `Type` is not defined at top level.</violation>
</file>

<file name="docs/models/operations/lmslistuserassignmentsqueryparamstatus.md">

<violation number="1" location="docs/models/operations/lmslistuserassignmentsqueryparamstatus.md:10">
P3: Prefix the enum with the SDK namespace so the example is executable.</violation>
</file>

<file name="docs/models/operations/queryparamorderby.md">

<violation number="1" location="docs/models/operations/queryparamorderby.md:10">
P3: Qualify the enum constant in the example; `QueryParamOrderBy` is namespaced under `StackOne::Models::Operations`, so this snippet is not runnable as written.</violation>
</file>

<file name="docs/models/shared/accountaddressvalue.md">

<violation number="1" location="docs/models/shared/accountaddressvalue.md:10">
P3: Use the SDK namespace in the example; `AccountAddressValue` is not defined at top level.</violation>
</file>

<file name="docs/models/shared/accountingjournalcreaterequestdtovalue.md">

<violation number="1" location="docs/models/shared/accountingjournalcreaterequestdtovalue.md:10">
P3: Use the generated namespace in the example; the unqualified constant isn’t defined.</violation>
</file>

<file name="docs/models/shared/assignmentvalue.md">

<violation number="1" location="docs/models/shared/assignmentvalue.md:10">
P3: Use the fully-qualified enum constant in the example; `AssignmentValue` is not defined at the top level.</violation>
</file>

<file name="docs/models/shared/action.md">

<violation number="1" location="docs/models/shared/action.md:10">
P3: Use the fully qualified enum constant in the example; `Action::READ` is not the SDK's exported constant path.</violation>
</file>

<file name="docs/models/shared/applicationvalue.md">

<violation number="1" location="docs/models/shared/applicationvalue.md:10">
P3: Use the fully qualified enum constant in the example; `ApplicationValue` is nested under `StackOne::Models::Shared`, so the snippet is not runnable as written.</violation>
</file>

<file name="docs/models/shared/assignmentschemasvalue.md">

<violation number="1" location="docs/models/shared/assignmentschemasvalue.md:10">
P3: Use the fully qualified enum constant in the example; the current snippet will not resolve `AssignmentSchemasValue` from `require "stackone_client"` alone.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

```ruby
require "stackone_client"

value = Include::ACTION_DETAILS

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Qualify the enum reference in the example; Include is not defined at top level.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/operations/include.md, line 8:

<comment>Qualify the enum reference in the example; `Include` is not defined at top level.</comment>

<file context>
@@ -1,5 +1,13 @@
+```ruby
+require "stackone_client"
+
+value = Include::ACTION_DETAILS
+```
+
</file context>
Fix with Cubic

Comment on lines +10 to +13
value = AtsCreateApplicationRequestDtoValue::ACTIVE

# Open enum: use .deserialize() to create instances from custom string values
custom = AtsCreateApplicationRequestDtoValue.deserialize("custom_value")

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Qualify the enum constant in the example; the current snippet references an undefined top-level constant.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/atscreateapplicationrequestdtovalue.md, line 10:

<comment>Qualify the enum constant in the example; the current snippet references an undefined top-level constant.</comment>

<file context>
@@ -2,6 +2,17 @@
+```ruby
+require "stackone_client"
+
+value = AtsCreateApplicationRequestDtoValue::ACTIVE
+
+# Open enum: use .deserialize() to create instances from custom string values
</file context>
Suggested change
value = AtsCreateApplicationRequestDtoValue::ACTIVE
# Open enum: use .deserialize() to create instances from custom string values
custom = AtsCreateApplicationRequestDtoValue.deserialize("custom_value")
value = StackOne::Models::Shared::AtsCreateApplicationRequestDtoValue::ACTIVE
# Open enum: use .deserialize() to create instances from custom string values
custom = StackOne::Models::Shared::AtsCreateApplicationRequestDtoValue.deserialize("custom_value")
Fix with Cubic

Comment on lines +10 to +13
value = AssignmentSchemasStatusValue::PENDING

# Open enum: use .deserialize() to create instances from custom string values
custom = AssignmentSchemasStatusValue.deserialize("custom_value")

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the namespaced enum constant here; the bare constant is not defined at top level, so the example is not runnable as written.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/assignmentschemasstatusvalue.md, line 10:

<comment>Use the namespaced enum constant here; the bare constant is not defined at top level, so the example is not runnable as written.</comment>

<file context>
@@ -2,6 +2,17 @@
+```ruby
+require "stackone_client"
+
+value = AssignmentSchemasStatusValue::PENDING
+
+# Open enum: use .deserialize() to create instances from custom string values
</file context>
Suggested change
value = AssignmentSchemasStatusValue::PENDING
# Open enum: use .deserialize() to create instances from custom string values
custom = AssignmentSchemasStatusValue.deserialize("custom_value")
value = StackOne::Models::Shared::AssignmentSchemasStatusValue::PENDING
# Open enum: use .deserialize() to create instances from custom string values
custom = StackOne::Models::Shared::AssignmentSchemasStatusValue.deserialize("custom_value")
Fix with Cubic

```ruby
require "stackone_client"

value = AccountingTaxRateResult2::TRUE

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the fully qualified enum constant in the example; AccountingTaxRateResult2 is not defined at top level.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/accountingtaxrateresult2.md, line 8:

<comment>Use the fully qualified enum constant in the example; `AccountingTaxRateResult2` is not defined at top level.</comment>

<file context>
@@ -1,5 +1,13 @@
+```ruby
+require "stackone_client"
+
+value = AccountingTaxRateResult2::TRUE
+```
+
</file context>
Suggested change
value = AccountingTaxRateResult2::TRUE
value = StackOne::Models::Shared::AccountingTaxRateResult2::TRUE
Fix with Cubic

```ruby
require "stackone_client"

value = QueryParamType::SICK

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the fully qualified Ruby constant in the example; QueryParamType is namespaced under StackOne::Models::Operations.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/operations/queryparamtype.md, line 10:

<comment>Use the fully qualified Ruby constant in the example; `QueryParamType` is namespaced under `StackOne::Models::Operations`.</comment>

<file context>
@@ -2,6 +2,14 @@
+```ruby
+require "stackone_client"
+
+value = QueryParamType::SICK
+```
+
</file context>
Suggested change
value = QueryParamType::SICK
value = StackOne::Models::Operations::QueryParamType::SICK
Fix with Cubic

```ruby
require "stackone_client"

value = AccountingJournalCreateRequestDtoValue::AED

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the generated namespace in the example; the unqualified constant isn’t defined.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/accountingjournalcreaterequestdtovalue.md, line 10:

<comment>Use the generated namespace in the example; the unqualified constant isn’t defined.</comment>

<file context>
@@ -2,6 +2,17 @@
+```ruby
+require "stackone_client"
+
+value = AccountingJournalCreateRequestDtoValue::AED
+
+# Open enum: use .deserialize() to create instances from custom string values
</file context>
Fix with Cubic

```ruby
require "stackone_client"

value = AssignmentValue::CONTENT

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the fully-qualified enum constant in the example; AssignmentValue is not defined at the top level.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/assignmentvalue.md, line 10:

<comment>Use the fully-qualified enum constant in the example; `AssignmentValue` is not defined at the top level.</comment>

<file context>
@@ -2,6 +2,17 @@
+```ruby
+require "stackone_client"
+
+value = AssignmentValue::CONTENT
+
+# Open enum: use .deserialize() to create instances from custom string values
</file context>
Fix with Cubic

```ruby
require "stackone_client"

value = Action::READ

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the fully qualified enum constant in the example; Action::READ is not the SDK's exported constant path.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/action.md, line 10:

<comment>Use the fully qualified enum constant in the example; `Action::READ` is not the SDK's exported constant path.</comment>

<file context>
@@ -0,0 +1,22 @@
+```ruby
+require "stackone_client"
+
+value = Action::READ
+```
+
</file context>
Fix with Cubic

```ruby
require "stackone_client"

value = ApplicationValue::ACTIVE

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the fully qualified enum constant in the example; ApplicationValue is nested under StackOne::Models::Shared, so the snippet is not runnable as written.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/applicationvalue.md, line 10:

<comment>Use the fully qualified enum constant in the example; `ApplicationValue` is nested under `StackOne::Models::Shared`, so the snippet is not runnable as written.</comment>

<file context>
@@ -2,6 +2,17 @@
+```ruby
+require "stackone_client"
+
+value = ApplicationValue::ACTIVE
+
+# Open enum: use .deserialize() to create instances from custom string values
</file context>
Fix with Cubic

Comment on lines +10 to +13
value = AssignmentSchemasValue::PASS

# Open enum: use .deserialize() to create instances from custom string values
custom = AssignmentSchemasValue.deserialize("custom_value")

@cubic-dev-ai cubic-dev-ai Bot Apr 23, 2026

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: Use the fully qualified enum constant in the example; the current snippet will not resolve AssignmentSchemasValue from require "stackone_client" alone.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/models/shared/assignmentschemasvalue.md, line 10:

<comment>Use the fully qualified enum constant in the example; the current snippet will not resolve `AssignmentSchemasValue` from `require "stackone_client"` alone.</comment>

<file context>
@@ -2,6 +2,17 @@
+```ruby
+require "stackone_client"
+
+value = AssignmentSchemasValue::PASS
+
+# Open enum: use .deserialize() to create instances from custom string values
</file context>
Suggested change
value = AssignmentSchemasValue::PASS
# Open enum: use .deserialize() to create instances from custom string values
custom = AssignmentSchemasValue.deserialize("custom_value")
value = StackOne::Models::Shared::AssignmentSchemasValue::PASS
# Open enum: use .deserialize() to create instances from custom string values
custom = StackOne::Models::Shared::AssignmentSchemasValue.deserialize("custom_value")
Fix with Cubic

@mstrivens mstrivens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mstrivens
mstrivens merged commit a40d911 into main Apr 23, 2026
1 check passed
@mstrivens
mstrivens deleted the speakeasy-sdk-regen-1776937219 branch April 23, 2026 10:13
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