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
@@ -0,0 +1,84 @@
1
+ =begin
2
+ #Merge ATS API
3
+
4
+ #The unified API for building rich integrations with multiple Applicant Tracking System platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module MergeATSClient
16
+ class ForceResyncApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
23
+ # @param x_account_token [String] Token identifying the end user.
24
+ # @param [Hash] opts the optional parameters
25
+ # @return [Array<SyncStatus>]
26
+ def sync_status_resync_create(x_account_token, opts = {})
27
+ data, _status_code, _headers = sync_status_resync_create_with_http_info(x_account_token, opts)
28
+ data
29
+ end
30
+
31
+ # Force re-sync of all models. This is only available for organizations on Merge&#39;s Grow and Expand plans.
32
+ # @param x_account_token [String] Token identifying the end user.
33
+ # @param [Hash] opts the optional parameters
34
+ # @return [Array<(Array<SyncStatus>, Integer, Hash)>] Array<SyncStatus> data, response status code and response headers
35
+ def sync_status_resync_create_with_http_info(x_account_token, opts = {})
36
+ if @api_client.config.debugging
37
+ @api_client.config.logger.debug 'Calling API: ForceResyncApi.sync_status_resync_create ...'
38
+ end
39
+ # verify the required parameter 'x_account_token' is set
40
+ if @api_client.config.client_side_validation && x_account_token.nil?
41
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling ForceResyncApi.sync_status_resync_create"
42
+ end
43
+ # resource path
44
+ local_var_path = '/sync-status/resync'
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+ # HTTP header 'Accept' (if needed)
52
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
+ header_params[:'X-Account-Token'] = x_account_token
54
+
55
+ # form parameters
56
+ form_params = opts[:form_params] || {}
57
+
58
+ # http body (model)
59
+ post_body = opts[:debug_body]
60
+
61
+ # return_type
62
+ return_type = opts[:debug_return_type] || 'Array<SyncStatus>'
63
+
64
+ # auth_names
65
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
66
+
67
+ new_options = opts.merge(
68
+ :operation => :"ForceResyncApi.sync_status_resync_create",
69
+ :header_params => header_params,
70
+ :query_params => query_params,
71
+ :form_params => form_params,
72
+ :body => post_body,
73
+ :auth_names => auth_names,
74
+ :return_type => return_type
75
+ )
76
+
77
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
78
+ if @api_client.config.debugging
79
+ @api_client.config.logger.debug "API called: ForceResyncApi#sync_status_resync_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
+ end
81
+ return data, status_code, headers
82
+ end
83
+ end
84
+ end
@@ -19,82 +19,6 @@ module MergeATSClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Creates a `ScheduledInterview` object with the given values.
23
- # @param x_account_token [String] Token identifying the end user.
24
- # @param 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.
25
- # @param [Hash] opts the optional parameters
26
- # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
27
- # @option opts [ScheduledInterviewRequest] :scheduled_interview_request
28
- # @return [ScheduledInterview]
29
- def interviews_create(x_account_token, remote_user_id, opts = {})
30
- data, _status_code, _headers = interviews_create_with_http_info(x_account_token, remote_user_id, opts)
31
- data
32
- end
33
-
34
- # Creates a &#x60;ScheduledInterview&#x60; object with the given values.
35
- # @param x_account_token [String] Token identifying the end user.
36
- # @param 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.
37
- # @param [Hash] opts the optional parameters
38
- # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
39
- # @option opts [ScheduledInterviewRequest] :scheduled_interview_request
40
- # @return [Array<(ScheduledInterview, Integer, Hash)>] ScheduledInterview data, response status code and response headers
41
- def interviews_create_with_http_info(x_account_token, remote_user_id, opts = {})
42
- if @api_client.config.debugging
43
- @api_client.config.logger.debug 'Calling API: InterviewsApi.interviews_create ...'
44
- end
45
- # verify the required parameter 'x_account_token' is set
46
- if @api_client.config.client_side_validation && x_account_token.nil?
47
- fail ArgumentError, "Missing the required parameter 'x_account_token' when calling InterviewsApi.interviews_create"
48
- end
49
- # verify the required parameter 'remote_user_id' is set
50
- if @api_client.config.client_side_validation && remote_user_id.nil?
51
- fail ArgumentError, "Missing the required parameter 'remote_user_id' when calling InterviewsApi.interviews_create"
52
- end
53
- # resource path
54
- local_var_path = '/interviews'
55
-
56
- # query parameters
57
- query_params = opts[:query_params] || {}
58
- query_params[:'remote_user_id'] = remote_user_id
59
- query_params[:'run_async'] = opts[:'run_async'] if !opts[:'run_async'].nil?
60
-
61
- # header parameters
62
- header_params = opts[:header_params] || {}
63
- # HTTP header 'Accept' (if needed)
64
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
65
- # HTTP header 'Content-Type'
66
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
67
- header_params[:'X-Account-Token'] = x_account_token
68
-
69
- # form parameters
70
- form_params = opts[:form_params] || {}
71
-
72
- # http body (model)
73
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'scheduled_interview_request'])
74
-
75
- # return_type
76
- return_type = opts[:debug_return_type] || 'ScheduledInterview'
77
-
78
- # auth_names
79
- auth_names = opts[:debug_auth_names] || ['tokenAuth']
80
-
81
- new_options = opts.merge(
82
- :operation => :"InterviewsApi.interviews_create",
83
- :header_params => header_params,
84
- :query_params => query_params,
85
- :form_params => form_params,
86
- :body => post_body,
87
- :auth_names => auth_names,
88
- :return_type => return_type
89
- )
90
-
91
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
92
- if @api_client.config.debugging
93
- @api_client.config.logger.debug "API called: InterviewsApi#interviews_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
94
- end
95
- return data, status_code, headers
96
- end
97
-
98
22
  # Returns a list of `ScheduledInterview` objects.
