merge_ats_client 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +53 -17
  3. data/docs/AccountDetails.md +34 -0
  4. data/docs/AccountDetailsAndActions.md +34 -0
  5. data/docs/AccountDetailsAndActionsIntegration.md +32 -0
  6. data/docs/AccountDetailsAndActionsStatusEnum.md +15 -0
  7. data/docs/AccountDetailsApi.md +79 -0
  8. data/docs/AccountIntegration.md +4 -4
  9. data/docs/AccountTokenApi.md +2 -2
  10. data/docs/ActivitiesApi.md +6 -4
  11. data/docs/Activity.md +7 -5
  12. data/docs/Application.md +12 -8
  13. data/docs/ApplicationEndpointRequest.md +20 -0
  14. data/docs/ApplicationRequest.md +16 -8
  15. data/docs/ApplicationResponse.md +24 -0
  16. data/docs/ApplicationsApi.md +98 -18
  17. data/docs/Attachment.md +3 -1
  18. data/docs/AttachmentEndpointRequest.md +20 -0
  19. data/docs/AttachmentRequest.md +5 -1
  20. data/docs/AttachmentResponse.md +24 -0
  21. data/docs/AttachmentsApi.md +93 -15
  22. data/docs/AvailableActionsApi.md +2 -2
  23. data/docs/Candidate.md +11 -7
  24. data/docs/CandidateEndpointRequest.md +20 -0
  25. data/docs/CandidateRequest.md +15 -7
  26. data/docs/CandidateResponse.md +24 -0
  27. data/docs/CandidatesApi.md +171 -17
  28. data/docs/CategoriesEnum.md +15 -0
  29. data/docs/CategoryEnum.md +15 -0
  30. data/docs/DataPassthroughRequest.md +8 -4
  31. data/docs/DebugModeLog.md +22 -0
  32. data/docs/DebugModelLogSummary.md +22 -0
  33. data/docs/DeleteAccountApi.md +78 -0
  34. data/docs/Department.md +3 -1
  35. data/docs/DepartmentsApi.md +6 -4
  36. data/docs/EEOC.md +5 -3
  37. data/docs/EeocsApi.md +6 -4
  38. data/docs/EmailAddress.md +1 -1
  39. data/docs/EmailAddressRequest.md +1 -1
  40. data/docs/EncodingEnum.md +15 -0
  41. data/docs/EndUserDetailsRequest.md +5 -3
  42. data/docs/ErrorValidationProblem.md +24 -0
  43. data/docs/ForceResyncApi.md +79 -0
  44. data/docs/GenerateKeyApi.md +2 -2
  45. data/docs/IgnoreCommonModel.md +20 -0
  46. data/docs/IgnoreCommonModelRequest.md +20 -0
  47. data/docs/InterviewsApi.md +6 -84
  48. data/docs/Issue.md +30 -0
  49. data/docs/IssueStatusEnum.md +15 -0
  50. data/docs/IssuesApi.md +177 -0
  51. data/docs/Job.md +13 -7
  52. data/docs/JobInterviewStage.md +4 -2
  53. data/docs/JobInterviewStagesApi.md +8 -6
  54. data/docs/JobsApi.md +9 -5
  55. data/docs/LinkTokenApi.md +3 -3
  56. data/docs/LinkedAccountStatus.md +20 -0
  57. data/docs/LinkedAccountsApi.md +103 -0
  58. data/docs/MetaResponse.md +24 -0
  59. data/docs/MultipartFormFieldRequest.md +26 -0
  60. data/docs/Offer.md +9 -7
  61. data/docs/OffersApi.md +6 -4
  62. data/docs/Office.md +3 -1
  63. data/docs/OfficesApi.md +6 -4
  64. data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
  65. data/docs/PaginatedIssueList.md +22 -0
  66. data/docs/PaginatedSyncStatusList.md +2 -2
  67. data/docs/PassthroughApi.md +2 -2
  68. data/docs/ReasonEnum.md +15 -0
  69. data/docs/RegenerateKeyApi.md +2 -2
  70. data/docs/RejectReason.md +3 -1
  71. data/docs/RejectReasonsApi.md +6 -4
  72. data/docs/RemoteUser.md +4 -2
  73. data/docs/RequestFormatEnum.md +15 -0
  74. data/docs/ScheduledInterview.md +11 -9
  75. data/docs/Scorecard.md +8 -6
  76. data/docs/ScorecardsApi.md +6 -84
  77. data/docs/SyncStatusApi.md +3 -75
  78. data/docs/Tag.md +3 -1
  79. data/docs/TagsApi.md +4 -2
  80. data/docs/UsersApi.md +7 -84
  81. data/docs/ValidationProblemSource.md +18 -0
  82. data/docs/WarningValidationProblem.md +24 -0
  83. data/docs/WebhookReceiver.md +22 -0
  84. data/docs/WebhookReceiverRequest.md +22 -0
  85. data/docs/WebhookReceiversApi.md +153 -0
  86. data/lib/merge_ats_client/api/account_details_api.rb +84 -0
  87. data/lib/merge_ats_client/api/account_token_api.rb +1 -1
  88. data/lib/merge_ats_client/api/activities_api.rb +4 -1
  89. data/lib/merge_ats_client/api/applications_api.rb +87 -16
  90. data/lib/merge_ats_client/api/attachments_api.rb +95 -16
  91. data/lib/merge_ats_client/api/available_actions_api.rb +1 -1
  92. data/lib/merge_ats_client/api/candidates_api.rb +163 -16
  93. data/lib/merge_ats_client/api/delete_account_api.rb +82 -0
  94. data/lib/merge_ats_client/api/departments_api.rb +4 -1
  95. data/lib/merge_ats_client/api/eeocs_api.rb +4 -1
  96. data/lib/merge_ats_client/api/force_resync_api.rb +84 -0
  97. data/lib/merge_ats_client/api/generate_key_api.rb +1 -1
  98. data/lib/merge_ats_client/api/interviews_api.rb +4 -77
  99. data/lib/merge_ats_client/api/issues_api.rb +181 -0
  100. data/lib/merge_ats_client/api/job_interview_stages_api.rb +6 -3
  101. data/lib/merge_ats_client/api/jobs_api.rb +10 -4
  102. data/lib/merge_ats_client/api/link_token_api.rb +1 -1
  103. data/lib/merge_ats_client/api/linked_accounts_api.rb +117 -0
  104. data/lib/merge_ats_client/api/offers_api.rb +4 -1
  105. data/lib/merge_ats_client/api/offices_api.rb +4 -1
  106. data/lib/merge_ats_client/api/passthrough_api.rb +1 -1
  107. data/lib/merge_ats_client/api/regenerate_key_api.rb +1 -1
  108. data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -1
  109. data/lib/merge_ats_client/api/scorecards_api.rb +4 -77
  110. data/lib/merge_ats_client/api/sync_status_api.rb +5 -67
  111. data/lib/merge_ats_client/api/tags_api.rb +4 -1
  112. data/lib/merge_ats_client/api/users_api.rb +4 -77
  113. data/lib/merge_ats_client/api/webhook_receivers_api.rb +154 -0
  114. data/lib/merge_ats_client/api_client.rb +1 -1
  115. data/lib/merge_ats_client/api_error.rb +1 -1
  116. data/lib/merge_ats_client/configuration.rb +7 -5
  117. data/lib/merge_ats_client/models/access_role_enum.rb +1 -1
  118. data/lib/merge_ats_client/models/{end_user_details.rb → account_details.rb} +68 -66
  119. data/lib/merge_ats_client/models/{scheduled_interview_request.rb → account_details_and_actions.rb} +85 -100
  120. data/lib/merge_ats_client/models/account_details_and_actions_integration.rb +310 -0
  121. data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +36 -0
  122. data/lib/merge_ats_client/models/account_integration.rb +7 -29
  123. data/lib/merge_ats_client/models/account_token.rb +2 -2
  124. data/lib/merge_ats_client/models/activity.rb +17 -8
  125. data/lib/merge_ats_client/models/activity_type_enum.rb +1 -1
  126. data/lib/merge_ats_client/models/application.rb +29 -12
  127. data/lib/merge_ats_client/models/application_endpoint_request.rb +237 -0
  128. data/lib/merge_ats_client/models/application_request.rb +70 -13
  129. data/lib/merge_ats_client/models/application_response.rb +266 -0
  130. data/lib/merge_ats_client/models/attachment.rb +16 -7
  131. data/lib/merge_ats_client/models/attachment_endpoint_request.rb +237 -0
  132. data/lib/merge_ats_client/models/attachment_request.rb +31 -7
  133. data/lib/merge_ats_client/models/attachment_response.rb +266 -0
  134. data/lib/merge_ats_client/models/attachment_type_enum.rb +0 -2
  135. data/lib/merge_ats_client/models/available_actions.rb +2 -2
  136. data/lib/merge_ats_client/models/candidate.rb +32 -7
  137. data/lib/merge_ats_client/models/candidate_endpoint_request.rb +237 -0
  138. data/lib/merge_ats_client/models/candidate_request.rb +72 -7
  139. data/lib/merge_ats_client/models/candidate_response.rb +266 -0
  140. data/lib/merge_ats_client/models/categories_enum.rb +38 -0
  141. data/lib/merge_ats_client/models/category_enum.rb +38 -0
  142. data/lib/merge_ats_client/models/data_passthrough_request.rb +81 -10
  143. data/lib/merge_ats_client/models/debug_mode_log.rb +251 -0
  144. data/lib/merge_ats_client/models/{data_passthrough.rb → debug_model_log_summary.rb} +30 -41
  145. data/lib/merge_ats_client/models/department.rb +18 -8
  146. data/lib/merge_ats_client/models/disability_status_enum.rb +1 -1
  147. data/lib/merge_ats_client/models/eeoc.rb +17 -8
  148. data/lib/merge_ats_client/models/email_address.rb +3 -3
  149. data/lib/merge_ats_client/models/email_address_request.rb +3 -3
  150. data/lib/merge_ats_client/models/email_address_type_enum.rb +1 -1
  151. data/lib/merge_ats_client/models/encoding_enum.rb +35 -0
  152. data/lib/merge_ats_client/models/end_user_details_request.rb +148 -29
  153. data/lib/merge_ats_client/models/error_validation_problem.rb +260 -0
  154. data/lib/merge_ats_client/models/gender_enum.rb +1 -1
  155. data/lib/merge_ats_client/models/generate_remote_key_request.rb +21 -2
  156. data/lib/merge_ats_client/models/{remote_user_request.rb → ignore_common_model.rb} +30 -85
  157. data/lib/merge_ats_client/models/ignore_common_model_request.rb +256 -0
  158. data/lib/merge_ats_client/models/{scorecard_request.rb → issue.rb} +56 -62
  159. data/lib/merge_ats_client/models/issue_status_enum.rb +35 -0
  160. data/lib/merge_ats_client/models/job.rb +43 -7
  161. data/lib/merge_ats_client/models/job_interview_stage.rb +17 -8
  162. data/lib/merge_ats_client/models/job_status_enum.rb +1 -1
  163. data/lib/merge_ats_client/models/link_token.rb +2 -2
  164. data/lib/merge_ats_client/models/linked_account_status.rb +237 -0
  165. data/lib/merge_ats_client/models/meta_response.rb +262 -0
  166. data/lib/merge_ats_client/models/method_enum.rb +1 -1
  167. data/lib/merge_ats_client/models/model_operation.rb +2 -2
  168. data/lib/merge_ats_client/models/{patched_application_request.rb → multipart_form_field_request.rb} +120 -88
  169. data/lib/merge_ats_client/models/offer.rb +17 -9
  170. data/lib/merge_ats_client/models/offer_status_enum.rb +1 -1
  171. data/lib/merge_ats_client/models/office.rb +18 -8
  172. data/lib/merge_ats_client/models/overall_recommendation_enum.rb +1 -1
  173. data/lib/merge_ats_client/models/paginated_account_details_and_actions_list.rb +240 -0
  174. data/lib/merge_ats_client/models/paginated_activity_list.rb +2 -2
  175. data/lib/merge_ats_client/models/paginated_application_list.rb +2 -2
  176. data/lib/merge_ats_client/models/paginated_attachment_list.rb +2 -2
  177. data/lib/merge_ats_client/models/paginated_candidate_list.rb +2 -2
  178. data/lib/merge_ats_client/models/paginated_department_list.rb +2 -2
  179. data/lib/merge_ats_client/models/paginated_eeoc_list.rb +2 -2
  180. data/lib/merge_ats_client/models/paginated_issue_list.rb +240 -0
  181. data/lib/merge_ats_client/models/paginated_job_interview_stage_list.rb +2 -2
  182. data/lib/merge_ats_client/models/paginated_job_list.rb +2 -2
  183. data/lib/merge_ats_client/models/paginated_offer_list.rb +2 -2
  184. data/lib/merge_ats_client/models/paginated_office_list.rb +2 -2
  185. data/lib/merge_ats_client/models/paginated_reject_reason_list.rb +2 -2
  186. data/lib/merge_ats_client/models/paginated_remote_user_list.rb +2 -2
  187. data/lib/merge_ats_client/models/paginated_scheduled_interview_list.rb +2 -2
  188. data/lib/merge_ats_client/models/paginated_scorecard_list.rb +2 -2
  189. data/lib/merge_ats_client/models/paginated_sync_status_list.rb +1 -1
  190. data/lib/merge_ats_client/models/paginated_tag_list.rb +2 -2
  191. data/lib/merge_ats_client/models/phone_number.rb +3 -3
  192. data/lib/merge_ats_client/models/phone_number_request.rb +3 -3
  193. data/lib/merge_ats_client/models/phone_number_type_enum.rb +1 -1
  194. data/lib/merge_ats_client/models/race_enum.rb +1 -1
  195. data/lib/merge_ats_client/models/reason_enum.rb +36 -0
  196. data/lib/merge_ats_client/models/reject_reason.rb +18 -8
  197. data/lib/merge_ats_client/models/remote_data.rb +2 -2
  198. data/lib/merge_ats_client/models/remote_data_request.rb +21 -2
  199. data/lib/merge_ats_client/models/remote_key.rb +2 -2
  200. data/lib/merge_ats_client/models/remote_key_for_regeneration_request.rb +21 -2
  201. data/lib/merge_ats_client/models/remote_response.rb +2 -2
  202. data/lib/merge_ats_client/models/remote_user.rb +18 -8
  203. data/lib/merge_ats_client/models/request_format_enum.rb +36 -0
  204. data/lib/merge_ats_client/models/scheduled_interview.rb +18 -10
  205. data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +1 -1
  206. data/lib/merge_ats_client/models/scorecard.rb +17 -10
  207. data/lib/merge_ats_client/models/sync_status.rb +2 -2
  208. data/lib/merge_ats_client/models/sync_status_status_enum.rb +2 -2
  209. data/lib/merge_ats_client/models/tag.rb +18 -8
  210. data/lib/merge_ats_client/models/url.rb +8 -8
  211. data/lib/merge_ats_client/models/url_request.rb +8 -8
  212. data/lib/merge_ats_client/models/url_type_enum.rb +1 -1
  213. data/lib/merge_ats_client/models/{remote_key_for_regeneration.rb → validation_problem_source.rb} +15 -16
  214. data/lib/merge_ats_client/models/veteran_status_enum.rb +1 -1
  215. data/lib/merge_ats_client/models/visibility_enum.rb +1 -1
  216. data/lib/merge_ats_client/models/warning_validation_problem.rb +260 -0
  217. data/lib/merge_ats_client/models/webhook_receiver.rb +246 -0
  218. data/lib/merge_ats_client/models/webhook_receiver_request.rb +280 -0
  219. data/lib/merge_ats_client/version.rb +1 -1
  220. data/lib/merge_ats_client.rb +38 -4
  221. data/merge_ats_client.gemspec +1 -1
  222. data/spec/api/account_details_api_spec.rb +46 -0
  223. data/spec/api/account_token_api_spec.rb +1 -1
  224. data/spec/api/activities_api_spec.rb +4 -1
  225. data/spec/api/applications_api_spec.rb +31 -1
  226. data/spec/api/attachments_api_spec.rb +31 -1
  227. data/spec/api/available_actions_api_spec.rb +1 -1
  228. data/spec/api/candidates_api_spec.rb +44 -1
  229. data/spec/api/departments_api_spec.rb +4 -1
  230. data/spec/api/eeocs_api_spec.rb +4 -1
  231. data/spec/api/force_resync_api_spec.rb +46 -0
  232. data/spec/api/interviews_api_spec.rb +4 -1
  233. data/spec/api/issues_api_spec.rb +9 -5
  234. data/spec/api/job_interview_stages_api_spec.rb +4 -1
  235. data/spec/api/jobs_api_spec.rb +6 -1
  236. data/spec/api/link_token_api_spec.rb +2 -2
  237. data/spec/api/linked_accounts_api_spec.rb +57 -0
  238. data/spec/api/offers_api_spec.rb +4 -1
  239. data/spec/api/offices_api_spec.rb +4 -1
  240. data/spec/api/passthrough_api_spec.rb +2 -2
  241. data/spec/api/regenerate_key_api_spec.rb +3 -5
  242. data/spec/api/reject_reasons_api_spec.rb +4 -1
  243. data/spec/api/scorecards_api_spec.rb +4 -1
  244. data/spec/api/sync_status_api_spec.rb +8 -5
  245. data/spec/api/tags_api_spec.rb +3 -1
  246. data/spec/api/users_api_spec.rb +5 -1
  247. data/spec/api/webhook_receivers_api_spec.rb +58 -0
  248. data/spec/api_client_spec.rb +1 -1
  249. data/spec/configuration_spec.rb +1 -1
  250. data/spec/models/access_role_enum_spec.rb +1 -1
  251. data/spec/models/{scorecard_request_spec.rb → account_details_and_actions_integration_spec.rb} +19 -13
  252. data/spec/models/{scheduled_interview_request_spec.rb → account_details_and_actions_spec.rb} +15 -27
  253. data/spec/models/account_details_and_actions_status_enum_spec.rb +28 -0
  254. data/spec/models/{patched_application_request_spec.rb → account_details_spec.rb} +16 -16
  255. data/spec/models/account_integration_spec.rb +7 -1
  256. data/spec/models/account_token_spec.rb +7 -1
  257. data/spec/models/activity_spec.rb +13 -1
  258. data/spec/models/activity_type_enum_spec.rb +1 -1
  259. data/spec/models/application_endpoint_request_spec.rb +40 -0
  260. data/spec/models/application_request_spec.rb +25 -1
  261. data/spec/models/{end_user_details_spec.rb → application_response_spec.rb} +11 -15
  262. data/spec/models/application_spec.rb +19 -7
  263. data/spec/models/attachment_endpoint_request_spec.rb +40 -0
  264. data/spec/models/attachment_request_spec.rb +12 -0
  265. data/spec/models/attachment_response_spec.rb +52 -0
  266. data/spec/models/attachment_spec.rb +25 -1
  267. data/spec/models/available_actions_spec.rb +1 -1
  268. data/spec/models/candidate_endpoint_request_spec.rb +40 -0
  269. data/spec/models/candidate_request_spec.rb +37 -1
  270. data/spec/models/{data_passthrough_spec.rb → candidate_response_spec.rb} +11 -11
  271. data/spec/models/candidate_spec.rb +19 -1
  272. data/spec/models/categories_enum_spec.rb +28 -0
  273. data/spec/models/category_enum_spec.rb +28 -0
  274. data/spec/models/data_passthrough_request_spec.rb +13 -1
  275. data/spec/models/debug_mode_log_spec.rb +46 -0
  276. data/spec/models/debug_model_log_summary_spec.rb +46 -0
  277. data/spec/models/department_spec.rb +13 -1
  278. data/spec/models/disability_status_enum_spec.rb +1 -1
  279. data/spec/models/eeoc_spec.rb +13 -1
  280. data/spec/models/email_address_request_spec.rb +1 -1
  281. data/spec/models/email_address_spec.rb +1 -1
  282. data/spec/models/email_address_type_enum_spec.rb +1 -1
  283. data/spec/models/encoding_enum_spec.rb +28 -0
  284. data/spec/models/end_user_details_request_spec.rb +13 -5
  285. data/spec/models/error_validation_problem_spec.rb +52 -0
  286. data/spec/models/gender_enum_spec.rb +1 -1
  287. data/spec/models/ignore_common_model_request_spec.rb +40 -0
  288. data/spec/models/ignore_common_model_spec.rb +40 -0
  289. data/spec/models/job_interview_stage_spec.rb +13 -1
  290. data/spec/models/job_spec.rb +31 -1
  291. data/spec/models/job_status_enum_spec.rb +1 -1
  292. data/spec/models/link_token_spec.rb +1 -1
  293. data/spec/models/linked_account_status_spec.rb +40 -0
  294. data/spec/models/meta_response_spec.rb +52 -0
  295. data/spec/models/method_enum_spec.rb +1 -1
  296. data/spec/models/model_operation_spec.rb +13 -1
  297. data/spec/models/{remote_user_request_spec.rb → multipart_form_field_request_spec.rb} +11 -23
  298. data/spec/models/offer_spec.rb +13 -1
  299. data/spec/models/offer_status_enum_spec.rb +1 -1
  300. data/spec/models/office_spec.rb +13 -1
  301. data/spec/models/overall_recommendation_enum_spec.rb +1 -1
  302. data/spec/models/paginated_account_details_and_actions_list_spec.rb +46 -0
  303. data/spec/models/paginated_activity_list_spec.rb +1 -1
  304. data/spec/models/paginated_application_list_spec.rb +1 -1
  305. data/spec/models/paginated_attachment_list_spec.rb +1 -1
  306. data/spec/models/paginated_candidate_list_spec.rb +1 -1
  307. data/spec/models/paginated_department_list_spec.rb +1 -1
  308. data/spec/models/paginated_eeoc_list_spec.rb +1 -1
  309. data/spec/models/paginated_job_interview_stage_list_spec.rb +1 -1
  310. data/spec/models/paginated_job_list_spec.rb +1 -1
  311. data/spec/models/paginated_offer_list_spec.rb +1 -1
  312. data/spec/models/paginated_office_list_spec.rb +1 -1
  313. data/spec/models/paginated_reject_reason_list_spec.rb +1 -1
  314. data/spec/models/paginated_remote_user_list_spec.rb +1 -1
  315. data/spec/models/paginated_scheduled_interview_list_spec.rb +1 -1
  316. data/spec/models/paginated_scorecard_list_spec.rb +1 -1
  317. data/spec/models/paginated_tag_list_spec.rb +1 -1
  318. data/spec/models/phone_number_request_spec.rb +1 -1
  319. data/spec/models/phone_number_spec.rb +1 -1
  320. data/spec/models/phone_number_type_enum_spec.rb +1 -1
  321. data/spec/models/race_enum_spec.rb +1 -1
  322. data/spec/models/reason_enum_spec.rb +28 -0
  323. data/spec/models/reject_reason_spec.rb +13 -1
  324. data/spec/models/remote_data_spec.rb +1 -1
  325. data/spec/models/remote_key_for_regeneration_request_spec.rb +1 -1
  326. data/spec/models/remote_key_spec.rb +1 -1
  327. data/spec/models/remote_response_spec.rb +1 -1
  328. data/spec/models/remote_user_spec.rb +13 -1
  329. data/spec/models/request_format_enum_spec.rb +28 -0
  330. data/spec/models/scheduled_interview_spec.rb +13 -1
  331. data/spec/models/scheduled_interview_status_enum_spec.rb +1 -1
  332. data/spec/models/scorecard_spec.rb +13 -1
  333. data/spec/models/sync_status_spec.rb +1 -1
  334. data/spec/models/tag_spec.rb +13 -1
  335. data/spec/models/url_request_spec.rb +1 -1
  336. data/spec/models/url_spec.rb +1 -1
  337. data/spec/models/url_type_enum_spec.rb +1 -1
  338. data/spec/models/{remote_key_for_regeneration_spec.rb → validation_problem_source_spec.rb} +8 -8
  339. data/spec/models/veteran_status_enum_spec.rb +1 -1
  340. data/spec/models/visibility_enum_spec.rb +1 -1
  341. data/spec/models/warning_validation_problem_spec.rb +52 -0
  342. data/spec/models/webhook_receiver_request_spec.rb +46 -0
  343. data/spec/models/webhook_receiver_spec.rb +46 -0
  344. data/spec/spec_helper.rb +1 -1
  345. metadata +220 -113
  346. data/config.json +0 -2
  347. data/docs/DataPassthrough.md +0 -24
  348. data/docs/EndUserDetails.md +0 -24
  349. data/docs/PatchedApplicationRequest.md +0 -34
  350. data/docs/RemoteKeyForRegeneration.md +0 -18
  351. data/docs/RemoteUserRequest.md +0 -30
  352. data/docs/ScheduledInterviewRequest.md +0 -38
  353. data/docs/ScorecardRequest.md +0 -30
  354. data/test_ats.rb +0 -22
  355. data/test_signature.rb +0 -32
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -28,6 +28,7 @@ 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 deleted in the third-party service.
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.
@@ -48,6 +49,7 @@ module MergeATSClient
48
49
  # @option opts [String] :creator_id If provided, will only return offers created by this user.
