stackone_client 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (371) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/ats.rb +1400 -0
  3. data/lib/stack_one/crm.rb +332 -0
  4. data/lib/stack_one/hris.rb +71 -0
  5. data/lib/stack_one/marketing.rb +599 -0
  6. data/lib/stack_one/models/operations/ats_create_application_request.rb +27 -0
  7. data/lib/stack_one/models/operations/ats_create_application_response.rb +33 -0
  8. data/lib/stack_one/models/operations/ats_create_candidate_note_request.rb +30 -0
  9. data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +33 -0
  10. data/lib/stack_one/models/operations/ats_create_candidate_request.rb +27 -0
  11. data/lib/stack_one/models/operations/ats_create_candidate_response.rb +33 -0
  12. data/lib/stack_one/models/operations/ats_create_offer_request.rb +27 -0
  13. data/lib/stack_one/models/operations/ats_create_offer_response.rb +33 -0
  14. data/lib/stack_one/models/operations/ats_get_application_document_request.rb +58 -0
  15. data/lib/stack_one/models/operations/ats_get_application_document_response.rb +33 -0
  16. data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +20 -0
  17. data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +58 -0
  18. data/lib/stack_one/models/operations/ats_get_application_offer_response.rb +33 -0
  19. data/lib/stack_one/models/operations/ats_get_application_request.rb +58 -0
  20. data/lib/stack_one/models/operations/ats_get_application_response.rb +33 -0
  21. data/lib/stack_one/models/operations/ats_get_application_scorecard_queryparam_proxy.rb +20 -0
  22. data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +58 -0
  23. data/lib/stack_one/models/operations/ats_get_application_scorecard_response.rb +33 -0
  24. data/lib/stack_one/models/operations/ats_get_candidate_note_queryparam_proxy.rb +20 -0
  25. data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +58 -0
  26. data/lib/stack_one/models/operations/ats_get_candidate_note_response.rb +33 -0
  27. data/lib/stack_one/models/operations/ats_get_candidate_queryparam_proxy.rb +20 -0
  28. data/lib/stack_one/models/operations/ats_get_candidate_request.rb +55 -0
  29. data/lib/stack_one/models/operations/ats_get_candidate_response.rb +33 -0
  30. data/lib/stack_one/models/operations/ats_get_department_queryparam_proxy.rb +20 -0
  31. data/lib/stack_one/models/operations/ats_get_department_request.rb +55 -0
  32. data/lib/stack_one/models/operations/ats_get_department_response.rb +33 -0
  33. data/lib/stack_one/models/operations/ats_get_interview_queryparam_proxy.rb +20 -0
  34. data/lib/stack_one/models/operations/ats_get_interview_request.rb +55 -0
  35. data/lib/stack_one/models/operations/ats_get_interview_response.rb +33 -0
  36. data/lib/stack_one/models/operations/ats_get_interview_stage_queryparam_proxy.rb +20 -0
  37. data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +55 -0
  38. data/lib/stack_one/models/operations/ats_get_interview_stage_response.rb +33 -0
  39. data/lib/stack_one/models/operations/ats_get_job_posting_queryparam_proxy.rb +20 -0
  40. data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +58 -0
  41. data/lib/stack_one/models/operations/ats_get_job_posting_response.rb +33 -0
  42. data/lib/stack_one/models/operations/ats_get_job_queryparam_proxy.rb +20 -0
  43. data/lib/stack_one/models/operations/ats_get_job_request.rb +58 -0
  44. data/lib/stack_one/models/operations/ats_get_job_response.rb +33 -0
  45. data/lib/stack_one/models/operations/ats_get_location_queryparam_proxy.rb +20 -0
  46. data/lib/stack_one/models/operations/ats_get_location_request.rb +55 -0
  47. data/lib/stack_one/models/operations/ats_get_location_response.rb +33 -0
  48. data/lib/stack_one/models/operations/ats_get_offer_queryparam_proxy.rb +20 -0
  49. data/lib/stack_one/models/operations/ats_get_offer_request.rb +55 -0
  50. data/lib/stack_one/models/operations/ats_get_offer_response.rb +33 -0
  51. data/lib/stack_one/models/operations/ats_get_rejected_reason_queryparam_proxy.rb +20 -0
  52. data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +55 -0
  53. data/lib/stack_one/models/operations/ats_get_rejected_reason_response.rb +33 -0
  54. data/lib/stack_one/models/operations/ats_get_user_queryparam_proxy.rb +20 -0
  55. data/lib/stack_one/models/operations/ats_get_user_request.rb +55 -0
  56. data/lib/stack_one/models/operations/ats_get_user_response.rb +33 -0
  57. data/lib/stack_one/models/operations/ats_list_application_documents_queryparam_proxy.rb +20 -0
  58. data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +55 -0
  59. data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +33 -0
  60. data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.rb +20 -0
  61. data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +55 -0
  62. data/lib/stack_one/models/operations/ats_list_application_scorecards_response.rb +33 -0
  63. data/lib/stack_one/models/operations/ats_list_applications_offers_queryparam_proxy.rb +20 -0
  64. data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +55 -0
  65. data/lib/stack_one/models/operations/ats_list_applications_offers_response.rb +33 -0
  66. data/lib/stack_one/models/operations/ats_list_applications_queryparam_proxy.rb +20 -0
  67. data/lib/stack_one/models/operations/ats_list_applications_request.rb +55 -0
  68. data/lib/stack_one/models/operations/ats_list_applications_response.rb +33 -0
  69. data/lib/stack_one/models/operations/ats_list_candidate_notes_queryparam_proxy.rb +20 -0
  70. data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +55 -0
  71. data/lib/stack_one/models/operations/ats_list_candidate_notes_response.rb +33 -0
  72. data/lib/stack_one/models/operations/ats_list_candidates_queryparam_proxy.rb +20 -0
  73. data/lib/stack_one/models/operations/ats_list_candidates_request.rb +52 -0
  74. data/lib/stack_one/models/operations/ats_list_candidates_response.rb +33 -0
  75. data/lib/stack_one/models/operations/ats_list_departments_queryparam_proxy.rb +20 -0
  76. data/lib/stack_one/models/operations/ats_list_departments_request.rb +52 -0
  77. data/lib/stack_one/models/operations/ats_list_departments_response.rb +33 -0
  78. data/lib/stack_one/models/operations/ats_list_interview_stages_queryparam_proxy.rb +20 -0
  79. data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +52 -0
  80. data/lib/stack_one/models/operations/ats_list_interview_stages_response.rb +33 -0
  81. data/lib/stack_one/models/operations/ats_list_interviews_queryparam_proxy.rb +20 -0
  82. data/lib/stack_one/models/operations/ats_list_interviews_request.rb +52 -0
  83. data/lib/stack_one/models/operations/ats_list_interviews_response.rb +33 -0
  84. data/lib/stack_one/models/operations/ats_list_job_postings_queryparam_proxy.rb +20 -0
  85. data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +55 -0
  86. data/lib/stack_one/models/operations/ats_list_job_postings_response.rb +33 -0
  87. data/lib/stack_one/models/operations/ats_list_jobs_queryparam_proxy.rb +20 -0
  88. data/lib/stack_one/models/operations/ats_list_jobs_request.rb +55 -0
  89. data/lib/stack_one/models/operations/ats_list_jobs_response.rb +33 -0
  90. data/lib/stack_one/models/operations/ats_list_locations_queryparam_proxy.rb +20 -0
  91. data/lib/stack_one/models/operations/ats_list_locations_request.rb +52 -0
  92. data/lib/stack_one/models/operations/ats_list_locations_response.rb +33 -0
  93. data/lib/stack_one/models/operations/ats_list_offers_queryparam_proxy.rb +20 -0
  94. data/lib/stack_one/models/operations/ats_list_offers_request.rb +52 -0
  95. data/lib/stack_one/models/operations/ats_list_offers_response.rb +33 -0
  96. data/lib/stack_one/models/operations/ats_list_rejected_reasons_queryparam_proxy.rb +20 -0
  97. data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +52 -0
  98. data/lib/stack_one/models/operations/ats_list_rejected_reasons_response.rb +33 -0
  99. data/lib/stack_one/models/operations/ats_list_users_queryparam_proxy.rb +20 -0
  100. data/lib/stack_one/models/operations/ats_list_users_request.rb +52 -0
  101. data/lib/stack_one/models/operations/ats_list_users_response.rb +33 -0
  102. data/lib/stack_one/models/operations/ats_update_application_request.rb +30 -0
  103. data/lib/stack_one/models/operations/ats_update_application_response.rb +33 -0
  104. data/lib/stack_one/models/operations/ats_update_candidate_request.rb +30 -0
  105. data/lib/stack_one/models/operations/ats_update_candidate_response.rb +33 -0
  106. data/lib/stack_one/models/operations/crm_create_contact_request.rb +27 -0
  107. data/lib/stack_one/models/operations/crm_create_contact_response.rb +33 -0
  108. data/lib/stack_one/models/operations/crm_get_account_queryparam_proxy.rb +20 -0
  109. data/lib/stack_one/models/operations/crm_get_account_request.rb +50 -0
  110. data/lib/stack_one/models/operations/crm_get_account_response.rb +33 -0
  111. data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.rb +20 -0
  112. data/lib/stack_one/models/operations/crm_get_contact_request.rb +50 -0
  113. data/lib/stack_one/models/operations/crm_get_contact_response.rb +33 -0
  114. data/lib/stack_one/models/operations/crm_get_list_queryparam_proxy.rb +20 -0
  115. data/lib/stack_one/models/operations/crm_get_list_request.rb +50 -0
  116. data/lib/stack_one/models/operations/crm_get_list_response.rb +33 -0
  117. data/lib/stack_one/models/operations/crm_list_accounts_queryparam_proxy.rb +20 -0
  118. data/lib/stack_one/models/operations/crm_list_accounts_request.rb +47 -0
  119. data/lib/stack_one/models/operations/crm_list_accounts_response.rb +33 -0
  120. data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.rb +20 -0
  121. data/lib/stack_one/models/operations/crm_list_contacts_request.rb +47 -0
  122. data/lib/stack_one/models/operations/crm_list_contacts_response.rb +33 -0
  123. data/lib/stack_one/models/operations/crm_list_lists_queryparam_proxy.rb +20 -0
  124. data/lib/stack_one/models/operations/crm_list_lists_request.rb +47 -0
  125. data/lib/stack_one/models/operations/crm_list_lists_response.rb +33 -0
  126. data/lib/stack_one/models/operations/crm_update_contact_request.rb +30 -0
  127. data/lib/stack_one/models/operations/crm_update_contact_response.rb +33 -0
  128. data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +20 -0
  129. data/lib/stack_one/models/operations/hris_get_benefit_request.rb +50 -0
  130. data/lib/stack_one/models/operations/hris_get_benefit_response.rb +33 -0
  131. data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.rb +20 -0
  132. data/lib/stack_one/models/operations/hris_get_company_request.rb +2 -2
  133. data/lib/stack_one/models/operations/hris_get_employee_queryparam_proxy.rb +20 -0
  134. data/lib/stack_one/models/operations/hris_get_employee_request.rb +2 -2
  135. data/lib/stack_one/models/operations/hris_list_benefits_queryparam_proxy.rb +20 -0
  136. data/lib/stack_one/models/operations/hris_list_benefits_request.rb +47 -0
  137. data/lib/stack_one/models/operations/hris_list_benefits_response.rb +33 -0
  138. data/lib/stack_one/models/operations/marketing_create_email_template_request.rb +27 -0
  139. data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +33 -0
  140. data/lib/stack_one/models/operations/marketing_create_omni_channel_template_request.rb +27 -0
  141. data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +33 -0
  142. data/lib/stack_one/models/operations/marketing_create_push_template_request.rb +27 -0
  143. data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +33 -0
  144. data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +20 -0
  145. data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +50 -0
  146. data/lib/stack_one/models/operations/marketing_get_campaign_response.rb +33 -0
  147. data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.rb +20 -0
  148. data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +50 -0
  149. data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +33 -0
  150. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_queryparam_proxy.rb +20 -0
  151. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +50 -0
  152. data/lib/stack_one/models/operations/marketing_get_omni_channel_template_response.rb +33 -0
  153. data/lib/stack_one/models/operations/marketing_get_push_template_queryparam_proxy.rb +20 -0
  154. data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +50 -0
  155. data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +33 -0
  156. data/lib/stack_one/models/operations/marketing_list_campaigns_queryparam_proxy.rb +20 -0
  157. data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +47 -0
  158. data/lib/stack_one/models/operations/marketing_list_campaigns_response.rb +33 -0
  159. data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +20 -0
  160. data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +47 -0
  161. data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +33 -0
  162. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +20 -0
  163. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +47 -0
  164. data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_response.rb +33 -0
  165. data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +20 -0
  166. data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +47 -0
  167. data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +33 -0
  168. data/lib/stack_one/models/operations/marketing_update_email_template_request.rb +30 -0
  169. data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +33 -0
  170. data/lib/stack_one/models/operations/marketing_update_omni_channel_template_request.rb +30 -0
  171. data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +33 -0
  172. data/lib/stack_one/models/operations/marketing_update_push_template_request.rb +30 -0
  173. data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +33 -0
  174. data/lib/stack_one/models/operations.rb +168 -2
  175. data/lib/stack_one/models/shared/account.rb +54 -0
  176. data/lib/stack_one/models/shared/accountaddress.rb +42 -0
  177. data/lib/stack_one/models/shared/accountaddress_schemas_value.rb +265 -0
  178. data/lib/stack_one/models/shared/accountaddress_value.rb +20 -0
  179. data/lib/stack_one/models/shared/accountresult.rb +27 -0
  180. data/lib/stack_one/models/shared/accountspaginated.rb +33 -0
  181. data/lib/stack_one/models/shared/answer.rb +30 -0
  182. data/lib/stack_one/models/shared/answer_value.rb +26 -0
  183. data/lib/stack_one/models/shared/application.rb +77 -0
  184. data/lib/stack_one/models/shared/application_candidate.rb +30 -0
  185. data/lib/stack_one/models/shared/application_interview_stage.rb +36 -0
  186. data/lib/stack_one/models/shared/application_status.rb +27 -0
  187. data/lib/stack_one/models/shared/application_value.rb +32 -0
  188. data/lib/stack_one/models/shared/applicationattachment.rb +33 -0
  189. data/lib/stack_one/models/shared/applicationattachment_value.rb +19 -0
  190. data/lib/stack_one/models/shared/applicationresult.rb +27 -0
  191. data/lib/stack_one/models/shared/applicationspaginated.rb +33 -0
  192. data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +44 -0
  193. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb +27 -0
  194. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +30 -0
  195. data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +32 -0
  196. data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +47 -0
  197. data/lib/stack_one/models/shared/atscreatenotesrequestdto.rb +30 -0
  198. data/lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb +19 -0
  199. data/lib/stack_one/models/shared/atscreateofferrequestdto.rb +39 -0
  200. data/lib/stack_one/models/shared/atscreateofferrequestdto_value.rb +25 -0
  201. data/lib/stack_one/models/shared/atslocation.rb +27 -0
  202. data/lib/stack_one/models/shared/atslocationresult.rb +27 -0
  203. data/lib/stack_one/models/shared/atslocationspaginated.rb +33 -0
  204. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +47 -0
  205. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb +27 -0
  206. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +30 -0
  207. data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +32 -0
  208. data/lib/stack_one/models/shared/atsupdatecandidatesrequestdto.rb +50 -0
  209. data/lib/stack_one/models/shared/benefit_type.rb +27 -0
  210. data/lib/stack_one/models/shared/campaign.rb +63 -0
  211. data/lib/stack_one/models/shared/campaign_schemas_value.rb +20 -0
  212. data/lib/stack_one/models/shared/campaign_value.rb +22 -0
  213. data/lib/stack_one/models/shared/campaignresult.rb +27 -0
  214. data/lib/stack_one/models/shared/campaignspaginated.rb +33 -0
  215. data/lib/stack_one/models/shared/candidate.rb +68 -0
  216. data/lib/stack_one/models/shared/candidateemail.rb +27 -0
  217. data/lib/stack_one/models/shared/candidateresult.rb +27 -0
  218. data/lib/stack_one/models/shared/candidatespaginated.rb +33 -0
  219. data/lib/stack_one/models/shared/channelsenum.rb +27 -0
  220. data/lib/stack_one/models/shared/confidential.rb +19 -0
  221. data/lib/stack_one/models/shared/contact.rb +51 -0
  222. data/lib/stack_one/models/shared/contactresult.rb +27 -0
  223. data/lib/stack_one/models/shared/contactspaginated.rb +33 -0
  224. data/lib/stack_one/models/shared/content_type.rb +27 -0
  225. data/lib/stack_one/models/shared/country.rb +4 -4
  226. data/lib/stack_one/models/shared/countrycodeenum.rb +2 -2
  227. data/lib/stack_one/models/shared/countrycodeenum_value.rb +266 -0
  228. data/lib/stack_one/models/shared/createcandidatenoteresult.rb +30 -0
  229. data/lib/stack_one/models/shared/createofferresult.rb +30 -0
  230. data/lib/stack_one/models/shared/createresult.rb +30 -0
  231. data/lib/stack_one/models/shared/createtemplateresult.rb +30 -0
  232. data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +42 -0
  233. data/lib/stack_one/models/shared/department.rb +27 -0
  234. data/lib/stack_one/models/shared/departmentresult.rb +27 -0
  235. data/lib/stack_one/models/shared/departmentspaginated.rb +33 -0
  236. data/lib/stack_one/models/shared/documentapimodel.rb +2 -2
  237. data/lib/stack_one/models/shared/documentapimodel_type.rb +27 -0
  238. data/lib/stack_one/models/shared/documentapimodel_value.rb +7 -14
  239. data/lib/stack_one/models/shared/emailmessages.rb +33 -0
  240. data/lib/stack_one/models/shared/employee_country.rb +2 -2
  241. data/lib/stack_one/models/shared/employee_location_type.rb +4 -4
  242. data/lib/stack_one/models/shared/employee_schemas_country.rb +2 -2
  243. data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +1 -1
  244. data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +1 -1
  245. data/lib/stack_one/models/shared/employee_schemas_location_type.rb +4 -4
  246. data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +1 -1
  247. data/lib/stack_one/models/shared/employment_employment_type.rb +2 -2
  248. data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +1 -3
  249. data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +2 -1
  250. data/lib/stack_one/models/shared/employment_schemas_value.rb +1 -1
  251. data/lib/stack_one/models/shared/employment_type.rb +2 -2
  252. data/lib/stack_one/models/shared/field.rb +36 -0
  253. data/lib/stack_one/models/shared/field_type.rb +29 -0
  254. data/lib/stack_one/models/shared/fileformatenum_value.rb +1203 -11
  255. data/lib/stack_one/models/shared/home_location.rb +3 -3
  256. data/lib/stack_one/models/shared/hrisbenefit.rb +42 -0
  257. data/lib/stack_one/models/shared/hrisbenefit_value.rb +18 -0
  258. data/lib/stack_one/models/shared/hrisbenefitresult.rb +27 -0
  259. data/lib/stack_one/models/shared/hrisbenefitspaginated.rb +33 -0
  260. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb +2 -2
  261. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +1 -1
  262. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +2 -2
  263. data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb +27 -0
  264. data/lib/stack_one/models/shared/hrislocation.rb +3 -3
  265. data/lib/stack_one/models/shared/hrislocation_country.rb +27 -0
  266. data/lib/stack_one/models/shared/hrislocation_location_type.rb +27 -0
  267. data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +1 -1
  268. data/lib/stack_one/models/shared/internal.rb +19 -0
  269. data/lib/stack_one/models/shared/interview.rb +60 -0
  270. data/lib/stack_one/models/shared/interview_interview_stage.rb +36 -0
  271. data/lib/stack_one/models/shared/interview_status.rb +27 -0
  272. data/lib/stack_one/models/shared/interview_value.rb +23 -0
  273. data/lib/stack_one/models/shared/interviewer.rb +36 -0
  274. data/lib/stack_one/models/shared/interviewpart.rb +39 -0
  275. data/lib/stack_one/models/shared/interviewspaginated.rb +33 -0
  276. data/lib/stack_one/models/shared/interviewsresult.rb +27 -0
  277. data/lib/stack_one/models/shared/interviewstage.rb +36 -0
  278. data/lib/stack_one/models/shared/interviewstageresult.rb +27 -0
  279. data/lib/stack_one/models/shared/interviewstagespaginated.rb +33 -0
  280. data/lib/stack_one/models/shared/job.rb +57 -0
  281. data/lib/stack_one/models/shared/job_status.rb +27 -0
  282. data/lib/stack_one/models/shared/job_value.rb +25 -0
  283. data/lib/stack_one/models/shared/jobhiringteam.rb +36 -0
  284. data/lib/stack_one/models/shared/jobposting.rb +66 -0
  285. data/lib/stack_one/models/shared/jobposting_content.rb +27 -0
  286. data/lib/stack_one/models/shared/jobposting_employment_contract_type.rb +27 -0
  287. data/lib/stack_one/models/shared/jobposting_employment_type.rb +27 -0
  288. data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +21 -0
  289. data/lib/stack_one/models/shared/jobposting_schemas_value.rb +35 -0
  290. data/lib/stack_one/models/shared/jobposting_status.rb +27 -0
  291. data/lib/stack_one/models/shared/jobposting_value.rb +21 -0
  292. data/lib/stack_one/models/shared/jobpostingcompensation.rb +45 -0
  293. data/lib/stack_one/models/shared/jobpostingcompensation_pay_frequency.rb +27 -0
  294. data/lib/stack_one/models/shared/jobpostingcompensation_pay_period.rb +27 -0
  295. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_type_value.rb +24 -0
  296. data/lib/stack_one/models/shared/jobpostingcompensation_schemas_value.rb +27 -0
  297. data/lib/stack_one/models/shared/jobpostingcompensation_type.rb +27 -0
  298. data/lib/stack_one/models/shared/jobpostingcompensation_value.rb +31 -0
  299. data/lib/stack_one/models/shared/jobpostinglocation.rb +27 -0
  300. data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +33 -0
  301. data/lib/stack_one/models/shared/jobpostingresult.rb +27 -0
  302. data/lib/stack_one/models/shared/jobpostingspaginated.rb +33 -0
  303. data/lib/stack_one/models/shared/jobresult.rb +27 -0
  304. data/lib/stack_one/models/shared/jobspaginated.rb +33 -0
  305. data/lib/stack_one/models/shared/list.rb +39 -0
  306. data/lib/stack_one/models/shared/list_type.rb +27 -0
  307. data/lib/stack_one/models/shared/list_value.rb +20 -0
  308. data/lib/stack_one/models/shared/listresult.rb +27 -0
  309. data/lib/stack_one/models/shared/listspaginated.rb +33 -0
  310. data/lib/stack_one/models/shared/location_type.rb +4 -4
  311. data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +33 -0
  312. data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +33 -0
  313. data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +33 -0
  314. data/lib/stack_one/models/shared/message.rb +33 -0
  315. data/lib/stack_one/models/shared/message_content.rb +36 -0
  316. data/lib/stack_one/models/shared/message_message_type.rb +27 -0
  317. data/lib/stack_one/models/shared/message_type.rb +27 -0
  318. data/lib/stack_one/models/shared/note.rb +42 -0
  319. data/lib/stack_one/models/shared/note_value.rb +19 -0
  320. data/lib/stack_one/models/shared/note_visibility.rb +27 -0
  321. data/lib/stack_one/models/shared/notecontentapimodel.rb +24 -0
  322. data/lib/stack_one/models/shared/noteresult.rb +27 -0
  323. data/lib/stack_one/models/shared/notespaginated.rb +33 -0
  324. data/lib/stack_one/models/shared/offer.rb +48 -0
  325. data/lib/stack_one/models/shared/offer_offer_status.rb +27 -0
  326. data/lib/stack_one/models/shared/offer_status.rb +27 -0
  327. data/lib/stack_one/models/shared/offer_value.rb +25 -0
  328. data/lib/stack_one/models/shared/offerhistory.rb +36 -0
  329. data/lib/stack_one/models/shared/offerspaginated.rb +33 -0
  330. data/lib/stack_one/models/shared/offersresult.rb +27 -0
  331. data/lib/stack_one/models/shared/overall_recommendation.rb +23 -0
  332. data/lib/stack_one/models/shared/pay_frequency.rb +2 -2
  333. data/lib/stack_one/models/shared/pay_period.rb +2 -2
  334. data/lib/stack_one/models/shared/phonenumber.rb +27 -0
  335. data/lib/stack_one/models/shared/phonenumber_type.rb +23 -0
  336. data/lib/stack_one/models/shared/pushmessages.rb +33 -0
  337. data/lib/stack_one/models/shared/pushmessages_message_content.rb +24 -0
  338. data/lib/stack_one/models/shared/pushmessages_message_type.rb +27 -0
  339. data/lib/stack_one/models/shared/question.rb +39 -0
  340. data/lib/stack_one/models/shared/question_type.rb +27 -0
  341. data/lib/stack_one/models/shared/question_value.rb +26 -0
  342. data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +27 -0
  343. data/lib/stack_one/models/shared/questionnaire.rb +27 -0
  344. data/lib/stack_one/models/shared/rejected_reason_type.rb +27 -0
  345. data/lib/stack_one/models/shared/rejectedreason.rb +33 -0
  346. data/lib/stack_one/models/shared/rejectedreason_value.rb +22 -0
  347. data/lib/stack_one/models/shared/rejectedreasonresult.rb +27 -0
  348. data/lib/stack_one/models/shared/rejectedreasonspaginated.rb +33 -0
  349. data/lib/stack_one/models/shared/resultlink.rb +27 -0
  350. data/lib/stack_one/models/shared/schedule_type.rb +27 -0
  351. data/lib/stack_one/models/shared/scorecard.rb +51 -0
  352. data/lib/stack_one/models/shared/scorecardsection.rb +30 -0
  353. data/lib/stack_one/models/shared/scorecardspaginated.rb +33 -0
  354. data/lib/stack_one/models/shared/sociallink.rb +27 -0
  355. data/lib/stack_one/models/shared/status.rb +5 -5
  356. data/lib/stack_one/models/shared/template.rb +36 -0
  357. data/lib/stack_one/models/shared/templateresult.rb +27 -0
  358. data/lib/stack_one/models/shared/templatespaginated.rb +33 -0
  359. data/lib/stack_one/models/shared/type.rb +5 -5
  360. data/lib/stack_one/models/shared/updateresult.rb +30 -0
  361. data/lib/stack_one/models/shared/user.rb +39 -0
  362. data/lib/stack_one/models/shared/userresult.rb +27 -0
  363. data/lib/stack_one/models/shared/userspaginated.rb +33 -0
  364. data/lib/stack_one/models/shared/value.rb +7 -249
  365. data/lib/stack_one/models/shared/visibility.rb +27 -0
  366. data/lib/stack_one/models/shared/work_location.rb +3 -3
  367. data/lib/stack_one/models/shared.rb +180 -18
  368. data/lib/stack_one/sdkconfiguration.rb +3 -3
  369. data/lib/stack_one/stackone.rb +4 -1
  370. data/lib/stackone_client.rb +3 -0
  371. metadata +337 -6
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
11
+ class CrmGetListQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,50 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmGetListRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # The unified cursor
21
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
+ # The page number of the results to fetch
23
+ #
24
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
+ # The number of results per page
27
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
29
+ field :proxy, T.nilable(::StackOne::Operations::CrmGetListQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
+ # Indicates that the raw request result is returned
31
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
+ # Use a string with a date to only select results updated after that given date
33
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
+
35
+
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::CrmGetListQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
+ @id = id
39
+ @x_account_id = x_account_id
40
+ @fields_ = fields_
41
+ @next_ = next_
42
+ @page = page
43
+ @page_size = page_size
44
+ @proxy = proxy
45
+ @raw = raw
46
+ @updated_after = updated_after
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmGetListResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The list with the given identifier was retrieved.
21
+ field :list_result, T.nilable(::StackOne::Shared::ListResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, list_result: T.nilable(::StackOne::Shared::ListResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, list_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @list_result = list_result
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
11
+ class CrmListAccountsQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,47 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmListAccountsRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The account identifier
15
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
+ # The unified cursor
19
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
20
+ # The page number of the results to fetch
21
+ #
22
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
23
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
+ # The number of results per page
25
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
27
+ field :proxy, T.nilable(::StackOne::Operations::CrmListAccountsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
+ # Indicates that the raw request result is returned
29
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
30
+ # Use a string with a date to only select results updated after that given date
31
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
32
+
33
+
34
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::CrmListAccountsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
+ def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ @x_account_id = x_account_id
37
+ @fields_ = fields_
38
+ @next_ = next_
39
+ @page = page
40
+ @page_size = page_size
41
+ @proxy = proxy
42
+ @raw = raw
43
+ @updated_after = updated_after
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmListAccountsResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The list of accounts was retrieved.
21
+ field :accounts_paginated, T.nilable(::StackOne::Shared::AccountsPaginated)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, accounts_paginated: T.nilable(::StackOne::Shared::AccountsPaginated)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, accounts_paginated: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @accounts_paginated = accounts_paginated
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
11
+ class CrmListContactsQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,47 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmListContactsRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The account identifier
15
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
+ # The unified cursor
19
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
20
+ # The page number of the results to fetch
21
+ #
22
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
23
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
+ # The number of results per page
25
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
27
+ field :proxy, T.nilable(::StackOne::Operations::CrmListContactsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
+ # Indicates that the raw request result is returned
29
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
30
+ # Use a string with a date to only select results updated after that given date
31
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
32
+
33
+
34
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::CrmListContactsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
+ def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ @x_account_id = x_account_id
37
+ @fields_ = fields_
38
+ @next_ = next_
39
+ @page = page
40
+ @page_size = page_size
41
+ @proxy = proxy
42
+ @raw = raw
43
+ @updated_after = updated_after
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmListContactsResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The list of contacts was retrieved.
21
+ field :contacts_paginated, T.nilable(::StackOne::Shared::ContactsPaginated)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, contacts_paginated: T.nilable(::StackOne::Shared::ContactsPaginated)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, contacts_paginated: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @contacts_paginated = contacts_paginated
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
11
+ class CrmListListsQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,47 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmListListsRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The account identifier
15
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
16
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
17
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
18
+ # The unified cursor
19
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
20
+ # The page number of the results to fetch
21
+ #
22
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
23
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
24
+ # The number of results per page
25
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
26
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
27
+ field :proxy, T.nilable(::StackOne::Operations::CrmListListsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
28
+ # Indicates that the raw request result is returned
29
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
30
+ # Use a string with a date to only select results updated after that given date
31
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
32
+
33
+
34
+ sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::CrmListListsQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
35
+ def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
36
+ @x_account_id = x_account_id
37
+ @fields_ = fields_
38
+ @next_ = next_
39
+ @page = page
40
+ @page_size = page_size
41
+ @proxy = proxy
42
+ @raw = raw
43
+ @updated_after = updated_after
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmListListsResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The collection of lists was retrieved.
21
+ field :lists_paginated, T.nilable(::StackOne::Shared::ListsPaginated)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, lists_paginated: T.nilable(::StackOne::Shared::ListsPaginated)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, lists_paginated: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @lists_paginated = lists_paginated
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmUpdateContactRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :crm_create_contact_request_dto, ::StackOne::Shared::CrmCreateContactRequestDto, { '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(crm_create_contact_request_dto: ::StackOne::Shared::CrmCreateContactRequestDto, id: ::String, x_account_id: ::String).void }
23
+ def initialize(crm_create_contact_request_dto: nil, id: nil, x_account_id: nil)
24
+ @crm_create_contact_request_dto = crm_create_contact_request_dto
25
+ @id = id
26
+ @x_account_id = x_account_id
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class CrmUpdateContactResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The contact was successfully updated.
21
+ field :contact_result, T.nilable(::StackOne::Shared::ContactResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, contact_result: T.nilable(::StackOne::Shared::ContactResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, contact_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @contact_result = contact_result
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
11
+ class HrisGetBenefitQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,50 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisGetBenefitRequest < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
16
+ # The account identifier
17
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
18
+ # The comma separated list of fields to return in the response (if empty, all fields are returned)
19
+ field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
20
+ # The unified cursor
21
+ field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
22
+ # The page number of the results to fetch
23
+ #
24
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
25
+ field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
26
+ # The number of results per page
27
+ field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
28
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
29
+ field :proxy, T.nilable(::StackOne::Operations::HrisGetBenefitQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
+ # Indicates that the raw request result is returned
31
+ field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
32
+ # Use a string with a date to only select results updated after that given date
33
+ field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
+
35
+
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetBenefitQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
+ def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
+ @id = id
39
+ @x_account_id = x_account_id
40
+ @fields_ = fields_
41
+ @next_ = next_
42
+ @page = page
43
+ @page_size = page_size
44
+ @proxy = proxy
45
+ @raw = raw
46
+ @updated_after = updated_after
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+
11
+ class HrisGetBenefitResponse < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # HTTP response content type for this operation
15
+ field :content_type, ::String
16
+ # Raw HTTP response; suitable for custom response parsing
17
+ field :raw_response, ::Faraday::Response
18
+ # HTTP response status code for this operation
19
+ field :status_code, ::Integer
20
+ # The Benefit with the given identifier was retrieved.
21
+ field :hris_benefit_result, T.nilable(::StackOne::Shared::HRISBenefitResult)
22
+
23
+
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, hris_benefit_result: T.nilable(::StackOne::Shared::HRISBenefitResult)).void }
25
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_benefit_result: nil)
26
+ @content_type = content_type
27
+ @raw_response = raw_response
28
+ @status_code = status_code
29
+ @hris_benefit_result = hris_benefit_result
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
11
+ class HrisGetCompanyQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end
@@ -26,14 +26,14 @@ module StackOne
26
26
  # The number of results per page
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
- field :proxy, T.nilable(::StackOne::Operations::Proxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
29
+ field :proxy, T.nilable(::StackOne::Operations::HrisGetCompanyQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
30
30
  # Indicates that the raw request result is returned
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
  field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
34
34
 
35
35
 
36
- sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::Proxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
36
+ sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(::StackOne::Operations::HrisGetCompanyQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
37
37
  def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
38
38
  @id = id
39
39
  @x_account_id = x_account_id
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Operations
9
+
10
+ # Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
11
+ class HrisGetEmployeeQueryParamProxy < ::StackOne::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+ end
19
+ end
20
+ end