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
@@ -41,12 +41,12 @@ module StackOne
41
41
  extend T::Sig
42
42
 
43
43
 
44
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
44
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
45
45
 
46
- field :value, Shared::HrisCreateEmployeeRequestDtoValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoValue, false) } }
46
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoValue, true) } }
47
47
 
48
48
 
49
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoValue).void }
49
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoValue)).void }
50
50
  def initialize(source_value: nil, value: nil)
51
51
  @source_value = source_value
52
52
  @value = value
@@ -72,12 +72,12 @@ module StackOne
72
72
  extend T::Sig
73
73
 
74
74
 
75
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
75
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
76
76
 
77
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasValue, false) } }
77
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasValue, true) } }
78
78
 
79
79
 
80
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasValue).void }
80
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasValue)).void }
81
81
  def initialize(source_value: nil, value: nil)
82
82
  @source_value = source_value
83
83
  @value = value
@@ -87,14 +87,21 @@ module StackOne
87
87
  # HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue - The type of the employment.
88
88
  class HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue < T::Enum
89
89
  enums do
90
- PERMANENT = new('permanent')
90
+ FULL_TIME = new('full_time')
91
+ PART_TIME = new('part_time')
91
92
  CONTRACTOR = new('contractor')
92
93
  INTERN = new('intern')
94
+ PERMANENT = new('permanent')
93
95
  APPRENTICE = new('apprentice')
94
96
  FREELANCE = new('freelance')
97
+ TERMINATED = new('terminated')
95
98
  TEMPORARY = new('temporary')
96
99
  SEASONAL = new('seasonal')
97
100
  VOLUNTEER = new('volunteer')
101
+ PROBATION = new('probation')
102
+ INTERNAL = new('internal')
103
+ EXTERNAL = new('external')
104
+ EMPLOYER_OF_RECORD = new('employer_of_record')
98
105
  UNMAPPED_VALUE = new('unmapped_value')
99
106
  end
100
107
  end
@@ -105,12 +112,12 @@ module StackOne
105
112
  extend T::Sig
106
113
 
107
114
  # The source value of the employment type.
108
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
115
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
109
116
  # The type of the employment.
110
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue, false) } }
117
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue, true) } }
111
118
 
112
119
 
113
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue).void }
120
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue)).void }
114
121
  def initialize(source_value: nil, value: nil)
115
122
  @source_value = source_value
116
123
  @value = value
@@ -139,12 +146,12 @@ module StackOne
139
146
  extend T::Sig
140
147
 
141
148
 
142
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
149
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
143
150
 
144
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue, false) } }
151
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue, true) } }
145
152
 
146
153
 
147
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue).void }
154
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue)).void }
148
155
  def initialize(source_value: nil, value: nil)
149
156
  @source_value = source_value
150
157
  @value = value
@@ -170,12 +177,12 @@ module StackOne
170
177
  extend T::Sig
171
178
 
172
179
 
173
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
180
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
174
181
 
175
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue, false) } }
182
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue, true) } }
176
183
 
177
184
 
178
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue).void }
185
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue)).void }
179
186
  def initialize(source_value: nil, value: nil)
180
187
  @source_value = source_value
181
188
  @value = value
@@ -442,13 +449,13 @@ module StackOne
442
449
  class HrisCreateEmployeeRequestDtoCountry < ::StackOne::Utils::FieldAugmented
443
450
  extend T::Sig
444
451
 
445
- # The name of citizenship
446
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
452
+
453
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
447
454
  # The ISO3166-1 Alpha2 Code of the Country
448
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue, false) } }
455
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue, true) } }
449
456
 
450
457
 
451
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue).void }
458
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue)).void }
452
459
  def initialize(source_value: nil, value: nil)
453
460
  @source_value = source_value
454
461
  @value = value
@@ -4291,12 +4298,12 @@ module StackOne
4291
4298
  extend T::Sig
4292
4299
 
4293
4300
 
4294
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4301
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4295
4302
 
4296
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, false) } }
4303
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, true) } }
4297
4304
 
4298
4305
 
