merge_ats_client 1.0.4 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (337) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +40 -18
  3. data/docs/AccountDetails.md +13 -7
  4. data/docs/AccountDetailsAndActions.md +6 -0
  5. data/docs/AccountDetailsAndActionsIntegration.md +1 -1
  6. data/docs/AccountDetailsApi.md +10 -7
  7. data/docs/AccountIntegration.md +4 -4
  8. data/docs/AccountTokenApi.md +2 -2
  9. data/docs/ActivitiesApi.md +11 -5
  10. data/docs/Activity.md +4 -2
  11. data/docs/Application.md +8 -6
  12. data/docs/ApplicationEndpointRequest.md +20 -0
  13. data/docs/ApplicationRequest.md +12 -6
  14. data/docs/ApplicationResponse.md +24 -0
  15. data/docs/ApplicationsApi.md +180 -18
  16. data/docs/Attachment.md +3 -1
  17. data/docs/AttachmentEndpointRequest.md +20 -0
  18. data/docs/AttachmentRequest.md +5 -1
  19. data/docs/AttachmentResponse.md +24 -0
  20. data/docs/AttachmentsApi.md +98 -16
  21. data/docs/AvailableActionsApi.md +2 -2
  22. data/docs/Candidate.md +3 -1
  23. data/docs/CandidateEndpointRequest.md +20 -0
  24. data/docs/CandidateRequest.md +7 -1
  25. data/docs/CandidateResponse.md +24 -0
  26. data/docs/CandidatesApi.md +168 -22
  27. data/docs/DataPassthroughRequest.md +6 -2
  28. data/docs/DebugModeLog.md +22 -0
  29. data/docs/DebugModelLogSummary.md +22 -0
  30. data/docs/Department.md +3 -1
  31. data/docs/DepartmentsApi.md +6 -4
  32. data/docs/EEOC.md +4 -2
  33. data/docs/EeocsApi.md +11 -5
  34. data/docs/EncodingEnum.md +15 -0
  35. data/docs/EndUserDetailsRequest.md +10 -6
  36. data/docs/ErrorValidationProblem.md +24 -0
  37. data/docs/ForceResyncApi.md +79 -0
  38. data/docs/GenerateKeyApi.md +2 -2
  39. data/docs/IgnoreCommonModel.md +20 -0
  40. data/docs/IgnoreCommonModelRequest.md +20 -0
  41. data/docs/InterviewsApi.md +11 -85
  42. data/docs/IssuesApi.md +18 -10
  43. data/docs/Job.md +7 -1
  44. data/docs/JobInterviewStage.md +4 -2
  45. data/docs/JobInterviewStagesApi.md +8 -6
  46. data/docs/JobsApi.md +13 -6
  47. data/docs/LinkToken.md +3 -1
  48. data/docs/LinkTokenApi.md +3 -3
  49. data/docs/LinkedAccountStatus.md +20 -0
  50. data/docs/LinkedAccountsApi.md +24 -22
  51. data/docs/MetaResponse.md +24 -0
  52. data/docs/MultipartFormFieldRequest.md +26 -0
  53. data/docs/Offer.md +5 -3
  54. data/docs/OffersApi.md +11 -5
  55. data/docs/Office.md +3 -1
  56. data/docs/OfficesApi.md +6 -4
  57. data/docs/PassthroughApi.md +2 -2
  58. data/docs/ReasonEnum.md +15 -0
  59. data/docs/RegenerateKeyApi.md +2 -2
  60. data/docs/RejectReason.md +3 -1
  61. data/docs/RejectReasonsApi.md +6 -4
  62. data/docs/RemoteResponse.md +5 -1
  63. data/docs/RemoteUser.md +3 -1
  64. data/docs/ResponseTypeEnum.md +15 -0
  65. data/docs/ScheduledInterview.md +6 -4
  66. data/docs/Scorecard.md +6 -4
  67. data/docs/ScorecardsApi.md +11 -85
  68. data/docs/SyncStatus.md +2 -2
  69. data/docs/SyncStatusApi.md +3 -75
  70. data/docs/Tag.md +3 -1
  71. data/docs/TagsApi.md +4 -2
  72. data/docs/UpdateApplicationStageRequest.md +20 -0
  73. data/docs/UsersApi.md +11 -85
  74. data/docs/ValidationProblemSource.md +18 -0
  75. data/docs/WarningValidationProblem.md +24 -0
  76. data/docs/WebhookReceiver.md +22 -0
  77. data/docs/WebhookReceiverRequest.md +22 -0
  78. data/docs/WebhookReceiversApi.md +153 -0
  79. data/lib/merge_ats_client/api/account_details_api.rb +10 -3
  80. data/lib/merge_ats_client/api/activities_api.rb +17 -0
  81. data/lib/merge_ats_client/api/applications_api.rb +164 -15
  82. data/lib/merge_ats_client/api/attachments_api.rb +108 -15
  83. data/lib/merge_ats_client/api/candidates_api.rb +156 -21
  84. data/lib/merge_ats_client/api/departments_api.rb +3 -0
  85. data/lib/merge_ats_client/api/eeocs_api.rb +17 -0
  86. data/lib/merge_ats_client/api/force_resync_api.rb +84 -0
  87. data/lib/merge_ats_client/api/interviews_api.rb +17 -76
  88. data/lib/merge_ats_client/api/issues_api.rb +22 -10
  89. data/lib/merge_ats_client/api/job_interview_stages_api.rb +5 -2
  90. data/lib/merge_ats_client/api/jobs_api.rb +20 -3
  91. data/lib/merge_ats_client/api/linked_accounts_api.rb +24 -21
  92. data/lib/merge_ats_client/api/offers_api.rb +17 -0
  93. data/lib/merge_ats_client/api/offices_api.rb +3 -0
  94. data/lib/merge_ats_client/api/reject_reasons_api.rb +3 -0
  95. data/lib/merge_ats_client/api/scorecards_api.rb +17 -76
  96. data/lib/merge_ats_client/api/sync_status_api.rb +4 -66
  97. data/lib/merge_ats_client/api/tags_api.rb +3 -0
  98. data/lib/merge_ats_client/api/users_api.rb +17 -76
  99. data/lib/merge_ats_client/api/webhook_receivers_api.rb +154 -0
  100. data/lib/merge_ats_client/configuration.rb +6 -4
  101. data/lib/merge_ats_client/models/access_role_enum.rb +17 -7
  102. data/lib/merge_ats_client/models/account_details.rb +33 -4
  103. data/lib/merge_ats_client/models/account_details_and_actions.rb +35 -1
  104. data/lib/merge_ats_client/models/account_details_and_actions_integration.rb +4 -2
  105. data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +17 -7
  106. data/lib/merge_ats_client/models/account_integration.rb +2 -24
  107. data/lib/merge_ats_client/models/account_token.rb +1 -1
  108. data/lib/merge_ats_client/models/activity.rb +16 -7
  109. data/lib/merge_ats_client/models/activity_type_enum.rb +17 -7
  110. data/lib/merge_ats_client/models/application.rb +15 -11
  111. data/lib/merge_ats_client/models/application_endpoint_request.rb +237 -0
  112. data/lib/merge_ats_client/models/application_request.rb +56 -12
  113. data/lib/merge_ats_client/models/application_response.rb +266 -0
  114. data/lib/merge_ats_client/models/attachment.rb +15 -6
  115. data/lib/merge_ats_client/models/attachment_endpoint_request.rb +237 -0
  116. data/lib/merge_ats_client/models/attachment_request.rb +31 -7
  117. data/lib/merge_ats_client/models/attachment_response.rb +266 -0
  118. data/lib/merge_ats_client/models/attachment_type_enum.rb +17 -9
  119. data/lib/merge_ats_client/models/available_actions.rb +1 -1
  120. data/lib/merge_ats_client/models/candidate.rb +15 -6
  121. data/lib/merge_ats_client/models/{remote_key_for_regeneration.rb → candidate_endpoint_request.rb} +29 -16
  122. data/lib/merge_ats_client/models/candidate_request.rb +56 -7
  123. data/lib/merge_ats_client/models/candidate_response.rb +266 -0
  124. data/lib/merge_ats_client/models/categories_enum.rb +19 -7
  125. data/lib/merge_ats_client/models/category_enum.rb +19 -7
  126. data/lib/merge_ats_client/models/data_passthrough_request.rb +79 -7
  127. data/lib/merge_ats_client/models/debug_mode_log.rb +251 -0
  128. data/lib/merge_ats_client/models/{data_passthrough.rb → debug_model_log_summary.rb} +30 -41
  129. data/lib/merge_ats_client/models/department.rb +17 -7
  130. data/lib/merge_ats_client/models/disability_status_enum.rb +17 -7
  131. data/lib/merge_ats_client/models/eeoc.rb +16 -7
  132. data/lib/merge_ats_client/models/email_address.rb +2 -2
  133. data/lib/merge_ats_client/models/email_address_request.rb +2 -2
  134. data/lib/merge_ats_client/models/email_address_type_enum.rb +17 -7
  135. data/lib/merge_ats_client/models/encoding_enum.rb +46 -0
  136. data/lib/merge_ats_client/models/end_user_details_request.rb +163 -27
  137. data/lib/merge_ats_client/models/error_validation_problem.rb +260 -0
  138. data/lib/merge_ats_client/models/gender_enum.rb +17 -7
  139. data/lib/merge_ats_client/models/generate_remote_key_request.rb +20 -1
  140. data/lib/merge_ats_client/models/ignore_common_model.rb +247 -0
  141. data/lib/merge_ats_client/models/ignore_common_model_request.rb +256 -0
  142. data/lib/merge_ats_client/models/issue.rb +2 -2
  143. data/lib/merge_ats_client/models/issue_status_enum.rb +17 -7
  144. data/lib/merge_ats_client/models/job.rb +39 -6
  145. data/lib/merge_ats_client/models/job_interview_stage.rb +17 -7
  146. data/lib/merge_ats_client/models/job_status_enum.rb +17 -7
  147. data/lib/merge_ats_client/models/link_token.rb +14 -5
  148. data/lib/merge_ats_client/models/linked_account_status.rb +237 -0
  149. data/lib/merge_ats_client/models/{scorecard_request.rb → meta_response.rb} +45 -70
  150. data/lib/merge_ats_client/models/method_enum.rb +17 -7
  151. data/lib/merge_ats_client/models/model_operation.rb +1 -1
  152. data/lib/merge_ats_client/models/{scheduled_interview_request.rb → multipart_form_field_request.rb} +115 -106
  153. data/lib/merge_ats_client/models/offer.rb +16 -8
  154. data/lib/merge_ats_client/models/offer_status_enum.rb +17 -7
  155. data/lib/merge_ats_client/models/office.rb +17 -7
  156. data/lib/merge_ats_client/models/overall_recommendation_enum.rb +17 -7
  157. data/lib/merge_ats_client/models/paginated_activity_list.rb +1 -1
  158. data/lib/merge_ats_client/models/paginated_application_list.rb +1 -1
  159. data/lib/merge_ats_client/models/paginated_attachment_list.rb +1 -1
  160. data/lib/merge_ats_client/models/paginated_candidate_list.rb +1 -1
  161. data/lib/merge_ats_client/models/paginated_department_list.rb +1 -1
  162. data/lib/merge_ats_client/models/paginated_eeoc_list.rb +1 -1
  163. data/lib/merge_ats_client/models/paginated_issue_list.rb +1 -1
  164. data/lib/merge_ats_client/models/paginated_job_interview_stage_list.rb +1 -1
  165. data/lib/merge_ats_client/models/paginated_job_list.rb +1 -1
  166. data/lib/merge_ats_client/models/paginated_offer_list.rb +1 -1
  167. data/lib/merge_ats_client/models/paginated_office_list.rb +1 -1
  168. data/lib/merge_ats_client/models/paginated_reject_reason_list.rb +1 -1
  169. data/lib/merge_ats_client/models/paginated_remote_user_list.rb +1 -1
  170. data/lib/merge_ats_client/models/paginated_scheduled_interview_list.rb +1 -1
  171. data/lib/merge_ats_client/models/paginated_scorecard_list.rb +1 -1
  172. data/lib/merge_ats_client/models/paginated_sync_status_list.rb +1 -1
  173. data/lib/merge_ats_client/models/paginated_tag_list.rb +1 -1
  174. data/lib/merge_ats_client/models/phone_number.rb +2 -2
  175. data/lib/merge_ats_client/models/phone_number_request.rb +2 -2
  176. data/lib/merge_ats_client/models/phone_number_type_enum.rb +17 -7
  177. data/lib/merge_ats_client/models/race_enum.rb +17 -7
  178. data/lib/merge_ats_client/models/reason_enum.rb +46 -0
  179. data/lib/merge_ats_client/models/reject_reason.rb +17 -7
  180. data/lib/merge_ats_client/models/remote_data.rb +1 -1
  181. data/lib/merge_ats_client/models/remote_key.rb +1 -1
  182. data/lib/merge_ats_client/models/remote_key_for_regeneration_request.rb +20 -1
  183. data/lib/merge_ats_client/models/remote_response.rb +24 -10
  184. data/lib/merge_ats_client/models/remote_user.rb +17 -7
  185. data/lib/merge_ats_client/models/request_format_enum.rb +18 -7
  186. data/lib/merge_ats_client/models/response_type_enum.rb +45 -0
  187. data/lib/merge_ats_client/models/scheduled_interview.rb +16 -9
  188. data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +17 -7
  189. data/lib/merge_ats_client/models/scorecard.rb +16 -9
  190. data/lib/merge_ats_client/models/sync_status.rb +1 -11
  191. data/lib/merge_ats_client/models/sync_status_status_enum.rb +19 -9
  192. data/lib/merge_ats_client/models/tag.rb +17 -7
  193. data/lib/merge_ats_client/models/update_application_stage_request.rb +244 -0
  194. data/lib/merge_ats_client/models/url.rb +2 -2
  195. data/lib/merge_ats_client/models/url_request.rb +2 -2
  196. data/lib/merge_ats_client/models/url_type_enum.rb +18 -7
  197. data/lib/merge_ats_client/models/{remote_data_request.rb → validation_problem_source.rb} +14 -25
  198. data/lib/merge_ats_client/models/veteran_status_enum.rb +17 -7
  199. data/lib/merge_ats_client/models/visibility_enum.rb +17 -7
  200. data/lib/merge_ats_client/models/warning_validation_problem.rb +260 -0
  201. data/lib/merge_ats_client/models/webhook_receiver.rb +246 -0
  202. data/lib/merge_ats_client/models/{end_user_details.rb → webhook_receiver_request.rb} +60 -69
  203. data/lib/merge_ats_client/version.rb +1 -1
  204. data/lib/merge_ats_client.rb +24 -4
  205. data/spec/api/account_details_api_spec.rb +1 -0
  206. data/spec/api/account_token_api_spec.rb +1 -1
  207. data/spec/api/activities_api_spec.rb +6 -1
  208. data/spec/api/applications_api_spec.rb +46 -1
  209. data/spec/api/attachments_api_spec.rb +33 -1
  210. data/spec/api/available_actions_api_spec.rb +1 -1
  211. data/spec/api/candidates_api_spec.rb +44 -1
  212. data/spec/api/departments_api_spec.rb +4 -1
  213. data/spec/api/eeocs_api_spec.rb +6 -1
  214. data/spec/api/force_resync_api_spec.rb +46 -0
  215. data/spec/api/interviews_api_spec.rb +6 -1
  216. data/spec/api/issues_api_spec.rb +9 -5
  217. data/spec/api/job_interview_stages_api_spec.rb +4 -1
  218. data/spec/api/jobs_api_spec.rb +8 -1
  219. data/spec/api/link_token_api_spec.rb +2 -2
  220. data/spec/api/linked_accounts_api_spec.rb +11 -10
  221. data/spec/api/offers_api_spec.rb +6 -1
  222. data/spec/api/offices_api_spec.rb +4 -1
  223. data/spec/api/passthrough_api_spec.rb +2 -2
  224. data/spec/api/regenerate_key_api_spec.rb +3 -5
  225. data/spec/api/reject_reasons_api_spec.rb +4 -1
  226. data/spec/api/scorecards_api_spec.rb +6 -1
  227. data/spec/api/sync_status_api_spec.rb +8 -5
  228. data/spec/api/tags_api_spec.rb +3 -1
  229. data/spec/api/users_api_spec.rb +7 -1
  230. data/spec/api/webhook_receivers_api_spec.rb +58 -0
  231. data/spec/models/access_role_enum_spec.rb +1 -1
  232. data/spec/models/account_details_and_actions_spec.rb +18 -0
  233. data/spec/models/account_details_spec.rb +18 -0
  234. data/spec/models/account_integration_spec.rb +7 -1
  235. data/spec/models/account_token_spec.rb +7 -1
  236. data/spec/models/activity_spec.rb +13 -1
  237. data/spec/models/activity_type_enum_spec.rb +1 -1
  238. data/spec/models/application_endpoint_request_spec.rb +40 -0
  239. data/spec/models/application_request_spec.rb +25 -1
  240. data/spec/models/{end_user_details_spec.rb → application_response_spec.rb} +11 -15
  241. data/spec/models/application_spec.rb +19 -7
  242. data/spec/models/attachment_endpoint_request_spec.rb +40 -0
  243. data/spec/models/attachment_request_spec.rb +12 -0
  244. data/spec/models/attachment_response_spec.rb +52 -0
  245. data/spec/models/attachment_spec.rb +25 -1
  246. data/spec/models/available_actions_spec.rb +1 -1
  247. data/spec/models/candidate_endpoint_request_spec.rb +40 -0
  248. data/spec/models/candidate_request_spec.rb +37 -1
  249. data/spec/models/{data_passthrough_spec.rb → candidate_response_spec.rb} +11 -11
  250. data/spec/models/candidate_spec.rb +19 -1
  251. data/spec/models/data_passthrough_request_spec.rb +19 -1
  252. data/spec/models/debug_mode_log_spec.rb +46 -0
  253. data/spec/models/debug_model_log_summary_spec.rb +46 -0
  254. data/spec/models/department_spec.rb +13 -1
  255. data/spec/models/disability_status_enum_spec.rb +1 -1
  256. data/spec/models/eeoc_spec.rb +13 -1
  257. data/spec/models/email_address_request_spec.rb +1 -1
  258. data/spec/models/email_address_spec.rb +1 -1
  259. data/spec/models/email_address_type_enum_spec.rb +1 -1
  260. data/spec/models/encoding_enum_spec.rb +28 -0
  261. data/spec/models/end_user_details_request_spec.rb +19 -5
  262. data/spec/models/error_validation_problem_spec.rb +52 -0
  263. data/spec/models/gender_enum_spec.rb +1 -1
  264. data/spec/models/ignore_common_model_request_spec.rb +40 -0
  265. data/spec/models/ignore_common_model_spec.rb +40 -0
  266. data/spec/models/job_interview_stage_spec.rb +13 -1
  267. data/spec/models/job_spec.rb +37 -1
  268. data/spec/models/job_status_enum_spec.rb +1 -1
  269. data/spec/models/link_token_spec.rb +7 -1
  270. data/spec/models/linked_account_status_spec.rb +40 -0
  271. data/spec/models/meta_response_spec.rb +52 -0
  272. data/spec/models/method_enum_spec.rb +1 -1
  273. data/spec/models/model_operation_spec.rb +13 -1
  274. data/spec/models/{remote_user_request_spec.rb → multipart_form_field_request_spec.rb} +11 -23
  275. data/spec/models/offer_spec.rb +13 -1
  276. data/spec/models/offer_status_enum_spec.rb +1 -1
  277. data/spec/models/office_spec.rb +13 -1
  278. data/spec/models/overall_recommendation_enum_spec.rb +1 -1
  279. data/spec/models/paginated_activity_list_spec.rb +1 -1
  280. data/spec/models/paginated_application_list_spec.rb +1 -1
  281. data/spec/models/paginated_attachment_list_spec.rb +1 -1
  282. data/spec/models/paginated_candidate_list_spec.rb +1 -1
  283. data/spec/models/paginated_department_list_spec.rb +1 -1
  284. data/spec/models/paginated_eeoc_list_spec.rb +1 -1
  285. data/spec/models/paginated_job_interview_stage_list_spec.rb +1 -1
  286. data/spec/models/paginated_job_list_spec.rb +1 -1
  287. data/spec/models/paginated_offer_list_spec.rb +1 -1
  288. data/spec/models/paginated_office_list_spec.rb +1 -1
  289. data/spec/models/paginated_reject_reason_list_spec.rb +1 -1
  290. data/spec/models/paginated_remote_user_list_spec.rb +1 -1
  291. data/spec/models/paginated_scheduled_interview_list_spec.rb +1 -1
  292. data/spec/models/paginated_scorecard_list_spec.rb +1 -1
  293. data/spec/models/paginated_tag_list_spec.rb +1 -1
  294. data/spec/models/phone_number_request_spec.rb +1 -1
  295. data/spec/models/phone_number_spec.rb +1 -1
  296. data/spec/models/phone_number_type_enum_spec.rb +1 -1
  297. data/spec/models/race_enum_spec.rb +1 -1
  298. data/spec/models/reason_enum_spec.rb +28 -0
  299. data/spec/models/reject_reason_spec.rb +13 -1
  300. data/spec/models/remote_data_spec.rb +1 -1
  301. data/spec/models/remote_key_for_regeneration_request_spec.rb +1 -1
  302. data/spec/models/remote_key_spec.rb +1 -1
  303. data/spec/models/remote_response_spec.rb +13 -1
  304. data/spec/models/remote_user_spec.rb +13 -1
  305. data/spec/models/response_type_enum_spec.rb +28 -0
  306. data/spec/models/scheduled_interview_spec.rb +13 -1
  307. data/spec/models/scheduled_interview_status_enum_spec.rb +1 -1
  308. data/spec/models/scorecard_spec.rb +13 -1
  309. data/spec/models/sync_status_spec.rb +1 -1
  310. data/spec/models/tag_spec.rb +13 -1
  311. data/spec/models/update_application_stage_request_spec.rb +40 -0
  312. data/spec/models/url_request_spec.rb +1 -1
  313. data/spec/models/url_spec.rb +1 -1
  314. data/spec/models/url_type_enum_spec.rb +1 -1
  315. data/spec/models/{remote_key_for_regeneration_spec.rb → validation_problem_source_spec.rb} +8 -8
  316. data/spec/models/veteran_status_enum_spec.rb +1 -1
  317. data/spec/models/visibility_enum_spec.rb +1 -1
  318. data/spec/models/warning_validation_problem_spec.rb +52 -0
  319. data/spec/models/webhook_receiver_request_spec.rb +46 -0
  320. data/spec/models/webhook_receiver_spec.rb +46 -0
  321. metadata +186 -123
  322. data/config.json +0 -2
  323. data/docs/DataPassthrough.md +0 -24
  324. data/docs/EndUserDetails.md +0 -24
  325. data/docs/PatchedApplicationRequest.md +0 -34
  326. data/docs/RemoteKeyForRegeneration.md +0 -18
  327. data/docs/RemoteUserRequest.md +0 -30
  328. data/docs/ScheduledInterviewRequest.md +0 -38
  329. data/docs/ScorecardRequest.md +0 -30
  330. data/lib/merge_ats_client/models/patched_application_request.rb +0 -309
  331. data/lib/merge_ats_client/models/remote_user_request.rb +0 -302
  332. data/merge_ats_client-1.0.3.gem +0 -0
  333. data/spec/models/patched_application_request_spec.rb +0 -82
  334. data/spec/models/scheduled_interview_request_spec.rb +0 -94
  335. data/spec/models/scorecard_request_spec.rb +0 -70
  336. data/test_ats.rb +0 -22
  337. data/test_signature.rb +0 -32
