stackone_client 0.5.9 → 0.7.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 (238) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/accounts.rb +361 -36
  3. data/lib/stack_one/ats.rb +5301 -652
  4. data/lib/stack_one/connect_sessions.rb +157 -22
  5. data/lib/stack_one/connectors.rb +145 -14
  6. data/lib/stack_one/crm.rb +725 -78
  7. data/lib/stack_one/hris.rb +4335 -462
  8. data/lib/stack_one/iam.rb +805 -56
  9. data/lib/stack_one/lms.rb +1967 -220
  10. data/lib/stack_one/marketing.rb +1921 -230
  11. data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +2 -2
  12. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
  13. data/lib/stack_one/models/operations/ats_get_application_note_request.rb +1 -1
  14. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
  15. data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
  16. data/lib/stack_one/models/operations/ats_get_application_scheduled_interview_request.rb +1 -1
  17. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
  18. data/lib/stack_one/models/operations/ats_get_assessments_package_request.rb +1 -1
  19. data/lib/stack_one/models/operations/ats_get_assessments_request_request.rb +1 -1
  20. data/lib/stack_one/models/operations/ats_get_assessments_result_request.rb +1 -1
  21. data/lib/stack_one/models/operations/ats_get_background_check_package_request.rb +1 -1
  22. data/lib/stack_one/models/operations/ats_get_background_check_request_request.rb +1 -1
  23. data/lib/stack_one/models/operations/ats_get_background_check_result_request.rb +1 -1
  24. data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +2 -2
  25. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
  26. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
  27. data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
  28. data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
  29. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
  30. data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +2 -2
  31. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
  32. data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
  33. data/lib/stack_one/models/operations/ats_get_list_request.rb +1 -1
  34. data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
  35. data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
  36. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
  37. data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
  38. data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -2
  39. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +2 -2
  40. data/lib/stack_one/models/operations/ats_list_application_notes_request.rb +2 -2
  41. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +2 -2
  42. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +2 -2
  43. data/lib/stack_one/models/operations/ats_list_applications_request.rb +2 -2
  44. data/lib/stack_one/models/operations/ats_list_applications_scheduled_interviews_request.rb +2 -2
  45. data/lib/stack_one/models/operations/ats_list_assessments_packages_request.rb +2 -2
  46. data/lib/stack_one/models/operations/ats_list_background_check_packages_request.rb +2 -2
  47. data/lib/stack_one/models/operations/ats_list_background_check_request_request.rb +2 -2
  48. data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb +2 -2
  49. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +2 -2
  50. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +2 -2
  51. data/lib/stack_one/models/operations/ats_list_departments_request.rb +2 -2
  52. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +2 -2
  53. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +2 -2
  54. data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +2 -2
  55. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +2 -2
  56. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +2 -2
  57. data/lib/stack_one/models/operations/ats_list_lists_request.rb +2 -2
  58. data/lib/stack_one/models/operations/ats_list_locations_request.rb +2 -2
  59. data/lib/stack_one/models/operations/ats_list_offers_request.rb +2 -2
  60. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +2 -2
  61. data/lib/stack_one/models/operations/ats_list_users_request.rb +2 -2
  62. data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
  63. data/lib/stack_one/models/operations/crm_get_contact_custom_field_definition_request.rb +2 -2
  64. data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
  65. data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
  66. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +2 -2
  67. data/lib/stack_one/models/operations/crm_list_contact_custom_field_definitions_request.rb +2 -2
  68. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +2 -2
  69. data/lib/stack_one/models/operations/crm_list_lists_request.rb +2 -2
  70. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
  71. data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
  72. data/lib/stack_one/models/operations/hris_get_cost_center_group_request.rb +1 -1
  73. data/lib/stack_one/models/operations/hris_get_department_group_request.rb +1 -1
  74. data/lib/stack_one/models/operations/hris_get_employee_custom_field_definition_request.rb +2 -2
  75. data/lib/stack_one/models/operations/hris_get_employee_document_category_request.rb +1 -1
  76. data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
  77. data/lib/stack_one/models/operations/hris_get_employee_employment_request.rb +1 -1
  78. data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
  79. data/lib/stack_one/models/operations/hris_get_employee_skill_request.rb +1 -1
  80. data/lib/stack_one/models/operations/hris_get_employee_time_off_balance_request.rb +1 -1
  81. data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
  82. data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +1 -1
  83. data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
  84. data/lib/stack_one/models/operations/hris_get_group_request.rb +1 -1
  85. data/lib/stack_one/models/operations/hris_get_job_request.rb +1 -1
  86. data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
  87. data/lib/stack_one/models/operations/hris_get_location_response.rb +1 -1
  88. data/lib/stack_one/models/operations/hris_get_team_group_request.rb +1 -1
  89. data/lib/stack_one/models/operations/hris_get_time_entries_request.rb +1 -1
  90. data/lib/stack_one/models/operations/hris_get_time_off_policy_request.rb +1 -1
  91. data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
  92. data/lib/stack_one/models/operations/hris_get_time_off_type_request.rb +1 -1
  93. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +2 -2
  94. data/lib/stack_one/models/operations/hris_list_companies_request.rb +2 -2
  95. data/lib/stack_one/models/operations/hris_list_cost_center_groups_request.rb +2 -2
  96. data/lib/stack_one/models/operations/hris_list_department_groups_request.rb +2 -2
  97. data/lib/stack_one/models/operations/hris_list_employee_categories_request.rb +2 -2
  98. data/lib/stack_one/models/operations/hris_list_employee_custom_field_definitions_request.rb +2 -2
  99. data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +2 -2
  100. data/lib/stack_one/models/operations/hris_list_employee_employments_request.rb +2 -2
  101. data/lib/stack_one/models/operations/hris_list_employee_skills_request.rb +2 -2
  102. data/lib/stack_one/models/operations/hris_list_employee_time_off_balances_request.rb +2 -2
  103. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +2 -2
  104. data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +2 -2
  105. data/lib/stack_one/models/operations/hris_list_employees_request.rb +2 -2
  106. data/lib/stack_one/models/operations/hris_list_employments_request.rb +2 -2
  107. data/lib/stack_one/models/operations/hris_list_groups_request.rb +2 -2
  108. data/lib/stack_one/models/operations/hris_list_jobs_request.rb +2 -2
  109. data/lib/stack_one/models/operations/hris_list_locations_request.rb +2 -2
  110. data/lib/stack_one/models/operations/hris_list_locations_response.rb +1 -1
  111. data/lib/stack_one/models/operations/hris_list_team_groups_request.rb +2 -2
  112. data/lib/stack_one/models/operations/hris_list_time_entries_request.rb +2 -2
  113. data/lib/stack_one/models/operations/hris_list_time_off_policies_request.rb +2 -2
  114. data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +2 -2
  115. data/lib/stack_one/models/operations/hris_list_time_off_types_request.rb +2 -2
  116. data/lib/stack_one/models/operations/hris_update_employee_time_off_request_request.rb +33 -0
  117. data/lib/stack_one/models/operations/hris_update_employee_time_off_request_response.rb +36 -0
  118. data/lib/stack_one/models/operations/iam_delete_user_request.rb +27 -0
  119. data/lib/stack_one/models/operations/iam_delete_user_response.rb +36 -0
  120. data/lib/stack_one/models/operations/iam_get_group_request.rb +1 -1
  121. data/lib/stack_one/models/operations/iam_get_policy_request.rb +1 -1
  122. data/lib/stack_one/models/operations/iam_get_role_request.rb +1 -1
  123. data/lib/stack_one/models/operations/iam_get_user_request.rb +1 -1
  124. data/lib/stack_one/models/operations/iam_list_groups_request.rb +2 -2
  125. data/lib/stack_one/models/operations/iam_list_policies_request.rb +2 -2
  126. data/lib/stack_one/models/operations/iam_list_roles_request.rb +2 -2
  127. data/lib/stack_one/models/operations/iam_list_users_request.rb +2 -2
  128. data/lib/stack_one/models/operations/iam_update_user_request.rb +30 -0
  129. data/lib/stack_one/models/operations/iam_update_user_response.rb +36 -0
  130. data/lib/stack_one/models/operations/lms_get_assignment_request.rb +1 -1
  131. data/lib/stack_one/models/operations/lms_get_category_request.rb +1 -1
  132. data/lib/stack_one/models/operations/lms_get_completion_request.rb +1 -1
  133. data/lib/stack_one/models/operations/lms_get_content_request.rb +1 -1
  134. data/lib/stack_one/models/operations/lms_get_course_request.rb +1 -1
  135. data/lib/stack_one/models/operations/lms_get_skill_request.rb +1 -1
  136. data/lib/stack_one/models/operations/lms_get_user_assignment_request.rb +1 -1
  137. data/lib/stack_one/models/operations/lms_get_user_completion_request.rb +1 -1
  138. data/lib/stack_one/models/operations/lms_get_user_request.rb +1 -1
  139. data/lib/stack_one/models/operations/lms_list_assignments_request.rb +2 -2
  140. data/lib/stack_one/models/operations/lms_list_categories_request.rb +2 -2
  141. data/lib/stack_one/models/operations/lms_list_completions_request.rb +2 -2
  142. data/lib/stack_one/models/operations/lms_list_content_request.rb +2 -2
  143. data/lib/stack_one/models/operations/lms_list_courses_request.rb +2 -2
  144. data/lib/stack_one/models/operations/lms_list_skills_request.rb +2 -2
  145. data/lib/stack_one/models/operations/lms_list_user_assignments_request.rb +2 -2
  146. data/lib/stack_one/models/operations/lms_list_user_completions_request.rb +2 -2
  147. data/lib/stack_one/models/operations/lms_list_users_queryparam_filter.rb +5 -2
  148. data/lib/stack_one/models/operations/lms_list_users_request.rb +2 -2
  149. data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
  150. data/lib/stack_one/models/operations/marketing_get_content_block_request.rb +1 -1
  151. data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
  152. data/lib/stack_one/models/operations/marketing_get_in_app_template_request.rb +1 -1
  153. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
  154. data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
  155. data/lib/stack_one/models/operations/marketing_get_sms_template_request.rb +1 -1
  156. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +2 -2
  157. data/lib/stack_one/models/operations/marketing_list_content_blocks_request.rb +2 -2
  158. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +2 -2
  159. data/lib/stack_one/models/operations/marketing_list_in_app_templates_request.rb +2 -2
  160. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +2 -2
  161. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +2 -2
  162. data/lib/stack_one/models/operations/marketing_list_sms_templates_request.rb +2 -2
  163. data/lib/stack_one/models/operations.rb +6 -0
  164. data/lib/stack_one/models/shared/atscreatejobrequestdto.rb +5 -2
  165. data/lib/stack_one/models/shared/atsupdatejobrequestdto.rb +5 -2
  166. data/lib/stack_one/models/shared/categories.rb +2 -0
  167. data/lib/stack_one/models/shared/company.rb +5 -2
  168. data/lib/stack_one/models/shared/connectorsmeta_category.rb +2 -0
  169. data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +2 -0
  170. data/lib/stack_one/models/shared/connectsessiontokenauthlink_categories.rb +2 -0
  171. data/lib/stack_one/models/shared/createemploymentapimodel.rb +4 -5
  172. data/lib/stack_one/models/shared/employee_company.rb +5 -2
  173. data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +10 -8
  174. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment.rb +56 -0
  175. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_pay_frequency.rb +27 -0
  176. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_pay_period.rb +27 -0
  177. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type.rb +27 -0
  178. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_employment_contract_type_value.rb +20 -0
  179. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_employment_type_value.rb +33 -0
  180. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_pay_period_value.rb +29 -0
  181. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type.rb +27 -0
  182. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_value.rb +31 -0
  183. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_state.rb +3 -3
  184. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto.rb +4 -5
  185. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +2 -0
  186. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb +2 -0
  187. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto.rb +8 -8
  188. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment.rb +56 -0
  189. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_pay_frequency.rb +27 -0
  190. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_pay_period.rb +27 -0
  191. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type.rb +27 -0
  192. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_employment_contract_type_value.rb +20 -0
  193. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_employment_type_value.rb +33 -0
  194. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_pay_period_value.rb +29 -0
  195. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type.rb +27 -0
  196. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_value.rb +31 -0
  197. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_state.rb +3 -3
  198. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_state.rb +3 -3
  199. data/lib/stack_one/models/shared/iamupdateuserrequestdto.rb +45 -0
  200. data/lib/stack_one/models/shared/iamupdateuserrequestdto_status.rb +27 -0
  201. data/lib/stack_one/models/shared/iamupdateuserrequestdto_value.rb +20 -0
  202. data/lib/stack_one/models/shared/job.rb +5 -2
  203. data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +2 -0
  204. data/lib/stack_one/models/shared/rawresponse.rb +2 -2
  205. data/lib/stack_one/models/shared/state.rb +3 -3
  206. data/lib/stack_one/models/shared/timeoff.rb +2 -0
  207. data/lib/stack_one/models/shared/timeoff_type.rb +2 -0
  208. data/lib/stack_one/models/shared/updateemployeeapimodel.rb +8 -8
  209. data/lib/stack_one/models/shared/updateemployeeapimodel_employment.rb +56 -0
  210. data/lib/stack_one/models/shared/updateemployeeapimodel_pay_frequency.rb +27 -0
  211. data/lib/stack_one/models/shared/updateemployeeapimodel_pay_period.rb +27 -0
  212. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_contract_type.rb +27 -0
  213. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_employment_contract_type_value.rb +20 -0
  214. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_employment_type_value.rb +33 -0
  215. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_pay_period_value.rb +29 -0
  216. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_type.rb +27 -0
  217. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_employment_value.rb +31 -0
  218. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_state.rb +3 -3
  219. data/lib/stack_one/models/shared/updateemployeeapimodel_state.rb +3 -3
  220. data/lib/stack_one/models/shared/updatepackage.rb +5 -2
  221. data/lib/stack_one/models/shared/updateuserapimodel.rb +45 -0
  222. data/lib/stack_one/models/shared/updateuserapimodel_status.rb +27 -0
  223. data/lib/stack_one/models/shared/updateuserapimodel_value.rb +20 -0
  224. data/lib/stack_one/models/shared.rb +33 -6
  225. data/lib/stack_one/proxy.rb +80 -11
  226. data/lib/stack_one/sdk_hooks/hooks.rb +101 -0
  227. data/lib/stack_one/sdk_hooks/types.rb +152 -0
  228. data/lib/stack_one/sdkconfiguration.rb +25 -7
  229. data/lib/stack_one/stackone.rb +29 -10
  230. data/lib/stack_one/utils/retries.rb +95 -0
  231. data/lib/stack_one/utils/utils.rb +10 -0
  232. metadata +74 -10
  233. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +0 -3840
  234. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +0 -3840
  235. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_home_location_state_value.rb +0 -3840
  236. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_work_location_state_value.rb +0 -3840
  237. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_home_location_state_value.rb +0 -3840
  238. data/lib/stack_one/models/shared/updateemployeeapimodel_schemas_work_location_state_value.rb +0 -3840
