stackone_client 0.36.0 → 0.37.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 (256) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stack_one/actions.rb +627 -0
  3. data/lib/stack_one/ats.rb +1541 -333
  4. data/lib/stack_one/documents.rb +1 -1
  5. data/lib/stack_one/hris.rb +61 -59
  6. data/lib/stack_one/mcp.rb +852 -0
  7. data/lib/stack_one/messaging.rb +1 -1
  8. data/lib/stack_one/models/operations/ats_download_application_document_response.rb +13 -5
  9. data/lib/stack_one/models/operations/ats_download_application_document_response.rbi +6 -2
  10. data/lib/stack_one/models/operations/ats_get_application_stage_request.rb +49 -0
  11. data/lib/stack_one/models/operations/ats_get_application_stage_request.rbi +21 -0
  12. data/lib/stack_one/models/operations/ats_get_application_stage_response.rb +49 -0
  13. data/lib/stack_one/models/operations/ats_get_application_stage_response.rbi +21 -0
  14. data/lib/stack_one/models/operations/ats_list_application_stages_queryparam_filter.rb +33 -0
  15. data/lib/stack_one/models/operations/ats_list_application_stages_queryparam_filter.rbi +13 -0
  16. data/lib/stack_one/models/operations/ats_list_application_stages_request.rb +75 -0
  17. data/lib/stack_one/models/operations/ats_list_application_stages_request.rbi +31 -0
  18. data/lib/stack_one/models/operations/ats_list_application_stages_response.rb +61 -0
  19. data/lib/stack_one/models/operations/ats_list_application_stages_response.rbi +21 -0
  20. data/lib/stack_one/models/operations/ats_list_applications_queryparam_filter.rb +1 -1
  21. data/lib/stack_one/models/operations/documents_download_file_response.rb +6 -6
  22. data/lib/stack_one/models/operations/documents_download_file_response.rbi +2 -2
  23. data/lib/stack_one/models/operations/filter.rb +11 -71
  24. data/lib/stack_one/models/operations/filter.rbi +4 -34
  25. data/lib/stack_one/models/operations/hris_download_employee_document_response.rb +12 -152
  26. data/lib/stack_one/models/operations/hris_download_employee_document_response.rbi +6 -76
  27. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb +6 -6
  28. data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rbi +2 -2
  29. data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb +6 -6
  30. data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rbi +2 -2
  31. data/lib/stack_one/models/operations/include.rb +2 -3
  32. data/lib/stack_one/models/operations/lms_list_assignments_queryparam_status.rb +1 -0
  33. data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_status.rb +1 -0
  34. data/lib/stack_one/models/operations/messaging_download_messaging_attachment_response.rb +6 -6
  35. data/lib/stack_one/models/operations/messaging_download_messaging_attachment_response.rbi +2 -2
  36. data/lib/stack_one/models/operations/queryparam_filter.rb +20 -8
  37. data/lib/stack_one/models/operations/queryparam_filter.rbi +8 -2
  38. data/lib/stack_one/models/operations/queryparam_include.rb +1 -0
  39. data/lib/stack_one/models/operations/stackone_get_log_request.rb +2 -2
  40. data/lib/stack_one/models/operations/stackone_list_actions_meta_request.rb +55 -0
  41. data/lib/stack_one/models/operations/stackone_list_actions_meta_request.rbi +23 -0
  42. data/lib/stack_one/models/operations/stackone_list_actions_meta_response.rb +61 -0
  43. data/lib/stack_one/models/operations/stackone_list_actions_meta_response.rbi +21 -0
  44. data/lib/stack_one/models/operations/stackone_list_logs_queryparam_include.rb +21 -0
  45. data/lib/stack_one/models/operations/stackone_list_logs_queryparam_include.rbi +11 -0
  46. data/lib/stack_one/models/operations/stackone_list_logs_request.rb +3 -3
  47. data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_filter.rb +89 -0
  48. data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_filter.rbi +41 -0
  49. data/lib/stack_one/models/operations/stackone_list_platform_logs_request.rb +2 -2
  50. data/lib/stack_one/models/operations/stackone_mcp_delete_request.rb +37 -0
  51. data/lib/stack_one/models/operations/stackone_mcp_delete_request.rbi +15 -0
  52. data/lib/stack_one/models/operations/stackone_mcp_delete_response.rb +45 -0
  53. data/lib/stack_one/models/operations/stackone_mcp_delete_response.rbi +19 -0
  54. data/lib/stack_one/models/operations/stackone_mcp_delete_security.rb +37 -0
  55. data/lib/stack_one/models/operations/stackone_mcp_delete_security.rbi +15 -0
  56. data/lib/stack_one/models/operations/stackone_mcp_get_request.rb +37 -0
  57. data/lib/stack_one/models/operations/stackone_mcp_get_request.rbi +15 -0
  58. data/lib/stack_one/models/operations/stackone_mcp_get_response.rb +45 -0
  59. data/lib/stack_one/models/operations/stackone_mcp_get_response.rbi +19 -0
  60. data/lib/stack_one/models/operations/stackone_mcp_get_security.rb +37 -0
  61. data/lib/stack_one/models/operations/stackone_mcp_get_security.rbi +15 -0
  62. data/lib/stack_one/models/operations/stackone_mcp_post_request.rb +41 -0
  63. data/lib/stack_one/models/operations/stackone_mcp_post_request.rbi +17 -0
  64. data/lib/stack_one/models/operations/stackone_mcp_post_response.rb +45 -0
  65. data/lib/stack_one/models/operations/stackone_mcp_post_response.rbi +19 -0
  66. data/lib/stack_one/models/operations/stackone_mcp_post_security.rb +37 -0
  67. data/lib/stack_one/models/operations/stackone_mcp_post_security.rbi +15 -0
  68. data/lib/stack_one/models/operations/stackone_rpc_action_response.rb +49 -0
  69. data/lib/stack_one/models/operations/stackone_rpc_action_response.rbi +21 -0
  70. data/lib/stack_one/models/operations/ticketing_download_ticketing_attachment_response.rb +6 -6
  71. data/lib/stack_one/models/operations/ticketing_download_ticketing_attachment_response.rbi +2 -2
  72. data/lib/stack_one/models/operations.rb +19 -0
  73. data/lib/stack_one/models/shared/actionmetaitem.rb +53 -0
  74. data/lib/stack_one/models/shared/actionmetaitem.rbi +23 -0
  75. data/lib/stack_one/models/shared/actionsmeta.rb +57 -0
  76. data/lib/stack_one/models/shared/actionsmeta.rbi +25 -0
  77. data/lib/stack_one/models/shared/actionsmetapaginated.rb +37 -0
  78. data/lib/stack_one/models/shared/actionsmetapaginated.rbi +15 -0
  79. data/lib/stack_one/models/shared/actionsrpcrequestdto.rb +37 -0
  80. data/lib/stack_one/models/shared/actionsrpcrequestdto.rbi +15 -0
  81. data/lib/stack_one/models/shared/actionsrpcresponse.rb +37 -0
  82. data/lib/stack_one/models/shared/actionsrpcresponse.rbi +15 -0
  83. data/lib/stack_one/models/shared/actionsrpcresponse_2.rb +28 -0
  84. data/lib/stack_one/models/shared/actionsrpcresponse_2.rbi +11 -0
  85. data/lib/stack_one/models/shared/actionsrpcresponse_data.rb +28 -0
  86. data/lib/stack_one/models/shared/actionsrpcresponse_data.rbi +11 -0
  87. data/lib/stack_one/models/shared/atsdocumentapimodel.rb +2 -6
  88. data/lib/stack_one/models/shared/atsdocumentapimodel.rbi +0 -2
  89. data/lib/stack_one/models/shared/authenticationmetaitem.rb +41 -0
  90. data/lib/stack_one/models/shared/authenticationmetaitem.rbi +17 -0
  91. data/lib/stack_one/models/shared/contract_type.rb +2 -2
  92. data/lib/stack_one/models/shared/createemploymentapimodel.rb +10 -2
  93. data/lib/stack_one/models/shared/createemploymentapimodel.rbi +4 -0
  94. data/lib/stack_one/models/shared/createemploymentapimodel_contract_type.rb +37 -0
  95. data/lib/stack_one/models/shared/createemploymentapimodel_contract_type.rbi +15 -0
  96. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_4.rb +28 -0
  97. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_4.rbi +11 -0
  98. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_source_value.rb +28 -0
  99. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_source_value.rbi +11 -0
  100. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_value.rb +24 -0
  101. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_contract_type_value.rbi +11 -0
  102. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type.rb +37 -0
  103. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type.rbi +15 -0
  104. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_4.rb +28 -0
  105. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_4.rbi +11 -0
  106. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_source_value.rb +28 -0
  107. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_source_value.rbi +11 -0
  108. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_value.rb +37 -0
  109. data/lib/stack_one/models/shared/createemploymentapimodel_schemas_type_value.rbi +11 -0
  110. data/lib/stack_one/models/shared/createemploymentapimodel_type.rb +45 -0
  111. data/lib/stack_one/models/shared/createemploymentapimodel_type.rbi +19 -0
  112. data/lib/stack_one/models/shared/customfieldoption.rb +2 -2
  113. data/lib/stack_one/models/shared/customfieldoption_4.rb +28 -0
  114. data/lib/stack_one/models/shared/customfieldoption_4.rbi +11 -0
  115. data/lib/stack_one/models/shared/customfieldoption_value.rb +28 -0
  116. data/lib/stack_one/models/shared/customfieldoption_value.rbi +11 -0
  117. data/lib/stack_one/models/shared/customfields.rb +2 -2
  118. data/lib/stack_one/models/shared/document.rb +2 -6
  119. data/lib/stack_one/models/shared/document.rbi +0 -2
  120. data/lib/stack_one/models/shared/downloadapimodel.rb +37 -0
  121. data/lib/stack_one/models/shared/downloadapimodel.rbi +15 -0
  122. data/lib/stack_one/models/shared/downloadheadersapimodel.rb +53 -0
  123. data/lib/stack_one/models/shared/downloadheadersapimodel.rbi +23 -0
  124. data/lib/stack_one/models/shared/employment.rb +2 -2
  125. data/lib/stack_one/models/shared/employment_schemas_contract_type.rb +20 -12
  126. data/lib/stack_one/models/shared/employment_schemas_contract_type.rbi +8 -4
  127. data/lib/stack_one/models/shared/employment_schemas_contract_type_contract_type.rb +37 -0
  128. data/lib/stack_one/models/shared/employment_schemas_contract_type_contract_type.rbi +15 -0
  129. data/lib/stack_one/models/shared/file.rb +2 -6
  130. data/lib/stack_one/models/shared/file.rbi +0 -2
  131. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_contract_type.rb +45 -0
  132. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_contract_type.rbi +19 -0
  133. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment.rb +10 -2
  134. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment.rbi +4 -0
  135. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_national_identity_number.rb +2 -2
  136. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_contract_type.rb +37 -0
  137. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_contract_type.rbi +15 -0
  138. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_4.rb +28 -0
  139. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_4.rbi +11 -0
  140. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_source_value.rb +28 -0
  141. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_source_value.rbi +11 -0
  142. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_value.rb +24 -0
  143. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_contract_type_value.rbi +11 -0
  144. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type.rb +37 -0
  145. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type.rbi +15 -0
  146. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_4.rb +28 -0
  147. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_4.rbi +11 -0
  148. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_source_value.rb +28 -0
  149. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_source_value.rbi +11 -0
  150. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_value.rb +37 -0
  151. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_type_value.rbi +11 -0
  152. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_type.rb +37 -0
  153. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_type.rbi +15 -0
  154. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rb +20 -12
  155. data/lib/stack_one/models/shared/hriscreateemployeerequestdto_type.rbi +8 -4
  156. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto.rb +10 -2
  157. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto.rbi +4 -0
  158. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_contract_type.rb +45 -0
  159. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_contract_type.rbi +19 -0
  160. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type.rb +37 -0
  161. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type.rbi +15 -0
  162. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_4.rb +28 -0
  163. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_4.rbi +11 -0
  164. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_source_value.rb +28 -0
  165. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_source_value.rbi +11 -0
  166. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_value.rb +24 -0
  167. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_contract_type_value.rbi +11 -0
  168. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type.rb +37 -0
  169. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type.rbi +15 -0
  170. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_4.rb +28 -0
  171. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_4.rbi +11 -0
  172. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_source_value.rb +28 -0
  173. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_source_value.rbi +11 -0
  174. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_value.rb +37 -0
  175. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_schemas_type_value.rbi +11 -0
  176. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_type.rb +45 -0
  177. data/lib/stack_one/models/shared/hriscreateemploymentrequestdto_type.rbi +19 -0
  178. data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +2 -6
  179. data/lib/stack_one/models/shared/hrisdocumentapimodel.rbi +0 -2
  180. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_contract_type.rb +45 -0
  181. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_contract_type.rbi +19 -0
  182. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment.rb +10 -2
  183. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_employment.rbi +4 -0
  184. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_national_identity_number.rb +2 -2
  185. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_contract_type.rb +37 -0
  186. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_contract_type.rbi +15 -0
  187. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_4.rb +28 -0
  188. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_4.rbi +11 -0
  189. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_source_value.rb +28 -0
  190. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_source_value.rbi +11 -0
  191. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_value.rb +24 -0
  192. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_contract_type_value.rbi +11 -0
  193. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type.rb +37 -0
  194. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type.rbi +15 -0
  195. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_4.rb +28 -0
  196. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_4.rbi +11 -0
  197. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_source_value.rb +28 -0
  198. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_source_value.rbi +11 -0
  199. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_value.rb +37 -0
  200. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_employment_type_type_value.rbi +11 -0
  201. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_type.rb +37 -0
  202. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_schemas_type.rbi +15 -0
  203. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_type.rb +20 -12
  204. data/lib/stack_one/models/shared/hrisupdateemployeerequestdto_type.rbi +8 -4
  205. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto.rb +10 -2
  206. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto.rbi +4 -0
  207. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_contract_type.rb +45 -0
  208. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_contract_type.rbi +19 -0
  209. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type.rb +37 -0
  210. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type.rbi +15 -0
  211. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_4.rb +28 -0
  212. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_4.rbi +11 -0
  213. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_source_value.rb +28 -0
  214. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_source_value.rbi +11 -0
  215. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_value.rb +24 -0
  216. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_contract_type_value.rbi +11 -0
  217. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type.rb +37 -0
  218. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type.rbi +15 -0
  219. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_4.rb +28 -0
  220. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_4.rbi +11 -0
  221. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_source_value.rb +28 -0
  222. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_source_value.rbi +11 -0
  223. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_value.rb +37 -0
  224. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_schemas_type_value.rbi +11 -0
  225. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_type.rb +45 -0
  226. data/lib/stack_one/models/shared/hrisupdateemploymentrequestdto_type.rbi +19 -0
  227. data/lib/stack_one/models/shared/iamuser_avatar.rb +2 -6
  228. data/lib/stack_one/models/shared/iamuser_avatar.rbi +0 -2
  229. data/lib/stack_one/models/shared/id.rb +28 -0
  230. data/lib/stack_one/models/shared/id.rbi +11 -0
  231. data/lib/stack_one/models/shared/input.rb +41 -0
  232. data/lib/stack_one/models/shared/input.rbi +17 -0
  233. data/lib/stack_one/models/shared/jobpostingcompensation.rb +12 -12
  234. data/lib/stack_one/models/shared/jobpostingcompensation.rbi +6 -6
  235. data/lib/stack_one/models/shared/jsonrpcmessagedto.rb +45 -0
  236. data/lib/stack_one/models/shared/jsonrpcmessagedto.rbi +19 -0
  237. data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_value.rb +5 -0
  238. data/lib/stack_one/models/shared/one.rb +28 -0
  239. data/lib/stack_one/models/shared/one.rbi +11 -0
  240. data/lib/stack_one/models/shared/params.rb +28 -0
  241. data/lib/stack_one/models/shared/params.rbi +11 -0
  242. data/lib/stack_one/models/shared/proxyrequestbody.rb +1 -1
  243. data/lib/stack_one/models/shared/schemebasic.rb +37 -0
  244. data/lib/stack_one/models/shared/schemebasic.rbi +15 -0
  245. data/lib/stack_one/models/shared/security.rb +4 -4
  246. data/lib/stack_one/models/shared/timeoff.rb +10 -10
  247. data/lib/stack_one/models/shared/timeoff.rbi +4 -4
  248. data/lib/stack_one/models/shared/workeligibility_document.rb +2 -6
  249. data/lib/stack_one/models/shared/workeligibility_document.rbi +0 -2
  250. data/lib/stack_one/models/shared.rb +68 -0
  251. data/lib/stack_one/request_logs.rb +1 -1
  252. data/lib/stack_one/sdkconfiguration.rb +3 -3
  253. data/lib/stack_one/stackone.rb +3 -1
  254. data/lib/stack_one/ticketing.rb +1 -1
  255. data/lib/stackone_client.rb +2 -0
  256. metadata +178 -2
