stackone_client 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stackone/hris.rb +74 -0
  3. data/lib/stackone/models/operations/ats_create_application.rb +2 -2
  4. data/lib/stackone/models/operations/ats_create_candidate.rb +2 -2
  5. data/lib/stackone/models/operations/ats_create_candidate_note.rb +2 -2
  6. data/lib/stackone/models/operations/ats_create_offer.rb +2 -2
  7. data/lib/stackone/models/operations/ats_get_application.rb +4 -14
  8. data/lib/stackone/models/operations/ats_get_application_offer.rb +4 -14
  9. data/lib/stackone/models/operations/ats_get_application_scorecard.rb +4 -14
  10. data/lib/stackone/models/operations/ats_get_candidate.rb +4 -14
  11. data/lib/stackone/models/operations/ats_get_candidate_note.rb +4 -14
  12. data/lib/stackone/models/operations/ats_get_department.rb +4 -14
  13. data/lib/stackone/models/operations/ats_get_interview.rb +4 -14
  14. data/lib/stackone/models/operations/ats_get_interview_stage.rb +4 -14
  15. data/lib/stackone/models/operations/ats_get_job.rb +4 -14
  16. data/lib/stackone/models/operations/ats_get_job_posting.rb +4 -14
  17. data/lib/stackone/models/operations/ats_get_location.rb +4 -14
  18. data/lib/stackone/models/operations/ats_get_offer.rb +4 -14
  19. data/lib/stackone/models/operations/ats_get_rejected_reason.rb +4 -14
  20. data/lib/stackone/models/operations/ats_get_user.rb +4 -14
  21. data/lib/stackone/models/operations/ats_list_application_scorecards.rb +4 -14
  22. data/lib/stackone/models/operations/ats_list_applications.rb +4 -14
  23. data/lib/stackone/models/operations/ats_list_applications_offers.rb +4 -14
  24. data/lib/stackone/models/operations/ats_list_candidate_notes.rb +4 -14
  25. data/lib/stackone/models/operations/ats_list_candidates.rb +4 -14
  26. data/lib/stackone/models/operations/ats_list_departments.rb +4 -14
  27. data/lib/stackone/models/operations/ats_list_interview_stages.rb +4 -14
  28. data/lib/stackone/models/operations/ats_list_interviews.rb +4 -14
  29. data/lib/stackone/models/operations/ats_list_job_postings.rb +4 -14
  30. data/lib/stackone/models/operations/ats_list_jobs.rb +4 -14
  31. data/lib/stackone/models/operations/ats_list_locations.rb +4 -14
  32. data/lib/stackone/models/operations/ats_list_offers.rb +4 -14
  33. data/lib/stackone/models/operations/ats_list_rejected_reasons.rb +4 -14
  34. data/lib/stackone/models/operations/ats_list_users.rb +4 -14
  35. data/lib/stackone/models/operations/ats_update_application.rb +2 -2
  36. data/lib/stackone/models/operations/ats_update_candidate.rb +2 -2
  37. data/lib/stackone/models/operations/crm_create_contact.rb +2 -2
  38. data/lib/stackone/models/operations/crm_get_account.rb +4 -14
  39. data/lib/stackone/models/operations/crm_get_contact.rb +4 -14
  40. data/lib/stackone/models/operations/crm_get_list.rb +4 -14
  41. data/lib/stackone/models/operations/crm_list_accounts.rb +4 -14
  42. data/lib/stackone/models/operations/crm_list_contacts.rb +4 -14
  43. data/lib/stackone/models/operations/crm_list_lists.rb +4 -14
  44. data/lib/stackone/models/operations/crm_update_contact.rb +2 -2
  45. data/lib/stackone/models/operations/hris_create_employee.rb +2 -2
  46. data/lib/stackone/models/operations/hris_create_employee_time_off_request.rb +2 -2
  47. data/lib/stackone/models/operations/hris_create_time_off_request.rb +2 -2
  48. data/lib/stackone/models/operations/hris_get_company.rb +4 -14
  49. data/lib/stackone/models/operations/hris_get_employee.rb +4 -14
  50. data/lib/stackone/models/operations/hris_get_employee_document.rb +81 -0
  51. data/lib/stackone/models/operations/hris_get_employees_time_off_request.rb +4 -14
  52. data/lib/stackone/models/operations/hris_get_employment.rb +4 -14
  53. data/lib/stackone/models/operations/hris_get_location.rb +4 -14
  54. data/lib/stackone/models/operations/hris_get_time_off_request.rb +4 -14
  55. data/lib/stackone/models/operations/hris_list_companies.rb +4 -14
  56. data/lib/stackone/models/operations/hris_list_employee_documents.rb +78 -0
  57. data/lib/stackone/models/operations/hris_list_employee_time_off_requests.rb +4 -14
  58. data/lib/stackone/models/operations/hris_list_employees.rb +4 -14
  59. data/lib/stackone/models/operations/hris_list_employments.rb +4 -14
  60. data/lib/stackone/models/operations/hris_list_locations.rb +4 -14
  61. data/lib/stackone/models/operations/hris_list_time_off_requests.rb +4 -14
  62. data/lib/stackone/models/operations/hris_update_employee.rb +2 -2
  63. data/lib/stackone/models/operations/hris_update_time_off_request.rb +2 -2
  64. data/lib/stackone/models/operations/marketing_create_email_template.rb +2 -2
  65. data/lib/stackone/models/operations/marketing_create_omni_channel_template.rb +2 -2
  66. data/lib/stackone/models/operations/marketing_create_push_template.rb +2 -2
  67. data/lib/stackone/models/operations/marketing_get_campaign.rb +4 -14
  68. data/lib/stackone/models/operations/marketing_get_email_template.rb +4 -14
  69. data/lib/stackone/models/operations/marketing_get_omni_channel_template.rb +4 -14
  70. data/lib/stackone/models/operations/marketing_get_push_template.rb +4 -14
  71. data/lib/stackone/models/operations/marketing_list_campaigns.rb +4 -14
  72. data/lib/stackone/models/operations/marketing_list_email_templates.rb +4 -14
  73. data/lib/stackone/models/operations/marketing_list_omni_channel_templates.rb +4 -14
  74. data/lib/stackone/models/operations/marketing_list_push_templates.rb +4 -14
  75. data/lib/stackone/models/operations/marketing_update_email_template.rb +2 -2
  76. data/lib/stackone/models/operations/marketing_update_omni_channel_template.rb +2 -2
  77. data/lib/stackone/models/operations/marketing_update_push_template.rb +2 -2
  78. data/lib/stackone/models/operations/stackone_authenticate_connect_session.rb +1 -1
  79. data/lib/stackone/models/operations/stackone_create_connect_session.rb +1 -1
  80. data/lib/stackone/models/operations/stackone_delete_account.rb +2 -2
  81. data/lib/stackone/models/operations/stackone_get_account.rb +2 -2
  82. data/lib/stackone/models/operations/stackone_get_account_meta_info.rb +2 -2
  83. data/lib/stackone/models/operations/stackone_get_connector_meta.rb +2 -2
  84. data/lib/stackone/models/operations/stackone_list_connectors_meta.rb +2 -2
  85. data/lib/stackone/models/operations/stackone_list_linked_accounts.rb +2 -2
  86. data/lib/stackone/models/operations/stackone_proxy_request.rb +2 -2
  87. data/lib/stackone/models/operations/stackone_update_account.rb +2 -2
  88. data/lib/stackone/models/shared/account.rb +12 -12
  89. data/lib/stackone/models/shared/accountaddress.rb +14 -14
  90. data/lib/stackone/models/shared/accountresult.rb +3 -3
  91. data/lib/stackone/models/shared/accountspaginated.rb +5 -5
  92. data/lib/stackone/models/shared/answer.rb +7 -7
  93. data/lib/stackone/models/shared/application.rb +18 -18
  94. data/lib/stackone/models/shared/applicationattachment.rb +9 -9
  95. data/lib/stackone/models/shared/applicationcandidate.rb +4 -4
  96. data/lib/stackone/models/shared/applicationresult.rb +3 -3
  97. data/lib/stackone/models/shared/applicationspaginated.rb +5 -5
  98. data/lib/stackone/models/shared/applicationstatusenumapimodel.rb +3 -3
  99. data/lib/stackone/models/shared/atscreateapplicationrequestdto.rb +8 -8
  100. data/lib/stackone/models/shared/atscreatecandidaterequestdto.rb +9 -9
  101. data/lib/stackone/models/shared/atscreatenotesrequestdto.rb +7 -7
  102. data/lib/stackone/models/shared/atscreateofferrequestdto.rb +7 -7
  103. data/lib/stackone/models/shared/atslocation.rb +3 -3
  104. data/lib/stackone/models/shared/atslocationresult.rb +3 -3
  105. data/lib/stackone/models/shared/atslocationspaginated.rb +5 -5
  106. data/lib/stackone/models/shared/atsupdateapplicationrequestdto.rb +9 -9
  107. data/lib/stackone/models/shared/atsupdatecandidatesrequestdto.rb +10 -10
  108. data/lib/stackone/models/shared/attachmenttype.rb +3 -3
  109. data/lib/stackone/models/shared/campaign.rb +21 -21
  110. data/lib/stackone/models/shared/campaignresult.rb +3 -3
  111. data/lib/stackone/models/shared/campaignspaginated.rb +5 -5
  112. data/lib/stackone/models/shared/candidate.rb +15 -15
  113. data/lib/stackone/models/shared/candidateemail.rb +3 -3
  114. data/lib/stackone/models/shared/candidateresult.rb +3 -3
  115. data/lib/stackone/models/shared/candidatespaginated.rb +5 -5
  116. data/lib/stackone/models/shared/channelsenum.rb +3 -3
  117. data/lib/stackone/models/shared/companiespaginated.rb +5 -5
  118. data/lib/stackone/models/shared/company.rb +6 -6
  119. data/lib/stackone/models/shared/companyresult.rb +3 -3
  120. data/lib/stackone/models/shared/compensation.rb +18 -18
  121. data/lib/stackone/models/shared/connectorsmeta.rb +29 -18
  122. data/lib/stackone/models/shared/connectsession.rb +13 -13
  123. data/lib/stackone/models/shared/connectsessionauthenticate.rb +2 -2
  124. data/lib/stackone/models/shared/connectsessioncreate.rb +16 -13
  125. data/lib/stackone/models/shared/connectsessiontoken.rb +14 -14
  126. data/lib/stackone/models/shared/contact.rb +11 -11
  127. data/lib/stackone/models/shared/contactresult.rb +3 -3
  128. data/lib/stackone/models/shared/contactspaginated.rb +5 -5
  129. data/lib/stackone/models/shared/content.rb +28 -0
  130. data/lib/stackone/models/shared/countrycodeenum.rb +3 -3
  131. data/lib/stackone/models/shared/createcandidatenoteresult.rb +4 -4
  132. data/lib/stackone/models/shared/createemployeeresult.rb +4 -4
  133. data/lib/stackone/models/shared/createofferresult.rb +4 -4
  134. data/lib/stackone/models/shared/createresult.rb +4 -4
  135. data/lib/stackone/models/shared/createtemplateresult.rb +4 -4
  136. data/lib/stackone/models/shared/createtimeoffresult.rb +4 -4
  137. data/lib/stackone/models/shared/crmcreatecontactrequestdto.rb +8 -8
  138. data/lib/stackone/models/shared/department.rb +3 -3
  139. data/lib/stackone/models/shared/departmentresult.rb +3 -3
  140. data/lib/stackone/models/shared/departmentspaginated.rb +5 -5
  141. data/lib/stackone/models/shared/documentapimodel.rb +44 -0
  142. data/lib/stackone/models/shared/documentresult.rb +29 -0
  143. data/lib/stackone/models/shared/documentspaginated.rb +34 -0
  144. data/lib/stackone/models/shared/documenttypeenum.rb +40 -0
  145. data/lib/stackone/models/shared/emailmessages.rb +14 -14
  146. data/lib/stackone/models/shared/employee.rb +97 -97
  147. data/lib/stackone/models/shared/employeecustomfields.rb +12 -12
  148. data/lib/stackone/models/shared/employeeresult.rb +3 -3
  149. data/lib/stackone/models/shared/employeespaginated.rb +5 -5
  150. data/lib/stackone/models/shared/employment.rb +25 -25
  151. data/lib/stackone/models/shared/employmentresult.rb +3 -3
  152. data/lib/stackone/models/shared/employmentspaginated.rb +5 -5
  153. data/lib/stackone/models/shared/field.rb +6 -6
  154. data/lib/stackone/models/shared/hiringteam.rb +6 -6
  155. data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +84 -84
  156. data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +13 -13
  157. data/lib/stackone/models/shared/hrislocation.rb +20 -20
  158. data/lib/stackone/models/shared/hrislocationresult.rb +3 -3
  159. data/lib/stackone/models/shared/hrislocationspaginated.rb +5 -5
  160. data/lib/stackone/models/shared/interview.rb +17 -17
  161. data/lib/stackone/models/shared/interviewer.rb +6 -6
  162. data/lib/stackone/models/shared/interviewpart.rb +7 -7
  163. data/lib/stackone/models/shared/interviewspaginated.rb +5 -5
  164. data/lib/stackone/models/shared/interviewsresult.rb +3 -3
  165. data/lib/stackone/models/shared/interviewstage.rb +6 -6
  166. data/lib/stackone/models/shared/interviewstageresult.rb +3 -3
  167. data/lib/stackone/models/shared/interviewstagespaginated.rb +5 -5
  168. data/lib/stackone/models/shared/job.rb +12 -12
  169. data/lib/stackone/models/shared/jobposting.rb +29 -29
  170. data/lib/stackone/models/shared/jobpostingresult.rb +3 -3
  171. data/lib/stackone/models/shared/jobpostingspaginated.rb +5 -5
  172. data/lib/stackone/models/shared/jobresult.rb +3 -3
  173. data/lib/stackone/models/shared/jobspaginated.rb +5 -5
  174. data/lib/stackone/models/shared/jobstatusenum.rb +3 -3
  175. data/lib/stackone/models/shared/linkedaccount.rb +14 -14
  176. data/lib/stackone/models/shared/linkedaccountmeta.rb +5 -15
  177. data/lib/stackone/models/shared/list.rb +10 -10
  178. data/lib/stackone/models/shared/listresult.rb +3 -3
  179. data/lib/stackone/models/shared/listspaginated.rb +5 -5
  180. data/lib/stackone/models/shared/location.rb +3 -3
  181. data/lib/stackone/models/shared/marketingcreateemailtemplaterequestdto.rb +5 -5
  182. data/lib/stackone/models/shared/marketingcreatepushtemplaterequestdto.rb +5 -5
  183. data/lib/stackone/models/shared/marketingcreatetemplaterequestdto.rb +5 -5
  184. data/lib/stackone/models/shared/message.rb +5 -5
  185. data/lib/stackone/models/shared/note.rb +11 -11
  186. data/lib/stackone/models/shared/notecontentapimodel.rb +2 -2
  187. data/lib/stackone/models/shared/noteresult.rb +3 -3
  188. data/lib/stackone/models/shared/notespaginated.rb +5 -5
  189. data/lib/stackone/models/shared/offer.rb +10 -10
  190. data/lib/stackone/models/shared/offerhistory.rb +6 -6
  191. data/lib/stackone/models/shared/offerspaginated.rb +5 -5
  192. data/lib/stackone/models/shared/offersresult.rb +3 -3
  193. data/lib/stackone/models/shared/offerstatusenum.rb +3 -3
  194. data/lib/stackone/models/shared/patchaccountdto.rb +1 -1
  195. data/lib/stackone/models/shared/proxyrequestbody.rb +8 -8
  196. data/lib/stackone/models/shared/pushmessages.rb +10 -10
  197. data/lib/stackone/models/shared/questionnaire.rb +3 -3
  198. data/lib/stackone/models/shared/rawresponse.rb +6 -6
  199. data/lib/stackone/models/shared/rejectedreason.rb +4 -4
  200. data/lib/stackone/models/shared/rejectedreasonresult.rb +3 -3
  201. data/lib/stackone/models/shared/rejectedreasonspaginated.rb +5 -5
  202. data/lib/stackone/models/shared/rejectedreasontypeenum.rb +3 -3
  203. data/lib/stackone/models/shared/resultlink.rb +3 -3
  204. data/lib/stackone/models/shared/scorecard.rb +11 -11
  205. data/lib/stackone/models/shared/scorecardsection.rb +4 -4
  206. data/lib/stackone/models/shared/scorecardspaginated.rb +5 -5
  207. data/lib/stackone/models/shared/security.rb +1 -1
  208. data/lib/stackone/models/shared/sociallink.rb +3 -3
  209. data/lib/stackone/models/shared/template.rb +6 -6
  210. data/lib/stackone/models/shared/templateresult.rb +3 -3
  211. data/lib/stackone/models/shared/templatespaginated.rb +5 -5
  212. data/lib/stackone/models/shared/timeoff.rb +16 -16
  213. data/lib/stackone/models/shared/timeoffpaginated.rb +5 -5
  214. data/lib/stackone/models/shared/timeoffresult.rb +3 -3
  215. data/lib/stackone/models/shared/updateresult.rb +4 -4
  216. data/lib/stackone/models/shared/user.rb +7 -7
  217. data/lib/stackone/models/shared/userresult.rb +3 -3
  218. data/lib/stackone/models/shared/userspaginated.rb +5 -5
  219. data/lib/stackone/sdkconfiguration.rb +5 -5
  220. data/lib/stackone/utils/utils.rb +2 -2
  221. data/lib/stackone_client.rb +228 -221
  222. metadata +14 -7
