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
@@ -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
 
@@ -14,44 +14,19 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- class EndUserDetails
18
- attr_accessor :end_user_email_address
17
+ class WebhookReceiverRequest
18
+ attr_accessor :event
19
19
 
20
- attr_accessor :end_user_organization_name
20
+ attr_accessor :is_active
21
21
 
22
- attr_accessor :end_user_origin_id
23
-
24
- attr_accessor :categories
25
-
26
- class EnumAttributeValidator
27
- attr_reader :datatype
28
- attr_reader :allowable_values
29
-
30
- def initialize(datatype, allowable_values)
31
- @allowable_values = allowable_values.map do |value|
32
- case datatype.to_s
33
- when /Integer/i
34
- value.to_i
35
- when /Float/i
36
- value.to_f
37
- else
38
- value
39
- end
40
- end
41
- end
42
-
43
- def valid?(value)
44
- !value || allowable_values.include?(value)
45
- end
46
- end
22
+ attr_accessor :key
47
23
 
48
24
  # Attribute mapping from ruby-style variable name to JSON key.
49
25
  def self.attribute_map
50
26
  {
51
- :'end_user_email_address' => :'end_user_email_address',
52
- :'end_user_organization_name' => :'end_user_organization_name',
53
- :'end_user_origin_id' => :'end_user_origin_id',
54
- :'categories' => :'categories'
27
+ :'event' => :'event',
28
+ :'is_active' => :'is_active',
29
+ :'key' => :'key'
55
30
  }
56
31
  end
57
32
 
@@ -63,10 +38,9 @@ module MergeATSClient
63
38
  # Attribute type mapping.
64
39
  def self.openapi_types
65
40
  {
66
- :'end_user_email_address' => :'String',
67
- :'end_user_organization_name' => :'String',
68
- :'end_user_origin_id' => :'String',
69
- :'categories' => :'Array<String>'
41
+ :'event' => :'String',
42
+ :'is_active' => :'Boolean',
43
+ :'key' => :'String'
70
44
  }
71
45
  end
72
46
 
@@ -80,33 +54,27 @@ module MergeATSClient
80
54
  # @param [Hash] attributes Model attributes in the form of hash
81
55
  def initialize(attributes = {})
82
56
  if (!attributes.is_a?(Hash))
83
- fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::EndUserDetails` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::WebhookReceiverRequest` initialize method"
84
58
  end
85
59
 
86
60
  # check to see if the attribute exists and convert string to symbol for hash key
87
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
88
62
  if (!self.class.attribute_map.key?(k.to_sym))
89
- fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::EndUserDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::WebhookReceiverRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
90
64
  end
91
65
  h[k.to_sym] = v
92
66
  }
93
67
 
94
- if attributes.key?(:'end_user_email_address')
95
- self.end_user_email_address = attributes[:'end_user_email_address']
68
+ if attributes.key?(:'event')
69
+ self.event = attributes[:'event']
96
70
  end
97
71
 
98
- if attributes.key?(:'end_user_organization_name')
99
- self.end_user_organization_name = attributes[:'end_user_organization_name']
72
+ if attributes.key?(:'is_active')
73
+ self.is_active = attributes[:'is_active']
100
74
  end
101
75
 
102
- if attributes.key?(:'end_user_origin_id')
103
- self.end_user_origin_id = attributes[:'end_user_origin_id']
104
- end
105
-
106
- if attributes.key?(:'categories')
107
- if (value = attributes[:'categories']).is_a?(Array)
108
- self.categories = value
109
- end
76
+ if attributes.key?(:'key')
77
+ self.key = attributes[:'key']
110
78
  end
111
79
  end
112
80
 
@@ -114,20 +82,20 @@ module MergeATSClient
114
82
  # @return Array for valid properties with the reasons
115
83
  def list_invalid_properties
116
84
  invalid_properties = Array.new
117
- if @end_user_email_address.nil?
118
- invalid_properties.push('invalid value for "end_user_email_address", end_user_email_address cannot be nil.')
85
+ if @event.nil?
86
+ invalid_properties.push('invalid value for "event", event cannot be nil.')
119
87
  end
120
88
 
121
- if @end_user_organization_name.nil?
122
- invalid_properties.push('invalid value for "end_user_organization_name", end_user_organization_name cannot be nil.')
89
+ if @event.to_s.length < 1
90
+ invalid_properties.push('invalid value for "event", the character length must be great than or equal to 1.')
123
91
  end
124
92
 