49
50
  # @option opts [String] :cursor The pagination cursor value.
50
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 deleted in the third-party service.
51
53
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
52
54
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
53
55
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -77,6 +79,7 @@ module MergeATSClient
77
79
  query_params[:'creator_id'] = opts[:'creator_id'] if !opts[:'creator_id'].nil?
78
80
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
79
81
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
82
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
80
83
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
81
84
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
82
85
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -25,6 +25,7 @@ module MergeATSClient
25
25
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
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
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
28
29
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
29
30
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
30
31
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -42,6 +43,7 @@ module MergeATSClient
42
43
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
43
44
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
44
45
  # @option opts [String] :cursor The pagination cursor value.
46
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
45
47
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
48
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
49
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -64,6 +66,7 @@ module MergeATSClient
64
66
  query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
65
67
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
66
68
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
69
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
67
70
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
68
71
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
69
72
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -25,6 +25,7 @@ module MergeATSClient
25
25
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
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
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
28
29
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
29
30
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
30
31
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -42,6 +43,7 @@ module MergeATSClient
42
43
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
43
44
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
44
45
  # @option opts [String] :cursor The pagination cursor value.
46
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
45
47
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
48
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
49
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -64,6 +66,7 @@ module MergeATSClient
64
66
  query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
65
67
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
66
68
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
69
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
67
70
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
68
71
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
69
72
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -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 `Scorecard` 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 [ScorecardRequest] :scorecard_request
28
- # @return [Scorecard]
29
- def scorecards_create(x_account_token, remote_user_id, opts = {})
30
- data, _status_code, _headers = scorecards_create_with_http_info(x_account_token, remote_user_id, opts)
31
- data
32
- end
33
-
34
- # Creates a `Scorecard` 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 [ScorecardRequest] :scorecard_request
40
- # @return [Array<(Scorecard, Integer, Hash)>] Scorecard data, response status code and response headers
41
- def scorecards_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: ScorecardsApi.scorecards_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 ScorecardsApi.scorecards_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 ScorecardsApi.scorecards_create"
52
- end
53
- # resource path
54
- local_var_path = '/scorecards'
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[:'scorecard_request'])
74
-
75
- # return_type
76
- return_type = opts[:debug_return_type] || 'Scorecard'
77
-
78
- # auth_names
79
- auth_names = opts[:debug_auth_names] || ['tokenAuth']
80
-
81
- new_options = opts.merge(
82
- :operation => :"ScorecardsApi.scorecards_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: ScorecardsApi#scorecards_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 `Scorecard` objects.
99
23
  # @param x_account_token [String] Token identifying the end user.
100
24
  # @param [Hash] opts the optional parameters
@@ -103,6 +27,7 @@ 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 deleted in the third-party service.
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] :interview_id If provided, will only return scorecards for this interview.
108
33
  # @option opts [String] :interviewer_id If provided, will only return scorecards for this interviewer.