@@ -27,11 +27,11 @@ module StackOne
27
27
  #
28
28
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
29
29
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
30
- # The number of results per page
30
+ # The number of results per page (default value is 25)
31
31
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
32
32
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
33
33
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
34
- # Indicates that the raw request result is returned
34
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
35
35
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
36
36
  # Use a string with a date to only select results updated after that given date
37
37
  #
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -27,11 +27,11 @@ module StackOne
27
27
  #
28
28
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
29
29
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
30
- # The number of results per page
30
+ # The number of results per page (default value is 25)
31
31
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
32
32
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
33
33
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
34
- # Indicates that the raw request result is returned
34
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
35
35
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
36
36
  # Use a string with a date to only select results updated after that given date
37
37
  #
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -27,11 +27,11 @@ module StackOne
27
27
  #
28
28
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
29
29
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
30
- # The number of results per page
30
+ # The number of results per page (default value is 25)
31
31
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
32
32
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
33
33
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
34
- # Indicates that the raw request result is returned
34
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
35
35
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
36
36
  # Use a string with a date to only select results updated after that given date
37
37
  #
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :raw_response, ::Faraday::Response
20
20
  # HTTP response status code for this operation
21
21
  field :status_code, ::Integer
22
- # The list of Locations was retrieved.
22
+ # The list of work locations was retrieved.
23
23
  field :hris_locations_paginated, T.nilable(::StackOne::Shared::HRISLocationsPaginated)
