Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
212 changes: 209 additions & 3 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.531.4
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:065820898b2fa3bc8907f9a7367650e8b92b4ff658a1adc049fd0a8e24c8cc11
sourceBlobDigest: sha256:a02ccd55af272c898d16d06b0a9cc651a97b78b5ceac8d1c0ffdc2b8a52e8daa
sourceRevisionDigest: sha256:cae6b42cb2c2dcc85ace9940c1bc35724d85d24da6e62a09c784ec978878d316
sourceBlobDigest: sha256:5aa452c2840a0b2ae63d7e7a8502940452c77a2a9660f6f295a560b5ed5a4780
tags:
- latest
- speakeasy-sdk-regen-1752483877
- speakeasy-sdk-regen-1753088668
- 1.0.0
targets:
StackOneRubyClient:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:065820898b2fa3bc8907f9a7367650e8b92b4ff658a1adc049fd0a8e24c8cc11
sourceBlobDigest: sha256:a02ccd55af272c898d16d06b0a9cc651a97b78b5ceac8d1c0ffdc2b8a52e8daa
sourceRevisionDigest: sha256:cae6b42cb2c2dcc85ace9940c1bc35724d85d24da6e62a09c784ec978878d316
sourceBlobDigest: sha256:5aa452c2840a0b2ae63d7e7a8502940452c77a2a9660f6f295a560b5ed5a4780
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
codeSamplesRevisionDigest: sha256:afb7199a877a6d1a944ce990b56d3aff4fd24c053b175fa0c210ad19093f57f4
codeSamplesRevisionDigest: sha256:d2c505d7d66510a4f6fecab3b390b997c3016c2ec2dded0169c9216b79dd0bd4
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ end
* [get_application](docs/sdks/ats/README.md#get_application) - Get Application
* [get_application_custom_field_definition](docs/sdks/ats/README.md#get_application_custom_field_definition) - Get Application Custom Field Definition
* [get_application_document](docs/sdks/ats/README.md#get_application_document) - Get Application Document
* [get_application_document_category](docs/sdks/ats/README.md#get_application_document_category) - Get Application Document Category
* [get_application_note](docs/sdks/ats/README.md#get_application_note) - Get Application Note
* [get_application_offer](docs/sdks/ats/README.md#get_application_offer) - Get Application Offer
* [get_application_scheduled_interview](docs/sdks/ats/README.md#get_application_scheduled_interview) - Get Applications scheduled interview
Expand All @@ -157,6 +158,7 @@ end
* [get_user](docs/sdks/ats/README.md#get_user) - Get User
* [list_application_changes](docs/sdks/ats/README.md#list_application_changes) - List Application Changes
* [list_application_custom_field_definitions](docs/sdks/ats/README.md#list_application_custom_field_definitions) - List Application Custom Field Definitions
* [list_application_document_categories](docs/sdks/ats/README.md#list_application_document_categories) - List Application Document Categories
* [list_application_documents](docs/sdks/ats/README.md#list_application_documents) - List Application Documents
* [list_application_notes](docs/sdks/ats/README.md#list_application_notes) - List Application Notes
* [list_application_scorecards](docs/sdks/ats/README.md#list_application_scorecards) - List Application Scorecards
Expand Down Expand Up @@ -246,6 +248,7 @@ end
* [get_job](docs/sdks/hris/README.md#get_job) - Get Job
* [get_location](docs/sdks/hris/README.md#get_location) - Get Work Location
* [get_position](docs/sdks/hris/README.md#get_position) - Get Position
* [get_shift](docs/sdks/hris/README.md#get_shift) - Get Shift
* [get_task](docs/sdks/hris/README.md#get_task) - Get Task
* [get_team_group](docs/sdks/hris/README.md#get_team_group) - Get Team Group
* [get_time_entries](docs/sdks/hris/README.md#get_time_entries) - Get Time Entry
Expand Down Expand Up @@ -275,6 +278,7 @@ end
* [list_jobs](docs/sdks/hris/README.md#list_jobs) - List Jobs
* [list_locations](docs/sdks/hris/README.md#list_locations) - List Work Locations
* [list_positions](docs/sdks/hris/README.md#list_positions) - List Positions
* [list_shifts](docs/sdks/hris/README.md#list_shifts) - List Shifts
* [list_tasks](docs/sdks/hris/README.md#list_tasks) - List Tasks
* [list_team_groups](docs/sdks/hris/README.md#list_team_groups) - List Team Groups
* [list_time_entries](docs/sdks/hris/README.md#list_time_entries) - List Time Entries
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -898,4 +898,14 @@ Based on:
### Generated
- [ruby v0.27.0] .
### Releases
- [Ruby Gems v0.27.0] https://rubygems.org/gems/stackone_client/versions/0.27.0 - .
- [Ruby Gems v0.27.0] https://rubygems.org/gems/stackone_client/versions/0.27.0 - .

## 2025-07-21 09:04:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.29.0] .
### Releases
- [Ruby Gems v0.29.0] https://rubygems.org/gems/stackone_client/versions/0.29.0 - .
24 changes: 24 additions & 0 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,18 @@ actions:
- "lang": "ruby"
"label": "ats_get_department"
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::AtsGetDepartmentRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,name\",\n x_account_id: \"<id>\",\n)\n\nres = s.ats.get_department(req)\n\nif ! res.department_result.nil?\n # handle response\nend"
- target: $["paths"]["/unified/ats/documents/application_categories"]["get"]
update:
"x-codeSamples":
- "lang": "ruby"
"label": "ats_list_application_document_categories"
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::AtsListApplicationDocumentCategoriesRequest.new(\n fields_: \"id,remote_id,name,active\",\n filter: Models::Operations::AtsListApplicationDocumentCategoriesQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n\nres = s.ats.list_application_document_categories(req)\n\nif ! res.reference_paginated.nil?\n # handle response\nend"
- target: $["paths"]["/unified/ats/documents/application_categories/{id}"]["get"]
update:
"x-codeSamples":
- "lang": "ruby"
"label": "ats_get_application_document_category"
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::AtsGetApplicationDocumentCategoryRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,name,active\",\n x_account_id: \"<id>\",\n)\n\nres = s.ats.get_application_document_category(req)\n\nif ! res.reference_result.nil?\n # handle response\nend"
- target: $["paths"]["/unified/ats/interview_stages"]["get"]
update:
"x-codeSamples":
Expand Down Expand Up @@ -909,6 +921,18 @@ actions:
- "lang": "ruby"
"label": "hris_get_position"
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisGetPositionRequest.new(\n id: \"<id>\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_position(req)\n\nif ! res.position_result.nil?\n # handle response\nend"
- target: $["paths"]["/unified/hris/shifts"]["get"]
update:
"x-codeSamples":
- "lang": "ruby"
"label": "hris_list_shifts"
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisListShiftsRequest.new(\n filter: Models::Operations::HrisListShiftsQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<id>\",\n)\n\nres = s.hris.list_shifts(req)\n\nif ! res.hris_shifts_paginated.nil?\n # handle response\nend"
- target: $["paths"]["/unified/hris/shifts/{id}"]["get"]
update:
"x-codeSamples":
- "lang": "ruby"
"label": "hris_get_shift"
"source": "require 'stackone_client'\n\ns = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\",\n password: \"\",\n ),\n )\n\nreq = Models::Operations::HrisGetShiftRequest.new(\n id: \"<id>\",\n x_account_id: \"<id>\",\n)\n\nres = s.hris.get_shift(req)\n\nif ! res.hris_shift_result.nil?\n # handle response\nend"
- target: $["paths"]["/unified/hris/tasks"]["get"]
update:
"x-codeSamples":
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AtsGetApplicationDocumentCategoryRequest


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `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,name,active |
| `id` | *::String* | :heavy_check_mark: | N/A | |
| `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 | |
| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | |
| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | |
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AtsGetApplicationDocumentCategoryResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
| `headers` | T::Hash[Symbol, T::Array<*::String*>] | :heavy_check_mark: | N/A |
| `reference_result` | [T.nilable(Models::Shared::ReferenceResult)](../../models/shared/referenceresult.md) | :heavy_minus_sign: | The application document category with the given identifier was retrieved. |
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# AtsListApplicationDocumentCategoriesQueryParamFilter

Filter parameters that allow greater customisation of the list response


## Fields

| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `updated_after` | *T.nilable(::String)* | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z |
Loading