stackone_client 0.2.33 → 0.2.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (803) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +1 -1
  3. data/lib/stack_one/ats.rb +105 -1
  4. data/lib/stack_one/connect_sessions.rb +1 -1
  5. data/lib/stack_one/connectors.rb +1 -1
  6. data/lib/stack_one/crm.rb +1 -1
  7. data/lib/stack_one/hris.rb +1 -1
  8. data/lib/stack_one/iam.rb +305 -0
  9. data/lib/stack_one/lms.rb +391 -0
  10. data/lib/stack_one/marketing.rb +347 -1
  11. data/lib/stack_one/models/operations/ats_create_application_request.rb +1 -1
  12. data/lib/stack_one/models/operations/ats_create_application_response.rb +1 -1
  13. data/lib/stack_one/models/operations/ats_create_candidate_note_request.rb +1 -1
  14. data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +1 -1
  15. data/lib/stack_one/models/operations/ats_create_candidate_request.rb +1 -1
  16. data/lib/stack_one/models/operations/ats_create_candidate_response.rb +1 -1
  17. data/lib/stack_one/models/operations/ats_create_offer_request.rb +1 -1
  18. data/lib/stack_one/models/operations/ats_create_offer_response.rb +1 -1
  19. data/lib/stack_one/models/operations/ats_download_application_document_request.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_download_application_document_response.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_get_application_document_response.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_get_application_offer_response.rb +1 -1
  25. data/lib/stack_one/models/operations/ats_get_application_request.rb +6 -3
  26. data/lib/stack_one/models/operations/ats_get_application_response.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_get_application_scorecard_response.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_get_assessments_package_request.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_get_assessments_package_response.rb +1 -1
  31. data/lib/stack_one/models/operations/ats_get_assessments_result_request.rb +36 -0
  32. data/lib/stack_one/models/operations/ats_get_assessments_result_response.rb +33 -0
  33. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
  34. data/lib/stack_one/models/operations/ats_get_candidate_note_response.rb +1 -1
  35. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
  36. data/lib/stack_one/models/operations/ats_get_candidate_response.rb +1 -1
  37. data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
  38. data/lib/stack_one/models/operations/ats_get_department_response.rb +1 -1
  39. data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
  40. data/lib/stack_one/models/operations/ats_get_interview_response.rb +1 -1
  41. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
  42. data/lib/stack_one/models/operations/ats_get_interview_stage_response.rb +1 -1
  43. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
  44. data/lib/stack_one/models/operations/ats_get_job_posting_response.rb +1 -1
  45. data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
  46. data/lib/stack_one/models/operations/ats_get_job_response.rb +1 -1
  47. data/lib/stack_one/models/operations/ats_get_list_request.rb +1 -1
  48. data/lib/stack_one/models/operations/ats_get_list_response.rb +1 -1
  49. data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
  50. data/lib/stack_one/models/operations/ats_get_location_response.rb +1 -1
  51. data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
  52. data/lib/stack_one/models/operations/ats_get_offer_response.rb +1 -1
  53. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
  54. data/lib/stack_one/models/operations/ats_get_rejected_reason_response.rb +1 -1
  55. data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
  56. data/lib/stack_one/models/operations/ats_get_user_response.rb +1 -1
  57. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +57 -0
  58. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb +33 -0
  59. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +3 -3
  60. data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +1 -1
  61. data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb +24 -0
  62. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +3 -3
  63. data/lib/stack_one/models/operations/ats_list_application_scorecards_response.rb +1 -1
  64. data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb +1 -1
  65. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
  66. data/lib/stack_one/models/operations/ats_list_applications_offers_response.rb +1 -1
  67. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +1 -1
  68. data/lib/stack_one/models/operations/ats_list_applications_request.rb +6 -3
  69. data/lib/stack_one/models/operations/ats_list_applications_response.rb +1 -1
  70. data/lib/stack_one/models/operations/ats_list_assessments_packages_queryparam_filter.rb +1 -1
  71. data/lib/stack_one/models/operations/ats_list_assessments_packages_request.rb +1 -1
  72. data/lib/stack_one/models/operations/ats_list_assessments_packages_response.rb +1 -1
  73. data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_queryparam_filter.rb +24 -0
  74. data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb +57 -0
  75. data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_response.rb +33 -0
  76. data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_filter.rb +1 -1
  77. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
  78. data/lib/stack_one/models/operations/ats_list_candidate_notes_response.rb +1 -1
  79. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_filter.rb +1 -1
  80. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
  81. data/lib/stack_one/models/operations/ats_list_candidates_response.rb +1 -1
  82. data/lib/stack_one/models/operations/ats_list_departments_queryparam_filter.rb +1 -1
  83. data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
  84. data/lib/stack_one/models/operations/ats_list_departments_response.rb +1 -1
  85. data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_filter.rb +1 -1
  86. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
  87. data/lib/stack_one/models/operations/ats_list_interview_stages_response.rb +1 -1
  88. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_filter.rb +1 -1
  89. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
  90. data/lib/stack_one/models/operations/ats_list_interviews_response.rb +1 -1
  91. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_filter.rb +1 -1
  92. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
  93. data/lib/stack_one/models/operations/ats_list_job_postings_response.rb +1 -1
  94. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_filter.rb +1 -1
  95. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
  96. data/lib/stack_one/models/operations/ats_list_jobs_response.rb +1 -1
  97. data/lib/stack_one/models/operations/ats_list_lists_queryparam_filter.rb +1 -1
  98. data/lib/stack_one/models/operations/ats_list_lists_request.rb +1 -1
  99. data/lib/stack_one/models/operations/ats_list_lists_response.rb +1 -1
  100. data/lib/stack_one/models/operations/ats_list_locations_queryparam_filter.rb +1 -1
  101. data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
  102. data/lib/stack_one/models/operations/ats_list_locations_response.rb +1 -1
  103. data/lib/stack_one/models/operations/ats_list_offers_queryparam_filter.rb +1 -1
  104. data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
  105. data/lib/stack_one/models/operations/ats_list_offers_response.rb +1 -1
  106. data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_filter.rb +1 -1
  107. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
  108. data/lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb +1 -1
  109. data/lib/stack_one/models/operations/ats_list_users_queryparam_filter.rb +1 -1
  110. data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
  111. data/lib/stack_one/models/operations/ats_list_users_response.rb +1 -1
  112. data/lib/stack_one/models/operations/ats_update_application_request.rb +1 -1
  113. data/lib/stack_one/models/operations/ats_update_application_response.rb +1 -1
  114. data/lib/stack_one/models/operations/ats_update_candidate_request.rb +1 -1
  115. data/lib/stack_one/models/operations/ats_update_candidate_response.rb +1 -1
  116. data/lib/stack_one/models/operations/ats_upload_application_document_request.rb +1 -1
  117. data/lib/stack_one/models/operations/ats_upload_application_document_response.rb +1 -1
  118. data/lib/stack_one/models/operations/crm_create_contact_request.rb +1 -1
  119. data/lib/stack_one/models/operations/crm_create_contact_response.rb +1 -1
  120. data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
  121. data/lib/stack_one/models/operations/crm_get_account_response.rb +1 -1
  122. data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
  123. data/lib/stack_one/models/operations/crm_get_contact_response.rb +1 -1
  124. data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
  125. data/lib/stack_one/models/operations/crm_get_list_response.rb +1 -1
  126. data/lib/stack_one/models/operations/crm_list_accounts_queryparam_filter.rb +1 -1
  127. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
  128. data/lib/stack_one/models/operations/crm_list_accounts_response.rb +1 -1
  129. data/lib/stack_one/models/operations/crm_list_contacts_queryparam_filter.rb +1 -1
  130. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
  131. data/lib/stack_one/models/operations/crm_list_contacts_response.rb +1 -1
  132. data/lib/stack_one/models/operations/crm_list_lists_queryparam_filter.rb +1 -1
  133. data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
  134. data/lib/stack_one/models/operations/crm_list_lists_response.rb +1 -1
  135. data/lib/stack_one/models/operations/crm_update_contact_request.rb +1 -1
  136. data/lib/stack_one/models/operations/crm_update_contact_response.rb +1 -1
  137. data/lib/stack_one/models/operations/filter.rb +1 -1
  138. data/lib/stack_one/models/operations/hris_create_employee_request.rb +1 -1
  139. data/lib/stack_one/models/operations/hris_create_employee_response.rb +1 -1
  140. data/lib/stack_one/models/operations/hris_create_employee_time_off_request_request.rb +1 -1
  141. data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +1 -1
  142. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +1 -1
  143. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +1 -1
  144. data/lib/stack_one/models/operations/hris_create_time_off_request_request.rb +1 -1
  145. data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +1 -1
  146. data/lib/stack_one/models/operations/hris_download_employee_document_request.rb +1 -1
  147. data/lib/stack_one/models/operations/hris_download_employee_document_response.rb +1 -1
  148. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
  149. data/lib/stack_one/models/operations/hris_get_benefit_response.rb +1 -1
  150. data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
  151. data/lib/stack_one/models/operations/hris_get_company_response.rb +1 -1
  152. data/lib/stack_one/models/operations/hris_get_department_group_request.rb +1 -1
  153. data/lib/stack_one/models/operations/hris_get_department_group_response.rb +1 -1
  154. data/lib/stack_one/models/operations/hris_get_employee_document_category_request.rb +1 -1
  155. data/lib/stack_one/models/operations/hris_get_employee_document_category_response.rb +1 -1
  156. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
  157. data/lib/stack_one/models/operations/hris_get_employee_document_response.rb +1 -1
  158. data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
  159. data/lib/stack_one/models/operations/hris_get_employee_response.rb +1 -1
  160. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
  161. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb +1 -1
  162. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +1 -1
  163. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +1 -1
  164. data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
  165. data/lib/stack_one/models/operations/hris_get_employment_response.rb +1 -1
  166. data/lib/stack_one/models/operations/hris_get_group_request.rb +1 -1
  167. data/lib/stack_one/models/operations/hris_get_group_response.rb +1 -1
  168. data/lib/stack_one/models/operations/hris_get_job_request.rb +1 -1
  169. data/lib/stack_one/models/operations/hris_get_job_response.rb +1 -1
  170. data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
  171. data/lib/stack_one/models/operations/hris_get_location_response.rb +1 -1
  172. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
  173. data/lib/stack_one/models/operations/hris_get_time_off_request_response.rb +1 -1
  174. data/lib/stack_one/models/operations/hris_list_benefits_queryparam_filter.rb +1 -1
  175. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
  176. data/lib/stack_one/models/operations/hris_list_benefits_response.rb +1 -1
  177. data/lib/stack_one/models/operations/hris_list_companies_queryparam_filter.rb +1 -1
  178. data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
  179. data/lib/stack_one/models/operations/hris_list_companies_response.rb +1 -1
  180. data/lib/stack_one/models/operations/hris_list_department_groups_queryparam_filter.rb +1 -1
  181. data/lib/stack_one/models/operations/hris_list_department_groups_request.rb +1 -1
  182. data/lib/stack_one/models/operations/hris_list_department_groups_response.rb +1 -1
  183. data/lib/stack_one/models/operations/hris_list_employee_categories_queryparam_filter.rb +1 -1
  184. data/lib/stack_one/models/operations/hris_list_employee_categories_request.rb +1 -1
  185. data/lib/stack_one/models/operations/hris_list_employee_categories_response.rb +1 -1
  186. data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_filter.rb +1 -1
  187. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
  188. data/lib/stack_one/models/operations/hris_list_employee_documents_response.rb +1 -1
  189. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb +1 -1
  190. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
  191. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb +1 -1
  192. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_queryparam_filter.rb +1 -1
  193. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +1 -1
  194. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +1 -1
  195. data/lib/stack_one/models/operations/hris_list_employees_queryparam_filter.rb +1 -1
  196. data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
  197. data/lib/stack_one/models/operations/hris_list_employees_response.rb +1 -1
  198. data/lib/stack_one/models/operations/hris_list_employments_queryparam_filter.rb +1 -1
  199. data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
  200. data/lib/stack_one/models/operations/hris_list_employments_response.rb +1 -1
  201. data/lib/stack_one/models/operations/hris_list_groups_queryparam_filter.rb +1 -1
  202. data/lib/stack_one/models/operations/hris_list_groups_request.rb +1 -1
  203. data/lib/stack_one/models/operations/hris_list_groups_response.rb +1 -1
  204. data/lib/stack_one/models/operations/hris_list_jobs_queryparam_filter.rb +1 -1
  205. data/lib/stack_one/models/operations/hris_list_jobs_request.rb +1 -1
  206. data/lib/stack_one/models/operations/hris_list_jobs_response.rb +1 -1
  207. data/lib/stack_one/models/operations/hris_list_locations_queryparam_filter.rb +1 -1
  208. data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
  209. data/lib/stack_one/models/operations/hris_list_locations_response.rb +1 -1
  210. data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb +1 -1
  211. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
  212. data/lib/stack_one/models/operations/hris_list_time_off_requests_response.rb +1 -1
  213. data/lib/stack_one/models/operations/hris_update_employee_request.rb +1 -1
  214. data/lib/stack_one/models/operations/hris_update_employee_response.rb +1 -1
  215. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_request.rb +1 -1
  216. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +1 -1
  217. data/lib/stack_one/models/operations/hris_update_time_off_request_request.rb +1 -1
  218. data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +1 -1
  219. data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +1 -1
  220. data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +1 -1
  221. data/lib/stack_one/models/operations/iam_get_group_request.rb +39 -0
  222. data/lib/stack_one/models/operations/iam_get_group_response.rb +33 -0
  223. data/lib/stack_one/models/operations/iam_get_policy_request.rb +39 -0
  224. data/lib/stack_one/models/operations/iam_get_policy_response.rb +33 -0
  225. data/lib/stack_one/models/operations/iam_get_role_request.rb +39 -0
  226. data/lib/stack_one/models/operations/iam_get_role_response.rb +33 -0
  227. data/lib/stack_one/models/operations/iam_get_user_request.rb +39 -0
  228. data/lib/stack_one/models/operations/iam_get_user_response.rb +33 -0
  229. data/lib/stack_one/models/operations/iam_list_groups_queryparam_filter.rb +24 -0
  230. data/lib/stack_one/models/operations/iam_list_groups_request.rb +55 -0
  231. data/lib/stack_one/models/operations/iam_list_groups_response.rb +33 -0
  232. data/lib/stack_one/models/operations/iam_list_policies_queryparam_filter.rb +24 -0
  233. data/lib/stack_one/models/operations/iam_list_policies_request.rb +55 -0
  234. data/lib/stack_one/models/operations/iam_list_policies_response.rb +33 -0
  235. data/lib/stack_one/models/operations/iam_list_roles_queryparam_filter.rb +24 -0
  236. data/lib/stack_one/models/operations/iam_list_roles_request.rb +55 -0
  237. data/lib/stack_one/models/operations/iam_list_roles_response.rb +33 -0
  238. data/lib/stack_one/models/operations/iam_list_users_queryparam_filter.rb +24 -0
  239. data/lib/stack_one/models/operations/iam_list_users_request.rb +55 -0
  240. data/lib/stack_one/models/operations/iam_list_users_response.rb +33 -0
  241. data/lib/stack_one/models/operations/lms_create_completion_request.rb +27 -0
  242. data/lib/stack_one/models/operations/lms_create_completion_response.rb +33 -0
  243. data/lib/stack_one/models/operations/lms_create_content_request.rb +27 -0
  244. data/lib/stack_one/models/operations/lms_create_content_response.rb +33 -0
  245. data/lib/stack_one/models/operations/lms_get_category_request.rb +36 -0
  246. data/lib/stack_one/models/operations/lms_get_category_response.rb +33 -0
  247. data/lib/stack_one/models/operations/lms_get_completion_request.rb +36 -0
  248. data/lib/stack_one/models/operations/lms_get_completion_response.rb +33 -0
  249. data/lib/stack_one/models/operations/lms_get_content_request.rb +36 -0
  250. data/lib/stack_one/models/operations/lms_get_content_response.rb +33 -0
  251. data/lib/stack_one/models/operations/lms_list_categories_queryparam_filter.rb +24 -0
  252. data/lib/stack_one/models/operations/lms_list_categories_request.rb +52 -0
  253. data/lib/stack_one/models/operations/lms_list_categories_response.rb +33 -0
  254. data/lib/stack_one/models/operations/lms_list_content_queryparam_filter.rb +24 -0
  255. data/lib/stack_one/models/operations/lms_list_content_request.rb +52 -0
  256. data/lib/stack_one/models/operations/lms_list_content_response.rb +33 -0
  257. data/lib/stack_one/models/operations/lms_update_content_request.rb +30 -0
  258. data/lib/stack_one/models/operations/lms_update_content_response.rb +33 -0
  259. data/lib/stack_one/models/operations/lms_upsert_content_request.rb +27 -0
  260. data/lib/stack_one/models/operations/lms_upsert_content_response.rb +33 -0
  261. data/lib/stack_one/models/operations/marketing_create_content_block_request.rb +1 -1
  262. data/lib/stack_one/models/operations/marketing_create_content_block_response.rb +1 -1
  263. data/lib/stack_one/models/operations/marketing_create_email_template_request.rb +1 -1
  264. data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +1 -1
  265. data/lib/stack_one/models/operations/marketing_create_in_app_template_request.rb +27 -0
  266. data/lib/stack_one/models/operations/marketing_create_in_app_template_response.rb +33 -0
  267. data/lib/stack_one/models/operations/marketing_create_omni_channel_template_request.rb +1 -1
  268. data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +1 -1
  269. data/lib/stack_one/models/operations/marketing_create_push_template_request.rb +1 -1
  270. data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +1 -1
  271. data/lib/stack_one/models/operations/marketing_create_sms_template_request.rb +27 -0
  272. data/lib/stack_one/models/operations/marketing_create_sms_template_response.rb +33 -0
  273. data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
  274. data/lib/stack_one/models/operations/marketing_get_campaign_response.rb +1 -1
  275. data/lib/stack_one/models/operations/marketing_get_content_block_request.rb +1 -1
  276. data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +1 -1
  277. data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
  278. data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +1 -1
  279. data/lib/stack_one/models/operations/marketing_get_in_app_template_request.rb +36 -0
  280. data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +33 -0
  281. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
  282. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb +1 -1
  283. data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
  284. data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +1 -1
  285. data/lib/stack_one/models/operations/marketing_get_sms_template_request.rb +36 -0
  286. data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +33 -0
  287. data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_filter.rb +1 -1
  288. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
  289. data/lib/stack_one/models/operations/marketing_list_campaigns_response.rb +1 -1
  290. data/lib/stack_one/models/operations/marketing_list_content_blocks_queryparam_filter.rb +1 -1
  291. data/lib/stack_one/models/operations/marketing_list_content_blocks_request.rb +1 -1
  292. data/lib/stack_one/models/operations/marketing_list_content_blocks_response.rb +1 -1
  293. data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_filter.rb +1 -1
  294. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
  295. data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +1 -1
  296. data/lib/stack_one/models/operations/marketing_list_in_app_templates_queryparam_filter.rb +24 -0
  297. data/lib/stack_one/models/operations/marketing_list_in_app_templates_request.rb +52 -0
  298. data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +33 -0
  299. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_filter.rb +1 -1
  300. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
  301. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb +1 -1
  302. data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_filter.rb +1 -1
  303. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
  304. data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +1 -1
  305. data/lib/stack_one/models/operations/marketing_list_sms_templates_queryparam_filter.rb +24 -0
  306. data/lib/stack_one/models/operations/marketing_list_sms_templates_request.rb +52 -0
  307. data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +33 -0
  308. data/lib/stack_one/models/operations/marketing_update_content_block_request.rb +1 -1
  309. data/lib/stack_one/models/operations/marketing_update_content_block_response.rb +1 -1
  310. data/lib/stack_one/models/operations/marketing_update_email_template_request.rb +1 -1
  311. data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +1 -1
  312. data/lib/stack_one/models/operations/marketing_update_in_app_template_request.rb +30 -0
  313. data/lib/stack_one/models/operations/marketing_update_in_app_template_response.rb +33 -0
  314. data/lib/stack_one/models/operations/marketing_update_omni_channel_template_request.rb +1 -1
  315. data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +1 -1
  316. data/lib/stack_one/models/operations/marketing_update_push_template_request.rb +1 -1
  317. data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +1 -1
  318. data/lib/stack_one/models/operations/marketing_update_sms_template_request.rb +30 -0
  319. data/lib/stack_one/models/operations/marketing_update_sms_template_response.rb +33 -0
  320. data/lib/stack_one/models/operations/queryparam_filter.rb +1 -1
  321. data/lib/stack_one/models/operations/stackone_authenticate_connect_session_response.rb +1 -1
  322. data/lib/stack_one/models/operations/stackone_create_connect_session_response.rb +1 -1
  323. data/lib/stack_one/models/operations/stackone_delete_account_request.rb +1 -1
  324. data/lib/stack_one/models/operations/stackone_delete_account_response.rb +1 -1
  325. data/lib/stack_one/models/operations/stackone_get_account_meta_info_request.rb +1 -1
  326. data/lib/stack_one/models/operations/stackone_get_account_meta_info_response.rb +1 -1
  327. data/lib/stack_one/models/operations/stackone_get_account_request.rb +1 -1
  328. data/lib/stack_one/models/operations/stackone_get_account_response.rb +1 -1
  329. data/lib/stack_one/models/operations/stackone_get_connector_meta_request.rb +1 -1
  330. data/lib/stack_one/models/operations/stackone_get_connector_meta_response.rb +1 -1
  331. data/lib/stack_one/models/operations/stackone_list_connectors_meta_request.rb +1 -1
  332. data/lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb +1 -1
  333. data/lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb +1 -1
  334. data/lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb +1 -1
  335. data/lib/stack_one/models/operations/stackone_proxy_request_request.rb +1 -1
  336. data/lib/stack_one/models/operations/stackone_proxy_request_response.rb +1 -1
  337. data/lib/stack_one/models/operations/stackone_update_account_request.rb +1 -1
  338. data/lib/stack_one/models/operations/stackone_update_account_response.rb +1 -1
  339. data/lib/stack_one/models/operations.rb +68 -2
  340. data/lib/stack_one/models/shared/account.rb +1 -1
  341. data/lib/stack_one/models/shared/accountaddress.rb +1 -1
  342. data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +1 -1
  343. data/lib/stack_one/models/shared/accountaddress_value.rb +1 -1
  344. data/lib/stack_one/models/shared/accountresult.rb +1 -1
  345. data/lib/stack_one/models/shared/accountspaginated.rb +1 -1
  346. data/lib/stack_one/models/shared/answer.rb +1 -1
  347. data/lib/stack_one/models/shared/answer_value.rb +1 -1
  348. data/lib/stack_one/models/shared/application.rb +6 -3
  349. data/lib/stack_one/models/shared/application_candidate.rb +1 -1
  350. data/lib/stack_one/models/shared/application_interview_stage.rb +1 -1
  351. data/lib/stack_one/models/shared/application_status.rb +1 -1
  352. data/lib/stack_one/models/shared/application_value.rb +1 -1
  353. data/lib/stack_one/models/shared/applicationattachment.rb +1 -1
  354. data/lib/stack_one/models/shared/applicationattachment_value.rb +1 -1
  355. data/lib/stack_one/models/shared/applicationcustomfields.rb +48 -0
  356. data/lib/stack_one/models/shared/applicationcustomfields_type.rb +27 -0
  357. data/lib/stack_one/models/shared/applicationcustomfields_value.rb +23 -0
  358. data/lib/stack_one/models/shared/applicationresult.rb +1 -1
  359. data/lib/stack_one/models/shared/applicationspaginated.rb +1 -1
  360. data/lib/stack_one/models/shared/assessmentspackages.rb +1 -1
  361. data/lib/stack_one/models/shared/assessmentspackages_type.rb +1 -1
  362. data/lib/stack_one/models/shared/assessmentspackages_value.rb +1 -1
  363. data/lib/stack_one/models/shared/assessmentspackagespaginated.rb +1 -1
  364. data/lib/stack_one/models/shared/assessmentspackagesresult.rb +1 -1
  365. data/lib/stack_one/models/shared/assessmentsresults.rb +54 -0
  366. data/lib/stack_one/models/shared/assessmentsresults_candidate.rb +24 -0
  367. data/lib/stack_one/models/shared/assessmentsresults_content_type.rb +27 -0
  368. data/lib/stack_one/models/shared/assessmentsresults_value.rb +19 -0
  369. data/lib/stack_one/models/shared/assessmentsresultsresult.rb +27 -0
  370. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +1 -1
  371. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb +1 -1
  372. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +6 -3
  373. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb +1 -1
  374. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +1 -1
  375. data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +6 -3
  376. data/lib/stack_one/models/shared/atscreatenotesrequestdto.rb +1 -1
  377. data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +1 -1
  378. data/lib/stack_one/models/shared/atscreateofferrequestdto.rb +1 -1
  379. data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +1 -1
  380. data/lib/stack_one/models/shared/atsdocumentapimodel.rb +3 -3
  381. data/lib/stack_one/models/shared/atsdocumentapimodel_category.rb +27 -0
  382. data/lib/stack_one/models/shared/atsdocumentapimodel_schemas_value.rb +1 -1
  383. data/lib/stack_one/models/shared/atsdocumentapimodel_type.rb +1 -1
  384. data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +1 -1
  385. data/lib/stack_one/models/shared/atsdocumentresult.rb +1 -1
  386. data/lib/stack_one/models/shared/atsdocumentspaginated.rb +1 -1
  387. data/lib/stack_one/models/shared/atslocation.rb +1 -1
  388. data/lib/stack_one/models/shared/atslocationresult.rb +1 -1
  389. data/lib/stack_one/models/shared/atslocationspaginated.rb +1 -1
  390. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +1 -1
  391. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb +1 -1
  392. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb +1 -1
  393. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +1 -1
  394. data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +6 -3
  395. data/lib/stack_one/models/shared/attachments.rb +27 -0
  396. data/lib/stack_one/models/shared/avatar.rb +1 -1
  397. data/lib/stack_one/models/shared/benefit_type.rb +1 -1
  398. data/lib/stack_one/models/shared/campaign.rb +3 -3
  399. data/lib/stack_one/models/shared/campaign_schemas_value.rb +1 -1
  400. data/lib/stack_one/models/shared/campaign_status.rb +27 -0
  401. data/lib/stack_one/models/shared/campaign_value.rb +1 -1
  402. data/lib/stack_one/models/shared/campaignresult.rb +1 -1
  403. data/lib/stack_one/models/shared/campaignspaginated.rb +1 -1
  404. data/lib/stack_one/models/shared/candidate.rb +1 -1
  405. data/lib/stack_one/models/shared/candidatecustomfields.rb +1 -1
  406. data/lib/stack_one/models/shared/candidatecustomfields_type.rb +1 -1
  407. data/lib/stack_one/models/shared/candidatecustomfields_value.rb +2 -2
  408. data/lib/stack_one/models/shared/candidateemail.rb +1 -1
  409. data/lib/stack_one/models/shared/candidateresult.rb +1 -1
  410. data/lib/stack_one/models/shared/candidatespaginated.rb +1 -1
  411. data/lib/stack_one/models/shared/categories.rb +1 -1
  412. data/lib/stack_one/models/shared/categoriespaginated.rb +30 -0
  413. data/lib/stack_one/models/shared/category.rb +16 -10
  414. data/lib/stack_one/models/shared/categoryresult.rb +27 -0
  415. data/lib/stack_one/models/shared/channelsenum.rb +1 -1
  416. data/lib/stack_one/models/shared/companiespaginated.rb +1 -1
  417. data/lib/stack_one/models/shared/company.rb +1 -1
  418. data/lib/stack_one/models/shared/companyresult.rb +1 -1
  419. data/lib/stack_one/models/shared/completion.rb +54 -0
  420. data/lib/stack_one/models/shared/completion_value.rb +19 -0
  421. data/lib/stack_one/models/shared/completionresult.rb +27 -0
  422. data/lib/stack_one/models/shared/confidential.rb +1 -1
  423. data/lib/stack_one/models/shared/connectorsmeta.rb +1 -1
  424. data/lib/stack_one/models/shared/connectorsmeta_category.rb +1 -1
  425. data/lib/stack_one/models/shared/connectsession.rb +1 -1
  426. data/lib/stack_one/models/shared/connectsessionauthenticate.rb +1 -1
  427. data/lib/stack_one/models/shared/connectsessioncreate.rb +1 -1
  428. data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -1
  429. data/lib/stack_one/models/shared/connectsessiontoken.rb +1 -1
  430. data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -1
  431. data/lib/stack_one/models/shared/contact.rb +1 -1
  432. data/lib/stack_one/models/shared/contactresult.rb +1 -1
  433. data/lib/stack_one/models/shared/contactscustomfields.rb +2 -2
  434. data/lib/stack_one/models/shared/contactscustomfields_type.rb +1 -1
  435. data/lib/stack_one/models/shared/contactscustomfields_value.rb +2 -6
  436. data/lib/stack_one/models/shared/contactspaginated.rb +1 -1
  437. data/lib/stack_one/models/shared/content.rb +1 -1
  438. data/lib/stack_one/models/shared/content_file_format.rb +1 -1
  439. data/lib/stack_one/models/shared/content_type.rb +1 -1
  440. data/lib/stack_one/models/shared/content_value.rb +1 -1
  441. data/lib/stack_one/models/shared/contentblock.rb +1 -1
  442. data/lib/stack_one/models/shared/contentblock_schemas_value.rb +1 -1
  443. data/lib/stack_one/models/shared/contentblock_status.rb +1 -1
  444. data/lib/stack_one/models/shared/contentblock_type.rb +1 -1
  445. data/lib/stack_one/models/shared/contentblock_value.rb +1 -1
  446. data/lib/stack_one/models/shared/contentblockspaginated.rb +1 -1
  447. data/lib/stack_one/models/shared/contentlanguageenum.rb +27 -0
  448. data/lib/stack_one/models/shared/contentlanguageenum_value.rb +420 -0
  449. data/lib/stack_one/models/shared/contentpaginated.rb +33 -0
  450. data/lib/stack_one/models/shared/contentresult.rb +27 -0
  451. data/lib/stack_one/models/shared/costcenters.rb +1 -1
  452. data/lib/stack_one/models/shared/country.rb +1 -1
  453. data/lib/stack_one/models/shared/countrycodeenum.rb +1 -1
  454. data/lib/stack_one/models/shared/countrycodeenum_value.rb +1 -1
  455. data/lib/stack_one/models/shared/createcategoriesapimodel.rb +27 -0
  456. data/lib/stack_one/models/shared/createresult.rb +1 -1
  457. data/lib/stack_one/models/shared/createresultdataapimodel.rb +1 -1
  458. data/lib/stack_one/models/shared/credentials.rb +1 -1
  459. data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +1 -1
  460. data/lib/stack_one/models/shared/customfielddefinition.rb +39 -0
  461. data/lib/stack_one/models/shared/customfielddefinition_type.rb +27 -0
  462. data/lib/stack_one/models/shared/customfielddefinition_value.rb +23 -0
  463. data/lib/stack_one/models/shared/customfielddefinitionspaginated.rb +33 -0
  464. data/lib/stack_one/models/shared/department.rb +1 -1
  465. data/lib/stack_one/models/shared/departmentresult.rb +1 -1
  466. data/lib/stack_one/models/shared/departmentspaginated.rb +1 -1
  467. data/lib/stack_one/models/shared/document.rb +1 -1
  468. data/lib/stack_one/models/shared/emailmessages.rb +1 -1
  469. data/lib/stack_one/models/shared/emailmessages_value.rb +1 -1
  470. data/lib/stack_one/models/shared/employee.rb +1 -1
  471. data/lib/stack_one/models/shared/employee_company.rb +1 -1
  472. data/lib/stack_one/models/shared/employee_country.rb +1 -1
  473. data/lib/stack_one/models/shared/employee_location_type.rb +1 -1
  474. data/lib/stack_one/models/shared/employee_schemas_country.rb +1 -1
  475. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +1 -1
  476. data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +1 -1
  477. data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +1 -1
  478. data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +1 -1
  479. data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +1 -1
  480. data/lib/stack_one/models/shared/employee_schemas_location_type.rb +1 -1
  481. data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +1 -1
  482. data/lib/stack_one/models/shared/employee_schemas_national_identity_number_value.rb +1 -1
  483. data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +1 -1
  484. data/lib/stack_one/models/shared/employee_schemas_value.rb +1 -1
  485. data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +1 -1
  486. data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +1 -1
  487. data/lib/stack_one/models/shared/employee_type.rb +1 -1
  488. data/lib/stack_one/models/shared/employee_value.rb +1 -1
  489. data/lib/stack_one/models/shared/employeecustomfields.rb +1 -1
  490. data/lib/stack_one/models/shared/employeecustomfields_type.rb +1 -1
  491. data/lib/stack_one/models/shared/employeecustomfields_value.rb +2 -2
  492. data/lib/stack_one/models/shared/employeeresult.rb +1 -1
  493. data/lib/stack_one/models/shared/employeespaginated.rb +1 -1
  494. data/lib/stack_one/models/shared/employment.rb +1 -1
  495. data/lib/stack_one/models/shared/employment_contract_type.rb +1 -1
  496. data/lib/stack_one/models/shared/employment_employment_contract_type.rb +1 -1
  497. data/lib/stack_one/models/shared/employment_employment_type.rb +1 -1
  498. data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +1 -1
  499. data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +1 -1
  500. data/lib/stack_one/models/shared/employment_schemas_value.rb +1 -1
  501. data/lib/stack_one/models/shared/employment_status.rb +1 -1
  502. data/lib/stack_one/models/shared/employment_type.rb +1 -1
  503. data/lib/stack_one/models/shared/employment_value.rb +1 -1
  504. data/lib/stack_one/models/shared/employmentresult.rb +1 -1
  505. data/lib/stack_one/models/shared/employmentspaginated.rb +1 -1
  506. data/lib/stack_one/models/shared/ethnicity.rb +1 -1
  507. data/lib/stack_one/models/shared/field.rb +1 -1
  508. data/lib/stack_one/models/shared/field_type.rb +1 -1
  509. data/lib/stack_one/models/shared/file_format.rb +1 -1
  510. data/lib/stack_one/models/shared/gender.rb +1 -1
  511. data/lib/stack_one/models/shared/headers.rb +1 -1
  512. data/lib/stack_one/models/shared/home_location.rb +1 -1
  513. data/lib/stack_one/models/shared/hrisbenefit.rb +1 -1
  514. data/lib/stack_one/models/shared/hrisbenefit_value.rb +1 -1
  515. data/lib/stack_one/models/shared/hrisbenefitresult.rb +1 -1
  516. data/lib/stack_one/models/shared/hrisbenefitspaginated.rb +1 -1
  517. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +1 -1
  518. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb +1 -1
  519. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_country.rb +1 -1
  520. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb +1 -1
  521. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_status.rb +1 -1
  522. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb +1 -1
  523. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_ethnicity.rb +1 -1
  524. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_gender.rb +1 -1
  525. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +1 -1
  526. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb +1 -1
  527. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +1 -1
  528. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb +1 -1
  529. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +1 -1
  530. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +1 -1
  531. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +1 -1
  532. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +1 -1
  533. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +1 -1
  534. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +1 -1
  535. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +1 -1
  536. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +1 -1
  537. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +1 -1
  538. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +1 -1
  539. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_state.rb +1 -1
  540. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +1 -1
  541. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +1 -1
  542. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +1 -1
  543. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +1 -1
  544. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb +1 -1
  545. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb +1 -1
  546. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +1 -1
  547. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +1 -1
  548. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_category.rb +1 -1
  549. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_file_format.rb +1 -1
  550. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_document_value.rb +1 -1
  551. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +1 -1
  552. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +1 -1
  553. data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +1 -1
  554. data/lib/stack_one/models/shared/hrisdepartment.rb +1 -1
  555. data/lib/stack_one/models/shared/hrisdepartment_type.rb +1 -1
  556. data/lib/stack_one/models/shared/hrisdepartment_value.rb +1 -1
  557. data/lib/stack_one/models/shared/hrisdepartmentspaginated.rb +1 -1
  558. data/lib/stack_one/models/shared/hrisdepartmentsresult.rb +1 -1
  559. data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +1 -1
  560. data/lib/stack_one/models/shared/hrisdocumentapimodel_category.rb +1 -1
  561. data/lib/stack_one/models/shared/hrisdocumentapimodel_file_format.rb +1 -1
  562. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_type_value.rb +1 -1
  563. data/lib/stack_one/models/shared/hrisdocumentapimodel_schemas_value.rb +1 -1
  564. data/lib/stack_one/models/shared/hrisdocumentapimodel_type.rb +1 -1
  565. data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +1 -1
  566. data/lib/stack_one/models/shared/hrisdocumentresult.rb +1 -1
  567. data/lib/stack_one/models/shared/hrisdocumentspaginated.rb +1 -1
  568. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb +1 -1
  569. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb +1 -1
  570. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_file_format.rb +1 -1
  571. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_file_format_value.rb +1 -1
  572. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_schemas_value.rb +1 -1
  573. data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb +1 -1
  574. data/lib/stack_one/models/shared/hrisgroup.rb +1 -1
  575. data/lib/stack_one/models/shared/hrisgroup_type.rb +1 -1
  576. data/lib/stack_one/models/shared/hrisgroup_value.rb +1 -1
  577. data/lib/stack_one/models/shared/hrisgroupspaginated.rb +1 -1
  578. data/lib/stack_one/models/shared/hrisgroupsresult.rb +1 -1
  579. data/lib/stack_one/models/shared/hrislocation.rb +1 -1
  580. data/lib/stack_one/models/shared/hrislocation_country.rb +1 -1
  581. data/lib/stack_one/models/shared/hrislocation_location_type.rb +1 -1
  582. data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +1 -1
  583. data/lib/stack_one/models/shared/hrislocation_value.rb +1 -1
  584. data/lib/stack_one/models/shared/hrislocationresult.rb +1 -1
  585. data/lib/stack_one/models/shared/hrislocationspaginated.rb +1 -1
  586. data/lib/stack_one/models/shared/iamgroup.rb +51 -0
  587. data/lib/stack_one/models/shared/iamgroup_type.rb +27 -0
  588. data/lib/stack_one/models/shared/iamgroup_value.rb +23 -0
  589. data/lib/stack_one/models/shared/iamgroupresult.rb +27 -0
  590. data/lib/stack_one/models/shared/iamgroupspaginated.rb +33 -0
  591. data/lib/stack_one/models/shared/iammfatypeenum.rb +27 -0
  592. data/lib/stack_one/models/shared/iammfatypeenum_value.rb +23 -0
  593. data/lib/stack_one/models/shared/iampermission.rb +45 -0
  594. data/lib/stack_one/models/shared/iampermission_type.rb +27 -0
  595. data/lib/stack_one/models/shared/iampermission_value.rb +24 -0
  596. data/lib/stack_one/models/shared/iampoliciespaginated.rb +33 -0
  597. data/lib/stack_one/models/shared/iampolicy.rb +42 -0
  598. data/lib/stack_one/models/shared/iampolicyresult.rb +27 -0
  599. data/lib/stack_one/models/shared/iamresource.rb +45 -0
  600. data/lib/stack_one/models/shared/iamresource_type.rb +27 -0
  601. data/lib/stack_one/models/shared/iamresource_value.rb +24 -0
  602. data/lib/stack_one/models/shared/iamrole.rb +45 -0
  603. data/lib/stack_one/models/shared/iamrole_type.rb +27 -0
  604. data/lib/stack_one/models/shared/iamrole_value.rb +25 -0
  605. data/lib/stack_one/models/shared/iamroleresult.rb +27 -0
  606. data/lib/stack_one/models/shared/iamrolespaginated.rb +33 -0
  607. data/lib/stack_one/models/shared/iamuser.rb +72 -0
  608. data/lib/stack_one/models/shared/iamuser_avatar.rb +53 -0
  609. data/lib/stack_one/models/shared/iamuser_category.rb +27 -0
  610. data/lib/stack_one/models/shared/iamuser_file_format.rb +27 -0
  611. data/lib/stack_one/models/shared/iamuser_schemas_value.rb +1227 -0
  612. data/lib/stack_one/models/shared/iamuser_status.rb +27 -0
  613. data/lib/stack_one/models/shared/iamuser_value.rb +21 -0
  614. data/lib/stack_one/models/shared/iamuserresult.rb +27 -0
  615. data/lib/stack_one/models/shared/iamuserspaginated.rb +33 -0
  616. data/lib/stack_one/models/shared/images.rb +1 -1
  617. data/lib/stack_one/models/shared/inappmessages.rb +36 -0
  618. data/lib/stack_one/models/shared/inappmessages_message_content.rb +24 -0
  619. data/lib/stack_one/models/shared/inappmessages_message_type.rb +27 -0
  620. data/lib/stack_one/models/shared/inappmessages_value.rb +20 -0
  621. data/lib/stack_one/models/shared/internal.rb +1 -1
  622. data/lib/stack_one/models/shared/interview.rb +1 -1
  623. data/lib/stack_one/models/shared/interview_interview_stage.rb +1 -1
  624. data/lib/stack_one/models/shared/interview_status.rb +1 -1
  625. data/lib/stack_one/models/shared/interview_value.rb +1 -1
  626. data/lib/stack_one/models/shared/interviewer.rb +1 -1
  627. data/lib/stack_one/models/shared/interviewpart.rb +1 -1
  628. data/lib/stack_one/models/shared/interviewpart_type.rb +1 -1
  629. data/lib/stack_one/models/shared/interviewpart_value.rb +1 -1
  630. data/lib/stack_one/models/shared/interviewspaginated.rb +1 -1
  631. data/lib/stack_one/models/shared/interviewsresult.rb +1 -1
  632. data/lib/stack_one/models/shared/interviewstage.rb +1 -1
  633. data/lib/stack_one/models/shared/interviewstageresult.rb +1 -1
  634. data/lib/stack_one/models/shared/interviewstagespaginated.rb +1 -1
  635. data/lib/stack_one/models/shared/issued_by.rb +1 -1
  636. data/lib/stack_one/models/shared/job.rb +1 -1
  637. data/lib/stack_one/models/shared/job_confidential.rb +1 -1
  638. data/lib/stack_one/models/shared/job_description.rb +1 -1
  639. data/lib/stack_one/models/shared/job_status.rb +1 -1
  640. data/lib/stack_one/models/shared/job_value.rb +1 -1
  641. data/lib/stack_one/models/shared/jobhiringteam.rb +1 -1
  642. data/lib/stack_one/models/shared/jobposting.rb +1 -1
  643. data/lib/stack_one/models/shared/jobposting_content.rb +1 -1
  644. data/lib/stack_one/models/shared/jobposting_employment_contract_type.rb +1 -1
  645. data/lib/stack_one/models/shared/jobposting_employment_type.rb +1 -1
  646. data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -1
  647. data/lib/stack_one/models/shared/jobposting_schemas_value.rb +1 -1
  648. data/lib/stack_one/models/shared/jobposting_status.rb +1 -1
  649. data/lib/stack_one/models/shared/jobposting_value.rb +1 -1
  650. data/lib/stack_one/models/shared/jobpostingcompensation.rb +1 -1
  651. data/lib/stack_one/models/shared/jobpostingcompensation_pay_frequency.rb +1 -1
  652. data/lib/stack_one/models/shared/jobpostingcompensation_pay_period.rb +1 -1
  653. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +1 -1
  654. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +1 -1
  655. data/lib/stack_one/models/shared/jobpostingcompensation_type.rb +1 -1
  656. data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +1 -1
  657. data/lib/stack_one/models/shared/jobpostinglocation.rb +1 -1
  658. data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +1 -1
  659. data/lib/stack_one/models/shared/jobpostingresult.rb +1 -1
  660. data/lib/stack_one/models/shared/jobpostingspaginated.rb +1 -1
  661. data/lib/stack_one/models/shared/jobresult.rb +1 -1
  662. data/lib/stack_one/models/shared/jobspaginated.rb +1 -1
  663. data/lib/stack_one/models/shared/linkedaccount.rb +1 -1
  664. data/lib/stack_one/models/shared/linkedaccount_status.rb +1 -1
  665. data/lib/stack_one/models/shared/linkedaccountmeta.rb +1 -1
  666. data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -1
  667. data/lib/stack_one/models/shared/list.rb +1 -1
  668. data/lib/stack_one/models/shared/list_type.rb +1 -1
  669. data/lib/stack_one/models/shared/list_value.rb +1 -1
  670. data/lib/stack_one/models/shared/listitem.rb +1 -1
  671. data/lib/stack_one/models/shared/listresult.rb +1 -1
  672. data/lib/stack_one/models/shared/listspaginated.rb +1 -1
  673. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +45 -0
  674. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_result.rb +27 -0
  675. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_user.rb +42 -0
  676. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto_value.rb +19 -0
  677. data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +57 -0
  678. data/lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb +27 -0
  679. data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +20 -0
  680. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +57 -0
  681. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_type.rb +27 -0
  682. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +20 -0
  683. data/lib/stack_one/models/shared/location_type.rb +1 -1
  684. data/lib/stack_one/models/shared/marital_status.rb +1 -1
  685. data/lib/stack_one/models/shared/marketingcreatecontentblocksrequestdto.rb +1 -1
  686. data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +1 -1
  687. data/lib/stack_one/models/shared/marketingcreateinapptemplaterequestdto.rb +33 -0
  688. data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +1 -1
  689. data/lib/stack_one/models/shared/marketingcreatesmstemplaterequestdto.rb +33 -0
  690. data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +1 -1
  691. data/lib/stack_one/models/shared/message.rb +1 -1
  692. data/lib/stack_one/models/shared/message_content.rb +1 -1
  693. data/lib/stack_one/models/shared/message_message_type.rb +1 -1
  694. data/lib/stack_one/models/shared/message_type.rb +1 -1
  695. data/lib/stack_one/models/shared/message_value.rb +1 -1
  696. data/lib/stack_one/models/shared/metadata.rb +1 -1
  697. data/lib/stack_one/models/shared/method.rb +1 -1
  698. data/lib/stack_one/models/shared/national_identity_number.rb +1 -1
  699. data/lib/stack_one/models/shared/note.rb +1 -1
  700. data/lib/stack_one/models/shared/note_value.rb +1 -1
  701. data/lib/stack_one/models/shared/note_visibility.rb +1 -1
  702. data/lib/stack_one/models/shared/notecontentapimodel.rb +1 -1
  703. data/lib/stack_one/models/shared/noteresult.rb +1 -1
  704. data/lib/stack_one/models/shared/notespaginated.rb +1 -1
  705. data/lib/stack_one/models/shared/offer.rb +1 -1
  706. data/lib/stack_one/models/shared/offer_offer_status.rb +1 -1
  707. data/lib/stack_one/models/shared/offer_status.rb +1 -1
  708. data/lib/stack_one/models/shared/offer_value.rb +1 -1
  709. data/lib/stack_one/models/shared/offerhistory.rb +1 -1
  710. data/lib/stack_one/models/shared/offerspaginated.rb +1 -1
  711. data/lib/stack_one/models/shared/offersresult.rb +1 -1
  712. data/lib/stack_one/models/shared/overall_recommendation.rb +1 -1
  713. data/lib/stack_one/models/shared/patchaccountdto.rb +1 -1
  714. data/lib/stack_one/models/shared/pay_frequency.rb +1 -1
  715. data/lib/stack_one/models/shared/pay_period.rb +1 -1
  716. data/lib/stack_one/models/shared/phonenumber.rb +1 -1
  717. data/lib/stack_one/models/shared/phonenumber_type.rb +1 -1
  718. data/lib/stack_one/models/shared/preferred_language.rb +1 -1
  719. data/lib/stack_one/models/shared/providererrorapimodel.rb +1 -1
  720. data/lib/stack_one/models/shared/proxyrequestbody.rb +1 -1
  721. data/lib/stack_one/models/shared/pushmessages.rb +1 -1
  722. data/lib/stack_one/models/shared/pushmessages_message_content.rb +1 -1
  723. data/lib/stack_one/models/shared/pushmessages_message_type.rb +1 -1
  724. data/lib/stack_one/models/shared/pushmessages_value.rb +1 -1
  725. data/lib/stack_one/models/shared/question.rb +1 -1
  726. data/lib/stack_one/models/shared/question_type.rb +1 -1
  727. data/lib/stack_one/models/shared/question_value.rb +1 -1
  728. data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +1 -1
  729. data/lib/stack_one/models/shared/questionnaire.rb +1 -1
  730. data/lib/stack_one/models/shared/raw.rb +1 -1
  731. data/lib/stack_one/models/shared/rawresponse.rb +1 -1
  732. data/lib/stack_one/models/shared/reference.rb +1 -1
  733. data/lib/stack_one/models/shared/referencepaginated.rb +1 -1
  734. data/lib/stack_one/models/shared/referenceresult.rb +1 -1
  735. data/lib/stack_one/models/shared/rejected_reason_type.rb +1 -1
  736. data/lib/stack_one/models/shared/rejectedreason.rb +1 -1
  737. data/lib/stack_one/models/shared/rejectedreason_value.rb +1 -1
  738. data/lib/stack_one/models/shared/rejectedreasonresult.rb +1 -1
  739. data/lib/stack_one/models/shared/rejectedreasonspaginated.rb +1 -1
  740. data/lib/stack_one/models/shared/resources.rb +1 -1
  741. data/lib/stack_one/models/shared/result.rb +27 -0
  742. data/lib/stack_one/models/shared/resultlink.rb +1 -1
  743. data/lib/stack_one/models/shared/schedule_type.rb +1 -1
  744. data/lib/stack_one/models/shared/score.rb +33 -0
  745. data/lib/stack_one/models/shared/scorecard.rb +1 -1
  746. data/lib/stack_one/models/shared/scorecardsection.rb +1 -1
  747. data/lib/stack_one/models/shared/scorecardspaginated.rb +1 -1
  748. data/lib/stack_one/models/shared/scorecardsresult.rb +1 -1
  749. data/lib/stack_one/models/shared/security.rb +1 -1
  750. data/lib/stack_one/models/shared/setup_information.rb +1 -1
  751. data/lib/stack_one/models/shared/smsmessages.rb +36 -0
  752. data/lib/stack_one/models/shared/smsmessages_message_content.rb +27 -0
  753. data/lib/stack_one/models/shared/smsmessages_message_type.rb +27 -0
  754. data/lib/stack_one/models/shared/smsmessages_value.rb +20 -0
  755. data/lib/stack_one/models/shared/sociallink.rb +1 -1
  756. data/lib/stack_one/models/shared/source.rb +1 -1
  757. data/lib/stack_one/models/shared/state.rb +1 -1
  758. data/lib/stack_one/models/shared/status.rb +10 -15
  759. data/lib/stack_one/models/shared/template.rb +1 -1
  760. data/lib/stack_one/models/shared/templateresult.rb +1 -1
  761. data/lib/stack_one/models/shared/templatespaginated.rb +1 -1
  762. data/lib/stack_one/models/shared/timeoff.rb +1 -1
  763. data/lib/stack_one/models/shared/timeoff_schemas_value.rb +1 -1
  764. data/lib/stack_one/models/shared/timeoff_status.rb +1 -1
  765. data/lib/stack_one/models/shared/timeoff_type.rb +1 -1
  766. data/lib/stack_one/models/shared/timeoff_value.rb +1 -1
  767. data/lib/stack_one/models/shared/timeoffpaginated.rb +1 -1
  768. data/lib/stack_one/models/shared/timeoffresult.rb +1 -1
  769. data/lib/stack_one/models/shared/type.rb +1 -1
  770. data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +1 -1
  771. data/lib/stack_one/models/shared/unifieduploadrequestdto_category.rb +1 -1
  772. data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +1 -1
  773. data/lib/stack_one/models/shared/unifieduploadrequestdto_file_format.rb +1 -1
  774. data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1 -1
  775. data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +1 -1
  776. data/lib/stack_one/models/shared/updateresult.rb +1 -1
  777. data/lib/stack_one/models/shared/user.rb +15 -15
  778. data/lib/stack_one/models/shared/userresult.rb +1 -1
  779. data/lib/stack_one/models/shared/userspaginated.rb +1 -1
  780. data/lib/stack_one/models/shared/value.rb +1 -1
  781. data/lib/stack_one/models/shared/visibility.rb +1 -1
  782. data/lib/stack_one/models/shared/work_location.rb +1 -1
  783. data/lib/stack_one/models/shared/workeligibility.rb +1 -1
  784. data/lib/stack_one/models/shared/workeligibility_category.rb +1 -1
  785. data/lib/stack_one/models/shared/workeligibility_document.rb +1 -1
  786. data/lib/stack_one/models/shared/workeligibility_file_format.rb +1 -1
  787. data/lib/stack_one/models/shared/workeligibility_issued_by.rb +1 -1
  788. data/lib/stack_one/models/shared/workeligibility_schemas_document_value.rb +1 -1
  789. data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +1 -1
  790. data/lib/stack_one/models/shared/workeligibility_type.rb +1 -1
  791. data/lib/stack_one/models/shared/workeligibility_value.rb +1 -1
  792. data/lib/stack_one/models/shared/workeligibilitypaginated.rb +1 -1
  793. data/lib/stack_one/models/shared/workeligibilityresult.rb +1 -1
  794. data/lib/stack_one/models/shared/writeresultapimodel.rb +1 -1
  795. data/lib/stack_one/models/shared.rb +83 -6
  796. data/lib/stack_one/proxy.rb +1 -1
  797. data/lib/stack_one/sdkconfiguration.rb +5 -5
  798. data/lib/stack_one/stackone.rb +4 -2
  799. data/lib/stack_one/utils/metadata_fields.rb +1 -1
  800. data/lib/stack_one/utils/t.rb +1 -1
  801. data/lib/stack_one/utils/utils.rb +1 -1
  802. data/lib/stackone_client.rb +3 -1
  803. metadata +147 -2