24
24
 
25
25
 
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -23,11 +23,11 @@ module StackOne
23
23
  #
24
24
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
25
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
- # The number of results per page
26
+ # The number of results per page (default value is 25)
27
27
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
28
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
29
29
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
30
- # Indicates that the raw request result is returned
30
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
31
31
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
32
  # Use a string with a date to only select results updated after that given date
33
33
  #
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisUpdateEmployeeTimeOffRequestRequest < ::Crystalline::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :hris_create_time_off_request_dto, ::StackOne::Shared::HrisCreateTimeOffRequestDto, { 'request': { 'media_type': 'application/json' } }
16
+
17
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
+
19
+ field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
20
+ # The account identifier
21
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
22
+
23
+
24
+ sig { params(hris_create_time_off_request_dto: ::StackOne::Shared::HrisCreateTimeOffRequestDto, id: ::String, sub_resource_id: ::String, x_account_id: ::String).void }
25
+ def initialize(hris_create_time_off_request_dto: nil, id: nil, sub_resource_id: nil, x_account_id: nil)
26
+ @hris_create_time_off_request_dto = hris_create_time_off_request_dto
27
+ @id = id
28
+ @sub_resource_id = sub_resource_id
29
+ @x_account_id = x_account_id
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisUpdateEmployeeTimeOffRequestResponse < ::Crystalline::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
18
+ # Raw HTTP response; suitable for custom response parsing
19
+ field :raw_response, ::Faraday::Response
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # Record updated successfully
23
+ field :create_result, T.nilable(::StackOne::Shared::CreateResult)
24
+
25
+
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)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @create_result = create_result
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class IamDeleteUserRequest < ::Crystalline::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+
19
+
20
+ sig { params(id: ::String, x_account_id: ::String).void }
21
+ def initialize(id: nil, x_account_id: nil)
22
+ @id = id
23
+ @x_account_id = x_account_id
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class IamDeleteUserResponse < ::Crystalline::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
18
+ # Raw HTTP response; suitable for custom response parsing
19
+ field :raw_response, ::Faraday::Response
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # The user was deleted successfully.
23
+ field :delete_result, T.nilable(::StackOne::Shared::DeleteResult)
24
+
25
+
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, delete_result: T.nilable(::StackOne::Shared::DeleteResult)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, delete_result: nil)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @delete_result = delete_result
33
+ end
34
+ end
35
+ end
36
+ end
@@ -21,7 +21,7 @@ module StackOne
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
24
- # Indicates that the raw request result is returned
24
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
25
25
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
26
 