@@ -0,0 +1,37 @@
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 Models
9
+ module Operations
10
+
11
+
12
+ class StackoneMcpGetSecurity
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+
17
+ field :api_key, Crystalline::Nilable.new(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' } }
18
+
19
+ field :basic, Crystalline::Nilable.new(Models::Shared::SchemeBasic), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic' } }
20
+
21
+ sig { params(api_key: T.nilable(::String), basic: T.nilable(Models::Shared::SchemeBasic)).void }
22
+ def initialize(api_key: nil, basic: nil)
23
+ @api_key = api_key
24
+ @basic = basic
25
+ end
26
+
27
+ sig { params(other: T.untyped).returns(T::Boolean) }
28
+ def ==(other)
29
+ return false unless other.is_a? self.class
30
+ return false unless @api_key == other.api_key
31
+ return false unless @basic == other.basic
32
+ true
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Operations::StackoneMcpGetSecurity
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Operations::StackoneMcpGetSecurity
11
+ def api_key(); end
12
+ def api_key=(str_); end
13
+ def basic(); end
14
+ def basic=(str_); end
15
+ end
@@ -0,0 +1,41 @@
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 Models
9
+ module Operations
10
+
11
+
12
+ class StackoneMcpPostRequest
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # JSON-RPC 2.0 message
17
+ field :json_rpc_message_dto, Models::Shared::JsonRpcMessageDto, { 'request': { 'media_type': 'application/json' } }
18
+ # Account secure id for the target provider account
19
+ field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
20
+ # Session id; omit for initialize, include for subsequent calls
21
+ field :mcp_session_id, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'mcp-session-id', 'style': 'simple', 'explode': false } }
22
+
23
+ sig { params(json_rpc_message_dto: Models::Shared::JsonRpcMessageDto, x_account_id: ::String, mcp_session_id: T.nilable(::String)).void }
24
+ def initialize(json_rpc_message_dto:, x_account_id:, mcp_session_id: nil)
25
+ @json_rpc_message_dto = json_rpc_message_dto
26
+ @x_account_id = x_account_id
27
+ @mcp_session_id = mcp_session_id
28
+ end
29
+
30
+ sig { params(other: T.untyped).returns(T::Boolean) }
31
+ def ==(other)
32
+ return false unless other.is_a? self.class
33
+ return false unless @json_rpc_message_dto == other.json_rpc_message_dto
34
+ return false unless @x_account_id == other.x_account_id
35
+ return false unless @mcp_session_id == other.mcp_session_id
36
+ true
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,17 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Operations::StackoneMcpPostRequest
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Operations::StackoneMcpPostRequest
11
+ def json_rpc_message_dto(); end
12
+ def json_rpc_message_dto=(str_); end
13
+ def x_account_id(); end
14
+ def x_account_id=(str_); end
15
+ def mcp_session_id(); end
16
+ def mcp_session_id=(str_); end
17
+ end
@@ -0,0 +1,45 @@
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 Models
9
+ module Operations
10
+
11
+
12
+ class StackoneMcpPostResponse
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # HTTP response content type for this operation
17
+ field :content_type, ::String
18
+
19
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # Raw HTTP response; suitable for custom response parsing
23
+ field :raw_response, ::Faraday::Response
24
+
25
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response).void }
26
+ def initialize(content_type:, headers:, status_code:, raw_response:)
27
+ @content_type = content_type
28
+ @headers = headers
29
+ @status_code = status_code
30
+ @raw_response = raw_response
31
+ end
32
+
33
+ sig { params(other: T.untyped).returns(T::Boolean) }
34
+ def ==(other)
35
+ return false unless other.is_a? self.class
36
+ return false unless @content_type == other.content_type
37
+ return false unless @headers == other.headers
38
+ return false unless @status_code == other.status_code
39
+ return false unless @raw_response == other.raw_response
40
+ true
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,19 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Operations::StackoneMcpPostResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Operations::StackoneMcpPostResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def headers(); end
14
+ def headers=(str_); end
15
+ def status_code(); end
16
+ def status_code=(str_); end
17
+ def raw_response(); end
18
+ def raw_response=(str_); end
19
+ end
@@ -0,0 +1,37 @@
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 Models
9
+ module Operations
10
+
11
+
12
+ class StackoneMcpPostSecurity
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+
17
+ field :api_key, Crystalline::Nilable.new(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'Authorization' } }
18
+
19
+ field :basic, Crystalline::Nilable.new(Models::Shared::SchemeBasic), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic' } }
20
+
21
+ sig { params(api_key: T.nilable(::String), basic: T.nilable(Models::Shared::SchemeBasic)).void }
22
+ def initialize(api_key: nil, basic: nil)
23
+ @api_key = api_key
24
+ @basic = basic
25
+ end
26
+
27
+ sig { params(other: T.untyped).returns(T::Boolean) }
28
+ def ==(other)
29
+ return false unless other.is_a? self.class
30
+ return false unless @api_key == other.api_key
31
+ return false unless @basic == other.basic
32
+ true
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Operations::StackoneMcpPostSecurity
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Operations::StackoneMcpPostSecurity
11
+ def api_key(); end
12
+ def api_key=(str_); end
13
+ def basic(); end
14
+ def basic=(str_); end
15
+ end
@@ -0,0 +1,49 @@
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 Models
9
+ module Operations
10
+
11
+
12
+ class StackoneRpcActionResponse
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # HTTP response content type for this operation
17
+ field :content_type, ::String
18
+
19
+ field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
20
+ # HTTP response status code for this operation
21
+ field :status_code, ::Integer
22
+ # Raw HTTP response; suitable for custom response parsing
23
+ field :raw_response, ::Faraday::Response
24
+ # Action response
25
+ field :actions_rpc_response, Crystalline::Nilable.new(Models::Shared::ActionsRpcResponse)
26
+
27
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, actions_rpc_response: T.nilable(Models::Shared::ActionsRpcResponse)).void }
28
+ def initialize(content_type:, headers:, status_code:, raw_response:, actions_rpc_response: nil)
29
+ @content_type = content_type
30
+ @headers = headers
31
+ @status_code = status_code
32
+ @raw_response = raw_response
33
+ @actions_rpc_response = actions_rpc_response
34
+ end
35
+
36
+ sig { params(other: T.untyped).returns(T::Boolean) }
37
+ def ==(other)
38
+ return false unless other.is_a? self.class
39
+ return false unless @content_type == other.content_type
40
+ return false unless @headers == other.headers
41
+ return false unless @status_code == other.status_code
42
+ return false unless @raw_response == other.raw_response
43
+ return false unless @actions_rpc_response == other.actions_rpc_response
44
+ true
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,21 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Operations::StackoneRpcActionResponse
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Operations::StackoneRpcActionResponse
11
+ def content_type(); end
12
+ def content_type=(str_); end
13
+ def headers(); end
14
+ def headers=(str_); end
15
+ def status_code(); end
16
+ def status_code=(str_); end
17
+ def raw_response(); end
18
+ def raw_response=(str_); end
19
+ def actions_rpc_response(); end
20
+ def actions_rpc_response=(str_); end
21
+ end
@@ -21,16 +21,16 @@ module StackOne
21
21
  field :status_code, ::Integer
