merge_ats_client 3.0.0 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -6
  3. data/docs/AccountIntegration.md +6 -2
  4. data/docs/ActivitiesApi.md +164 -8
  5. data/docs/Activity.md +12 -6
  6. data/docs/ActivityEndpointRequest.md +20 -0
  7. data/docs/ActivityRequest.md +32 -0
  8. data/docs/ActivityResponse.md +24 -0
  9. data/docs/Application.md +12 -10
  10. data/docs/ApplicationRequest.md +5 -9
  11. data/docs/ApplicationsApi.md +4 -4
  12. data/docs/AsyncPassthroughApi.md +155 -0
  13. data/docs/AsyncPassthroughReciept.md +18 -0
  14. data/docs/Attachment.md +8 -4
  15. data/docs/AttachmentRequest.md +1 -3
  16. data/docs/AttachmentsApi.md +13 -9
  17. data/docs/Candidate.md +8 -6
  18. data/docs/CandidateRequest.md +1 -9
  19. data/docs/CandidatesApi.md +172 -13
  20. data/docs/CommonModelScopesBodyRequest.md +22 -0
  21. data/docs/ConditionSchema.md +1 -1
  22. data/docs/DataPassthroughRequest.md +1 -1
  23. data/docs/DeleteAccountApi.md +9 -9
  24. data/docs/Department.md +7 -3
  25. data/docs/DepartmentsApi.md +4 -4
  26. data/docs/EEOC.md +12 -8
  27. data/docs/EeocsApi.md +13 -9
  28. data/docs/EmailAddress.md +4 -2
  29. data/docs/EmailAddressRequest.md +1 -1
  30. data/docs/EnabledActionsEnum.md +15 -0
  31. data/docs/EndUserDetailsRequest.md +4 -2
  32. data/docs/ForceResyncApi.md +1 -1
  33. data/docs/InterviewsApi.md +165 -9
  34. data/docs/Issue.md +10 -8
  35. data/docs/IssuesApi.md +6 -6
  36. data/docs/Job.md +8 -4
  37. data/docs/JobInterviewStage.md +10 -4
  38. data/docs/JobInterviewStagesApi.md +4 -4
  39. data/docs/JobsApi.md +16 -10
  40. data/docs/LinkToken.md +1 -1
  41. data/docs/LinkedAccountsApi.md +2 -2
  42. data/docs/MetaResponse.md +2 -0
  43. data/docs/MultipartFormFieldRequest.md +1 -1
  44. data/docs/Offer.md +10 -6
  45. data/docs/OffersApi.md +13 -9
  46. data/docs/Office.md +7 -3
  47. data/docs/OfficesApi.md +4 -4
  48. data/docs/PaginatedConditionSchemaList.md +2 -2
  49. data/docs/PatchedCandidateEndpointRequest.md +20 -0
  50. data/docs/PatchedCandidateRequest.md +50 -0
  51. data/docs/PhoneNumber.md +4 -2
  52. data/docs/PhoneNumberRequest.md +1 -1
  53. data/docs/RejectReason.md +7 -3
  54. data/docs/RejectReasonsApi.md +4 -4
  55. data/docs/RemoteData.md +1 -1
  56. data/docs/RemoteUser.md +8 -4
  57. data/docs/ScheduledInterview.md +11 -7
  58. data/docs/ScheduledInterviewEndpointRequest.md +20 -0
  59. data/docs/ScheduledInterviewRequest.md +36 -0
  60. data/docs/ScheduledInterviewResponse.md +24 -0
  61. data/docs/Scorecard.md +11 -7
  62. data/docs/ScorecardsApi.md +13 -9
  63. data/docs/SelectiveSyncApi.md +2 -2
  64. data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
  65. data/docs/SyncStatus.md +3 -1
  66. data/docs/SyncStatusApi.md +1 -1
  67. data/docs/Tag.md +7 -3
  68. data/docs/TagsApi.md +4 -4
  69. data/docs/Url.md +4 -2
  70. data/docs/UrlRequest.md +1 -1
  71. data/docs/UsersApi.md +13 -9
  72. data/lib/merge_ats_client/api/activities_api.rb +160 -8
  73. data/lib/merge_ats_client/api/applications_api.rb +4 -4
  74. data/lib/merge_ats_client/api/async_passthrough_api.rb +160 -0
  75. data/lib/merge_ats_client/api/attachments_api.rb +22 -8
  76. data/lib/merge_ats_client/api/candidates_api.rb +165 -11
  77. data/lib/merge_ats_client/api/delete_account_api.rb +7 -7
  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 +2 -2
  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/account_integration.rb +30 -8
  95. data/lib/merge_ats_client/models/activity.rb +50 -16
  96. data/lib/merge_ats_client/models/activity_endpoint_request.rb +237 -0
  97. data/lib/merge_ats_client/models/activity_request.rb +300 -0
  98. data/lib/merge_ats_client/models/activity_response.rb +266 -0
  99. data/lib/merge_ats_client/models/application.rb +40 -26
  100. data/lib/merge_ats_client/models/application_request.rb +7 -26
  101. data/lib/merge_ats_client/models/async_passthrough_reciept.rb +223 -0
  102. data/lib/merge_ats_client/models/attachment.rb +38 -16
  103. data/lib/merge_ats_client/models/attachment_request.rb +3 -14
  104. data/lib/merge_ats_client/models/candidate.rb +36 -27
  105. data/lib/merge_ats_client/models/candidate_request.rb +3 -49
  106. data/lib/merge_ats_client/models/categories_enum.rb +3 -1
  107. data/lib/merge_ats_client/models/category_enum.rb +3 -1
  108. data/lib/merge_ats_client/models/common_model_scopes_body_request.rb +274 -0
  109. data/lib/merge_ats_client/models/condition_schema.rb +1 -0
  110. data/lib/merge_ats_client/models/data_passthrough_request.rb +1 -0
  111. data/lib/merge_ats_client/models/department.rb +36 -14
  112. data/lib/merge_ats_client/models/eeoc.rb +42 -19
  113. data/lib/merge_ats_client/models/email_address.rb +16 -6
  114. data/lib/merge_ats_client/models/email_address_request.rb +1 -1
  115. data/lib/merge_ats_client/models/enabled_actions_enum.rb +45 -0
  116. data/lib/merge_ats_client/models/end_user_details_request.rb +19 -6
  117. data/lib/merge_ats_client/models/issue.rb +16 -4
  118. data/lib/merge_ats_client/models/job.rb +38 -16
  119. data/lib/merge_ats_client/models/job_interview_stage.rb +72 -15
  120. data/lib/merge_ats_client/models/link_token.rb +0 -5
  121. data/lib/merge_ats_client/models/meta_response.rb +12 -1
  122. data/lib/merge_ats_client/models/multipart_form_field_request.rb +1 -1
  123. data/lib/merge_ats_client/models/offer.rb +40 -16
  124. data/lib/merge_ats_client/models/office.rb +37 -15
  125. data/lib/merge_ats_client/models/patched_candidate_endpoint_request.rb +237 -0
  126. data/lib/merge_ats_client/models/patched_candidate_request.rb +418 -0
  127. data/lib/merge_ats_client/models/phone_number.rb +16 -6
  128. data/lib/merge_ats_client/models/phone_number_request.rb +1 -1
  129. data/lib/merge_ats_client/models/reject_reason.rb +37 -15
  130. data/lib/merge_ats_client/models/remote_data.rb +3 -4
  131. data/lib/merge_ats_client/models/remote_user.rb +38 -16
  132. data/lib/merge_ats_client/models/scheduled_interview.rb +41 -16
  133. data/lib/merge_ats_client/models/scheduled_interview_endpoint_request.rb +237 -0
  134. data/lib/merge_ats_client/models/scheduled_interview_request.rb +323 -0
  135. data/lib/merge_ats_client/models/scheduled_interview_response.rb +266 -0
  136. data/lib/merge_ats_client/models/scorecard.rb +41 -16
  137. data/lib/merge_ats_client/models/selective_sync_configurations_usage_enum.rb +45 -0
  138. data/lib/merge_ats_client/models/sync_status.rb +13 -4
  139. data/lib/merge_ats_client/models/sync_status_status_enum.rb +2 -1
  140. data/lib/merge_ats_client/models/tag.rb +36 -14
  141. data/lib/merge_ats_client/models/url.rb +16 -6
  142. data/lib/merge_ats_client/models/url_request.rb +1 -1
  143. data/lib/merge_ats_client/version.rb +1 -1
  144. data/lib/merge_ats_client.rb +13 -1
  145. data/spec/api/activities_api_spec.rb +31 -4
  146. data/spec/api/applications_api_spec.rb +2 -2
  147. data/spec/api/async_passthrough_api_spec.rb +59 -0
  148. data/spec/api/attachments_api_spec.rb +6 -4
  149. data/spec/api/candidates_api_spec.rb +32 -3
  150. data/spec/api/delete_account_api_spec.rb +2 -2
  151. data/spec/api/departments_api_spec.rb +2 -2
  152. data/spec/api/eeocs_api_spec.rb +6 -4
  153. data/spec/api/force_resync_api_spec.rb +1 -1
  154. data/spec/api/interviews_api_spec.rb +31 -4
  155. data/spec/api/issues_api_spec.rb +3 -3
  156. data/spec/api/job_interview_stages_api_spec.rb +2 -2
  157. data/spec/api/jobs_api_spec.rb +8 -5
  158. data/spec/api/linked_accounts_api_spec.rb +1 -1
  159. data/spec/api/offers_api_spec.rb +6 -4
  160. data/spec/api/offices_api_spec.rb +2 -2
  161. data/spec/api/reject_reasons_api_spec.rb +2 -2
  162. data/spec/api/scorecards_api_spec.rb +6 -4
  163. data/spec/api/selective_sync_api_spec.rb +1 -1
  164. data/spec/api/sync_status_api_spec.rb +1 -1
  165. data/spec/api/tags_api_spec.rb +2 -2
  166. data/spec/api/users_api_spec.rb +6 -4
  167. data/spec/models/account_integration_spec.rb +12 -0
  168. data/spec/models/{ignore_common_model_spec.rb → activity_endpoint_request_spec.rb} +8 -8
  169. data/spec/models/activity_request_spec.rb +76 -0
  170. data/spec/models/activity_response_spec.rb +52 -0
  171. data/spec/models/activity_spec.rb +19 -1
  172. data/spec/models/application_request_spec.rb +0 -12
  173. data/spec/models/application_spec.rb +9 -3
  174. data/spec/models/async_passthrough_reciept_spec.rb +34 -0
  175. data/spec/models/attachment_request_spec.rb +0 -6
  176. data/spec/models/attachment_spec.rb +14 -2
  177. data/spec/models/candidate_request_spec.rb +0 -24
  178. data/spec/models/candidate_spec.rb +9 -3
  179. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  180. data/spec/models/department_spec.rb +14 -2
  181. data/spec/models/eeoc_spec.rb +14 -2
  182. data/spec/models/email_address_spec.rb +6 -0
  183. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  184. data/spec/models/end_user_details_request_spec.rb +6 -0
  185. data/spec/models/issue_spec.rb +6 -0
  186. data/spec/models/job_interview_stage_spec.rb +19 -1
  187. data/spec/models/job_spec.rb +14 -2
  188. data/spec/models/meta_response_spec.rb +6 -0
  189. data/spec/models/offer_spec.rb +14 -2
  190. data/spec/models/office_spec.rb +14 -2
  191. data/spec/models/{remote_data_request_spec.rb → patched_candidate_endpoint_request_spec.rb} +8 -8
  192. data/spec/models/patched_candidate_request_spec.rb +130 -0
  193. data/spec/models/phone_number_spec.rb +6 -0
  194. data/spec/models/reject_reason_spec.rb +14 -2
  195. data/spec/models/remote_user_spec.rb +14 -2
  196. data/spec/models/scheduled_interview_endpoint_request_spec.rb +40 -0
  197. data/spec/models/scheduled_interview_request_spec.rb +88 -0
  198. data/spec/models/scheduled_interview_response_spec.rb +52 -0
  199. data/spec/models/scheduled_interview_spec.rb +14 -2
  200. data/spec/models/scorecard_spec.rb +14 -2
  201. data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
  202. data/spec/models/sync_status_spec.rb +6 -0
  203. data/spec/models/tag_spec.rb +14 -2
  204. data/spec/models/url_spec.rb +6 -0
  205. metadata +167 -119
