merge_ats_client 2.0.1 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +16 -0
  3. data/README.md +186 -167
  4. data/docs/AccountIntegration.md +6 -2
  5. data/docs/ActivitiesApi.md +164 -8
  6. data/docs/Activity.md +12 -6
  7. data/docs/ActivityEndpointRequest.md +20 -0
  8. data/docs/ActivityRequest.md +32 -0
  9. data/docs/ActivityResponse.md +24 -0
  10. data/docs/Application.md +12 -10
  11. data/docs/ApplicationRequest.md +5 -9
  12. data/docs/ApplicationsApi.md +4 -4
  13. data/docs/Attachment.md +8 -4
  14. data/docs/AttachmentRequest.md +1 -3
  15. data/docs/AttachmentsApi.md +13 -9
  16. data/docs/Candidate.md +8 -6
  17. data/docs/CandidateRequest.md +1 -9
  18. data/docs/CandidatesApi.md +16 -13
  19. data/docs/CommonModelScopesBodyRequest.md +22 -0
  20. data/docs/ConditionSchema.md +30 -0
  21. data/docs/ConditionTypeEnum.md +15 -0
  22. data/docs/DataPassthroughRequest.md +1 -1
  23. data/docs/Department.md +7 -3
  24. data/docs/DepartmentsApi.md +4 -4
  25. data/docs/EEOC.md +12 -8
  26. data/docs/EeocsApi.md +13 -9
  27. data/docs/EmailAddress.md +4 -2
  28. data/docs/EmailAddressRequest.md +6 -2
  29. data/docs/EnabledActionsEnum.md +15 -0
  30. data/docs/EndUserDetailsRequest.md +5 -3
  31. data/docs/ForceResyncApi.md +1 -1
  32. data/docs/InterviewsApi.md +165 -9
  33. data/docs/Issue.md +10 -8
  34. data/docs/IssuesApi.md +6 -6
  35. data/docs/Job.md +8 -4
  36. data/docs/JobInterviewStage.md +10 -4
  37. data/docs/JobInterviewStagesApi.md +4 -4
  38. data/docs/JobsApi.md +16 -10
  39. data/docs/LinkToken.md +1 -1
  40. data/docs/LinkedAccountCondition.md +28 -0
  41. data/docs/LinkedAccountConditionRequest.md +22 -0
  42. data/docs/LinkedAccountSelectiveSyncConfiguration.md +18 -0
  43. data/docs/LinkedAccountSelectiveSyncConfigurationListRequest.md +18 -0
  44. data/docs/LinkedAccountSelectiveSyncConfigurationRequest.md +18 -0
  45. data/docs/LinkedAccountsApi.md +2 -2
  46. data/docs/MetaResponse.md +2 -0
  47. data/docs/MultipartFormFieldRequest.md +1 -1
  48. data/docs/Offer.md +10 -6
  49. data/docs/OffersApi.md +13 -9
  50. data/docs/Office.md +7 -3
  51. data/docs/OfficesApi.md +4 -4
  52. data/docs/OperatorSchema.md +20 -0
  53. data/docs/PaginatedConditionSchemaList.md +22 -0
  54. data/docs/PhoneNumber.md +4 -2
  55. data/docs/PhoneNumberRequest.md +6 -2
  56. data/docs/RejectReason.md +7 -3
  57. data/docs/RejectReasonsApi.md +4 -4
  58. data/docs/RemoteUser.md +8 -4
  59. data/docs/ScheduledInterview.md +11 -7
  60. data/docs/ScheduledInterviewEndpointRequest.md +20 -0
  61. data/docs/ScheduledInterviewRequest.md +36 -0
  62. data/docs/ScheduledInterviewResponse.md +24 -0
  63. data/docs/Scorecard.md +11 -7
  64. data/docs/ScorecardsApi.md +13 -9
  65. data/docs/SelectiveSyncApi.md +233 -0
  66. data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
  67. data/docs/SyncStatus.md +3 -1
  68. data/docs/SyncStatusApi.md +1 -1
  69. data/docs/Tag.md +7 -3
  70. data/docs/TagsApi.md +4 -4
  71. data/docs/Url.md +4 -2
  72. data/docs/UrlRequest.md +6 -2
  73. data/docs/UsersApi.md +13 -9
  74. data/lib/merge_ats_client/api/activities_api.rb +160 -8
  75. data/lib/merge_ats_client/api/applications_api.rb +4 -4
  76. data/lib/merge_ats_client/api/attachments_api.rb +22 -8
  77. data/lib/merge_ats_client/api/candidates_api.rb +15 -11
  78. data/lib/merge_ats_client/api/departments_api.rb +4 -4
  79. data/lib/merge_ats_client/api/eeocs_api.rb +22 -8
  80. data/lib/merge_ats_client/api/force_resync_api.rb +2 -2
  81. data/lib/merge_ats_client/api/interviews_api.rb +160 -8
  82. data/lib/merge_ats_client/api/issues_api.rb +6 -6
  83. data/lib/merge_ats_client/api/job_interview_stages_api.rb +4 -4
  84. data/lib/merge_ats_client/api/jobs_api.rb +27 -10
  85. data/lib/merge_ats_client/api/linked_accounts_api.rb +3 -3
  86. data/lib/merge_ats_client/api/offers_api.rb +22 -8
  87. data/lib/merge_ats_client/api/offices_api.rb +4 -4
  88. data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -4
  89. data/lib/merge_ats_client/api/scorecards_api.rb +22 -8
  90. data/lib/merge_ats_client/api/selective_sync_api.rb +225 -0
  91. data/lib/merge_ats_client/api/sync_status_api.rb +2 -2
  92. data/lib/merge_ats_client/api/tags_api.rb +4 -4
  93. data/lib/merge_ats_client/api/users_api.rb +22 -8
  94. data/lib/merge_ats_client/models/access_role_enum.rb +1 -1
  95. data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +1 -1
  96. data/lib/merge_ats_client/models/account_integration.rb +30 -8
  97. data/lib/merge_ats_client/models/activity.rb +50 -16
  98. data/lib/merge_ats_client/models/activity_endpoint_request.rb +237 -0
  99. data/lib/merge_ats_client/models/activity_request.rb +300 -0
  100. data/lib/merge_ats_client/models/activity_response.rb +266 -0
  101. data/lib/merge_ats_client/models/activity_type_enum.rb +1 -1
  102. data/lib/merge_ats_client/models/application.rb +40 -26
  103. data/lib/merge_ats_client/models/application_request.rb +7 -26
  104. data/lib/merge_ats_client/models/attachment.rb +38 -16
  105. data/lib/merge_ats_client/models/attachment_request.rb +3 -14
  106. data/lib/merge_ats_client/models/attachment_type_enum.rb +1 -1
  107. data/lib/merge_ats_client/models/candidate.rb +36 -27
  108. data/lib/merge_ats_client/models/candidate_request.rb +3 -49
  109. data/lib/merge_ats_client/models/categories_enum.rb +4 -2
  110. data/lib/merge_ats_client/models/category_enum.rb +4 -2
  111. data/lib/merge_ats_client/models/common_model_scopes_body_request.rb +274 -0
  112. data/lib/merge_ats_client/models/condition_schema.rb +298 -0
  113. data/lib/merge_ats_client/models/condition_type_enum.rb +50 -0
  114. data/lib/merge_ats_client/models/data_passthrough_request.rb +1 -0
  115. data/lib/merge_ats_client/models/department.rb +36 -14
  116. data/lib/merge_ats_client/models/disability_status_enum.rb +1 -1
  117. data/lib/merge_ats_client/models/eeoc.rb +42 -19
  118. data/lib/merge_ats_client/models/email_address.rb +16 -6
  119. data/lib/merge_ats_client/models/email_address_request.rb +30 -6
  120. data/lib/merge_ats_client/models/email_address_type_enum.rb +1 -1
  121. data/lib/merge_ats_client/models/enabled_actions_enum.rb +45 -0
  122. data/lib/merge_ats_client/models/encoding_enum.rb +1 -1
  123. data/lib/merge_ats_client/models/end_user_details_request.rb +20 -7
  124. data/lib/merge_ats_client/models/gender_enum.rb +1 -1
  125. data/lib/merge_ats_client/models/issue.rb +16 -4
  126. data/lib/merge_ats_client/models/job.rb +38 -16
  127. data/lib/merge_ats_client/models/job_interview_stage.rb +72 -15
  128. data/lib/merge_ats_client/models/job_status_enum.rb +1 -1
  129. data/lib/merge_ats_client/models/link_token.rb +0 -5
  130. data/lib/merge_ats_client/models/linked_account_condition.rb +282 -0
  131. data/lib/merge_ats_client/models/linked_account_condition_request.rb +269 -0
  132. data/lib/merge_ats_client/models/linked_account_selective_sync_configuration.rb +221 -0
  133. data/lib/merge_ats_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
  134. data/lib/merge_ats_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
  135. data/lib/merge_ats_client/models/meta_response.rb +12 -1
  136. data/lib/merge_ats_client/models/method_enum.rb +1 -1
  137. data/lib/merge_ats_client/models/multipart_form_field_request.rb +1 -1
  138. data/lib/merge_ats_client/models/offer.rb +40 -16
  139. data/lib/merge_ats_client/models/offer_status_enum.rb +1 -1
  140. data/lib/merge_ats_client/models/office.rb +37 -15
  141. data/lib/merge_ats_client/models/operator_schema.rb +229 -0
  142. data/lib/merge_ats_client/models/overall_recommendation_enum.rb +1 -1
  143. data/lib/merge_ats_client/models/paginated_condition_schema_list.rb +240 -0
  144. data/lib/merge_ats_client/models/phone_number.rb +16 -6
  145. data/lib/merge_ats_client/models/phone_number_request.rb +30 -6
  146. data/lib/merge_ats_client/models/phone_number_type_enum.rb +1 -1
  147. data/lib/merge_ats_client/models/race_enum.rb +1 -1
  148. data/lib/merge_ats_client/models/reason_enum.rb +1 -1
  149. data/lib/merge_ats_client/models/reject_reason.rb +37 -15
  150. data/lib/merge_ats_client/models/remote_user.rb +38 -16
  151. data/lib/merge_ats_client/models/request_format_enum.rb +1 -1
  152. data/lib/merge_ats_client/models/response_type_enum.rb +1 -1
  153. data/lib/merge_ats_client/models/scheduled_interview.rb +41 -16
  154. data/lib/merge_ats_client/models/scheduled_interview_endpoint_request.rb +237 -0
  155. data/lib/merge_ats_client/models/scheduled_interview_request.rb +323 -0
  156. data/lib/merge_ats_client/models/scheduled_interview_response.rb +266 -0
  157. data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +1 -1
  158. data/lib/merge_ats_client/models/scorecard.rb +41 -16
  159. data/lib/merge_ats_client/models/selective_sync_configurations_usage_enum.rb +45 -0
  160. data/lib/merge_ats_client/models/sync_status.rb +13 -4
  161. data/lib/merge_ats_client/models/sync_status_status_enum.rb +3 -2
  162. data/lib/merge_ats_client/models/tag.rb +36 -14
  163. data/lib/merge_ats_client/models/url.rb +17 -7
  164. data/lib/merge_ats_client/models/url_request.rb +31 -7
  165. data/lib/merge_ats_client/models/url_type_enum.rb +1 -1
  166. data/lib/merge_ats_client/models/veteran_status_enum.rb +1 -1
  167. data/lib/merge_ats_client/models/visibility_enum.rb +1 -1
  168. data/lib/merge_ats_client/version.rb +1 -1
  169. data/lib/merge_ats_client.rb +19 -1
  170. data/spec/api/activities_api_spec.rb +31 -4
  171. data/spec/api/applications_api_spec.rb +2 -2
  172. data/spec/api/attachments_api_spec.rb +6 -4
  173. data/spec/api/candidates_api_spec.rb +5 -3
  174. data/spec/api/departments_api_spec.rb +2 -2
  175. data/spec/api/eeocs_api_spec.rb +6 -4
  176. data/spec/api/force_resync_api_spec.rb +1 -1
  177. data/spec/api/interviews_api_spec.rb +31 -4
  178. data/spec/api/issues_api_spec.rb +3 -3
  179. data/spec/api/job_interview_stages_api_spec.rb +2 -2
  180. data/spec/api/jobs_api_spec.rb +8 -5
  181. data/spec/api/linked_accounts_api_spec.rb +1 -1
  182. data/spec/api/offers_api_spec.rb +6 -4
  183. data/spec/api/offices_api_spec.rb +2 -2
  184. data/spec/api/reject_reasons_api_spec.rb +2 -2
  185. data/spec/api/scorecards_api_spec.rb +6 -4
  186. data/spec/api/selective_sync_api_spec.rb +72 -0
  187. data/spec/api/sync_status_api_spec.rb +1 -1
  188. data/spec/api/tags_api_spec.rb +2 -2
  189. data/spec/api/users_api_spec.rb +6 -4
  190. data/spec/models/account_integration_spec.rb +12 -0
  191. data/spec/models/{ignore_common_model_spec.rb → activity_endpoint_request_spec.rb} +8 -8
  192. data/spec/models/activity_request_spec.rb +76 -0
  193. data/spec/models/activity_response_spec.rb +52 -0
  194. data/spec/models/activity_spec.rb +19 -1
  195. data/spec/models/application_request_spec.rb +0 -12
  196. data/spec/models/application_spec.rb +9 -3
  197. data/spec/models/attachment_request_spec.rb +0 -6
  198. data/spec/models/attachment_spec.rb +14 -2
  199. data/spec/models/candidate_request_spec.rb +0 -24
  200. data/spec/models/candidate_spec.rb +9 -3
  201. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  202. data/spec/models/condition_schema_spec.rb +70 -0
  203. data/spec/models/condition_type_enum_spec.rb +28 -0
  204. data/spec/models/department_spec.rb +14 -2
  205. data/spec/models/eeoc_spec.rb +14 -2
  206. data/spec/models/email_address_request_spec.rb +12 -0
  207. data/spec/models/email_address_spec.rb +6 -0
  208. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  209. data/spec/models/end_user_details_request_spec.rb +6 -0
  210. data/spec/models/issue_spec.rb +6 -0
  211. data/spec/models/job_interview_stage_spec.rb +19 -1
  212. data/spec/models/job_spec.rb +14 -2
  213. data/spec/models/linked_account_condition_request_spec.rb +46 -0
  214. data/spec/models/linked_account_condition_spec.rb +64 -0
  215. data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
  216. data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
  217. data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
  218. data/spec/models/meta_response_spec.rb +6 -0
  219. data/spec/models/offer_spec.rb +14 -2
  220. data/spec/models/office_spec.rb +14 -2
  221. data/spec/models/{remote_data_request_spec.rb → operator_schema_spec.rb} +8 -8
  222. data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
  223. data/spec/models/phone_number_request_spec.rb +12 -0
  224. data/spec/models/phone_number_spec.rb +6 -0
  225. data/spec/models/reject_reason_spec.rb +14 -2
  226. data/spec/models/remote_user_spec.rb +14 -2
  227. data/spec/models/scheduled_interview_endpoint_request_spec.rb +40 -0
  228. data/spec/models/scheduled_interview_request_spec.rb +88 -0
  229. data/spec/models/scheduled_interview_response_spec.rb +52 -0
  230. data/spec/models/scheduled_interview_spec.rb +14 -2
  231. data/spec/models/scorecard_spec.rb +14 -2
  232. data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
  233. data/spec/models/sync_status_spec.rb +6 -0
  234. data/spec/models/tag_spec.rb +14 -2
  235. data/spec/models/url_request_spec.rb +12 -0
  236. data/spec/models/url_spec.rb +6 -0
  237. metadata +182 -109