22
22
  # Raw HTTP response; suitable for custom response parsing
23
23
  field :raw_response, ::Faraday::Response
24
- # The document related to the application with the given identifiers was retrieved.
25
- field :bytes, Crystalline::Nilable.new(::String)
26
24
 
27
- sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, bytes: T.nilable(::String)).void }
28
- def initialize(content_type:, headers:, status_code:, raw_response:, bytes: nil)
25
+ field :body, Crystalline::Nilable.new(::String)
26
+
27
+ sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], status_code: ::Integer, raw_response: ::Faraday::Response, body: T.nilable(::String)).void }
28
+ def initialize(content_type:, headers:, status_code:, raw_response:, body: nil)
29
29
  @content_type = content_type
30
30
  @headers = headers
31
31
  @status_code = status_code
32
32
  @raw_response = raw_response
33
- @bytes = bytes
33
+ @body = body
34
34
  end
35
35
 
36
36
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -40,7 +40,7 @@ module StackOne
40
40
  return false unless @headers == other.headers
41
41
  return false unless @status_code == other.status_code
42
42
  return false unless @raw_response == other.raw_response
43
- return false unless @bytes == other.bytes
43
+ return false unless @body == other.body
44
44
  true
45
45
  end
46
46
  end
@@ -16,6 +16,6 @@ class StackOne::Models::Operations::TicketingDownloadTicketingAttachmentResponse
16
16
  def status_code=(str_); end
