merge_ats_client 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (297) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +208 -0
  4. data/Rakefile +10 -0
  5. data/config.json +2 -0
  6. data/docs/AccessRoleEnum.md +15 -0
  7. data/docs/AccountIntegration.md +28 -0
  8. data/docs/AccountToken.md +18 -0
  9. data/docs/AccountTokenApi.md +79 -0
  10. data/docs/ActivitiesApi.md +181 -0
  11. data/docs/Activity.md +34 -0
  12. data/docs/ActivityTypeEnum.md +15 -0
  13. data/docs/Application.md +38 -0
  14. data/docs/ApplicationRequest.md +34 -0
  15. data/docs/ApplicationsApi.md +351 -0
  16. data/docs/Attachment.md +28 -0
  17. data/docs/AttachmentsApi.md +177 -0
  18. data/docs/AvailableActions.md +22 -0
  19. data/docs/AvailableActionsApi.md +79 -0
  20. data/docs/Candidate.md +54 -0
  21. data/docs/CandidateRequest.md +46 -0
  22. data/docs/CandidatesApi.md +259 -0
  23. data/docs/DataPassthrough.md +24 -0
  24. data/docs/DataPassthroughRequest.md +26 -0
  25. data/docs/Department.md +24 -0
  26. data/docs/DepartmentsApi.md +175 -0
  27. data/docs/DisabilityStatusEnum.md +15 -0
  28. data/docs/EEOC.md +34 -0
  29. data/docs/EeocsApi.md +181 -0
  30. data/docs/EmailAddress.md +20 -0
  31. data/docs/EmailAddressRequest.md +20 -0
  32. data/docs/EmailAddressTypeEnum.md +15 -0
  33. data/docs/EndUserDetails.md +24 -0
  34. data/docs/EndUserDetailsRequest.md +26 -0
  35. data/docs/GenderEnum.md +15 -0
  36. data/docs/GenerateKeyApi.md +79 -0
  37. data/docs/GenerateRemoteKeyRequest.md +18 -0
  38. data/docs/InterviewsApi.md +185 -0
  39. data/docs/Job.md +40 -0
  40. data/docs/JobInterviewStage.md +26 -0
  41. data/docs/JobInterviewStagesApi.md +181 -0
  42. data/docs/JobStatusEnum.md +15 -0
  43. data/docs/JobsApi.md +179 -0
  44. data/docs/LinkToken.md +20 -0
  45. data/docs/LinkTokenApi.md +79 -0
  46. data/docs/MethodEnum.md +15 -0
  47. data/docs/ModelOperation.md +22 -0
  48. data/docs/Offer.md +36 -0
  49. data/docs/OfferStatusEnum.md +15 -0
  50. data/docs/OffersApi.md +183 -0
  51. data/docs/Office.md +26 -0
  52. data/docs/OfficesApi.md +175 -0
  53. data/docs/OverallRecommendationEnum.md +15 -0
  54. data/docs/PaginatedActivityList.md +22 -0
  55. data/docs/PaginatedApplicationList.md +22 -0
  56. data/docs/PaginatedAttachmentList.md +22 -0
  57. data/docs/PaginatedCandidateList.md +22 -0
  58. data/docs/PaginatedDepartmentList.md +22 -0
  59. data/docs/PaginatedEEOCList.md +22 -0
  60. data/docs/PaginatedJobInterviewStageList.md +22 -0
  61. data/docs/PaginatedJobList.md +22 -0
  62. data/docs/PaginatedOfferList.md +22 -0
  63. data/docs/PaginatedOfficeList.md +22 -0
  64. data/docs/PaginatedRejectReasonList.md +22 -0
  65. data/docs/PaginatedRemoteUserList.md +22 -0
  66. data/docs/PaginatedScheduledInterviewList.md +22 -0
  67. data/docs/PaginatedScorecardList.md +22 -0
  68. data/docs/PaginatedTagList.md +22 -0
  69. data/docs/PassthroughApi.md +81 -0
  70. data/docs/PatchedApplicationRequest.md +34 -0
  71. data/docs/PhoneNumber.md +20 -0
  72. data/docs/PhoneNumberRequest.md +20 -0
  73. data/docs/PhoneNumberTypeEnum.md +15 -0
  74. data/docs/RaceEnum.md +15 -0
  75. data/docs/RegenerateKeyApi.md +79 -0
  76. data/docs/RejectReason.md +24 -0
  77. data/docs/RejectReasonsApi.md +175 -0
  78. data/docs/RemoteData.md +20 -0
  79. data/docs/RemoteDataRequest.md +20 -0
  80. data/docs/RemoteKey.md +20 -0
  81. data/docs/RemoteKeyForRegeneration.md +18 -0
  82. data/docs/RemoteKeyForRegenerationRequest.md +18 -0
  83. data/docs/RemoteResponse.md +26 -0
  84. data/docs/RemoteUser.md +34 -0
  85. data/docs/ScheduledInterview.md +42 -0
  86. data/docs/ScheduledInterviewStatusEnum.md +15 -0
  87. data/docs/Scorecard.md +34 -0
  88. data/docs/ScorecardsApi.md +185 -0
  89. data/docs/SyncStatus.md +28 -0
  90. data/docs/SyncStatusApi.md +79 -0
  91. data/docs/Tag.md +22 -0
  92. data/docs/TagsApi.md +97 -0
  93. data/docs/Url.md +20 -0
  94. data/docs/UrlRequest.md +20 -0
  95. data/docs/UrlTypeEnum.md +15 -0
  96. data/docs/UsersApi.md +175 -0
  97. data/docs/VeteranStatusEnum.md +15 -0
  98. data/docs/VisibilityEnum.md +15 -0
  99. data/git_push.sh +58 -0
  100. data/lib/merge_ats_client.rb +131 -0
  101. data/lib/merge_ats_client/api/account_token_api.rb +83 -0
  102. data/lib/merge_ats_client/api/activities_api.rb +196 -0
  103. data/lib/merge_ats_client/api/applications_api.rb +366 -0
  104. data/lib/merge_ats_client/api/attachments_api.rb +182 -0
  105. data/lib/merge_ats_client/api/available_actions_api.rb +84 -0
  106. data/lib/merge_ats_client/api/candidates_api.rb +269 -0
  107. data/lib/merge_ats_client/api/departments_api.rb +179 -0
  108. data/lib/merge_ats_client/api/eeocs_api.rb +196 -0
  109. data/lib/merge_ats_client/api/generate_key_api.rb +85 -0
  110. data/lib/merge_ats_client/api/interviews_api.rb +202 -0
  111. data/lib/merge_ats_client/api/job_interview_stages_api.rb +196 -0
  112. data/lib/merge_ats_client/api/jobs_api.rb +193 -0
  113. data/lib/merge_ats_client/api/link_token_api.rb +85 -0
  114. data/lib/merge_ats_client/api/offers_api.rb +199 -0
  115. data/lib/merge_ats_client/api/offices_api.rb +179 -0
  116. data/lib/merge_ats_client/api/passthrough_api.rb +92 -0
  117. data/lib/merge_ats_client/api/regenerate_key_api.rb +85 -0
  118. data/lib/merge_ats_client/api/reject_reasons_api.rb +179 -0
  119. data/lib/merge_ats_client/api/scorecards_api.rb +202 -0
  120. data/lib/merge_ats_client/api/sync_status_api.rb +84 -0
  121. data/lib/merge_ats_client/api/tags_api.rb +108 -0
  122. data/lib/merge_ats_client/api/users_api.rb +179 -0
  123. data/lib/merge_ats_client/api_client.rb +390 -0
  124. data/lib/merge_ats_client/api_error.rb +57 -0
  125. data/lib/merge_ats_client/configuration.rb +279 -0
  126. data/lib/merge_ats_client/models/access_role_enum.rb +38 -0
  127. data/lib/merge_ats_client/models/account_integration.rb +325 -0
  128. data/lib/merge_ats_client/models/account_token.rb +223 -0
  129. data/lib/merge_ats_client/models/activity.rb +308 -0
  130. data/lib/merge_ats_client/models/activity_type_enum.rb +36 -0
  131. data/lib/merge_ats_client/models/application.rb +330 -0
  132. data/lib/merge_ats_client/models/application_request.rb +309 -0
  133. data/lib/merge_ats_client/models/attachment.rb +289 -0
  134. data/lib/merge_ats_client/models/available_actions.rb +249 -0
  135. data/lib/merge_ats_client/models/candidate.rb +420 -0
  136. data/lib/merge_ats_client/models/candidate_request.rb +377 -0
  137. data/lib/merge_ats_client/models/data_passthrough.rb +262 -0
  138. data/lib/merge_ats_client/models/data_passthrough_request.rb +271 -0
  139. data/lib/merge_ats_client/models/department.rb +253 -0
  140. data/lib/merge_ats_client/models/disability_status_enum.rb +36 -0
  141. data/lib/merge_ats_client/models/eeoc.rb +308 -0
  142. data/lib/merge_ats_client/models/email_address.rb +247 -0
  143. data/lib/merge_ats_client/models/email_address_request.rb +247 -0
  144. data/lib/merge_ats_client/models/email_address_type_enum.rb +36 -0
  145. data/lib/merge_ats_client/models/end_user_details.rb +289 -0
  146. data/lib/merge_ats_client/models/end_user_details_request.rb +298 -0
  147. data/lib/merge_ats_client/models/gender_enum.rb +38 -0
  148. data/lib/merge_ats_client/models/generate_remote_key_request.rb +224 -0
  149. data/lib/merge_ats_client/models/job.rb +341 -0
  150. data/lib/merge_ats_client/models/job_interview_stage.rb +264 -0
  151. data/lib/merge_ats_client/models/job_status_enum.rb +38 -0
  152. data/lib/merge_ats_client/models/link_token.rb +237 -0
  153. data/lib/merge_ats_client/models/method_enum.rb +40 -0
  154. data/lib/merge_ats_client/models/model_operation.rb +256 -0
  155. data/lib/merge_ats_client/models/offer.rb +319 -0
  156. data/lib/merge_ats_client/models/offer_status_enum.rb +42 -0
  157. data/lib/merge_ats_client/models/office.rb +264 -0
  158. data/lib/merge_ats_client/models/overall_recommendation_enum.rb +38 -0
  159. data/lib/merge_ats_client/models/paginated_activity_list.rb +240 -0
  160. data/lib/merge_ats_client/models/paginated_application_list.rb +240 -0
  161. data/lib/merge_ats_client/models/paginated_attachment_list.rb +240 -0
  162. data/lib/merge_ats_client/models/paginated_candidate_list.rb +240 -0
  163. data/lib/merge_ats_client/models/paginated_department_list.rb +240 -0
  164. data/lib/merge_ats_client/models/paginated_eeoc_list.rb +240 -0
  165. data/lib/merge_ats_client/models/paginated_job_interview_stage_list.rb +240 -0
  166. data/lib/merge_ats_client/models/paginated_job_list.rb +240 -0
  167. data/lib/merge_ats_client/models/paginated_offer_list.rb +240 -0
  168. data/lib/merge_ats_client/models/paginated_office_list.rb +240 -0
  169. data/lib/merge_ats_client/models/paginated_reject_reason_list.rb +240 -0
  170. data/lib/merge_ats_client/models/paginated_remote_user_list.rb +240 -0
  171. data/lib/merge_ats_client/models/paginated_scheduled_interview_list.rb +240 -0
  172. data/lib/merge_ats_client/models/paginated_scorecard_list.rb +240 -0
  173. data/lib/merge_ats_client/models/paginated_tag_list.rb +240 -0
  174. data/lib/merge_ats_client/models/patched_application_request.rb +309 -0
  175. data/lib/merge_ats_client/models/phone_number.rb +232 -0
  176. data/lib/merge_ats_client/models/phone_number_request.rb +232 -0
  177. data/lib/merge_ats_client/models/phone_number_type_enum.rb +38 -0
  178. data/lib/merge_ats_client/models/race_enum.rb +41 -0
  179. data/lib/merge_ats_client/models/reject_reason.rb +253 -0
  180. data/lib/merge_ats_client/models/remote_data.rb +234 -0
  181. data/lib/merge_ats_client/models/remote_data_request.rb +234 -0
  182. data/lib/merge_ats_client/models/remote_key.rb +238 -0
  183. data/lib/merge_ats_client/models/remote_key_for_regeneration.rb +224 -0
  184. data/lib/merge_ats_client/models/remote_key_for_regeneration_request.rb +224 -0
  185. data/lib/merge_ats_client/models/remote_response.rb +279 -0
  186. data/lib/merge_ats_client/models/remote_user.rb +323 -0
  187. data/lib/merge_ats_client/models/scheduled_interview.rb +352 -0
  188. data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +36 -0
  189. data/lib/merge_ats_client/models/scorecard.rb +308 -0
  190. data/lib/merge_ats_client/models/sync_status.rb +294 -0
  191. data/lib/merge_ats_client/models/tag.rb +244 -0
  192. data/lib/merge_ats_client/models/url.rb +247 -0
  193. data/lib/merge_ats_client/models/url_request.rb +247 -0
  194. data/lib/merge_ats_client/models/url_type_enum.rb +39 -0
  195. data/lib/merge_ats_client/models/veteran_status_enum.rb +36 -0
  196. data/lib/merge_ats_client/models/visibility_enum.rb +36 -0
  197. data/lib/merge_ats_client/version.rb +15 -0
  198. data/merge_ats_client-1.0.0.gem +0 -0
  199. data/merge_ats_client.gemspec +38 -0
  200. data/pull_request_template.md +22 -0
  201. data/spec/api/account_token_api_spec.rb +46 -0
  202. data/spec/api/activities_api_spec.rb +68 -0
  203. data/spec/api/applications_api_spec.rb +72 -0
  204. data/spec/api/attachments_api_spec.rb +66 -0
  205. data/spec/api/available_actions_api_spec.rb +46 -0
  206. data/spec/api/candidates_api_spec.rb +67 -0
  207. data/spec/api/departments_api_spec.rb +65 -0
  208. data/spec/api/eeocs_api_spec.rb +68 -0
  209. data/spec/api/interviews_api_spec.rb +70 -0
  210. data/spec/api/job_interview_stages_api_spec.rb +68 -0
  211. data/spec/api/jobs_api_spec.rb +67 -0
  212. data/spec/api/link_token_api_spec.rb +46 -0
  213. data/spec/api/offers_api_spec.rb +69 -0
  214. data/spec/api/offices_api_spec.rb +65 -0
  215. data/spec/api/passthrough_api_spec.rb +47 -0
  216. data/spec/api/regenerate_key_api_spec.rb +48 -0
  217. data/spec/api/reject_reasons_api_spec.rb +65 -0
  218. data/spec/api/scorecards_api_spec.rb +70 -0
  219. data/spec/api/sync_status_api_spec.rb +45 -0
  220. data/spec/api/tags_api_spec.rb +53 -0
  221. data/spec/api/users_api_spec.rb +65 -0
  222. data/spec/api_client_spec.rb +226 -0
  223. data/spec/configuration_spec.rb +42 -0
  224. data/spec/models/access_role_enum_spec.rb +28 -0
  225. data/spec/models/account_integration_spec.rb +58 -0
  226. data/spec/models/account_token_spec.rb +34 -0
  227. data/spec/models/activity_spec.rb +76 -0
  228. data/spec/models/activity_type_enum_spec.rb +28 -0
  229. data/spec/models/application_request_spec.rb +82 -0
  230. data/spec/models/application_spec.rb +94 -0
  231. data/spec/models/attachment_spec.rb +52 -0
  232. data/spec/models/available_actions_spec.rb +46 -0
  233. data/spec/models/candidate_request_spec.rb +118 -0
  234. data/spec/models/candidate_spec.rb +136 -0
  235. data/spec/models/data_passthrough_request_spec.rb +58 -0
  236. data/spec/models/data_passthrough_spec.rb +52 -0
  237. data/spec/models/department_spec.rb +46 -0
  238. data/spec/models/disability_status_enum_spec.rb +28 -0
  239. data/spec/models/eeoc_spec.rb +76 -0
  240. data/spec/models/email_address_request_spec.rb +40 -0
  241. data/spec/models/email_address_spec.rb +40 -0
  242. data/spec/models/email_address_type_enum_spec.rb +28 -0
  243. data/spec/models/end_user_details_request_spec.rb +56 -0
  244. data/spec/models/end_user_details_spec.rb +56 -0
  245. data/spec/models/gender_enum_spec.rb +28 -0
  246. data/spec/models/generate_remote_key_request_spec.rb +34 -0
  247. data/spec/models/job_interview_stage_spec.rb +52 -0
  248. data/spec/models/job_spec.rb +88 -0
  249. data/spec/models/job_status_enum_spec.rb +28 -0
  250. data/spec/models/link_token_spec.rb +40 -0
  251. data/spec/models/method_enum_spec.rb +28 -0
  252. data/spec/models/model_operation_spec.rb +40 -0
  253. data/spec/models/offer_spec.rb +82 -0
  254. data/spec/models/offer_status_enum_spec.rb +28 -0
  255. data/spec/models/office_spec.rb +52 -0
  256. data/spec/models/overall_recommendation_enum_spec.rb +28 -0
  257. data/spec/models/paginated_activity_list_spec.rb +46 -0
  258. data/spec/models/paginated_application_list_spec.rb +46 -0
  259. data/spec/models/paginated_attachment_list_spec.rb +46 -0
  260. data/spec/models/paginated_candidate_list_spec.rb +46 -0
  261. data/spec/models/paginated_department_list_spec.rb +46 -0
  262. data/spec/models/paginated_eeoc_list_spec.rb +46 -0
  263. data/spec/models/paginated_job_interview_stage_list_spec.rb +46 -0
  264. data/spec/models/paginated_job_list_spec.rb +46 -0
  265. data/spec/models/paginated_offer_list_spec.rb +46 -0
  266. data/spec/models/paginated_office_list_spec.rb +46 -0
  267. data/spec/models/paginated_reject_reason_list_spec.rb +46 -0
  268. data/spec/models/paginated_remote_user_list_spec.rb +46 -0
  269. data/spec/models/paginated_scheduled_interview_list_spec.rb +46 -0
  270. data/spec/models/paginated_scorecard_list_spec.rb +46 -0
  271. data/spec/models/paginated_tag_list_spec.rb +46 -0
  272. data/spec/models/patched_application_request_spec.rb +82 -0
  273. data/spec/models/phone_number_request_spec.rb +40 -0
  274. data/spec/models/phone_number_spec.rb +40 -0
  275. data/spec/models/phone_number_type_enum_spec.rb +28 -0
  276. data/spec/models/race_enum_spec.rb +28 -0
  277. data/spec/models/reject_reason_spec.rb +46 -0
  278. data/spec/models/remote_data_spec.rb +40 -0
  279. data/spec/models/remote_key_for_regeneration_request_spec.rb +34 -0
  280. data/spec/models/remote_key_for_regeneration_spec.rb +34 -0
  281. data/spec/models/remote_key_spec.rb +40 -0
  282. data/spec/models/remote_response_spec.rb +58 -0
  283. data/spec/models/remote_user_spec.rb +76 -0
  284. data/spec/models/scheduled_interview_spec.rb +100 -0
  285. data/spec/models/scheduled_interview_status_enum_spec.rb +28 -0
  286. data/spec/models/scorecard_spec.rb +76 -0
  287. data/spec/models/sync_status_spec.rb +64 -0
  288. data/spec/models/tag_spec.rb +40 -0
  289. data/spec/models/url_request_spec.rb +40 -0
  290. data/spec/models/url_spec.rb +40 -0
  291. data/spec/models/url_type_enum_spec.rb +28 -0
  292. data/spec/models/veteran_status_enum_spec.rb +28 -0
  293. data/spec/models/visibility_enum_spec.rb +28 -0
  294. data/spec/spec_helper.rb +111 -0
  295. data/test_ats.rb +22 -0
  296. data/test_signature.rb +32 -0
  297. metadata +473 -0
