stackone_client 0.2.36 → 0.2.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +4 -4
  3. data/lib/stack_one/ats.rb +254 -3
  4. data/lib/stack_one/hris.rb +129 -1
  5. data/lib/stack_one/lms.rb +461 -11
  6. data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +60 -0
  7. data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb +33 -0
  8. data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +1 -1
  9. data/lib/stack_one/models/operations/ats_get_assessments_result_request.rb +1 -1
  10. data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +60 -0
  11. data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb +33 -0
  12. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_queryparam_filter.rb +24 -0
  13. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +60 -0
  14. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb +33 -0
  15. data/lib/stack_one/models/operations/ats_get_job_request.rb +5 -2
  16. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb +24 -0
  17. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -2
  18. data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb +24 -0
  19. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +2 -2
  20. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +5 -2
  21. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_queryparam_filter.rb +24 -0
  22. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +57 -0
  23. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb +33 -0
  24. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +5 -2
  25. data/lib/stack_one/models/operations/ats_move_application_request.rb +30 -0
  26. data/lib/stack_one/models/operations/ats_move_application_response.rb +33 -0
  27. data/lib/stack_one/models/operations/ats_reject_application_request.rb +30 -0
  28. data/lib/stack_one/models/operations/ats_reject_application_response.rb +33 -0
  29. data/lib/stack_one/models/operations/hris_batch_upload_employee_document_request.rb +30 -0
  30. data/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb +33 -0
  31. data/lib/stack_one/models/operations/hris_get_employee_employment_request.rb +42 -0
  32. data/lib/stack_one/models/operations/hris_get_employee_employment_response.rb +33 -0
  33. data/lib/stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb +24 -0
  34. data/lib/stack_one/models/operations/hris_list_employee_employments_request.rb +58 -0
  35. data/lib/stack_one/models/operations/hris_list_employee_employments_response.rb +33 -0
  36. data/lib/stack_one/models/operations/lms_batch_upsert_content_request.rb +27 -0
  37. data/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb +33 -0
  38. data/lib/stack_one/models/operations/{lms_create_completion_request.rb → lms_create_user_completion_request.rb} +6 -3
  39. data/lib/stack_one/models/operations/{lms_create_completion_response.rb → lms_create_user_completion_response.rb} +1 -1
  40. data/lib/stack_one/models/operations/lms_get_assignment_request.rb +36 -0
  41. data/lib/stack_one/models/operations/lms_get_assignment_response.rb +33 -0
  42. data/lib/stack_one/models/operations/lms_get_course_request.rb +36 -0
  43. data/lib/stack_one/models/operations/lms_get_course_response.rb +33 -0
  44. data/lib/stack_one/models/operations/lms_get_skill_request.rb +36 -0
  45. data/lib/stack_one/models/operations/lms_get_skill_response.rb +33 -0
  46. data/lib/stack_one/models/operations/lms_get_user_assignment_request.rb +39 -0
  47. data/lib/stack_one/models/operations/lms_get_user_assignment_response.rb +33 -0
  48. data/lib/stack_one/models/operations/lms_get_user_completion_request.rb +39 -0
  49. data/lib/stack_one/models/operations/lms_get_user_completion_response.rb +33 -0
  50. data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +24 -0
  51. data/lib/stack_one/models/operations/lms_list_assignments_request.rb +58 -0
  52. data/lib/stack_one/models/operations/lms_list_assignments_response.rb +33 -0
  53. data/lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb +24 -0
  54. data/lib/stack_one/models/operations/lms_list_completions_request.rb +58 -0
  55. data/lib/stack_one/models/operations/lms_list_completions_response.rb +33 -0
  56. data/lib/stack_one/models/operations/lms_list_courses_queryparam_filter.rb +24 -0
  57. data/lib/stack_one/models/operations/lms_list_courses_request.rb +52 -0
  58. data/lib/stack_one/models/operations/lms_list_courses_response.rb +33 -0
  59. data/lib/stack_one/models/operations/lms_list_skills_queryparam_filter.rb +24 -0
  60. data/lib/stack_one/models/operations/lms_list_skills_request.rb +52 -0
  61. data/lib/stack_one/models/operations/lms_list_skills_response.rb +33 -0
  62. data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb +24 -0
  63. data/lib/stack_one/models/operations/lms_list_user_assignments_request.rb +61 -0
  64. data/lib/stack_one/models/operations/lms_list_user_assignments_response.rb +33 -0
  65. data/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb +24 -0
  66. data/lib/stack_one/models/operations/lms_list_user_completions_request.rb +61 -0
  67. data/lib/stack_one/models/operations/lms_list_user_completions_response.rb +33 -0
  68. data/lib/stack_one/models/operations/stackone_update_account_request.rb +4 -4
  69. data/lib/stack_one/models/operations.rb +57 -4
  70. data/lib/stack_one/models/shared/account.rb +5 -2
  71. data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +0 -1
  72. data/lib/stack_one/models/shared/accountaddress_value.rb +0 -1
  73. data/lib/stack_one/models/shared/{contactscustomfields_type.rb → active.rb} +4 -4
  74. data/lib/stack_one/models/shared/answer_value.rb +0 -1
  75. data/lib/stack_one/models/shared/application.rb +5 -2
  76. data/lib/stack_one/models/shared/application_interview_stage.rb +5 -2
  77. data/lib/stack_one/models/shared/application_value.rb +0 -1
  78. data/lib/stack_one/models/shared/applicationattachment_value.rb +0 -1
  79. data/lib/stack_one/models/shared/applicationcustomfields.rb +2 -11
  80. data/lib/stack_one/models/shared/assessmentspackages_type.rb +2 -2
  81. data/lib/stack_one/models/shared/assessmentspackages_value.rb +4 -7
  82. data/lib/stack_one/models/shared/assessmentsresults.rb +7 -7
  83. data/lib/stack_one/models/shared/assessmentsresults_candidate.rb +8 -5
  84. data/lib/stack_one/models/shared/assessmentsresults_content_type.rb +2 -2
  85. data/lib/stack_one/models/shared/{contactscustomfields_value.rb → assessmentsresults_schemas_value.rb} +3 -8
  86. data/lib/stack_one/models/shared/assessmentsresults_value.rb +5 -4
  87. data/lib/stack_one/models/shared/assignment.rb +48 -0
  88. data/lib/stack_one/models/shared/assignmentresult.rb +27 -0
  89. data/lib/stack_one/models/shared/assignmentspaginated.rb +30 -0
  90. data/lib/stack_one/models/shared/{employeecustomfields_type.rb → assignmentstatusenum.rb} +4 -4
  91. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +5 -2
  92. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +0 -1
  93. data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +5 -2
  94. data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +0 -1
  95. data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +0 -1
  96. data/lib/stack_one/models/shared/atsdocumentapimodel.rb +8 -2
  97. data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +0 -1
  98. data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +0 -1
  99. data/lib/stack_one/models/shared/atslocation.rb +5 -2
  100. data/lib/stack_one/models/shared/atsmoveapplicationrequestdto.rb +27 -0
  101. data/lib/stack_one/models/shared/atsrejectapplicationrequestdto.rb +27 -0
  102. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -1
  103. data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +5 -2
  104. data/lib/stack_one/models/shared/batchresultapimodel.rb +33 -0
  105. data/lib/stack_one/models/shared/campaign.rb +2 -2
  106. data/lib/stack_one/models/shared/campaign_schemas_value.rb +0 -1
  107. data/lib/stack_one/models/shared/campaign_value.rb +0 -1
  108. data/lib/stack_one/models/shared/candidate.rb +5 -2
  109. data/lib/stack_one/models/shared/candidatecustomfields.rb +2 -11
  110. data/lib/stack_one/models/shared/categories.rb +0 -1
  111. data/lib/stack_one/models/shared/category.rb +5 -2
  112. data/lib/stack_one/models/shared/channelsenum.rb +2 -2
  113. data/lib/stack_one/models/shared/channelsenum_value.rb +23 -0
  114. data/lib/stack_one/models/shared/company.rb +5 -2
  115. data/lib/stack_one/models/shared/completion.rb +10 -13
  116. data/lib/stack_one/models/shared/{candidatecustomfields_type.rb → completion_schemas_result.rb} +4 -4
  117. data/lib/stack_one/models/shared/completion_value.rb +0 -1
  118. data/lib/stack_one/models/shared/completionspaginated.rb +30 -0
  119. data/lib/stack_one/models/shared/connectorsmeta_category.rb +0 -1
  120. data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +0 -1
  121. data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +0 -1
  122. data/lib/stack_one/models/shared/contact.rb +5 -2
  123. data/lib/stack_one/models/shared/contactscustomfields.rb +2 -11
  124. data/lib/stack_one/models/shared/content_value.rb +0 -1
  125. data/lib/stack_one/models/shared/contentblock_schemas_value.rb +3 -1
  126. data/lib/stack_one/models/shared/contentblock_value.rb +3 -2
  127. data/lib/stack_one/models/shared/contentlanguageenum_value.rb +0 -1
  128. data/lib/stack_one/models/shared/countrycodeenum_value.rb +0 -1
  129. data/lib/stack_one/models/shared/course.rb +75 -0
  130. data/lib/stack_one/models/shared/course_schemas_value.rb +19 -0
  131. data/lib/stack_one/models/shared/{applicationcustomfields_type.rb → course_type.rb} +4 -4
  132. data/lib/stack_one/models/shared/course_value.rb +18 -0
  133. data/lib/stack_one/models/shared/coursepaginated.rb +33 -0
  134. data/lib/stack_one/models/shared/courseresult.rb +27 -0
  135. data/lib/stack_one/models/shared/createcategoriesapimodel.rb +5 -2
  136. data/lib/stack_one/models/shared/createresultdataapimodel.rb +5 -2
  137. data/lib/stack_one/models/shared/customfielddefinition_value.rb +5 -1
  138. data/lib/stack_one/models/shared/customfielddefinitionresultapimodel.rb +27 -0
  139. data/lib/stack_one/models/shared/customfielddefinitionspaginated.rb +2 -2
  140. data/lib/stack_one/models/shared/department.rb +5 -2
  141. data/lib/stack_one/models/shared/document.rb +5 -2
  142. data/lib/stack_one/models/shared/employee.rb +11 -2
  143. data/lib/stack_one/models/shared/employee_company.rb +5 -2
  144. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -1
  145. data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +0 -1
  146. data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +0 -1
  147. data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +0 -1
  148. data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +0 -1
  149. data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +0 -1
  150. data/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +0 -1
  151. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +0 -1
  152. data/lib/stack_one/models/shared/employee_schemas_value.rb +0 -1
  153. data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +0 -1
  154. data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +0 -1
  155. data/lib/stack_one/models/shared/employee_value.rb +0 -1
  156. data/lib/stack_one/models/shared/employeecustomfields.rb +2 -11
  157. data/lib/stack_one/models/shared/employment.rb +5 -2
  158. data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +0 -1
  159. data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +0 -1
  160. data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -1
  161. data/lib/stack_one/models/shared/employment_value.rb +0 -1
  162. data/lib/stack_one/models/shared/field_type.rb +0 -1
  163. data/lib/stack_one/models/shared/home_location.rb +5 -2
  164. data/lib/stack_one/models/shared/hrisbatchdocumentuploadrequestdto.rb +24 -0
  165. data/lib/stack_one/models/shared/hrisbenefit_value.rb +0 -1
  166. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +8 -2
  167. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +5 -2
  168. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb +27 -0
  169. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -1
  170. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +0 -1
  171. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +0 -1
  172. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +0 -1
  173. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +0 -1
  174. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +0 -1
  175. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_value.rb +21 -0
  176. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +0 -1
  177. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +0 -1
  178. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +0 -1
  179. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +0 -1
  180. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb +27 -0
  181. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +0 -1
  182. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +5 -2
  183. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +0 -1
  184. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +0 -1
  185. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +0 -1
  186. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +0 -1
  187. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +0 -1
  188. data/lib/stack_one/models/shared/hrisdepartment.rb +5 -2
  189. data/lib/stack_one/models/shared/hrisdepartment_value.rb +0 -1
  190. data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +8 -2
  191. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +0 -1
  192. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +0 -1
  193. data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +0 -1
  194. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb +5 -2
  195. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +0 -1
  196. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +0 -1
  197. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +0 -1
  198. data/lib/stack_one/models/shared/hrisgroup.rb +5 -2
  199. data/lib/stack_one/models/shared/hrisgroup_value.rb +0 -1
  200. data/lib/stack_one/models/shared/hrislocation.rb +5 -2
  201. data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +0 -1
  202. data/lib/stack_one/models/shared/hrislocation_value.rb +0 -1
  203. data/lib/stack_one/models/shared/iamgroup_value.rb +0 -1
  204. data/lib/stack_one/models/shared/iammfatypeenum_value.rb +0 -1
  205. data/lib/stack_one/models/shared/iampermission_value.rb +0 -1
  206. data/lib/stack_one/models/shared/iamresource_value.rb +0 -1
  207. data/lib/stack_one/models/shared/iamrole_value.rb +0 -1
  208. data/lib/stack_one/models/shared/iamuser.rb +5 -2
  209. data/lib/stack_one/models/shared/iamuser_avatar.rb +5 -2
  210. data/lib/stack_one/models/shared/iamuser_schemas_value.rb +0 -1
  211. data/lib/stack_one/models/shared/iamuser_value.rb +0 -1
  212. data/lib/stack_one/models/shared/internal.rb +0 -1
  213. data/lib/stack_one/models/shared/interview.rb +5 -2
  214. data/lib/stack_one/models/shared/interview_interview_stage.rb +5 -2
  215. data/lib/stack_one/models/shared/interview_value.rb +0 -1
  216. data/lib/stack_one/models/shared/interviewpart_value.rb +0 -1
  217. data/lib/stack_one/models/shared/interviewstage.rb +5 -2
  218. data/lib/stack_one/models/shared/job.rb +10 -4
  219. data/lib/stack_one/models/shared/job_confidential.rb +0 -1
  220. data/lib/stack_one/models/shared/job_value.rb +0 -1
  221. data/lib/stack_one/models/shared/jobcustomfields.rb +39 -0
  222. data/lib/stack_one/models/shared/jobposting.rb +5 -2
  223. data/lib/stack_one/models/shared/jobposting_content.rb +5 -2
  224. data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +0 -1
  225. data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -1
  226. data/lib/stack_one/models/shared/jobposting_value.rb +0 -1
  227. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +0 -1
  228. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +0 -1
  229. data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +0 -1
  230. data/lib/stack_one/models/shared/jobpostingcontentsection.rb +36 -0
  231. data/lib/stack_one/models/shared/jobpostingcontentsection_type.rb +27 -0
  232. data/lib/stack_one/models/shared/jobpostingcontentsection_value.rb +19 -0
  233. data/lib/stack_one/models/shared/{patchaccountdto.rb → label.rb} +1 -1
  234. data/lib/stack_one/models/shared/linkedaccount.rb +2 -2
  235. data/lib/stack_one/models/shared/linkedaccount_status.rb +0 -1
  236. data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +0 -1
  237. data/lib/stack_one/models/shared/list.rb +5 -2
  238. data/lib/stack_one/models/shared/list_value.rb +0 -1
  239. data/lib/stack_one/models/shared/lmsbatchupsertcontentrequestdto.rb +24 -0
  240. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +5 -11
  241. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +0 -1
  242. data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +5 -2
  243. data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -1
  244. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
  245. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +0 -1
  246. data/lib/stack_one/models/shared/lmsuser.rb +8 -2
  247. data/lib/stack_one/models/shared/method.rb +0 -1
  248. data/lib/stack_one/models/shared/moveapplicationresult.rb +33 -0
  249. data/lib/stack_one/models/shared/note.rb +5 -2
  250. data/lib/stack_one/models/shared/note_value.rb +0 -1
  251. data/lib/stack_one/models/shared/offer.rb +5 -2
  252. data/lib/stack_one/models/shared/offer_value.rb +0 -1
  253. data/lib/stack_one/models/shared/overall_recommendation.rb +0 -1
  254. data/lib/stack_one/models/shared/patchaccountexternaldto.rb +51 -0
  255. data/lib/stack_one/models/shared/patchaccountexternaldto_credentials.rb +20 -0
  256. data/lib/stack_one/models/shared/patchaccountexternaldto_setup_information.rb +20 -0
  257. data/lib/stack_one/models/shared/phonenumber_type.rb +0 -1
  258. data/lib/stack_one/models/shared/question_value.rb +0 -1
  259. data/lib/stack_one/models/shared/rejectapplicationresult.rb +33 -0
  260. data/lib/stack_one/models/shared/rejectedreason.rb +5 -2
  261. data/lib/stack_one/models/shared/rejectedreason_value.rb +0 -1
  262. data/lib/stack_one/models/shared/result.rb +5 -5
  263. data/lib/stack_one/models/shared/scheduledinterview_interview_stage.rb +5 -2
  264. data/lib/stack_one/models/shared/scheduledinterview_value.rb +0 -1
  265. data/lib/stack_one/models/shared/secrets.rb +20 -0
  266. data/lib/stack_one/models/shared/skillresult.rb +27 -0
  267. data/lib/stack_one/models/shared/skills.rb +33 -0
  268. data/lib/stack_one/models/shared/skillspaginated.rb +30 -0
  269. data/lib/stack_one/models/shared/status.rb +14 -9
  270. data/lib/stack_one/models/shared/statusreason.rb +30 -0
  271. data/lib/stack_one/models/shared/timeoff_schemas_value.rb +0 -1
  272. data/lib/stack_one/models/shared/timeoff_value.rb +0 -1
  273. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +5 -2
  274. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +0 -1
  275. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +0 -1
  276. data/lib/stack_one/models/shared/value.rb +4 -9
  277. data/lib/stack_one/models/shared/work_location.rb +5 -2
  278. data/lib/stack_one/models/shared/workeligibility_document.rb +5 -2
  279. data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +0 -1
  280. data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +0 -1
  281. data/lib/stack_one/models/shared/workeligibility_value.rb +0 -1
  282. data/lib/stack_one/models/shared.rb +64 -36
  283. data/lib/stack_one/sdkconfiguration.rb +3 -3
  284. metadata +96 -15
  285. data/lib/stack_one/models/shared/applicationcustomfields_value.rb +0 -23
  286. data/lib/stack_one/models/shared/campaign_status.rb +0 -27
  287. data/lib/stack_one/models/shared/candidatecustomfields_value.rb +0 -23
  288. data/lib/stack_one/models/shared/employeecustomfields_value.rb +0 -23
  289. data/lib/stack_one/models/shared/user.rb +0 -42