4299
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue).void }
4306
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue)).void }
4300
4307
  def initialize(source_value: nil, value: nil)
4301
4308
  @source_value = source_value
4302
4309
  @value = value
@@ -4360,12 +4367,12 @@ module StackOne
4360
4367
  extend T::Sig
4361
4368
 
4362
4369
 
4363
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4370
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4364
4371
 
4365
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, false) } }
4372
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, true) } }
4366
4373
 
4367
4374
 
4368
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue).void }
4375
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue)).void }
4369
4376
  def initialize(source_value: nil, value: nil)
4370
4377
  @source_value = source_value
4371
4378
  @value = value
@@ -4632,13 +4639,13 @@ module StackOne
4632
4639
  class HrisCreateEmployeeRequestDtoSchemasCountry < ::StackOne::Utils::FieldAugmented
4633
4640
  extend T::Sig
4634
4641
 
4635
- # The name of citizenship
4636
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4642
+
4643
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4637
4644
  # The ISO3166-1 Alpha2 Code of the Country
4638
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, false) } }
4645
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, true) } }
4639
4646
 
4640
4647
 
4641
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue).void }
4648
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue)).void }
4642
4649
  def initialize(source_value: nil, value: nil)
4643
4650
  @source_value = source_value
4644
4651
  @value = value
@@ -8481,12 +8488,12 @@ module StackOne
8481
8488
  extend T::Sig
8482
8489
 
8483
8490
 
8484
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
8491
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
8485
8492
 
8486
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, false) } }
8493
+ field :value, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, true) } }
8487
8494
 
8488
8495
 
8489
- sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue).void }
8496
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue)).void }
8490
8497
  def initialize(source_value: nil, value: nil)
8491
8498
  @source_value = source_value
8492
8499
  @value = value
@@ -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::HrisCreateTimeOffRequestDtoValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoValue, false) } }
27
+ field :value, T.nilable(Shared::HrisCreateTimeOffRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoValue, true) } }
28
28
 
29
29
 
30
- sig { params(source_value: String, value: Shared::HrisCreateTimeOffRequestDtoValue).void }
30
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateTimeOffRequestDtoValue)).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::HrisCreateTimeOffRequestDtoSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoSchemasValue, false) } }
54
+ field :value, T.nilable(Shared::HrisCreateTimeOffRequestDtoSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoSchemasValue, true) } }
55
55
 
56
56
 
57
- sig { params(source_value: String, value: Shared::HrisCreateTimeOffRequestDtoSchemasValue).void }
57
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HrisCreateTimeOffRequestDtoSchemasValue)).void }
58
58
  def initialize(source_value: nil, value: nil)
59
59
  @source_value = source_value
60
60
  @value = value
@@ -268,13 +268,13 @@ module StackOne
268
268
  class HRISLocationCountry < ::StackOne::Utils::FieldAugmented
269
269
  extend T::Sig
270
270
 
271
- # The name of citizenship
272
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
271
+
272
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
273
273
  # The ISO3166-1 Alpha2 Code of the Country
274
- field :value, Shared::HRISLocationValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HRISLocationValue, false) } }
274
+ field :value, T.nilable(Shared::HRISLocationValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HRISLocationValue, true) } }
275
275
 
276
276
 
277
- sig { params(source_value: String, value: Shared::HRISLocationValue).void }
277
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HRISLocationValue)).void }
278
278
  def initialize(source_value: nil, value: nil)
279
279
  @source_value = source_value
280
280
  @value = value
@@ -296,12 +296,12 @@ module StackOne
296
296
  extend T::Sig
297
297
 
298
298
  # The source value of the location type.
299
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
299
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
300
300
  # The type of the location.
301
- field :value, Shared::HRISLocationSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HRISLocationSchemasValue, false) } }
301
+ field :value, T.nilable(Shared::HRISLocationSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HRISLocationSchemasValue, true) } }
302
302
 
303
303
 
304
- sig { params(source_value: String, value: Shared::HRISLocationSchemasValue).void }
304
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::HRISLocationSchemasValue)).void }
305
305
  def initialize(source_value: nil, value: nil)
