merge_ats_client 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +53 -17
  3. data/docs/AccountDetails.md +34 -0
  4. data/docs/AccountDetailsAndActions.md +34 -0
  5. data/docs/AccountDetailsAndActionsIntegration.md +32 -0
  6. data/docs/AccountDetailsAndActionsStatusEnum.md +15 -0
  7. data/docs/AccountDetailsApi.md +79 -0
  8. data/docs/AccountIntegration.md +4 -4
  9. data/docs/AccountTokenApi.md +2 -2
  10. data/docs/ActivitiesApi.md +6 -4
  11. data/docs/Activity.md +7 -5
  12. data/docs/Application.md +12 -8
  13. data/docs/ApplicationEndpointRequest.md +20 -0
  14. data/docs/ApplicationRequest.md +16 -8
  15. data/docs/ApplicationResponse.md +24 -0
  16. data/docs/ApplicationsApi.md +98 -18
  17. data/docs/Attachment.md +3 -1
  18. data/docs/AttachmentEndpointRequest.md +20 -0
  19. data/docs/AttachmentRequest.md +5 -1
  20. data/docs/AttachmentResponse.md +24 -0
  21. data/docs/AttachmentsApi.md +93 -15
  22. data/docs/AvailableActionsApi.md +2 -2
  23. data/docs/Candidate.md +11 -7
  24. data/docs/CandidateEndpointRequest.md +20 -0
  25. data/docs/CandidateRequest.md +15 -7
  26. data/docs/CandidateResponse.md +24 -0
  27. data/docs/CandidatesApi.md +171 -17
  28. data/docs/CategoriesEnum.md +15 -0
  29. data/docs/CategoryEnum.md +15 -0
  30. data/docs/DataPassthroughRequest.md +8 -4
  31. data/docs/DebugModeLog.md +22 -0
  32. data/docs/DebugModelLogSummary.md +22 -0
  33. data/docs/DeleteAccountApi.md +78 -0
  34. data/docs/Department.md +3 -1
  35. data/docs/DepartmentsApi.md +6 -4
  36. data/docs/EEOC.md +5 -3
  37. data/docs/EeocsApi.md +6 -4
  38. data/docs/EmailAddress.md +1 -1
  39. data/docs/EmailAddressRequest.md +1 -1
  40. data/docs/EncodingEnum.md +15 -0
  41. data/docs/EndUserDetailsRequest.md +5 -3
  42. data/docs/ErrorValidationProblem.md +24 -0
  43. data/docs/ForceResyncApi.md +79 -0
  44. data/docs/GenerateKeyApi.md +2 -2
  45. data/docs/IgnoreCommonModel.md +20 -0
  46. data/docs/IgnoreCommonModelRequest.md +20 -0
  47. data/docs/InterviewsApi.md +6 -84
  48. data/docs/Issue.md +30 -0
  49. data/docs/IssueStatusEnum.md +15 -0
  50. data/docs/IssuesApi.md +177 -0
  51. data/docs/Job.md +13 -7
  52. data/docs/JobInterviewStage.md +4 -2
  53. data/docs/JobInterviewStagesApi.md +8 -6
  54. data/docs/JobsApi.md +9 -5
  55. data/docs/LinkTokenApi.md +3 -3
  56. data/docs/LinkedAccountStatus.md +20 -0
  57. data/docs/LinkedAccountsApi.md +103 -0
  58. data/docs/MetaResponse.md +24 -0
  59. data/docs/MultipartFormFieldRequest.md +26 -0
  60. data/docs/Offer.md +9 -7
  61. data/docs/OffersApi.md +6 -4
  62. data/docs/Office.md +3 -1
  63. data/docs/OfficesApi.md +6 -4
  64. data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
  65. data/docs/PaginatedIssueList.md +22 -0
  66. data/docs/PaginatedSyncStatusList.md +2 -2
  67. data/docs/PassthroughApi.md +2 -2
  68. data/docs/ReasonEnum.md +15 -0
  69. data/docs/RegenerateKeyApi.md +2 -2
  70. data/docs/RejectReason.md +3 -1
  71. data/docs/RejectReasonsApi.md +6 -4
  72. data/docs/RemoteUser.md +4 -2
  73. data/docs/RequestFormatEnum.md +15 -0
  74. data/docs/ScheduledInterview.md +11 -9
  75. data/docs/Scorecard.md +8 -6
  76. data/docs/ScorecardsApi.md +6 -84
  77. data/docs/SyncStatusApi.md +3 -75
  78. data/docs/Tag.md +3 -1
  79. data/docs/TagsApi.md +4 -2
  80. data/docs/UsersApi.md +7 -84
  81. data/docs/ValidationProblemSource.md +18 -0
  82. data/docs/WarningValidationProblem.md +24 -0
  83. data/docs/WebhookReceiver.md +22 -0
  84. data/docs/WebhookReceiverRequest.md +22 -0
  85. data/docs/WebhookReceiversApi.md +153 -0
  86. data/lib/merge_ats_client/api/account_details_api.rb +84 -0
  87. data/lib/merge_ats_client/api/account_token_api.rb +1 -1
  88. data/lib/merge_ats_client/api/activities_api.rb +4 -1
  89. data/lib/merge_ats_client/api/applications_api.rb +87 -16
  90. data/lib/merge_ats_client/api/attachments_api.rb +95 -16
  91. data/lib/merge_ats_client/api/available_actions_api.rb +1 -1
  92. data/lib/merge_ats_client/api/candidates_api.rb +163 -16
  93. data/lib/merge_ats_client/api/delete_account_api.rb +82 -0
  94. data/lib/merge_ats_client/api/departments_api.rb +4 -1
  95. data/lib/merge_ats_client/api/eeocs_api.rb +4 -1
  96. data/lib/merge_ats_client/api/force_resync_api.rb +84 -0
  97. data/lib/merge_ats_client/api/generate_key_api.rb +1 -1
  98. data/lib/merge_ats_client/api/interviews_api.rb +4 -77
  99. data/lib/merge_ats_client/api/issues_api.rb +181 -0
  100. data/lib/merge_ats_client/api/job_interview_stages_api.rb +6 -3
  101. data/lib/merge_ats_client/api/jobs_api.rb +10 -4
  102. data/lib/merge_ats_client/api/link_token_api.rb +1 -1
  103. data/lib/merge_ats_client/api/linked_accounts_api.rb +117 -0
  104. data/lib/merge_ats_client/api/offers_api.rb +4 -1
  105. data/lib/merge_ats_client/api/offices_api.rb +4 -1
  106. data/lib/merge_ats_client/api/passthrough_api.rb +1 -1
  107. data/lib/merge_ats_client/api/regenerate_key_api.rb +1 -1
  108. data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -1
  109. data/lib/merge_ats_client/api/scorecards_api.rb +4 -77
  110. data/lib/merge_ats_client/api/sync_status_api.rb +5 -67
  111. data/lib/merge_ats_client/api/tags_api.rb +4 -1
  112. data/lib/merge_ats_client/api/users_api.rb +4 -77
  113. data/lib/merge_ats_client/api/webhook_receivers_api.rb +154 -0
  114. data/lib/merge_ats_client/api_client.rb +1 -1
  115. data/lib/merge_ats_client/api_error.rb +1 -1
  116. data/lib/merge_ats_client/configuration.rb +7 -5
  117. data/lib/merge_ats_client/models/access_role_enum.rb +1 -1
  118. data/lib/merge_ats_client/models/{end_user_details.rb → account_details.rb} +68 -66
  119. data/lib/merge_ats_client/models/{scheduled_interview_request.rb → account_details_and_actions.rb} +85 -100
  120. data/lib/merge_ats_client/models/account_details_and_actions_integration.rb +310 -0
  121. data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +36 -0
  122. data/lib/merge_ats_client/models/account_integration.rb +7 -29
  123. data/lib/merge_ats_client/models/account_token.rb +2 -2
  124. data/lib/merge_ats_client/models/activity.rb +17 -8
  125. data/lib/merge_ats_client/models/activity_type_enum.rb +1 -1
  126. data/lib/merge_ats_client/models/application.rb +29 -12
  127. data/lib/merge_ats_client/models/application_endpoint_request.rb +237 -0
  128. data/lib/merge_ats_client/models/application_request.rb +70 -13
  129. data/lib/merge_ats_client/models/application_response.rb +266 -0
  130. data/lib/merge_ats_client/models/attachment.rb +16 -7
  131. data/lib/merge_ats_client/models/attachment_endpoint_request.rb +237 -0
  132. data/lib/merge_ats_client/models/attachment_request.rb +31 -7
  133. data/lib/merge_ats_client/models/attachment_response.rb +266 -0
  134. data/lib/merge_ats_client/models/attachment_type_enum.rb +0 -2
  135. data/lib/merge_ats_client/models/available_actions.rb +2 -2
  136. data/lib/merge_ats_client/models/candidate.rb +32 -7
  137. data/lib/merge_ats_client/models/candidate_endpoint_request.rb +237 -0
  138. data/lib/merge_ats_client/models/candidate_request.rb +72 -7
  139. data/lib/merge_ats_client/models/candidate_response.rb +266 -0
  140. data/lib/merge_ats_client/models/categories_enum.rb +38 -0
  141. data/lib/merge_ats_client/models/category_enum.rb +38 -0
  142. data/lib/merge_ats_client/models/data_passthrough_request.rb +81 -10
  143. data/lib/merge_ats_client/models/debug_mode_log.rb +251 -0
  144. data/lib/merge_ats_client/models/{data_passthrough.rb → debug_model_log_summary.rb} +30 -41
  145. data/lib/merge_ats_client/models/department.rb +18 -8
  146. data/lib/merge_ats_client/models/disability_status_enum.rb +1 -1
  147. data/lib/merge_ats_client/models/eeoc.rb +17 -8
  148. data/lib/merge_ats_client/models/email_address.rb +3 -3
  149. data/lib/merge_ats_client/models/email_address_request.rb +3 -3
  150. data/lib/merge_ats_client/models/email_address_type_enum.rb +1 -1
  151. data/lib/merge_ats_client/models/encoding_enum.rb +35 -0
  152. data/lib/merge_ats_client/models/end_user_details_request.rb +148 -29
  153. data/lib/merge_ats_client/models/error_validation_problem.rb +260 -0
  154. data/lib/merge_ats_client/models/gender_enum.rb +1 -1
  155. data/lib/merge_ats_client/models/generate_remote_key_request.rb +21 -2
  156. data/lib/merge_ats_client/models/{remote_user_request.rb → ignore_common_model.rb} +30 -85
  157. data/lib/merge_ats_client/models/ignore_common_model_request.rb +256 -0
  158. data/lib/merge_ats_client/models/{scorecard_request.rb → issue.rb} +56 -62
  159. data/lib/merge_ats_client/models/issue_status_enum.rb +35 -0
  160. data/lib/merge_ats_client/models/job.rb +43 -7
  161. data/lib/merge_ats_client/models/job_interview_stage.rb +17 -8
  162. data/lib/merge_ats_client/models/job_status_enum.rb +1 -1
  163. data/lib/merge_ats_client/models/link_token.rb +2 -2
  164. data/lib/merge_ats_client/models/linked_account_status.rb +237 -0
  165. data/lib/merge_ats_client/models/meta_response.rb +262 -0
  166. data/lib/merge_ats_client/models/method_enum.rb +1 -1
  167. data/lib/merge_ats_client/models/model_operation.rb +2 -2
  168. data/lib/merge_ats_client/models/{patched_application_request.rb → multipart_form_field_request.rb} +120 -88
  169. data/lib/merge_ats_client/models/offer.rb +17 -9
  170. data/lib/merge_ats_client/models/offer_status_enum.rb +1 -1
  171. data/lib/merge_ats_client/models/office.rb +18 -8
  172. data/lib/merge_ats_client/models/overall_recommendation_enum.rb +1 -1
  173. data/lib/merge_ats_client/models/paginated_account_details_and_actions_list.rb +240 -0
  174. data/lib/merge_ats_client/models/paginated_activity_list.rb +2 -2
  175. data/lib/merge_ats_client/models/paginated_application_list.rb +2 -2
  176. data/lib/merge_ats_client/models/paginated_attachment_list.rb +2 -2
  177. data/lib/merge_ats_client/models/paginated_candidate_list.rb +2 -2
  178. data/lib/merge_ats_client/models/paginated_department_list.rb +2 -2
  179. data/lib/merge_ats_client/models/paginated_eeoc_list.rb +2 -2
  180. data/lib/merge_ats_client/models/paginated_issue_list.rb +240 -0
  181. data/lib/merge_ats_client/models/paginated_job_interview_stage_list.rb +2 -2
  182. data/lib/merge_ats_client/models/paginated_job_list.rb +2 -2
  183. data/lib/merge_ats_client/models/paginated_offer_list.rb +2 -2
  184. data/lib/merge_ats_client/models/paginated_office_list.rb +2 -2
  185. data/lib/merge_ats_client/models/paginated_reject_reason_list.rb +2 -2
  186. data/lib/merge_ats_client/models/paginated_remote_user_list.rb +2 -2
  187. data/lib/merge_ats_client/models/paginated_scheduled_interview_list.rb +2 -2
  188. data/lib/merge_ats_client/models/paginated_scorecard_list.rb +2 -2
  189. data/lib/merge_ats_client/models/paginated_sync_status_list.rb +1 -1
  190. data/lib/merge_ats_client/models/paginated_tag_list.rb +2 -2
  191. data/lib/merge_ats_client/models/phone_number.rb +3 -3
  192. data/lib/merge_ats_client/models/phone_number_request.rb +3 -3
  193. data/lib/merge_ats_client/models/phone_number_type_enum.rb +1 -1
  194. data/lib/merge_ats_client/models/race_enum.rb +1 -1
  195. data/lib/merge_ats_client/models/reason_enum.rb +36 -0
  196. data/lib/merge_ats_client/models/reject_reason.rb +18 -8
  197. data/lib/merge_ats_client/models/remote_data.rb +2 -2
  198. data/lib/merge_ats_client/models/remote_data_request.rb +21 -2
  199. data/lib/merge_ats_client/models/remote_key.rb +2 -2
  200. data/lib/merge_ats_client/models/remote_key_for_regeneration_request.rb +21 -2
  201. data/lib/merge_ats_client/models/remote_response.rb +2 -2
  202. data/lib/merge_ats_client/models/remote_user.rb +18 -8
  203. data/lib/merge_ats_client/models/request_format_enum.rb +36 -0
  204. data/lib/merge_ats_client/models/scheduled_interview.rb +18 -10
  205. data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +1 -1
  206. data/lib/merge_ats_client/models/scorecard.rb +17 -10
  207. data/lib/merge_ats_client/models/sync_status.rb +2 -2
  208. data/lib/merge_ats_client/models/sync_status_status_enum.rb +2 -2
  209. data/lib/merge_ats_client/models/tag.rb +18 -8
  210. data/lib/merge_ats_client/models/url.rb +8 -8
  211. data/lib/merge_ats_client/models/url_request.rb +8 -8
  212. data/lib/merge_ats_client/models/url_type_enum.rb +1 -1
  213. data/lib/merge_ats_client/models/{remote_key_for_regeneration.rb → validation_problem_source.rb} +15 -16
  214. data/lib/merge_ats_client/models/veteran_status_enum.rb +1 -1
  215. data/lib/merge_ats_client/models/visibility_enum.rb +1 -1
  216. data/lib/merge_ats_client/models/warning_validation_problem.rb +260 -0
  217. data/lib/merge_ats_client/models/webhook_receiver.rb +246 -0
  218. data/lib/merge_ats_client/models/webhook_receiver_request.rb +280 -0
  219. data/lib/merge_ats_client/version.rb +1 -1
  220. data/lib/merge_ats_client.rb +38 -4
  221. data/merge_ats_client.gemspec +1 -1
  222. data/spec/api/account_details_api_spec.rb +46 -0
  223. data/spec/api/account_token_api_spec.rb +1 -1
  224. data/spec/api/activities_api_spec.rb +4 -1
  225. data/spec/api/applications_api_spec.rb +31 -1
  226. data/spec/api/attachments_api_spec.rb +31 -1
  227. data/spec/api/available_actions_api_spec.rb +1 -1
  228. data/spec/api/candidates_api_spec.rb +44 -1
  229. data/spec/api/departments_api_spec.rb +4 -1
  230. data/spec/api/eeocs_api_spec.rb +4 -1
  231. data/spec/api/force_resync_api_spec.rb +46 -0
  232. data/spec/api/interviews_api_spec.rb +4 -1
  233. data/spec/api/issues_api_spec.rb +9 -5
  234. data/spec/api/job_interview_stages_api_spec.rb +4 -1
  235. data/spec/api/jobs_api_spec.rb +6 -1
  236. data/spec/api/link_token_api_spec.rb +2 -2
  237. data/spec/api/linked_accounts_api_spec.rb +57 -0
  238. data/spec/api/offers_api_spec.rb +4 -1
  239. data/spec/api/offices_api_spec.rb +4 -1
  240. data/spec/api/passthrough_api_spec.rb +2 -2
  241. data/spec/api/regenerate_key_api_spec.rb +3 -5
  242. data/spec/api/reject_reasons_api_spec.rb +4 -1
  243. data/spec/api/scorecards_api_spec.rb +4 -1
  244. data/spec/api/sync_status_api_spec.rb +8 -5
  245. data/spec/api/tags_api_spec.rb +3 -1
  246. data/spec/api/users_api_spec.rb +5 -1
  247. data/spec/api/webhook_receivers_api_spec.rb +58 -0
  248. data/spec/api_client_spec.rb +1 -1
  249. data/spec/configuration_spec.rb +1 -1
  250. data/spec/models/access_role_enum_spec.rb +1 -1
  251. data/spec/models/{scorecard_request_spec.rb → account_details_and_actions_integration_spec.rb} +19 -13
  252. data/spec/models/{scheduled_interview_request_spec.rb → account_details_and_actions_spec.rb} +15 -27
  253. data/spec/models/account_details_and_actions_status_enum_spec.rb +28 -0
  254. data/spec/models/{patched_application_request_spec.rb → account_details_spec.rb} +16 -16
  255. data/spec/models/account_integration_spec.rb +7 -1
  256. data/spec/models/account_token_spec.rb +7 -1
  257. data/spec/models/activity_spec.rb +13 -1
  258. data/spec/models/activity_type_enum_spec.rb +1 -1
  259. data/spec/models/application_endpoint_request_spec.rb +40 -0
  260. data/spec/models/application_request_spec.rb +25 -1
  261. data/spec/models/{end_user_details_spec.rb → application_response_spec.rb} +11 -15
  262. data/spec/models/application_spec.rb +19 -7
  263. data/spec/models/attachment_endpoint_request_spec.rb +40 -0
  264. data/spec/models/attachment_request_spec.rb +12 -0
  265. data/spec/models/attachment_response_spec.rb +52 -0
  266. data/spec/models/attachment_spec.rb +25 -1
  267. data/spec/models/available_actions_spec.rb +1 -1
  268. data/spec/models/candidate_endpoint_request_spec.rb +40 -0
  269. data/spec/models/candidate_request_spec.rb +37 -1
  270. data/spec/models/{data_passthrough_spec.rb → candidate_response_spec.rb} +11 -11
  271. data/spec/models/candidate_spec.rb +19 -1
  272. data/spec/models/categories_enum_spec.rb +28 -0
  273. data/spec/models/category_enum_spec.rb +28 -0
  274. data/spec/models/data_passthrough_request_spec.rb +13 -1
  275. data/spec/models/debug_mode_log_spec.rb +46 -0
  276. data/spec/models/debug_model_log_summary_spec.rb +46 -0
  277. data/spec/models/department_spec.rb +13 -1
  278. data/spec/models/disability_status_enum_spec.rb +1 -1
  279. data/spec/models/eeoc_spec.rb +13 -1
  280. data/spec/models/email_address_request_spec.rb +1 -1
  281. data/spec/models/email_address_spec.rb +1 -1
  282. data/spec/models/email_address_type_enum_spec.rb +1 -1
  283. data/spec/models/encoding_enum_spec.rb +28 -0
  284. data/spec/models/end_user_details_request_spec.rb +13 -5
  285. data/spec/models/error_validation_problem_spec.rb +52 -0
  286. data/spec/models/gender_enum_spec.rb +1 -1
  287. data/spec/models/ignore_common_model_request_spec.rb +40 -0
  288. data/spec/models/ignore_common_model_spec.rb +40 -0
  289. data/spec/models/job_interview_stage_spec.rb +13 -1
  290. data/spec/models/job_spec.rb +31 -1
  291. data/spec/models/job_status_enum_spec.rb +1 -1
  292. data/spec/models/link_token_spec.rb +1 -1
  293. data/spec/models/linked_account_status_spec.rb +40 -0
  294. data/spec/models/meta_response_spec.rb +52 -0
  295. data/spec/models/method_enum_spec.rb +1 -1
  296. data/spec/models/model_operation_spec.rb +13 -1
  297. data/spec/models/{remote_user_request_spec.rb → multipart_form_field_request_spec.rb} +11 -23
  298. data/spec/models/offer_spec.rb +13 -1
  299. data/spec/models/offer_status_enum_spec.rb +1 -1
  300. data/spec/models/office_spec.rb +13 -1
  301. data/spec/models/overall_recommendation_enum_spec.rb +1 -1
  302. data/spec/models/paginated_account_details_and_actions_list_spec.rb +46 -0
  303. data/spec/models/paginated_activity_list_spec.rb +1 -1
  304. data/spec/models/paginated_application_list_spec.rb +1 -1
  305. data/spec/models/paginated_attachment_list_spec.rb +1 -1
  306. data/spec/models/paginated_candidate_list_spec.rb +1 -1
  307. data/spec/models/paginated_department_list_spec.rb +1 -1
  308. data/spec/models/paginated_eeoc_list_spec.rb +1 -1
  309. data/spec/models/paginated_job_interview_stage_list_spec.rb +1 -1
  310. data/spec/models/paginated_job_list_spec.rb +1 -1
  311. data/spec/models/paginated_offer_list_spec.rb +1 -1
  312. data/spec/models/paginated_office_list_spec.rb +1 -1
  313. data/spec/models/paginated_reject_reason_list_spec.rb +1 -1
  314. data/spec/models/paginated_remote_user_list_spec.rb +1 -1
  315. data/spec/models/paginated_scheduled_interview_list_spec.rb +1 -1
  316. data/spec/models/paginated_scorecard_list_spec.rb +1 -1
  317. data/spec/models/paginated_tag_list_spec.rb +1 -1
  318. data/spec/models/phone_number_request_spec.rb +1 -1
  319. data/spec/models/phone_number_spec.rb +1 -1
  320. data/spec/models/phone_number_type_enum_spec.rb +1 -1
  321. data/spec/models/race_enum_spec.rb +1 -1
  322. data/spec/models/reason_enum_spec.rb +28 -0
  323. data/spec/models/reject_reason_spec.rb +13 -1
  324. data/spec/models/remote_data_spec.rb +1 -1
  325. data/spec/models/remote_key_for_regeneration_request_spec.rb +1 -1
  326. data/spec/models/remote_key_spec.rb +1 -1
  327. data/spec/models/remote_response_spec.rb +1 -1
  328. data/spec/models/remote_user_spec.rb +13 -1
  329. data/spec/models/request_format_enum_spec.rb +28 -0
  330. data/spec/models/scheduled_interview_spec.rb +13 -1
  331. data/spec/models/scheduled_interview_status_enum_spec.rb +1 -1
  332. data/spec/models/scorecard_spec.rb +13 -1
  333. data/spec/models/sync_status_spec.rb +1 -1
  334. data/spec/models/tag_spec.rb +13 -1
  335. data/spec/models/url_request_spec.rb +1 -1
  336. data/spec/models/url_spec.rb +1 -1
  337. data/spec/models/url_type_enum_spec.rb +1 -1
  338. data/spec/models/{remote_key_for_regeneration_spec.rb → validation_problem_source_spec.rb} +8 -8
  339. data/spec/models/veteran_status_enum_spec.rb +1 -1
  340. data/spec/models/visibility_enum_spec.rb +1 -1
  341. data/spec/models/warning_validation_problem_spec.rb +52 -0
  342. data/spec/models/webhook_receiver_request_spec.rb +46 -0
  343. data/spec/models/webhook_receiver_spec.rb +46 -0
  344. data/spec/spec_helper.rb +1 -1
  345. metadata +220 -113
  346. data/config.json +0 -2
  347. data/docs/DataPassthrough.md +0 -24
  348. data/docs/EndUserDetails.md +0 -24
  349. data/docs/PatchedApplicationRequest.md +0 -34
  350. data/docs/RemoteKeyForRegeneration.md +0 -18
  351. data/docs/RemoteUserRequest.md +0 -30
  352. data/docs/ScheduledInterviewRequest.md +0 -38
  353. data/docs/ScorecardRequest.md +0 -30
  354. data/test_ats.rb +0 -22
  355. data/test_signature.rb +0 -32