@@ -20,13 +20,13 @@ module StackOne
20
20
 
21
21
 
22
22
  # The employment work schedule type (e.g., full-time, part-time)
23
- class EmploymentEmploymentContractType < StackOne::Utils::FieldAugmented
23
+ class EmploymentEmploymentContractType < ::StackOne::Utils::FieldAugmented
24
24
  extend T::Sig
25
25
 
26
26
 
27
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
27
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
28
28
 
29
- field :value, Shared::EmploymentValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentValue, false) } }
29
+ field :value, Shared::EmploymentValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentValue, false) } }
30
30
 
31
31
 
32
32
  sig { params(source_value: String, value: Shared::EmploymentValue).void }
@@ -53,13 +53,13 @@ module StackOne
53
53
 
54
54
 
55
55
  # The type of employment (e.g., contractor, permanent)
56
- class EmploymentEmploymentType < StackOne::Utils::FieldAugmented
56
+ class EmploymentEmploymentType < ::StackOne::Utils::FieldAugmented
57
57
  extend T::Sig
58
58
 
59
59
  # The source value of the employment type.
60
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
60
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
61
61
  # The type of the employment.
62
- field :value, Shared::EmploymentSchemasValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentSchemasValue, false) } }
62
+ field :value, Shared::EmploymentSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentSchemasValue, false) } }
63
63
 
