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
 
@@ -41,9 +41,12 @@ describe 'EeocsApi' do
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
45
47
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
47
50
  # @option opts [String] :remote_id The API provider's ID for the given object.
48
51
  # @return [PaginatedEEOCList]
49
52
  describe 'eeocs_list test' do
@@ -58,6 +61,8 @@ describe 'EeocsApi' 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 [EEOC]
62
67
  describe 'eeocs_retrieve test' do
63
68
  it 'should work' do
@@ -0,0 +1,46 @@
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 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MergeATSClient::ForceResyncApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ForceResyncApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MergeATSClient::ForceResyncApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ForceResyncApi' do
30
+ it 'should create an instance of ForceResyncApi' do
31
+ expect(@api_instance).to be_instance_of(MergeATSClient::ForceResyncApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for sync_status_resync_create
36
+ # Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Array<SyncStatus>]
40
+ describe 'sync_status_resync_create test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ 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
 
@@ -41,11 +41,14 @@ describe 'InterviewsApi' do
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
46
  # @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
45
47
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
48
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
47
49
  # @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
48
50
  # @option opts [Integer] :page_size Number of results to return per page.
51
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
49
52
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
53
  # @return [PaginatedScheduledInterviewList]
51
54
  describe 'interviews_list test' do
@@ -60,6 +63,8 @@ describe 'InterviewsApi' do
60
63
  # @param id
61
64
  # @param [Hash] opts the optional parameters
62
65
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
66
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
67
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
63
68
  # @return [ScheduledInterview]
64
69
  describe 'interviews_retrieve test' do
65
70
  it 'should work' do
@@ -35,15 +35,19 @@ describe 'IssuesApi' do
35
35
  # unit tests for issues_list
36
36
  # Gets issues.
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :account_token account_token
39
- # @option opts [Integer] :cursor The pagination cursor value.
38
+ # @option opts [String] :account_token
39
+ # @option opts [String] :cursor The pagination cursor value.
40
40
  # @option opts [String] :end_date If included, will only include issues whose most recent action occurred before this time
41
- # @option opts [String] :end_user_organization_name end_user_organization_name
41
+ # @option opts [String] :end_user_organization_name
42
+ # @option opts [Time] :first_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
43
+ # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
42
44
  # @option opts [String] :include_muted If True, will include muted issues
43
- # @option opts [String] :integration_name integration_name
45
+ # @option opts [String] :integration_name
46
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
47
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
44
48
  # @option opts [Integer] :page_size Number of results to return per page.
45
49
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
46
- # @option opts [String] :status status
50
+ # @option opts [String] :status
47
51
  # @return [PaginatedIssueList]
48
52
  describe 'issues_list test' do
49
53
  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
 
@@ -40,6 +40,8 @@ describe 'JobInterviewStagesApi' 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 [String] :job_id If provided, will only return interview stages for this job.
44
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
45
47
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
@@ -58,6 +60,7 @@ describe 'JobInterviewStagesApi' do
58
60
  # @param id
59
61
  # @param [Hash] opts the optional parameters
60
62
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
63
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
61
64
  # @return [JobInterviewStage]
62
65
  describe 'job_interview_stages_retrieve test' do
63
66
  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
 
@@ -36,14 +36,19 @@ describe 'JobsApi' do
36
36
  # Returns a list of &#x60;Job&#x60; objects.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :code If provided, will only return jobs with this code.
39
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
40
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
42
  # @option opts [String] :cursor The pagination cursor value.
42
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
43
46
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
44
47
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
45
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
46
50
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
51
+ # @option opts [String] :status If provided, will only return jobs with this status. Options: (&#39;OPEN&#39;, &#39;CLOSED&#39;, &#39;DRAFT&#39;, &#39;ARCHIVED&#39;, &#39;PENDING&#39;)
47
52
  # @return [PaginatedJobList]
48
53
  describe 'jobs_list test' do
49
54
  it 'should work' do
@@ -57,6 +62,8 @@ describe 'JobsApi' do
57
62
  # @param id
58
63
  # @param [Hash] opts the optional parameters
59
64
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
65
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
66
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
60
67
  # @return [Job]
61
68
  describe 'jobs_retrieve test' do
62
69
  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
 
@@ -34,7 +34,7 @@ describe 'LinkTokenApi' do
34
34
 
35
35
  # unit tests for link_token_create
36
36
  # Creates a link token to be used when linking a new end user.
37
- # @param end_user_details
37
+ # @param end_user_details_request
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [LinkToken]
40
40
  describe 'link_token_create test' do
@@ -35,16 +35,17 @@ describe 'LinkedAccountsApi' do
35
35
  # unit tests for linked_accounts_list
36
36
  # List linked accounts for your organization.
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :category category
39
- # @option opts [Integer] :cursor The pagination cursor value.
40
- # @option opts [String] :end_user_email_address end_user_email_address
41
- # @option opts [String] :end_user_organization_name end_user_organization_name
42
- # @option opts [String] :end_user_origin_id end_user_origin_id
43
- # @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once
44
- # @option opts [String] :id id
45
- # @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once
46
- # @option opts [String] :integration_name integration_name
47
- # @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts
38
+ # @option opts [String] :category
39
+ # @option opts [String] :cursor The pagination cursor value.
40
+ # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
41
+ # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
42
+ # @option opts [String] :end_user_origin_id If provided, will only return linked accounts associated with the given origin ID.
43
+ # @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
44
+ # @option opts [String] :id
45
+ # @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
46
+ # @option opts [Boolean] :include_duplicates If &#x60;true&#x60;, will include complete production duplicates of the account specified by the &#x60;id&#x60; query parameter in the response. &#x60;id&#x60; must be for a complete production linked account.
47
+ # @option opts [String] :integration_name If provided, will only return linked accounts associated with the given integration name.
48
+ # @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
48
49
  # @option opts [Integer] :page_size Number of results to return per page.
49
50
  # @option opts [String] :status Filter by status. Options: &#x60;COMPLETE&#x60;, &#x60;INCOMPLETE&#x60;, &#x60;RELINK_NEEDED&#x60;
50
51
  # @return [PaginatedAccountDetailsAndActionsList]
@@ -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
 
@@ -42,9 +42,12 @@ describe 'OffersApi' do
42
42
  # @option opts [String] :creator_id If provided, will only return offers created by this user.
43
43
  # @option opts [String] :cursor The pagination cursor value.
44
44
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
45
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
46
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
47
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
48
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
47
49
  # @option opts [Integer] :page_size Number of results to return per page.
50
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
48
51
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
49
52
  # @return [PaginatedOfferList]
50
53
  describe 'offers_list test' do
@@ -59,6 +62,8 @@ describe 'OffersApi' do
59
62
  # @param id
60
63
  # @param [Hash] opts the optional parameters
61
64
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
65
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
66
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
62
67
  # @return [Offer]
63
68
  describe 'offers_retrieve test' do
64
69
  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 'OfficesApi' 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 'OfficesApi' 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 [Office]
59
62
  describe 'offices_retrieve test' do
60
63
  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
 
@@ -35,7 +35,7 @@ describe 'PassthroughApi' do
35
35
  # unit tests for passthrough_create
36
36
  # Pull data from an endpoint not currently supported by Merge.
37
37
  # @param x_account_token Token identifying the end user.
38
- # @param data_passthrough
38
+ # @param data_passthrough_request
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [RemoteResponse]
41
41
  describe 'passthrough_create 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
 
@@ -33,11 +33,9 @@ describe 'RegenerateKeyApi' do
33
33
  end
34
34
 
35
35
  # unit tests for regenerate_key_create
36
- # Pull data from an endpoint not currently supported by Merge.
37
- # @param x_account_token Token identifying the end user.
38
- # @param remote_key_for_regeneration
36
+ # Exchange remote keys.
37
+ # @param remote_key_for_regeneration_request
39
38
  # @param [Hash] opts the optional parameters
40
- # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
41
39
  # @return [RemoteKey]
42
40
  describe 'regenerate_key_create test' do
43
41
  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 'RejectReasonsApi' 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 'RejectReasonsApi' 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 [RejectReason]
59
62
  describe 'reject_reasons_retrieve test' do
60
63
  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
 
@@ -41,11 +41,14 @@ describe 'ScorecardsApi' do
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
46
  # @option opts [String] :interview_id If provided, will only return scorecards for this interview.
45
47
  # @option opts [String] :interviewer_id If provided, will only return scorecards for this interviewer.
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.
48
50
  # @option opts [Integer] :page_size Number of results to return per page.
51
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
49
52
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
53
  # @return [PaginatedScorecardList]
51
54
  describe 'scorecards_list test' do
@@ -60,6 +63,8 @@ describe 'ScorecardsApi' do
60
63
  # @param id
61
64
  # @param [Hash] opts the optional parameters
62
65
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
66
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
67
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
63
68
  # @return [Scorecard]
64
69
  describe 'scorecards_retrieve test' do
65
70
  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,11 +32,14 @@ describe 'SyncStatusApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for sync_status_retrieve
36
- # Get syncing status.
35
+ # unit tests for sync_status_list
36
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;
37
+ # @param x_account_token Token identifying the end user.
37
38
  # @param [Hash] opts the optional parameters
38
- # @return [SyncStatus]
39
- describe 'sync_status_retrieve test' do
39
+ # @option opts [String] :cursor The pagination cursor value.
40
+ # @option opts [Integer] :page_size Number of results to return per page.
41
+ # @return [PaginatedSyncStatusList]
42
+ describe 'sync_status_list test' do
40
43
  it 'should work' do
41
44
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
45
  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
 
@@ -39,6 +39,8 @@ describe 'TagsApi' 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.
@@ -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,9 +39,13 @@ describe 'UsersApi' 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 [String] :email If provided, will only return remote users with the given email address
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.
42
45
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
43
46
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
44
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.
45
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
46
50
  # @return [PaginatedRemoteUserList]
47
51
  describe 'users_list test' do
@@ -55,6 +59,8 @@ describe 'UsersApi' do
55
59
  # @param x_account_token Token identifying the end user.
56
60
  # @param id
57
61
  # @param [Hash] opts the optional parameters
62
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
63
+ # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
58
64
  # @return [RemoteUser]
59
65
  describe 'users_retrieve test' do
60
66
  it 'should work' do
@@ -0,0 +1,58 @@
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 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MergeATSClient::WebhookReceiversApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'WebhookReceiversApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MergeATSClient::WebhookReceiversApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of WebhookReceiversApi' do
30
+ it 'should create an instance of WebhookReceiversApi' do
31
+ expect(@api_instance).to be_instance_of(MergeATSClient::WebhookReceiversApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for webhook_receivers_create
36
+ # Creates a &#x60;WebhookReceiver&#x60; object with the given values.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param webhook_receiver_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [WebhookReceiver]
41
+ describe 'webhook_receivers_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for webhook_receivers_list
48
+ # Returns a list of &#x60;WebhookReceiver&#x60; objects.
49
+ # @param x_account_token Token identifying the end user.
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [Array<WebhookReceiver>]
52
+ describe 'webhook_receivers_list test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ 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
 
@@ -43,6 +43,12 @@ describe MergeATSClient::AccountDetailsAndActions do
43
43
  end
44
44
  end
45
45
 
46
+ describe 'test attribute "status_detail"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
46
52
  describe 'test attribute "end_user_origin_id"' do
47
53
  it 'should work' do
48
54
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,6 +67,18 @@ describe MergeATSClient::AccountDetailsAndActions do
61
67
  end
62
68
  end
63
69
 
70
+ describe 'test attribute "webhook_listener_url"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "is_duplicate"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
64
82
  describe 'test attribute "integration"' do
65
83
  it 'should work' do
66
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,6 +37,12 @@ describe MergeATSClient::AccountDetails do
37
37
  end
38
38
  end
39
39
 
40
+ describe 'test attribute "integration_slug"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
40
46
  describe 'test attribute "category"' do
41
47
  it 'should work' do
42
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -67,4 +73,16 @@ describe MergeATSClient::AccountDetails do
67
73
  end
68
74
  end
69
75
 
76
+ describe 'test attribute "webhook_listener_url"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "is_duplicate"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
70
88
  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
 
@@ -55,4 +55,10 @@ describe MergeATSClient::AccountIntegration do
55
55
  end
56
56
  end
57
57
 
58
+ describe 'test attribute "slug"' 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
+
58
64
  end