stackone_client 0.0.2 → 0.0.3

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/stackone/models/operations/ats_get_application.rb +12 -2
  3. data/lib/stackone/models/operations/ats_get_application_offer.rb +12 -2
  4. data/lib/stackone/models/operations/ats_get_application_scorecard.rb +12 -2
  5. data/lib/stackone/models/operations/ats_get_candidate.rb +12 -2
  6. data/lib/stackone/models/operations/ats_get_candidate_note.rb +12 -2
  7. data/lib/stackone/models/operations/ats_get_department.rb +12 -2
  8. data/lib/stackone/models/operations/ats_get_interview.rb +12 -2
  9. data/lib/stackone/models/operations/ats_get_interview_stage.rb +12 -2
  10. data/lib/stackone/models/operations/ats_get_job.rb +12 -2
  11. data/lib/stackone/models/operations/ats_get_job_posting.rb +12 -2
  12. data/lib/stackone/models/operations/ats_get_location.rb +12 -2
  13. data/lib/stackone/models/operations/ats_get_offer.rb +12 -2
  14. data/lib/stackone/models/operations/ats_get_rejected_reason.rb +12 -2
  15. data/lib/stackone/models/operations/ats_get_user.rb +12 -2
  16. data/lib/stackone/models/operations/ats_list_application_scorecards.rb +12 -2
  17. data/lib/stackone/models/operations/ats_list_applications.rb +12 -2
  18. data/lib/stackone/models/operations/ats_list_applications_offers.rb +12 -2
  19. data/lib/stackone/models/operations/ats_list_candidate_notes.rb +12 -2
  20. data/lib/stackone/models/operations/ats_list_candidates.rb +12 -2
  21. data/lib/stackone/models/operations/ats_list_departments.rb +12 -2
  22. data/lib/stackone/models/operations/ats_list_interview_stages.rb +12 -2
  23. data/lib/stackone/models/operations/ats_list_interviews.rb +12 -2
  24. data/lib/stackone/models/operations/ats_list_job_postings.rb +12 -2
  25. data/lib/stackone/models/operations/ats_list_jobs.rb +12 -2
  26. data/lib/stackone/models/operations/ats_list_locations.rb +12 -2
  27. data/lib/stackone/models/operations/ats_list_offers.rb +12 -2
  28. data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +12 -2
  29. data/lib/stackone/models/operations/ats_list_users.rb +12 -2
  30. data/lib/stackone/models/operations/crm_get_account.rb +12 -2
  31. data/lib/stackone/models/operations/crm_get_contact.rb +12 -2
  32. data/lib/stackone/models/operations/crm_get_list.rb +12 -2
  33. data/lib/stackone/models/operations/crm_list_accounts.rb +12 -2
  34. data/lib/stackone/models/operations/crm_list_contacts.rb +12 -2
  35. data/lib/stackone/models/operations/crm_list_lists.rb +12 -2
  36. data/lib/stackone/models/operations/hris_get_company.rb +12 -2
  37. data/lib/stackone/models/operations/hris_get_employee.rb +12 -2
  38. data/lib/stackone/models/operations/hris_get_employee_document.rb +12 -2
  39. data/lib/stackone/models/operations/hris_get_employees_time_off_request.rb +12 -2
  40. data/lib/stackone/models/operations/hris_get_employment.rb +12 -2
  41. data/lib/stackone/models/operations/hris_get_location.rb +12 -2
  42. data/lib/stackone/models/operations/hris_get_time_off_request.rb +12 -2
  43. data/lib/stackone/models/operations/hris_list_companies.rb +12 -2
  44. data/lib/stackone/models/operations/hris_list_employee_documents.rb +12 -2
  45. data/lib/stackone/models/operations/hris_list_employee_time_off_requests.rb +12 -2
  46. data/lib/stackone/models/operations/hris_list_employees.rb +12 -2
  47. data/lib/stackone/models/operations/hris_list_employments.rb +12 -2
  48. data/lib/stackone/models/operations/hris_list_locations.rb +12 -2
  49. data/lib/stackone/models/operations/hris_list_time_off_requests.rb +12 -2
  50. data/lib/stackone/models/operations/marketing_get_campaign.rb +12 -2
  51. data/lib/stackone/models/operations/marketing_get_email_template.rb +12 -2
  52. data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +12 -2
  53. data/lib/stackone/models/operations/marketing_get_push_template.rb +12 -2
  54. data/lib/stackone/models/operations/marketing_list_campaigns.rb +12 -2
  55. data/lib/stackone/models/operations/marketing_list_email_templates.rb +12 -2
  56. data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +12 -2
  57. data/lib/stackone/models/operations/marketing_list_push_templates.rb +12 -2
  58. data/lib/stackone/models/shared/accountaddress.rb +6 -6
  59. data/lib/stackone/models/shared/answer.rb +7 -7
  60. data/lib/stackone/models/shared/application.rb +92 -9
  61. data/lib/stackone/models/shared/applicationattachment.rb +2 -2
  62. data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +65 -8
  63. data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +15 -15
  64. data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +7 -7
  65. data/lib/stackone/models/shared/atscreateofferrequestdto.rb +41 -10
  66. data/lib/stackone/models/shared/atslocation.rb +3 -3
  67. data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +62 -5
  68. data/lib/stackone/models/shared/attachmenttype.rb +5 -5
  69. data/lib/stackone/models/shared/campaign.rb +11 -11
  70. data/lib/stackone/models/shared/candidate.rb +25 -25
  71. data/lib/stackone/models/shared/candidateemail.rb +3 -3
  72. data/lib/stackone/models/shared/channelsenum.rb +3 -3
  73. data/lib/stackone/models/shared/connectsession.rb +5 -5
  74. data/lib/stackone/models/shared/connectsessiontoken.rb +5 -5
  75. data/lib/stackone/models/shared/content.rb +9 -8
  76. data/lib/stackone/models/shared/costcenters.rb +25 -0
  77. data/lib/stackone/models/shared/countrycodeenum.rb +4 -4
  78. data/lib/stackone/models/shared/createtimeoffresult.rb +4 -4
  79. data/lib/stackone/models/shared/department.rb +3 -3
  80. data/lib/stackone/models/shared/documentfileformatenum.rb +40 -0
  81. data/lib/stackone/models/shared/documenttypeenum.rb +3 -3
  82. data/lib/stackone/models/shared/emailmessages.rb +10 -10
  83. data/lib/stackone/models/shared/employee.rb +48 -35
  84. data/lib/stackone/models/shared/employeecustomfields.rb +3 -3
  85. data/lib/stackone/models/shared/employment.rb +25 -18
  86. data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +40 -33
  87. data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +6 -6
  88. data/lib/stackone/models/shared/hrislocation.rb +7 -7
  89. data/lib/stackone/models/shared/interview.rb +46 -20
  90. data/lib/stackone/models/shared/interviewer.rb +6 -6
  91. data/lib/stackone/models/shared/interviewstage.rb +7 -7
  92. data/lib/stackone/models/shared/job.rb +49 -18
  93. data/lib/stackone/models/shared/{hiringteam.rb → jobhiringteam.rb} +1 -1
  94. data/lib/stackone/models/shared/jobposting.rb +21 -14
  95. data/lib/stackone/models/shared/{compensation.rb → jobpostingcompensation.rb} +23 -23
  96. data/lib/stackone/models/shared/{location.rb → jobpostinglocation.rb} +1 -1
  97. data/lib/stackone/models/shared/jobpostingquestionnaire.rb +34 -0
  98. data/lib/stackone/models/shared/list.rb +3 -3
  99. data/lib/stackone/models/shared/message.rb +7 -7
  100. data/lib/stackone/models/shared/note.rb +7 -7
  101. data/lib/stackone/models/shared/offer.rb +43 -12
  102. data/lib/stackone/models/shared/offerhistory.rb +5 -5
  103. data/lib/stackone/models/shared/pushmessages.rb +5 -5
  104. data/lib/stackone/models/shared/question.rb +73 -0
  105. data/lib/stackone/models/shared/questionmultiplechoiceanswers.rb +28 -0
  106. data/lib/stackone/models/shared/questionnaire.rb +2 -2
  107. data/lib/stackone/models/shared/rejectedreason.rb +33 -5
  108. data/lib/stackone/models/shared/sociallink.rb +3 -3
  109. data/lib/stackone/models/shared/timeoff.rb +6 -6
  110. data/lib/stackone/models/shared/user.rb +8 -8
  111. data/lib/stackone/sdkconfiguration.rb +3 -3
  112. data/lib/stackone_client.rb +9 -9
  113. metadata +10 -10
  114. data/lib/stackone/models/shared/applicationcandidate.rb +0 -31
  115. data/lib/stackone/models/shared/applicationstatusenumapimodel.rb +0 -50
  116. data/lib/stackone/models/shared/jobstatusenum.rb +0 -43
  117. data/lib/stackone/models/shared/offerstatusenum.rb +0 -43
  118. data/lib/stackone/models/shared/rejectedreasontypeenum.rb +0 -40
