stackone_client 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +1 -1
  3. data/lib/stack_one/hris.rb +50 -0
  4. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +3 -22
  5. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +3 -22
  6. data/lib/stack_one/models/operations/ats_get_application_request.rb +3 -22
  7. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +3 -22
  8. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +3 -22
  9. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +3 -22
  10. data/lib/stack_one/models/operations/ats_get_department_request.rb +3 -22
  11. data/lib/stack_one/models/operations/ats_get_interview_request.rb +3 -22
  12. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +3 -22
  13. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +3 -22
  14. data/lib/stack_one/models/operations/ats_get_job_request.rb +3 -22
  15. data/lib/stack_one/models/operations/ats_get_location_request.rb +3 -22
  16. data/lib/stack_one/models/operations/ats_get_offer_request.rb +3 -22
  17. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +3 -22
  18. data/lib/stack_one/models/operations/ats_get_user_request.rb +3 -22
  19. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  34. data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +30 -0
  35. data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
  36. data/lib/stack_one/models/operations.rb +2 -0
  37. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
  38. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -28
  39. data/lib/stack_one/models/shared/content.rb +5 -2
  40. data/lib/stack_one/models/shared/employee.rb +5 -2
  41. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
  42. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  43. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +27 -0
  44. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +115 -0
  45. data/lib/stack_one/models/shared/preferred_language.rb +27 -0
  46. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +59 -0
  47. data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +27 -0
  48. data/lib/stack_one/models/shared/{atsupdateapplicationrequestdto_application_status.rb → unifieduploadrequestdto_file_format.rb} +6 -6
  49. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1226 -0
  50. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +19 -0
  51. data/lib/stack_one/models/shared.rb +12 -6
  52. data/lib/stack_one/sdkconfiguration.rb +3 -3
  53. metadata +13 -5
  54. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +0 -30
  55. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -32
@@ -0,0 +1,19 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Shared
9
+
10
+
11
+ class UnifiedUploadRequestDtoValue < T::Enum
12
+ enums do
13
+ TRUE = new('true')
14
+ FALSE = new('false')
15
+ end
16
+ end
17
+
18
+ end
19
+ end
@@ -32,9 +32,6 @@ module StackOne
32
32
  autoload :AnswerValue, 'stack_one/models/shared/answer_value.rb'
33
33
  autoload :Type, 'stack_one/models/shared/type.rb'
34
34
  autoload :Answer, 'stack_one/models/shared/answer.rb'
35
- autoload :ApplicationAttachmentValue, 'stack_one/models/shared/applicationattachment_value.rb'
36
- autoload :ContentType, 'stack_one/models/shared/content_type.rb'
37
- autoload :ApplicationAttachment, 'stack_one/models/shared/applicationattachment.rb'
38
35
  autoload :CandidateResult, 'stack_one/models/shared/candidateresult.rb'
39
36
  autoload :RawResponse, 'stack_one/models/shared/rawresponse.rb'
40
37
  autoload :Candidate, 'stack_one/models/shared/candidate.rb'
@@ -69,6 +66,9 @@ module StackOne
69
66
  autoload :ContentValue, 'stack_one/models/shared/content_value.rb'
70
67
  autoload :FileFormat, 'stack_one/models/shared/file_format.rb'
71
68
  autoload :Content, 'stack_one/models/shared/content.rb'
69
+ autoload :ApplicationAttachmentValue, 'stack_one/models/shared/applicationattachment_value.rb'
70
+ autoload :ContentType, 'stack_one/models/shared/content_type.rb'
71
+ autoload :ApplicationAttachment, 'stack_one/models/shared/applicationattachment.rb'
72
72
  autoload :DocumentResult, 'stack_one/models/shared/documentresult.rb'
73
73
  autoload :OffersResult, 'stack_one/models/shared/offersresult.rb'
74
74
  autoload :OfferValue, 'stack_one/models/shared/offer_value.rb'
@@ -143,9 +143,6 @@ module StackOne
143
143
  autoload :RejectedReasonsPaginated, 'stack_one/models/shared/rejectedreasonspaginated.rb'
144
144
  autoload :UsersPaginated, 'stack_one/models/shared/userspaginated.rb'
145
145
  autoload :UpdateResult, 'stack_one/models/shared/updateresult.rb'
