stackone_client 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +10 -5
  3. data/lib/stack_one/ats.rb +321 -62
  4. data/lib/stack_one/connect_sessions.rb +4 -2
  5. data/lib/stack_one/connectors.rb +4 -2
  6. data/lib/stack_one/crm.rb +20 -10
  7. data/lib/stack_one/hris.rb +93 -46
  8. data/lib/stack_one/iam.rb +16 -8
  9. data/lib/stack_one/lms.rb +52 -26
  10. data/lib/stack_one/marketing.rb +52 -26
  11. data/lib/stack_one/models/operations/ats_create_application_note_request.rb +30 -0
  12. data/lib/stack_one/models/operations/ats_create_application_note_response.rb +36 -0
  13. data/lib/stack_one/models/operations/ats_get_application_note_request.rb +39 -0
  14. data/lib/stack_one/models/operations/ats_get_application_note_response.rb +36 -0
  15. data/lib/stack_one/models/operations/ats_list_application_notes_queryparam_filter.rb +24 -0
  16. data/lib/stack_one/models/operations/ats_list_application_notes_request.rb +60 -0
  17. data/lib/stack_one/models/operations/ats_list_application_notes_response.rb +36 -0
  18. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +5 -2
  19. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb +5 -2
  20. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb +6 -3
  21. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb +6 -3
  23. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb +10 -2
  25. data/lib/stack_one/models/operations/ats_update_application_note_request.rb +33 -0
  26. data/lib/stack_one/models/operations/ats_update_application_note_response.rb +36 -0
  27. data/lib/stack_one/models/operations/job_status.rb +18 -0
  28. data/lib/stack_one/models/operations/status.rb +2 -0
  29. data/lib/stack_one/models/operations.rb +10 -0
  30. data/lib/stack_one/models/shared/atsupdatenotesrequestdto.rb +33 -0
  31. data/lib/stack_one/models/shared/atsupdatenotesrequestdto_value.rb +18 -0
  32. data/lib/stack_one/models/shared/atsupdatenotesrequestdto_visibility.rb +27 -0
  33. data/lib/stack_one/models/shared/category.rb +5 -2
  34. data/lib/stack_one/models/shared/category_schemas_value.rb +19 -0
  35. data/lib/stack_one/models/shared/category_value.rb +411 -4
  36. data/lib/stack_one/models/shared/course.rb +5 -2
  37. data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
  38. data/lib/stack_one/models/shared/createcategoriesapimodel_language.rb +27 -0
  39. data/lib/stack_one/models/shared/createcategoriesapimodel_level.rb +2 -2
  40. data/lib/stack_one/models/shared/createcategoriesapimodel_schemas_value.rb +19 -0
  41. data/lib/stack_one/models/shared/createcategoriesapimodel_value.rb +411 -4
  42. data/lib/stack_one/models/shared/language.rb +27 -0
  43. data/lib/stack_one/models/shared/level.rb +2 -2
  44. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
  45. data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -2
  46. data/lib/stack_one/models/shared/unifiedwarningapimodel.rb +24 -0
  47. data/lib/stack_one/models/shared/writeresultapimodel.rb +5 -2
  48. data/lib/stack_one/models/shared.rb +16 -8
  49. data/lib/stack_one/proxy.rb +3 -1
  50. data/lib/stack_one/sdkconfiguration.rb +3 -3
  51. data/lib/stack_one/webhooks.rb +2 -1
  52. metadata +20 -2
@@ -54,9 +54,11 @@ module StackOne
54
54
  res = ::StackOne::Operations::StackoneProxyRequestResponse.new(
55
55
  status_code: r.status, content_type: content_type, raw_response: r
56
56
  )
57
- if [200, 400, 403, 412, 429, 500, 501].include?(r.status)
57
+ if r.status == 200
58
+ elsif [400, 403, 412, 429].include?(r.status)
58
59
  elsif r.status == 408
59
60
  res.headers = r.headers
