stackone_client 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +8 -8
  3. data/lib/stack_one/hris.rb +83 -12
  4. data/lib/stack_one/marketing.rb +12 -12
  5. data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +4 -4
  6. data/lib/stack_one/models/operations/ats_create_offer_response.rb +4 -4
  7. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
  8. data/lib/stack_one/models/operations/ats_get_application_document_response.rb +4 -4
  9. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
  10. data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
  11. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
  12. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
  13. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
  14. data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
  15. data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
  16. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
  17. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
  18. data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
  19. data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +8 -3
  24. data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +4 -4
  25. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +8 -3
  26. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +8 -3
  27. data/lib/stack_one/models/operations/ats_list_applications_request.rb +13 -3
  28. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +8 -3
  29. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +8 -3
  30. data/lib/stack_one/models/operations/ats_list_departments_request.rb +8 -3
  31. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +8 -3
  32. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +8 -3
  33. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +8 -3
  34. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +8 -3
  35. data/lib/stack_one/models/operations/ats_list_locations_request.rb +8 -3
  36. data/lib/stack_one/models/operations/ats_list_offers_request.rb +8 -3
  37. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +8 -3
  38. data/lib/stack_one/models/operations/ats_list_users_request.rb +8 -3
  39. data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
  40. data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
  41. data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
  42. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +8 -3
  43. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +8 -3
  44. data/lib/stack_one/models/operations/crm_list_lists_request.rb +8 -3
  45. data/lib/stack_one/models/operations/hris_create_employee_response.rb +4 -4
  46. data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +4 -4
  47. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +4 -4
  48. data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +4 -4
  49. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
  50. data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
  51. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
  52. data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
  53. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
  54. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +1 -1
  55. data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
  56. data/lib/stack_one/models/operations/hris_get_group_request.rb +36 -0
  57. data/lib/stack_one/models/operations/hris_get_group_response.rb +33 -0
  58. data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
  59. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
  60. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +8 -3
  61. data/lib/stack_one/models/operations/hris_list_companies_request.rb +8 -3
  62. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +8 -3
  63. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +8 -3
  64. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +8 -3
  65. data/lib/stack_one/models/operations/hris_list_employees_request.rb +11 -3
  66. data/lib/stack_one/models/operations/hris_list_employments_request.rb +8 -3
  67. data/lib/stack_one/models/operations/hris_list_groups_request.rb +52 -0
  68. data/lib/stack_one/models/operations/hris_list_groups_response.rb +33 -0
  69. data/lib/stack_one/models/operations/hris_list_locations_request.rb +8 -3
  70. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +8 -3
  71. data/lib/stack_one/models/operations/hris_update_employee_response.rb +4 -4
  72. data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +4 -4
  73. data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +4 -4
  74. data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +4 -4
  75. data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +4 -4
  76. data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
  77. data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
  78. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
  79. data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
  80. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +8 -3
  81. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +8 -3
  82. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +8 -3
  83. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +8 -3
  84. data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +4 -4
  85. data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +4 -4
  86. data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +4 -4
  87. data/lib/stack_one/models/operations.rb +4 -0
  88. data/lib/stack_one/models/shared/application_value.rb +5 -0
  89. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +5 -0
  90. data/lib/stack_one/models/shared/atsdocumentresult.rb +27 -0
  91. data/lib/stack_one/models/shared/atsdocumentspaginated.rb +33 -0
  92. data/lib/stack_one/models/shared/confidential.rb +1 -1
  93. data/lib/stack_one/models/shared/createresult.rb +5 -2
  94. data/lib/stack_one/models/shared/createresultdataapimodel.rb +27 -0
  95. data/lib/stack_one/models/shared/hrisgroup.rb +36 -0
  96. data/lib/stack_one/models/shared/hrisgroup_type.rb +27 -0
  97. data/lib/stack_one/models/shared/hrisgroup_value.rb +22 -0
  98. data/lib/stack_one/models/shared/hrisgroupspaginated.rb +33 -0
  99. data/lib/stack_one/models/shared/hrisgroupsresult.rb +27 -0
  100. data/lib/stack_one/models/shared/job.rb +2 -2
  101. data/lib/stack_one/models/shared/jobresult.rb +4 -4
  102. data/lib/stack_one/models/shared/linkedaccount.rb +2 -5
  103. data/lib/stack_one/models/shared.rb +13 -11
  104. data/lib/stack_one/sdkconfiguration.rb +3 -3
  105. metadata +14 -8
  106. data/lib/stack_one/models/shared/createcandidatenoteresult.rb +0 -30
  107. data/lib/stack_one/models/shared/createemployeeresult.rb +0 -30
  108. data/lib/stack_one/models/shared/createofferresult.rb +0 -30
  109. data/lib/stack_one/models/shared/createtemplateresult.rb +0 -30
  110. data/lib/stack_one/models/shared/createtimeoffresult.rb +0 -30
  111. data/lib/stack_one/models/shared/createworkeligibilityresult.rb +0 -30
