Skip to content

Commit eced807

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.233.0 (#29)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent f9d2b2c commit eced807

1,087 files changed

Lines changed: 247768 additions & 298 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.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.rb linguist-generated=false

.rubocop.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
AllCops:
2+
Exclude:
3+
- Rakefile
4+
TargetRubyVersion: "3.0"
5+
Metrics:
6+
Enabled: false
7+
Style/IfInsideElse:
8+
Enabled: false
9+
Style/GuardClause:
10+
Enabled: false
11+
Style/ConditionalAssignment:
12+
Enabled: false
13+
Style/Documentation:
14+
Enabled: false
15+
Style/NegatedIf:
16+
Enabled: false
17+
Style/SoleNestedConditional:
18+
Enabled: false
19+
Style/AccessorGrouping:
20+
Enabled: false
21+
Layout/EndAlignment:
22+
EnforcedStyleAlignWith: start_of_line
23+
Enabled: false
24+
Layout/LineLength:
25+
Enabled: false
26+
Lint/EmptyConditionalBody:
27+
Enabled: false
28+
Lint/MissingSuper:
29+
Enabled: false
30+
Style/CaseLikeIf:
31+
Enabled: false
32+
#To eventually re-enable:
33+
Layout/EmptyLines:
34+
Enabled: false
35+
Layout/EmptyLinesAroundMethodBody:
36+
Enabled: false
37+
Layout/EmptyLineBetweenDefs:
38+
Enabled: false
39+
Layout/EmptyLineAfterGuardClause:
40+
Enabled: false
41+
Layout/EmptyLinesAroundModuleBody:
42+
Enabled: false
43+
Layout/MultilineBlockLayout:
44+
Enabled: false
45+
Lint/UnusedMethodArgument:
46+
Enabled: false
47+
Layout/TrailingWhitespace:
48+
Enabled: false
49+
Style/IfUnlessModifier:
50+
Enabled: false
51+
Naming/AccessorMethodName:
52+
Enabled: false
53+
Naming/MethodParameterName:
54+
Enabled: false
55+
Layout/SpaceInsideHashLiteralBraces:
56+
Enabled: false
57+
Layout/FirstHashElementIndentation:
58+
Enabled: false
59+
Style/TrailingCommaInHashLiteral:
60+
Enabled: false
61+
Style/TrailingCommaInArrayLiteral:
62+
Enabled: false
63+
Layout/EmptyLinesAroundClassBody:
64+
Enabled: false
65+
Style/WordArray:
66+
Enabled: false
67+
Style/RedundantReturn: # https://github.com/rubocop/rubocop/issues/12394
68+
Enabled: false
69+
Style/RedundantAssignment:
70+
Enabled: false
71+
Lint/LiteralAsCondition:
72+
Enabled: false
73+
Naming/VariableNumber:
74+
Enabled: false

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 482384cc-3b98-4ced-bd0b-14aa8b3e0053
33
management:
4-
docChecksum: e8bfab1b19e605ccce2bca6939c36080
4+
docChecksum: e347d2112bdbe2db4ae92d1a28c985d9
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.228.1
7-
generationVersion: 2.292.0
8-
releaseVersion: 0.2.8
9-
configChecksum: 8a1853f861885b08e9bf8a9204f73e0d
6+
speakeasyVersion: 1.233.0
7+
generationVersion: 2.296.0
8+
releaseVersion: 0.2.9
9+
configChecksum: 4bcd240b43a1778236e5d656574dcc47
1010
repoURL: https://github.com/StackOneHQ/stackone-client-ruby.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-ruby

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
# Specify your gem's dependencies in openapi.gemspec
6+
gemspec

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,14 @@ Based on:
138138
### Generated
139139
- [ruby v0.2.8] .
140140
### Releases
141-
- [Ruby Gems v0.2.8] https://rubygems.org/gems/stackone_client/versions/0.2.8 - .
141+
- [Ruby Gems v0.2.8] https://rubygems.org/gems/stackone_client/versions/0.2.8 - .
142+
143+
## 2024-04-02 14:02:01
144+
### Changes
145+
Based on:
146+
- OpenAPI Doc
147+
- Speakeasy CLI 1.233.0 (2.296.0) https://github.com/speakeasy-api/speakeasy
148+
### Generated
149+
- [ruby v0.2.9] .
150+
### Releases
151+
- [Ruby Gems v0.2.9] https://rubygems.org/gems/stackone_client/versions/0.2.9 - .

Rakefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# typed: true
2+
# frozen_string_literal: true
3+
4+
require 'bundler/gem_tasks'
5+
require 'minitest/test_task'
6+
require 'rubocop/rake_task'
7+
8+
RuboCop::RakeTask.new
9+
10+
Minitest::TestTask.create
11+
12+
# So far default is working - leaving this here for reference.
13+
14+
# Minitest::TestTask.create(:test) do |t|
15+
# t.libs << 'test'
16+
# t.libs << 'lib'
17+
# t.warning = false
18+
# t.test_globs = ['test/**/*_test.rb']
19+
# end
20+
21+
task :default => :test

USAGE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!-- Start SDK Example Usage [usage] -->
2+
### List Employees
3+
4+
```ruby
5+
require 'stackone_client'
6+
7+
8+
s = ::StackOne::StackOne.new
9+
s.config_security(
10+
::StackOne::Shared::Security.new(
11+
password: "<YOUR_PASSWORD_HERE>",
12+
)
13+
)
14+
15+
16+
req = ::StackOne::Operations::HrisListEmployeesRequest.new(
17+
x_account_id: "<value>",
18+
)
19+
20+
res = s.hris.list_employees(req)
21+
22+
if ! res.employees_paginated.nil?
23+
# handle response
24+
end
25+
26+
```
27+
<!-- End SDK Example Usage [usage] -->

codeSamples.yaml

Lines changed: 291 additions & 291 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# AtsCreateApplicationRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
8+
| `ats_create_application_request_dto` | [::StackOne::Shared::AtsCreateApplicationRequestDto](../../models/shared/atscreateapplicationrequestdto.md) | :heavy_check_mark: | N/A |
9+
| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AtsCreateApplicationResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
8+
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `create_result` | [T.nilable(::StackOne::Shared::CreateResult)](../../models/shared/createresult.md) | :heavy_minus_sign: | The application was created successfully. |
10+
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

0 commit comments

Comments
 (0)