306
306
  @source_value = source_value
307
307
  @value = value
@@ -8,6 +8,32 @@ require 'faraday'
8
8
 
9
9
  module StackOne
10
10
  module Shared
11
+
12
+ class InterviewInterviewStage < ::StackOne::Utils::FieldAugmented
13
+ extend T::Sig
14
+
15
+ # Interview Stage created date
16
+ field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
17
+
18
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
19
+
20
+ field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
21
+
22
+ field :order, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
23
+ # Interview Stage updated date
24
+ field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
25
+
26
+
27
+ sig { params(created_at: T.nilable(DateTime), id: T.nilable(String), name: T.nilable(String), order: T.nilable(Float), updated_at: T.nilable(DateTime)).void }
28
+ def initialize(created_at: nil, id: nil, name: nil, order: nil, updated_at: nil)
29
+ @created_at = created_at
30
+ @id = id
31
+ @name = name
32
+ @order = order
33
+ @updated_at = updated_at
34
+ end
35
+ end
36
+
11
37
  # InterviewValue - The status of the interview.
12
38
  class InterviewValue < T::Enum
13
39
  enums do
@@ -26,12 +52,12 @@ module StackOne
26
52
  extend T::Sig
27
53
 
28
54
  # The source value of the interview status.
29
- field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
55
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
30
56
  # The status of the interview.
31
- field :value, Shared::InterviewValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::InterviewValue, false) } }
57
+ field :value, T.nilable(Shared::InterviewValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::InterviewValue, true) } }
32
58
 
33
59
 
34
- sig { params(source_value: String, value: Shared::InterviewValue).void }
60
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::InterviewValue)).void }
35
61
  def initialize(source_value: nil, value: nil)
36
62
  @source_value = source_value
37
63
  @value = value
@@ -43,47 +69,47 @@ module StackOne
43
69
  extend T::Sig
44
70
 
45
71
 
46
- field :application_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
47
- # Interview end date
48
- field :end_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
49
-
50
72
  field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
51
73
 
52
- field :interview_stage_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
53
-
54
- field :interviewer_ids, T::Array[String], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
55
- # Interview start date
56
- field :start_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
74
+ field :application_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_id') } }
57
75
  # Interview created date
58
76
  field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
77
+ # Interview end date
78
+ field :end_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
59
79
 