17
17
  def raw_response(); end
18
18
  def raw_response=(str_); end
19
- def bytes(); end
20
- def bytes=(str_); end
19
+ def body(); end
20
+ def body=(str_); end
21
21
  end
@@ -66,6 +66,8 @@ module StackOne
66
66
  autoload :AtsGetApplicationScheduledInterviewResponse, 'stack_one/models/operations/ats_get_application_scheduled_interview_response.rb'
67
67
  autoload :AtsGetApplicationScorecardRequest, 'stack_one/models/operations/ats_get_application_scorecard_request.rb'
68
68
  autoload :AtsGetApplicationScorecardResponse, 'stack_one/models/operations/ats_get_application_scorecard_response.rb'
69
+ autoload :AtsGetApplicationStageRequest, 'stack_one/models/operations/ats_get_application_stage_request.rb'
70
+ autoload :AtsGetApplicationStageResponse, 'stack_one/models/operations/ats_get_application_stage_response.rb'
69
71
  autoload :AtsGetAssessmentsPackageRequest, 'stack_one/models/operations/ats_get_assessments_package_request.rb'
70
72
  autoload :AtsGetAssessmentsPackageResponse, 'stack_one/models/operations/ats_get_assessments_package_response.rb'
71
73
  autoload :AtsGetBackgroundCheckPackageRequest, 'stack_one/models/operations/ats_get_background_check_package_request.rb'