@@ -0,0 +1,160 @@
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 'cgi'
14
+
15
+ module MergeATSClient
16
+ class AsyncPassthroughApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Asynchronously pull data from an endpoint not currently supported by Merge.
23
+ # @param x_account_token [String] Token identifying the end user.
24
+ # @param data_passthrough_request [DataPassthroughRequest]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [AsyncPassthroughReciept]
27
+ def async_passthrough_create(x_account_token, data_passthrough_request, opts = {})
28
+ data, _status_code, _headers = async_passthrough_create_with_http_info(x_account_token, data_passthrough_request, opts)
29
+ data
30
+ end
31
+
32
+ # Asynchronously pull data from an endpoint not currently supported by Merge.
33
+ # @param x_account_token [String] Token identifying the end user.
34
+ # @param data_passthrough_request [DataPassthroughRequest]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(AsyncPassthroughReciept, Integer, Hash)>] AsyncPassthroughReciept data, response status code and response headers
37
+ def async_passthrough_create_with_http_info(x_account_token, data_passthrough_request, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: AsyncPassthroughApi.async_passthrough_create ...'
40
+ end
41
+ # verify the required parameter 'x_account_token' is set
42
+ if @api_client.config.client_side_validation && x_account_token.nil?
43
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling AsyncPassthroughApi.async_passthrough_create"
44
+ end
45
+ # verify the required parameter 'data_passthrough_request' is set
46
+ if @api_client.config.client_side_validation && data_passthrough_request.nil?
47
+ fail ArgumentError, "Missing the required parameter 'data_passthrough_request' when calling AsyncPassthroughApi.async_passthrough_create"
48
+ end
49
+ # resource path
50
+ local_var_path = '/async-passthrough'
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+
55
+ # header parameters
56
+ header_params = opts[:header_params] || {}
57
+ # HTTP header 'Accept' (if needed)
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
59
+ # HTTP header 'Content-Type'
60
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
61
+ header_params[:'X-Account-Token'] = x_account_token
62
+
63
+ # form parameters
64
+ form_params = opts[:form_params] || {}
65
+
66
+ # http body (model)
67
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(data_passthrough_request)
68
+
69
+ # return_type
70
+ return_type = opts[:debug_return_type] || 'AsyncPassthroughReciept'
71
+
72
+ # auth_names
73
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
74
+
75
+ new_options = opts.merge(
76
+ :operation => :"AsyncPassthroughApi.async_passthrough_create",
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: AsyncPassthroughApi#async_passthrough_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+
92
+ # Retrieves data from earlier async-passthrough POST request
93
+ # @param x_account_token [String] Token identifying the end user.
94
+ # @param async_passthrough_receipt_id [String]
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [RemoteResponse]
97
+ def async_passthrough_retrieve(x_account_token, async_passthrough_receipt_id, opts = {})
98
+ data, _status_code, _headers = async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id, opts)
99
+ data
100
+ end
101
+
102
+ # Retrieves data from earlier async-passthrough POST request
103
+ # @param x_account_token [String] Token identifying the end user.
104
+ # @param async_passthrough_receipt_id [String]
105
+ # @param [Hash] opts the optional parameters
106
+ # @return [Array<(RemoteResponse, Integer, Hash)>] RemoteResponse data, response status code and response headers
107
+ def async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id, opts = {})
108
+ if @api_client.config.debugging
109
+ @api_client.config.logger.debug 'Calling API: AsyncPassthroughApi.async_passthrough_retrieve ...'
110
+ end
111
+ # verify the required parameter 'x_account_token' is set
112
+ if @api_client.config.client_side_validation && x_account_token.nil?
113
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling AsyncPassthroughApi.async_passthrough_retrieve"
114
+ end
115
+ # verify the required parameter 'async_passthrough_receipt_id' is set
116
+ if @api_client.config.client_side_validation && async_passthrough_receipt_id.nil?
117
+ fail ArgumentError, "Missing the required parameter 'async_passthrough_receipt_id' when calling AsyncPassthroughApi.async_passthrough_retrieve"
118
+ end
119
+ # resource path
120
+ local_var_path = '/async-passthrough/{async_passthrough_receipt_id}'.sub('{' + 'async_passthrough_receipt_id' + '}', CGI.escape(async_passthrough_receipt_id.to_s))
121
+
122
+ # query parameters
123
+ query_params = opts[:query_params] || {}
124
+
125
+ # header parameters
126
+ header_params = opts[:header_params] || {}
127
+ # HTTP header 'Accept' (if needed)
128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
129
+ header_params[:'X-Account-Token'] = x_account_token
130
+
131
+ # form parameters
132
+ form_params = opts[:form_params] || {}
133
+
134
+ # http body (model)
135
+ post_body = opts[:debug_body]
136
+
137
+ # return_type
138
+ return_type = opts[:debug_return_type] || 'RemoteResponse'
139
+
140
+ # auth_names
141
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
142
+
143
+ new_options = opts.merge(
144
+ :operation => :"AsyncPassthroughApi.async_passthrough_retrieve",
145
+ :header_params => header_params,
146
+ :query_params => query_params,
147
+ :form_params => form_params,
148
+ :body => post_body,
149
+ :auth_names => auth_names,
150
+ :return_type => return_type
151
+ )
152
+
153
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
154
+ if @api_client.config.debugging
155
+ @api_client.config.logger.debug "API called: AsyncPassthroughApi#async_passthrough_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
+ end
157
+ return data, status_code, headers
158
+ end
159
+ end
160
+ end
@@ -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] || {}
@@ -273,6 +277,74 @@ module MergeATSClient
273
277
  return data, status_code, headers
