stackone_client 0.2.12 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) 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/atscreatecandidaterequestdto.rb +26 -2
  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/atsupdatecandidatesrequestdto.rb +23 -2
  94. data/lib/stack_one/models/shared/confidential.rb +1 -1
  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/hrisgroup.rb +36 -0
  98. data/lib/stack_one/models/shared/hrisgroup_type.rb +27 -0
  99. data/lib/stack_one/models/shared/hrisgroup_value.rb +22 -0
  100. data/lib/stack_one/models/shared/hrisgroupspaginated.rb +33 -0
  101. data/lib/stack_one/models/shared/hrisgroupsresult.rb +27 -0
  102. data/lib/stack_one/models/shared/job.rb +2 -2
  103. data/lib/stack_one/models/shared/jobresult.rb +4 -4
  104. data/lib/stack_one/models/shared/linkedaccount.rb +2 -5
  105. data/lib/stack_one/models/shared/linkedaccount_status.rb +3 -3
  106. data/lib/stack_one/models/shared.rb +13 -11
  107. data/lib/stack_one/sdkconfiguration.rb +3 -3
  108. metadata +14 -8
  109. data/lib/stack_one/models/shared/createcandidatenoteresult.rb +0 -30
  110. data/lib/stack_one/models/shared/createemployeeresult.rb +0 -30
  111. data/lib/stack_one/models/shared/createofferresult.rb +0 -30
  112. data/lib/stack_one/models/shared/createtemplateresult.rb +0 -30
  113. data/lib/stack_one/models/shared/createtimeoffresult.rb +0 -30
  114. data/lib/stack_one/models/shared/createworkeligibilityresult.rb +0 -30
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.12
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-15 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
@@ -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