@@ -120,6 +122,9 @@ module StackOne
120
122
  autoload :AtsListApplicationScorecardsQueryParamFilter, 'stack_one/models/operations/ats_list_application_scorecards_queryparam_filter.rb'
121
123
  autoload :AtsListApplicationScorecardsRequest, 'stack_one/models/operations/ats_list_application_scorecards_request.rb'
122
124
  autoload :AtsListApplicationScorecardsResponse, 'stack_one/models/operations/ats_list_application_scorecards_response.rb'
125
+ autoload :AtsListApplicationStagesQueryParamFilter, 'stack_one/models/operations/ats_list_application_stages_queryparam_filter.rb'
126
+ autoload :AtsListApplicationStagesRequest, 'stack_one/models/operations/ats_list_application_stages_request.rb'
127
+ autoload :AtsListApplicationStagesResponse, 'stack_one/models/operations/ats_list_application_stages_response.rb'
123
128
  autoload :AtsListApplicationsOffersQueryParamFilter, 'stack_one/models/operations/ats_list_applications_offers_queryparam_filter.rb'
124
129
  autoload :AtsListApplicationsOffersRequest, 'stack_one/models/operations/ats_list_applications_offers_request.rb'
125
130
  autoload :AtsListApplicationsOffersResponse, 'stack_one/models/operations/ats_list_applications_offers_response.rb'