64
64
 
65
65
  sig { params(source_value: String, value: Shared::EmploymentSchemasValue).void }
@@ -91,13 +91,13 @@ module StackOne
91
91
 
92
92
 
93
93
  # The pay frequency
94
- class EmploymentPayFrequency < StackOne::Utils::FieldAugmented
94
+ class EmploymentPayFrequency < ::StackOne::Utils::FieldAugmented
95
95
  extend T::Sig
96
96
 
97
97
  # The source value of the pay frequency.
98
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
98
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
99
99
  # The pay frequency of the job postings.
100
- field :value, Shared::EmploymentSchemasPayFrequencyValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentSchemasPayFrequencyValue, false) } }
100
+ field :value, Shared::EmploymentSchemasPayFrequencyValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentSchemasPayFrequencyValue, false) } }
101
101
 
102
102
 
103
103
  sig { params(source_value: String, value: Shared::EmploymentSchemasPayFrequencyValue).void }
@@ -125,13 +125,13 @@ module StackOne
125
125
 
126
126
 
127
127
  # The pay period
128
- class EmploymentPayPeriod < StackOne::Utils::FieldAugmented
128
+ class EmploymentPayPeriod < ::StackOne::Utils::FieldAugmented
129
129
  extend T::Sig
130
130
 