99
23
  # @param x_account_token [String] Token identifying the end user.
100
24
  # @param [Hash] opts the optional parameters
@@ -103,12 +27,14 @@ module MergeATSClient
103
27
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
104
28
  # @option opts [String] :cursor The pagination cursor value.
105
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
106
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
107
32
  # @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
108
33
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
109
34
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
110
35
  # @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
111
36
  # @option opts [Integer] :page_size Number of results to return per page.
37
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
112
38
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
113
39
  # @return [PaginatedScheduledInterviewList]
114
40
  def interviews_list(x_account_token, opts = {})
@@ -124,12 +50,14 @@ module MergeATSClient
124
50
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
125
51
  # @option opts [String] :cursor The pagination cursor value.
126
52
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
53
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
127
54
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
128
55
  # @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
129
56
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
130
57
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
131
58
  # @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
132
59
  # @option opts [Integer] :page_size Number of results to return per page.
60
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
133
61
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
134
62
  # @return [Array<(PaginatedScheduledInterviewList, Integer, Hash)>] PaginatedScheduledInterviewList data, response status code and response headers
135
63
  def interviews_list_with_http_info(x_account_token, opts = {})
@@ -144,6 +72,10 @@ module MergeATSClient
144
72
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
145
73
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
146
74
  end
75
+ allowable_values = ["status"]
76
+ if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
77
+ fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
78
+ end
147
79
  # resource path
148
80
  local_var_path = '/interviews'
149
81
 
@@ -154,12 +86,14 @@ module MergeATSClient
154
86
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
155
87
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
156
88
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
89
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
157
90
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
158
91
  query_params[:'job_interview_stage_id'] = opts[:'job_interview_stage_id'] if !opts[:'job_interview_stage_id'].nil?
159
92
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
160
93
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
161
94
  query_params[:'organizer_id'] = opts[:'organizer_id'] if !opts[:'organizer_id'].nil?