@@ -626,14 +631,18 @@ module StackOne
626
631
  autoload :StackoneGetConnectorMetaResponse, 'stack_one/models/operations/stackone_get_connector_meta_response.rb'
627
632
  autoload :StackoneGetLogRequest, 'stack_one/models/operations/stackone_get_log_request.rb'
628
633
  autoload :StackoneGetLogResponse, 'stack_one/models/operations/stackone_get_log_response.rb'
634
+ autoload :StackoneListActionsMetaRequest, 'stack_one/models/operations/stackone_list_actions_meta_request.rb'
635
+ autoload :StackoneListActionsMetaResponse, 'stack_one/models/operations/stackone_list_actions_meta_response.rb'
629
636
  autoload :StackoneListConnectorsMetaRequest, 'stack_one/models/operations/stackone_list_connectors_meta_request.rb'
630
637
  autoload :StackoneListConnectorsMetaResponse, 'stack_one/models/operations/stackone_list_connectors_meta_response.rb'
631
638
  autoload :StackoneListLinkedAccountsRequest, 'stack_one/models/operations/stackone_list_linked_accounts_request.rb'
632
639
  autoload :StackoneListLinkedAccountsResponse, 'stack_one/models/operations/stackone_list_linked_accounts_response.rb'
640
+ autoload :StackoneListLogsQueryParamInclude, 'stack_one/models/operations/stackone_list_logs_queryparam_include.rb'
633
641
  autoload :StackoneListLogsRequest, 'stack_one/models/operations/stackone_list_logs_request.rb'
