Skip to content

Commit 79e3ea4

Browse files
committed
## Ruby SDK Changes:
* `stack_one.actions.rpc_action()`: * `request` **Changed** (Breaking ⚠️) * `response.union(ActionsSyncedResponse).datasync` **Changed** (Breaking ⚠️) * `stack_one.actions.rpc_action_synced()`: * `request.actions_rpc_synced_request_dto` **Changed** * `response.datasync` **Changed** (Breaking ⚠️) * `stack_one.iam.list_resource_users()`: **Added** * `stack_one.iam.get_me()`: **Added** * `stack_one.iam.list_resource_types()`: **Added** * `stack_one.connect_sessions.get_connect_session()`: **Added** * `stack_one.accounts.delete_account()`: `response.categories` **Added** * `stack_one.accounts.get_account()`: `response.categories` **Added** * `stack_one.accounts.list_linked_accounts()`: `response.[].categories` **Added** * `stack_one.accounts.update_account()`: `response.categories` **Added** * `stack_one.iam.get_organization()`: **Added** * `stack_one.iam.list_organizations()`: **Added** * `stack_one.connect_sessions.authenticate_connect_session()`: `response.latest_connection_attempt` **Added** * `stack_one.connect_sessions.create_connect_session()`: `response.latest_connection_attempt` **Added** * `stack_one.iam.get_group()`: `response.data` **Changed** * `stack_one.iam.get_policy()`: `response.data.permissions[].scopes` **Added** * `stack_one.iam.get_role()`: `response.data` **Changed** * `stack_one.iam.get_user()`: `response.data` **Changed** * `stack_one.iam.list_groups()`: `response.data[]` **Changed** * `stack_one.iam.list_policies()`: `response.data[].permissions[].scopes` **Added** * `stack_one.iam.list_roles()`: `response.data[]` **Changed** * `stack_one.iam.list_users()`: `response.data[]` **Changed**
1 parent a40d911 commit 79e3ea4

199 files changed

Lines changed: 9442 additions & 381 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/gen.lock

Lines changed: 898 additions & 125 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.761.9
1+
speakeasyVersion: 1.762.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:249876342d970f9533ed0293f78fec1751a16256f029b9ec9831635c41e46238
6-
sourceBlobDigest: sha256:49f00175faac73c42d5896f8b60329ef1c1707ae0db915d623d79497ee233dc9
5+
sourceRevisionDigest: sha256:c35082ec5b5508d4ce90d343aac35c9e2042fd5de59865fce9029820b6ed817d
6+
sourceBlobDigest: sha256:4d78decb4062fb42b0eb66e4c478d5d01675e3246a2ea1234a2ec9812e3c325f
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
StackOneRubyClient:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:249876342d970f9533ed0293f78fec1751a16256f029b9ec9831635c41e46238
15-
sourceBlobDigest: sha256:49f00175faac73c42d5896f8b60329ef1c1707ae0db915d623d79497ee233dc9
14+
sourceRevisionDigest: sha256:c35082ec5b5508d4ce90d343aac35c9e2042fd5de59865fce9029820b6ed817d
15+
sourceBlobDigest: sha256:4d78decb4062fb42b0eb66e4c478d5d01675e3246a2ea1234a2ec9812e3c325f
1616
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
17-
codeSamplesRevisionDigest: sha256:fb706e1f71b3b912b18cc0e83ce671aaa1d62ebb9b6baa3d5693e05b0a65298b
17+
codeSamplesRevisionDigest: sha256:068d54872d7142a8be6b008f361217e32ba0030f5aa82bda2bc65fa332301e4d
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ end
258258