61
+ elsif [500, 501].include?(r.status)
60
62
  end
61
63
 
62
64
  res
@@ -38,9 +38,9 @@ module StackOne
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '1.0.0'
41
- @sdk_version = '0.5.0'
42
- @gen_version = '2.486.1'
43
- @user_agent = 'speakeasy-sdk/ruby 0.5.0 2.486.1 1.0.0 stackone_client'
41
+ @sdk_version = '0.5.2'
42
+ @gen_version = '2.495.1'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.5.2 2.495.1 1.0.0 stackone_client'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -65,9 +65,10 @@ module StackOne
65
65
  out = Utils.unmarshal_complex(r.env.response_body, T::Array[::StackOne::Shared::CreateEventResponse])
66
66
  res.create_event_responses = out
67
67
  end
68
- elsif [400, 403, 404, 412, 429, 500, 501].include?(r.status)
68
+ elsif [400, 403, 404, 412, 429].include?(r.status)
69
69
  elsif r.status == 408
70
70
  res.headers = r.headers
71
+ elsif [500, 501].include?(r.status)
71
72
  end
72
73
 
73
74
  res
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackone_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-06 00:00:00.000000000 Z
11
+ date: 2025-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -152,6 +152,8 @@ files:
152
152
  - lib/stack_one/lms.rb
153
153
  - lib/stack_one/marketing.rb
154
154
  - lib/stack_one/models/operations.rb
155
+ - lib/stack_one/models/operations/ats_create_application_note_request.rb
156
+ - lib/stack_one/models/operations/ats_create_application_note_response.rb
155
157
  - lib/stack_one/models/operations/ats_create_application_request.rb
156
158
  - lib/stack_one/models/operations/ats_create_application_response.rb
157
159
  - lib/stack_one/models/operations/ats_create_background_check_package_request.rb
@@ -170,6 +172,8 @@ files:
170
172
  - lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb
171
173
  - lib/stack_one/models/operations/ats_get_application_document_request.rb
172
174
  - lib/stack_one/models/operations/ats_get_application_document_response.rb
175
+ - lib/stack_one/models/operations/ats_get_application_note_request.rb
176
+ - lib/stack_one/models/operations/ats_get_application_note_response.rb
173
177
  - lib/stack_one/models/operations/ats_get_application_offer_request.rb
174
178
  - lib/stack_one/models/operations/ats_get_application_offer_response.rb
175
179
  - lib/stack_one/models/operations/ats_get_application_request.rb
@@ -225,6 +229,9 @@ files:
225
229
  - lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb
226
230
  - lib/stack_one/models/operations/ats_list_application_documents_request.rb
227
231
  - lib/stack_one/models/operations/ats_list_application_documents_response.rb
232
+ - lib/stack_one/models/operations/ats_list_application_notes_queryparam_filter.rb
233
+ - lib/stack_one/models/operations/ats_list_application_notes_request.rb
234
+ - lib/stack_one/models/operations/ats_list_application_notes_response.rb
228
235
  - lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb
229
236
  - lib/stack_one/models/operations/ats_list_application_scorecards_request.rb
230
237
  - lib/stack_one/models/operations/ats_list_application_scorecards_response.rb
@@ -292,6 +299,8 @@ files:
292
299
  - lib/stack_one/models/operations/ats_move_application_response.rb
293
300
  - lib/stack_one/models/operations/ats_reject_application_request.rb
294
301
  - lib/stack_one/models/operations/ats_reject_application_response.rb
302
+ - lib/stack_one/models/operations/ats_update_application_note_request.rb
303
+ - lib/stack_one/models/operations/ats_update_application_note_response.rb
295
304
  - lib/stack_one/models/operations/ats_update_application_request.rb
296
305
  - lib/stack_one/models/operations/ats_update_application_response.rb
297
306
  - lib/stack_one/models/operations/ats_update_candidate_request.rb