634
642
  autoload :StackoneListLogsResponse, 'stack_one/models/operations/stackone_list_logs_response.rb'
635
643
  autoload :StackoneListPlatformLogsQueryParamRequestLogsOrderBy, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_request_logs_order_by.rb'
636
644
  autoload :StackoneListPlatformLogsQueryParamRequestLogsOrderDirection, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_request_logs_order_direction.rb'
645
+ autoload :StackoneListPlatformLogsQueryParamFilter, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_filter.rb'
637
646
  autoload :StackoneListPlatformLogsQueryParamOrderBy, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_order_by.rb'
638
647
  autoload :StackoneListPlatformLogsQueryParamOrderDirection, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_order_direction.rb'
639
648
  autoload :StackoneListPlatformLogsRequest, 'stack_one/models/operations/stackone_list_platform_logs_request.rb'
@@ -643,8 +652,18 @@ module StackOne
643
652
  autoload :StackoneListStepLogsQueryParamOrderDirection, 'stack_one/models/operations/stackone_list_step_logs_queryparam_order_direction.rb'
644
653
  autoload :StackoneListStepLogsRequest, 'stack_one/models/operations/stackone_list_step_logs_request.rb'
645
654
  autoload :StackoneListStepLogsResponse, 'stack_one/models/operations/stackone_list_step_logs_response.rb'
655
+ autoload :StackoneMcpDeleteSecurity, 'stack_one/models/operations/stackone_mcp_delete_security.rb'
656
+ autoload :StackoneMcpDeleteRequest, 'stack_one/models/operations/stackone_mcp_delete_request.rb'
657
+ autoload :StackoneMcpDeleteResponse, 'stack_one/models/operations/stackone_mcp_delete_response.rb'
658
+ autoload :StackoneMcpGetSecurity, 'stack_one/models/operations/stackone_mcp_get_security.rb'
659
+ autoload :StackoneMcpGetRequest, 'stack_one/models/operations/stackone_mcp_get_request.rb'
660
+ autoload :StackoneMcpGetResponse, 'stack_one/models/operations/stackone_mcp_get_response.rb'
661
+ autoload :StackoneMcpPostSecurity, 'stack_one/models/operations/stackone_mcp_post_security.rb'
662
+ autoload :StackoneMcpPostRequest, 'stack_one/models/operations/stackone_mcp_post_request.rb'
663
+ autoload :StackoneMcpPostResponse, 'stack_one/models/operations/stackone_mcp_post_response.rb'
646
664
  autoload :StackoneProxyRequestRequest, 'stack_one/models/operations/stackone_proxy_request_request.rb'
647
665
  autoload :StackoneProxyRequestResponse, 'stack_one/models/operations/stackone_proxy_request_response.rb'
666
+ autoload :StackoneRpcActionResponse, 'stack_one/models/operations/stackone_rpc_action_response.rb'
648
667
  autoload :StackoneUpdateAccountRequest, 'stack_one/models/operations/stackone_update_account_request.rb'
649
668
  autoload :StackoneUpdateAccountResponse, 'stack_one/models/operations/stackone_update_account_response.rb'
650
669
  autoload :Status, 'stack_one/models/operations/status.rb'
