Skip to content

Commit 3277cc9

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.481.1 (#94)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent fd8f757 commit 3277cc9

21 files changed

Lines changed: 75 additions & 93 deletions

.speakeasy/gen.lock

Lines changed: 8 additions & 10 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.481.0
1+
speakeasyVersion: 1.481.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:abe45515c0c43f95c20e651a6c7596546b61d01e4b42766d6a31123db58596e7
6-
sourceBlobDigest: sha256:4fb97eca62feb53706f852b3a551674cc2df51b000e759dfbc29eb1849a61a5d
5+
sourceRevisionDigest: sha256:f44d303e541187ce5455b7649b68312f41b444bed72f5553464cf08f67a17a62
6+
sourceBlobDigest: sha256:8631965ba0d73dbb7d1dbfdd6f4cf0388ca094b5cf0806e30d597c64f813ecbb
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1738334923
9+
- speakeasy-sdk-regen-1738573279
1010
- 1.0.0
1111
targets:
1212
StackOneRubyClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:abe45515c0c43f95c20e651a6c7596546b61d01e4b42766d6a31123db58596e7
16-
sourceBlobDigest: sha256:4fb97eca62feb53706f852b3a551674cc2df51b000e759dfbc29eb1849a61a5d
15+
sourceRevisionDigest: sha256:f44d303e541187ce5455b7649b68312f41b444bed72f5553464cf08f67a17a62
16+
sourceBlobDigest: sha256:8631965ba0d73dbb7d1dbfdd6f4cf0388ca094b5cf0806e30d597c64f813ecbb
1717
codeSamplesNamespace: code-samples-ruby-stackonerubyclient
18-
codeSamplesRevisionDigest: sha256:a353e9db82cec40950af9be418936bc95e842b0fc6d2f00a92595af6d036130a
18+
codeSamplesRevisionDigest: sha256:719c679e2e2ab847f0527c1860bfafdf84066d1ac316ff016f5a931fa98aa0f6
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,4 +678,14 @@ Based on:
678678
### Generated
679679
- [ruby v0.5.3] .
680680
### Releases
681-
- [Ruby Gems v0.5.3] https://rubygems.org/gems/stackone_client/versions/0.5.3 - .
681+
- [Ruby Gems v0.5.3] https://rubygems.org/gems/stackone_client/versions/0.5.3 - .
682+
683+
## 2025-02-03 09:01:04
684+
### Changes
685+
Based on:
686+
- OpenAPI Doc
687+
- Speakeasy CLI 1.481.1 (2.500.5) https://github.com/speakeasy-api/speakeasy
688+
### Generated
689+
- [ruby v0.5.4] .
690+
### Releases
691+
- [Ruby Gems v0.5.4] https://rubygems.org/gems/stackone_client/versions/0.5.4 - .

codeSamples.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,13 +920,13 @@ actions:
920920
"x-codeSamples":
921921
- "lang": "ruby"
922922
"label": "lms_upsert_content"
923-
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n \nres = s.lms.upsert_content(x_account_id=\"<id>\", lms_upsert_content_request_dto=::StackOne::Shared::LmsUpsertContentRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n additional_data: [\n ::StackOne::Shared::AdditionalData.new(\n id: \"learning_outcomes\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n value: ::StackOne::Shared::AdditionalDataValue.new(),\n ),\n ],\n languages: [\n ::StackOne::Shared::LanguageEnum.new(\n value: ::StackOne::Shared::LanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n ::StackOne::Shared::CreateSkillsApiModel.new(\n id: \"12345\",\n name: \"Sales Techniques\",\n ),\n ],\n order: 1.0,\n provider: \"Content Provider\",\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n id: \"16873-IT345\",\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: ::StackOne::Shared::Language.new(\n value: ::StackOne::Shared::CreateCategoriesApiModelSchemasValue::EN_GB,\n ),\n ),\n ],\n))\n\nif ! res.upsert_result.nil?\n # handle response\nend"
923+
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n \nres = s.lms.upsert_content(x_account_id=\"<id>\", lms_upsert_content_request_dto=::StackOne::Shared::LmsUpsertContentRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n additional_data: [\n ::StackOne::Shared::AdditionalData.new(\n id: \"learning_outcomes\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n value: \"This is additional data\",\n ),\n ],\n languages: [\n ::StackOne::Shared::LanguageEnum.new(\n value: ::StackOne::Shared::LanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n ::StackOne::Shared::CreateSkillsApiModel.new(\n id: \"12345\",\n name: \"Sales Techniques\",\n ),\n ],\n order: 1.0,\n provider: \"Content Provider\",\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n id: \"16873-IT345\",\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: ::StackOne::Shared::Language.new(\n value: ::StackOne::Shared::CreateCategoriesApiModelSchemasValue::EN_GB,\n ),\n ),\n ],\n))\n\nif ! res.upsert_result.nil?\n # handle response\nend"
924924
- target: $["paths"]["/unified/lms/content/batch"]["post"]
925925
update:
926926
"x-codeSamples":
927927
- "lang": "ruby"
928928
"label": "lms_batch_upsert_content"
929-
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n \nres = s.lms.batch_upsert_content(x_account_id=\"<id>\", lms_batch_upsert_content_request_dto=::StackOne::Shared::LmsBatchUpsertContentRequestDto.new(\n items: [\n ::StackOne::Shared::LmsUpsertContentRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n additional_data: [\n ::StackOne::Shared::AdditionalData.new(\n id: \"learning_outcomes\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n value: ::StackOne::Shared::AdditionalDataValue.new(),\n ),\n ],\n languages: [\n ::StackOne::Shared::LanguageEnum.new(\n value: ::StackOne::Shared::LanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n ::StackOne::Shared::CreateSkillsApiModel.new(\n id: \"12345\",\n name: \"Sales Techniques\",\n ),\n ],\n order: 1.0,\n provider: \"Content Provider\",\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n id: \"16873-IT345\",\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: ::StackOne::Shared::Language.new(\n value: ::StackOne::Shared::CreateCategoriesApiModelSchemasValue::EN_GB,\n ),\n ),\n ],\n ),\n ],\n))\n\nif ! res.batch_result_api_model.nil?\n # handle response\nend"
929+
"source": "require 'stackone_client'\n\n\ns = ::StackOne::StackOne.new\ns.config_security(\n ::StackOne::Shared::Security.new(\n username: \"\",\n password: \"\",\n )\n)\n\n \nres = s.lms.batch_upsert_content(x_account_id=\"<id>\", lms_batch_upsert_content_request_dto=::StackOne::Shared::LmsBatchUpsertContentRequestDto.new(\n items: [\n ::StackOne::Shared::LmsUpsertContentRequestDto.new(\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n external_reference: \"SOFTWARE-ENG-LV1-TRAINING-VIDEO-1\",\n course_ids: [\n \"16873-SOFTWARE-ENG-COURSE\",\n ],\n title: \"Software Engineer Lv 1\",\n description: \"This video acts as learning content for software engineers.\",\n additional_data: [\n ::StackOne::Shared::AdditionalData.new(\n id: \"learning_outcomes\",\n remote_id: \"8187e5da-dc77-475e-9949-af0f1fa4e4e3\",\n value: \"This is additional data\",\n ),\n ],\n languages: [\n ::StackOne::Shared::LanguageEnum.new(\n value: ::StackOne::Shared::LanguageEnumValue::EN_GB,\n ),\n ],\n content_url: \"https://www.youtube.com/watch?v=16873\",\n cover_url: \"https://www.googledrive.com/?v=16873\",\n active: true,\n duration: \"P3Y6M4DT12H30M5S\",\n skills: [\n ::StackOne::Shared::CreateSkillsApiModel.new(\n id: \"12345\",\n name: \"Sales Techniques\",\n ),\n ],\n order: 1.0,\n provider: \"Content Provider\",\n categories: [\n ::StackOne::Shared::CreateCategoriesApiModel.new(\n id: \"16873-IT345\",\n unified_custom_fields: {\n \"my_project_custom_field_1\": \"REF-1236\",\n \"my_project_custom_field_2\": \"some other value\",\n },\n name: \"Information-Technology\",\n language: ::StackOne::Shared::Language.new(\n value: ::StackOne::Shared::CreateCategoriesApiModelSchemasValue::EN_GB,\n ),\n ),\n ],\n ),\n ],\n))\n\nif ! res.batch_result_api_model.nil?\n # handle response\nend"
930930
- target: $["paths"]["/unified/lms/content/{id}"]["get"]
931931
update:
932932
"x-codeSamples":

docs/models/shared/additionaldata.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8-
| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The type of the additional data | learning_outcomes |
9-
| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
10-
| `value` | [T.nilable(::StackOne::Shared::Value)](../../models/shared/value.md) | :heavy_minus_sign: | The value of the additional data | This is additional data |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
8+
| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The type of the additional data | learning_outcomes |
9+
| `remote_id` | *T.nilable(::String)* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
10+
| `value` | *T.nilable(::Object)* | :heavy_minus_sign: | The value of the additional data | This is additional data |

docs/models/shared/assessmentresultvalue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The result of the test.
88
| Name | Value |
99
| ----------- | ----------- |
1010
| `CANCELLED` | cancelled |
11+
| `COMPLETED` | completed |
1112
| `EXPIRED` | expired |
1213
| `FAILED` | failed |
1314
| `PASSED` | passed |

docs/models/shared/backgroundcheckresultvalue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The result of the test.
88
| Name | Value |
99
| ----------- | ----------- |
1010
| `CANCELLED` | cancelled |
11+
| `COMPLETED` | completed |
1112
| `EXPIRED` | expired |
1213
| `FAILED` | failed |
1314
| `PASSED` | passed |

docs/models/shared/channelsenum.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
8-
| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | The source value of the Channels. | SMS |
9-
| `value` | [T.nilable(::StackOne::Shared::ChannelsEnumValue)](../../models/shared/channelsenumvalue.md) | :heavy_minus_sign: | The Channels of the campaign. | sms |
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8+
| `source_value` | *T.nilable(::Object)* | :heavy_minus_sign: | The source value of the Channels. | SMS |
9+
| `value` | [T.nilable(::StackOne::Shared::Value)](../../models/shared/value.md) | :heavy_minus_sign: | The Channels of the campaign. | sms |

docs/models/shared/channelsenumvalue.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/models/shared/value.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# Value
22

3-
The value of the additional data
3+
The Channels of the campaign.
44

55

6-
## Fields
6+
## Values
77

8-
| Field | Type | Required | Description |
9-
| ----------- | ----------- | ----------- | ----------- |
8+
| Name | Value |
9+
| ---------------- | ---------------- |
10+
| `EMAIL` | email |
11+
| `SMS` | sms |
12+
| `WEB_PUSH` | web_push |
13+
| `IOS_PUSH` | ios_push |
14+
| `ANDROID_PUSH` | android_push |
15+
| `UNKNOWN` | unknown |
16+
| `UNMAPPED_VALUE` | unmapped_value |

0 commit comments

Comments
 (0)