@@ -0,0 +1,60 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetCandidateCustomFieldDefinitionRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # Filter parameters that allow greater customisation of the list response
21
+ field :filter, T.nilable(::StackOne::Operations::QueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
22
+ # The unified cursor
23
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
+ # The page number of the results to fetch
25
+ #
26
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
+ # The number of results per page
29
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
+ # Indicates that the raw request result is returned
33
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
+ # The sync token to select the only updated results
35
+ #
36
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
+ field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
38
+ # Use a string with a date to only select results updated after that given date
39
+ #
40
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
41
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
42
+
43
+
44
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::QueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
45
+ def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
46
+ @id = id
47
+ @x_account_id = x_account_id
48
+ @fields_ = fields_
49
+ @filter = filter
50
+ @next_ = next_
51
+ @page = page
52
+ @page_size = page_size
53
+ @proxy = proxy
54
+ @raw = raw
55
+ @sync_token = sync_token
56
+ @updated_after = updated_after
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetCandidateCustomFieldDefinitionResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The candidate custom field definition was retrieved.
21
+ field :custom_field_definition_result_api_model, T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, custom_field_definition_result_api_model: T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, custom_field_definition_result_api_model: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @custom_field_definition_result_api_model = custom_field_definition_result_api_model
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Filter parameters that allow greater customisation of the list response
11
+ class AtsGetJobCustomFieldDefinitionQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Use a string with a date to only select results updated after that given date
15
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
+
17
+
18
+ sig { params(updated_after: T.nilable(::String)).void }
19
+ def initialize(updated_after: nil)
20
+ @updated_after = updated_after
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,60 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetJobCustomFieldDefinitionRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # Filter parameters that allow greater customisation of the list response
21
+ field :filter, T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
22
+ # The unified cursor
23
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
+ # The page number of the results to fetch
25
+ #
26
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
+ # The number of results per page
29
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
+ # Indicates that the raw request result is returned
33
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
+ # The sync token to select the only updated results
35
+ #
36
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
37
+ field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
38
+ # Use a string with a date to only select results updated after that given date
39
+ #
40
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
41
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
42
+
43
+
44
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsGetJobCustomFieldDefinitionQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
45
+ def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
46
+ @id = id
47
+ @x_account_id = x_account_id
48
+ @fields_ = fields_
49
+ @filter = filter
50
+ @next_ = next_
51
+ @page = page
52
+ @page_size = page_size
53
+ @proxy = proxy
54
+ @raw = raw
55
+ @sync_token = sync_token
56
+ @updated_after = updated_after
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsGetJobCustomFieldDefinitionResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The job custom field definition was retrieved.
21
+ field :custom_field_definition_result_api_model, T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, custom_field_definition_result_api_model: T.nilable(::StackOne::Shared::CustomFieldDefinitionResultApiModel)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, custom_field_definition_result_api_model: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @custom_field_definition_result_api_model = custom_field_definition_result_api_model
30
+ end
31
+ end
32
+ end
33
+ end
@@ -19,18 +19,21 @@ module StackOne
19
19
  field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
20
20
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
+ # The comma separated list of fields that will be included in the response
23
+ field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
22
24
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
25
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
24
26
  # Indicates that the raw request result is returned
25
27
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
28
 
27
29
 
28
- sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
29
- def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, proxy: nil, raw: nil)
30
+ sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), include: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
31
+ def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, include: nil, proxy: nil, raw: nil)
30
32
  @id = id