60
80
  field :interview_parts, T.nilable(T::Array[Shared::InterviewPart]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_parts') } }
61
81
 
62
- field :interview_stage, T.nilable(T::Array[Shared::InterviewStage]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
82
+ field :interview_stage, T.nilable(Shared::InterviewInterviewStage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
83
+
84
+ field :interview_stage_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
63
85
 
64
86
  field :interview_status, T.nilable(Shared::InterviewStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_status') } }
65
87
 
88
+ field :interviewer_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewer_ids') } }
89
+
66
90
  field :interviewers, T.nilable(T::Array[Shared::Interviewer]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interviewers') } }
67
91
 
68
92
  field :meeting_url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('meeting_url') } }
93
+ # Interview start date
94
+ field :start_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
69
95
  # Interview updated date
70
96
  field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
71
97
 
72
98
 
73
- sig { params(application_id: String, end_at: DateTime, id: String, interview_stage_id: String, interviewer_ids: T::Array[String], start_at: DateTime, created_at: T.nilable(DateTime), interview_parts: T.nilable(T::Array[Shared::InterviewPart]), interview_stage: T.nilable(T::Array[Shared::InterviewStage]), interview_status: T.nilable(Shared::InterviewStatus), interviewers: T.nilable(T::Array[Shared::Interviewer]), meeting_url: T.nilable(String), updated_at: T.nilable(DateTime)).void }
74
- def initialize(application_id: nil, end_at: nil, id: nil, interview_stage_id: nil, interviewer_ids: nil, start_at: nil, created_at: nil, interview_parts: nil, interview_stage: nil, interview_status: nil, interviewers: nil, meeting_url: nil, updated_at: nil)
75
- @application_id = application_id
76
- @end_at = end_at
99
+ sig { params(id: String, application_id: T.nilable(String), created_at: T.nilable(DateTime), end_at: T.nilable(DateTime), interview_parts: T.nilable(T::Array[Shared::InterviewPart]), interview_stage: T.nilable(Shared::InterviewInterviewStage), interview_stage_id: T.nilable(String), interview_status: T.nilable(Shared::InterviewStatus), interviewer_ids: T.nilable(T::Array[String]), interviewers: T.nilable(T::Array[Shared::Interviewer]), meeting_url: T.nilable(String), start_at: T.nilable(DateTime), updated_at: T.nilable(DateTime)).void }
100
+ def initialize(id: nil, application_id: nil, created_at: nil, end_at: nil, interview_parts: nil, interview_stage: nil, interview_stage_id: nil, interview_status: nil, interviewer_ids: nil, interviewers: nil, meeting_url: nil, start_at: nil, updated_at: nil)
77
101
  @id = id
78
- @interview_stage_id = interview_stage_id
79
- @interviewer_ids = interviewer_ids
80
- @start_at = start_at
102
+ @application_id = application_id
81
103
  @created_at = created_at
104
+ @end_at = end_at
82
105
  @interview_parts = interview_parts
83
106
  @interview_stage = interview_stage
107
+ @interview_stage_id = interview_stage_id
84
108
  @interview_status = interview_status
109
+ @interviewer_ids = interviewer_ids
85
110
  @interviewers = interviewers
86
111
  @meeting_url = meeting_url
112
+ @start_at = start_at
87
113
  @updated_at = updated_at
88
114
  end
89
115
  end
@@ -13,18 +13,18 @@ module StackOne
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :email, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
16
+ field :email, T.nilable(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') } }
18
+ field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
19
19
 
20
- field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
20
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
21
21
 
22
- field :last_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
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
26
 
27
- sig { params(email: String, first_name: String, id: String, last_name: String, name: String).void }
27
+ sig { params(email: T.nilable(String), first_name: T.nilable(String), id: T.nilable(String), last_name: T.nilable(String), name: T.nilable(String)).void }
28
28
  def initialize(email: nil, first_name: nil, id: nil, last_name: nil, name: nil)
29
29
  @email = email
30
30
  @first_name = first_name
@@ -12,23 +12,23 @@ module StackOne
12
12
  class InterviewStage < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
-
16
- field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
17
-
18
- field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
19
15
  # Interview Stage created date
20
16
  field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
21
17
 
18
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
19
+
20
+ field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
21
+
22
22
  field :order, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
23
23
  # Interview Stage updated date
24
24
  field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
25
25
 
26
26
 
27
- sig { params(id: String, name: String, created_at: T.nilable(DateTime), order: T.nilable(Float), updated_at: T.nilable(DateTime)).void }
28
- def initialize(id: nil, name: nil, created_at: nil, order: nil, updated_at: nil)
27
+ sig { params(created_at: T.nilable(DateTime), id: T.nilable(String), name: T.nilable(String), order: T.nilable(Float), updated_at: T.nilable(DateTime)).void }
28
+ def initialize(created_at: nil, id: nil, name: nil, order: nil, updated_at: nil)
29
+ @created_at = created_at
29
30
  @id = id
30
31
  @name = name
31
- @created_at = created_at
32
32
  @order = order
33
33
  @updated_at = updated_at
34
34
  end
@@ -5,7 +5,6 @@
5
5
 
6
6
  require 'sorbet-runtime'
7
7
  require 'faraday'
8
- require_relative '../shared/jobstatusenum'
9
8
 
10
9
  module StackOne
11
10
  module Shared
@@ -18,47 +17,79 @@ module StackOne
18
17
  end
19
18
 
20
19
 
20
+ # JobValue - The status of the job.
21
+ class JobValue < T::Enum
22
+ enums do
23
+ PUBLISHED = new('published')
24
+ DRAFT = new('draft')
25
+ PENDING = new('pending')
26
+ INTERNAL = new('internal')
27
+ ARCHIVED = new('archived')
28
+ CLOSED = new('closed')
29
+ OPEN = new('open')
30
+ UNMAPPED_VALUE = new('unmapped_value')
31
+ end
32
+ end
33
+
34
+
35
+
36
+ class JobStatus < ::StackOne::Utils::FieldAugmented
37
+ extend T::Sig
38
+
39
+ # The source value of the job status.
40
+ field :source_value, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
41
+ # The status of the job.
42
+ field :value, T.nilable(Shared::JobValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::JobValue, true) } }
43
+
44
+
45
+ sig { params(source_value: T.nilable(Object), value: T.nilable(Shared::JobValue)).void }
46
+ def initialize(source_value: nil, value: nil)
47
+ @source_value = source_value
48
+ @value = value
49
+ end
50
+ end
51
+
21
52
 
22
53
  class Job < ::StackOne::Utils::FieldAugmented
23
54
  extend T::Sig
24
55
 
25
56
 
26
- field :code, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('code') } }
57
+ field :code, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('code') } }
27
58
 