@@ -458,6 +467,7 @@ files:
458
467
  - lib/stack_one/models/operations/iam_list_users_queryparam_filter.rb
459
468
  - lib/stack_one/models/operations/iam_list_users_request.rb
460
469
  - lib/stack_one/models/operations/iam_list_users_response.rb
470
+ - lib/stack_one/models/operations/job_status.rb
461
471
  - lib/stack_one/models/operations/learning_object_type.rb
462
472
  - lib/stack_one/models/operations/lms_batch_upsert_content_request.rb
463
473
  - lib/stack_one/models/operations/lms_batch_upsert_content_response.rb
@@ -676,6 +686,9 @@ files:
676
686
  - lib/stack_one/models/shared/atsupdatejobrequestdto_confidential.rb
677
687
  - lib/stack_one/models/shared/atsupdatejobrequestdto_job_status.rb
678
688
  - lib/stack_one/models/shared/atsupdatejobrequestdto_value.rb
689
+ - lib/stack_one/models/shared/atsupdatenotesrequestdto.rb
690
+ - lib/stack_one/models/shared/atsupdatenotesrequestdto_value.rb
691
+ - lib/stack_one/models/shared/atsupdatenotesrequestdto_visibility.rb
679
692
  - lib/stack_one/models/shared/attachment.rb
680
693
  - lib/stack_one/models/shared/attachment_content_type.rb
681
694
  - lib/stack_one/models/shared/attachment_value.rb
@@ -714,6 +727,7 @@ files:
714
727
  - lib/stack_one/models/shared/categories.rb
715
728
  - lib/stack_one/models/shared/categoriespaginated.rb
716
729
  - lib/stack_one/models/shared/category.rb
730
+ - lib/stack_one/models/shared/category_schemas_value.rb
717
731
  - lib/stack_one/models/shared/category_value.rb
718
732
  - lib/stack_one/models/shared/categoryresult.rb
719
733
  - lib/stack_one/models/shared/channelsenum.rb
@@ -764,7 +778,9 @@ files:
764
778
  - lib/stack_one/models/shared/createanswer_type.rb
765
779
  - lib/stack_one/models/shared/createanswer_value.rb
766
780
  - lib/stack_one/models/shared/createcategoriesapimodel.rb
781
+ - lib/stack_one/models/shared/createcategoriesapimodel_language.rb
767
782
  - lib/stack_one/models/shared/createcategoriesapimodel_level.rb
783
+ - lib/stack_one/models/shared/createcategoriesapimodel_schemas_value.rb
768
784
  - lib/stack_one/models/shared/createcategoriesapimodel_value.rb
769
785
  - lib/stack_one/models/shared/createcontentapimodel.rb
770
786
  - lib/stack_one/models/shared/createcostcenterapimodel.rb
@@ -1061,6 +1077,7 @@ files:
1061
1077
  - lib/stack_one/models/shared/jobresult.rb
1062
1078
  - lib/stack_one/models/shared/jobspaginated.rb
1063
1079
  - lib/stack_one/models/shared/label.rb
1080
+ - lib/stack_one/models/shared/language.rb
1064
1081
  - lib/stack_one/models/shared/languageenum.rb
1065
1082
  - lib/stack_one/models/shared/languageenum_value.rb
1066
1083
  - lib/stack_one/models/shared/learning_object_type.rb
@@ -1211,6 +1228,7 @@ files:
1211
1228
  - lib/stack_one/models/shared/unifieduploadrequestdto_file_format.rb
1212
1229
  - lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb
1213
1230
  - lib/stack_one/models/shared/unifieduploadrequestdto_value.rb
1231
+ - lib/stack_one/models/shared/unifiedwarningapimodel.rb
1214
1232
  - lib/stack_one/models/shared/updateemployeeapimodel.rb
1215
1233
  - lib/stack_one/models/shared/updateemployeeapimodel_avatar.rb
1216
1234
  - lib/stack_one/models/shared/updateemployeeapimodel_country.rb