125
- if @end_user_origin_id.nil?
126
- invalid_properties.push('invalid value for "end_user_origin_id", end_user_origin_id cannot be nil.')
93
+ if @is_active.nil?
94
+ invalid_properties.push('invalid value for "is_active", is_active cannot be nil.')
127
95
  end
128
96
 
129
- if @categories.nil?
130
- invalid_properties.push('invalid value for "categories", categories cannot be nil.')
97
+ if !@key.nil? && @key.to_s.length < 1
98
+ invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
131
99
  end
132
100
 
133
101
  invalid_properties
@@ -136,22 +104,45 @@ module MergeATSClient
136
104
  # Check to see if the all the properties in the model are valid
137
105
  # @return true if the model is valid
138
106
  def valid?
139
- return false if @end_user_email_address.nil?
140
- return false if @end_user_organization_name.nil?
141
- return false if @end_user_origin_id.nil?
142
- return false if @categories.nil?
107
+ return false if @event.nil?
108
+ return false if @event.to_s.length < 1
109
+ return false if @is_active.nil?
110
+ return false if !@key.nil? && @key.to_s.length < 1
143
111
  true
144
112
  end
145
113
 
114
+ # Custom attribute writer method with validation
115
+ # @param [Object] event Value to be assigned
116
+ def event=(event)
117
+ if event.nil?
118
+ fail ArgumentError, 'event cannot be nil'
119
+ end
120
+
121
+ if event.to_s.length < 1
122
+ fail ArgumentError, 'invalid value for "event", the character length must be great than or equal to 1.'
123
+ end
124
+
125
+ @event = event
126
+ end
127
+
128
+ # Custom attribute writer method with validation
129
+ # @param [Object] key Value to be assigned
130
+ def key=(key)
131
+ if !key.nil? && key.to_s.length < 1
132
+ fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
133
+ end
134
+
135
+ @key = key
136
+ end
137
+
146
138
  # Checks equality by comparing each attribute.
147
139
  # @param [Object] Object to be compared
148
140
  def ==(o)
149
141
  return true if self.equal?(o)
150
142
  self.class == o.class &&
151
- end_user_email_address == o.end_user_email_address &&
152
- end_user_organization_name == o.end_user_organization_name &&
153
- end_user_origin_id == o.end_user_origin_id &&
154
- categories == o.categories
143
+ event == o.event &&
144
+ is_active == o.is_active &&
145
+ key == o.key
155
146
  end
156
147
 
157
148
  # @see the `==` method
@@ -163,7 +154,7 @@ module MergeATSClient
163
154
  # Calculates hash code according to all attributes.
164
155
  # @return [Integer] Hash code
165
156
  def hash
166
- [end_user_email_address, end_user_organization_name, end_user_origin_id, categories].hash
157
+ [event, is_active, key].hash
167
158
  end
168
159
 
169
160
  # Builds the object from hash
@@ -206,7 +197,7 @@ module MergeATSClient
206
197
  when :Date
207
198
  Date.parse(value)
208
199
  when :String
209
- value.to_s
200
+ value
210
201
  when :Integer
211
202
  value.to_i
212
203
  when :Float
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module MergeATSClient
14
- VERSION = '1.0.4'
14
+ VERSION = '2.0.1'
15
15
  end
@@ -27,33 +27,48 @@ require 'merge_ats_client/models/account_token'
27
27
  require 'merge_ats_client/models/activity'
28
28
  require 'merge_ats_client/models/activity_type_enum'
29
29
  require 'merge_ats_client/models/application'
30
+ require 'merge_ats_client/models/application_endpoint_request'
30
31
  require 'merge_ats_client/models/application_request'
32
+ require 'merge_ats_client/models/application_response'
31
33
  require 'merge_ats_client/models/attachment'
34
+ require 'merge_ats_client/models/attachment_endpoint_request'
32
35
  require 'merge_ats_client/models/attachment_request'
36
+ require 'merge_ats_client/models/attachment_response'
33
37
  require 'merge_ats_client/models/attachment_type_enum'
34
38
  require 'merge_ats_client/models/available_actions'
35
39
  require 'merge_ats_client/models/candidate'
40
+ require 'merge_ats_client/models/candidate_endpoint_request'
36
41
  require 'merge_ats_client/models/candidate_request'
42
+ require 'merge_ats_client/models/candidate_response'
37
43
  require 'merge_ats_client/models/categories_enum'
38
44
  require 'merge_ats_client/models/category_enum'
39
45
  require 'merge_ats_client/models/data_passthrough_request'
