stackone_client 0.2.13 → 0.2.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) 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/atsdocumentapimodel_value.rb +2 -0
  91. data/lib/stack_one/models/shared/atsdocumentresult.rb +27 -0
  92. data/lib/stack_one/models/shared/atsdocumentspaginated.rb +33 -0
  93. data/lib/stack_one/models/shared/confidential.rb +1 -1
  94. data/lib/stack_one/models/shared/content_value.rb +1 -0
  95. data/lib/stack_one/models/shared/createresult.rb +5 -2
  96. data/lib/stack_one/models/shared/createresultdataapimodel.rb +27 -0
  97. data/lib/stack_one/models/shared/employeecustomfields.rb +3 -3
  98. data/lib/stack_one/models/shared/employeecustomfields_type.rb +2 -2
  99. data/lib/stack_one/models/shared/employeecustomfields_value.rb +10 -7
  100. data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +16 -7
  101. data/lib/stack_one/models/shared/hrisgroup.rb +36 -0
  102. data/lib/stack_one/models/shared/hrisgroup_type.rb +27 -0
  103. data/lib/stack_one/models/shared/{employeecustomfields_schemas_value.rb → hrisgroup_value.rb} +5 -6
  104. data/lib/stack_one/models/shared/hrisgroupspaginated.rb +33 -0
  105. data/lib/stack_one/models/shared/hrisgroupsresult.rb +27 -0
  106. data/lib/stack_one/models/shared/job.rb +2 -2
  107. data/lib/stack_one/models/shared/jobresult.rb +4 -4
  108. data/lib/stack_one/models/shared/linkedaccount.rb +2 -5
  109. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1 -0
  110. data/lib/stack_one/models/shared.rb +14 -13
  111. data/lib/stack_one/sdkconfiguration.rb +3 -3
  112. metadata +14 -9
  113. data/lib/stack_one/models/shared/createcandidatenoteresult.rb +0 -30
  114. data/lib/stack_one/models/shared/createemployeeresult.rb +0 -30
  115. data/lib/stack_one/models/shared/createofferresult.rb +0 -30
  116. data/lib/stack_one/models/shared/createtemplateresult.rb +0 -30
  117. data/lib/stack_one/models/shared/createtimeoffresult.rb +0 -30
  118. data/lib/stack_one/models/shared/createworkeligibilityresult.rb +0 -30
@@ -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
@@ -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 CreateTimeOffResult < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
-
17
- field :status_code, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
18
-
19
- field :timestamp, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
-
21
-
22
- sig { params(message: T.nilable(::String), status_code: T.nilable(::Float), timestamp: T.nilable(::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 CreateWorkEligibilityResult < ::StackOne::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
16
-
17
- field :status_code, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
18
-
19
- field :timestamp, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } }
20
-
21
-
22
- sig { params(message: T.nilable(::String), status_code: T.nilable(::Float), timestamp: T.nilable(::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