@@ -4,14 +4,97 @@ All URIs are relative to *https://api.merge.dev/api/ats/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
+ | [**applications_change_stage_create**](ApplicationsApi.md#applications_change_stage_create) | **POST** /applications/{id}/change-stage | |
7
8
  | [**applications_create**](ApplicationsApi.md#applications_create) | **POST** /applications | |
8
9
  | [**applications_list**](ApplicationsApi.md#applications_list) | **GET** /applications | |
10
+ | [**applications_meta_post_retrieve**](ApplicationsApi.md#applications_meta_post_retrieve) | **GET** /applications/meta/post | |
9
11
  | [**applications_retrieve**](ApplicationsApi.md#applications_retrieve) | **GET** /applications/{id} | |
10
12
 
11
13
 
14
+ ## applications_change_stage_create
15
+
16
+ > <ApplicationResponse> applications_change_stage_create(x_account_token, id, opts)
17
+
18
+
19
+
20
+ Updates the `current_stage` field of an `Application` object
21
+
22
+ ### Examples
23
+
24
+ ```ruby
25
+ require 'time'
26
+ require 'merge_ats_client'
27
+ # setup authorization
28
+ MergeATSClient.configure do |config|
29
+ # Configure API key authorization: tokenAuth
30
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
31
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
33
+ end
34
+
35
+ api_instance = MergeATSClient::ApplicationsApi.new
36
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
37
+ id = TODO # String |
38
+ opts = {
39
+ is_debug_mode: true, # Boolean | Whether to include debug fields (such as log file links) in the response.
40
+ run_async: true, # Boolean | Whether or not third-party updates should be run asynchronously.
41
+ update_application_stage_request: MergeATSClient::UpdateApplicationStageRequest.new # UpdateApplicationStageRequest |
42
+ }
43
+
44
+ begin
45
+
46
+ result = api_instance.applications_change_stage_create(x_account_token, id, opts)
47
+ p result
48
+ rescue MergeATSClient::ApiError => e
49
+ puts "Error when calling ApplicationsApi->applications_change_stage_create: #{e}"
50
+ end
51
+ ```
52
+
53
+ #### Using the applications_change_stage_create_with_http_info variant
54
+
55
+ This returns an Array which contains the response data, status code and headers.
56
+
57
+ > <Array(<ApplicationResponse>, Integer, Hash)> applications_change_stage_create_with_http_info(x_account_token, id, opts)
58
+
59
+ ```ruby
60
+ begin
61
+
62
+ data, status_code, headers = api_instance.applications_change_stage_create_with_http_info(x_account_token, id, opts)
63
+ p status_code # => 2xx
64
+ p headers # => { ... }
65
+ p data # => <ApplicationResponse>
66
+ rescue MergeATSClient::ApiError => e
67
+ puts "Error when calling ApplicationsApi->applications_change_stage_create_with_http_info: #{e}"
68
+ end
69
+ ```
70
+
71
+ ### Parameters
72
+
73
+ | Name | Type | Description | Notes |
74
+ | ---- | ---- | ----------- | ----- |
75
+ | **x_account_token** | **String** | Token identifying the end user. | |
76
+ | **id** | [**String**](.md) | | |
77
+ | **is_debug_mode** | **Boolean** | Whether to include debug fields (such as log file links) in the response. | [optional] |
78
+ | **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
79
+ | **update_application_stage_request** | [**UpdateApplicationStageRequest**](UpdateApplicationStageRequest.md) | | [optional] |
80
+
81
+ ### Return type
82
+
83
+ [**ApplicationResponse**](ApplicationResponse.md)
84
+
85
+ ### Authorization
86
+
87
+ [tokenAuth](../README.md#tokenAuth)
88
+
89
+ ### HTTP request headers
90
+
91
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
92
+ - **Accept**: application/json
93
+
94
+
12
95
  ## applications_create
13
96
 
14
- > <Application> applications_create(x_account_token, remote_user_id, opts)
97
+ > <ApplicationResponse> applications_create(x_account_token, application_endpoint_request, opts)
15
98
 
16
99
 
17
100
 
@@ -25,22 +108,22 @@ require 'merge_ats_client'
25
108
  # setup authorization
26
109
  MergeATSClient.configure do |config|
27
110
  # Configure API key authorization: tokenAuth
28
- config.api_key['Authorization'] = 'YOUR API KEY'
111
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
29
112
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
30
- # config.api_key_prefix['Authorization'] = 'Bearer'
113
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
31
114
  end
32
115
 
33
116
  api_instance = MergeATSClient::ApplicationsApi.new
34
117
  x_account_token = 'x_account_token_example' # String | Token identifying the end user.
35
- remote_user_id = 'remote_user_id_example' # String | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.
118
+ application_endpoint_request = MergeATSClient::ApplicationEndpointRequest.new({model: MergeATSClient::ApplicationRequest.new, remote_user_id: 'remote_user_id_example'}) # ApplicationEndpointRequest |
36
119
  opts = {
37
- run_async: true, # Boolean | Whether or not third-party updates should be run asynchronously.
38
- application_request: MergeATSClient::ApplicationRequest.new # ApplicationRequest |
120
+ is_debug_mode: true, # Boolean | Whether to include debug fields (such as log file links) in the response.
121
+ run_async: true # Boolean | Whether or not third-party updates should be run asynchronously.
39
122
  }
40
123
 
41
124
  begin
42
125
 
43
- result = api_instance.applications_create(x_account_token, remote_user_id, opts)
126
+ result = api_instance.applications_create(x_account_token, application_endpoint_request, opts)
44
127
  p result
45
128
  rescue MergeATSClient::ApiError => e
46
129
  puts "Error when calling ApplicationsApi->applications_create: #{e}"
@@ -51,15 +134,15 @@ end
51
134
 
52
135
  This returns an Array which contains the response data, status code and headers.
53
136
 
54
- > <Array(<Application>, Integer, Hash)> applications_create_with_http_info(x_account_token, remote_user_id, opts)
137
+ > <Array(<ApplicationResponse>, Integer, Hash)> applications_create_with_http_info(x_account_token, application_endpoint_request, opts)
55
138
 
56
139
  ```ruby
57
140
  begin
58
141
 
59
- data, status_code, headers = api_instance.applications_create_with_http_info(x_account_token, remote_user_id, opts)
142
+ data, status_code, headers = api_instance.applications_create_with_http_info(x_account_token, application_endpoint_request, opts)
60
143
  p status_code # => 2xx
61
144
  p headers # => { ... }
62
- p data # => <Application>
145
+ p data # => <ApplicationResponse>
63
146
  rescue MergeATSClient::ApiError => e
64
147
  puts "Error when calling ApplicationsApi->applications_create_with_http_info: #{e}"
65
148
  end
@@ -70,13 +153,13 @@ end
70
153
  | Name | Type | Description | Notes |
71
154
  | ---- | ---- | ----------- | ----- |
72
155
  | **x_account_token** | **String** | Token identifying the end user. | |
73
- | **remote_user_id** | **String** | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table. | |
156
+ | **application_endpoint_request** | [**ApplicationEndpointRequest**](ApplicationEndpointRequest.md) | | |
157
+ | **is_debug_mode** | **Boolean** | Whether to include debug fields (such as log file links) in the response. | [optional] |
74
158
  | **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
75
- | **application_request** | [**ApplicationRequest**](ApplicationRequest.md) | | [optional] |
76
159
 
77
160
  ### Return type
78
161
 
79
- [**Application**](Application.md)
162
+ [**ApplicationResponse**](ApplicationResponse.md)
80
163
 
81
164
  ### Authorization
82
165
 
@@ -104,9 +187,9 @@ require 'merge_ats_client'
104
187
  # setup authorization
105
188
  MergeATSClient.configure do |config|
106
189
  # Configure API key authorization: tokenAuth
107
- config.api_key['Authorization'] = 'YOUR API KEY'
190
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
108
191
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
109
- # config.api_key_prefix['Authorization'] = 'Bearer'
192
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
110
193
  end
111
194
 
112
195
  api_instance = MergeATSClient::ApplicationsApi.new
@@ -119,13 +202,15 @@ opts = {
119
202
  current_stage_id: 'current_stage_id_example', # String | If provided, will only return applications at this interview stage.
120
203
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
121
204
  expand: 'candidate', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
205
+ include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
122
206
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
123
207
  job_id: 'job_id_example', # String | If provided, will only return applications for this job.
124
208
  modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
125
209
  modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
126
210
  page_size: 56, # Integer | Number of results to return per page.
127
211
  reject_reason_id: 'reject_reason_id_example', # String | If provided, will only return applications with this reject reason.
128
- remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
212
+ remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
213
+ source: 'source_example' # String | If provided, will only return applications with this source.
129
214
  }
130
215
 
131
216
  begin
@@ -167,6 +252,7 @@ end
167
252
  | **current_stage_id** | **String** | If provided, will only return applications at this interview stage. | [optional] |
168
253
  | **cursor** | **String** | The pagination cursor value. | [optional] |
169
254
  | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
255
+ | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
170
256
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
171
257
  | **job_id** | **String** | If provided, will only return applications for this job. | [optional] |
172
258
  | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
@@ -174,6 +260,7 @@ end
174
260
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
175
261
  | **reject_reason_id** | **String** | If provided, will only return applications with this reject reason. | [optional] |
176
262
  | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
263
+ | **source** | **String** | If provided, will only return applications with this source. | [optional] |
177
264
 
178
265
  ### Return type
179
266
 
@@ -189,6 +276,81 @@ end
189
276
  - **Accept**: application/json
190
277
 
191
278
 
279
+ ## applications_meta_post_retrieve
280
+
281
+ > <MetaResponse> applications_meta_post_retrieve(x_account_token, opts)
282
+
283
+
284
+
285
+ Returns metadata for `Application` POSTs.
286
+
287
+ ### Examples
288
+
289
+ ```ruby
290
+ require 'time'
291
+ require 'merge_ats_client'
292
+ # setup authorization
293
+ MergeATSClient.configure do |config|
294
+ # Configure API key authorization: tokenAuth
295
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
296
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
297
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
298
+ end
299
+
300
+ api_instance = MergeATSClient::ApplicationsApi.new
301
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
302
+ opts = {
303
+ application_remote_template_id: 'application_remote_template_id_example' # String | The template ID associated with the nested application in the request.
304
+ }
305
+
306
+ begin
307
+
308
+ result = api_instance.applications_meta_post_retrieve(x_account_token, opts)
309
+ p result
310
+ rescue MergeATSClient::ApiError => e
311
+ puts "Error when calling ApplicationsApi->applications_meta_post_retrieve: #{e}"
312
+ end
313
+ ```
314
+
315
+ #### Using the applications_meta_post_retrieve_with_http_info variant
316
+
317
+ This returns an Array which contains the response data, status code and headers.
318
+
319
+ > <Array(<MetaResponse>, Integer, Hash)> applications_meta_post_retrieve_with_http_info(x_account_token, opts)
320
+
321
+ ```ruby
322
+ begin
323
+
324
+ data, status_code, headers = api_instance.applications_meta_post_retrieve_with_http_info(x_account_token, opts)
325
+ p status_code # => 2xx
326
+ p headers # => { ... }
327
+ p data # => <MetaResponse>
328
+ rescue MergeATSClient::ApiError => e
329
+ puts "Error when calling ApplicationsApi->applications_meta_post_retrieve_with_http_info: #{e}"
330
+ end
331
+ ```
332
+
333
+ ### Parameters
334
+
335
+ | Name | Type | Description | Notes |
336
+ | ---- | ---- | ----------- | ----- |
337
+ | **x_account_token** | **String** | Token identifying the end user. | |
338
+ | **application_remote_template_id** | **String** | The template ID associated with the nested application in the request. | [optional] |
339
+
340
+ ### Return type
341
+
342
+ [**MetaResponse**](MetaResponse.md)
343
+
344
+ ### Authorization
345
+
346
+ [tokenAuth](../README.md#tokenAuth)
347
+
348
+ ### HTTP request headers
349
+
350
+ - **Content-Type**: Not defined
351
+ - **Accept**: application/json
352
+
353
+
192
354
  ## applications_retrieve
193
355
 
194
356
  > <Application> applications_retrieve(x_account_token, id, opts)
@@ -205,9 +367,9 @@ require 'merge_ats_client'
205
367
  # setup authorization
206
368
  MergeATSClient.configure do |config|
207
369
  # Configure API key authorization: tokenAuth
208
- config.api_key['Authorization'] = 'YOUR API KEY'
370
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
209
371
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
210
- # config.api_key_prefix['Authorization'] = 'Bearer'
372
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
211
373
  end
212
374
 
213
375
  api_instance = MergeATSClient::ApplicationsApi.new
data/docs/Attachment.md CHANGED
@@ -11,6 +11,7 @@
11
11
  | **candidate** | **String** | | [optional] |
12
12
  | **attachment_type** | [**AttachmentTypeEnum**](AttachmentTypeEnum.md) | The attachment&#39;s type. | [optional] |
13
13
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
14
+ | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
14
15
 
15
16
  ## Example
16
17
 
@@ -24,7 +25,8 @@ instance = MergeATSClient::Attachment.new(
24
25
  file_url: http://alturl.com/p749b,
25
26
  candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef,
26
27
  attachment_type: RESUME,
27
- remote_data: [{&quot;path&quot;:&quot;/attachments&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}]
28
+ remote_data: [{&quot;path&quot;:&quot;/attachments&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}],
29
+ remote_was_deleted: null
28
30
  )
29
31
  ```
30
32
 
@@ -0,0 +1,20 @@
1
+ # MergeATSClient::AttachmentEndpointRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **model** | [**AttachmentRequest**](AttachmentRequest.md) | | |
8
+ | **remote_user_id** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'merge_ats_client'
14
+
15
+ instance = MergeATSClient::AttachmentEndpointRequest.new(
16
+ model: null,
17
+ remote_user_id: null
18
+ )
19
+ ```
20
+
@@ -9,6 +9,8 @@
9
9
  | **file_url** | **String** | The attachment&#39;s url. | [optional] |
10
10
  | **candidate** | **String** | | [optional] |
11
11
  | **attachment_type** | [**AttachmentTypeEnum**](AttachmentTypeEnum.md) | The attachment&#39;s type. | [optional] |
12
+ | **integration_params** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional] |
13
+ | **linked_account_params** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional] |
12
14
 
13
15
  ## Example
14
16
 
@@ -20,7 +22,9 @@ instance = MergeATSClient::AttachmentRequest.new(
20
22
  file_name: Candidate Resume,
21
23
  file_url: http://alturl.com/p749b,
22
24
  candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef,
23
- attachment_type: RESUME
25
+ attachment_type: RESUME,
26
+ integration_params: {&quot;unique_integration_field&quot;:&quot;unique_integration_field_value&quot;},
27
+ linked_account_params: {&quot;unique_linked_account_field&quot;:&quot;unique_linked_account_field_value&quot;}
24
28
  )
25
29
  ```
26
30
 
@@ -0,0 +1,24 @@
1
+ # MergeATSClient::AttachmentResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **model** | [**Attachment**](Attachment.md) | | |
8
+ | **warnings** | [**Array&lt;WarningValidationProblem&gt;**](WarningValidationProblem.md) | | |
9
+ | **errors** | [**Array&lt;ErrorValidationProblem&gt;**](ErrorValidationProblem.md) | | |
10
+ | **logs** | [**Array&lt;DebugModeLog&gt;**](DebugModeLog.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'merge_ats_client'
16
+
17
+ instance = MergeATSClient::AttachmentResponse.new(
18
+ model: null,
19
+ warnings: null,
20
+ errors: null,
21
+ logs: null
22
+ )
23
+ ```
24
+
@@ -6,12 +6,13 @@ All URIs are relative to *https://api.merge.dev/api/ats/v1*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**attachments_create**](AttachmentsApi.md#attachments_create) | **POST** /attachments | |
8
8
  | [**attachments_list**](AttachmentsApi.md#attachments_list) | **GET** /attachments | |
9
+ | [**attachments_meta_post_retrieve**](AttachmentsApi.md#attachments_meta_post_retrieve) | **GET** /attachments/meta/post | |
9
10
  | [**attachments_retrieve**](AttachmentsApi.md#attachments_retrieve) | **GET** /attachments/{id} | |
10
11
 
11
12
 
12
13
  ## attachments_create
13
14
 
14
- > <Attachment> attachments_create(x_account_token, remote_user_id, opts)
15
+ > <AttachmentResponse> attachments_create(x_account_token, attachment_endpoint_request, opts)
15
16
 
16
17
 
17
18
 
@@ -32,15 +33,15 @@ end
32
33
 
33
34
  api_instance = MergeATSClient::AttachmentsApi.new
34
35
  x_account_token = 'x_account_token_example' # String | Token identifying the end user.
35
- remote_user_id = 'remote_user_id_example' # String | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.
36
+ attachment_endpoint_request = MergeATSClient::AttachmentEndpointRequest.new({model: MergeATSClient::AttachmentRequest.new, remote_user_id: 'remote_user_id_example'}) # AttachmentEndpointRequest |
36
37
  opts = {
37
- run_async: true, # Boolean | Whether or not third-party updates should be run asynchronously.
38
- attachment_request: MergeATSClient::AttachmentRequest.new # AttachmentRequest |
38
+ is_debug_mode: true, # Boolean | Whether to include debug fields (such as log file links) in the response.
39
+ run_async: true # Boolean | Whether or not third-party updates should be run asynchronously.
39
40
  }
40
41
 
41
42
  begin
42
43
 
43
- result = api_instance.attachments_create(x_account_token, remote_user_id, opts)
44
+ result = api_instance.attachments_create(x_account_token, attachment_endpoint_request, opts)
44
45
  p result
45
46
  rescue MergeATSClient::ApiError => e
46
47
  puts "Error when calling AttachmentsApi->attachments_create: #{e}"
@@ -51,15 +52,15 @@ end
51
52
 
52
53
  This returns an Array which contains the response data, status code and headers.
53
54
 
54
- > <Array(<Attachment>, Integer, Hash)> attachments_create_with_http_info(x_account_token, remote_user_id, opts)
55
+ > <Array(<AttachmentResponse>, Integer, Hash)> attachments_create_with_http_info(x_account_token, attachment_endpoint_request, opts)
55
56
 
56
57
  ```ruby
57
58
  begin
58
59
 
59
- data, status_code, headers = api_instance.attachments_create_with_http_info(x_account_token, remote_user_id, opts)
60
+ data, status_code, headers = api_instance.attachments_create_with_http_info(x_account_token, attachment_endpoint_request, opts)
60
61
  p status_code # => 2xx
61
62
  p headers # => { ... }
62
- p data # => <Attachment>
63
+ p data # => <AttachmentResponse>
63
64
  rescue MergeATSClient::ApiError => e
64
65
  puts "Error when calling AttachmentsApi->attachments_create_with_http_info: #{e}"
65
66
  end
@@ -70,13 +71,13 @@ end
70
71
  | Name | Type | Description | Notes |
71
72
  | ---- | ---- | ----------- | ----- |
72
73
  | **x_account_token** | **String** | Token identifying the end user. | |
73
- | **remote_user_id** | **String** | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table. | |
74
+ | **attachment_endpoint_request** | [**AttachmentEndpointRequest**](AttachmentEndpointRequest.md) | | |
75
+ | **is_debug_mode** | **Boolean** | Whether to include debug fields (such as log file links) in the response. | [optional] |
74
76
  | **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
75
- | **attachment_request** | [**AttachmentRequest**](AttachmentRequest.md) | | [optional] |
76
77
 
77
78
  ### Return type
78
79
 
79
- [**Attachment**](Attachment.md)
80
+ [**AttachmentResponse**](AttachmentResponse.md)
80
81
 
81
82
  ### Authorization
82
83
 
@@ -104,9 +105,9 @@ require 'merge_ats_client'
104
105
  # setup authorization
105
106
  MergeATSClient.configure do |config|
106
107
  # Configure API key authorization: tokenAuth
107
- config.api_key['Authorization'] = 'YOUR API KEY'
108
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
108
109
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
109
- # config.api_key_prefix['Authorization'] = 'Bearer'
110
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
110
111
  end
111
112
 
112
113
  api_instance = MergeATSClient::AttachmentsApi.new
@@ -116,10 +117,13 @@ opts = {
116
117
  created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
117
118
  created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
118
119
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
120
+ expand: 'candidate', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
121
+ include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
119
122
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
120
123
  modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
121
124
  modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
122
125
  page_size: 56, # Integer | Number of results to return per page.
126
+ remote_fields: 'attachment_type', # String | Which fields should be returned in non-normalized form.
123
127
  remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
124
128
  }
125
129
 
@@ -159,10 +163,13 @@ end
159
163
  | **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
160
164
  | **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
161
165
  | **cursor** | **String** | The pagination cursor value. | [optional] |
166
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
167
+ | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
162
168
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
163
169
  | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
164
170
  | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
165
171
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
172
+ | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
166
173
  | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
167
174
 
168
175
  ### Return type
@@ -179,6 +186,77 @@ end
179
186
  - **Accept**: application/json
180
187
 
181
188
 
189
+ ## attachments_meta_post_retrieve
190
+
191
+ > <MetaResponse> attachments_meta_post_retrieve(x_account_token)
192
+
193
+
194
+
195
+ Returns metadata for `Attachment` POSTs.
196
+
197
+ ### Examples
198
+
199
+ ```ruby
200
+ require 'time'
201
+ require 'merge_ats_client'
202
+ # setup authorization
203
+ MergeATSClient.configure do |config|
204
+ # Configure API key authorization: tokenAuth
205
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
206
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
207
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
208
+ end
209
+
210
+ api_instance = MergeATSClient::AttachmentsApi.new
211
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
212
+
213
+ begin
214
+
215
+ result = api_instance.attachments_meta_post_retrieve(x_account_token)
216
+ p result
217
+ rescue MergeATSClient::ApiError => e
218
+ puts "Error when calling AttachmentsApi->attachments_meta_post_retrieve: #{e}"
219
+ end
220
+ ```
221
+
222
+ #### Using the attachments_meta_post_retrieve_with_http_info variant
223
+
224
+ This returns an Array which contains the response data, status code and headers.
225
+
226
+ > <Array(<MetaResponse>, Integer, Hash)> attachments_meta_post_retrieve_with_http_info(x_account_token)
227
+
228
+ ```ruby
229
+ begin
230
+
231
+ data, status_code, headers = api_instance.attachments_meta_post_retrieve_with_http_info(x_account_token)
232
+ p status_code # => 2xx
233
+ p headers # => { ... }
234
+ p data # => <MetaResponse>
235
+ rescue MergeATSClient::ApiError => e
236
+ puts "Error when calling AttachmentsApi->attachments_meta_post_retrieve_with_http_info: #{e}"
237
+ end
238
+ ```
239
+
240
+ ### Parameters
241
+
242
+ | Name | Type | Description | Notes |
243
+ | ---- | ---- | ----------- | ----- |
244
+ | **x_account_token** | **String** | Token identifying the end user. | |
245
+
246
+ ### Return type
247
+
248
+ [**MetaResponse**](MetaResponse.md)
249
+
250
+ ### Authorization
251
+
252
+ [tokenAuth](../README.md#tokenAuth)
253
+
254
+ ### HTTP request headers
255
+
256
+ - **Content-Type**: Not defined
257
+ - **Accept**: application/json
258
+
259
+
182
260
  ## attachments_retrieve
183
261
 
184
262
  > <Attachment> attachments_retrieve(x_account_token, id, opts)
@@ -195,16 +273,18 @@ require 'merge_ats_client'
195
273
  # setup authorization
196
274
  MergeATSClient.configure do |config|
197
275
  # Configure API key authorization: tokenAuth
198
- config.api_key['Authorization'] = 'YOUR API KEY'
276
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
199
277
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
200
- # config.api_key_prefix['Authorization'] = 'Bearer'
278
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
201
279
  end
202
280
 
203
281
  api_instance = MergeATSClient::AttachmentsApi.new
204
282
  x_account_token = 'x_account_token_example' # String | Token identifying the end user.
205
283
  id = TODO # String |
206
284
  opts = {
207
- include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
285
+ expand: 'candidate', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
286
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
287
+ remote_fields: 'attachment_type' # String | Which fields should be returned in non-normalized form.
208
288
  }
209
289
 
210
290
  begin
@@ -240,7 +320,9 @@ end
240
320
  | ---- | ---- | ----------- | ----- |
241
321
  | **x_account_token** | **String** | Token identifying the end user. | |
242
322
  | **id** | [**String**](.md) | | |
323
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
243
324
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
325
+ | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
244
326
 
245
327
  ### Return type
246
328
 
@@ -23,9 +23,9 @@ require 'merge_ats_client'
23
23
  # setup authorization
24
24
  MergeATSClient.configure do |config|
25
25
  # Configure API key authorization: tokenAuth
26
- config.api_key['Authorization'] = 'YOUR API KEY'
26
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
27
27
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
- # config.api_key_prefix['Authorization'] = 'Bearer'
28
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
29
29
  end
30
30
 
31
31
  api_instance = MergeATSClient::AvailableActionsApi.new
data/docs/Candidate.md CHANGED
@@ -24,6 +24,7 @@
24
24
  | **attachments** | **Array&lt;String&gt;** | Array of &#x60;Attachment&#x60; object IDs. | [optional] |
25
25
  | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
26
26
  | **custom_fields** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | Custom fields configured for a given model. | [optional] |
27
+ | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
27
28
 
28
29
  ## Example
29
30
 
@@ -50,7 +51,8 @@ instance = MergeATSClient::Candidate.new(
50
51
  applications: [&quot;29eb9867-ce2a-403f-b8ce-f2844b89f078&quot;,&quot;b4d08e5c-de00-4d64-a29f-66addac9af99&quot;,&quot;4ff877d2-fb3e-4a5b-a7a5-168ddf2ffa56&quot;],
51
52
  attachments: [&quot;bea08964-32b4-4a20-8bb4-2612ba09de1d&quot;],
52
53
  remote_data: [{&quot;path&quot;:&quot;/candidates&quot;,&quot;data&quot;:[&quot;Varies by platform&quot;]}],
53
- custom_fields: null
54
+ custom_fields: null,
55
+ remote_was_deleted: null
54
56
  )
55
57
  ```
56
58
 
@@ -0,0 +1,20 @@
1
+ # MergeATSClient::CandidateEndpointRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **model** | [**CandidateRequest**](CandidateRequest.md) | | |
8
+ | **remote_user_id** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'merge_ats_client'
14
+
15
+ instance = MergeATSClient::CandidateEndpointRequest.new(
16
+ model: null,
17
+ remote_user_id: null
18
+ )
19
+ ```
20
+