162
95
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
96
+ query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
163
97
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
164
98
 
165
99
  # header parameters
@@ -203,6 +137,7 @@ module MergeATSClient
203
137
  # @param [Hash] opts the optional parameters
204
138
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
205
139
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
140
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
206
141
  # @return [ScheduledInterview]
207
142
  def interviews_retrieve(x_account_token, id, opts = {})
208
143
  data, _status_code, _headers = interviews_retrieve_with_http_info(x_account_token, id, opts)
@@ -215,6 +150,7 @@ module MergeATSClient
215
150
  # @param [Hash] opts the optional parameters
216
151
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
217
152
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
153
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
218
154
  # @return [Array<(ScheduledInterview, Integer, Hash)>] ScheduledInterview data, response status code and response headers
219
155
  def interviews_retrieve_with_http_info(x_account_token, id, opts = {})
220
156
  if @api_client.config.debugging
@@ -232,6 +168,10 @@ module MergeATSClient
232
168
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
233
169
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
234
170
  end
171
+ allowable_values = ["status"]
172
+ if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
173
+ fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
174
+ end
235
175
  # resource path
236
176
  local_var_path = '/interviews/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
237
177
 
@@ -239,6 +179,7 @@ module MergeATSClient
239
179
  query_params = opts[:query_params] || {}
240
180
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
241
181
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
182
+ query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
242
183
 
243
184
  # header parameters
244
185
  header_params = opts[:header_params] || {}
@@ -21,15 +21,19 @@ module MergeATSClient
21
21
  end
22
22
  # Gets issues.
23
23
  # @param [Hash] opts the optional parameters
24
- # @option opts [String] :account_token account_token
25
- # @option opts [Integer] :cursor The pagination cursor value.
24
+ # @option opts [String] :account_token
25
+ # @option opts [String] :cursor The pagination cursor value.
26
26
  # @option opts [String] :end_date If included, will only include issues whose most recent action occurred before this time
27
- # @option opts [String] :end_user_organization_name end_user_organization_name
27
+ # @option opts [String] :end_user_organization_name
28
+ # @option opts [Time] :first_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
29
+ # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
28
30
  # @option opts [String] :include_muted If True, will include muted issues
29
- # @option opts [String] :integration_name integration_name
31
+ # @option opts [String] :integration_name
32
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
33
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
30
34
  # @option opts [Integer] :page_size Number of results to return per page.
31
35
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
32
- # @option opts [String] :status status
36
+ # @option opts [String] :status
33
37
  # @return [PaginatedIssueList]
34
38
  def issues_list(opts = {})
35
39
  data, _status_code, _headers = issues_list_with_http_info(opts)
@@ -38,15 +42,19 @@ module MergeATSClient
38
42
 
39
43
  # Gets issues.
40
44
  # @param [Hash] opts the optional parameters
41
- # @option opts [String] :account_token account_token
42
- # @option opts [Integer] :cursor The pagination cursor value.
45
+ # @option opts [String] :account_token
46
+ # @option opts [String] :cursor The pagination cursor value.
43
47
  # @option opts [String] :end_date If included, will only include issues whose most recent action occurred before this time
44
- # @option opts [String] :end_user_organization_name end_user_organization_name
48
+ # @option opts [String] :end_user_organization_name
49
+ # @option opts [Time] :first_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
50
+ # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
45
51
  # @option opts [String] :include_muted If True, will include muted issues
46
- # @option opts [String] :integration_name integration_name
52
+ # @option opts [String] :integration_name
53
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
54
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
47
55
  # @option opts [Integer] :page_size Number of results to return per page.
48
56
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
49
- # @option opts [String] :status status
57
+ # @option opts [String] :status
50
58
  # @return [Array<(PaginatedIssueList, Integer, Hash)>] PaginatedIssueList data, response status code and response headers
51
59
  def issues_list_with_http_info(opts = {})