@@ -0,0 +1,251 @@
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 'date'
14
+ require 'time'
15
+
16
+ module MergeATSClient
17
+ class DebugModeLog
18
+ attr_accessor :log_id
19
+
20
+ attr_accessor :dashboard_view
21
+
22
+ attr_accessor :log_summary
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'log_id' => :'log_id',
28
+ :'dashboard_view' => :'dashboard_view',
29
+ :'log_summary' => :'log_summary'
30
+ }
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'log_id' => :'String',
42
+ :'dashboard_view' => :'String',
43
+ :'log_summary' => :'DebugModelLogSummary'
44
+ }
45
+ end
46
+
47
+ # List of attributes with nullable: true
48
+ def self.openapi_nullable
49
+ Set.new([
50
+ ])
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param [Hash] attributes Model attributes in the form of hash
55
+ def initialize(attributes = {})
56
+ if (!attributes.is_a?(Hash))
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::DebugModeLog` initialize method"
58
+ end
59
+
60
+ # check to see if the attribute exists and convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!self.class.attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::DebugModeLog`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'log_id')
69
+ self.log_id = attributes[:'log_id']
70
+ end
71
+
72
+ if attributes.key?(:'dashboard_view')
73
+ self.dashboard_view = attributes[:'dashboard_view']
74
+ end
75
+
76
+ if attributes.key?(:'log_summary')
77
+ self.log_summary = attributes[:'log_summary']
78
+ end
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properties with the reasons
83
+ def list_invalid_properties
84
+ invalid_properties = Array.new
85
+ if @log_id.nil?
86
+ invalid_properties.push('invalid value for "log_id", log_id cannot be nil.')
87
+ end
88
+
89
+ if @dashboard_view.nil?
90
+ invalid_properties.push('invalid value for "dashboard_view", dashboard_view cannot be nil.')
91
+ end
92
+
93
+ if @log_summary.nil?
94
+ invalid_properties.push('invalid value for "log_summary", log_summary cannot be nil.')
95
+ end
96
+
97
+ invalid_properties
98
+ end
99
+
100
+ # Check to see if the all the properties in the model are valid
101
+ # @return true if the model is valid
102
+ def valid?
103
+ return false if @log_id.nil?
104
+ return false if @dashboard_view.nil?
105
+ return false if @log_summary.nil?
106
+ true
107
+ end
108
+
109
+ # Checks equality by comparing each attribute.
110
+ # @param [Object] Object to be compared
111
+ def ==(o)
112
+ return true if self.equal?(o)
113
+ self.class == o.class &&
114
+ log_id == o.log_id &&
115
+ dashboard_view == o.dashboard_view &&
116
+ log_summary == o.log_summary
117
+ end
118
+
119
+ # @see the `==` method
120
+ # @param [Object] Object to be compared
121
+ def eql?(o)
122
+ self == o
123
+ end
124
+
125
+ # Calculates hash code according to all attributes.
126
+ # @return [Integer] Hash code
127
+ def hash
128
+ [log_id, dashboard_view, log_summary].hash
129
+ end
130
+
131
+ # Builds the object from hash
132
+ # @param [Hash] attributes Model attributes in the form of hash
133
+ # @return [Object] Returns the model itself
134
+ def self.build_from_hash(attributes)
135
+ new.build_from_hash(attributes)
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def build_from_hash(attributes)
142
+ return nil unless attributes.is_a?(Hash)
143
+ self.class.openapi_types.each_pair do |key, type|
144
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
145
+ self.send("#{key}=", nil)
146
+ elsif type =~ /\AArray<(.*)>/i
147
+ # check to ensure the input is an array given that the attribute
148
+ # is documented as an array but the input is not
149
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
150
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
151
+ end
152
+ elsif !attributes[self.class.attribute_map[key]].nil?
153
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
154
+ end
155
+ end
156
+
157
+ self
158
+ end
159
+
160
+ # Deserializes the data based on type
161
+ # @param string type Data type
162
+ # @param string value Value to be deserialized
163
+ # @return [Object] Deserialized data
164
+ def _deserialize(type, value)
165
+ case type.to_sym
166
+ when :Time
167
+ Time.parse(value)
168
+ when :Date
169
+ Date.parse(value)
170
+ when :String
171
+ value
172
+ when :Integer
173
+ value.to_i
174
+ when :Float
175
+ value.to_f
176
+ when :Boolean
177
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
178
+ true
179
+ else
180
+ false
181
+ end
182
+ when :Object
183
+ # generic object (usually a Hash), return directly
184
+ value
185
+ when /\AArray<(?<inner_type>.+)>\z/
186
+ inner_type = Regexp.last_match[:inner_type]
187
+ value.map { |v| _deserialize(inner_type, v) }
188
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
189
+ k_type = Regexp.last_match[:k_type]
190
+ v_type = Regexp.last_match[:v_type]
191
+ {}.tap do |hash|
192
+ value.each do |k, v|
193
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
194
+ end
195
+ end
196
+ else # model
197
+ # models (e.g. Pet) or oneOf
198
+ klass = MergeATSClient.const_get(type)
199
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
200
+ end
201
+ end
202
+
203
+ # Returns the string representation of the object
204
+ # @return [String] String presentation of the object
205
+ def to_s
206
+ to_hash.to_s
207
+ end
208
+
209
+ # to_body is an alias to to_hash (backward compatibility)
210
+ # @return [Hash] Returns the object in the form of hash
211
+ def to_body
212
+ to_hash
213
+ end
214
+
215
+ # Returns the object in the form of hash
216
+ # @return [Hash] Returns the object in the form of hash
217
+ def to_hash
218
+ hash = {}
219
+ self.class.attribute_map.each_pair do |attr, param|
220
+ value = self.send(attr)
221
+ if value.nil?
222
+ is_nullable = self.class.openapi_nullable.include?(attr)
223
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
224
+ end
225
+
226
+ hash[param] = _to_hash(value)
227
+ end
228
+ hash
229
+ end
230
+
231
+ # Outputs non-array value in the form of hash
232
+ # For object, use to_hash. Otherwise, just return the value
233
+ # @param [Object] value Any valid value
234
+ # @return [Hash] Returns the value in the form of hash
235
+ def _to_hash(value)
236
+ if value.is_a?(Array)
237
+ value.compact.map { |v| _to_hash(v) }
238
+ elsif value.is_a?(Hash)
239
+ {}.tap do |hash|
240
+ value.each { |k, v| hash[k] = _to_hash(v) }
241
+ end
242
+ elsif value.respond_to? :to_hash
243
+ value.to_hash
244
+ else
245
+ value
246
+ end
247
+ end
248
+
249
+ end
250
+
251
+ 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
 