27
27
 
@@ -21,7 +21,7 @@ module StackOne
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
24
- # Indicates that the raw request result is returned
24
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
25
25
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
26
 
27
27
 
@@ -21,7 +21,7 @@ module StackOne
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
24
- # Indicates that the raw request result is returned
24
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
25
25
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
26
 
27
27
 
@@ -21,7 +21,7 @@ module StackOne
21
21
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
22
22
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
23
23
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
24
- # Indicates that the raw request result is returned
24
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
25
25
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
26
26
 
27
27
 
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -25,11 +25,11 @@ module StackOne
25
25
  #
26
26
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
27
27
  field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
28
- # The number of results per page
28
+ # The number of results per page (default value is 25)
29
29
  field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
30
30
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
31
31
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
32
- # Indicates that the raw request result is returned
32
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
33
33
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
34
34
  # Use a string with a date to only select results updated after that given date
35
35
  #
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class IamUpdateUserRequest < ::Crystalline::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :iam_update_user_request_dto, ::StackOne::Shared::IamUpdateUserRequestDto, { 'request': { 'media_type': 'application/json' } }
16
+
17
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
18
+ # The account identifier
19
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
+
21
+
22
+ sig { params(iam_update_user_request_dto: ::StackOne::Shared::IamUpdateUserRequestDto, id: ::String, x_account_id: ::String).void }
23
+ def initialize(iam_update_user_request_dto: nil, id: nil, x_account_id: nil)
24
+ @iam_update_user_request_dto = iam_update_user_request_dto
25
+ @id = id
26
+ @x_account_id = x_account_id
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class IamUpdateUserResponse < ::Crystalline::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+
17
+ field :headers, T::Hash[Symbol, T::Array[::String]]
18
+ # Raw HTTP response; suitable for custom response parsing
19
+ field :raw_response, ::Faraday::Response
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # Record updated successfully.
23
+ field :update_user_api_model, T.nilable(::StackOne::Shared::UpdateUserApiModel)
24
+
25
+
26
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, update_user_api_model: T.nilable(::StackOne::Shared::UpdateUserApiModel)).void }
27
+ def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, update_user_api_model: nil)
28
+ @content_type = content_type
29
+ @headers = headers
30
+ @raw_response = raw_response
31
+ @status_code = status_code
32
+ @update_user_api_model = update_user_api_model
33
+ end
34
+ end
35
+ end
36
+ end
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
22
- # Indicates that the raw request result is returned
22
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
25
25
 
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
- # Indicates that the raw request result is returned
22
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
25
25
 
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
- # Indicates that the raw request result is returned
22
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
25
25
 
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
- # Indicates that the raw request result is returned
22
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
25
25
 
@@ -19,7 +19,7 @@ module StackOne
19
19
  field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
20
  # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
21
21
  field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
22
- # Indicates that the raw request result is returned
22
+ # Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
23
23
  field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
24
24
 
25
25