@@ -0,0 +1,33 @@
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 AtsDocumentsPaginated < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, T::Array[::StackOne::Shared::AtsDocumentApiModel], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
18
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
+ field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
20
+
21
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
22
+
23
+
24
+ sig { params(data: T::Array[::StackOne::Shared::AtsDocumentApiModel], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
25
+ def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
26
+ @data = data
27
+ @next_ = next_
28
+ @next_page = next_page
29
+ @raw = raw
30
+ end
31
+ end
32
+ end
33
+ end
@@ -7,7 +7,7 @@
7
7
  module StackOne
8
8
  module Shared
9
9
 
10
-
10
+ # Confidential - Confidential status of the job
11
11
  class Confidential < T::Enum
12
12
  enums do
13
13
  TRUE = new('true')
@@ -12,6 +12,8 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
+ field :data, ::StackOne::Shared::CreateResultDataApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
15
17
  field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
18
 
17
19
  field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
@@ -19,8 +21,9 @@ module StackOne
19
21
  field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
20
22
 
21
23
 
22
- sig { params(message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
23
- def initialize(message: nil, status_code: nil, timestamp: nil)
24
+ sig { params(data: ::StackOne::Shared::CreateResultDataApiModel, message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
25
+ def initialize(data: nil, message: nil, status_code: nil, timestamp: nil)
26
+ @data = data
24
27
  @message = message
25
28
  @status_code = status_code
26
29
  @timestamp = timestamp
@@ -0,0 +1,27 @@
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 CreateResultDataApiModel < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Unique identifier
15
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
+ # Provider's unique identifier
17
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
18
+
19
+
20
+ sig { params(id: T.nilable(::String), remote_id: T.nilable(::String)).void }
21
+ def initialize(id: nil, remote_id: nil)
22
+ @id = id
23
+ @remote_id = remote_id
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,36 @@
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 HRISGroup < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Unique identifier
15
+ field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
16
+ # The name of the group
17
+ field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
18
+ # The list of parent group ids of the given group
19
+ field :parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('parent_ids') } }
20
+ # Provider's unique identifier
21
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
22
+ # The type of the group
23
+ field :type, T.nilable(::StackOne::Shared::HRISGroupType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
24
+
25
+
26
+ sig { params(id: T.nilable(::String), name: T.nilable(::String), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::HRISGroupType)).void }
27
+ def initialize(id: nil, name: nil, parent_ids: nil, remote_id: nil, type: nil)
28
+ @id = id
29
+ @name = name
30
+ @parent_ids = parent_ids
31
+ @remote_id = remote_id
32
+ @type = type
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,27 @@
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
+ # The type of the group
11
+ class HRISGroupType < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
16
+
17
+ field :value, T.nilable(::StackOne::Shared::HRISGroupValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HRISGroupValue, true) } }
18
+
19
+
20
+ sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HRISGroupValue)).void }
21
+ def initialize(source_value: nil, value: nil)
22
+ @source_value = source_value
23
+ @value = value
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,22 @@
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 HRISGroupValue < T::Enum
12
+ enums do
13
+ WORKSPACE = new('workspace')
14
+ TEAM = new('team')
15
+ DEPARTMENT = new('department')
16
+ GROUP = new('group')
17
+ UNMAPPED_VALUE = new('unmapped_value')
18
+ end
19
+ end
20
+
21
+ end
22
+ end
@@ -0,0 +1,33 @@
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 HRISGroupsPaginated < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, T::Array[::StackOne::Shared::HRISGroup], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
18
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
19
+ field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
20
+
21
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
22
+
23
+
24
+ sig { params(data: T::Array[::StackOne::Shared::HRISGroup], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
25
+ def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
26
+ @data = data
27
+ @next_ = next_
28
+ @next_page = next_page
29
+ @raw = raw
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,27 @@
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 HRISGroupsResult < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :data, ::StackOne::Shared::HRISGroup, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
+
17
+ field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
18
+
19
+
20
+ sig { params(data: ::StackOne::Shared::HRISGroup, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
+ def initialize(data: nil, raw: nil)
22
+ @data = data
23
+ @raw = raw
24
+ end
25
+ end
26
+ end
27
+ end
@@ -14,7 +14,7 @@ module StackOne
14
14
  # Code of the job
15
15
  field :code, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('code') } }
16
16
  # Confidential status of the job
17
- field :confidential, T.nilable(T::Array[::StackOne::Shared::Confidential]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential') } }
17
+ field :confidential, T.nilable(::StackOne::Shared::Confidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential'), 'decoder': Utils.enum_from_string(::StackOne::Shared::Confidential, true) } }
18
18
  # Date of creation
19
19
  field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
20
  # Department ids of the job
@@ -41,7 +41,7 @@ module StackOne
41
41
  field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
42
42
 
43
43
 
44
- sig { params(code: T.nilable(::String), confidential: T.nilable(T::Array[::StackOne::Shared::Confidential]), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
44
+ sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::Confidential), created_at: T.nilable(::DateTime), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobStatus), location_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), status: T.nilable(::String), title: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
45
45
  def initialize(code: nil, confidential: nil, created_at: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, remote_id: nil, status: nil, title: nil, updated_at: nil)
46
46
  @code = code
47
47
  @confidential = confidential
@@ -12,14 +12,14 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :job, ::StackOne::Shared::Job, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job') } }
15
+ field :data, ::StackOne::Shared::Job, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
16
16
 
17
17
  field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
18
18
 
19
19
 
20
- sig { params(job: ::StackOne::Shared::Job, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
- def initialize(job: nil, raw: nil)
22
- @job = job
20
+ sig { params(data: ::StackOne::Shared::Job, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
21
+ def initialize(data: nil, raw: nil)
22
+ @data = data
23
23
  @raw = raw
24
24
  end
25
25
  end
@@ -12,8 +12,6 @@ module StackOne
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :active, T::Boolean, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
16
-
17
15
  field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
18
16
 
19
17
  field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
@@ -39,9 +37,8 @@ module StackOne
39
37
  field :status_reasons, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status_reasons') } }
40
38
 
41
39
 
42
- sig { params(active: T::Boolean, created_at: ::DateTime, id: ::String, origin_owner_id: ::String, origin_owner_name: ::String, provider: ::String, status: ::StackOne::Shared::LinkedAccountStatus, updated_at: ::DateTime, credentials: T.nilable(::StackOne::Shared::Credentials), label: T.nilable(::String), origin_username: T.nilable(::String), setup_information: T.nilable(::StackOne::Shared::SetupInformation), status_reasons: T.nilable(T::Array[::String])).void }
43
- def initialize(active: nil, created_at: nil, id: nil, origin_owner_id: nil, origin_owner_name: nil, provider: nil, status: nil, updated_at: nil, credentials: nil, label: nil, origin_username: nil, setup_information: nil, status_reasons: nil)
44
- @active = active
40
+ sig { params(created_at: ::DateTime, id: ::String, origin_owner_id: ::String, origin_owner_name: ::String, provider: ::String, status: ::StackOne::Shared::LinkedAccountStatus, updated_at: ::DateTime, credentials: T.nilable(::StackOne::Shared::Credentials), label: T.nilable(::String), origin_username: T.nilable(::String), setup_information: T.nilable(::StackOne::Shared::SetupInformation), status_reasons: T.nilable(T::Array[::String])).void }
41
+ def initialize(created_at: nil, id: nil, origin_owner_id: nil, origin_owner_name: nil, provider: nil, status: nil, updated_at: nil, credentials: nil, label: nil, origin_username: nil, setup_information: nil, status_reasons: nil)
45
42
  @created_at = created_at
46
43
  @id = id
47
44
  @origin_owner_id = origin_owner_id
@@ -25,6 +25,7 @@ module StackOne
25
25
  autoload :Resources, 'stack_one/models/shared/resources.rb'
26
26
  autoload :ConnectorsMeta, 'stack_one/models/shared/connectorsmeta.rb'
27
27
  autoload :CreateResult, 'stack_one/models/shared/createresult.rb'
28
+ autoload :CreateResultDataApiModel, 'stack_one/models/shared/createresultdataapimodel.rb'
28
29
  autoload :AtsCreateApplicationRequestDtoValue, 'stack_one/models/shared/atscreateapplicationrequestdto_value.rb'
29
30
  autoload :AtsCreateApplicationRequestDtoApplicationStatus, 'stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb'
30
31
  autoload :AtsCreateApplicationRequestDtoCandidate, 'stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb'
@@ -41,12 +42,10 @@ module StackOne
41
42
  autoload :PhoneNumber, 'stack_one/models/shared/phonenumber.rb'
42
43
  autoload :CandidateEmail, 'stack_one/models/shared/candidateemail.rb'
43
44
  autoload :AtsCreateCandidateRequestDto, 'stack_one/models/shared/atscreatecandidaterequestdto.rb'
44
- autoload :CreateCandidateNoteResult, 'stack_one/models/shared/createcandidatenoteresult.rb'
45
45
  autoload :AtsCreateNotesRequestDtoValue, 'stack_one/models/shared/atscreatenotesrequestdto_value.rb'
46
46
  autoload :Visibility, 'stack_one/models/shared/visibility.rb'
47
47
  autoload :AtsCreateNotesRequestDto, 'stack_one/models/shared/atscreatenotesrequestdto.rb'
48
48
  autoload :NoteContentApiModel, 'stack_one/models/shared/notecontentapimodel.rb'
49
- autoload :CreateOfferResult, 'stack_one/models/shared/createofferresult.rb'
50
49
  autoload :AtsCreateOfferRequestDtoValue, 'stack_one/models/shared/atscreateofferrequestdto_value.rb'
51
50
  autoload :OfferStatus, 'stack_one/models/shared/offer_status.rb'
52
51
  autoload :AtsCreateOfferRequestDto, 'stack_one/models/shared/atscreateofferrequestdto.rb'
@@ -70,10 +69,7 @@ module StackOne
70
69
  autoload :ApplicationAttachmentValue, 'stack_one/models/shared/applicationattachment_value.rb'
71
70
  autoload :ContentType, 'stack_one/models/shared/content_type.rb'
72
71
  autoload :ApplicationAttachment, 'stack_one/models/shared/applicationattachment.rb'
73
- autoload :HrisDocumentResult, 'stack_one/models/shared/hrisdocumentresult.rb'
74
- autoload :HrisDocumentApiModelValue, 'stack_one/models/shared/hrisdocumentapimodel_value.rb'
75
- autoload :HrisDocumentApiModelType, 'stack_one/models/shared/hrisdocumentapimodel_type.rb'
76
- autoload :HrisDocumentApiModel, 'stack_one/models/shared/hrisdocumentapimodel.rb'
72
+ autoload :AtsDocumentResult, 'stack_one/models/shared/atsdocumentresult.rb'
77
73
  autoload :OffersResult, 'stack_one/models/shared/offersresult.rb'
78
74
  autoload :OfferValue, 'stack_one/models/shared/offer_value.rb'
79
75
  autoload :OfferOfferStatus, 'stack_one/models/shared/offer_offer_status.rb'
@@ -133,7 +129,7 @@ module StackOne
133
129
  autoload :RejectedReasonResult, 'stack_one/models/shared/rejectedreasonresult.rb'
134
130
  autoload :UserResult, 'stack_one/models/shared/userresult.rb'
135
131
  autoload :User, 'stack_one/models/shared/user.rb'
136
- autoload :HrisDocumentsPaginated, 'stack_one/models/shared/hrisdocumentspaginated.rb'
132
+ autoload :AtsDocumentsPaginated, 'stack_one/models/shared/atsdocumentspaginated.rb'
137
133
  autoload :ScorecardsPaginated, 'stack_one/models/shared/scorecardspaginated.rb'
138
134
  autoload :ApplicationsPaginated, 'stack_one/models/shared/applicationspaginated.rb'
139
135
  autoload :OffersPaginated, 'stack_one/models/shared/offerspaginated.rb'
@@ -167,7 +163,6 @@ module StackOne
167
163
  autoload :AccountsPaginated, 'stack_one/models/shared/accountspaginated.rb'
168
164
  autoload :ContactsPaginated, 'stack_one/models/shared/contactspaginated.rb'
169
165
  autoload :ListsPaginated, 'stack_one/models/shared/listspaginated.rb'
170
- autoload :CreateEmployeeResult, 'stack_one/models/shared/createemployeeresult.rb'
171
166
  autoload :HrisCreateEmployeeRequestDtoAvatar, 'stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb'
172
167
  autoload :HrisCreateEmployeeRequestDtoValue, 'stack_one/models/shared/hriscreateemployeerequestdto_value.rb'
173
168
  autoload :HrisCreateEmployeeRequestDtoEmploymentContractType, 'stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb'
@@ -212,13 +207,11 @@ module StackOne
212
207
  autoload :HRISBenefitValue, 'stack_one/models/shared/hrisbenefit_value.rb'
213
208
  autoload :BenefitType, 'stack_one/models/shared/benefit_type.rb'
214
209
  autoload :HRISBenefit, 'stack_one/models/shared/hrisbenefit.rb'
215
- autoload :CreateTimeOffResult, 'stack_one/models/shared/createtimeoffresult.rb'
216
210
  autoload :HrisCreateTimeOffRequestDtoValue, 'stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb'
217
211
  autoload :HrisCreateTimeOffRequestDtoStatus, 'stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb'
218
212
  autoload :HrisCreateTimeOffRequestDtoSchemasValue, 'stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb'
219
213
  autoload :HrisCreateTimeOffRequestDtoType, 'stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb'
220
214
  autoload :HrisCreateTimeOffRequestDto, 'stack_one/models/shared/hriscreatetimeoffrequestdto.rb'
221
- autoload :CreateWorkEligibilityResult, 'stack_one/models/shared/createworkeligibilityresult.rb'
222
215
  autoload :Document, 'stack_one/models/shared/document.rb'
223
216
  autoload :HrisCreateWorkEligibilityRequestDtoValue, 'stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb'
224
217
  autoload :IssuedBy, 'stack_one/models/shared/issued_by.rb'
@@ -258,6 +251,10 @@ module StackOne
258
251
  autoload :WorkLocation, 'stack_one/models/shared/work_location.rb'
259
252
  autoload :Employee, 'stack_one/models/shared/employee.rb'
260
253
  autoload :CostCenters, 'stack_one/models/shared/costcenters.rb'
254
+ autoload :HrisDocumentResult, 'stack_one/models/shared/hrisdocumentresult.rb'
255
+ autoload :HrisDocumentApiModelValue, 'stack_one/models/shared/hrisdocumentapimodel_value.rb'
256
+ autoload :HrisDocumentApiModelType, 'stack_one/models/shared/hrisdocumentapimodel_type.rb'
257
+ autoload :HrisDocumentApiModel, 'stack_one/models/shared/hrisdocumentapimodel.rb'
261
258
  autoload :TimeOffResult, 'stack_one/models/shared/timeoffresult.rb'
262
259
  autoload :TimeOffValue, 'stack_one/models/shared/timeoff_value.rb'
263
260
  autoload :TimeOffStatus, 'stack_one/models/shared/timeoff_status.rb'
@@ -272,6 +269,10 @@ module StackOne
272
269
  autoload :WorkEligibilityType, 'stack_one/models/shared/workeligibility_type.rb'
273
270
  autoload :WorkEligibility, 'stack_one/models/shared/workeligibility.rb'
274
271
  autoload :EmploymentResult, 'stack_one/models/shared/employmentresult.rb'
272
+ autoload :HRISGroupsResult, 'stack_one/models/shared/hrisgroupsresult.rb'
273
+ autoload :HRISGroupValue, 'stack_one/models/shared/hrisgroup_value.rb'
274
+ autoload :HRISGroupType, 'stack_one/models/shared/hrisgroup_type.rb'
275
+ autoload :HRISGroup, 'stack_one/models/shared/hrisgroup.rb'
275
276
  autoload :HRISLocationResult, 'stack_one/models/shared/hrislocationresult.rb'
276
277
  autoload :HRISLocationValue, 'stack_one/models/shared/hrislocation_value.rb'
277
278
  autoload :HRISLocationCountry, 'stack_one/models/shared/hrislocation_country.rb'
@@ -280,10 +281,12 @@ module StackOne
280
281
  autoload :HRISLocation, 'stack_one/models/shared/hrislocation.rb'
281
282
  autoload :HRISBenefitsPaginated, 'stack_one/models/shared/hrisbenefitspaginated.rb'
282
283
  autoload :CompaniesPaginated, 'stack_one/models/shared/companiespaginated.rb'
284
+ autoload :HrisDocumentsPaginated, 'stack_one/models/shared/hrisdocumentspaginated.rb'
283
285
  autoload :TimeOffPaginated, 'stack_one/models/shared/timeoffpaginated.rb'
284
286
  autoload :WorkEligibilityPaginated, 'stack_one/models/shared/workeligibilitypaginated.rb'
285
287
  autoload :EmployeesPaginated, 'stack_one/models/shared/employeespaginated.rb'
286
288
  autoload :EmploymentsPaginated, 'stack_one/models/shared/employmentspaginated.rb'
289
+ autoload :HRISGroupsPaginated, 'stack_one/models/shared/hrisgroupspaginated.rb'
287
290
  autoload :HRISLocationsPaginated, 'stack_one/models/shared/hrislocationspaginated.rb'
288
291
  autoload :WriteResultApiModel, 'stack_one/models/shared/writeresultapimodel.rb'
289
292
  autoload :Headers, 'stack_one/models/shared/headers.rb'
@@ -294,7 +297,6 @@ module StackOne
294
297
  autoload :UnifiedUploadRequestDtoSchemasValue, 'stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb'
295
298
  autoload :UnifiedUploadRequestDtoFileFormat, 'stack_one/models/shared/unifieduploadrequestdto_file_format.rb'
296
299
  autoload :UnifiedUploadRequestDto, 'stack_one/models/shared/unifieduploadrequestdto.rb'
297
- autoload :CreateTemplateResult, 'stack_one/models/shared/createtemplateresult.rb'
298
300
  autoload :MarketingCreateEmailTemplateRequestDto, 'stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb'
299
301
  autoload :MessageContent, 'stack_one/models/shared/message_content.rb'
300
302
  autoload :EmailMessagesValue, 'stack_one/models/shared/emailmessages_value.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.13'
42
- @gen_version = '2.306.3'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.13 2.306.3 1.0.0 stackone_client'
41
+ @sdk_version = '0.2.14'
42
+ @gen_version = '2.312.0'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.14 2.312.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.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-16 00:00:00.000000000 Z
11
+ date: 2024-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -264,6 +264,8 @@ files:
264
264
  - lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb
265
265
  - lib/stack_one/models/operations/hris_get_employment_request.rb
266
266
  - lib/stack_one/models/operations/hris_get_employment_response.rb
267
+ - lib/stack_one/models/operations/hris_get_group_request.rb
268
+ - lib/stack_one/models/operations/hris_get_group_response.rb
267
269
  - lib/stack_one/models/operations/hris_get_location_request.rb
268
270
  - lib/stack_one/models/operations/hris_get_location_response.rb
269
271
  - lib/stack_one/models/operations/hris_get_time_off_request_request.rb
@@ -282,6 +284,8 @@ files:
282
284
  - lib/stack_one/models/operations/hris_list_employees_response.rb
283
285
  - lib/stack_one/models/operations/hris_list_employments_request.rb
284
286
  - lib/stack_one/models/operations/hris_list_employments_response.rb
287
+ - lib/stack_one/models/operations/hris_list_groups_request.rb
288
+ - lib/stack_one/models/operations/hris_list_groups_response.rb
285
289
  - lib/stack_one/models/operations/hris_list_locations_request.rb
286
290
  - lib/stack_one/models/operations/hris_list_locations_response.rb
287
291
  - lib/stack_one/models/operations/hris_list_time_off_requests_request.rb
@@ -370,6 +374,8 @@ files:
370
374
  - lib/stack_one/models/shared/atsdocumentapimodel.rb
371
375
  - lib/stack_one/models/shared/atsdocumentapimodel_type.rb
372
376
  - lib/stack_one/models/shared/atsdocumentapimodel_value.rb
377
+ - lib/stack_one/models/shared/atsdocumentresult.rb
378
+ - lib/stack_one/models/shared/atsdocumentspaginated.rb
373
379
  - lib/stack_one/models/shared/atslocation.rb
374
380
  - lib/stack_one/models/shared/atslocationresult.rb
375
381
  - lib/stack_one/models/shared/atslocationspaginated.rb
@@ -410,13 +416,8 @@ files:
410
416
  - lib/stack_one/models/shared/country.rb
411
417
  - lib/stack_one/models/shared/countrycodeenum.rb
412
418
  - lib/stack_one/models/shared/countrycodeenum_value.rb
413
- - lib/stack_one/models/shared/createcandidatenoteresult.rb
414
- - lib/stack_one/models/shared/createemployeeresult.rb
415
- - lib/stack_one/models/shared/createofferresult.rb
416
419
  - lib/stack_one/models/shared/createresult.rb
417
- - lib/stack_one/models/shared/createtemplateresult.rb
418
- - lib/stack_one/models/shared/createtimeoffresult.rb
419
- - lib/stack_one/models/shared/createworkeligibilityresult.rb
420
+ - lib/stack_one/models/shared/createresultdataapimodel.rb
420
421
  - lib/stack_one/models/shared/credentials.rb
421
422
  - lib/stack_one/models/shared/crmcreatecontactrequestdto.rb
422
423
  - lib/stack_one/models/shared/department.rb
@@ -510,6 +511,11 @@ files:
510
511
  - lib/stack_one/models/shared/hrisdocumentapimodel_value.rb
511
512
  - lib/stack_one/models/shared/hrisdocumentresult.rb
512
513
  - lib/stack_one/models/shared/hrisdocumentspaginated.rb
514
+ - lib/stack_one/models/shared/hrisgroup.rb
515
+ - lib/stack_one/models/shared/hrisgroup_type.rb
516
+ - lib/stack_one/models/shared/hrisgroup_value.rb
517
+ - lib/stack_one/models/shared/hrisgroupspaginated.rb
518
+ - lib/stack_one/models/shared/hrisgroupsresult.rb
513
519
  - lib/stack_one/models/shared/hrislocation.rb
514
520
  - lib/stack_one/models/shared/hrislocation_country.rb
515
521
  - lib/stack_one/models/shared/hrislocation_location_type.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 CreateCandidateNoteResult < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
-
17
- field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
18
-
19
- field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
20
-
21
-
22
- sig { params(message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
23
- def initialize(message: nil, status_code: nil, timestamp: nil)
24
- @message = message
25
- @status_code = status_code
26
- @timestamp = timestamp
27
- end
28
- end
29
- end
30
- end
@@ -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 CreateEmployeeResult < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
16
-
17
- field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
18
-
19
- field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
20
-
21
-
22
- sig { params(status_code: ::Float, timestamp: ::DateTime, message: T.nilable(::String)).void }
23
- def initialize(status_code: nil, timestamp: nil, message: nil)
24
- @status_code = status_code
25
- @timestamp = timestamp
26
- @message = message
27
- end
28
- end
29
- end
30
- end
@@ -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 CreateOfferResult < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
-
17
- field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
18
-
19
- field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
20
-
21
-
22
- sig { params(message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
23
- def initialize(message: nil, status_code: nil, timestamp: nil)
24
- @message = message
25
- @status_code = status_code
26
- @timestamp = timestamp
27
- end
28
- end
29
- end
30
- end
@@ -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 CreateTemplateResult < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
-
17
- field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
18
-
19
- field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
20
-
21
-
22
- sig { params(message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
23
- def initialize(message: nil, status_code: nil, timestamp: nil)
24
- @message = message
25
- @status_code = status_code
26
- @timestamp = timestamp
27
- end
28
- end
29
- end
30
- end