259259
* [authenticate_connect_session](docs/sdks/connectsessions/README.md#authenticate_connect_session) - Authenticate Connect Session
260260
* [create_connect_session](docs/sdks/connectsessions/README.md#create_connect_session) - Create Connect Session
261+
* [get_connect_session](docs/sdks/connectsessions/README.md#get_connect_session) - Get Connect Session
261262

262263
### [~~Connectors~~](docs/sdks/connectors/README.md)
263264

@@ -369,11 +370,16 @@ end
369370

370371
* [delete_user](docs/sdks/iam/README.md#delete_user) - Delete User
371372
* [get_group](docs/sdks/iam/README.md#get_group) - Get Group
373+
* [get_me](docs/sdks/iam/README.md#get_me) - Get Me
374+
* [get_organization](docs/sdks/iam/README.md#get_organization) - Get Organization
372375
* [get_policy](docs/sdks/iam/README.md#get_policy) - Get Policy
373376
* [get_role](docs/sdks/iam/README.md#get_role) - Get Role
374377
* [get_user](docs/sdks/iam/README.md#get_user) - Get User
375378
* [list_groups](docs/sdks/iam/README.md#list_groups) - List Groups
379+
* [list_organizations](docs/sdks/iam/README.md#list_organizations) - List Organizations
376380
* [list_policies](docs/sdks/iam/README.md#list_policies) - List Policies
381+
* [list_resource_types](docs/sdks/iam/README.md#list_resource_types) - List Resource Types
382+
* [list_resource_users](docs/sdks/iam/README.md#list_resource_users) - List Resource Users
377383
* [list_roles](docs/sdks/iam/README.md#list_roles) - List Roles
378384
* [list_users](docs/sdks/iam/README.md#list_users) - List Users
379385
* [update_user](docs/sdks/iam/README.md#update_user) - Update User

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,4 +1108,14 @@ Based on:
11081108
### Generated
11091109
- [ruby v0.40.1] .
11101110
### Releases
1111-
- [Ruby Gems v0.40.1] https://rubygems.org/gems/stackone_client/versions/0.40.1 - .
1111+
- [Ruby Gems v0.40.1] https://rubygems.org/gems/stackone_client/versions/0.40.1 - .
1112+
1113+
## 2026-05-11 10:17:12
1114+
### Changes
1115+
Based on:
1116+
- OpenAPI Doc
1117+
- Speakeasy CLI 1.762.0 (2.882.0) https://github.com/speakeasy-api/speakeasy
1118+
### Generated
1119+
- [ruby v0.41.0] .
1120+
### Releases
1121+
- [Ruby Gems v0.41.0] https://rubygems.org/gems/stackone_client/versions/0.41.0 - .

codeSamples.yaml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ actions:
4444
"x-codeSamples":
4545
- "lang": "ruby"
4646
"label": "stackone_rpc_action"
47-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::StackoneRpcActionRequest.new(\n actions_rpc_request_dto: Models::Shared::ActionsRpcRequestDto.new(\n action: 'create_employee',\n body: {\n 'data' => 'example',\n },\n defender_config: Models::Shared::DefenderConfig.new(\n block_high_risk: false,\n enabled: true,\n use_tier1_classification: true,\n use_tier2_classification: true\n ),\n headers: {\n 'Content-Type' => 'application/json',\n },\n path: {\n 'id' => '123',\n },\n query: Models::Shared::Query.new(\n debug: false\n )\n ),\n debug: false,\n run_id: '550e8400-e29b-41d4-a716-446655440000',\n sync: false,\n x_account_id: '<id>'\n)\nres = s.actions.rpc_action(request: req)\n\nunless res.one_of.nil?\n # handle response\nend"
47+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\nres = s.actions.rpc_action(actions_rpc_request_dto: Models::Shared::ActionsRpcRequestDto.new(\n action: 'create_employee',\n body: {\n 'data' => 'example',\n },\n defender_config: Models::Shared::DefenderConfig.new(\n block_high_risk: false,\n enabled: true,\n use_tier1_classification: true,\n use_tier2_classification: true\n ),\n headers: {\n 'Content-Type' => 'application/json',\n },\n path: {\n 'id' => '123',\n },\n query: Models::Shared::Query.new(\n debug: false\n )\n), x_account_id: '<id>', debug: false, sync: false)\n\nunless res.one_of.nil?\n # handle response\nend"
4848
- target: $["paths"]["/actions/rpc/synced"]["post"]
4949
update:
5050
"x-codeSamples":
5151
- "lang": "ruby"
5252
"label": "stackone_rpc_action_synced"
53-
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\nres = s.actions.rpc_action_synced(actions_rpc_synced_request_dto: Models::Shared::ActionsRpcSyncedRequestDto.new(\n action: 'create_employee',\n filter: {\n 'status' => 'active',\n },\n path: {\n 'id' => '123',\n },\n run_id: '550e8400-e29b-41d4-a716-446655440000'\n), page_size: 25.0, skip: 0.0)\n\nunless res.actions_synced_response.nil?\n # handle response\nend"
53+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\nres = s.actions.rpc_action_synced(actions_rpc_synced_request_dto: Models::Shared::ActionsRpcSyncedRequestDto.new(\n action: 'create_employee',\n body: {\n 'search' => 'John',\n },\n filter: {\n 'status' => 'active',\n },\n headers: {\n 'x-custom-header' => 'value',\n },\n path: {\n 'id' => '123',\n },\n query: {\n 'account_id' => 'abc',\n },\n run_id: '550e8400-e29b-41d4-a716-446655440000'\n), page_size: 25.0, skip: 0.0)\n\nunless res.actions_synced_response.nil?\n # handle response\nend"
5454
- target: $["paths"]["/actions/search"]["post"]
5555
update:
5656
"x-codeSamples":
@@ -75,6 +75,12 @@ actions:
7575
- "lang": "ruby"
7676
"label": "stackone_authenticate_connect_session"
7777
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Shared::ConnectSessionAuthenticate.new(\n token: '<value>'\n)\nres = s.connect_sessions.authenticate_connect_session(request: req)\n\nunless res.connect_session.nil?\n # handle response\nend"
78+
- target: $["paths"]["/connect_sessions/{id}"]["get"]
79+
update:
80+
"x-codeSamples":
81+
- "lang": "ruby"
82+
"label": "stackone_get_connect_session"
83+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\nres = s.connect_sessions.get_connect_session(id: 9637.9)\n\nunless res.connect_session.nil?\n # handle response\nend"
7884
- target: $["paths"]["/mcp"]["delete"]
7985
update:
8086
"x-codeSamples":
@@ -1179,6 +1185,24 @@ actions:
11791185
- "lang": "ruby"
11801186
"label": "iam_get_group"
11811187
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::IamGetGroupRequest.new(\n prefer: 'heartbeat',\n expand: 'roles',\n fields_: 'id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at,unified_custom_fields',\n id: '<id>',\n x_account_id: '<id>'\n)\nres = s.iam.get_group(request: req)\n\nunless res.iam_group_result.nil?\n # handle response\nend"
1188+
- target: $["paths"]["/unified/iam/me"]["get"]
1189+
update:
1190+
"x-codeSamples":
1191+
- "lang": "ruby"
1192+
"label": "iam_get_me"
1193+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::IamGetMeRequest.new(\n prefer: 'heartbeat',\n fields_: 'name,auth_type,scopes,permissions,last_accessed_at,user,unified_custom_fields',\n x_account_id: '<id>'\n)\nres = s.iam.get_me(request: req)\n\nunless res.iam_credentials_result.nil?\n # handle response\nend"
1194+
- target: $["paths"]["/unified/iam/organizations"]["get"]
1195+
update:
1196+
"x-codeSamples":
1197+
- "lang": "ruby"
1198+
"label": "iam_list_organizations"
1199+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::IamListOrganizationsRequest.new(\n prefer: 'heartbeat',\n fields_: 'id,remote_id,remote_remote_id,name,created_at,updated_at,unified_custom_fields',\n filter: nil,\n x_account_id: '<id>'\n)\nres = s.iam.list_organizations(request: req)\n\nunless res.iam_organizations_paginated.nil?\n # handle response\nend"
1200+
- target: $["paths"]["/unified/iam/organizations/{id}"]["get"]
1201+
update:
1202+
"x-codeSamples":
1203+
- "lang": "ruby"
1204+
"label": "iam_get_organization"
1205+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::IamGetOrganizationRequest.new(\n prefer: 'heartbeat',\n fields_: 'id,remote_id,remote_remote_id,name,created_at,updated_at,unified_custom_fields',\n id: '<id>',\n x_account_id: '<id>'\n)\nres = s.iam.get_organization(request: req)\n\nunless res.iam_organization_result.nil?\n # handle response\nend"
11821206
- target: $["paths"]["/unified/iam/policies"]["get"]
11831207
update:
11841208
"x-codeSamples":
@@ -1191,6 +1215,18 @@ actions:
11911215
- "lang": "ruby"
11921216
"label": "iam_get_policy"
11931217
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::IamGetPolicyRequest.new(\n prefer: 'heartbeat',\n expand: 'permissions',\n fields_: 'id,remote_id,name,permissions,description,created_at,updated_at,unified_custom_fields',\n id: '<id>',\n x_account_id: '<id>'\n)\nres = s.iam.get_policy(request: req)\n\nunless res.iam_policy_result.nil?\n # handle response\nend"
1218+
- target: $["paths"]["/unified/iam/resource_types"]["get"]
1219+
update:
1220+
"x-codeSamples":
1221+
- "lang": "ruby"
1222+
"label": "iam_list_resource_types"
1223+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::IamListResourceTypesRequest.new(\n prefer: 'heartbeat',\n x_account_id: '<id>'\n)\nres = s.iam.list_resource_types(request: req)\n\nunless res.iam_resource_types_result.nil?\n # handle response\nend"
1224+
- target: $["paths"]["/unified/iam/resource_users"]["get"]
1225+
update:
1226+
"x-codeSamples":
1227+
- "lang": "ruby"
1228+
"label": "iam_list_resource_users"
1229+
"source": "require 'stackone_client'\n\nModels = ::StackOne::Models\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n)\n\nreq = Models::Operations::IamListResourceUsersRequest.new(\n prefer: 'heartbeat',\n filter: Models::Operations::IamListResourceUsersQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z')\n ),\n resource_id: '02xcytpi2f2g0na',\n resource_type: 'group',\n x_account_id: '<id>'\n)\nres = s.iam.list_resource_users(request: req)\n\nunless res.iam_users_paginated.nil?\n # handle response\nend"
11941230
- target: $["paths"]["/unified/iam/roles"]["get"]
11951231
update:
11961232
"x-codeSamples":

docs/models/operations/iamgetgrouprequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Field | Type | Required | Description | Example |
77
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
88
| `prefer` | *T.nilable(::String)* | :heavy_minus_sign: | Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240) | heartbeat |
9-
| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | roles |
9+
| `expand` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | roles,users |
1010
| `fields_` | *T.nilable(::String)* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at,unified_custom_fields |
1111
| `id` | *::String* | :heavy_check_mark: | N/A | |
1212
| `proxy` | T::Hash[Symbol, *::Object*] | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | |

0 commit comments

Comments
 (0)