52
60
  if @api_client.config.debugging
@@ -65,8 +73,12 @@ module MergeATSClient
65
73
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
66
74
  query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
67
75
  query_params[:'end_user_organization_name'] = opts[:'end_user_organization_name'] if !opts[:'end_user_organization_name'].nil?
76
+ query_params[:'first_incident_time_after'] = opts[:'first_incident_time_after'] if !opts[:'first_incident_time_after'].nil?
77
+ query_params[:'first_incident_time_before'] = opts[:'first_incident_time_before'] if !opts[:'first_incident_time_before'].nil?
68
78
  query_params[:'include_muted'] = opts[:'include_muted'] if !opts[:'include_muted'].nil?
69
79
  query_params[:'integration_name'] = opts[:'integration_name'] if !opts[:'integration_name'].nil?
80
+ query_params[:'last_incident_time_after'] = opts[:'last_incident_time_after'] if !opts[:'last_incident_time_after'].nil?
81
+ query_params[:'last_incident_time_before'] = opts[:'last_incident_time_before'] if !opts[:'last_incident_time_before'].nil?
70
82
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
71
83
  query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
72
84
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
@@ -26,6 +26,7 @@ module MergeATSClient
26
26
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
27
27
  # @option opts [String] :cursor The pagination cursor value.
28
28
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
29
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
29
30
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
30
31
  # @option opts [String] :job_id If provided, will only return interview stages for this job.
31
32
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -45,6 +46,7 @@ module MergeATSClient
45
46
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
46
47
  # @option opts [String] :cursor The pagination cursor value.
47
48
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
49
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
48
50
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
49
51
  # @option opts [String] :job_id If provided, will only return interview stages for this job.
50
52
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
@@ -60,7 +62,7 @@ module MergeATSClient
60
62
  if @api_client.config.client_side_validation && x_account_token.nil?
61
63
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling JobInterviewStagesApi.job_interview_stages_list"
62
64
  end
63
- allowable_values = ["departments", "departments,job", "departments,offices", "departments,offices,job", "job", "offices", "offices,job"]
65
+ allowable_values = ["job"]
64
66
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
65
67
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
66
68
  end
@@ -73,6 +75,7 @@ module MergeATSClient
73
75
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
74
76
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
75
77
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
78
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
76
79
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
77
80
  query_params[:'job_id'] = opts[:'job_id'] if !opts[:'job_id'].nil?
78
81
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
@@ -146,7 +149,7 @@ module MergeATSClient
146
149
  if @api_client.config.client_side_validation && id.nil?
147
150
  fail ArgumentError, "Missing the required parameter 'id' when calling JobInterviewStagesApi.job_interview_stages_retrieve"
148
151
  end
149
- allowable_values = ["departments", "departments,job", "departments,offices", "departments,offices,job", "job", "offices", "offices,job"]
152
+ allowable_values = ["job"]
150
153
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
151
154
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
152
155
  end
@@ -27,10 +27,12 @@ module MergeATSClient
27
27
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
28
28
  # @option opts [String] :cursor The pagination cursor value.
29
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
30
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
31
32
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
32
33
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
33
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
34
36
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
35
37
  # @option opts [String] :status If provided, will only return jobs with this status. Options: (&#39;OPEN&#39;, &#39;CLOSED&#39;, &#39;DRAFT&#39;, &#39;ARCHIVED&#39;, &#39;PENDING&#39;)
36
38
  # @return [PaginatedJobList]
@@ -47,10 +49,12 @@ module MergeATSClient
47
49
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
48
50
  # @option opts [String] :cursor The pagination cursor value.
49
51
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
52
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
50
53
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
51
54
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
52
55
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
53
56
  # @option opts [Integer] :page_size Number of results to return per page.