131
131
  # The source value of the pay period.
132
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
132
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
133
133
  # The pay period of the job postings.
134
- field :value, Shared::EmploymentSchemasPayPeriodValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentSchemasPayPeriodValue, false) } }
134
+ field :value, Shared::EmploymentSchemasPayPeriodValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::EmploymentSchemasPayPeriodValue, false) } }
135
135
 
136
136
 
137
137
  sig { params(source_value: String, value: Shared::EmploymentSchemasPayPeriodValue).void }
@@ -142,33 +142,33 @@ module StackOne
142
142
  end
143
143
 
144
144
 
145
- class Employment < StackOne::Utils::FieldAugmented
145
+ class Employment < ::StackOne::Utils::FieldAugmented
146
146
  extend T::Sig
147
147
 
148
148
  # The employee ID associated with this employment
149
- field :employee_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employee_id') } }
149
+ field :employee_id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
150
150
  # The created_at date
151
- field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
151
+ field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
152
152
  # The effective date of the employment contract
153
- field :effective_date, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('effective_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
153
+ field :effective_date, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('effective_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
154
154
  # The employment work schedule type (e.g., full-time, part-time)
155
- field :employment_contract_type, T.nilable(Shared::EmploymentEmploymentContractType), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employment_contract_type') } }
155
+ field :employment_contract_type, T.nilable(Shared::EmploymentEmploymentContractType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_contract_type') } }
156
156
  # The type of employment (e.g., contractor, permanent)
157
- field :employment_type, T.nilable(Shared::EmploymentEmploymentType), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employment_type') } }
157
+ field :employment_type, T.nilable(Shared::EmploymentEmploymentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_type') } }
158
158
  # The unique ID of the employment
159
- field :id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
159
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
160
160
  # The job title of the employee
161
- field :job_title, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('job_title') } }
161
+ field :job_title, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } }
162
162
  # The currency used for pay
163
- field :pay_currency, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('pay_currency') } }
163
+ field :pay_currency, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_currency') } }
164
164
  # The pay frequency