@@ -5,23 +5,51 @@
5
5
 
6
6
  require 'sorbet-runtime'
7
7
  require 'faraday'
8
- require_relative '../shared/rejectedreasontypeenum'
9
8
 
10
9
  module StackOne
11
10
  module Shared
11
+ # RejectedReasonValue - The type of the rejected reason.
12
+ class RejectedReasonValue < T::Enum
13
+ enums do
14
+ REJECTED_BY_CANDIDATE = new('rejected_by_candidate')
15
+ REJECTED_BY_ORGANIZATION = new('rejected_by_organization')
16
+ OTHER = new('other')
17
+ UNKNOWN = new('unknown')
18
+ UNMAPPED_VALUE = new('unmapped_value')
19
+ end
20
+ end
21
+
22
+
23
+
24
+ class RejectedReasonType < ::StackOne::Utils::FieldAugmented
25
+ extend T::Sig
26
+
27
+ # The source value of the rejected reason type.
28
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
29
+ # The type of the rejected reason.
30
+ field :value, T.nilable(Shared::RejectedReasonValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::RejectedReasonValue, true) } }
31
+
32
+
33
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::RejectedReasonValue)).void }
34
+ def initialize(source_value: nil, value: nil)
35
+ @source_value = source_value
36
+ @value = value
37
+ end
38
+ end
39
+
12
40
 