57
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
54
58
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
55
59
  # @option opts [String] :status If provided, will only return jobs with this status. Options: (&#39;OPEN&#39;, &#39;CLOSED&#39;, &#39;DRAFT&#39;, &#39;ARCHIVED&#39;, &#39;PENDING&#39;)
56
60
  # @return [Array<(PaginatedJobList, Integer, Hash)>] PaginatedJobList data, response status code and response headers
@@ -62,11 +66,15 @@ module MergeATSClient
62
66
  if @api_client.config.client_side_validation && x_account_token.nil?
63
67
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling JobsApi.jobs_list"
64
68
  end
65
- allowable_values = ["departments", "departments,hiring_managers", "departments,offices", "departments,offices,hiring_managers", "hiring_managers", "offices", "offices,hiring_managers"]
69
+ allowable_values = ["departments", "departments,hiring_managers", "departments,hiring_managers,recruiters", "departments,offices", "departments,offices,hiring_managers", "departments,offices,hiring_managers,recruiters", "departments,offices,recruiters", "departments,recruiters", "hiring_managers", "hiring_managers,recruiters", "offices", "offices,hiring_managers", "offices,hiring_managers,recruiters", "offices,recruiters", "recruiters"]
66
70
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
67
71
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
68
72
  end
69
- allowable_values = ["OPEN", "CLOSED", "DRAFT", "ARCHIVED", "PENDING", "", "null"]
73
+ allowable_values = ["status"]
74
+ if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
75
+ fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
76
+ end
77
+ allowable_values = ["ARCHIVED", "CLOSED", "DRAFT", "OPEN", "PENDING"]
70
78
  if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
71
79
  fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
72
80
  end
@@ -80,10 +88,12 @@ module MergeATSClient
80
88
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
81
89
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
82
90
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
91
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
83
92
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
84
93
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
85
94
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
86
95
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
96
+ query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
87
97
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
88
98
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
89
99
 
@@ -128,6 +138,7 @@ module MergeATSClient
128
138
  # @param [Hash] opts the optional parameters
129
139
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
130
140
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
141
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
131
142
  # @return [Job]
132
143
  def jobs_retrieve(x_account_token, id, opts = {})
133
144
  data, _status_code, _headers = jobs_retrieve_with_http_info(x_account_token, id, opts)
@@ -140,6 +151,7 @@ module MergeATSClient
140
151
  # @param [Hash] opts the optional parameters
141
152
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
142
153
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
154
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
143
155
  # @return [Array<(Job, Integer, Hash)>] Job data, response status code and response headers
144
156
  def jobs_retrieve_with_http_info(x_account_token, id, opts = {})
145
157
  if @api_client.config.debugging
@@ -153,10 +165,14 @@ module MergeATSClient
153
165
  if @api_client.config.client_side_validation && id.nil?
154
166
  fail ArgumentError, "Missing the required parameter 'id' when calling JobsApi.jobs_retrieve"
155
167
  end
156
- allowable_values = ["departments", "departments,hiring_managers", "departments,offices", "departments,offices,hiring_managers", "hiring_managers", "offices", "offices,hiring_managers"]
168
+ allowable_values = ["departments", "departments,hiring_managers", "departments,hiring_managers,recruiters", "departments,offices", "departments,offices,hiring_managers", "departments,offices,hiring_managers,recruiters", "departments,offices,recruiters", "departments,recruiters", "hiring_managers", "hiring_managers,recruiters", "offices", "offices,hiring_managers", "offices,hiring_managers,recruiters", "offices,recruiters", "recruiters"]
157
169
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
158
170
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
159
171
  end
172
+ allowable_values = ["status"]
173
+ if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
174
+ fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
175
+ end
160
176
  # resource path
161
177
  local_var_path = '/jobs/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
162
178
 
@@ -164,6 +180,7 @@ module MergeATSClient
164
180
  query_params = opts[:query_params] || {}
165
181
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
166
182
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
183
+ query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
167
184
 
168
185
  # header parameters
169
186
  header_params = opts[:header_params] || {}