165
- field :pay_frequency, T.nilable(Shared::EmploymentPayFrequency), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('pay_frequency') } }
165
+ field :pay_frequency, T.nilable(Shared::EmploymentPayFrequency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_frequency') } }
166
166
  # The pay period
167
- field :pay_period, T.nilable(Shared::EmploymentPayPeriod), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('pay_period') } }
167
+ field :pay_period, T.nilable(Shared::EmploymentPayPeriod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_period') } }
168
168
  # The pay rate for the employee
169
- field :pay_rate, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('pay_rate') } }
169
+ field :pay_rate, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('pay_rate') } }
170
170
  # The updated_at date
171
- field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
171
+ field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
172
172
 
173
173
 
174
174
  sig { params(employee_id: String, created_at: T.nilable(DateTime), effective_date: T.nilable(DateTime), employment_contract_type: T.nilable(Shared::EmploymentEmploymentContractType), employment_type: T.nilable(Shared::EmploymentEmploymentType), id: T.nilable(String), job_title: T.nilable(String), pay_currency: T.nilable(String), pay_frequency: T.nilable(Shared::EmploymentPayFrequency), pay_period: T.nilable(Shared::EmploymentPayPeriod), pay_rate: T.nilable(String), updated_at: T.nilable(DateTime)).void }
@@ -10,13 +10,13 @@ require_relative '../shared/employment'
10
10
  module StackOne
11
11
  module Shared
12
12
 
13
- class EmploymentResult < StackOne::Utils::FieldAugmented
13
+ class EmploymentResult < ::StackOne::Utils::FieldAugmented
14
14
  extend T::Sig
15
15
 
16
16
 
17
- field :data, Shared::Employment, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
17
+ field :data, Shared::Employment, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
18
18
 
19
- field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('raw') } }
19
+ field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
20
20
 
21
21
 
22
22
  sig { params(data: Shared::Employment, raw: T.nilable(T::Array[Shared::RawResponse])).void }
@@ -9,17 +9,17 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class EmploymentsPaginated < StackOne::Utils::FieldAugmented
12
+ class EmploymentsPaginated < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :data, T::Array[Shared::Employment], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } }
16
+ field :data, T::Array[Shared::Employment], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
17
17
 
18
- field :next_, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('next') } }
18
+ field :next_, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
19
19
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
20
- field :next_page, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('next_page') } }
20
+ field :next_page, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }
21
21
 
22
- field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('raw') } }
22
+ field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
23
23
 
24
24
 
25
25
  sig { params(data: T::Array[Shared::Employment], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[Shared::RawResponse])).void }
@@ -28,19 +28,19 @@ module StackOne
28
28
 
29
29
 
30
30
 
31
- class Field < StackOne::Utils::FieldAugmented
31
+ class Field < ::StackOne::Utils::FieldAugmented
32
32
  extend T::Sig
33
33
 
34
34
  # The ID of the field
35
- field :id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
35
+ field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
36
36
  # The label of the field
37
- field :label, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('label') } }
37
+ field :label, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
38
38
  # Indicates if the field is required
39
- field :required, T.nilable(T::Boolean), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('required') } }
39
+ field :required, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('required') } }
40
40
  # The type of the field
41
- field :type, T.nilable(Shared::FieldType), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(Shared::FieldType, true) } }
41
+ field :type, T.nilable(Shared::FieldType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type'), 'decoder': Utils.enum_from_string(Shared::FieldType, true) } }
42
42
  # The possible values for the field
43
- field :values, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('values') } }
43
+ field :values, T.nilable(T::Array[String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }
44
44
 
45
45
 
46
46
  sig { params(id: T.nilable(String), label: T.nilable(String), required: T.nilable(T::Boolean), type: T.nilable(Shared::FieldType), values: T.nilable(T::Array[String])).void }
@@ -9,19 +9,19 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
 
12
- class HiringTeam < StackOne::Utils::FieldAugmented
12
+ class HiringTeam < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :email, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::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, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::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 :last_name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('last_name') } }
20
+ field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
21
21
 
22
- field :role, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('role') } }
22
+ field :role, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('role') } }
23
23
 
24
- field :user_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('user_id') } }
24
+ field :user_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('user_id') } }
25
25
 
26
26
 
27
27
  sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String), role: T.nilable(String), user_id: T.nilable(String)).void }
@@ -9,13 +9,13 @@ require 'faraday'
9
9
  module StackOne
10
10
  module Shared
11
11
  # The employee avatar
12
- class HrisCreateEmployeeRequestDtoAvatar < StackOne::Utils::FieldAugmented
12
+ class HrisCreateEmployeeRequestDtoAvatar < ::StackOne::Utils::FieldAugmented
13
13
  extend T::Sig
14
14
 
15
15
 
16
- field :base64, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('base64') } }
16
+ field :base64, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('base64') } }
17
17
 
18
- field :url, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('url') } }
18
+ field :url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
19
19
 
20
20
 
21
21
  sig { params(base64: T.nilable(String), url: T.nilable(String)).void }
@@ -37,13 +37,13 @@ module StackOne
37
37
 
38
38
 
39
39
  # The employment work schedule type (e.g., full-time, part-time)
40
- class HrisCreateEmployeeRequestDtoEmploymentContractType < StackOne::Utils::FieldAugmented
40
+ class HrisCreateEmployeeRequestDtoEmploymentContractType < ::StackOne::Utils::FieldAugmented
41
41
  extend T::Sig
42
42
 
43
43
 
44
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
44
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
45
45
 
46
- field :value, Shared::HrisCreateEmployeeRequestDtoValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoValue, false) } }
46
+ field :value, Shared::HrisCreateEmployeeRequestDtoValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoValue, false) } }
47
47
 
48
48
 