@@ -14,23 +14,19 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The DataPassthrough Object ### Description The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. ### Usage Example Create a `DataPassthrough` to get team hierarchies from your Rippling integration.
18
- class DataPassthrough
19
- attr_accessor :method
20
-
21
- attr_accessor :path
17
+ class DebugModelLogSummary
18
+ attr_accessor :url
22
19
 
23
- attr_accessor :data
20
+ attr_accessor :method
24
21
 
25
- attr_accessor :headers
22
+ attr_accessor :status_code
26
23
 
27
24
  # Attribute mapping from ruby-style variable name to JSON key.
28
25
  def self.attribute_map
29
26
  {
27
+ :'url' => :'url',
30
28
  :'method' => :'method',
31
- :'path' => :'path',
32
- :'data' => :'data',
33
- :'headers' => :'headers'
29
+ :'status_code' => :'status_code'
34
30
  }
35
31
  end
36
32
 
@@ -42,18 +38,15 @@ module MergeATSClient
42
38
  # Attribute type mapping.
43
39
  def self.openapi_types
44
40
  {
45
- :'method' => :'MethodEnum',
46
- :'path' => :'String',
47
- :'data' => :'Hash<String, AnyType>',
48
- :'headers' => :'Hash<String, AnyType>'
41
+ :'url' => :'String',
42
+ :'method' => :'String',
43
+ :'status_code' => :'Integer'
49
44
  }