28
- field :company_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company_id') } }
59
+ field :confidential, T.nilable(Shared::Confidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential'), 'decoder': Utils.enum_from_string(Shared::Confidential, true) } }
29
60
  # Date of creation
30
- field :created_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
61
+ field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
31
62
 
32
- field :department_ids, T::Array[String], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_ids') } }
63
+ field :department_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department_ids') } }
33
64
 
34
- field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
65
+ field :hiring_team, T.nilable(T::Array[Shared::JobHiringTeam]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hiring_team') } }
35
66
 
36
- field :job_status, Shared::JobStatusEnum, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_status') } }
67
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
37
68
 
38
- field :location_ids, T::Array[String], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
69
+ field :job_status, T.nilable(Shared::JobStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_status') } }
39
70
 
40
- field :title, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
41
- # Date of last update
42
- field :updated_at, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
71
+ field :location_ids, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
43
72
 
44
- field :confidential, T.nilable(Shared::Confidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential'), 'decoder': Utils.enum_from_string(Shared::Confidential, true) } }
73
+ field :status, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
45
74
 
46
- field :hiring_team, T.nilable(T::Array[Shared::HiringTeam]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hiring_team') } }
75
+ field :title, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
76
+ # Date of last update
77
+ field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
47
78
 
48
79
 
49
- sig { params(code: String, company_id: String, created_at: DateTime, department_ids: T::Array[String], id: String, job_status: Shared::JobStatusEnum, location_ids: T::Array[String], title: String, updated_at: DateTime, confidential: T.nilable(Shared::Confidential), hiring_team: T.nilable(T::Array[Shared::HiringTeam])).void }
50
- def initialize(code: nil, company_id: nil, created_at: nil, department_ids: nil, id: nil, job_status: nil, location_ids: nil, title: nil, updated_at: nil, confidential: nil, hiring_team: nil)
80
+ sig { params(code: T.nilable(String), confidential: T.nilable(Shared::Confidential), created_at: T.nilable(DateTime), department_ids: T.nilable(T::Array[String]), hiring_team: T.nilable(T::Array[Shared::JobHiringTeam]), id: T.nilable(String), job_status: T.nilable(Shared::JobStatus), location_ids: T.nilable(T::Array[String]), status: T.nilable(String), title: T.nilable(String), updated_at: T.nilable(DateTime)).void }
81
+ def initialize(code: nil, confidential: nil, created_at: nil, department_ids: nil, hiring_team: nil, id: nil, job_status: nil, location_ids: nil, status: nil, title: nil, updated_at: nil)
51
82
  @code = code
52
- @company_id = company_id
83
+ @confidential = confidential
53
84
  @created_at = created_at
54
85
  @department_ids = department_ids
86
+ @hiring_team = hiring_team
55
87
  @id = id
56
88
  @job_status = job_status
57
89
  @location_ids = location_ids
90
+ @status = status
58
91
  @title = title
59
92
  @updated_at = updated_at
60
- @confidential = confidential
61
- @hiring_team = hiring_team
62
93
  end
63
94
  end
64
95
  end
@@ -9,7 +9,7 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class HiringTeam < ::StackOne::Utils::FieldAugmented
12
+ class JobHiringTeam < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15