49
49
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoValue).void }
@@ -68,13 +68,13 @@ module StackOne
68
68
 
69
69
 
70
70
  # The employee employment status
71
- class HrisCreateEmployeeRequestDtoEmploymentStatus < StackOne::Utils::FieldAugmented
71
+ class HrisCreateEmployeeRequestDtoEmploymentStatus < ::StackOne::Utils::FieldAugmented
72
72
  extend T::Sig
73
73
 
74
74
 
75
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
75
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
76
76
 
77
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasValue, false) } }
77
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasValue, false) } }
78
78
 
79
79
 
80
80
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasValue).void }
@@ -101,13 +101,13 @@ module StackOne
101
101
 
102
102
 
103
103
  # The employee employment type
104
- class HrisCreateEmployeeRequestDtoEmploymentType < StackOne::Utils::FieldAugmented
104
+ class HrisCreateEmployeeRequestDtoEmploymentType < ::StackOne::Utils::FieldAugmented
105
105
  extend T::Sig
106
106
 
107
107
  # The source value of the employment type.
108
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
108
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
109
109
  # The type of the employment.
110
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue, false) } }
110
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue, false) } }
111
111
 
112
112
 
113
113
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasEmploymentTypeValue).void }
@@ -135,13 +135,13 @@ module StackOne
135
135
 
136
136
 
137
137
  # The employee ethnicity
138
- class HrisCreateEmployeeRequestDtoEthnicity < StackOne::Utils::FieldAugmented
138
+ class HrisCreateEmployeeRequestDtoEthnicity < ::StackOne::Utils::FieldAugmented
139
139
  extend T::Sig
140
140
 
141
141
 
142
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
142
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
143
143
 
144
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue, false) } }
144
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue, false) } }
145
145
 
146
146
 
147
147
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasEthnicityValue).void }
@@ -166,13 +166,13 @@ module StackOne
166
166
 
167
167
 
168
168
  # The employee gender
169
- class HrisCreateEmployeeRequestDtoGender < StackOne::Utils::FieldAugmented
169
+ class HrisCreateEmployeeRequestDtoGender < ::StackOne::Utils::FieldAugmented
170
170
  extend T::Sig
171
171
 
172
172
 
173
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
173
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
174
174
 
175
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue, false) } }
175
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue, false) } }
176
176
 
177
177
 
178
178
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasGenderValue).void }
@@ -439,13 +439,13 @@ module StackOne
439
439
 
440
440
 
441
441
  # The country code
442
- class HrisCreateEmployeeRequestDtoCountry < StackOne::Utils::FieldAugmented
442
+ class HrisCreateEmployeeRequestDtoCountry < ::StackOne::Utils::FieldAugmented
443
443
  extend T::Sig
444
444
 
445
445
  # The name of citizenship
446
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
446
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
447
447
  # The ISO3166-1 Alpha2 Code of the Country
448
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue, false) } }
448
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue, false) } }
449
449
 
450
450
 
451
451
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationValue).void }
@@ -4287,13 +4287,13 @@ module StackOne
4287
4287
 
4288
4288
 
4289
4289
  # The ISO3166-2 sub division where the location is situated
4290
- class State < StackOne::Utils::FieldAugmented
4290
+ class State < ::StackOne::Utils::FieldAugmented
4291
4291
  extend T::Sig
4292
4292
 
4293
4293
 
4294
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
4294
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4295
4295
 
4296
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, false) } }
4296
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue, false) } }
4297
4297
 
4298
4298
 
4299
4299
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasHomeLocationStateValue).void }
@@ -4304,25 +4304,25 @@ module StackOne
4304
4304
  end
4305
4305
 
4306
4306
  # The employee home location
4307
- class HrisCreateEmployeeRequestDtoHomeLocation < StackOne::Utils::FieldAugmented
4307
+ class HrisCreateEmployeeRequestDtoHomeLocation < ::StackOne::Utils::FieldAugmented
4308
4308
  extend T::Sig
4309
4309
 
4310
4310
  # The city where the location is situated
4311
- field :city, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('city') } }
4311
+ field :city, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('city') } }
4312
4312
  # The country code
4313
- field :country, T.nilable(Shared::HrisCreateEmployeeRequestDtoCountry), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('country') } }
4313
+ field :country, T.nilable(Shared::HrisCreateEmployeeRequestDtoCountry), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
4314
4314
  # The name of the location
4315
- field :name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
4315
+ field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
4316
4316
  # The phone number of the location
4317
- field :phone_number, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('phone_number') } }
4317
+ field :phone_number, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
4318
4318
  # The ISO3166-2 sub division where the location is situated
4319
- field :state, T.nilable(Shared::State), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('state') } }
4319
+ field :state, T.nilable(Shared::State), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('state') } }
4320
4320
  # The first line of the address
4321
- field :street_1, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('street_1') } }
4321
+ field :street_1, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } }
4322
4322
  # The second line of the address
4323
- field :street_2, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('street_2') } }
4323
+ field :street_2, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } }
4324
4324
  # The ZIP code/Postal code of the location
4325
- field :zip_code, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('zip_code') } }
4325
+ field :zip_code, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
4326
4326
 
4327
4327
 
4328
4328
  sig { params(city: T.nilable(String), country: T.nilable(Shared::HrisCreateEmployeeRequestDtoCountry), name: T.nilable(String), phone_number: T.nilable(String), state: T.nilable(Shared::State), street_1: T.nilable(String), street_2: T.nilable(String), zip_code: T.nilable(String)).void }
@@ -4356,13 +4356,13 @@ module StackOne
4356
4356
 
4357
4357
 
4358
4358
  # The employee marital status