50
45
  end
51
46
 
52
47
  # List of attributes with nullable: true
53
48
  def self.openapi_nullable
54
49
  Set.new([
55
- :'data',
56
- :'headers'
57
50
  ])
58
51
  end
59
52
 
@@ -61,35 +54,27 @@ module MergeATSClient
61
54
  # @param [Hash] attributes Model attributes in the form of hash
62
55
  def initialize(attributes = {})
63
56
  if (!attributes.is_a?(Hash))
64
- fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::DataPassthrough` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::DebugModelLogSummary` initialize method"
65
58
  end
66
59
 
67
60
  # check to see if the attribute exists and convert string to symbol for hash key
68
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
69
62
  if (!self.class.attribute_map.key?(k.to_sym))
70
- fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::DataPassthrough`. 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::DebugModelLogSummary`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
71
64
  end
72
65
  h[k.to_sym] = v
73
66
  }
74
67
 
75
- if attributes.key?(:'method')
76
- self.method = attributes[:'method']
77
- end
78
-
79
- if attributes.key?(:'path')
80
- self.path = attributes[:'path']
68
+ if attributes.key?(:'url')
69
+ self.url = attributes[:'url']
81
70
  end
82
71
 
83
- if attributes.key?(:'data')
84
- if (value = attributes[:'data']).is_a?(Hash)
85
- self.data = value
86
- end
72
+ if attributes.key?(:'method')
73
+ self.method = attributes[:'method']
87
74
  end