13
41
  class RejectedReason < ::StackOne::Utils::FieldAugmented
14
42
  extend T::Sig
15
43
 
16
44
  # The ID of the rejected reason.
17
- field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
45
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
18
46
  # The label of the rejected reason.
19
- field :label, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
47
+ field :label, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
20
48
 
21
- field :rejected_reason_type, Shared::RejectedReasonTypeEnum, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } }
49
+ field :rejected_reason_type, T.nilable(Shared::RejectedReasonType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } }
22
50
 
23
51
 
24
- sig { params(id: String, label: String, rejected_reason_type: Shared::RejectedReasonTypeEnum).void }
52
+ sig { params(id: T.nilable(String), label: T.nilable(String), rejected_reason_type: T.nilable(Shared::RejectedReasonType)).void }
25
53
  def initialize(id: nil, label: nil, rejected_reason_type: nil)
26
54
  @id = id
27
55
  @label = label
@@ -13,12 +13,12 @@ module StackOne
13
13
  extend T::Sig
14
14
 
15
15
  # Type of the social link
16
- field :type, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
16
+ field :type, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
17
17
  # URL of the social link
18
- field :url, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
18
+ field :url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
19
19
 
20
20
 
21
- sig { params(type: String, url: String).void }
21
+ sig { params(type: T.nilable(String), url: T.nilable(String)).void }
22
22
  def initialize(type: nil, url: nil)
23
23
  @type = type
24
24
  @url = url
@@ -22,12 +22,12 @@ module StackOne
22
22
  extend T::Sig
23
23
 
24
24
 
25
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
25
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
26
26
 
27
- field :value, Shared::TimeOffValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::TimeOffValue, false) } }
27
+ field :value, T.nilable(Shared::TimeOffValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::TimeOffValue, true) } }
28
28
 
29
29
 
30
- sig { params(source_value: String, value: Shared::TimeOffValue).void }
30
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::TimeOffValue)).void }
31
31
  def initialize(source_value: nil, value: nil)
32
32
  @source_value = source_value
33
33
  @value = value
@@ -49,12 +49,12 @@ module StackOne
49
49
  extend T::Sig
50
50
 
51
51
 
52
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
52
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
53
53
 
54
- field :value, Shared::TimeOffSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::TimeOffSchemasValue, false) } }
54
+ field :value, T.nilable(Shared::TimeOffSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::TimeOffSchemasValue, true) } }
55
55
 
56
56
 
57
- sig { params(source_value: String, value: Shared::TimeOffSchemasValue).void }
57
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::TimeOffSchemasValue)).void }
58
58
  def initialize(source_value: nil, value: nil)