@@ -21,16 +21,17 @@ module MergeATSClient
21
21
  end
22
22
  # List linked accounts for your organization.
23
23
  # @param [Hash] opts the optional parameters
24
- # @option opts [String] :category category
25
- # @option opts [Integer] :cursor The pagination cursor value.
26
- # @option opts [String] :end_user_email_address end_user_email_address
27
- # @option opts [String] :end_user_organization_name end_user_organization_name
28
- # @option opts [String] :end_user_origin_id end_user_origin_id
29
- # @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once
30
- # @option opts [String] :id id
31
- # @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once
32
- # @option opts [String] :integration_name integration_name
33
- # @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts
24
+ # @option opts [String] :category
25
+ # @option opts [String] :cursor The pagination cursor value.
26
+ # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
27
+ # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
28
+ # @option opts [String] :end_user_origin_id If provided, will only return linked accounts associated with the given origin ID.
29
+ # @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
30
+ # @option opts [String] :id
31
+ # @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
32
+ # @option opts [Boolean] :include_duplicates If &#x60;true&#x60;, will include complete production duplicates of the account specified by the &#x60;id&#x60; query parameter in the response. &#x60;id&#x60; must be for a complete production linked account.
33
+ # @option opts [String] :integration_name If provided, will only return linked accounts associated with the given integration name.
34
+ # @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
34
35
  # @option opts [Integer] :page_size Number of results to return per page.
35
36
  # @option opts [String] :status Filter by status. Options: &#x60;COMPLETE&#x60;, &#x60;INCOMPLETE&#x60;, &#x60;RELINK_NEEDED&#x60;
36
37
  # @return [PaginatedAccountDetailsAndActionsList]
@@ -41,16 +42,17 @@ module MergeATSClient
41
42
 
42
43
  # List linked accounts for your organization.
43
44
  # @param [Hash] opts the optional parameters
44
- # @option opts [String] :category category
45
- # @option opts [Integer] :cursor The pagination cursor value.
46
- # @option opts [String] :end_user_email_address end_user_email_address
47
- # @option opts [String] :end_user_organization_name end_user_organization_name
48
- # @option opts [String] :end_user_origin_id end_user_origin_id
49
- # @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once
50
- # @option opts [String] :id id
51
- # @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once
52
- # @option opts [String] :integration_name integration_name
53
- # @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts
45
+ # @option opts [String] :category
46
+ # @option opts [String] :cursor The pagination cursor value.
47
+ # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
48
+ # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
49
+ # @option opts [String] :end_user_origin_id If provided, will only return linked accounts associated with the given origin ID.
50
+ # @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
51
+ # @option opts [String] :id
52
+ # @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
53
+ # @option opts [Boolean] :include_duplicates If &#x60;true&#x60;, will include complete production duplicates of the account specified by the &#x60;id&#x60; query parameter in the response. &#x60;id&#x60; must be for a complete production linked account.
54
+ # @option opts [String] :integration_name If provided, will only return linked accounts associated with the given integration name.
55
+ # @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
54
56
  # @option opts [Integer] :page_size Number of results to return per page.
55
57
  # @option opts [String] :status Filter by status. Options: &#x60;COMPLETE&#x60;, &#x60;INCOMPLETE&#x60;, &#x60;RELINK_NEEDED&#x60;
56
58
  # @return [Array<(PaginatedAccountDetailsAndActionsList, Integer, Hash)>] PaginatedAccountDetailsAndActionsList data, response status code and response headers
@@ -58,7 +60,7 @@ module MergeATSClient
58
60
  if @api_client.config.debugging
59
61
  @api_client.config.logger.debug 'Calling API: LinkedAccountsApi.linked_accounts_list ...'
60
62
  end
61
- allowable_values = ["accounting", "ats", "hris"]
63
+ allowable_values = ["accounting", "ats", "crm", "hris", "ticketing"]
62
64
  if @api_client.config.client_side_validation && opts[:'category'] && !allowable_values.include?(opts[:'category'])