88
75
 
89
- if attributes.key?(:'headers')
90
- if (value = attributes[:'headers']).is_a?(Hash)
91
- self.headers = value
92
- end
76
+ if attributes.key?(:'status_code')
77
+ self.status_code = attributes[:'status_code']
93
78
  end
94
79
  end
95
80
 
@@ -97,12 +82,16 @@ module MergeATSClient
97
82
  # @return Array for valid properties with the reasons
98
83
  def list_invalid_properties
99
84
  invalid_properties = Array.new
85
+ if @url.nil?
86
+ invalid_properties.push('invalid value for "url", url cannot be nil.')
87
+ end
88
+
100
89
  if @method.nil?
101
90
  invalid_properties.push('invalid value for "method", method cannot be nil.')
102
91
  end
103
92
 
104
- if @path.nil?
105
- invalid_properties.push('invalid value for "path", path cannot be nil.')
93
+ if @status_code.nil?
94
+ invalid_properties.push('invalid value for "status_code", status_code cannot be nil.')
106
95
  end
107
96
 
108
97
  invalid_properties
@@ -111,8 +100,9 @@ module MergeATSClient
111
100
  # Check to see if the all the properties in the model are valid
112
101
  # @return true if the model is valid
113
102
  def valid?
103
+ return false if @url.nil?
114
104
  return false if @method.nil?