@@ -0,0 +1,53 @@
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 Models
9
+ module Shared
10
+
11
+
12
+ class ActionMetaItem
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # The authentication methods supported by this action
17
+ field :authentication, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::AuthenticationMetaItem)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('authentication') } }
18
+ # The action description
19
+ field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
20
+ # The action ID
21
+ field :id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
22
+ # The action name
23
+ field :name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
24
+ # The operation details for the action
25
+ field :operation_details, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('operation_details') } }
26
+ # The schema type for the action
27
+ field :schema_type, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('schema_type') } }
28
+
29
+ sig { params(authentication: T.nilable(T::Array[Models::Shared::AuthenticationMetaItem]), description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), operation_details: T.nilable(T::Hash[Symbol, ::Object]), schema_type: T.nilable(::String)).void }
30
+ def initialize(authentication: nil, description: nil, id: nil, name: nil, operation_details: nil, schema_type: nil)
31
+ @authentication = authentication
32
+ @description = description
33
+ @id = id
34
+ @name = name
35
+ @operation_details = operation_details
36
+ @schema_type = schema_type
37
+ end
38
+
39
+ sig { params(other: T.untyped).returns(T::Boolean) }
40
+ def ==(other)
41
+ return false unless other.is_a? self.class
42
+ return false unless @authentication == other.authentication
43
+ return false unless @description == other.description
44
+ return false unless @id == other.id
45
+ return false unless @name == other.name
46
+ return false unless @operation_details == other.operation_details
47
+ return false unless @schema_type == other.schema_type
48
+ true
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,23 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Shared::ActionMetaItem
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Shared::ActionMetaItem
11
+ def authentication(); end
12
+ def authentication=(str_); end
13
+ def description(); end
14
+ def description=(str_); end
15
+ def id(); end
16
+ def id=(str_); end
17
+ def name(); end
18
+ def name=(str_); end
19
+ def operation_details(); end
20
+ def operation_details=(str_); end
21
+ def schema_type(); end
22
+ def schema_type=(str_); end
23
+ end
@@ -0,0 +1,57 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module StackOne
8
+ module Models
9
+ module Shared
10
+
11
+
12
+ class ActionsMeta
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # The list of actions available for this provider
17
+ field :actions, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::ActionMetaItem)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('actions') } }
18
+ # The authentication methods supported by the provider
19
+ field :authentication, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::AuthenticationMetaItem)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('authentication') } }
20
+ # The description of the provider
21
+ field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
22
+ # The icon URL for the provider
23
+ field :icon, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('icon') } }
24
+ # The unique key for the provider
25
+ field :key, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('key') } }
26
+ # The name of the provider
27
+ field :name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
28
+ # The version of the actions metadata
29
+ field :version, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('version') } }
30
+
31
+ sig { params(actions: T.nilable(T::Array[Models::Shared::ActionMetaItem]), authentication: T.nilable(T::Array[Models::Shared::AuthenticationMetaItem]), description: T.nilable(::String), icon: T.nilable(::String), key: T.nilable(::String), name: T.nilable(::String), version: T.nilable(::String)).void }
32
+ def initialize(actions: nil, authentication: nil, description: nil, icon: nil, key: nil, name: nil, version: nil)
33
+ @actions = actions
34
+ @authentication = authentication
35
+ @description = description
36
+ @icon = icon
37
+ @key = key
38
+ @name = name
39
+ @version = version
40
+ end
41
+
42
+ sig { params(other: T.untyped).returns(T::Boolean) }
43
+ def ==(other)
44
+ return false unless other.is_a? self.class
45
+ return false unless @actions == other.actions
46
+ return false unless @authentication == other.authentication
47
+ return false unless @description == other.description
48
+ return false unless @icon == other.icon
49
+ return false unless @key == other.key
50
+ return false unless @name == other.name
51
+ return false unless @version == other.version
52
+ true
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,25 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Shared::ActionsMeta
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Shared::ActionsMeta
11
+ def actions(); end
12
+ def actions=(str_); end
13
+ def authentication(); end
14
+ def authentication=(str_); end
15
+ def description(); end
16
+ def description=(str_); end
17
+ def icon(); end
18
+ def icon=(str_); end
19
+ def key(); end
20
+ def key=(str_); end
21
+ def name(); end
22
+ def name=(str_); end
23
+ def version(); end
24
+ def version=(str_); end
25
+ end
@@ -0,0 +1,37 @@
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 Models
9
+ module Shared
10
+
11
+
12
+ class ActionsMetaPaginated
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # The list of actions metadata
17
+ field :data, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::ActionsMeta)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
18
+ # Cursor for fetching the next page of results
19
+ field :next_, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
20
+
21
+ sig { params(data: T.nilable(T::Array[Models::Shared::ActionsMeta]), next_: T.nilable(::String)).void }
22
+ def initialize(data: nil, next_: nil)
23
+ @data = data
24
+ @next_ = next_
25
+ end
26
+
27
+ sig { params(other: T.untyped).returns(T::Boolean) }
28
+ def ==(other)
29
+ return false unless other.is_a? self.class
30
+ return false unless @data == other.data
31
+ return false unless @next_ == other.next_
32
+ true
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class StackOne::Models::Shared::ActionsMetaPaginated
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class StackOne::Models::Shared::ActionsMetaPaginated
11
+ def data(); end
12
+ def data=(str_); end
13
+ def next_(); end
14
+ def next_=(str_); end
15
+ end
@@ -0,0 +1,37 @@
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 Models
9
+ module Shared
10
+
11
+
12
+ class ActionsRpcRequestDto
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+ # The action to execute
17
+ field :action, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('action'), required: true } }
18
+ # Input parameters for the action
19
+ field :input, Crystalline::Nilable.new(Models::Shared::Input), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('input') } }
20
+
21
+ sig { params(action: ::String, input: T.nilable(Models::Shared::Input)).void }
22
+ def initialize(action:, input: nil)
23
+ @action = action
24
+ @input = input
25
+ end
26
+
27
+ sig { params(other: T.untyped).returns(T::Boolean) }
28
+ def ==(other)
29
+ return false unless other.is_a? self.class
30
+ return false unless @action == other.action
31
+ return false unless @input == other.input
32
+ true
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end