63
65
  fail ArgumentError, "invalid value for \"category\", must be one of #{allowable_values}"
64
66
  end
@@ -75,6 +77,7 @@ module MergeATSClient
75
77
  query_params[:'end_user_origin_ids'] = opts[:'end_user_origin_ids'] if !opts[:'end_user_origin_ids'].nil?
76
78
  query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
77
79
  query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
80
+ query_params[:'include_duplicates'] = opts[:'include_duplicates'] if !opts[:'include_duplicates'].nil?
78
81
  query_params[:'integration_name'] = opts[:'integration_name'] if !opts[:'integration_name'].nil?
79
82
  query_params[:'is_test_account'] = opts[:'is_test_account'] if !opts[:'is_test_account'].nil?
80
83
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
@@ -28,10 +28,12 @@ module MergeATSClient
28
28
  # @option opts [String] :creator_id If provided, will only return offers created by this user.
29
29
  # @option opts [String] :cursor The pagination cursor value.
30
30
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
31
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
31
32
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
32
33
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
33
34
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
34
35
  # @option opts [Integer] :page_size Number of results to return per page.
36
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
35
37
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
36
38
  # @return [PaginatedOfferList]
37
39
  def offers_list(x_account_token, opts = {})
@@ -48,10 +50,12 @@ module MergeATSClient
48
50
  # @option opts [String] :creator_id If provided, will only return offers created by this user.
49
51
  # @option opts [String] :cursor The pagination cursor value.
50
52
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
53
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
51
54
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
52
55
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
53
56
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
54
57
  # @option opts [Integer] :page_size Number of results to return per page.
58
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
55
59
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
56
60
  # @return [Array<(PaginatedOfferList, Integer, Hash)>] PaginatedOfferList data, response status code and response headers
57
61
  def offers_list_with_http_info(x_account_token, opts = {})
@@ -66,6 +70,10 @@ module MergeATSClient
66
70
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
67
71
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
68
72
  end
73
+ allowable_values = ["status"]
74
+ if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
75
+ fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
76
+ end
69
77
  # resource path
70
78
  local_var_path = '/offers'
71
79
 
@@ -77,10 +85,12 @@ module MergeATSClient
77
85
  query_params[:'creator_id'] = opts[:'creator_id'] if !opts[:'creator_id'].nil?
78
86
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
79
87
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
88
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
80
89
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
81
90
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
82
91
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
83
92
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
93
+ query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
84
94
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
85
95
 
86
96
  # header parameters
@@ -124,6 +134,7 @@ module MergeATSClient
124
134
  # @param [Hash] opts the optional parameters
125
135
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
126
136
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
137
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
127
138
  # @return [Offer]
128
139
  def offers_retrieve(x_account_token, id, opts = {})
129
140
  data, _status_code, _headers = offers_retrieve_with_http_info(x_account_token, id, opts)
@@ -136,6 +147,7 @@ module MergeATSClient
136
147
  # @param [Hash] opts the optional parameters
137
148
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
138
149
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
150
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
139
151
  # @return [Array<(Offer, Integer, Hash)>] Offer data, response status code and response headers
140
152
  def offers_retrieve_with_http_info(x_account_token, id, opts = {})
141
153
  if @api_client.config.debugging
@@ -153,6 +165,10 @@ module MergeATSClient
153
165
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
154
166
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
155
167
  end
168
+ allowable_values = ["status"]
169
+ if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
170
+ fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
171
+ end
156
172
  # resource path
157
173
  local_var_path = '/offers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
158
174
 
@@ -160,6 +176,7 @@ module MergeATSClient
160
176
  query_params = opts[:query_params] || {}
161
177
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
162
178
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
179
+ query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
163
180
 
164
181
  # header parameters
165
182
  header_params = opts[:header_params] || {}