115
- return false if @path.nil?
105
+ return false if @status_code.nil?
116
106
  true
117
107
  end
118
108
 
@@ -121,10 +111,9 @@ module MergeATSClient
121
111
  def ==(o)
122
112
  return true if self.equal?(o)
123
113
  self.class == o.class &&
114
+ url == o.url &&
124
115
  method == o.method &&
125
- path == o.path &&
126
- data == o.data &&
127
- headers == o.headers
116
+ status_code == o.status_code
128
117
  end
129
118
 
130
119
  # @see the `==` method
@@ -136,7 +125,7 @@ module MergeATSClient
136
125
  # Calculates hash code according to all attributes.
137
126
  # @return [Integer] Hash code
138
127
  def hash
139
- [method, path, data, headers].hash
128
+ [url, method, status_code].hash
140
129
  end
141
130
 
142
131
  # Builds the object from hash
@@ -179,7 +168,7 @@ module MergeATSClient
179
168
  when :Date
180
169
  Date.parse(value)
181
170
  when :String
182
- value.to_s
171
+ value
183
172
  when :Integer
184
173
  value.to_i
185
174
  when :Float
@@ -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,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The Department Object ### Description The `Department` object is used to represent a department within a company. ### Usage Example Fetch from the `LIST Departments` endpoint and view the departments within a company.
17
+ # # The Department Object ### Description The `Department` object is used to represent a department within a company. ### Usage Example Fetch from the `LIST Departments` endpoint and view the departments within a company.
18
18
  class Department