data/docs/Activity.md ADDED
@@ -0,0 +1,34 @@
1
+ # MergeATSClient::Activity
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional][readonly] |
8
+ | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
+ | **user** | **String** | The user the performed the action. | [optional] |
10
+ | **remote_created_at** | **Time** | When the third party's activity was created. | [optional] |
11
+ | **activity_type** | [**ActivityTypeEnum**](ActivityTypeEnum.md) | The activity's type. | [optional] |
12
+ | **subject** | **String** | The activity's subject. | [optional] |
13
+ | **body** | **String** | The activity's body. | [optional] |
14
+ | **visibility** | [**VisibilityEnum**](VisibilityEnum.md) | The activity's visibility. | [optional] |
15
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'merge_ats_client'
21
+
22
+ instance = MergeATSClient::Activity.new(
23
+ id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4,
24
+ remote_id: 198123,
25
+ user: 9d892439-5fab-4dbb-8bd8-34f7f96c7912,
26
+ remote_created_at: null,
27
+ activity_type: NOTE,
28
+ subject: Gil Feig's applicant status,
29
+ body: Candidate will only join if we provide a Barry's subsidy.,
30
+ visibility: PRIVATE,
31
+ remote_data: [{"path":"/actions","data":["Varies by platform"]}]
32
+ )
33
+ ```
34
+
@@ -0,0 +1,15 @@
1
+ # MergeATSClient::ActivityTypeEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'merge_ats_client'
12
+
13
+ instance = MergeATSClient::ActivityTypeEnum.new()
14
+ ```
15
+
@@ -0,0 +1,38 @@
1
+ # MergeATSClient::Application
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional][readonly] |
8
+ | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
+ | **candidate** | **String** | The candidate applying. | [optional] |
10
+ | **job** | **String** | The job being applied for. | [optional] |
11
+ | **applied_at** | **Time** | When the application was submitted. | [optional] |
12
+ | **rejected_at** | **Time** | When the application was rejected. | [optional] |
13
+ | **source** | **String** | The application's source. | [optional] |
14
+ | **credited_to** | **String** | The user credited for this application. | [optional] |
15
+ | **current_stage** | **String** | The application's current stage. | [optional] |
16
+ | **reject_reason** | **String** | The application's reason for rejection. | [optional] |
17
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'merge_ats_client'
23
+
24
+ instance = MergeATSClient::Application.new(
25
+ id: 92e8a369-fffe-430d-b93a-f7e8a16563f1,
26
+ remote_id: 98796,
27
+ candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef,
28
+ job: 52bf9b5e-0beb-4f6f-8a72-cd4dca7ca633,
29
+ applied_at: null,
30
+ rejected_at: null,
31
+ source: Campus recruiting event,
32
+ credited_to: 58166795-8d68-4b30-9bfb-bfd402479484,
33
+ current_stage: d578dfdc-7b0a-4ab6-a2b0-4b40f20eb9ea,
34
+ reject_reason: 59b25f2b-da02-40f5-9656-9fa0db555784,
35
+ remote_data: [{"path":"/candidacies","data":["Varies by platform"]}]
36
+ )
37
+ ```
38
+
@@ -0,0 +1,34 @@
1
+ # MergeATSClient::ApplicationRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
8
+ | **candidate** | **String** | The candidate applying. | [optional] |
9
+ | **job** | **String** | The job being applied for. | [optional] |
10
+ | **applied_at** | **Time** | When the application was submitted. | [optional] |
11
+ | **rejected_at** | **Time** | When the application was rejected. | [optional] |
12
+ | **source** | **String** | The application's source. | [optional] |
13
+ | **credited_to** | **String** | The user credited for this application. | [optional] |
14
+ | **current_stage** | **String** | The application's current stage. | [optional] |
15
+ | **reject_reason** | **String** | The application's reason for rejection. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'merge_ats_client'
21
+
22
+ instance = MergeATSClient::ApplicationRequest.new(
23
+ remote_id: 98796,
24
+ candidate: 2872ba14-4084-492b-be96-e5eee6fc33ef,
25
+ job: 52bf9b5e-0beb-4f6f-8a72-cd4dca7ca633,
26
+ applied_at: null,
27
+ rejected_at: null,
28
+ source: Campus recruiting event,
29
+ credited_to: 58166795-8d68-4b30-9bfb-bfd402479484,
30
+ current_stage: d578dfdc-7b0a-4ab6-a2b0-4b40f20eb9ea,
31
+ reject_reason: 59b25f2b-da02-40f5-9656-9fa0db555784
32
+ )
33
+ ```
34
+
@@ -0,0 +1,351 @@
1
+ # MergeATSClient::ApplicationsApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/ats/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**applications_create**](ApplicationsApi.md#applications_create) | **POST** /applications | |
8
+ | [**applications_list**](ApplicationsApi.md#applications_list) | **GET** /applications | |
9
+ | [**applications_partial_update**](ApplicationsApi.md#applications_partial_update) | **PATCH** /applications/{id} | |
10
+ | [**applications_retrieve**](ApplicationsApi.md#applications_retrieve) | **GET** /applications/{id} | |
11
+
12
+
13
+ ## applications_create
14
+
15
+ > <Application> applications_create(x_account_token, remote_user_id, opts)
16
+
17
+
18
+
19
+ Creates an `Application` object with the given values.
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'merge_ats_client'
26
+ # setup authorization
27
+ MergeATSClient.configure do |config|
28
+ # Configure API key authorization: tokenAuth
29
+ config.api_key['Authorization'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ # config.api_key_prefix['Authorization'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = MergeATSClient::ApplicationsApi.new
35
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
36
+ remote_user_id = 'remote_user_id_example' # String | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.
37
+ opts = {
38
+ run_async: true, # Boolean | Whether or not third-party updates should be run asynchronously.
39
+ application_request: MergeATSClient::ApplicationRequest.new # ApplicationRequest |
40
+ }
41
+
42
+ begin
43
+
44
+ result = api_instance.applications_create(x_account_token, remote_user_id, opts)
45
+ p result
46
+ rescue MergeATSClient::ApiError => e
47
+ puts "Error when calling ApplicationsApi->applications_create: #{e}"
48
+ end
49
+ ```
50
+
51
+ #### Using the applications_create_with_http_info variant
52
+
53
+ This returns an Array which contains the response data, status code and headers.
54
+
55
+ > <Array(<Application>, Integer, Hash)> applications_create_with_http_info(x_account_token, remote_user_id, opts)
56
+
57
+ ```ruby
58
+ begin
59
+
60
+ data, status_code, headers = api_instance.applications_create_with_http_info(x_account_token, remote_user_id, opts)
61
+ p status_code # => 2xx
62
+ p headers # => { ... }
63
+ p data # => <Application>
64
+ rescue MergeATSClient::ApiError => e
65
+ puts "Error when calling ApplicationsApi->applications_create_with_http_info: #{e}"
66
+ end
67
+ ```
68
+
69
+ ### Parameters
70
+
71
+ | Name | Type | Description | Notes |
72
+ | ---- | ---- | ----------- | ----- |
73
+ | **x_account_token** | **String** | Token identifying the end user. | |
74
+ | **remote_user_id** | **String** | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table. | |
75
+ | **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
76
+ | **application_request** | [**ApplicationRequest**](ApplicationRequest.md) | | [optional] |
77
+
78
+ ### Return type
79
+
80
+ [**Application**](Application.md)
81
+
82
+ ### Authorization
83
+
84
+ [tokenAuth](../README.md#tokenAuth)
85
+
86
+ ### HTTP request headers
87
+
88
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
89
+ - **Accept**: application/json
90
+
91
+
92
+ ## applications_list
93
+
94
+ > <PaginatedApplicationList> applications_list(x_account_token, opts)
95
+
96
+
97
+
98
+ Returns a list of `Application` objects.
99
+
100
+ ### Examples
101
+
102
+ ```ruby
103
+ require 'time'
104
+ require 'merge_ats_client'
105
+ # setup authorization
106
+ MergeATSClient.configure do |config|
107
+ # Configure API key authorization: tokenAuth
108
+ config.api_key['Authorization'] = 'YOUR API KEY'
109
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
110
+ # config.api_key_prefix['Authorization'] = 'Bearer'
111
+ end
112
+
113
+ api_instance = MergeATSClient::ApplicationsApi.new
114
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
115
+ opts = {
116
+ candidate_id: 'candidate_id_example', # String | If provided, will only return applications for this candidate.
117
+ created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
118
+ created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
119
+ credited_to_id: 'credited_to_id_example', # String | If provided, will only return applications credited to this user.
120
+ current_stage_id: 'current_stage_id_example', # String | If provided, will only return applications at this interview stage.
121
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
122
+ expand: 'candidate', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
123
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
124
+ job_id: 'job_id_example', # String | If provided, will only return applications for this job.
125
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
126
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
127
+ page_size: 56, # Integer | Number of results to return per page.
128
+ reject_reason_id: 'reject_reason_id_example', # String | If provided, will only return applications with this reject reason.
129
+ remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
130
+ }
131
+
132
+ begin
133
+
134
+ result = api_instance.applications_list(x_account_token, opts)
135
+ p result
136
+ rescue MergeATSClient::ApiError => e
137
+ puts "Error when calling ApplicationsApi->applications_list: #{e}"
138
+ end
139
+ ```
140
+
141
+ #### Using the applications_list_with_http_info variant
142
+
143
+ This returns an Array which contains the response data, status code and headers.
144
+
145
+ > <Array(<PaginatedApplicationList>, Integer, Hash)> applications_list_with_http_info(x_account_token, opts)
146
+
147
+ ```ruby
148
+ begin
149
+
150
+ data, status_code, headers = api_instance.applications_list_with_http_info(x_account_token, opts)
151
+ p status_code # => 2xx
152
+ p headers # => { ... }
153
+ p data # => <PaginatedApplicationList>
154
+ rescue MergeATSClient::ApiError => e
155
+ puts "Error when calling ApplicationsApi->applications_list_with_http_info: #{e}"
156
+ end
157
+ ```
158
+
159
+ ### Parameters
160
+
161
+ | Name | Type | Description | Notes |
162
+ | ---- | ---- | ----------- | ----- |
163
+ | **x_account_token** | **String** | Token identifying the end user. | |
164
+ | **candidate_id** | **String** | If provided, will only return applications for this candidate. | [optional] |
165
+ | **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
166
+ | **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
167
+ | **credited_to_id** | **String** | If provided, will only return applications credited to this user. | [optional] |
168
+ | **current_stage_id** | **String** | If provided, will only return applications at this interview stage. | [optional] |
169
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
170
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
171
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
172
+ | **job_id** | **String** | If provided, will only return applications for this job. | [optional] |
173
+ | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
174
+ | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
175
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
176
+ | **reject_reason_id** | **String** | If provided, will only return applications with this reject reason. | [optional] |
177
+ | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
178
+
179
+ ### Return type
180
+
181
+ [**PaginatedApplicationList**](PaginatedApplicationList.md)
182
+
183
+ ### Authorization
184
+
185
+ [tokenAuth](../README.md#tokenAuth)
186
+
187
+ ### HTTP request headers
188
+
189
+ - **Content-Type**: Not defined
190
+ - **Accept**: application/json
191
+
192
+
193
+ ## applications_partial_update
194
+
195
+ > <Application> applications_partial_update(x_account_token, id, remote_user_id, opts)
196
+
197
+
198
+
199
+ Updates an `Application` object with the given `id`.
200
+
201
+ ### Examples
202
+
203
+ ```ruby
204
+ require 'time'
205
+ require 'merge_ats_client'
206
+ # setup authorization
207
+ MergeATSClient.configure do |config|
208
+ # Configure API key authorization: tokenAuth
209
+ config.api_key['Authorization'] = 'YOUR API KEY'
210
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
211
+ # config.api_key_prefix['Authorization'] = 'Bearer'
212
+ end
213
+
214
+ api_instance = MergeATSClient::ApplicationsApi.new
215
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
216
+ id = TODO # String |
217
+ remote_user_id = 'remote_user_id_example' # String | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table.
218
+ opts = {
219
+ run_async: true, # Boolean | Whether or not third-party updates should be run asynchronously.
220
+ patched_application_request: MergeATSClient::PatchedApplicationRequest.new # PatchedApplicationRequest |
221
+ }
222
+
223
+ begin
224
+
225
+ result = api_instance.applications_partial_update(x_account_token, id, remote_user_id, opts)
226
+ p result
227
+ rescue MergeATSClient::ApiError => e
228
+ puts "Error when calling ApplicationsApi->applications_partial_update: #{e}"
229
+ end
230
+ ```
231
+
232
+ #### Using the applications_partial_update_with_http_info variant
233
+
234
+ This returns an Array which contains the response data, status code and headers.
235
+
236
+ > <Array(<Application>, Integer, Hash)> applications_partial_update_with_http_info(x_account_token, id, remote_user_id, opts)
237
+
238
+ ```ruby
239
+ begin
240
+
241
+ data, status_code, headers = api_instance.applications_partial_update_with_http_info(x_account_token, id, remote_user_id, opts)
242
+ p status_code # => 2xx
243
+ p headers # => { ... }
244
+ p data # => <Application>
245
+ rescue MergeATSClient::ApiError => e
246
+ puts "Error when calling ApplicationsApi->applications_partial_update_with_http_info: #{e}"
247
+ end
248
+ ```
249
+
250
+ ### Parameters
251
+
252
+ | Name | Type | Description | Notes |
253
+ | ---- | ---- | ----------- | ----- |
254
+ | **x_account_token** | **String** | Token identifying the end user. | |
255
+ | **id** | [**String**](.md) | | |
256
+ | **remote_user_id** | **String** | The ID of the RemoteUser deleting the resource. This can be found in the ID field (not remote_id) in the RemoteUser table. | |
257
+ | **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
258
+ | **patched_application_request** | [**PatchedApplicationRequest**](PatchedApplicationRequest.md) | | [optional] |
259
+
260
+ ### Return type
261
+
262
+ [**Application**](Application.md)
263
+
264
+ ### Authorization
265
+
266
+ [tokenAuth](../README.md#tokenAuth)
267
+
268
+ ### HTTP request headers
269
+
270
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
271
+ - **Accept**: application/json
272
+
273
+
274
+ ## applications_retrieve
275
+
276
+ > <Application> applications_retrieve(x_account_token, id, opts)
277
+
278
+
279
+
280
+ Returns an `Application` object with the given `id`.
281
+
282
+ ### Examples
283
+
284
+ ```ruby
285
+ require 'time'
286
+ require 'merge_ats_client'
287
+ # setup authorization
288
+ MergeATSClient.configure do |config|
289
+ # Configure API key authorization: tokenAuth
290
+ config.api_key['Authorization'] = 'YOUR API KEY'
291
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
292
+ # config.api_key_prefix['Authorization'] = 'Bearer'
293
+ end
294
+
295
+ api_instance = MergeATSClient::ApplicationsApi.new
296
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
297
+ id = TODO # String |
298
+ opts = {
299
+ expand: 'candidate', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
300
+ include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
301
+ }
302
+
303
+ begin
304
+
305
+ result = api_instance.applications_retrieve(x_account_token, id, opts)
306
+ p result
307
+ rescue MergeATSClient::ApiError => e
308
+ puts "Error when calling ApplicationsApi->applications_retrieve: #{e}"
309
+ end
310
+ ```
311
+
312
+ #### Using the applications_retrieve_with_http_info variant
313
+
314
+ This returns an Array which contains the response data, status code and headers.
315
+
316
+ > <Array(<Application>, Integer, Hash)> applications_retrieve_with_http_info(x_account_token, id, opts)
317
+
318
+ ```ruby
319
+ begin
320
+
321
+ data, status_code, headers = api_instance.applications_retrieve_with_http_info(x_account_token, id, opts)
322
+ p status_code # => 2xx
323
+ p headers # => { ... }
324
+ p data # => <Application>
325
+ rescue MergeATSClient::ApiError => e
326
+ puts "Error when calling ApplicationsApi->applications_retrieve_with_http_info: #{e}"
327
+ end
328
+ ```
329
+
330
+ ### Parameters
331
+
332
+ | Name | Type | Description | Notes |
333
+ | ---- | ---- | ----------- | ----- |
334
+ | **x_account_token** | **String** | Token identifying the end user. | |
335
+ | **id** | [**String**](.md) | | |
336
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
337
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
338
+
339
+ ### Return type
340
+
341
+ [**Application**](Application.md)
342
+
343
+ ### Authorization
344
+
345
+ [tokenAuth](../README.md#tokenAuth)
346
+
347
+ ### HTTP request headers
348
+
349
+ - **Content-Type**: Not defined
350
+ - **Accept**: application/json
351
+