59
59
  @source_value = source_value
60
60
  @value = value
@@ -15,22 +15,22 @@ module StackOne
15
15
 
16
16
  field :email, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
17
17
 
18
- field :first_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
19
-
20
18
  field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
21
19
 
22
- field :last_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
20
+ field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
21
+
22
+ field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
23
23
 
24
- field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
24
+ field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
25
25
 
26
- field :phone, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
26
+ field :phone, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
27
27
 
28
28
 
29
- sig { params(email: String, first_name: String, id: String, last_name: String, name: String, phone: String).void }
30
- def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil, phone: nil)
29
+ sig { params(email: String, id: String, first_name: T.nilable(String), last_name: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void }
30
+ def initialize(email: nil, id: nil, first_name: nil, last_name: nil, name: nil, phone: nil)
31
31
  @email = email
32
- @first_name = first_name
33
32
  @id = id
33
+ @first_name = first_name
34
34
  @last_name = last_name
35
35
  @name = name
36
36
  @phone = phone
@@ -36,9 +36,9 @@ module StackOne
36
36
  @server_idx = server_idx.nil? ? 0 : server_idx
37
37
  @language = 'ruby'
38
38
  @openapi_doc_version = '1.0.0'
39
- @sdk_version = '0.0.2'
40
- @gen_version = '2.237.2'
41
- @user_agent = 'speakeasy-sdk/ruby 0.0.2 2.237.2 1.0.0 stackone_client'
39
+ @sdk_version = '0.0.3'
40
+ @gen_version = '2.239.4'
41
+ @user_agent = 'speakeasy-sdk/ruby 0.0.3 2.239.4 1.0.0 stackone_client'
42
42
  end
43
43
 
44
44
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -18,10 +18,8 @@ require_relative 'stackone/models/shared/createresult'
18
18
  require_relative 'stackone/models/shared/atscreateapplicationrequestdto'
19
19
  require_relative 'stackone/models/shared/questionnaire'
20
20
  require_relative 'stackone/models/shared/answer'
21
- require_relative 'stackone/models/shared/applicationcandidate'
22
21
  require_relative 'stackone/models/shared/applicationattachment'
23
22
  require_relative 'stackone/models/shared/attachmenttype'
24
- require_relative 'stackone/models/shared/applicationstatusenumapimodel'
25
23
  require_relative 'stackone/models/shared/candidateresult'
26
24
  require_relative 'stackone/models/shared/rawresponse'
27
25
  require_relative 'stackone/models/shared/candidate'
@@ -33,14 +31,11 @@ require_relative 'stackone/models/shared/atscreatenotesrequestdto'
33
31
  require_relative 'stackone/models/shared/notecontentapimodel'
34
32
  require_relative 'stackone/models/shared/createofferresult'
35
33
  require_relative 'stackone/models/shared/atscreateofferrequestdto'
36
- require_relative 'stackone/models/shared/offerstatusenum'
37
34
  require_relative 'stackone/models/shared/offerhistory'
38
35
  require_relative 'stackone/models/shared/applicationresult'
39
36
  require_relative 'stackone/models/shared/application'
40
37
  require_relative 'stackone/models/shared/resultlink'
41
38
  require_relative 'stackone/models/shared/rejectedreason'
42
- require_relative 'stackone/models/shared/rejectedreasontypeenum'
43
- require_relative 'stackone/models/shared/interviewstage'
44
39
  require_relative 'stackone/models/shared/offersresult'
45
40
  require_relative 'stackone/models/shared/offer'
46
41
  require_relative 'stackone/models/shared/noteresult'
@@ -52,14 +47,17 @@ require_relative 'stackone/models/shared/interview'
52
47
  require_relative 'stackone/models/shared/interviewer'
53
48
  require_relative 'stackone/models/shared/interviewpart'
54
49
  require_relative 'stackone/models/shared/interviewstageresult'
50
+ require_relative 'stackone/models/shared/interviewstage'
55
51
  require_relative 'stackone/models/shared/jobresult'
56
52
  require_relative 'stackone/models/shared/job'
57
- require_relative 'stackone/models/shared/jobstatusenum'
58
- require_relative 'stackone/models/shared/hiringteam'
53
+ require_relative 'stackone/models/shared/jobhiringteam'
59
54
  require_relative 'stackone/models/shared/jobpostingresult'
60
55
  require_relative 'stackone/models/shared/jobposting'
61
- require_relative 'stackone/models/shared/location'
62
- require_relative 'stackone/models/shared/compensation'
56
+ require_relative 'stackone/models/shared/jobpostingquestionnaire'
57
+ require_relative 'stackone/models/shared/question'
58
+ require_relative 'stackone/models/shared/questionmultiplechoiceanswers'
59
+ require_relative 'stackone/models/shared/jobpostinglocation'
60
+ require_relative 'stackone/models/shared/jobpostingcompensation'
63
61
  require_relative 'stackone/models/shared/atslocationresult'
64
62
  require_relative 'stackone/models/shared/atslocation'
65
63
  require_relative 'stackone/models/shared/rejectedreasonresult'
@@ -106,10 +104,12 @@ require_relative 'stackone/models/shared/companyresult'
106
104
  require_relative 'stackone/models/shared/company'
107
105
  require_relative 'stackone/models/shared/employeeresult'
108
106
  require_relative 'stackone/models/shared/employee'
107
+ require_relative 'stackone/models/shared/costcenters'
109
108
  require_relative 'stackone/models/shared/documentresult'
110
109
  require_relative 'stackone/models/shared/documentapimodel'
111
110
  require_relative 'stackone/models/shared/documenttypeenum'
112
111
  require_relative 'stackone/models/shared/content'
112
+ require_relative 'stackone/models/shared/documentfileformatenum'
113
113
  require_relative 'stackone/models/shared/timeoffresult'
114
114
  require_relative 'stackone/models/shared/timeoff'
115
115
  require_relative 'stackone/models/shared/employmentresult'
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.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - StackOne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-19 00:00:00.000000000 Z
11
+ date: 2024-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -241,10 +241,8 @@ files:
241
241
  - lib/stackone/models/shared/answer.rb
242
242
  - lib/stackone/models/shared/application.rb
243
243
  - lib/stackone/models/shared/applicationattachment.rb
244
- - lib/stackone/models/shared/applicationcandidate.rb
245
244
  - lib/stackone/models/shared/applicationresult.rb
246
245
  - lib/stackone/models/shared/applicationspaginated.rb
247
- - lib/stackone/models/shared/applicationstatusenumapimodel.rb
248
246
  - lib/stackone/models/shared/atscreateapplicationrequestdto.rb
249
247
  - lib/stackone/models/shared/atscreatecandidaterequestdto.rb
250
248
  - lib/stackone/models/shared/atscreatenotesrequestdto.rb
@@ -266,7 +264,6 @@ files:
266
264
  - lib/stackone/models/shared/companiespaginated.rb
267
265
  - lib/stackone/models/shared/company.rb
268
266
  - lib/stackone/models/shared/companyresult.rb
269
- - lib/stackone/models/shared/compensation.rb
270
267
  - lib/stackone/models/shared/connectorsmeta.rb
271
268
  - lib/stackone/models/shared/connectsession.rb
272
269
  - lib/stackone/models/shared/connectsessionauthenticate.rb
@@ -276,6 +273,7 @@ files:
276
273
  - lib/stackone/models/shared/contactresult.rb
277
274
  - lib/stackone/models/shared/contactspaginated.rb
278
275
  - lib/stackone/models/shared/content.rb
276
+ - lib/stackone/models/shared/costcenters.rb
279
277
  - lib/stackone/models/shared/countrycodeenum.rb
280
278
  - lib/stackone/models/shared/createcandidatenoteresult.rb
281
279
  - lib/stackone/models/shared/createemployeeresult.rb
@@ -288,6 +286,7 @@ files:
288
286
  - lib/stackone/models/shared/departmentresult.rb
289
287
  - lib/stackone/models/shared/departmentspaginated.rb
290
288
  - lib/stackone/models/shared/documentapimodel.rb
289
+ - lib/stackone/models/shared/documentfileformatenum.rb
291
290
  - lib/stackone/models/shared/documentresult.rb
292
291
  - lib/stackone/models/shared/documentspaginated.rb
293
292
  - lib/stackone/models/shared/documenttypeenum.rb
@@ -300,7 +299,6 @@ files:
300
299
  - lib/stackone/models/shared/employmentresult.rb
301
300
  - lib/stackone/models/shared/employmentspaginated.rb
302
301
  - lib/stackone/models/shared/field.rb
303
- - lib/stackone/models/shared/hiringteam.rb
304
302
  - lib/stackone/models/shared/hriscreateemployeerequestdto.rb
305
303
  - lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb
306
304
  - lib/stackone/models/shared/hrislocation.rb
@@ -315,18 +313,20 @@ files:
315
313
  - lib/stackone/models/shared/interviewstageresult.rb
316
314
  - lib/stackone/models/shared/interviewstagespaginated.rb
317
315
  - lib/stackone/models/shared/job.rb
316
+ - lib/stackone/models/shared/jobhiringteam.rb
318
317
  - lib/stackone/models/shared/jobposting.rb
318
+ - lib/stackone/models/shared/jobpostingcompensation.rb
319
+ - lib/stackone/models/shared/jobpostinglocation.rb
320
+ - lib/stackone/models/shared/jobpostingquestionnaire.rb
319
321
  - lib/stackone/models/shared/jobpostingresult.rb
320
322
  - lib/stackone/models/shared/jobpostingspaginated.rb
321
323
  - lib/stackone/models/shared/jobresult.rb
322
324
  - lib/stackone/models/shared/jobspaginated.rb
323
- - lib/stackone/models/shared/jobstatusenum.rb
324
325
  - lib/stackone/models/shared/linkedaccount.rb
325
326
  - lib/stackone/models/shared/linkedaccountmeta.rb
326
327
  - lib/stackone/models/shared/list.rb
327
328
  - lib/stackone/models/shared/listresult.rb
328
329
  - lib/stackone/models/shared/listspaginated.rb
329
- - lib/stackone/models/shared/location.rb
330
330
  - lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb
331
331
  - lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb
332
332
  - lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb
@@ -339,16 +339,16 @@ files:
339
339
  - lib/stackone/models/shared/offerhistory.rb
340
340
  - lib/stackone/models/shared/offerspaginated.rb
341
341
  - lib/stackone/models/shared/offersresult.rb
342
- - lib/stackone/models/shared/offerstatusenum.rb
343
342
  - lib/stackone/models/shared/patchaccountdto.rb
344
343
  - lib/stackone/models/shared/proxyrequestbody.rb
345
344
  - lib/stackone/models/shared/pushmessages.rb
345
+ - lib/stackone/models/shared/question.rb
346
+ - lib/stackone/models/shared/questionmultiplechoiceanswers.rb
346
347
  - lib/stackone/models/shared/questionnaire.rb
347
348
  - lib/stackone/models/shared/rawresponse.rb
348
349
  - lib/stackone/models/shared/rejectedreason.rb
349
350
  - lib/stackone/models/shared/rejectedreasonresult.rb
350
351
  - lib/stackone/models/shared/rejectedreasonspaginated.rb
351
- - lib/stackone/models/shared/rejectedreasontypeenum.rb
352
352
  - lib/stackone/models/shared/resultlink.rb
353
353
  - lib/stackone/models/shared/scorecard.rb
354
354
  - lib/stackone/models/shared/scorecardsection.rb
@@ -1,31 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
-
9
- module StackOne
10
- module Shared
11
-
12
- class ApplicationCandidate < ::StackOne::Utils::FieldAugmented
13
- extend T::Sig
14
-
15
- # Email of the candidate
16
- field :email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
17
- # First name of the candidate
18
- field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
19
- # Last name of the candidate
20
- field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
21
-
22
-
23
- sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String)).void }
24
- def initialize(email: nil, first_name: nil, last_name: nil)
25
- @email = email
26
- @first_name = first_name
27
- @last_name = last_name
28
- end
29
- end
30
- end
31
- end
@@ -1,50 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
-
9
- module StackOne
10
- module Shared
11
- # Value - The status of the application.
12
- class Value < T::Enum
13
- enums do
14
- ACTIVE = new('active')
15
- ASSESSMENT = new('assessment')
16
- BACKGROUND_CHECK = new('background_check')
17
- CONVERTED = new('converted')
18
- DECLINED_BY_CANDIDATE = new('declined_by_candidate')
19
- HIRED = new('hired')
20
- INTERVIEW = new('interview')
21
- LEAD = new('lead')
22
- OFFER = new('offer')
23
- REFERENCE_CHECK = new('reference_check')
24
- REJECTED = new('rejected')
25
- REVIEW = new('review')
26
- SCREEN = new('screen')
27
- NEW = new('new')
28
- UNMAPPED_VALUE = new('unmapped_value')
29
- end
30
- end
31
-
32
-
33
-
34
- class ApplicationStatusEnumApiModel < ::StackOne::Utils::FieldAugmented
35
- extend T::Sig
36
-
37
- # The source value of the application status.
38
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
39
- # The status of the application.
40
- field :value, Shared::Value, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::Value, false) } }
41
-
42
-
43
- sig { params(source_value: String, value: Shared::Value).void }
44
- def initialize(source_value: nil, value: nil)
45
- @source_value = source_value
46
- @value = value
47
- end
48
- end
49
- end
50
- end
@@ -1,43 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
-
9
- module StackOne
10
- module Shared
11
- # JobStatusEnumValue - The status of the job.
12
- class JobStatusEnumValue < T::Enum
13
- enums do
14
- PUBLISHED = new('published')
15
- DRAFT = new('draft')
16
- PENDING = new('pending')
17
- INTERNAL = new('internal')
18
- ARCHIVED = new('archived')
19
- CLOSED = new('closed')
20
- OPEN = new('open')
21
- UNMAPPED_VALUE = new('unmapped_value')
22
- end
23
- end
24
-
25
-
26
-
27
- class JobStatusEnum < ::StackOne::Utils::FieldAugmented
28
- extend T::Sig
29
-
30
- # The source value of the job status.
31
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
32
- # The status of the job.
33
- field :value, Shared::JobStatusEnumValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::JobStatusEnumValue, false) } }
34
-
35
-
36
- sig { params(source_value: String, value: Shared::JobStatusEnumValue).void }
37
- def initialize(source_value: nil, value: nil)
38
- @source_value = source_value
39
- @value = value
40
- end
41
- end
42
- end
43
- end
@@ -1,43 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
-
9
- module StackOne
10
- module Shared
11
- # OfferStatusEnumValue - The status of the offer.
12
- class OfferStatusEnumValue < T::Enum
13
- enums do
14
- PENDING = new('pending')
15
- RETRACTED = new('retracted')
16
- ACCEPTED = new('accepted')
17
- REJECTED = new('rejected')
18
- CREATED = new('created')
19
- APPROVED = new('approved')
20
- NOT_APPROVED = new('not_approved')
21
- UNMAPPED_VALUE = new('unmapped_value')
22
- end
23
- end
24
-
25
-
26
-
27
- class OfferStatusEnum < ::StackOne::Utils::FieldAugmented
28
- extend T::Sig
29
-
30
- # The source value of the offer status.
31
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
32
- # The status of the offer.
33
- field :value, Shared::OfferStatusEnumValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::OfferStatusEnumValue, false) } }
34
-
35
-
36
- sig { params(source_value: String, value: Shared::OfferStatusEnumValue).void }
37
- def initialize(source_value: nil, value: nil)
38
- @source_value = source_value
39
- @value = value
40
- end
41
- end
42
- end
43
- end
@@ -1,40 +0,0 @@
1
- # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
-
3
- # typed: true
4
- # frozen_string_literal: true
5
-
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
-
9
- module StackOne
10
- module Shared
11
- # RejectedReasonTypeEnumValue - The type of the rejected reason.
12
- class RejectedReasonTypeEnumValue < T::Enum
13
- enums do
14
- REJECTED_BY_CANDIDATE = new('rejected_by_candidate')
15
- REJECTED_BY_ORGANIZATION = new('rejected_by_organization')
16
- OTHER = new('other')
17
- UNKNOWN = new('unknown')
18
- UNMAPPED_VALUE = new('unmapped_value')
19
- end
20
- end
21
-
22
-
23
-
24
- class RejectedReasonTypeEnum < ::StackOne::Utils::FieldAugmented
25
- extend T::Sig
26
-
27
- # The source value of the rejected reason type.
28
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
29
- # The type of the rejected reason.
30
- field :value, Shared::RejectedReasonTypeEnumValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::RejectedReasonTypeEnumValue, false) } }
31
-
32
-
33
- sig { params(source_value: String, value: Shared::RejectedReasonTypeEnumValue).void }
34
- def initialize(source_value: nil, value: nil)
35
- @source_value = source_value
36
- @value = value
37
- end
38
- end
39
- end
40
- end