146
- autoload :AtsUpdateApplicationRequestDtoValue, 'stack_one/models/shared/atsupdateapplicationrequestdto_value.rb'
147
- autoload :AtsUpdateApplicationRequestDtoApplicationStatus, 'stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb'
148
- autoload :AtsUpdateApplicationRequestDtoCandidate, 'stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb'
149
146
  autoload :AtsUpdateApplicationRequestDto, 'stack_one/models/shared/atsupdateapplicationrequestdto.rb'
150
147
  autoload :AtsUpdateCandidatesRequestDto, 'stack_one/models/shared/atsupdatecandidatesrequestdto.rb'
151
148
  autoload :ContactResult, 'stack_one/models/shared/contactresult.rb'
@@ -184,6 +181,8 @@ module StackOne
184
181
  autoload :HrisCreateEmployeeRequestDtoHomeLocation, 'stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb'
185
182
  autoload :HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb'
186
183
  autoload :HrisCreateEmployeeRequestDtoMaritalStatus, 'stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb'
184
+ autoload :HrisCreateEmployeeRequestDtoSchemasPreferredLanguageValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb'
185
+ autoload :HrisCreateEmployeeRequestDtoPreferredLanguage, 'stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb'
187
186
  autoload :HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb'
188
187
  autoload :HrisCreateEmployeeRequestDtoSchemasCountry, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb'
189
188
  autoload :HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, 'stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb'
@@ -249,6 +248,8 @@ module StackOne
249
248
  autoload :JobDescription, 'stack_one/models/shared/job_description.rb'
250
249
  autoload :EmployeeSchemasMaritalStatusValue, 'stack_one/models/shared/employee_schemas_marital_status_value.rb'
251
250
  autoload :MaritalStatus, 'stack_one/models/shared/marital_status.rb'
251
+ autoload :EmployeeSchemasPreferredLanguageValue, 'stack_one/models/shared/employee_schemas_preferred_language_value.rb'
252
+ autoload :PreferredLanguage, 'stack_one/models/shared/preferred_language.rb'
252
253
  autoload :EmployeeSchemasWorkLocationValue, 'stack_one/models/shared/employee_schemas_work_location_value.rb'
253
254
  autoload :EmployeeSchemasCountry, 'stack_one/models/shared/employee_schemas_country.rb'
254
255
  autoload :EmployeeSchemasWorkLocationLocationTypeValue, 'stack_one/models/shared/employee_schemas_work_location_location_type_value.rb'
@@ -283,6 +284,11 @@ module StackOne
283
284
  autoload :EmployeesPaginated, 'stack_one/models/shared/employeespaginated.rb'
284
285
  autoload :EmploymentsPaginated, 'stack_one/models/shared/employmentspaginated.rb'
285
286
  autoload :HRISLocationsPaginated, 'stack_one/models/shared/hrislocationspaginated.rb'
287
+ autoload :UnifiedUploadRequestDtoValue, 'stack_one/models/shared/unifieduploadrequestdto_value.rb'
288
+ autoload :UnifiedUploadRequestDtoConfidential, 'stack_one/models/shared/unifieduploadrequestdto_confidential.rb'
289
+ autoload :UnifiedUploadRequestDtoSchemasValue, 'stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb'
290
+ autoload :UnifiedUploadRequestDtoFileFormat, 'stack_one/models/shared/unifieduploadrequestdto_file_format.rb'
291
+ autoload :UnifiedUploadRequestDto, 'stack_one/models/shared/unifieduploadrequestdto.rb'
286
292
  autoload :CreateTemplateResult, 'stack_one/models/shared/createtemplateresult.rb'
287
293
  autoload :MarketingCreateEmailTemplateRequestDto, 'stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb'
288
294
  autoload :MessageContent, 'stack_one/models/shared/message_content.rb'
@@ -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.2.6'
42
- @gen_version = '2.281.2'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.6 2.281.2 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.7'
42
+ @gen_version = '2.287.0'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.7 2.287.0 1.0.0 stackone_client'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
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.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-18 00:00:00.000000000 Z
11
+ date: 2024-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -294,6 +294,8 @@ files:
294
294
  - lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb
295
295
  - lib/stack_one/models/operations/hris_update_time_off_request_request.rb
296
296
  - lib/stack_one/models/operations/hris_update_time_off_request_response.rb
297
+ - lib/stack_one/models/operations/hris_upload_employee_document_request.rb
298
+ - lib/stack_one/models/operations/hris_upload_employee_document_response.rb
297
299
  - lib/stack_one/models/operations/marketing_create_email_template_request.rb