274
278
  end
275
279
 
280
+ # Returns metadata for `Candidate` PATCHs.
281
+ # @param x_account_token [String] Token identifying the end user.
282
+ # @param id [String]
283
+ # @param [Hash] opts the optional parameters
284
+ # @return [MetaResponse]
285
+ def candidates_meta_patch_retrieve(x_account_token, id, opts = {})
286
+ data, _status_code, _headers = candidates_meta_patch_retrieve_with_http_info(x_account_token, id, opts)
287
+ data
288
+ end
289
+
290
+ # Returns metadata for &#x60;Candidate&#x60; PATCHs.
291
+ # @param x_account_token [String] Token identifying the end user.
292
+ # @param id [String]
293
+ # @param [Hash] opts the optional parameters
294
+ # @return [Array<(MetaResponse, Integer, Hash)>] MetaResponse data, response status code and response headers
295
+ def candidates_meta_patch_retrieve_with_http_info(x_account_token, id, opts = {})
296
+ if @api_client.config.debugging
297
+ @api_client.config.logger.debug 'Calling API: CandidatesApi.candidates_meta_patch_retrieve ...'
298
+ end
299
+ # verify the required parameter 'x_account_token' is set
300
+ if @api_client.config.client_side_validation && x_account_token.nil?
301
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling CandidatesApi.candidates_meta_patch_retrieve"
302
+ end
303
+ # verify the required parameter 'id' is set
304
+ if @api_client.config.client_side_validation && id.nil?
305
+ fail ArgumentError, "Missing the required parameter 'id' when calling CandidatesApi.candidates_meta_patch_retrieve"
306
+ end
307
+ # resource path
308
+ local_var_path = '/candidates/meta/patch/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
309
+
310
+ # query parameters
311
+ query_params = opts[:query_params] || {}
312
+
313
+ # header parameters
314
+ header_params = opts[:header_params] || {}
315
+ # HTTP header 'Accept' (if needed)
316
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
317
+ header_params[:'X-Account-Token'] = x_account_token
318
+
319
+ # form parameters
320
+ form_params = opts[:form_params] || {}
321
+
322
+ # http body (model)
323
+ post_body = opts[:debug_body]
324
+
325
+ # return_type
326
+ return_type = opts[:debug_return_type] || 'MetaResponse'
327
+
328
+ # auth_names
329
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
330
+
331
+ new_options = opts.merge(
332
+ :operation => :"CandidatesApi.candidates_meta_patch_retrieve",
333
+ :header_params => header_params,
334
+ :query_params => query_params,
335
+ :form_params => form_params,
336
+ :body => post_body,
337
+ :auth_names => auth_names,
338
+ :return_type => return_type
339
+ )
340
+
341
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
342
+ if @api_client.config.debugging
343
+ @api_client.config.logger.debug "API called: CandidatesApi#candidates_meta_patch_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
344
+ end
345
+ return data, status_code, headers
346
+ end
347
+
276
348
  # Returns metadata for `Candidate` POSTs.