4359
- class HrisCreateEmployeeRequestDtoMaritalStatus < StackOne::Utils::FieldAugmented
4359
+ class HrisCreateEmployeeRequestDtoMaritalStatus < ::StackOne::Utils::FieldAugmented
4360
4360
  extend T::Sig
4361
4361
 
4362
4362
 
4363
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
4363
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4364
4364
 
4365
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, false) } }
4365
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue, false) } }
4366
4366
 
4367
4367
 
4368
4368
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasMaritalStatusValue).void }
@@ -4629,13 +4629,13 @@ module StackOne
4629
4629
 
4630
4630
 
4631
4631
  # The country code
4632
- class HrisCreateEmployeeRequestDtoSchemasCountry < StackOne::Utils::FieldAugmented
4632
+ class HrisCreateEmployeeRequestDtoSchemasCountry < ::StackOne::Utils::FieldAugmented
4633
4633
  extend T::Sig
4634
4634
 
4635
4635
  # The name of citizenship
4636
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
4636
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
4637
4637
  # The ISO3166-1 Alpha2 Code of the Country
4638
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, false) } }
4638
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue, false) } }
4639
4639
 
4640
4640
 
4641
4641
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationValue).void }
@@ -8477,13 +8477,13 @@ module StackOne
8477
8477
 
8478
8478
 
8479
8479
  # The ISO3166-2 sub division where the location is situated
8480
- class HrisCreateEmployeeRequestDtoState < StackOne::Utils::FieldAugmented
8480
+ class HrisCreateEmployeeRequestDtoState < ::StackOne::Utils::FieldAugmented
8481
8481
  extend T::Sig
8482
8482
 
8483
8483
 
8484
- field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } }
8484
+ field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
8485
8485
 
8486
- field :value, Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, false) } }
8486
+ field :value, Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue, false) } }
8487
8487
 
8488
8488
 
8489
8489
  sig { params(source_value: String, value: Shared::HrisCreateEmployeeRequestDtoSchemasWorkLocationStateValue).void }
@@ -8494,25 +8494,25 @@ module StackOne
8494
8494
  end
8495
8495
 
8496
8496
  # The employee work location
8497
- class HrisCreateEmployeeRequestDtoWorkLocation < StackOne::Utils::FieldAugmented
8497
+ class HrisCreateEmployeeRequestDtoWorkLocation < ::StackOne::Utils::FieldAugmented
8498
8498
  extend T::Sig
8499
8499
 
8500
8500
  # The city where the location is situated
8501
- field :city, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('city') } }
8501
+ field :city, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('city') } }
8502
8502
  # The country code
8503
- field :country, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasCountry), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('country') } }
8503
+ field :country, T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasCountry), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
8504
8504
  # The name of the location
8505
- field :name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
8505
+ field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
8506
8506
  # The phone number of the location
8507
- field :phone_number, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('phone_number') } }
8507
+ field :phone_number, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
8508
8508
  # The ISO3166-2 sub division where the location is situated
8509
- field :state, T.nilable(Shared::HrisCreateEmployeeRequestDtoState), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('state') } }
8509
+ field :state, T.nilable(Shared::HrisCreateEmployeeRequestDtoState), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('state') } }
8510
8510
  # The first line of the address
8511
- field :street_1, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('street_1') } }
8511
+ field :street_1, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_1') } }
8512
8512
  # The second line of the address
8513
- field :street_2, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('street_2') } }
8513
+ field :street_2, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('street_2') } }
8514
8514
  # The ZIP code/Postal code of the location
8515
- field :zip_code, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('zip_code') } }
8515
+ field :zip_code, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('zip_code') } }
8516
8516
 
8517
8517
 
8518
8518
  sig { params(city: T.nilable(String), country: T.nilable(Shared::HrisCreateEmployeeRequestDtoSchemasCountry), name: T.nilable(String), phone_number: T.nilable(String), state: T.nilable(Shared::HrisCreateEmployeeRequestDtoState), street_1: T.nilable(String), street_2: T.nilable(String), zip_code: T.nilable(String)).void }
@@ -8529,73 +8529,73 @@ module StackOne
8529
8529
  end
8530
8530
 
8531
8531
 
8532
- class HrisCreateEmployeeRequestDto < StackOne::Utils::FieldAugmented
8532
+ class HrisCreateEmployeeRequestDto < ::StackOne::Utils::FieldAugmented
8533
8533
  extend T::Sig
8534
8534
 
8535
8535
  # The employee first name
8536
- field :first_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('first_name') } }
8536
+ field :first_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
8537
8537
  # The employee last name
8538
- field :last_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('last_name') } }
8538
+ field :last_name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
8539
8539
  # The employee work email
8540
- field :work_email, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('work_email') } }
8540
+ field :work_email, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_email') } }
8541
8541
  # The employee avatar
8542
- field :avatar, T.nilable(Shared::HrisCreateEmployeeRequestDtoAvatar), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('avatar') } }
8542
+ field :avatar, T.nilable(Shared::HrisCreateEmployeeRequestDtoAvatar), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('avatar') } }
8543
8543
  # The employee avatar Url
8544
- field :avatar_url, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('avatar_url') } }
8544
+ field :avatar_url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('avatar_url') } }
8545
8545
  # The employee birthday
8546
- field :birthday, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('birthday'), 'decoder': Utils.datetime_from_iso_format(true) } }
8546
+ field :birthday, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('birthday'), 'decoder': Utils.datetime_from_iso_format(true) } }
8547
8547
  # The citizenships of the Employee
8548
- field :citizenships, T.nilable(T::Array[Shared::CountryCodeEnum]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('citizenships') } }
8548
+ field :citizenships, T.nilable(T::Array[Shared::CountryCodeEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('citizenships') } }
8549
8549
  # The employee company name
