Skip to content

Commit 063e716

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.436.0 (#82)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 4377ca0 commit 063e716

184 files changed

Lines changed: 1450 additions & 1453 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: 77 additions & 57 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.431.0
1+
speakeasyVersion: 1.436.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:aef4f1d523f8af4d58e702b9ba4f6146cc8faee8def53c4762ed2dae6daec0f8
6-
sourceBlobDigest: sha256:7ce3492c1932a19c731b20e6385c7c9e6c271578eb4e603899cdaa749af0b3ab
5+
sourceRevisionDigest: sha256:b8e79aa0d0515ea67cb0ed1a691429b34100eee20977caef8432b4e5eb17f401
6+
sourceBlobDigest: sha256:94ab8d0dd7f90d29c1f668666206248b994e6fe7cc19b86ddca906f0c2063796
77
tags:
88
- latest
99
- main
1010
targets:
1111
StackOneRubyClient:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:aef4f1d523f8af4d58e702b9ba4f6146cc8faee8def53c4762ed2dae6daec0f8
15-
sourceBlobDigest: sha256:7ce3492c1932a19c731b20e6385c7c9e6c271578eb4e603899cdaa749af0b3ab
14+
sourceRevisionDigest: sha256:b8e79aa0d0515ea67cb0ed1a691429b34100eee20977caef8432b4e5eb17f401
15+
sourceBlobDigest: sha256:94ab8d0dd7f90d29c1f668666206248b994e6fe7cc19b86ddca906f0c2063796
1616
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
17-
codeSamplesRevisionDigest: sha256:e4ce7c07077120ec242bdfd390b4226107e7419b956a7a7e82c019c648456f8b
17+
codeSamplesRevisionDigest: sha256:200d0d9df9993583b10fbbbded33efc051ad3220cecf33424659e4e9b3243de5
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

README.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,8 @@ end
225225

226226
* [batch_upsert_content](docs/sdks/lms/README.md#batch_upsert_content) - Batch Upsert Content
227227
* [batch_upsert_course](docs/sdks/lms/README.md#batch_upsert_course) - Batch Upsert Course
228-
* [create_content](docs/sdks/lms/README.md#create_content) - Create Content
228+
* [create_collection](docs/sdks/lms/README.md#create_collection) - Create Collection
229229
* [create_user_completion](docs/sdks/lms/README.md#create_user_completion) - Create User Completion
230-
* [delete_content](docs/sdks/lms/README.md#delete_content) - Delete Content
231230
* [get_assignment](docs/sdks/lms/README.md#get_assignment) - Get Assignment
232231
* [get_category](docs/sdks/lms/README.md#get_category) - Get Category
233232
* [get_completion](docs/sdks/lms/README.md#get_completion) - Get Completion
@@ -246,7 +245,7 @@ end
246245
* [list_user_assignments](docs/sdks/lms/README.md#list_user_assignments) - List User Assignments
247246
* [list_user_completions](docs/sdks/lms/README.md#list_user_completions) - List User Completions
248247
* [list_users](docs/sdks/lms/README.md#list_users) - List Users
249-
* [update_content](docs/sdks/lms/README.md#update_content) - Update Content
248+
* [update_collection](docs/sdks/lms/README.md#update_collection) - Update Collection
250249
* [upsert_content](docs/sdks/lms/README.md#upsert_content) - Upsert Content
251250
* [upsert_course](docs/sdks/lms/README.md#upsert_course) - Upsert Course
252251

@@ -294,22 +293,31 @@ end
294293
<!-- Start Server Selection [server] -->
295294
## Server Selection
296295

297-
## Server Selection
298-
299-
### Select Server by Index
300-
301-
You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
296+
### Override Server URL Per-Client
302297

303-
| # | Server | Variables |
304-
| - | ------ | --------- |
305-
| 0 | `https://api.stackone.com` | None |
298+
The default server can also be overridden globally by passing a URL to the `server_url (String)` optional parameter when initializing the SDK client instance. For example:
299+
```ruby
300+
require 'stackone_client'
306301

307302

303+
s = ::StackOne::StackOne.new(
304+
server_url: "https://api.stackone.com",
305+
)
306+
s.config_security(
307+
::StackOne::Shared::Security.new(
308+
password: "",
309+
username: "",
310+
)
311+
)
308312

313+
314+
res = s.accounts.delete_account(id="<id>")
309315

310-
### Override Server URL Per-Client
316+
if ! res.linked_account.nil?
317+
# handle response
318+
end
311319

312-
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
320+
```
313321
<!-- End Server Selection [server] -->
314322

315323
<!-- Placeholder for Future Speakeasy SDK Sections -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,4 +558,14 @@ Based on:
558558
### Generated
559559
- [ruby v0.3.0] .
560560
### Releases
561-
- [Ruby Gems v0.3.0] https://rubygems.org/gems/stackone_client/versions/0.3.0 - .
561+
- [Ruby Gems v0.3.0] https://rubygems.org/gems/stackone_client/versions/0.3.0 - .
562+
563+
## 2024-11-11 09:01:16
564+
### Changes
565+
Based on:
566+
- OpenAPI Doc
567+
- Speakeasy CLI 1.436.0 (2.455.2) https://github.com/speakeasy-api/speakeasy
568+
### Generated
569+
- [ruby v0.3.1] .
570+
### Releases
571+
- [Ruby Gems v0.3.1] https://rubygems.org/gems/stackone_client/versions/0.3.1 - .

codeSamples.yaml

Lines changed: 44 additions & 50 deletions
Large diffs are not rendered by default.

docs/models/operations/atsgetapplicationcustomfielddefinitionrequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | |
1414
| `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 | |
1515
| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | |
16-
| ~~`sync_token`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>The sync token to select the only updated results | |
1716
| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z |
1817
| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | |

docs/models/operations/atsgetcandidatecustomfielddefinitionrequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
| `page_size` | *T.nilable(::String)* | :heavy_minus_sign: | The number of results per page | |
1414
| `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 | |
1515
| `raw` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates that the raw request result is returned | |
16-
| ~~`sync_token`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>The sync token to select the only updated results | |
1716
| ~~`updated_after`~~ | *T.nilable(::String)* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z |
1817
| `x_account_id` | *::String* | :heavy_check_mark: | The account identifier | |

0 commit comments

Comments
 (0)