46
+ require 'merge_ats_client/models/debug_mode_log'
47
+ require 'merge_ats_client/models/debug_model_log_summary'
40
48
  require 'merge_ats_client/models/department'
41
49
  require 'merge_ats_client/models/disability_status_enum'
42
50
  require 'merge_ats_client/models/eeoc'
43
51
  require 'merge_ats_client/models/email_address'
44
52
  require 'merge_ats_client/models/email_address_request'
45
53
  require 'merge_ats_client/models/email_address_type_enum'
54
+ require 'merge_ats_client/models/encoding_enum'
46
55
  require 'merge_ats_client/models/end_user_details_request'
56
+ require 'merge_ats_client/models/error_validation_problem'
47
57
  require 'merge_ats_client/models/gender_enum'
48
58
  require 'merge_ats_client/models/generate_remote_key_request'
59
+ require 'merge_ats_client/models/ignore_common_model'
60
+ require 'merge_ats_client/models/ignore_common_model_request'
49
61
  require 'merge_ats_client/models/issue'
50
62
  require 'merge_ats_client/models/issue_status_enum'
51
63
  require 'merge_ats_client/models/job'
52
64
  require 'merge_ats_client/models/job_interview_stage'
53
65
  require 'merge_ats_client/models/job_status_enum'
54
66
  require 'merge_ats_client/models/link_token'
67
+ require 'merge_ats_client/models/linked_account_status'
68
+ require 'merge_ats_client/models/meta_response'
55
69
  require 'merge_ats_client/models/method_enum'
56
70
  require 'merge_ats_client/models/model_operation'
71
+ require 'merge_ats_client/models/multipart_form_field_request'
57
72
  require 'merge_ats_client/models/offer'
58
73
  require 'merge_ats_client/models/offer_status_enum'
59
74
  require 'merge_ats_client/models/office'
@@ -80,28 +95,31 @@ require 'merge_ats_client/models/phone_number'
80
95
  require 'merge_ats_client/models/phone_number_request'
81
96
  require 'merge_ats_client/models/phone_number_type_enum'
82
97
  require 'merge_ats_client/models/race_enum'
98
+ require 'merge_ats_client/models/reason_enum'
83
99
  require 'merge_ats_client/models/reject_reason'
84
100
  require 'merge_ats_client/models/remote_data'
85
- require 'merge_ats_client/models/remote_data_request'
86
101
  require 'merge_ats_client/models/remote_key'
87
102
  require 'merge_ats_client/models/remote_key_for_regeneration_request'
88
103
  require 'merge_ats_client/models/remote_response'
89
104
  require 'merge_ats_client/models/remote_user'
90
- require 'merge_ats_client/models/remote_user_request'
91
105
  require 'merge_ats_client/models/request_format_enum'
106
+ require 'merge_ats_client/models/response_type_enum'
92
107
  require 'merge_ats_client/models/scheduled_interview'
93
- require 'merge_ats_client/models/scheduled_interview_request'
94
108
  require 'merge_ats_client/models/scheduled_interview_status_enum'
95
109
  require 'merge_ats_client/models/scorecard'
96
- require 'merge_ats_client/models/scorecard_request'
97
110
  require 'merge_ats_client/models/sync_status'
98
111
  require 'merge_ats_client/models/sync_status_status_enum'
99
112
  require 'merge_ats_client/models/tag'
113
+ require 'merge_ats_client/models/update_application_stage_request'
100
114
  require 'merge_ats_client/models/url'
101
115
  require 'merge_ats_client/models/url_request'
102
116
  require 'merge_ats_client/models/url_type_enum'
117
+ require 'merge_ats_client/models/validation_problem_source'
103
118
  require 'merge_ats_client/models/veteran_status_enum'
104
119
  require 'merge_ats_client/models/visibility_enum'
120
+ require 'merge_ats_client/models/warning_validation_problem'
121
+ require 'merge_ats_client/models/webhook_receiver'
122
+ require 'merge_ats_client/models/webhook_receiver_request'
105
123
 
106
124
  # APIs
107
125
  require 'merge_ats_client/api/account_details_api'
@@ -114,6 +132,7 @@ require 'merge_ats_client/api/candidates_api'
114
132
  require 'merge_ats_client/api/delete_account_api'
115
133
  require 'merge_ats_client/api/departments_api'
116
134
  require 'merge_ats_client/api/eeocs_api'
135
+ require 'merge_ats_client/api/force_resync_api'
117
136
  require 'merge_ats_client/api/generate_key_api'