@@ -0,0 +1,391 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ require 'faraday'
7
+ require 'faraday/multipart'
8
+ require 'sorbet-runtime'
9
+
10
+ module StackOne
11
+ extend T::Sig
12
+ class Lms
13
+ extend T::Sig
14
+
15
+
16
+ sig { params(sdk_config: SDKConfiguration).void }
17
+ def initialize(sdk_config)
18
+ @sdk_configuration = sdk_config
19
+ end
20
+
21
+
22
+ sig { params(lms_create_completion_request_dto: ::StackOne::Shared::LmsCreateCompletionRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateCompletionResponse) }
23
+ def create_completion(lms_create_completion_request_dto, x_account_id)
24
+ # create_completion - Create Completion
25
+ request = ::StackOne::Operations::LmsCreateCompletionRequest.new(
26
+
27
+ lms_create_completion_request_dto: lms_create_completion_request_dto,
28
+ x_account_id: x_account_id
29
+ )
30
+ url, params = @sdk_configuration.get_server_details
31
+ base_url = Utils.template_url(url, params)
32
+ url = "#{base_url}/unified/lms/completions"
33
+ headers = Utils.get_headers(request)
34
+ req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_completion_request_dto, :json)
35
+ headers['content-type'] = req_content_type
36
+ raise StandardError, 'request body is required' if data.nil? && form.nil?
37
+ headers['Accept'] = 'application/json'
38
+ headers['user-agent'] = @sdk_configuration.user_agent
39
+
40
+ r = @sdk_configuration.client.post(url) do |req|
41
+ req.headers = headers
42
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
43
+ if form
44
+ req.body = Utils.encode_form(form)
45
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
46
+ req.body = URI.encode_www_form(data)
47
+ else
48
+ req.body = data
49
+ end
50
+ end
51
+
52
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
53
+
54
+ res = ::StackOne::Operations::LmsCreateCompletionResponse.new(
55
+ status_code: r.status, content_type: content_type, raw_response: r
56
+ )
57
+ if r.status == 201
58
+ if Utils.match_content_type(content_type, 'application/json')
59
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
60
+ res.create_result = out
61
+ end
62
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
63
+ end
64
+ res
65
+ end
66
+
67
+
68
+ sig { params(lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsCreateContentResponse) }
69
+ def create_content(lms_create_content_request_dto, x_account_id)
70
+ # create_content - Create Content
71
+ request = ::StackOne::Operations::LmsCreateContentRequest.new(
72
+
73
+ lms_create_content_request_dto: lms_create_content_request_dto,
74
+ x_account_id: x_account_id
75
+ )
76
+ url, params = @sdk_configuration.get_server_details
77
+ base_url = Utils.template_url(url, params)
78
+ url = "#{base_url}/unified/lms/content"
79
+ headers = Utils.get_headers(request)
80
+ req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_content_request_dto, :json)
81
+ headers['content-type'] = req_content_type
82
+ raise StandardError, 'request body is required' if data.nil? && form.nil?
83
+ headers['Accept'] = 'application/json'
84
+ headers['user-agent'] = @sdk_configuration.user_agent
85
+
86
+ r = @sdk_configuration.client.post(url) do |req|
87
+ req.headers = headers
88
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
89
+ if form
90
+ req.body = Utils.encode_form(form)
91
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
92
+ req.body = URI.encode_www_form(data)
93
+ else
94
+ req.body = data
95
+ end
96
+ end
97
+
98
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
99
+
100
+ res = ::StackOne::Operations::LmsCreateContentResponse.new(
101
+ status_code: r.status, content_type: content_type, raw_response: r
102
+ )
103
+ if r.status == 201
104
+ if Utils.match_content_type(content_type, 'application/json')
105
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
106
+ res.create_result = out
107
+ end
108
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
109
+ end
110
+ res
111
+ end
112
+
113
+
114
+ sig { params(request: T.nilable(::StackOne::Operations::LmsGetCategoryRequest)).returns(::StackOne::Operations::LmsGetCategoryResponse) }
115
+ def get_category(request)
116
+ # get_category - Get Category
117
+ url, params = @sdk_configuration.get_server_details
118
+ base_url = Utils.template_url(url, params)
119
+ url = Utils.generate_url(
120
+ ::StackOne::Operations::LmsGetCategoryRequest,
121
+ base_url,
122
+ '/unified/lms/categories/{id}',
123
+ request
124
+ )
125
+ headers = Utils.get_headers(request)
126
+ query_params = Utils.get_query_params(::StackOne::Operations::LmsGetCategoryRequest, request)
127
+ headers['Accept'] = 'application/json'
128
+ headers['user-agent'] = @sdk_configuration.user_agent
129
+
130
+ r = @sdk_configuration.client.get(url) do |req|
131
+ req.headers = headers
132
+ req.params = query_params
133
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
134
+ end
135
+
136
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
137
+
138
+ res = ::StackOne::Operations::LmsGetCategoryResponse.new(
139
+ status_code: r.status, content_type: content_type, raw_response: r
140
+ )
141
+ if r.status == 200
142
+ if Utils.match_content_type(content_type, 'application/json')
143
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CategoryResult)
144
+ res.category_result = out
145
+ end
146
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
147
+ end
148
+ res
149
+ end
150
+
151
+
152
+ sig { params(request: T.nilable(::StackOne::Operations::LmsGetCompletionRequest)).returns(::StackOne::Operations::LmsGetCompletionResponse) }
153
+ def get_completion(request)
154
+ # get_completion - Get Completion
155
+ url, params = @sdk_configuration.get_server_details
156
+ base_url = Utils.template_url(url, params)
157
+ url = Utils.generate_url(
158
+ ::StackOne::Operations::LmsGetCompletionRequest,
159
+ base_url,
160
+ '/unified/lms/completions/{id}',
161
+ request
162
+ )
163
+ headers = Utils.get_headers(request)
164
+ query_params = Utils.get_query_params(::StackOne::Operations::LmsGetCompletionRequest, request)
165
+ headers['Accept'] = 'application/json'
166
+ headers['user-agent'] = @sdk_configuration.user_agent
167
+
168
+ r = @sdk_configuration.client.get(url) do |req|
169
+ req.headers = headers
170
+ req.params = query_params
171
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
172
+ end
173
+
174
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
175
+
176
+ res = ::StackOne::Operations::LmsGetCompletionResponse.new(
177
+ status_code: r.status, content_type: content_type, raw_response: r
178
+ )
179
+ if r.status == 200
180
+ if Utils.match_content_type(content_type, 'application/json')
181
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CompletionResult)
182
+ res.completion_result = out
183
+ end
184
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
185
+ end
186
+ res
187
+ end
188
+
189
+
190
+ sig { params(request: T.nilable(::StackOne::Operations::LmsGetContentRequest)).returns(::StackOne::Operations::LmsGetContentResponse) }
191
+ def get_content(request)
192
+ # get_content - Get Content
193
+ url, params = @sdk_configuration.get_server_details
194
+ base_url = Utils.template_url(url, params)
195
+ url = Utils.generate_url(
196
+ ::StackOne::Operations::LmsGetContentRequest,
197
+ base_url,
198
+ '/unified/lms/content/{id}',
199
+ request
200
+ )
201
+ headers = Utils.get_headers(request)
202
+ query_params = Utils.get_query_params(::StackOne::Operations::LmsGetContentRequest, request)
203
+ headers['Accept'] = 'application/json'
204
+ headers['user-agent'] = @sdk_configuration.user_agent
205
+
206
+ r = @sdk_configuration.client.get(url) do |req|
207
+ req.headers = headers
208
+ req.params = query_params
209
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
210
+ end
211
+
212
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
213
+
214
+ res = ::StackOne::Operations::LmsGetContentResponse.new(
215
+ status_code: r.status, content_type: content_type, raw_response: r
216
+ )
217
+ if r.status == 200
218
+ if Utils.match_content_type(content_type, 'application/json')
219
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ContentResult)
220
+ res.content_result = out
221
+ end
222
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
223
+ end
224
+ res
225
+ end
226
+
227
+
228
+ sig { params(request: T.nilable(::StackOne::Operations::LmsListCategoriesRequest)).returns(::StackOne::Operations::LmsListCategoriesResponse) }
229
+ def list_categories(request)
230
+ # list_categories - List Categories
231
+ url, params = @sdk_configuration.get_server_details
232
+ base_url = Utils.template_url(url, params)
233
+ url = "#{base_url}/unified/lms/categories"
234
+ headers = Utils.get_headers(request)
235
+ query_params = Utils.get_query_params(::StackOne::Operations::LmsListCategoriesRequest, request)
236
+ headers['Accept'] = 'application/json'
237
+ headers['user-agent'] = @sdk_configuration.user_agent
238
+
239
+ r = @sdk_configuration.client.get(url) do |req|
240
+ req.headers = headers
241
+ req.params = query_params
242
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
243
+ end
244
+
245
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
246
+
247
+ res = ::StackOne::Operations::LmsListCategoriesResponse.new(
248
+ status_code: r.status, content_type: content_type, raw_response: r
249
+ )
250
+ if r.status == 200
251
+ if Utils.match_content_type(content_type, 'application/json')
252
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CategoriesPaginated)
253
+ res.categories_paginated = out
254
+ end
255
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
256
+ end
257
+ res
258
+ end
259
+
260
+
261
+ sig { params(request: T.nilable(::StackOne::Operations::LmsListContentRequest)).returns(::StackOne::Operations::LmsListContentResponse) }
262
+ def list_content(request)
263
+ # list_content - List Content
264
+ url, params = @sdk_configuration.get_server_details
265
+ base_url = Utils.template_url(url, params)
266
+ url = "#{base_url}/unified/lms/content"
267
+ headers = Utils.get_headers(request)
268
+ query_params = Utils.get_query_params(::StackOne::Operations::LmsListContentRequest, request)
269
+ headers['Accept'] = 'application/json'
270
+ headers['user-agent'] = @sdk_configuration.user_agent
271
+
272
+ r = @sdk_configuration.client.get(url) do |req|
273
+ req.headers = headers
274
+ req.params = query_params
275
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
276
+ end
277
+
278
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
279
+
280
+ res = ::StackOne::Operations::LmsListContentResponse.new(
281
+ status_code: r.status, content_type: content_type, raw_response: r
282
+ )
283
+ if r.status == 200
284
+ if Utils.match_content_type(content_type, 'application/json')
285
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::ContentPaginated)
286
+ res.content_paginated = out
287
+ end
288
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
289
+ end
290
+ res
291
+ end
292
+
293
+
294
+ sig { params(lms_create_content_request_dto: ::StackOne::Shared::LmsCreateContentRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::LmsUpdateContentResponse) }
295
+ def update_content(lms_create_content_request_dto, id, x_account_id)
296
+ # update_content - Update Content
297
+ request = ::StackOne::Operations::LmsUpdateContentRequest.new(
298
+
299
+ lms_create_content_request_dto: lms_create_content_request_dto,
300
+ id: id,
301
+ x_account_id: x_account_id
302
+ )
303
+ url, params = @sdk_configuration.get_server_details
304
+ base_url = Utils.template_url(url, params)
305
+ url = Utils.generate_url(
306
+ ::StackOne::Operations::LmsUpdateContentRequest,
307
+ base_url,
308
+ '/unified/lms/content/{id}',
309
+ request
310
+ )
311
+ headers = Utils.get_headers(request)
312
+ req_content_type, data, form = Utils.serialize_request_body(request, :lms_create_content_request_dto, :json)
313
+ headers['content-type'] = req_content_type
314
+ raise StandardError, 'request body is required' if data.nil? && form.nil?
315
+ headers['Accept'] = 'application/json'
316
+ headers['user-agent'] = @sdk_configuration.user_agent
317
+
318
+ r = @sdk_configuration.client.patch(url) do |req|
319
+ req.headers = headers
320
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
321
+ if form
322
+ req.body = Utils.encode_form(form)
323
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
324
+ req.body = URI.encode_www_form(data)
325
+ else
326
+ req.body = data
327
+ end
328
+ end
329
+
330
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
331
+
332
+ res = ::StackOne::Operations::LmsUpdateContentResponse.new(
333
+ status_code: r.status, content_type: content_type, raw_response: r
334
+ )
335
+ if r.status == 201
336
+ if Utils.match_content_type(content_type, 'application/json')
337
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::UpdateResult)
338
+ res.update_result = out
339
+ end
340
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
341
+ end
342
+ res
343
+ end
344
+
345
+
346
+ sig { params(lms_upsert_content_request_dto: ::StackOne::Shared::LmsUpsertContentRequestDto, x_account_id: ::String).returns(::StackOne::Operations::LmsUpsertContentResponse) }
347
+ def upsert_content(lms_upsert_content_request_dto, x_account_id)
348
+ # upsert_content - Upsert Content
349
+ request = ::StackOne::Operations::LmsUpsertContentRequest.new(
350
+
351
+ lms_upsert_content_request_dto: lms_upsert_content_request_dto,
352
+ x_account_id: x_account_id
353
+ )
354
+ url, params = @sdk_configuration.get_server_details
355
+ base_url = Utils.template_url(url, params)
356
+ url = "#{base_url}/unified/lms/content"
357
+ headers = Utils.get_headers(request)
358
+ req_content_type, data, form = Utils.serialize_request_body(request, :lms_upsert_content_request_dto, :json)
359
+ headers['content-type'] = req_content_type
360
+ raise StandardError, 'request body is required' if data.nil? && form.nil?
361
+ headers['Accept'] = 'application/json'
362
+ headers['user-agent'] = @sdk_configuration.user_agent
363
+
364
+ r = @sdk_configuration.client.put(url) do |req|
365
+ req.headers = headers
366
+ Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
367
+ if form
368
+ req.body = Utils.encode_form(form)
369
+ elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
370
+ req.body = URI.encode_www_form(data)
371
+ else
372
+ req.body = data
373
+ end
374
+ end
375
+
376
+ content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
377
+
378
+ res = ::StackOne::Operations::LmsUpsertContentResponse.new(
379
+ status_code: r.status, content_type: content_type, raw_response: r
380
+ )
381
+ if r.status == 201
382
+ if Utils.match_content_type(content_type, 'application/json')
383
+ out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
384
+ res.create_result = out
385
+ end
386
+ elsif [400, 403, 412, 429, 500, 501].include?(r.status)
387
+ end
388
+ res
389
+ end
390
+ end
391
+ end