@@ -124,6 +49,7 @@ module MergeATSClient
124
49
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
125
50
  # @option opts [String] :cursor The pagination cursor value.
126
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 deleted in the third-party service.
127
53
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
128
54
  # @option opts [String] :interview_id If provided, will only return scorecards for this interview.
129
55
  # @option opts [String] :interviewer_id If provided, will only return scorecards for this interviewer.
@@ -154,6 +80,7 @@ module MergeATSClient
154
80
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
155
81
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
156
82
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
83
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
157
84
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
158
85
  query_params[:'interview_id'] = opts[:'interview_id'] if !opts[:'interview_id'].nil?
159
86
  query_params[:'interviewer_id'] = opts[:'interviewer_id'] if !opts[:'interviewer_id'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -19,10 +19,10 @@ module MergeATSClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Get syncing status.
22
+ # Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `SYNCING`
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [Integer] :cursor The pagination cursor value.
25
+ # @option opts [String] :cursor The pagination cursor value.
26
26
  # @option opts [Integer] :page_size Number of results to return per page.
27
27
  # @return [PaginatedSyncStatusList]
28
28
  def sync_status_list(x_account_token, opts = {})
@@ -30,10 +30,10 @@ module MergeATSClient
30
30
  data
31
31
  end
32
32
 
33
- # Get syncing status.
33
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;SYNCING&#x60;
34
34
  # @param x_account_token [String] Token identifying the end user.
35
35
  # @param [Hash] opts the optional parameters
36
- # @option opts [Integer] :cursor The pagination cursor value.
36
+ # @option opts [String] :cursor The pagination cursor value.
37
37
  # @option opts [Integer] :page_size Number of results to return per page.
38
38
  # @return [Array<(PaginatedSyncStatusList, Integer, Hash)>] PaginatedSyncStatusList data, response status code and response headers
39
39
  def sync_status_list_with_http_info(x_account_token, opts = {})
@@ -86,67 +86,5 @@ module MergeATSClient
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
89
-
90
- # Force resync of all models.
91
- # @param x_account_token [String] Token identifying the end user.
92
- # @param [Hash] opts the optional parameters
93
- # @return [SyncStatus]
94
- def sync_status_resync_create(x_account_token, opts = {})
95
- data, _status_code, _headers = sync_status_resync_create_with_http_info(x_account_token, opts)
96
- data
97
- end
98
-
99
- # Force resync of all models.
100
- # @param x_account_token [String] Token identifying the end user.
101
- # @param [Hash] opts the optional parameters
102
- # @return [Array<(SyncStatus, Integer, Hash)>] SyncStatus data, response status code and response headers
103
- def sync_status_resync_create_with_http_info(x_account_token, opts = {})
104
- if @api_client.config.debugging
105
- @api_client.config.logger.debug 'Calling API: SyncStatusApi.sync_status_resync_create ...'
106
- end
107
- # verify the required parameter 'x_account_token' is set
108
- if @api_client.config.client_side_validation && x_account_token.nil?
109
- fail ArgumentError, "Missing the required parameter 'x_account_token' when calling SyncStatusApi.sync_status_resync_create"
110
- end
111
- # resource path
112
- local_var_path = '/sync-status/resync'
113
-
114
- # query parameters
115
- query_params = opts[:query_params] || {}
116
-
117
- # header parameters
118
- header_params = opts[:header_params] || {}
119
- # HTTP header 'Accept' (if needed)
120
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
121
- header_params[:'X-Account-Token'] = x_account_token
122
-
123
- # form parameters
124
- form_params = opts[:form_params] || {}
125
-
126
- # http body (model)
127
- post_body = opts[:debug_body]
128
-
129
- # return_type
130
- return_type = opts[:debug_return_type] || 'SyncStatus'
131
-
132
- # auth_names
133
- auth_names = opts[:debug_auth_names] || ['tokenAuth']
134
-
135
- new_options = opts.merge(
136
- :operation => :"SyncStatusApi.sync_status_resync_create",
137
- :header_params => header_params,
138
- :query_params => query_params,
139
- :form_params => form_params,
140
- :body => post_body,
141
- :auth_names => auth_names,
142
- :return_type => return_type
143
- )
144
-
145
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
146
- if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: SyncStatusApi#sync_status_resync_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
- end
149
- return data, status_code, headers
150
- end
151
89
  end
152
90
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -25,6 +25,7 @@ module MergeATSClient
25
25
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
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
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
28
29
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
29
30
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
30
31
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -42,6 +43,7 @@ module MergeATSClient
42
43
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
43
44
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
44
45
  # @option opts [String] :cursor The pagination cursor value.
46
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
45
47
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
48
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
49
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -64,6 +66,7 @@ module MergeATSClient
64
66
  query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
65
67
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
66
68
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
69
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
67
70
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
68
71
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
69
72
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -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 `RemoteUser` 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 [RemoteUserRequest] :remote_user_request
28
- # @return [RemoteUser]
29
- def users_create(x_account_token, remote_user_id, opts = {})
30
- data, _status_code, _headers = users_create_with_http_info(x_account_token, remote_user_id, opts)
31
- data
32
- end
33
-
34
- # Creates a &#x60;RemoteUser&#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 [RemoteUserRequest] :remote_user_request
40
- # @return [Array<(RemoteUser, Integer, Hash)>] RemoteUser data, response status code and response headers
41
- def users_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: UsersApi.users_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 UsersApi.users_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 UsersApi.users_create"
52
- end
53
- # resource path
54
- local_var_path = '/users'
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[:'remote_user_request'])
74
-
75
- # return_type
76
- return_type = opts[:debug_return_type] || 'RemoteUser'
77
-
78
- # auth_names
79
- auth_names = opts[:debug_auth_names] || ['tokenAuth']
80
-
81
- new_options = opts.merge(
82
- :operation => :"UsersApi.users_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: UsersApi#users_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 `RemoteUser` objects.
99
23
  # @param x_account_token [String] Token identifying the end user.
100
24
  # @param [Hash] opts the optional parameters
@@ -102,6 +26,7 @@ module MergeATSClient
102
26
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
103
27
  # @option opts [String] :cursor The pagination cursor value.
104
28
  # @option opts [String] :email If provided, will only return remote users with the given email address
29
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
105
30
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
106
31
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
107
32
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -120,6 +45,7 @@ module MergeATSClient
120
45
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
121
46
  # @option opts [String] :cursor The pagination cursor value.
122
47
  # @option opts [String] :email If provided, will only return remote users with the given email address
48
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was deleted in the third-party service.
123
49
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
124
50
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
125
51
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -143,6 +69,7 @@ module MergeATSClient
143
69
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
144
70
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
145
71
  query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
72
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
146
73
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
147
74
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
148
75
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
@@ -0,0 +1,154 @@
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 WebhookReceiversApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Creates a `WebhookReceiver` object with the given values.
23
+ # @param x_account_token [String] Token identifying the end user.
24
+ # @param webhook_receiver_request [WebhookReceiverRequest]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [WebhookReceiver]
27
+ def webhook_receivers_create(x_account_token, webhook_receiver_request, opts = {})
28
+ data, _status_code, _headers = webhook_receivers_create_with_http_info(x_account_token, webhook_receiver_request, opts)
29
+ data
30
+ end
31
+
32
+ # Creates a &#x60;WebhookReceiver&#x60; object with the given values.
33
+ # @param x_account_token [String] Token identifying the end user.
34
+ # @param webhook_receiver_request [WebhookReceiverRequest]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(WebhookReceiver, Integer, Hash)>] WebhookReceiver data, response status code and response headers
37
+ def webhook_receivers_create_with_http_info(x_account_token, webhook_receiver_request, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: WebhookReceiversApi.webhook_receivers_create ...'
40
+ end
41
+ # verify the required parameter 'x_account_token' is set
42
+ if @api_client.config.client_side_validation && x_account_token.nil?
43
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling WebhookReceiversApi.webhook_receivers_create"
44
+ end
45
+ # verify the required parameter 'webhook_receiver_request' is set
46
+ if @api_client.config.client_side_validation && webhook_receiver_request.nil?
47
+ fail ArgumentError, "Missing the required parameter 'webhook_receiver_request' when calling WebhookReceiversApi.webhook_receivers_create"
48
+ end
49
+ # resource path
50
+ local_var_path = '/webhook-receivers'
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+
55
+ # header parameters
56
+ header_params = opts[:header_params] || {}
57
+ # HTTP header 'Accept' (if needed)
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
59
+ # HTTP header 'Content-Type'
60
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
61
+ header_params[:'X-Account-Token'] = x_account_token
62
+
63
+ # form parameters
64
+ form_params = opts[:form_params] || {}
65
+
66
+ # http body (model)
67
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(webhook_receiver_request)
68
+
69
+ # return_type
70
+ return_type = opts[:debug_return_type] || 'WebhookReceiver'
71
+
72
+ # auth_names
73
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
74
+
75
+ new_options = opts.merge(
76
+ :operation => :"WebhookReceiversApi.webhook_receivers_create",
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: WebhookReceiversApi#webhook_receivers_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+
92
+ # Returns a list of `WebhookReceiver` objects.
93
+ # @param x_account_token [String] Token identifying the end user.
94
+ # @param [Hash] opts the optional parameters
95
+ # @return [Array<WebhookReceiver>]
96
+ def webhook_receivers_list(x_account_token, opts = {})
97
+ data, _status_code, _headers = webhook_receivers_list_with_http_info(x_account_token, opts)
98
+ data
99
+ end
100
+
101
+ # Returns a list of &#x60;WebhookReceiver&#x60; objects.
102
+ # @param x_account_token [String] Token identifying the end user.
103
+ # @param [Hash] opts the optional parameters
104
+ # @return [Array<(Array<WebhookReceiver>, Integer, Hash)>] Array<WebhookReceiver> data, response status code and response headers
105
+ def webhook_receivers_list_with_http_info(x_account_token, opts = {})
106
+ if @api_client.config.debugging
107
+ @api_client.config.logger.debug 'Calling API: WebhookReceiversApi.webhook_receivers_list ...'
108
+ end
109
+ # verify the required parameter 'x_account_token' is set
110
+ if @api_client.config.client_side_validation && x_account_token.nil?
111
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling WebhookReceiversApi.webhook_receivers_list"
112
+ end
113
+ # resource path
114
+ local_var_path = '/webhook-receivers'
115
+
116
+ # query parameters
117
+ query_params = opts[:query_params] || {}
118
+
119
+ # header parameters
120
+ header_params = opts[:header_params] || {}
121
+ # HTTP header 'Accept' (if needed)
122
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
123
+ header_params[:'X-Account-Token'] = x_account_token
124
+
125
+ # form parameters
126
+ form_params = opts[:form_params] || {}
127
+
128
+ # http body (model)
129
+ post_body = opts[:debug_body]
130
+
131
+ # return_type
132
+ return_type = opts[:debug_return_type] || 'Array<WebhookReceiver>'
133
+
134
+ # auth_names
135
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
136
+
137
+ new_options = opts.merge(
138
+ :operation => :"WebhookReceiversApi.webhook_receivers_list",
139
+ :header_params => header_params,
140
+ :query_params => query_params,
141
+ :form_params => form_params,
142
+ :body => post_body,
143
+ :auth_names => auth_names,
144
+ :return_type => return_type
145
+ )
146
+
147
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
148
+ if @api_client.config.debugging
149
+ @api_client.config.logger.debug "API called: WebhookReceiversApi#webhook_receivers_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
150
+ end
151
+ return data, status_code, headers
152
+ end
153
+ end
154
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: hello@merge.dev
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12