118
137
  require 'merge_ats_client/api/interviews_api'
119
138
  require 'merge_ats_client/api/issues_api'
@@ -130,6 +149,7 @@ require 'merge_ats_client/api/scorecards_api'
130
149
  require 'merge_ats_client/api/sync_status_api'
131
150
  require 'merge_ats_client/api/tags_api'
132
151
  require 'merge_ats_client/api/users_api'
152
+ require 'merge_ats_client/api/webhook_receivers_api'
133
153
 
134
154
  module MergeATSClient
135
155
  class << self
@@ -34,6 +34,7 @@ describe 'AccountDetailsApi' do
34
34
 
35
35
  # unit tests for account_details_retrieve
36
36
  # Get details for a linked account.
37
+ # @param x_account_token Token identifying the end user.
37
38
  # @param [Hash] opts the optional parameters
38
39
  # @return [AccountDetails]
39
40
  describe 'account_details_retrieve test' do
@@ -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
 
@@ -40,9 +40,12 @@ describe 'ActivitiesApi' do
40
40
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
42
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
43
45
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
44
46
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
45
47
  # @option opts [Integer] :page_size Number of results to return per page.
48
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
46
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
47
50
  # @option opts [String] :user_id If provided, will only return activities done by this user.
48
51
  # @return [PaginatedActivityList]
@@ -58,6 +61,8 @@ describe 'ActivitiesApi' do
58
61
  # @param id
59
62
  # @param [Hash] opts the optional parameters
60
63
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
64
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
65
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
61
66
  # @return [Activity]
62
67
  describe 'activities_retrieve test' do
63
68
  it 'should work' do
@@ -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
 
@@ -32,6 +32,35 @@ describe 'ApplicationsApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for applications_change_stage_create
36
+ # Updates the &#x60;current_stage&#x60; field of an &#x60;Application&#x60; object
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param id
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
41
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
42
+ # @option opts [UpdateApplicationStageRequest] :update_application_stage_request
43
+ # @return [ApplicationResponse]
44
+ describe 'applications_change_stage_create test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ # unit tests for applications_create
51
+ # Creates an &#x60;Application&#x60; object with the given values.
52
+ # @param x_account_token Token identifying the end user.
53
+ # @param application_endpoint_request
54
+ # @param [Hash] opts the optional parameters
55
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
56
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
57
+ # @return [ApplicationResponse]
58
+ describe 'applications_create test' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
35
64
  # unit tests for applications_list
36
65
  # Returns a list of &#x60;Application&#x60; objects.
37
66
  # @param x_account_token Token identifying the end user.
@@ -43,12 +72,15 @@ describe 'ApplicationsApi' do
43
72
  # @option opts [String] :current_stage_id If provided, will only return applications at this interview stage.
44
73
  # @option opts [String] :cursor The pagination cursor value.
45
74
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
75
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
76
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
77
  # @option opts [String] :job_id If provided, will only return applications for this job.
47
78
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
48
79
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
49
80
  # @option opts [Integer] :page_size Number of results to return per page.
50
81
  # @option opts [String] :reject_reason_id If provided, will only return applications with this reject reason.
51
82
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
83
+ # @option opts [String] :source If provided, will only return applications with this source.
52
84
  # @return [PaginatedApplicationList]
53
85
  describe 'applications_list test' do
54
86
  it 'should work' do
@@ -56,12 +88,25 @@ describe 'ApplicationsApi' do
56
88
  end
57
89
  end
58
90
 
91
+ # unit tests for applications_meta_post_retrieve
92
+ # Returns metadata for &#x60;Application&#x60; POSTs.
93
+ # @param x_account_token Token identifying the end user.
94
+ # @param [Hash] opts the optional parameters
95
+ # @option opts [String] :application_remote_template_id The template ID associated with the nested application in the request.
96
+ # @return [MetaResponse]
97
+ describe 'applications_meta_post_retrieve test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
59
103
  # unit tests for applications_retrieve
60
104
  # Returns an &#x60;Application&#x60; object with the given &#x60;id&#x60;.
61
105
  # @param x_account_token Token identifying the end user.
62
106
  # @param id
63
107
  # @param [Hash] opts the optional parameters
64
108
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
109
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
65
110
  # @return [Application]
66
111
  describe 'applications_retrieve test' do
67
112
  it 'should work' do
@@ -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
 
