Skip to content

Commit 29f526a

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2 (#72)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 149295d commit 29f526a

File tree

15 files changed

+62
-46
lines changed

15 files changed

+62
-46
lines changed

.speakeasy/gen.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 482384cc-3b98-4ced-bd0b-14aa8b3e0053
33
management:
4-
docChecksum: 023bc27ef1632e180156a454bc2a67b4
4+
docChecksum: a5634d1c5afddd970cd74b1d550987cb
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.397.3
7-
generationVersion: 2.415.8
8-
releaseVersion: 0.2.38
9-
configChecksum: 8926c902d8ff3d8cb732f3cf4bfadc7e
6+
speakeasyVersion: 1.401.2
7+
generationVersion: 2.421.3
8+
releaseVersion: 0.2.39
9+
configChecksum: 300df8914734aaa3406402ed00d30e05
1010
repoURL: https://github.com/StackOneHQ/stackone-client-ruby.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-ruby
1313
published: true
1414
features:
1515
ruby:
16-
core: 3.2.22
16+
core: 3.2.23
1717
deprecations: 2.81.1
1818
examples: 2.81.3
1919
flattening: 2.81.1
@@ -1907,14 +1907,14 @@ examples:
19071907
application/json: {"token": "<value>"}
19081908
responses:
19091909
"201":
1910-
application/json: {"categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "lms"], "created_at": "2022-11-06T21:29:11.002Z", "id": "2863.15", "organization_id": "5844.8", "origin_owner_id": "<value>", "origin_owner_name": "<value>", "project_id": "<value>"}
1910+
application/json: {"categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "hris-legacy"], "created_at": "2022-11-06T21:29:11.002Z", "id": "2863.15", "organization_id": "5844.8", "origin_owner_id": "<value>", "origin_owner_name": "<value>", "project_id": "<value>"}
19111911
stackone_create_connect_session:
19121912
speakeasy-default-stackone-create-connect-session:
19131913
requestBody:
1914-
application/json: {"categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "stackone"], "origin_owner_id": "<value>", "origin_owner_name": "<value>"}
1914+
application/json: {"categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "ats"], "origin_owner_id": "<value>", "origin_owner_name": "<value>"}
19151915
responses:
19161916
"201":
1917-
application/json: {"categories": ["ats", "hris", "ats", "crm", "iam", "marketing", "lms", "iam"], "created_at": "2024-01-28T04:32:28.342Z", "id": "4207.79", "organization_id": "6497.42", "origin_owner_id": "<value>", "origin_owner_name": "<value>", "project_id": "<value>", "token": "<value>"}
1917+
application/json: {"categories": ["ats", "hris", "marketing", "crm", "iam", "marketing", "lms", "marketing"], "created_at": "2024-01-28T04:32:28.342Z", "id": "4207.79", "organization_id": "6497.42", "origin_owner_id": "<value>", "origin_owner_name": "<value>", "project_id": "<value>", "token": "<value>"}
19181918
stackone_get_connector_meta:
19191919
"":
19201920
parameters:
@@ -1939,7 +1939,7 @@ examples:
19391939
header:
19401940
x-account-id: "<value>"
19411941
requestBody:
1942-
application/json: {"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "country": "United States", "custom_fields": [], "email": "sestier.romain123@gmail.com", "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "last_name": "Sestier", "name": "Romain Sestier", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+1234567890", "social_links": [], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "passthrough": {"other_known_names": "John Doe"}, "questionnaires": [{"answers": [{"id": "answer1", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Short Text", "value": "short_text"}, "values": ["Yes"]}], "id": "right_to_work", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}
1942+
application/json: {"application_status": {"source_value": "Hired", "value": "hired"}, "candidate": {"company": "Company Inc.", "country": "United States", "custom_fields": [], "email": "sestier.romain123@gmail.com", "first_name": "Romain", "hired_at": "2021-01-01T01:01:01.000Z", "last_name": "Sestier", "name": "Romain Sestier", "passthrough": {"other_known_names": "John Doe"}, "phone_number": "+1234567890", "social_links": [], "title": "Software Engineer", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "location_id": "dd8d41d1-5eb8-4408-9c87-9ba44604eae4", "passthrough": {"other_known_names": "John Doe"}, "questionnaires": [{"answers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "type": {"source_value": "Short Text", "value": "short_text"}, "values": ["Yes", "No Travel", "It sounds pretty cool.", "Excel", "Power Point"]}], "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}}
19431943
responses:
19441944
"201":
19451945
application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"}
@@ -2279,7 +2279,7 @@ examples:
22792279
x-account-id: "<value>"
22802280
responses:
22812281
"200":
2282-
application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}}
2282+
application/json: {"data": {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}}
22832283
ats_list_application_custom_field_definitions:
22842284
"":
22852285
parameters:
@@ -3295,7 +3295,7 @@ examples:
32953295
header:
32963296
x-account-id: "<value>"
32973297
requestBody:
3298-
application/json: {"active": true, "categories": [{"active": true, "name": "Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}
3298+
application/json: {"active": true, "categories": [{"active": true, "name": "Information-Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}
32993299
responses:
33003300
"201":
33013301
application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"}
@@ -3387,12 +3387,12 @@ examples:
33873387
path:
33883388
id: "<id>"
33893389
query:
3390-
fields: "id,remote_id,external_reference,email,phone_number,created_at,updated_at,name"
3390+
fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name"
33913391
header:
33923392
x-account-id: "<value>"
33933393
responses:
33943394
"200":
3395-
application/json: {"data": {"created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}}
3395+
application/json: {"data": {"active": true, "created_at": "2021-01-01T01:01:01.000Z", "email": "john@dew.com", "external_reference": "al60043", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Dew", "phone_number": "+1234567890", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "updated_at": "2021-01-01T01:01:01.000Z"}}
33963396
lms_get_user_assignment:
33973397
speakeasy-default-lms-get-user-assignment:
33983398
parameters:
@@ -3529,7 +3529,7 @@ examples:
35293529
"":
35303530
parameters:
35313531
query:
3532-
fields: "id,remote_id,external_reference,email,phone_number,created_at,updated_at,name"
3532+
fields: "id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name"
35333533
filter: {"updated_after": "2020-01-01T00:00:00.000Z"}
35343534
updated_after: "2020-01-01T00:00:00.000Z"
35353535
header:
@@ -3545,7 +3545,7 @@ examples:
35453545
header:
35463546
x-account-id: "<value>"
35473547
requestBody:
3548-
application/json: {"active": true, "categories": [{"active": true, "name": "Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}
3548+
application/json: {"active": true, "categories": [{"active": true, "name": "Information-Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}
35493549
responses:
35503550
"201":
35513551
application/json: {"message": "Record updated successfully.", "statusCode": 200, "timestamp": "2021-01-01T01:01:01.000Z"}
@@ -3555,7 +3555,7 @@ examples:
35553555
header:
35563556
x-account-id: "<value>"
35573557
requestBody:
3558-
application/json: {"active": true, "categories": [{"active": true, "name": "Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}
3558+
application/json: {"active": true, "categories": [{"active": true, "name": "Information-Technology", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "content_url": "https://www.youtube.com/watch?v=16873", "course_ids": ["16873-SOFTWARE-ENG-COURSE"], "cover_url": "https://www.googledrive.com/?v=16873", "description": "This video acts as learning content for software engineers.", "duration": "P3Y6M4DT12H30M5S", "external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "languages": [], "order": 1, "title": "Software Engineer Lv 1", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}
35593559
responses:
35603560
"201":
35613561
application/json: {"data": {"external_reference": "SOFTWARE-ENG-LV1-TRAINING-VIDEO-1", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}, "message": "Record created successfully.", "statusCode": 201, "timestamp": "2021-01-01T01:01:01.000Z"}

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.397.3
1+
speakeasyVersion: 1.401.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:1b1ff65c12ba98689e127efcb3b371f5df2d4f142bbb11adf6838e82080977b9
6-
sourceBlobDigest: sha256:a1655f1d27a4de1d4d075bd65c0478571822347366356cc14bf02fef9fc44e83
5+
sourceRevisionDigest: sha256:a4d6c7164be94595bef51e09cabdc75e7d60a469a9acc8cc086d805d998448aa
6+
sourceBlobDigest: sha256:8b18232029934d56d8989642e6d7e7bfc784bc32bc090aa44a6f93e041e579f4
77
tags:
88
- latest
99
- main
1010
targets:
1111
StackOneRubyClient:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:1b1ff65c12ba98689e127efcb3b371f5df2d4f142bbb11adf6838e82080977b9
15-
sourceBlobDigest: sha256:a1655f1d27a4de1d4d075bd65c0478571822347366356cc14bf02fef9fc44e83
14+
sourceRevisionDigest: sha256:a4d6c7164be94595bef51e09cabdc75e7d60a469a9acc8cc086d805d998448aa
15+
sourceBlobDigest: sha256:8b18232029934d56d8989642e6d7e7bfc784bc32bc090aa44a6f93e041e579f4
1616
workflow:
1717
workflowVersion: 1.0.0
1818
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,4 +458,14 @@ Based on:
458458
### Generated
459459
- [ruby v0.2.38] .
460460
### Releases
461-
- [Ruby Gems v0.2.38] https://rubygems.org/gems/stackone_client/versions/0.2.38 - .
461+
- [Ruby Gems v0.2.38] https://rubygems.org/gems/stackone_client/versions/0.2.38 - .
462+
463+
## 2024-09-23 09:01:15
464+
### Changes
465+
Based on:
466+
- OpenAPI Doc
467+
- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy
468+
### Generated
469+
- [ruby v0.2.39] .
470+
### Releases
471+
- [Ruby Gems v0.2.39] https://rubygems.org/gems/stackone_client/versions/0.2.39 - .

codeSamples.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ actions:
3838
x-codeSamples:
3939
- lang: ruby
4040
label: stackone_create_connect_session
41-
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\nreq = ::StackOne::Shared::ConnectSessionCreate.new(\n categories: [\n ::StackOne::Shared::Categories::ATS,\n ::StackOne::Shared::Categories::HRIS,\n ::StackOne::Shared::Categories::HRIS_LEGACY,\n ::StackOne::Shared::Categories::CRM,\n ::StackOne::Shared::Categories::IAM,\n ::StackOne::Shared::Categories::MARKETING,\n ::StackOne::Shared::Categories::LMS,\n ::StackOne::Shared::Categories::STACKONE,\n ],\n origin_owner_id: \"<value>\",\n origin_owner_name: \"<value>\",\n)\n \nres = s.connect_sessions.create_connect_session(req)\n\nif ! res.connect_session_token.nil?\n # handle response\nend"
41+
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\nreq = ::StackOne::Shared::ConnectSessionCreate.new(\n categories: [\n ::StackOne::Shared::Categories::ATS,\n ::StackOne::Shared::Categories::HRIS,\n ::StackOne::Shared::Categories::HRIS_LEGACY,\n ::StackOne::Shared::Categories::CRM,\n ::StackOne::Shared::Categories::IAM,\n ::StackOne::Shared::Categories::MARKETING,\n ::StackOne::Shared::Categories::LMS,\n ::StackOne::Shared::Categories::ATS,\n ],\n origin_owner_id: \"<value>\",\n origin_owner_name: \"<value>\",\n)\n \nres = s.connect_sessions.create_connect_session(req)\n\nif ! res.connect_session_token.nil?\n # handle response\nend"
4242
- target: $["paths"]["/connect_sessions/authenticate"]["post"]
4343
update:
4444
x-codeSamples:
@@ -806,13 +806,13 @@ actions:
806806
x-codeSamples:
807807
- lang: ruby
808808
label: lms_list_users
809-
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\nreq = ::StackOne::Operations::LmsListUsersRequest.new(\n fields_: \"id,remote_id,external_reference,email,phone_number,created_at,updated_at,name\",\n filter: ::StackOne::Operations::LmsListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<value>\",\n)\n \nres = s.lms.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend"
809+
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\nreq = ::StackOne::Operations::LmsListUsersRequest.new(\n fields_: \"id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name\",\n filter: ::StackOne::Operations::LmsListUsersQueryParamFilter.new(\n updated_after: \"2020-01-01T00:00:00.000Z\",\n ),\n x_account_id: \"<value>\",\n)\n \nres = s.lms.list_users(req)\n\nif ! res.users_paginated.nil?\n # handle response\nend"
810810
- target: $["paths"]["/unified/lms/users/{id}"]["get"]
811811
update:
812812
x-codeSamples:
813813
- lang: ruby
814814
label: lms_get_user
815-
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\nreq = ::StackOne::Operations::LmsGetUserRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,external_reference,email,phone_number,created_at,updated_at,name\",\n x_account_id: \"<value>\",\n)\n \nres = s.lms.get_user(req)\n\nif ! res.user_result.nil?\n # handle response\nend"
815+
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\nreq = ::StackOne::Operations::LmsGetUserRequest.new(\n id: \"<id>\",\n fields_: \"id,remote_id,external_reference,active,email,phone_number,created_at,updated_at,name\",\n x_account_id: \"<value>\",\n)\n \nres = s.lms.get_user(req)\n\nif ! res.user_result.nil?\n # handle response\nend"
816816
- target: $["paths"]["/unified/lms/users/{id}/assignments"]["get"]
817817
update:
818818
x-codeSamples:

0 commit comments

Comments
 (0)