19
19
  attr_accessor :id
20
20
 
@@ -26,13 +26,17 @@ module MergeATSClient
26
26
 
27
27
  attr_accessor :remote_data
28
28
 
29
+ # Indicates whether or not this object has been deleted on the third-party.
30
+ attr_accessor :remote_was_deleted
31
+
29
32
  # Attribute mapping from ruby-style variable name to JSON key.
30
33
  def self.attribute_map
31
34
  {
32
35
  :'id' => :'id',
33
36
  :'remote_id' => :'remote_id',
34
37
  :'name' => :'name',
35
- :'remote_data' => :'remote_data'
38
+ :'remote_data' => :'remote_data',
39
+ :'remote_was_deleted' => :'remote_was_deleted'
36
40
  }
37
41
  end
38
42
 
@@ -47,7 +51,8 @@ module MergeATSClient
47
51
  :'id' => :'String',
48
52
  :'remote_id' => :'String',
49
53
  :'name' => :'String',
50
- :'remote_data' => :'Array<RemoteData>'
54
+ :'remote_data' => :'Array<RemoteData>',
55
+ :'remote_was_deleted' => :'Boolean'
51
56
  }
52
57
  end
53
58
 
@@ -56,7 +61,7 @@ module MergeATSClient
56
61
  Set.new([
57
62
  :'remote_id',
58
63
  :'name',
59
- :'remote_data'
64
+ :'remote_data',
60
65
  ])
61
66
  end
62
67
 
@@ -92,6 +97,10 @@ module MergeATSClient
92
97
  self.remote_data = value
93
98
  end
94
99
  end
100
+
101
+ if attributes.key?(:'remote_was_deleted')
102
+ self.remote_was_deleted = attributes[:'remote_was_deleted']
103
+ end
95
104
  end
96
105
 
97
106
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,7 +124,8 @@ module MergeATSClient
115
124
  id == o.id &&
116
125
  remote_id == o.remote_id &&
117
126
  name == o.name &&
118
- remote_data == o.remote_data
127
+ remote_data == o.remote_data &&
128
+ remote_was_deleted == o.remote_was_deleted
119
129
  end
120
130
 
121
131
  # @see the `==` method