@@ -32,6 +32,20 @@ describe 'AttachmentsApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for attachments_create
36
+ # Creates an &#x60;Attachment&#x60; object with the given values.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param attachment_endpoint_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
41
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
42
+ # @return [AttachmentResponse]
43
+ describe 'attachments_create test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
35
49
  # unit tests for attachments_list
36
50
  # Returns a list of &#x60;Attachment&#x60; objects.
37
51
  # @param x_account_token Token identifying the end user.
@@ -40,9 +54,13 @@ describe 'AttachmentsApi' do
40
54
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
55
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
56
  # @option opts [String] :cursor The pagination cursor value.
57
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
43
60
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
44
61
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
45
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
46
64
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
47
65
  # @return [PaginatedAttachmentList]
48
66
  describe 'attachments_list test' do
@@ -51,11 +69,25 @@ describe 'AttachmentsApi' do
51
69
  end
52
70
  end
53
71
 
72
+ # unit tests for attachments_meta_post_retrieve
73
+ # Returns metadata for &#x60;Attachment&#x60; POSTs.
74
+ # @param x_account_token Token identifying the end user.
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [MetaResponse]
77
+ describe 'attachments_meta_post_retrieve test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
54
83
  # unit tests for attachments_retrieve
55
84
  # Returns an &#x60;Attachment&#x60; object with the given &#x60;id&#x60;.
56
85
  # @param x_account_token Token identifying the end user.
57
86
  # @param id
58
87
  # @param [Hash] opts the optional parameters
88
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
89
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
90
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
59
91
  # @return [Attachment]
60
92
  describe 'attachments_retrieve test' do
61
93
  it 'should work' do
@@ -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
 
@@ -32,6 +32,33 @@ describe 'CandidatesApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for candidates_create
36
+ # Creates a &#x60;Candidate&#x60; object with the given values.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param candidate_endpoint_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
41
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
42
+ # @return [CandidateResponse]
43
+ describe 'candidates_create test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ # unit tests for candidates_ignore_create
50
+ # Ignores a specific row based on the &#x60;model_id&#x60; in the url. These records will have their properties set to null, and will not be updated in future syncs. The \&quot;reason\&quot; and \&quot;message\&quot; fields in the request body will be stored for audit purposes.
51
+ # @param x_account_token Token identifying the end user.
52
+ # @param model_id
53
+ # @param ignore_common_model_request
54
+ # @param [Hash] opts the optional parameters
55
+ # @return [IgnoreCommonModel]
56
+ describe 'candidates_ignore_create test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
35
62
  # unit tests for candidates_list
36
63
  # Returns a list of &#x60;Candidate&#x60; objects.
37
64
  # @param x_account_token Token identifying the end user.
@@ -40,6 +67,10 @@ describe 'CandidatesApi' do
40
67
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
68
  # @option opts [String] :cursor The pagination cursor value.
42
69
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
70
+ # @option opts [String] :first_name If provided, will only return candidates with this first name.
71
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
72
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
73
+ # @option opts [String] :last_name If provided, will only return candidates with this last name.
43
74
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
44
75
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
45
76
  # @option opts [Integer] :page_size Number of results to return per page.
@@ -51,12 +82,24 @@ describe 'CandidatesApi' do
51
82
  end
52
83
  end
53
84
 
85
+ # unit tests for candidates_meta_post_retrieve
86
+ # Returns metadata for &#x60;Candidate&#x60; POSTs.
87
+ # @param x_account_token Token identifying the end user.
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [MetaResponse]
90
+ describe 'candidates_meta_post_retrieve test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
54
96
  # unit tests for candidates_retrieve
55
97
  # Returns a &#x60;Candidate&#x60; object with the given &#x60;id&#x60;.
56
98
  # @param x_account_token Token identifying the end user.
57
99
  # @param id
58
100
  # @param [Hash] opts the optional parameters
59
101
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
102
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
103
  # @return [Candidate]
61
104
  describe 'candidates_retrieve test' do
62
105
  it 'should work' do
@@ -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
 
@@ -39,6 +39,8 @@ describe 'DepartmentsApi' do
39
39
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
40
40
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
43
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
42
44
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
43
45
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
44
46
  # @option opts [Integer] :page_size Number of results to return per page.
@@ -55,6 +57,7 @@ describe 'DepartmentsApi' do
55
57
  # @param x_account_token Token identifying the end user.
56
58
  # @param id
57
59
  # @param [Hash] opts the optional parameters
60
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
58
61
  # @return [Department]
59
62
  describe 'departments_retrieve test' do
60
63
  it 'should work' do