31
33
  @x_account_id = x_account_id
32
34
  @expand = expand
33
35
  @fields_ = fields_
36
+ @include = include
34
37
  @proxy = proxy
35
38
  @raw = raw
36
39
  end
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Filter parameters that allow greater customisation of the list response
11
+ class AtsListApplicationCustomFieldDefinitionsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Use a string with a date to only select results updated after that given date
15
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
+
17
+
18
+ sig { params(updated_after: T.nilable(::String)).void }
19
+ def initialize(updated_after: nil)
20
+ @updated_after = updated_after
21
+ end
22
+ end
23
+ end
24
+ end
@@ -16,7 +16,7 @@ module StackOne
16
16
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
17
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
18
  # Filter parameters that allow greater customisation of the list response
19
- field :filter, T.nilable(::StackOne::Operations::Filter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
19
+ field :filter, T.nilable(::StackOne::Operations::AtsListApplicationCustomFieldDefinitionsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
20
20
  # The unified cursor
21
21
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
22
  # The page number of the results to fetch
@@ -39,7 +39,7 @@ module StackOne
39
39
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
40
 
41
41
 
42
- sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::Filter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
42
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
43
  def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
44
44
  @x_account_id = x_account_id
45
45
  @fields_ = fields_
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Filter parameters that allow greater customisation of the list response
11
+ class AtsListApplicationDocumentsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Use a string with a date to only select results updated after that given date
15
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
+
17
+
18
+ sig { params(updated_after: T.nilable(::String)).void }
19
+ def initialize(updated_after: nil)
20
+ @updated_after = updated_after
21
+ end
22
+ end
23
+ end
24
+ end
@@ -18,7 +18,7 @@ module StackOne
18
18
  # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Filter parameters that allow greater customisation of the list response
21
- field :filter, T.nilable(::StackOne::Operations::QueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
21
+ field :filter, T.nilable(::StackOne::Operations::AtsListApplicationDocumentsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
22
22
  # The unified cursor
23
23
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
24
  # The page number of the results to fetch
@@ -41,7 +41,7 @@ module StackOne
41
41
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
42
42
 
43
43
 
44
- sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::QueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
44
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListApplicationDocumentsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
45
45
  def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
46
46
  @id = id
47
47
  @x_account_id = x_account_id
@@ -13,13 +13,16 @@ module StackOne
13
13
 
14
14
  # Filter to select applications by job_id
15
15
  field :job_id, T.nilable(::String), { 'query_param': { 'field_name': 'job_id' } }
16
+ # Filter to select applications by stage and sub-stage
17
+ field :stage, T.nilable(::String), { 'query_param': { 'field_name': 'stage' } }
16
18
  # Use a string with a date to only select results updated after that given date
17
19
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
18
20
 
19
21
 
20
- sig { params(job_id: T.nilable(::String), updated_after: T.nilable(::String)).void }
21
- def initialize(job_id: nil, updated_after: nil)
22
+ sig { params(job_id: T.nilable(::String), stage: T.nilable(::String), updated_after: T.nilable(::String)).void }
23
+ def initialize(job_id: nil, stage: nil, updated_after: nil)
22
24
  @job_id = job_id
25
+ @stage = stage
23
26
  @updated_after = updated_after
24
27
  end
25
28
  end
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Filter parameters that allow greater customisation of the list response
11
+ class AtsListJobCustomFieldDefinitionsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Use a string with a date to only select results updated after that given date
15
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
16
+
17
+
18
+ sig { params(updated_after: T.nilable(::String)).void }
19
+ def initialize(updated_after: nil)
20
+ @updated_after = updated_after
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,57 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsListJobCustomFieldDefinitionsRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The account identifier
15
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
+ # The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
+ # Filter parameters that allow greater customisation of the list response
19
+ field :filter, T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
20
+ # The unified cursor
21
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
+ # The page number of the results to fetch
23
+ #
24
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
+ # The number of results per page
27
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
+ field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
+ # Indicates that the raw request result is returned
31
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
+ # The sync token to select the only updated results
33
+ #
34
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
35
+ field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
36
+ # Use a string with a date to only select results updated after that given date
37
+ #
38
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
39
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
40
+
41
+
42
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobCustomFieldDefinitionsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
43
+ def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
44
+ @x_account_id = x_account_id
45
+ @fields_ = fields_
46
+ @filter = filter
47
+ @next_ = next_
48
+ @page = page
49
+ @page_size = page_size
50
+ @proxy = proxy
51
+ @raw = raw
52
+ @sync_token = sync_token
53
+ @updated_after = updated_after
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsListJobCustomFieldDefinitionsResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The list of job custom field definitions was retrieved.
21
+ field :custom_field_definitions_paginated, T.nilable(::StackOne::Shared::CustomFieldDefinitionsPaginated)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, custom_field_definitions_paginated: T.nilable(::StackOne::Shared::CustomFieldDefinitionsPaginated)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, custom_field_definitions_paginated: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @custom_field_definitions_paginated = custom_field_definitions_paginated
30
+ end
31
+ end
32
+ end
33
+ end
@@ -19,6 +19,8 @@ module StackOne
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Filter parameters that allow greater customisation of the list response
21
21
  field :filter, T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
22
+ # The comma separated list of fields that will be included in the response
23
+ field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
22
24
  # The unified cursor
23
25
  field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
24
26
  # The page number of the results to fetch
@@ -41,12 +43,13 @@ module StackOne
41
43
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
42
44
 
43
45
 
44
- sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
45
- def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
46
+ sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::AtsListJobsQueryParamFilter), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), sync_token: T.nilable(::String), updated_after: T.nilable(::String)).void }
47
+ def initialize(x_account_id: nil, expand: nil, fields_: nil, filter: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
46
48
  @x_account_id = x_account_id
47
49
  @expand = expand
48
50
  @fields_ = fields_
49
51
  @filter = filter
52
+ @include = include
50
53
  @next_ = next_
51
54
  @page = page
52
55
  @page_size = page_size
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsMoveApplicationRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :ats_move_application_request_dto, ::StackOne::Shared::AtsMoveApplicationRequestDto, { 'request': { 'media_type': 'application/json' } }
16
+
17
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
+ # The account identifier
19
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
+
21
+
22
+ sig { params(ats_move_application_request_dto: ::StackOne::Shared::AtsMoveApplicationRequestDto, id: ::String, x_account_id: ::String).void }
23
+ def initialize(ats_move_application_request_dto: nil, id: nil, x_account_id: nil)
24
+ @ats_move_application_request_dto = ats_move_application_request_dto
25
+ @id = id
26
+ @x_account_id = x_account_id
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsMoveApplicationResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The application was moved successfully.
21
+ field :move_application_result, T.nilable(::StackOne::Shared::MoveApplicationResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, move_application_result: T.nilable(::StackOne::Shared::MoveApplicationResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, move_application_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @move_application_result = move_application_result
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsRejectApplicationRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :ats_reject_application_request_dto, ::StackOne::Shared::AtsRejectApplicationRequestDto, { 'request': { 'media_type': 'application/json' } }
16
+
17
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
+ # The account identifier
19
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
+
21
+
22
+ sig { params(ats_reject_application_request_dto: ::StackOne::Shared::AtsRejectApplicationRequestDto, id: ::String, x_account_id: ::String).void }
23
+ def initialize(ats_reject_application_request_dto: nil, id: nil, x_account_id: nil)
24
+ @ats_reject_application_request_dto = ats_reject_application_request_dto
25
+ @id = id
26
+ @x_account_id = x_account_id
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class AtsRejectApplicationResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The application was rejected successfully.
21
+ field :reject_application_result, T.nilable(::StackOne::Shared::RejectApplicationResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, reject_application_result: T.nilable(::StackOne::Shared::RejectApplicationResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, reject_application_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @reject_application_result = reject_application_result
30
+ end
31
+ end
32
+ end
33
+ end