277
349
  # @param x_account_token [String] Token identifying the end user.
278
350
  # @param [Hash] opts the optional parameters
@@ -335,6 +407,88 @@ module MergeATSClient
335
407
  return data, status_code, headers
336
408
  end
337
409
 
410
+ # Updates a `Candidate` object with the given `id`.
411
+ # @param x_account_token [String] Token identifying the end user.
412
+ # @param id [String]
413
+ # @param patched_candidate_endpoint_request [PatchedCandidateEndpointRequest]
414
+ # @param [Hash] opts the optional parameters
415
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
416
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
417
+ # @return [CandidateResponse]
418
+ def candidates_partial_update(x_account_token, id, patched_candidate_endpoint_request, opts = {})
419
+ data, _status_code, _headers = candidates_partial_update_with_http_info(x_account_token, id, patched_candidate_endpoint_request, opts)
420
+ data
421
+ end
422
+
423
+ # Updates a &#x60;Candidate&#x60; object with the given &#x60;id&#x60;.
424
+ # @param x_account_token [String] Token identifying the end user.
425
+ # @param id [String]
426
+ # @param patched_candidate_endpoint_request [PatchedCandidateEndpointRequest]
427
+ # @param [Hash] opts the optional parameters
428
+ # @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
429
+ # @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
430
+ # @return [Array<(CandidateResponse, Integer, Hash)>] CandidateResponse data, response status code and response headers
431
+ def candidates_partial_update_with_http_info(x_account_token, id, patched_candidate_endpoint_request, opts = {})
432
+ if @api_client.config.debugging
433
+ @api_client.config.logger.debug 'Calling API: CandidatesApi.candidates_partial_update ...'
434
+ end
435
+ # verify the required parameter 'x_account_token' is set
436
+ if @api_client.config.client_side_validation && x_account_token.nil?
437
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling CandidatesApi.candidates_partial_update"
438
+ end
439
+ # verify the required parameter 'id' is set
440
+ if @api_client.config.client_side_validation && id.nil?
441
+ fail ArgumentError, "Missing the required parameter 'id' when calling CandidatesApi.candidates_partial_update"
442
+ end
443
+ # verify the required parameter 'patched_candidate_endpoint_request' is set
444
+ if @api_client.config.client_side_validation && patched_candidate_endpoint_request.nil?
445
+ fail ArgumentError, "Missing the required parameter 'patched_candidate_endpoint_request' when calling CandidatesApi.candidates_partial_update"
446
+ end
447
+ # resource path
448
+ local_var_path = '/candidates/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
449
+
450
+ # query parameters
451
+ query_params = opts[:query_params] || {}
452
+ query_params[:'is_debug_mode'] = opts[:'is_debug_mode'] if !opts[:'is_debug_mode'].nil?
453
+ query_params[:'run_async'] = opts[:'run_async'] if !opts[:'run_async'].nil?
454
+
455
+ # header parameters
456
+ header_params = opts[:header_params] || {}
457
+ # HTTP header 'Accept' (if needed)
458
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
459
+ # HTTP header 'Content-Type'
460
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
461
+ header_params[:'X-Account-Token'] = x_account_token
462
+
463
+ # form parameters
464
+ form_params = opts[:form_params] || {}
465
+
466
+ # http body (model)
467
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(patched_candidate_endpoint_request)
468
+
469
+ # return_type
470
+ return_type = opts[:debug_return_type] || 'CandidateResponse'
471
+
472
+ # auth_names
473
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
474
+
475
+ new_options = opts.merge(
476
+ :operation => :"CandidatesApi.candidates_partial_update",
477
+ :header_params => header_params,
478
+ :query_params => query_params,
479
+ :form_params => form_params,
480
+ :body => post_body,
481
+ :auth_names => auth_names,
482
+ :return_type => return_type
483
+ )
484
+
485
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
486
+ if @api_client.config.debugging
487
+ @api_client.config.logger.debug "API called: CandidatesApi#candidates_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
488
+ end
489
+ return data, status_code, headers
490
+ end
491
+
338
492
  # Returns a `Candidate` object with the given `id`.