298
300
  - lib/stack_one/models/operations/marketing_create_email_template_response.rb
299
301
  - lib/stack_one/models/operations/marketing_create_omni_channel_template_request.rb
@@ -371,9 +373,6 @@ files:
371
373
  - lib/stack_one/models/shared/atslocationresult.rb
372
374
  - lib/stack_one/models/shared/atslocationspaginated.rb
373
375
  - lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb
374
- - lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb
375
- - lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb
376
- - lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb
377
376
  - lib/stack_one/models/shared/atsupdatecandidatesrequestdto.rb
378
377
  - lib/stack_one/models/shared/avatar.rb
379
378
  - lib/stack_one/models/shared/benefit_type.rb
@@ -443,6 +442,7 @@ files:
443
442
  - lib/stack_one/models/shared/employee_schemas_home_location_value.rb
444
443
  - lib/stack_one/models/shared/employee_schemas_location_type.rb
445
444
  - lib/stack_one/models/shared/employee_schemas_marital_status_value.rb
445
+ - lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb
446
446
  - lib/stack_one/models/shared/employee_schemas_value.rb
447
447
  - lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb
448
448
  - lib/stack_one/models/shared/employee_schemas_work_location_value.rb
@@ -488,6 +488,7 @@ files:
488
488
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_gender.rb
489
489
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb
490
490
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb
491
+ - lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb
491
492
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb
492
493
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb
493
494
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb
@@ -495,6 +496,7 @@ files:
495
496
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb
496
497
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb
497
498
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb
499
+ - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb
498
500
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb
499
501
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb
500
502
  - lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb
@@ -596,6 +598,7 @@ files:
596
598
  - lib/stack_one/models/shared/pay_period.rb
597
599
  - lib/stack_one/models/shared/phonenumber.rb
598
600
  - lib/stack_one/models/shared/phonenumber_type.rb
601
+ - lib/stack_one/models/shared/preferred_language.rb
599
602
  - lib/stack_one/models/shared/proxyrequestbody.rb
600
603
  - lib/stack_one/models/shared/pushmessages.rb
601
604
  - lib/stack_one/models/shared/pushmessages_message_content.rb
@@ -634,6 +637,11 @@ files:
634
637
  - lib/stack_one/models/shared/timeoffpaginated.rb
635
638
  - lib/stack_one/models/shared/timeoffresult.rb
636
639
  - lib/stack_one/models/shared/type.rb
640
+ - lib/stack_one/models/shared/unifieduploadrequestdto.rb
641
+ - lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb
642
+ - lib/stack_one/models/shared/unifieduploadrequestdto_file_format.rb
643
+ - lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb
644
+ - lib/stack_one/models/shared/unifieduploadrequestdto_value.rb
637
645
  - lib/stack_one/models/shared/updateresult.rb
638
646
  - lib/stack_one/models/shared/user.rb
639
647
  - lib/stack_one/models/shared/userresult.rb
@@ -1,30 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
-
11
- class AtsUpdateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
- # Email of the candidate
15
- field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
16
- # First name of the candidate
17
- field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
18
- # Last name of the candidate
19
- field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
20
-
21
-
22
- sig { params(email: T.nilable(::String), first_name: T.nilable(::String), last_name: T.nilable(::String)).void }
23
- def initialize(email: nil, first_name: nil, last_name: nil)
24
- @email = email
25
- @first_name = first_name
26
- @last_name = last_name
27
- end
28
- end
29
- end
30
- end
@@ -1,32 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
-
7
- module StackOne
8
- module Shared
9
-
10
- # AtsUpdateApplicationRequestDtoValue - The status of the application.
11
- class AtsUpdateApplicationRequestDtoValue < T::Enum
12
- enums do
13
- ACTIVE = new('active')
14
- ASSESSMENT = new('assessment')
15
- BACKGROUND_CHECK = new('background_check')
16
- CONVERTED = new('converted')
17
- DECLINED_BY_CANDIDATE = new('declined_by_candidate')
18
- HIRED = new('hired')
19
- INTERVIEW = new('interview')
20
- LEAD = new('lead')
21
- OFFER = new('offer')
22
- REFERENCE_CHECK = new('reference_check')
23
- REJECTED = new('rejected')
24
- REVIEW = new('review')
25
- SCREEN = new('screen')
26
- NEW = new('new')
27
- UNMAPPED_VALUE = new('unmapped_value')
28
- end
29
- end
30
-
31
- end
32
- end