data/docs/UrlRequest.md CHANGED
@@ -5,7 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **value** | **String** | The site's url. | [optional] |
8
- | **url_type** | [**UrlTypeEnum**](UrlTypeEnum.md) | The type of site. | [optional] |
8
+ | **url_type** | [**UrlTypeEnum**](UrlTypeEnum.md) | The type of site. * `PERSONAL` - PERSONAL * `COMPANY` - COMPANY * `PORTFOLIO` - PORTFOLIO * `BLOG` - BLOG * `SOCIAL_MEDIA` - SOCIAL_MEDIA * `OTHER` - OTHER * `JOB_POSTING` - JOB_POSTING | [optional] |
9
+ | **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
10
+ | **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
9
11
 
10
12
  ## Example
11
13
 
@@ -14,7 +16,9 @@ require 'merge_ats_client'
14
16
 
15
17
  instance = MergeATSClient::UrlRequest.new(
16
18
  value: http://alturl.com/p749b,
17
- url_type: PERSONAL
19
+ url_type: PERSONAL,
20
+ integration_params: {"unique_integration_field":"unique_integration_field_value"},
21
+ linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
18
22
  )
19
23
  ```
20
24
 
data/docs/UsersApi.md CHANGED
@@ -38,11 +38,12 @@ opts = {
38
38
  email: TODO, # String | If provided, will only return remote users with the given email address
39
39
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
40
40
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
41
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
42
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
41
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
42
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
43
43
  page_size: 56, # Integer | Number of results to return per page.
44
- remote_fields: 'access_role', # String | Which fields should be returned in non-normalized form.
45
- remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
44
+ remote_fields: 'access_role', # String | Deprecated. Use show_enum_origins.
45
+ remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
46
+ show_enum_origins: 'access_role' # String | Which fields should be returned in non-normalized form.
46
47
  }
47
48
 
48
49
  begin
@@ -83,11 +84,12 @@ end
83
84
  | **email** | [**String**](.md) | If provided, will only return remote users with the given email address | [optional] |
84
85
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
85
86
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
86
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
87
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
87
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
88
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
88
89
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
89
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
90
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
90
91
  | **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
92
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
91
93
 
92
94
  ### Return type
93
95
 
@@ -129,7 +131,8 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
129
131
  id = TODO # String |
130
132
  opts = {
131
133
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
132
- remote_fields: 'access_role' # String | Which fields should be returned in non-normalized form.
134
+ remote_fields: 'access_role', # String | Deprecated. Use show_enum_origins.
135
+ show_enum_origins: 'access_role' # String | Which fields should be returned in non-normalized form.
133
136
  }
134
137
 
135
138
  begin
@@ -166,7 +169,8 @@ end
166
169
  | **x_account_token** | **String** | Token identifying the end user. | |
167
170
  | **id** | [**String**](.md) | | |
168
171
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
169
- | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
172
+ | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
173
+ | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
170
174
 
171
175
  ### Return type
172
176
 
@@ -19,6 +19,82 @@ module MergeATSClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Creates an `Activity` object with the given values.
23
+ # @param x_account_token [String] Token identifying the end user.
24
+ # @param activity_endpoint_request [ActivityEndpointRequest]
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
27
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
28
+ # @return [ActivityResponse]
29
+ def activities_create(x_account_token, activity_endpoint_request, opts = {})
30
+ data, _status_code, _headers = activities_create_with_http_info(x_account_token, activity_endpoint_request, opts)
31
+ data
32
+ end
33
+
34
+ # Creates an `Activity` object with the given values.
35
+ # @param x_account_token [String] Token identifying the end user.
36
+ # @param activity_endpoint_request [ActivityEndpointRequest]
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
39
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
40
+ # @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
41
+ def activities_create_with_http_info(x_account_token, activity_endpoint_request, opts = {})
42
+ if @api_client.config.debugging
43
+ @api_client.config.logger.debug 'Calling API: ActivitiesApi.activities_create ...'
44
+ end
45
+ # verify the required parameter 'x_account_token' is set
46
+ if @api_client.config.client_side_validation && x_account_token.nil?
47
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling ActivitiesApi.activities_create"
48
+ end
49
+ # verify the required parameter 'activity_endpoint_request' is set
50
+ if @api_client.config.client_side_validation && activity_endpoint_request.nil?
51
+ fail ArgumentError, "Missing the required parameter 'activity_endpoint_request' when calling ActivitiesApi.activities_create"
52
+ end
53
+ # resource path
54
+ local_var_path = '/activities'
55
+
56
+ # query parameters
57
+ query_params = opts[:query_params] || {}
58
+ query_params[:'is_debug_mode'] = opts[:'is_debug_mode'] if !opts[:'is_debug_mode'].nil?
59
+ query_params[:'run_async'] = opts[:'run_async'] if !opts[:'run_async'].nil?
60
+
61
+ # header parameters
62
+ header_params = opts[:header_params] || {}
63
+ # HTTP header 'Accept' (if needed)
64
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
65
+ # HTTP header 'Content-Type'
66
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
67
+ header_params[:'X-Account-Token'] = x_account_token
68
+
69
+ # form parameters
70
+ form_params = opts[:form_params] || {}
71
+
72
+ # http body (model)
73
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(activity_endpoint_request)
74
+
75
+ # return_type
76
+ return_type = opts[:debug_return_type] || 'ActivityResponse'
77
+
78
+ # auth_names
79
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
80
+
81
+ new_options = opts.merge(
82
+ :operation => :"ActivitiesApi.activities_create",
83
+ :header_params => header_params,
84
+ :query_params => query_params,
85
+ :form_params => form_params,
86
+ :body => post_body,
87
+ :auth_names => auth_names,
88
+ :return_type => return_type
89
+ )
90
+
91
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
92
+ if @api_client.config.debugging
93
+ @api_client.config.logger.debug "API called: ActivitiesApi#activities_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
94
+ end
95
+ return data, status_code, headers
96
+ end
97
+
22
98
  # Returns a list of `Activity` objects.
23
99
  # @param x_account_token [String] Token identifying the end user.
24
100
  # @param [Hash] opts the optional parameters
@@ -28,11 +104,12 @@ module MergeATSClient
28
104
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
29
105
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
30
106
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
31
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
32
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
107
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
108
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
33
109
  # @option opts [Integer] :page_size Number of results to return per page.
34
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
110
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
35
111
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
112
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
36
113
  # @option opts [String] :user_id If provided, will only return activities done by this user.
37
114
  # @return [PaginatedActivityList]
38
115
  def activities_list(x_account_token, opts = {})
@@ -49,11 +126,12 @@ module MergeATSClient
49
126
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
50
127
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
51
128
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
52
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
53
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
129
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
130
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
54
131
  # @option opts [Integer] :page_size Number of results to return per page.
55
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
132
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
56
133
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
134
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
57
135
  # @option opts [String] :user_id If provided, will only return activities done by this user.
58
136
  # @return [Array<(PaginatedActivityList, Integer, Hash)>] PaginatedActivityList data, response status code and response headers
59
137
  def activities_list_with_http_info(x_account_token, opts = {})
@@ -72,6 +150,10 @@ module MergeATSClient
72
150
  if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
73
151
  fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
74
152
  end
153
+ allowable_values = ["activity_type", "activity_type,visibility", "visibility"]
154
+ if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
155
+ fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
156
+ end
75
157
  # resource path
76
158
  local_var_path = '/activities'
77
159
 
@@ -88,6 +170,7 @@ module MergeATSClient
88
170
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
89
171
  query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
90
172
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
173
+ query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
91
174
  query_params[:'user_id'] = opts[:'user_id'] if !opts[:'user_id'].nil?
92
175
 
93
176
  # header parameters
@@ -125,13 +208,76 @@ module MergeATSClient
125
208
  return data, status_code, headers
126
209
  end
127
210
 
211
+ # Returns metadata for `Activity` POSTs.
212
+ # @param x_account_token [String] Token identifying the end user.
213
+ # @param [Hash] opts the optional parameters
214
+ # @return [MetaResponse]
215
+ def activities_meta_post_retrieve(x_account_token, opts = {})
216
+ data, _status_code, _headers = activities_meta_post_retrieve_with_http_info(x_account_token, opts)
217
+ data
218
+ end
219
+
220
+ # Returns metadata for &#x60;Activity&#x60; POSTs.
221
+ # @param x_account_token [String] Token identifying the end user.
222
+ # @param [Hash] opts the optional parameters
223
+ # @return [Array<(MetaResponse, Integer, Hash)>] MetaResponse data, response status code and response headers
224
+ def activities_meta_post_retrieve_with_http_info(x_account_token, opts = {})
225
+ if @api_client.config.debugging
226
+ @api_client.config.logger.debug 'Calling API: ActivitiesApi.activities_meta_post_retrieve ...'
227
+ end
228
+ # verify the required parameter 'x_account_token' is set
229
+ if @api_client.config.client_side_validation && x_account_token.nil?
230
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling ActivitiesApi.activities_meta_post_retrieve"
231
+ end
232
+ # resource path
233
+ local_var_path = '/activities/meta/post'
234
+
235
+ # query parameters
236
+ query_params = opts[:query_params] || {}
237
+
238
+ # header parameters
239
+ header_params = opts[:header_params] || {}
240
+ # HTTP header 'Accept' (if needed)
241
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
242
+ header_params[:'X-Account-Token'] = x_account_token
243
+
244
+ # form parameters
245
+ form_params = opts[:form_params] || {}
246
+
247
+ # http body (model)
248
+ post_body = opts[:debug_body]
249
+
250
+ # return_type
251
+ return_type = opts[:debug_return_type] || 'MetaResponse'
252
+
253
+ # auth_names
254
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
255
+
256
+ new_options = opts.merge(
257
+ :operation => :"ActivitiesApi.activities_meta_post_retrieve",
258
+ :header_params => header_params,
259
+ :query_params => query_params,
260
+ :form_params => form_params,
261
+ :body => post_body,
262
+ :auth_names => auth_names,
263
+ :return_type => return_type
264
+ )
265
+
266
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
267
+ if @api_client.config.debugging
268
+ @api_client.config.logger.debug "API called: ActivitiesApi#activities_meta_post_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
269
+ end
270
+ return data, status_code, headers
271
+ end
272
+
128
273
  # Returns an `Activity` object with the given `id`.
129
274
  # @param x_account_token [String] Token identifying the end user.
130
275
  # @param id [String]
131
276
  # @param [Hash] opts the optional parameters
132
277
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
133
278
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
134
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
279
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
280
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
135
281
  # @return [Activity]
136
282
  def activities_retrieve(x_account_token, id, opts = {})
137
283
  data, _status_code, _headers = activities_retrieve_with_http_info(x_account_token, id, opts)
@@ -144,7 +290,8 @@ module MergeATSClient
144
290
  # @param [Hash] opts the optional parameters
145
291
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
146
292
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
147
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
293
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
294
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
148
295
  # @return [Array<(Activity, Integer, Hash)>] Activity data, response status code and response headers
149
296
  def activities_retrieve_with_http_info(x_account_token, id, opts = {})
150
297
  if @api_client.config.debugging
@@ -166,6 +313,10 @@ module MergeATSClient
166
313
  if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
167
314
  fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
168
315
  end
316
+ allowable_values = ["activity_type", "activity_type,visibility", "visibility"]
317
+ if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
318
+ fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
319
+ end
169
320
  # resource path
170
321
  local_var_path = '/activities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
171
322
 
@@ -174,6 +325,7 @@ module MergeATSClient
174
325
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
175
326
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
176
327
  query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
328
+ query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
177
329
 
178
330
  # header parameters
179
331
  header_params = opts[:header_params] || {}
@@ -186,8 +186,8 @@ module MergeATSClient
186
186
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
187
187
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
188
188
  # @option opts [String] :job_id If provided, will only return applications for this job.
189
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
190
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
189
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
190
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
191
191
  # @option opts [Integer] :page_size Number of results to return per page.
192
192
  # @option opts [String] :reject_reason_id If provided, will only return applications with this reject reason.
193
193
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -211,8 +211,8 @@ module MergeATSClient
211
211
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
212
212
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
213
213
  # @option opts [String] :job_id If provided, will only return applications for this job.
214
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
215
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
214
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
215
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
216
216
  # @option opts [Integer] :page_size Number of results to return per page.
217
217
  # @option opts [String] :reject_reason_id If provided, will only return applications with this reject reason.
218
218
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -105,11 +105,12 @@ module MergeATSClient
105
105
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
106
106
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
107
107
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
108
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
109
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
108
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
109
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
110
110
  # @option opts [Integer] :page_size Number of results to return per page.
111
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
111
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
112
112
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
113
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
113
114
  # @return [PaginatedAttachmentList]
114
115
  def attachments_list(x_account_token, opts = {})
115
116
  data, _status_code, _headers = attachments_list_with_http_info(x_account_token, opts)
@@ -126,11 +127,12 @@ module MergeATSClient
126
127
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
127
128
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
128
129
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
129
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
130
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
130
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
131
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
131
132
  # @option opts [Integer] :page_size Number of results to return per page.
132
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
133
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
133
134
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
135
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
134
136
  # @return [Array<(PaginatedAttachmentList, Integer, Hash)>] PaginatedAttachmentList data, response status code and response headers
135
137
  def attachments_list_with_http_info(x_account_token, opts = {})
136
138
  if @api_client.config.debugging
@@ -148,6 +150,10 @@ module MergeATSClient
148
150
  if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
149
151
  fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
150
152
  end
153
+ allowable_values = ["attachment_type"]
154
+ if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
155
+ fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
156
+ end
151
157
  # resource path
152
158
  local_var_path = '/attachments'
153
159
 
@@ -165,6 +171,7 @@ module MergeATSClient
165
171
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
166
172
  query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
167
173
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
174
+ query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
168
175
 
169
176
  # header parameters
170
177
  header_params = opts[:header_params] || {}
@@ -269,7 +276,8 @@ module MergeATSClient
269
276
  # @param [Hash] opts the optional parameters
270
277
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
271
278
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
272
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
279
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
280
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
273
281
  # @return [Attachment]
274
282
  def attachments_retrieve(x_account_token, id, opts = {})
275
283
  data, _status_code, _headers = attachments_retrieve_with_http_info(x_account_token, id, opts)
@@ -282,7 +290,8 @@ module MergeATSClient
282
290
  # @param [Hash] opts the optional parameters
283
291
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
284
292
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
285
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
293
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
294
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
286
295
  # @return [Array<(Attachment, Integer, Hash)>] Attachment data, response status code and response headers
287
296
  def attachments_retrieve_with_http_info(x_account_token, id, opts = {})
288
297
  if @api_client.config.debugging
@@ -304,6 +313,10 @@ module MergeATSClient
304
313
  if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
305
314
  fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
306
315
  end
316
+ allowable_values = ["attachment_type"]
317
+ if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
318
+ fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
319
+ end
307
320
  # resource path
308
321
  local_var_path = '/attachments/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
309
322
 
@@ -312,6 +325,7 @@ module MergeATSClient
312
325
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
313
326
  query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
314
327
  query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
328
+ query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
315
329
 
316
330
  # header parameters
317
331
  header_params = opts[:header_params] || {}
@@ -100,10 +100,10 @@ module MergeATSClient
100
100
  # @param model_id [String]
101
101
  # @param ignore_common_model_request [IgnoreCommonModelRequest]
102
102
  # @param [Hash] opts the optional parameters
103
- # @return [IgnoreCommonModel]
103
+ # @return [nil]
104
104
  def candidates_ignore_create(x_account_token, model_id, ignore_common_model_request, opts = {})
105
- data, _status_code, _headers = candidates_ignore_create_with_http_info(x_account_token, model_id, ignore_common_model_request, opts)
106
- data
105
+ candidates_ignore_create_with_http_info(x_account_token, model_id, ignore_common_model_request, opts)
106
+ nil
107
107
  end
108
108
 
109
109
  # Ignores a specific row based on the &#x60;model_id&#x60; in the url. These records will have their properties set to null, and will not be updated in future syncs. The \&quot;reason\&quot; and \&quot;message\&quot; fields in the request body will be stored for audit purposes.
@@ -111,7 +111,7 @@ module MergeATSClient
111
111
  # @param model_id [String]
112
112
  # @param ignore_common_model_request [IgnoreCommonModelRequest]
113
113
  # @param [Hash] opts the optional parameters
114
- # @return [Array<(IgnoreCommonModel, Integer, Hash)>] IgnoreCommonModel data, response status code and response headers
114
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
115
115
  def candidates_ignore_create_with_http_info(x_account_token, model_id, ignore_common_model_request, opts = {})
116
116
  if @api_client.config.debugging
117
117
  @api_client.config.logger.debug 'Calling API: CandidatesApi.candidates_ignore_create ...'
@@ -136,8 +136,6 @@ module MergeATSClient
136
136
 
137
137
  # header parameters
138
138
  header_params = opts[:header_params] || {}
139
- # HTTP header 'Accept' (if needed)
140
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
141
139
  # HTTP header 'Content-Type'
142
140
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
143
141
  header_params[:'X-Account-Token'] = x_account_token
@@ -149,7 +147,7 @@ module MergeATSClient
149
147
  post_body = opts[:debug_body] || @api_client.object_to_http_body(ignore_common_model_request)
150
148
 
151
149
  # return_type
152
- return_type = opts[:debug_return_type] || 'IgnoreCommonModel'
150
+ return_type = opts[:debug_return_type]
153
151
 
154
152
  # auth_names
155
153
  auth_names = opts[:debug_auth_names] || ['tokenAuth']
@@ -177,15 +175,17 @@ module MergeATSClient
177
175
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
178
176
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
179
177
  # @option opts [String] :cursor The pagination cursor value.
178
+ # @option opts [String] :email_addresses If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas.
180
179
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
181
180
  # @option opts [String] :first_name If provided, will only return candidates with this first name.
182
181
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
183
182
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
184
183
  # @option opts [String] :last_name If provided, will only return candidates with this last name.
185
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
186
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
184
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
185
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
187
186
  # @option opts [Integer] :page_size Number of results to return per page.
188
187
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
188
+ # @option opts [String] :tags If provided, will only return candidates with these tags; multiple tags can be separated by commas.
189
189
  # @return [PaginatedCandidateList]
190
190
  def candidates_list(x_account_token, opts = {})
191
191
  data, _status_code, _headers = candidates_list_with_http_info(x_account_token, opts)
@@ -198,15 +198,17 @@ module MergeATSClient
198
198
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
199
199
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
200
200
  # @option opts [String] :cursor The pagination cursor value.
201
+ # @option opts [String] :email_addresses If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas.
201
202
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
202
203
  # @option opts [String] :first_name If provided, will only return candidates with this first name.
203
204
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
204
205
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
205
206
  # @option opts [String] :last_name If provided, will only return candidates with this last name.
206
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
207
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
207
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
208
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
208
209
  # @option opts [Integer] :page_size Number of results to return per page.
209
210
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
211
+ # @option opts [String] :tags If provided, will only return candidates with these tags; multiple tags can be separated by commas.
210
212
  # @return [Array<(PaginatedCandidateList, Integer, Hash)>] PaginatedCandidateList data, response status code and response headers
211
213
  def candidates_list_with_http_info(x_account_token, opts = {})
212
214
  if @api_client.config.debugging
@@ -228,6 +230,7 @@ module MergeATSClient
228
230
  query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
229
231
  query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
230
232
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
233
+ query_params[:'email_addresses'] = opts[:'email_addresses'] if !opts[:'email_addresses'].nil?
231
234
  query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
232
235
  query_params[:'first_name'] = opts[:'first_name'] if !opts[:'first_name'].nil?
233
236
  query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
@@ -237,6 +240,7 @@ module MergeATSClient
237
240
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
238
241
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
239
242
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
243
+ query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
240
244
 
241
245
  # header parameters
242
246
  header_params = opts[:header_params] || {}
@@ -27,8 +27,8 @@ module MergeATSClient
27
27
  # @option opts [String] :cursor The pagination cursor value.
28
28
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
29
29
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
30
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
31
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
30
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
31
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
32
32
  # @option opts [Integer] :page_size Number of results to return per page.
33
33
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
34
34
  # @return [PaginatedDepartmentList]
@@ -45,8 +45,8 @@ module MergeATSClient
45
45
  # @option opts [String] :cursor The pagination cursor value.
46
46
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
47
47
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
48
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
49
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
48
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
49
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
50
50
  # @option opts [Integer] :page_size Number of results to return per page.
51
51
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
52
52
  # @return [Array<(PaginatedDepartmentList, Integer, Hash)>] PaginatedDepartmentList data, response status code and response headers