339
493
  # @param x_account_token [String] Token identifying the end user.
340
494
  # @param id [String]
@@ -23,8 +23,8 @@ module MergeATSClient
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [nil]
26
- def delete_account_create(x_account_token, opts = {})
27
- delete_account_create_with_http_info(x_account_token, opts)
26
+ def delete_account_delete(x_account_token, opts = {})
27
+ delete_account_delete_with_http_info(x_account_token, opts)
28
28
  nil
29
29
  end
30
30
 
@@ -32,13 +32,13 @@ module MergeATSClient
32
32
  # @param x_account_token [String] Token identifying the end user.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
35
- def delete_account_create_with_http_info(x_account_token, opts = {})
35
+ def delete_account_delete_with_http_info(x_account_token, opts = {})
36
36
  if @api_client.config.debugging
37
- @api_client.config.logger.debug 'Calling API: DeleteAccountApi.delete_account_create ...'
37
+ @api_client.config.logger.debug 'Calling API: DeleteAccountApi.delete_account_delete ...'
38
38
  end
39
39
  # verify the required parameter 'x_account_token' is set
40
40
  if @api_client.config.client_side_validation && x_account_token.nil?
41
- fail ArgumentError, "Missing the required parameter 'x_account_token' when calling DeleteAccountApi.delete_account_create"
41
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling DeleteAccountApi.delete_account_delete"
42
42
  end
43
43
  # resource path
44
44
  local_var_path = '/delete-account'
@@ -63,7 +63,7 @@ module MergeATSClient
63
63
  auth_names = opts[:debug_auth_names] || ['tokenAuth']
64
64
 
65
65
  new_options = opts.merge(
66
- :operation => :"DeleteAccountApi.delete_account_create",
66
+ :operation => :"DeleteAccountApi.delete_account_delete",
67
67
  :header_params => header_params,
68
68
  :query_params => query_params,
69
69
  :form_params => form_params,
@@ -74,7 +74,7 @@ module MergeATSClient
74
74
 
75
75
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
76
76
  if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: DeleteAccountApi#delete_account_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
77
+ @api_client.config.logger.debug "API called: DeleteAccountApi#delete_account_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
78
  end
79
79
  return data, status_code, headers
80
80
  end
@@ -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