8550
- field :company_name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('company_name') } }
8550
+ field :company_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company_name') } }
8551
8551
  # The employee custom fields
8552
- field :custom_fields, T.nilable(T::Array[Shared::EmployeeCustomFields]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('custom_fields') } }
8552
+ field :custom_fields, T.nilable(T::Array[Shared::EmployeeCustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
8553
8553
  # The employee date_of_birth
8554
- field :date_of_birth, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } }
8554
+ field :date_of_birth, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('date_of_birth'), 'decoder': Utils.datetime_from_iso_format(true) } }
8555
8555
  # The employee department
8556
- field :department, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('department') } }
8556
+ field :department, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('department') } }
8557
8557
  # The employee display name
8558
- field :display_name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('display_name') } }
8558
+ field :display_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }
8559
8559
  # The employment work schedule type (e.g., full-time, part-time)
8560
- field :employment_contract_type, T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employment_contract_type') } }
8560
+ field :employment_contract_type, T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_contract_type') } }
8561
8561
  # The employee employment status
8562
- field :employment_status, T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employment_status') } }
8562
+ field :employment_status, T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_status') } }
8563
8563
  # The employee employment type
8564
- field :employment_type, T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentType), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employment_type') } }
8564
+ field :employment_type, T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_type') } }
8565
8565
  # The employee employments
8566
- field :employments, T.nilable(T::Array[Shared::Employment]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employments') } }
8566
+ field :employments, T.nilable(T::Array[Shared::Employment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employments') } }
8567
8567
  # The employee ethnicity
8568
- field :ethnicity, T.nilable(Shared::HrisCreateEmployeeRequestDtoEthnicity), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('ethnicity') } }
8568
+ field :ethnicity, T.nilable(Shared::HrisCreateEmployeeRequestDtoEthnicity), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('ethnicity') } }
8569
8569
  # The employee gender
8570
- field :gender, T.nilable(Shared::HrisCreateEmployeeRequestDtoGender), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('gender') } }
8570
+ field :gender, T.nilable(Shared::HrisCreateEmployeeRequestDtoGender), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('gender') } }
8571
8571
  # The employee hire date
8572
- field :hire_date, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('hire_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
8572
+ field :hire_date, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hire_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
8573
8573
  # The employee home location
8574
- field :home_location, T.nilable(Shared::HrisCreateEmployeeRequestDtoHomeLocation), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('home_location') } }
8574
+ field :home_location, T.nilable(Shared::HrisCreateEmployeeRequestDtoHomeLocation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('home_location') } }
8575
8575
  # The employee job title
8576
- field :job_title, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('job_title') } }
8576
+ field :job_title, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_title') } }
8577
8577
  # The employee manager ID
8578
- field :manager_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('manager_id') } }
8578
+ field :manager_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('manager_id') } }
8579
8579
  # The employee marital status
8580
- field :marital_status, T.nilable(Shared::HrisCreateEmployeeRequestDtoMaritalStatus), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('marital_status') } }
8580
+ field :marital_status, T.nilable(Shared::HrisCreateEmployeeRequestDtoMaritalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('marital_status') } }
8581
8581
  # The employee name
8582
- field :name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
8582
+ field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
8583
8583
  # The employee personal email
8584
- field :personal_email, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('personal_email') } }
8584
+ field :personal_email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } }
8585
8585
  # The employee personal phone number
8586
- field :personal_phone_number, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('personal_phone_number') } }
8586
+ field :personal_phone_number, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_phone_number') } }
8587
8587
  # The employee start date
8588
- field :start_date, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
8588
+ field :start_date, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
8589
8589
  # The employee tenure
8590
- field :tenure, T.nilable(Float), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('tenure') } }
8590
+ field :tenure, T.nilable(Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tenure') } }
8591
8591
  # The employee termination date
8592
- field :termination_date, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('termination_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
8592
+ field :termination_date, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('termination_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
8593
8593
  # The employee work anniversary
8594
- field :work_anniversary, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('work_anniversary'), 'decoder': Utils.datetime_from_iso_format(true) } }
8594
+ field :work_anniversary, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_anniversary'), 'decoder': Utils.datetime_from_iso_format(true) } }
8595
8595
  # The employee work location
8596
- field :work_location, T.nilable(Shared::HrisCreateEmployeeRequestDtoWorkLocation), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('work_location') } }
8596
+ field :work_location, T.nilable(Shared::HrisCreateEmployeeRequestDtoWorkLocation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_location') } }
8597
8597
  # The employee work phone number
8598
- field :work_phone_number, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('work_phone_number') } }
8598
+ field :work_phone_number, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
8599
8599
 
8600
8600
 
8601
8601
  sig { params(first_name: String, last_name: String, work_email: String, avatar: T.nilable(Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(String), birthday: T.nilable(DateTime), citizenships: T.nilable(T::Array[Shared::CountryCodeEnum]), company_name: T.nilable(String), custom_fields: T.nilable(T::Array[Shared::EmployeeCustomFields]), date_of_birth: T.nilable(DateTime), department: T.nilable(String), display_name: T.nilable(String), employment_contract_type: T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[Shared::Employment]), ethnicity: T.nilable(Shared::HrisCreateEmployeeRequestDtoEthnicity), gender: T.nilable(Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(DateTime), home_location: T.nilable(Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_title: T.nilable(String), manager_id: T.nilable(String), marital_status: T.nilable(Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(String), personal_email: T.nilable(String), personal_phone_number: T.nilable(String), start_date: T.nilable(DateTime), tenure: T.nilable(Float), termination_date: T.nilable(DateTime), work_anniversary: T.nilable(DateTime), work_location: T.nilable(Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(String)).void }