stackone_client 0.4.1 → 0.5.0

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 (338) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +10 -0
  3. data/lib/stack_one/ats.rb +132 -8
  4. data/lib/stack_one/connect_sessions.rb +4 -0
  5. data/lib/stack_one/connectors.rb +4 -0
  6. data/lib/stack_one/crm.rb +20 -0
  7. data/lib/stack_one/hris.rb +100 -6
  8. data/lib/stack_one/iam.rb +16 -0
  9. data/lib/stack_one/lms.rb +105 -0
  10. data/lib/stack_one/marketing.rb +52 -0
  11. data/lib/stack_one/models/operations/ats_create_application_response.rb +5 -2
  12. data/lib/stack_one/models/operations/ats_create_background_check_package_response.rb +5 -2
  13. data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +5 -2
  14. data/lib/stack_one/models/operations/ats_create_candidate_response.rb +5 -2
  15. data/lib/stack_one/models/operations/ats_create_job_response.rb +5 -2
  16. data/lib/stack_one/models/operations/ats_create_offer_response.rb +5 -2
  17. data/lib/stack_one/models/operations/ats_download_application_document_response.rb +5 -2
  18. data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb +5 -2
  19. data/lib/stack_one/models/operations/ats_get_application_document_response.rb +5 -2
  20. data/lib/stack_one/models/operations/ats_get_application_offer_response.rb +5 -2
  21. data/lib/stack_one/models/operations/ats_get_application_response.rb +5 -2
  22. data/lib/stack_one/models/operations/ats_get_application_scheduled_interview_response.rb +5 -2
  23. data/lib/stack_one/models/operations/ats_get_application_scorecard_response.rb +5 -2
  24. data/lib/stack_one/models/operations/ats_get_assessments_package_response.rb +7 -4
  25. data/lib/stack_one/models/operations/ats_get_assessments_request_response.rb +7 -4
  26. data/lib/stack_one/models/operations/ats_get_assessments_result_response.rb +7 -4
  27. data/lib/stack_one/models/operations/ats_get_background_check_package_response.rb +5 -2
  28. data/lib/stack_one/models/operations/ats_get_background_check_request_response.rb +5 -2
  29. data/lib/stack_one/models/operations/ats_get_background_check_result_response.rb +5 -2
  30. data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_response.rb +5 -2
  31. data/lib/stack_one/models/operations/ats_get_candidate_note_response.rb +5 -2
  32. data/lib/stack_one/models/operations/ats_get_candidate_response.rb +5 -2
  33. data/lib/stack_one/models/operations/ats_get_department_response.rb +5 -2
  34. data/lib/stack_one/models/operations/ats_get_interview_response.rb +5 -2
  35. data/lib/stack_one/models/operations/ats_get_interview_stage_response.rb +5 -2
  36. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_response.rb +5 -2
  37. data/lib/stack_one/models/operations/ats_get_job_posting_response.rb +5 -2
  38. data/lib/stack_one/models/operations/ats_get_job_response.rb +5 -2
  39. data/lib/stack_one/models/operations/ats_get_list_response.rb +5 -2
  40. data/lib/stack_one/models/operations/ats_get_location_response.rb +5 -2
  41. data/lib/stack_one/models/operations/ats_get_offer_response.rb +5 -2
  42. data/lib/stack_one/models/operations/ats_get_rejected_reason_response.rb +5 -2
  43. data/lib/stack_one/models/operations/ats_get_user_response.rb +5 -2
  44. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb +5 -2
  45. data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +5 -2
  46. data/lib/stack_one/models/operations/ats_list_application_scorecards_response.rb +5 -2
  47. data/lib/stack_one/models/operations/ats_list_applications_offers_response.rb +5 -2
  48. data/lib/stack_one/models/operations/ats_list_applications_response.rb +5 -2
  49. data/lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_response.rb +5 -2
  50. data/lib/stack_one/models/operations/ats_list_assessments_packages_response.rb +7 -4
  51. data/lib/stack_one/models/operations/ats_list_background_check_packages_response.rb +5 -2
  52. data/lib/stack_one/models/operations/ats_list_background_check_request_response.rb +5 -2
  53. data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_response.rb +5 -2
  54. data/lib/stack_one/models/operations/ats_list_candidate_notes_response.rb +5 -2
  55. data/lib/stack_one/models/operations/ats_list_candidates_response.rb +5 -2
  56. data/lib/stack_one/models/operations/ats_list_departments_response.rb +5 -2
  57. data/lib/stack_one/models/operations/ats_list_interview_stages_response.rb +5 -2
  58. data/lib/stack_one/models/operations/ats_list_interviews_response.rb +5 -2
  59. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_response.rb +5 -2
  60. data/lib/stack_one/models/operations/ats_list_job_postings_response.rb +5 -2
  61. data/lib/stack_one/models/operations/ats_list_jobs_response.rb +5 -2
  62. data/lib/stack_one/models/operations/ats_list_lists_response.rb +5 -2
  63. data/lib/stack_one/models/operations/ats_list_locations_response.rb +5 -2
  64. data/lib/stack_one/models/operations/ats_list_offers_response.rb +5 -2
  65. data/lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb +5 -2
  66. data/lib/stack_one/models/operations/ats_list_users_response.rb +5 -2
  67. data/lib/stack_one/models/operations/ats_move_application_response.rb +5 -2
  68. data/lib/stack_one/models/operations/ats_reject_application_response.rb +5 -2
  69. data/lib/stack_one/models/operations/ats_update_application_response.rb +5 -2
  70. data/lib/stack_one/models/operations/ats_update_candidate_response.rb +5 -2
  71. data/lib/stack_one/models/operations/ats_update_job_response.rb +5 -2
  72. data/lib/stack_one/models/operations/ats_upload_application_document_response.rb +5 -2
  73. data/lib/stack_one/models/operations/create_response.rb +5 -2
  74. data/lib/stack_one/models/operations/crm_create_contact_response.rb +5 -2
  75. data/lib/stack_one/models/operations/crm_get_account_response.rb +5 -2
  76. data/lib/stack_one/models/operations/crm_get_contact_custom_field_definition_response.rb +5 -2
  77. data/lib/stack_one/models/operations/crm_get_contact_response.rb +5 -2
  78. data/lib/stack_one/models/operations/crm_get_list_response.rb +5 -2
  79. data/lib/stack_one/models/operations/crm_list_accounts_response.rb +5 -2
  80. data/lib/stack_one/models/operations/crm_list_contact_custom_field_definitions_response.rb +5 -2
  81. data/lib/stack_one/models/operations/crm_list_contacts_response.rb +5 -2
  82. data/lib/stack_one/models/operations/crm_list_lists_response.rb +5 -2
  83. data/lib/stack_one/models/operations/crm_update_contact_response.rb +5 -2
  84. data/lib/stack_one/models/operations/hris_batch_upload_employee_document_response.rb +5 -2
  85. data/lib/stack_one/models/operations/hris_create_employee_employment_response.rb +5 -2
  86. data/lib/stack_one/models/operations/hris_create_employee_response.rb +5 -2
  87. data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +5 -2
  88. data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +5 -2
  89. data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +5 -2
  90. data/lib/stack_one/models/operations/hris_download_employee_document_response.rb +5 -2
  91. data/lib/stack_one/models/operations/hris_get_benefit_response.rb +5 -2
  92. data/lib/stack_one/models/operations/hris_get_company_response.rb +5 -2
  93. data/lib/stack_one/models/operations/hris_get_cost_center_group_response.rb +5 -2
  94. data/lib/stack_one/models/operations/hris_get_department_group_response.rb +5 -2
  95. data/lib/stack_one/models/operations/hris_get_employee_custom_field_definition_response.rb +5 -2
  96. data/lib/stack_one/models/operations/hris_get_employee_document_category_response.rb +5 -2
  97. data/lib/stack_one/models/operations/hris_get_employee_document_response.rb +5 -2
  98. data/lib/stack_one/models/operations/hris_get_employee_employment_response.rb +5 -2
  99. data/lib/stack_one/models/operations/hris_get_employee_response.rb +5 -2
  100. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb +5 -2
  101. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +5 -2
  102. data/lib/stack_one/models/operations/hris_get_employment_response.rb +5 -2
  103. data/lib/stack_one/models/operations/hris_get_group_response.rb +5 -2
  104. data/lib/stack_one/models/operations/hris_get_job_response.rb +5 -2
  105. data/lib/stack_one/models/operations/hris_get_location_response.rb +5 -2
  106. data/lib/stack_one/models/operations/hris_get_time_off_request_response.rb +5 -2
  107. data/lib/stack_one/models/operations/hris_get_time_off_type_response.rb +5 -2
  108. data/lib/stack_one/models/operations/hris_list_benefits_response.rb +5 -2
  109. data/lib/stack_one/models/operations/hris_list_companies_response.rb +5 -2
  110. data/lib/stack_one/models/operations/hris_list_cost_center_groups_response.rb +5 -2
  111. data/lib/stack_one/models/operations/hris_list_department_groups_response.rb +5 -2
  112. data/lib/stack_one/models/operations/hris_list_employee_categories_response.rb +5 -2
  113. data/lib/stack_one/models/operations/hris_list_employee_custom_field_definitions_response.rb +5 -2
  114. data/lib/stack_one/models/operations/hris_list_employee_documents_response.rb +5 -2
  115. data/lib/stack_one/models/operations/hris_list_employee_employments_response.rb +5 -2
  116. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb +5 -2
  117. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +5 -2
  118. data/lib/stack_one/models/operations/hris_list_employees_response.rb +5 -2
  119. data/lib/stack_one/models/operations/hris_list_employments_response.rb +5 -2
  120. data/lib/stack_one/models/operations/hris_list_groups_response.rb +5 -2
  121. data/lib/stack_one/models/operations/hris_list_jobs_response.rb +5 -2
  122. data/lib/stack_one/models/operations/hris_list_locations_response.rb +5 -2
  123. data/lib/stack_one/models/operations/hris_list_time_off_requests_response.rb +5 -2
  124. data/lib/stack_one/models/operations/hris_list_time_off_types_response.rb +5 -2
  125. data/lib/stack_one/models/operations/hris_update_employee_employment_response.rb +5 -2
  126. data/lib/stack_one/models/operations/hris_update_employee_request.rb +4 -4
  127. data/lib/stack_one/models/operations/hris_update_employee_response.rb +7 -4
  128. data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +5 -2
  129. data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +5 -2
  130. data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +5 -2
  131. data/lib/stack_one/models/operations/iam_get_group_response.rb +5 -2
  132. data/lib/stack_one/models/operations/iam_get_policy_response.rb +5 -2
  133. data/lib/stack_one/models/operations/iam_get_role_response.rb +5 -2
  134. data/lib/stack_one/models/operations/iam_get_user_response.rb +5 -2
  135. data/lib/stack_one/models/operations/iam_list_groups_response.rb +5 -2
  136. data/lib/stack_one/models/operations/iam_list_policies_response.rb +5 -2
  137. data/lib/stack_one/models/operations/iam_list_roles_response.rb +5 -2
  138. data/lib/stack_one/models/operations/iam_list_users_response.rb +5 -2
  139. data/lib/stack_one/models/operations/lms_batch_upsert_content_response.rb +5 -2
  140. data/lib/stack_one/models/operations/lms_batch_upsert_course_response.rb +5 -2
  141. data/lib/stack_one/models/operations/lms_create_collection_response.rb +5 -2
  142. data/lib/stack_one/models/operations/lms_create_user_assignment_request.rb +30 -0
  143. data/lib/stack_one/models/operations/lms_create_user_assignment_response.rb +36 -0
  144. data/lib/stack_one/models/operations/lms_create_user_completion_response.rb +5 -2
  145. data/lib/stack_one/models/operations/lms_get_assignment_response.rb +5 -2
  146. data/lib/stack_one/models/operations/lms_get_category_response.rb +5 -2
  147. data/lib/stack_one/models/operations/lms_get_completion_response.rb +5 -2
  148. data/lib/stack_one/models/operations/lms_get_content_response.rb +5 -2
  149. data/lib/stack_one/models/operations/lms_get_course_response.rb +5 -2
  150. data/lib/stack_one/models/operations/lms_get_skill_response.rb +5 -2
  151. data/lib/stack_one/models/operations/lms_get_user_assignment_response.rb +5 -2
  152. data/lib/stack_one/models/operations/lms_get_user_completion_response.rb +5 -2
  153. data/lib/stack_one/models/operations/lms_get_user_response.rb +5 -2
  154. data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +5 -5
  155. data/lib/stack_one/models/operations/lms_list_assignments_response.rb +5 -2
  156. data/lib/stack_one/models/operations/lms_list_categories_response.rb +5 -2
  157. data/lib/stack_one/models/operations/lms_list_completions_response.rb +5 -2
  158. data/lib/stack_one/models/operations/lms_list_content_response.rb +5 -2
  159. data/lib/stack_one/models/operations/lms_list_courses_response.rb +5 -2
  160. data/lib/stack_one/models/operations/lms_list_skills_response.rb +5 -2
  161. data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb +5 -5
  162. data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_status.rb +19 -0
  163. data/lib/stack_one/models/operations/lms_list_user_assignments_response.rb +5 -2
  164. data/lib/stack_one/models/operations/lms_list_user_completions_response.rb +5 -2
  165. data/lib/stack_one/models/operations/lms_list_users_response.rb +5 -2
  166. data/lib/stack_one/models/operations/lms_update_collection_response.rb +5 -2
  167. data/lib/stack_one/models/operations/lms_upsert_content_response.rb +5 -2
  168. data/lib/stack_one/models/operations/lms_upsert_course_response.rb +5 -2
  169. data/lib/stack_one/models/operations/marketing_create_content_block_response.rb +5 -2
  170. data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +5 -2
  171. data/lib/stack_one/models/operations/marketing_create_in_app_template_response.rb +5 -2
  172. data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +5 -2
  173. data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +5 -2
  174. data/lib/stack_one/models/operations/marketing_create_sms_template_response.rb +5 -2
  175. data/lib/stack_one/models/operations/marketing_get_campaign_response.rb +5 -2
  176. data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +5 -2
  177. data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +5 -2
  178. data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +5 -2
  179. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb +5 -2
  180. data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +5 -2
  181. data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +5 -2
  182. data/lib/stack_one/models/operations/marketing_list_campaigns_response.rb +5 -2
  183. data/lib/stack_one/models/operations/marketing_list_content_blocks_response.rb +5 -2
  184. data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +5 -2
  185. data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +5 -2
  186. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb +5 -2
  187. data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +5 -2
  188. data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +5 -2
  189. data/lib/stack_one/models/operations/marketing_update_content_block_response.rb +5 -2
  190. data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +5 -2
  191. data/lib/stack_one/models/operations/marketing_update_in_app_template_response.rb +5 -2
  192. data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +5 -2
  193. data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +5 -2
  194. data/lib/stack_one/models/operations/marketing_update_sms_template_response.rb +5 -2
  195. data/lib/stack_one/models/operations/queryparam_status.rb +19 -0
  196. data/lib/stack_one/models/operations/stackone_authenticate_connect_session_response.rb +5 -2
  197. data/lib/stack_one/models/operations/stackone_create_connect_session_response.rb +5 -2
  198. data/lib/stack_one/models/operations/stackone_delete_account_response.rb +5 -2
  199. data/lib/stack_one/models/operations/stackone_get_account_meta_info_response.rb +5 -2
  200. data/lib/stack_one/models/operations/stackone_get_account_response.rb +5 -2
  201. data/lib/stack_one/models/operations/stackone_get_connector_meta_response.rb +5 -2
  202. data/lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb +5 -2
  203. data/lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb +5 -2
  204. data/lib/stack_one/models/operations/stackone_proxy_request_response.rb +5 -2
  205. data/lib/stack_one/models/operations/stackone_update_account_response.rb +5 -2
  206. data/lib/stack_one/models/operations.rb +4 -0
  207. data/lib/stack_one/models/shared/{assessmentsorder.rb → assessmentorder.rb} +6 -6
  208. data/lib/stack_one/models/shared/{assessmentsorder_application.rb → assessmentorder_application.rb} +7 -4
  209. data/lib/stack_one/models/shared/{assessmentsorder_application_status.rb → assessmentorder_application_status.rb} +3 -3
  210. data/lib/stack_one/models/shared/{assessmentsorder_candidate.rb → assessmentorder_candidate.rb} +6 -3
  211. data/lib/stack_one/models/shared/{assessmentsorder_job.rb → assessmentorder_job.rb} +7 -4
  212. data/lib/stack_one/models/shared/{assessmentspackagestestapimodel.rb → assessmentorder_package.rb} +6 -3
  213. data/lib/stack_one/models/shared/{assessmentsorder_value.rb → assessmentorder_value.rb} +2 -2
  214. data/lib/stack_one/models/shared/{assessmentsresultsresult.rb → assessmentorderresult.rb} +3 -3
  215. data/lib/stack_one/models/shared/{assessmentspackages.rb → assessmentpackage.rb} +1 -1
  216. data/lib/stack_one/models/shared/{assessmentspackagespaginated.rb → assessmentpackagepaginated.rb} +3 -3
  217. data/lib/stack_one/models/shared/{assessmentspackagesresult.rb → assessmentpackageresult.rb} +3 -3
  218. data/lib/stack_one/models/shared/{assessmentsresults.rb → assessmentresult.rb} +4 -4
  219. data/lib/stack_one/models/shared/{assessmentsresults_candidate.rb → assessmentresult_candidate.rb} +6 -3
  220. data/lib/stack_one/models/shared/{assessmentsresults_value.rb → assessmentresult_value.rb} +2 -2
  221. data/lib/stack_one/models/shared/{assessmentsorderresult.rb → assessmentresultsresult.rb} +3 -3
  222. data/lib/stack_one/models/shared/assignment.rb +6 -3
  223. data/lib/stack_one/models/shared/assignment_schemas_value.rb +19 -0
  224. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -2
  225. data/lib/stack_one/models/shared/atscreatebackgroundcheckpackagesrequestdto.rb +2 -2
  226. data/lib/stack_one/models/shared/{assessmentsattachment.rb → attachment.rb} +3 -3
  227. data/lib/stack_one/models/shared/{assessmentsattachment_content_type.rb → attachment_content_type.rb} +3 -3
  228. data/lib/stack_one/models/shared/{assessmentsattachment_value.rb → attachment_value.rb} +2 -2
  229. data/lib/stack_one/models/shared/backgroundcheckorder_application.rb +5 -2
  230. data/lib/stack_one/models/shared/backgroundcheckorder_candidate.rb +5 -2
  231. data/lib/stack_one/models/shared/backgroundcheckorder_job.rb +6 -3
  232. data/lib/stack_one/models/shared/backgroundcheckorder_package.rb +6 -3
  233. data/lib/stack_one/models/shared/backgroundcheckorder_requester.rb +20 -11
  234. data/lib/stack_one/models/shared/backgroundcheckpackage.rb +2 -2
  235. data/lib/stack_one/models/shared/backgroundcheckresult.rb +51 -0
  236. data/lib/stack_one/models/shared/{backgroundcheckresultsresult_candidate.rb → backgroundcheckresult_candidate.rb} +6 -3
  237. data/lib/stack_one/models/shared/{backgroundcheckresultsresult_result.rb → backgroundcheckresult_result.rb} +3 -3
  238. data/lib/stack_one/models/shared/{backgroundcheckresultsresult_score.rb → backgroundcheckresult_score.rb} +1 -1
  239. data/lib/stack_one/models/shared/{backgroundcheckresultsresult_value.rb → backgroundcheckresult_value.rb} +2 -2
  240. data/lib/stack_one/models/shared/backgroundcheckresultsresult.rb +9 -33
  241. data/lib/stack_one/models/shared/campaign.rb +2 -2
  242. data/lib/stack_one/models/shared/campaign_status.rb +27 -0
  243. data/lib/stack_one/models/shared/category_value.rb +1 -0
  244. data/lib/stack_one/models/shared/channelsenum.rb +2 -2
  245. data/lib/stack_one/models/shared/completion.rb +5 -2
  246. data/lib/stack_one/models/shared/course.rb +2 -5
  247. data/lib/stack_one/models/shared/createcategoriesapimodel.rb +8 -2
  248. data/lib/stack_one/models/shared/createcategoriesapimodel_level.rb +27 -0
  249. data/lib/stack_one/models/shared/createcategoriesapimodel_value.rb +19 -0
  250. data/lib/stack_one/models/shared/createcostcenterapimodel.rb +30 -0
  251. data/lib/stack_one/models/shared/{createassessmentspackages.rb → createpackage.rb} +1 -1
  252. data/lib/stack_one/models/shared/createskillsapimodel.rb +5 -5
  253. data/lib/stack_one/models/shared/{assignmentstatusenum.rb → createskillsapimodel_level.rb} +4 -4
  254. data/lib/stack_one/models/shared/createskillsapimodel_value.rb +19 -0
  255. data/lib/stack_one/models/shared/employee_schemas_national_identity_number_type_value.rb +1 -0
  256. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
  257. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_national_identity_number_type_value.rb +1 -0
  258. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto.rb +138 -0
  259. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_avatar.rb +27 -0
  260. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_country.rb +27 -0
  261. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment_contract_type.rb +27 -0
  262. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment_status.rb +27 -0
  263. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment_type.rb +27 -0
  264. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_ethnicity.rb +27 -0
  265. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_gender.rb +27 -0
  266. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_home_location.rb +51 -0
  267. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_marital_status.rb +27 -0
  268. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_national_identity_number.rb +30 -0
  269. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_preferred_language.rb +27 -0
  270. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_country.rb +27 -0
  271. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_value.rb +33 -0
  272. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_ethnicity_value.rb +26 -0
  273. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_gender_value.rb +23 -0
  274. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_home_location_state_value.rb +3840 -0
  275. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_home_location_value.rb +265 -0
  276. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_marital_status_value.rb +26 -0
  277. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_national_identity_number_type_value.rb +159 -0
  278. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_national_identity_number_value.rb +265 -0
  279. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_preferred_language_value.rb +114 -0
  280. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_state.rb +27 -0
  281. data/lib/stack_one/models/shared/{channelsenum_value.rb → hrisupdateemployeerequestdto_schemas_value.rb} +7 -7
  282. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_work_location_country.rb +27 -0
  283. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_work_location_state_value.rb +3840 -0
  284. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_work_location_value.rb +265 -0
  285. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_state.rb +27 -0
  286. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_type.rb +27 -0
  287. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_value.rb +20 -0
  288. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_work_location.rb +51 -0
  289. data/lib/stack_one/models/shared/languageenum_value.rb +5 -0
  290. data/lib/stack_one/models/shared/lmscreateassignmentrequestdto.rb +45 -0
  291. data/lib/stack_one/models/shared/lmscreateassignmentrequestdto_status.rb +27 -0
  292. data/lib/stack_one/models/shared/lmscreateassignmentrequestdto_value.rb +19 -0
  293. data/lib/stack_one/models/shared/lmscreatecompletionrequestdto.rb +5 -2
  294. data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +2 -2
  295. data/lib/stack_one/models/shared/package.rb +5 -2
  296. data/lib/stack_one/models/shared/requester.rb +20 -11
  297. data/lib/stack_one/models/shared/result.rb +2 -2
  298. data/lib/stack_one/models/shared/skills_value.rb +1 -0
  299. data/lib/stack_one/models/shared/status.rb +5 -5
  300. data/lib/stack_one/models/shared/updateemployeeapimodel.rb +135 -0
  301. data/lib/stack_one/models/shared/updateemployeeapimodel_avatar.rb +27 -0
  302. data/lib/stack_one/models/shared/updateemployeeapimodel_country.rb +27 -0
  303. data/lib/stack_one/models/shared/updateemployeeapimodel_employment_contract_type.rb +27 -0
  304. data/lib/stack_one/models/shared/updateemployeeapimodel_employment_status.rb +27 -0
  305. data/lib/stack_one/models/shared/updateemployeeapimodel_employment_type.rb +27 -0
  306. data/lib/stack_one/models/shared/updateemployeeapimodel_ethnicity.rb +27 -0
  307. data/lib/stack_one/models/shared/updateemployeeapimodel_gender.rb +27 -0
  308. data/lib/stack_one/models/shared/updateemployeeapimodel_home_location.rb +51 -0
  309. data/lib/stack_one/models/shared/updateemployeeapimodel_marital_status.rb +27 -0
  310. data/lib/stack_one/models/shared/updateemployeeapimodel_national_identity_number.rb +30 -0
  311. data/lib/stack_one/models/shared/updateemployeeapimodel_preferred_language.rb +27 -0
  312. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_country.rb +27 -0
  313. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_type_value.rb +33 -0
  314. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_ethnicity_value.rb +26 -0
  315. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_gender_value.rb +23 -0
  316. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_home_location_state_value.rb +3840 -0
  317. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_home_location_value.rb +265 -0
  318. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_marital_status_value.rb +26 -0
  319. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_national_identity_number_type_value.rb +159 -0
  320. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_national_identity_number_value.rb +265 -0
  321. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_preferred_language_value.rb +114 -0
  322. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_state.rb +27 -0
  323. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_value.rb +23 -0
  324. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_work_location_country.rb +27 -0
  325. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_work_location_state_value.rb +3840 -0
  326. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_work_location_value.rb +265 -0
  327. data/lib/stack_one/models/shared/updateemployeeapimodel_state.rb +27 -0
  328. data/lib/stack_one/models/shared/updateemployeeapimodel_type.rb +27 -0
  329. data/lib/stack_one/models/shared/updateemployeeapimodel_value.rb +20 -0
  330. data/lib/stack_one/models/shared/updateemployeeapimodel_work_location.rb +51 -0
  331. data/lib/stack_one/models/shared/value.rb +8 -4
  332. data/lib/stack_one/models/shared.rb +99 -29
  333. data/lib/stack_one/proxy.rb +4 -0
  334. data/lib/stack_one/sdkconfiguration.rb +3 -3
  335. data/lib/stack_one/utils/utils.rb +2 -3
  336. data/lib/stack_one/webhooks.rb +2 -0
  337. metadata +102 -28
  338. data/lib/stack_one/models/shared/assessmentsrequestsjobhiringteamapimodel.rb +0 -36
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :categories_paginated, T.nilable(::StackOne::Shared::CategoriesPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, categories_paginated: T.nilable(::StackOne::Shared::CategoriesPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, categories_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, categories_paginated: T.nilable(::StackOne::Shared::CategoriesPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, categories_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @categories_paginated = categories_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :completions_paginated, T.nilable(::StackOne::Shared::CompletionsPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, completions_paginated: T.nilable(::StackOne::Shared::CompletionsPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, completions_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, completions_paginated: T.nilable(::StackOne::Shared::CompletionsPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, completions_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @completions_paginated = completions_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :content_paginated, T.nilable(::StackOne::Shared::ContentPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, content_paginated: T.nilable(::StackOne::Shared::ContentPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, content_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, content_paginated: T.nilable(::StackOne::Shared::ContentPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, content_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @content_paginated = content_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :course_paginated, T.nilable(::StackOne::Shared::CoursePaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, course_paginated: T.nilable(::StackOne::Shared::CoursePaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, course_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, course_paginated: T.nilable(::StackOne::Shared::CoursePaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, course_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @course_paginated = course_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :skills_paginated, T.nilable(::StackOne::Shared::SkillsPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, skills_paginated: T.nilable(::StackOne::Shared::SkillsPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, skills_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, skills_paginated: T.nilable(::StackOne::Shared::SkillsPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, skills_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @skills_paginated = skills_paginated
@@ -11,18 +11,18 @@ module StackOne
11
11
  class LmsListUserAssignmentsQueryParamFilter < ::StackOne::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
- # Filter to select assignment by completed status
15
- field :completed, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'completed' } }
16
14
  # Filter to select assignment by learning object type.
17
15
  field :learning_object_type, T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamLearningObjectType), { 'query_param': { 'field_name': 'learning_object_type' } }
16
+ # Filter to select assignment by status
17
+ field :status, T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamStatus), { 'query_param': { 'field_name': 'status' } }
18
18
  # Use a string with a date to only select results updated after that given date
19
19
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
20
20
 
21
21
 
22
- sig { params(completed: T.nilable(T::Boolean), learning_object_type: T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamLearningObjectType), updated_after: T.nilable(::String)).void }
23
- def initialize(completed: nil, learning_object_type: nil, updated_after: nil)
24
- @completed = completed
22
+ sig { params(learning_object_type: T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamLearningObjectType), status: T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamStatus), updated_after: T.nilable(::String)).void }
23
+ def initialize(learning_object_type: nil, status: nil, updated_after: nil)
25
24
  @learning_object_type = learning_object_type
25
+ @status = status
26
26
  @updated_after = updated_after
27
27
  end
28
28
  end
@@ -0,0 +1,19 @@
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
+ # LmsListUserAssignmentsQueryParamStatus - Filter to select assignment by status
11
+ class LmsListUserAssignmentsQueryParamStatus < T::Enum
12
+ enums do
13
+ PENDING = new('pending')
14
+ IN_PROGRESS = new('in_progress')
15
+ COMPLETED = new('completed')
16
+ end
17
+ end
18
+ end
19
+ end
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :assignments_paginated, T.nilable(::StackOne::Shared::AssignmentsPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, assignments_paginated: T.nilable(::StackOne::Shared::AssignmentsPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, assignments_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, assignments_paginated: T.nilable(::StackOne::Shared::AssignmentsPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, assignments_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @assignments_paginated = assignments_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :completions_paginated, T.nilable(::StackOne::Shared::CompletionsPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, completions_paginated: T.nilable(::StackOne::Shared::CompletionsPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, completions_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, completions_paginated: T.nilable(::StackOne::Shared::CompletionsPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, completions_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @completions_paginated = completions_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :users_paginated, T.nilable(::StackOne::Shared::UsersPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, users_paginated: T.nilable(::StackOne::Shared::UsersPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, users_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, users_paginated: T.nilable(::StackOne::Shared::UsersPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, users_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @users_paginated = users_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :update_result, T.nilable(::StackOne::Shared::UpdateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, update_result: T.nilable(::StackOne::Shared::UpdateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, update_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, update_result: T.nilable(::StackOne::Shared::UpdateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, update_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @update_result = update_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :upsert_result, T.nilable(::StackOne::Shared::UpsertResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, upsert_result: T.nilable(::StackOne::Shared::UpsertResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, upsert_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, upsert_result: T.nilable(::StackOne::Shared::UpsertResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, upsert_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @upsert_result = upsert_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :upsert_result, T.nilable(::StackOne::Shared::UpsertResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, upsert_result: T.nilable(::StackOne::Shared::UpsertResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, upsert_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, upsert_result: T.nilable(::StackOne::Shared::UpsertResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, upsert_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @upsert_result = upsert_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :create_result, T.nilable(::StackOne::Shared::CreateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @create_result = create_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :create_result, T.nilable(::StackOne::Shared::CreateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @create_result = create_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :create_result, T.nilable(::StackOne::Shared::CreateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @create_result = create_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :create_result, T.nilable(::StackOne::Shared::CreateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @create_result = create_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :create_result, T.nilable(::StackOne::Shared::CreateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @create_result = create_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :create_result, T.nilable(::StackOne::Shared::CreateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, create_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @create_result = create_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :campaign_result, T.nilable(::StackOne::Shared::CampaignResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, campaign_result: T.nilable(::StackOne::Shared::CampaignResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, campaign_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, campaign_result: T.nilable(::StackOne::Shared::CampaignResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, campaign_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @campaign_result = campaign_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :content_block_result, T.nilable(::StackOne::Shared::ContentBlockResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, content_block_result: T.nilable(::StackOne::Shared::ContentBlockResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, content_block_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, content_block_result: T.nilable(::StackOne::Shared::ContentBlockResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, content_block_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @content_block_result = content_block_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :email_template_result, T.nilable(::StackOne::Shared::EmailTemplateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, email_template_result: T.nilable(::StackOne::Shared::EmailTemplateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, email_template_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, email_template_result: T.nilable(::StackOne::Shared::EmailTemplateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, email_template_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @email_template_result = email_template_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :in_app_template_result, T.nilable(::StackOne::Shared::InAppTemplateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, in_app_template_result: T.nilable(::StackOne::Shared::InAppTemplateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, in_app_template_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, in_app_template_result: T.nilable(::StackOne::Shared::InAppTemplateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, in_app_template_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @in_app_template_result = in_app_template_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :template_result, T.nilable(::StackOne::Shared::TemplateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, template_result: T.nilable(::StackOne::Shared::TemplateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, template_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, template_result: T.nilable(::StackOne::Shared::TemplateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, template_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @template_result = template_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :push_template_result, T.nilable(::StackOne::Shared::PushTemplateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, push_template_result: T.nilable(::StackOne::Shared::PushTemplateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, push_template_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, push_template_result: T.nilable(::StackOne::Shared::PushTemplateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, push_template_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @push_template_result = push_template_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :sms_template_result, T.nilable(::StackOne::Shared::SmsTemplateResult)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, sms_template_result: T.nilable(::StackOne::Shared::SmsTemplateResult)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, sms_template_result: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, sms_template_result: T.nilable(::StackOne::Shared::SmsTemplateResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, sms_template_result: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @sms_template_result = sms_template_result
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :campaigns_paginated, T.nilable(::StackOne::Shared::CampaignsPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, campaigns_paginated: T.nilable(::StackOne::Shared::CampaignsPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, campaigns_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, campaigns_paginated: T.nilable(::StackOne::Shared::CampaignsPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, campaigns_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @campaigns_paginated = campaigns_paginated
@@ -13,6 +13,8 @@ module StackOne
13
13
 
14
14
  # HTTP response content type for this operation
15
15
  field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
16
18
  # Raw HTTP response; suitable for custom response parsing
17
19
  field :raw_response, ::Faraday::Response
18
20
  # HTTP response status code for this operation
@@ -21,9 +23,10 @@ module StackOne
21
23
  field :content_blocks_paginated, T.nilable(::StackOne::Shared::ContentBlocksPaginated)
22
24
 
23
25
 
24
- sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, content_blocks_paginated: T.nilable(::StackOne::Shared::ContentBlocksPaginated)).void }
25
- def initialize(content_type: nil, raw_response: nil, status_code: nil, content_blocks_paginated: nil)
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, content_blocks_paginated: T.nilable(::StackOne::Shared::ContentBlocksPaginated)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, content_blocks_paginated: nil)
26
28
  @content_type = content_type
29
+ @headers = headers
27
30
  @raw_response = raw_response
28
31
  @status_code = status_code
29
32
  @content_blocks_paginated = content_blocks_paginated