@@ -127,7 +137,7 @@ module MergeATSClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [id, remote_id, name, remote_data].hash
140
+ [id, remote_id, name, remote_data, remote_was_deleted].hash
131
141
  end
132
142
 
133
143
  # Builds the object from hash
@@ -170,7 +180,7 @@ module MergeATSClient
170
180
  when :Date
171
181
  Date.parse(value)
172
182
  when :String
173
- value.to_s
183
+ value
174
184
  when :Integer
175
185
  value.to_i
176
186
  when :Float
@@ -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
 
@@ -14,14 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The EEOC Object ### Description The `EEOC` object is used to represent the Equal Employment Opportunity Commission information for a candidate. ### Usage Example Fetch from the `LIST EEOCs` endpoint and filter by `candidate` to show all EEOC information for a candidate.
17
+ # # The EEOC Object ### Description The `EEOC` object is used to represent the Equal Employment Opportunity Commission information for a candidate. ### Usage Example Fetch from the `LIST EEOCs` endpoint and filter by `candidate` to show all EEOC information for a candidate.
18
18
  class EEOC
19
19
  attr_accessor :id
20
20
 
21
21
  # The third-party API ID of the matching object.
22
22
  attr_accessor :remote_id
23
23
 
24
- # The candidate being represented.
25
24
  attr_accessor :candidate
26
25
 
27
26
  # When the information was submitted.
@@ -41,6 +40,9 @@ module MergeATSClient
41
40
 
42
41
  attr_accessor :remote_data
43
42
 
43
+ # Indicates whether or not this object has been deleted on the third-party.
44
+ attr_accessor :remote_was_deleted
45
+
44
46
  # Attribute mapping from ruby-style variable name to JSON key.
45
47
  def self.attribute_map
46
48
  {
@@ -52,7 +54,8 @@ module MergeATSClient
52
54
  :'gender' => :'gender',
53
55
  :'veteran_status' => :'veteran_status',
54
56
  :'disability_status' => :'disability_status',
55
- :'remote_data' => :'remote_data'
57
+ :'remote_data' => :'remote_data',
58
+ :'remote_was_deleted' => :'remote_was_deleted'
56
59
  }
57
60
  end
58
61
 
@@ -72,7 +75,8 @@ module MergeATSClient
72
75
  :'gender' => :'GenderEnum',
73
76
  :'veteran_status' => :'VeteranStatusEnum',
74
77
  :'disability_status' => :'DisabilityStatusEnum',
75
- :'remote_data' => :'Array<RemoteData>'
78
+ :'remote_data' => :'Array<RemoteData>',
79
+ :'remote_was_deleted' => :'Boolean'
76
80
  }
77
81
  end
78
82
 
@@ -86,7 +90,7 @@ module MergeATSClient
86
90
  :'gender',
87
91
  :'veteran_status',
88
92
  :'disability_status',
89
- :'remote_data'
93
+ :'remote_data',
90
94
  ])
91
95
  end
92
96
 
@@ -142,6 +146,10 @@ module MergeATSClient
142
146
  self.remote_data = value
143
147
  end
144
148
  end
149
+
150
+ if attributes.key?(:'remote_was_deleted')
151
+ self.remote_was_deleted = attributes[:'remote_was_deleted']
152
+ end
145
153
  end
146
154
 
147
155
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -170,7 +178,8 @@ module MergeATSClient
170
178
  gender == o.gender &&
171
179
  veteran_status == o.veteran_status &&
172
180
  disability_status == o.disability_status &&
173
- remote_data == o.remote_data
181
+ remote_data == o.remote_data &&
182
+ remote_was_deleted == o.remote_was_deleted
174
183
  end
175
184
 
176
185
  # @see the `==` method
@@ -182,7 +191,7 @@ module MergeATSClient
182
191
  # Calculates hash code according to all attributes.
183
192
  # @return [Integer] Hash code
184
193
  def hash
185
- [id, remote_id, candidate, submitted_at, race, gender, veteran_status, disability_status, remote_data].hash
194
+ [id, remote_id, candidate, submitted_at, race, gender, veteran_status, disability_status, remote_data, remote_was_deleted].hash
186
195
  end
187
196
 
188
197
  # Builds the object from hash
@@ -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,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The EmailAddress Object ### Description The `EmailAddress` object is used to represent a candidate's email address. ### Usage Example Fetch from the `GET Candidate` endpoint and view their email addresses.
17
+ # # The EmailAddress Object ### Description The `EmailAddress` object is used to represent a candidate's email address. ### Usage Example Fetch from the `GET Candidate` endpoint and view their email addresses.
18
18
  class EmailAddress
19
19
  # The email address.
20
20
  attr_accessor :value
@@ -164,7 +164,7 @@ module MergeATSClient
164
164
  when :Date
165
165
  Date.parse(value)
166
166
  when :String
167
- value.to_s
167
+ value
168
168
  when :Integer
169
169
  value.to_i
170
170
  when :Float
@@ -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,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module MergeATSClient
17
- # # The EmailAddress Object ### Description The `EmailAddress` object is used to represent a candidate's email address. ### Usage Example Fetch from the `GET Candidate` endpoint and view their email addresses.
17
+ # # The EmailAddress Object ### Description The `EmailAddress` object is used to represent a candidate's email address. ### Usage Example Fetch from the `GET Candidate` endpoint and view their email addresses.
18
18
  class EmailAddressRequest
19
19
  # The email address.
20
20
  attr_accessor :value
@@ -164,7 +164,7 @@ module MergeATSClient
164
164
  when :Date
165
165
  Date.parse(value)
166
166
  when :String
167
- value.to_s
167
+ value
168
168
  when :Integer
169
169
  value.to_i
170
170
  when :Float
@@ -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