merge_ticketing_client 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +72 -0
  3. data/README.md +22 -7
  4. data/docs/AccessLevelEnum.md +15 -0
  5. data/docs/Account.md +14 -11
  6. data/docs/AccountIntegration.md +5 -1
  7. data/docs/AccountsApi.md +4 -4
  8. data/docs/AsyncPassthroughApi.md +155 -0
  9. data/docs/AsyncPassthroughReciept.md +18 -0
  10. data/docs/Attachment.md +18 -15
  11. data/docs/AttachmentRequest.md +10 -9
  12. data/docs/AttachmentsApi.md +80 -4
  13. data/docs/Collection.md +18 -13
  14. data/docs/CollectionsApi.md +92 -6
  15. data/docs/Comment.md +19 -16
  16. data/docs/CommentRequest.md +11 -10
  17. data/docs/CommentsApi.md +6 -4
  18. data/docs/CommonModelScopesBodyRequest.md +22 -0
  19. data/docs/ConditionSchema.md +1 -1
  20. data/docs/Contact.md +17 -14
  21. data/docs/ContactsApi.md +4 -4
  22. data/docs/DataPassthroughRequest.md +11 -10
  23. data/docs/DeleteAccountApi.md +9 -9
  24. data/docs/EnabledActionsEnum.md +15 -0
  25. data/docs/EndUserDetailsRequest.md +4 -2
  26. data/docs/ForceResyncApi.md +1 -1
  27. data/docs/Issue.md +11 -10
  28. data/docs/IssuesApi.md +6 -6
  29. data/docs/ItemFormatEnum.md +15 -0
  30. data/docs/ItemSchema.md +22 -0
  31. data/docs/ItemTypeEnum.md +15 -0
  32. data/docs/LinkedAccountCondition.md +9 -8
  33. data/docs/LinkedAccountConditionRequest.md +6 -5
  34. data/docs/LinkedAccountsApi.md +2 -2
  35. data/docs/MetaResponse.md +9 -6
  36. data/docs/MultipartFormFieldRequest.md +1 -1
  37. data/docs/PatchedTicketRequest.md +23 -22
  38. data/docs/Project.md +14 -11
  39. data/docs/ProjectsApi.md +5 -5
  40. data/docs/RemoteData.md +5 -4
  41. data/docs/RemoteField.md +7 -6
  42. data/docs/RemoteFieldClass.md +9 -11
  43. data/docs/RemoteFieldRequest.md +20 -0
  44. data/docs/RemoteResponse.md +10 -9
  45. data/docs/SyncStatus.md +1 -1
  46. data/docs/SyncStatusApi.md +10 -4
  47. data/docs/Tag.md +12 -9
  48. data/docs/TagsApi.md +4 -4
  49. data/docs/Team.md +14 -11
  50. data/docs/TeamsApi.md +4 -4
  51. data/docs/Ticket.md +30 -29
  52. data/docs/TicketRequest.md +24 -23
  53. data/docs/TicketsApi.md +9 -11
  54. data/docs/User.md +17 -14
  55. data/docs/UsersApi.md +6 -6
  56. data/lib/merge_ticketing_client/api/accounts_api.rb +4 -4
  57. data/lib/merge_ticketing_client/api/async_passthrough_api.rb +160 -0
  58. data/lib/merge_ticketing_client/api/attachments_api.rb +75 -4
  59. data/lib/merge_ticketing_client/api/collections_api.rb +93 -6
  60. data/lib/merge_ticketing_client/api/comments_api.rb +7 -4
  61. data/lib/merge_ticketing_client/api/contacts_api.rb +4 -4
  62. data/lib/merge_ticketing_client/api/delete_account_api.rb +7 -7
  63. data/lib/merge_ticketing_client/api/force_resync_api.rb +2 -2
  64. data/lib/merge_ticketing_client/api/issues_api.rb +6 -6
  65. data/lib/merge_ticketing_client/api/linked_accounts_api.rb +3 -3
  66. data/lib/merge_ticketing_client/api/projects_api.rb +5 -5
  67. data/lib/merge_ticketing_client/api/sync_status_api.rb +2 -2
  68. data/lib/merge_ticketing_client/api/tags_api.rb +4 -4
  69. data/lib/merge_ticketing_client/api/teams_api.rb +4 -4
  70. data/lib/merge_ticketing_client/api/tickets_api.rb +11 -14
  71. data/lib/merge_ticketing_client/api/users_api.rb +6 -6
  72. data/lib/merge_ticketing_client/models/access_level_enum.rb +46 -0
  73. data/lib/merge_ticketing_client/models/account.rb +27 -17
  74. data/lib/merge_ticketing_client/models/account_integration.rb +29 -7
  75. data/lib/merge_ticketing_client/models/async_passthrough_reciept.rb +223 -0
  76. data/lib/merge_ticketing_client/models/attachment.rb +29 -19
  77. data/lib/merge_ticketing_client/models/attachment_request.rb +2 -2
  78. data/lib/merge_ticketing_client/models/categories_enum.rb +2 -1
  79. data/lib/merge_ticketing_client/models/category_enum.rb +2 -1
  80. data/lib/merge_ticketing_client/models/collection.rb +39 -18
  81. data/lib/merge_ticketing_client/models/comment.rb +27 -17
  82. data/lib/merge_ticketing_client/models/common_model_scopes_body_request.rb +274 -0
  83. data/lib/merge_ticketing_client/models/condition_schema.rb +1 -0
  84. data/lib/merge_ticketing_client/models/contact.rb +27 -17
  85. data/lib/merge_ticketing_client/models/enabled_actions_enum.rb +45 -0
  86. data/lib/merge_ticketing_client/models/end_user_details_request.rb +19 -6
  87. data/lib/merge_ticketing_client/models/issue.rb +3 -2
  88. data/lib/merge_ticketing_client/models/item_format_enum.rb +49 -0
  89. data/lib/merge_ticketing_client/models/item_schema.rb +238 -0
  90. data/lib/merge_ticketing_client/models/item_type_enum.rb +49 -0
  91. data/lib/merge_ticketing_client/models/meta_response.rb +12 -1
  92. data/lib/merge_ticketing_client/models/multipart_form_field_request.rb +1 -1
  93. data/lib/merge_ticketing_client/models/patched_ticket_request.rb +18 -18
  94. data/lib/merge_ticketing_client/models/project.rb +27 -17
  95. data/lib/merge_ticketing_client/models/remote_data.rb +6 -9
  96. data/lib/merge_ticketing_client/models/remote_field.rb +18 -15
  97. data/lib/merge_ticketing_client/models/remote_field_class.rb +22 -39
  98. data/lib/merge_ticketing_client/models/remote_field_request.rb +234 -0
  99. data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +1 -1
  100. data/lib/merge_ticketing_client/models/tag.rb +27 -17
  101. data/lib/merge_ticketing_client/models/team.rb +27 -17
  102. data/lib/merge_ticketing_client/models/ticket.rb +25 -26
  103. data/lib/merge_ticketing_client/models/ticket_request.rb +18 -18
  104. data/lib/merge_ticketing_client/models/user.rb +27 -17
  105. data/lib/merge_ticketing_client/version.rb +1 -1
  106. data/lib/merge_ticketing_client.rb +9 -1
  107. data/spec/api/accounts_api_spec.rb +2 -2
  108. data/spec/api/async_passthrough_api_spec.rb +59 -0
  109. data/spec/api/attachments_api_spec.rb +15 -2
  110. data/spec/api/collections_api_spec.rb +20 -3
  111. data/spec/api/comments_api_spec.rb +3 -2
  112. data/spec/api/contacts_api_spec.rb +2 -2
  113. data/spec/api/delete_account_api_spec.rb +2 -2
  114. data/spec/api/force_resync_api_spec.rb +1 -1
  115. data/spec/api/issues_api_spec.rb +3 -3
  116. data/spec/api/linked_accounts_api_spec.rb +1 -1
  117. data/spec/api/projects_api_spec.rb +2 -2
  118. data/spec/api/sync_status_api_spec.rb +1 -1
  119. data/spec/api/tags_api_spec.rb +2 -2
  120. data/spec/api/teams_api_spec.rb +2 -2
  121. data/spec/api/tickets_api_spec.rb +21 -4
  122. data/spec/api/users_api_spec.rb +2 -2
  123. data/spec/models/access_level_enum_spec.rb +28 -0
  124. data/spec/models/account_integration_spec.rb +12 -0
  125. data/spec/models/account_spec.rb +8 -2
  126. data/spec/models/async_passthrough_reciept_spec.rb +34 -0
  127. data/spec/models/attachment_request_spec.rb +0 -12
  128. data/spec/models/attachment_spec.rb +8 -2
  129. data/spec/models/collection_spec.rb +14 -2
  130. data/spec/models/comment_request_spec.rb +0 -12
  131. data/spec/models/comment_spec.rb +8 -2
  132. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  133. data/spec/models/contact_spec.rb +8 -2
  134. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  135. data/spec/models/end_user_details_request_spec.rb +6 -0
  136. data/spec/models/field_format_enum_spec.rb +28 -0
  137. data/spec/models/field_type_enum_spec.rb +28 -0
  138. data/spec/models/item_format_enum_spec.rb +28 -0
  139. data/spec/models/item_schema_spec.rb +46 -0
  140. data/spec/models/item_type_enum_spec.rb +28 -0
  141. data/spec/models/meta_response_spec.rb +6 -0
  142. data/spec/models/paginated_remote_field_class_list_spec.rb +46 -0
  143. data/spec/models/patched_ticket_request_spec.rb +6 -18
  144. data/spec/models/project_spec.rb +8 -2
  145. data/spec/models/remote_field_class_spec.rb +88 -0
  146. data/spec/models/remote_field_request_spec.rb +40 -0
  147. data/spec/models/remote_field_spec.rb +40 -0
  148. data/spec/models/tag_spec.rb +8 -2
  149. data/spec/models/team_spec.rb +8 -2
  150. data/spec/models/ticket_request_spec.rb +6 -24
  151. data/spec/models/ticket_spec.rb +16 -10
  152. data/spec/models/user_spec.rb +8 -2
  153. metadata +133 -86
@@ -0,0 +1,160 @@
1
+ =begin
2
+ #Merge Ticketing API
3
+
4
+ #The unified API for building rich integrations with multiple Ticketing 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 MergeTicketingClient
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
@@ -95,6 +95,74 @@ module MergeTicketingClient
95
95
  return data, status_code, headers
96
96
  end
97
97
 
98
+ # Returns an `Attachment` object with the given `id`.
99
+ # @param x_account_token [String] Token identifying the end user.
100
+ # @param id [String]
101
+ # @param [Hash] opts the optional parameters
102
+ # @return [File]
103
+ def attachments_download_retrieve(x_account_token, id, opts = {})
104
+ data, _status_code, _headers = attachments_download_retrieve_with_http_info(x_account_token, id, opts)
105
+ data
106
+ end
107
+
108
+ # Returns an &#x60;Attachment&#x60; object with the given &#x60;id&#x60;.
109
+ # @param x_account_token [String] Token identifying the end user.
110
+ # @param id [String]
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
113
+ def attachments_download_retrieve_with_http_info(x_account_token, id, opts = {})
114
+ if @api_client.config.debugging
115
+ @api_client.config.logger.debug 'Calling API: AttachmentsApi.attachments_download_retrieve ...'
116
+ end
117
+ # verify the required parameter 'x_account_token' is set
118
+ if @api_client.config.client_side_validation && x_account_token.nil?
119
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling AttachmentsApi.attachments_download_retrieve"
120
+ end
121
+ # verify the required parameter 'id' is set
122
+ if @api_client.config.client_side_validation && id.nil?
123
+ fail ArgumentError, "Missing the required parameter 'id' when calling AttachmentsApi.attachments_download_retrieve"
124
+ end
125
+ # resource path
126
+ local_var_path = '/attachments/{id}/download'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
127
+
128
+ # query parameters
129
+ query_params = opts[:query_params] || {}
130
+
131
+ # header parameters
132
+ header_params = opts[:header_params] || {}
133
+ # HTTP header 'Accept' (if needed)
134
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
135
+ header_params[:'X-Account-Token'] = x_account_token
136
+
137
+ # form parameters
138
+ form_params = opts[:form_params] || {}
139
+
140
+ # http body (model)
141
+ post_body = opts[:debug_body]
142
+
143
+ # return_type
144
+ return_type = opts[:debug_return_type] || 'File'
145
+
146
+ # auth_names
147
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
148
+
149
+ new_options = opts.merge(
150
+ :operation => :"AttachmentsApi.attachments_download_retrieve",
151
+ :header_params => header_params,
152
+ :query_params => query_params,
153
+ :form_params => form_params,
154
+ :body => post_body,
155
+ :auth_names => auth_names,
156
+ :return_type => return_type
157
+ )
158
+
159
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
160
+ if @api_client.config.debugging
161
+ @api_client.config.logger.debug "API called: AttachmentsApi#attachments_download_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
162
+ end
163
+ return data, status_code, headers
164
+ end
165
+
98
166
  # Returns a list of `Attachment` objects.
99
167
  # @param x_account_token [String] Token identifying the end user.
100
168
  # @param [Hash] opts the optional parameters
@@ -104,9 +172,10 @@ module MergeTicketingClient
104
172
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
105
173
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
106
174
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
107
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
108
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
175
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
176
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
109
177
  # @option opts [Integer] :page_size Number of results to return per page.
178
+ # @option opts [Time] :remote_created_after If provided, will only return attachments created in the third party platform after this datetime.
110
179
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
111
180
  # @option opts [String] :ticket_id If provided, will only return comments for this ticket.
112
181
  # @return [PaginatedAttachmentList]
@@ -124,9 +193,10 @@ module MergeTicketingClient
124
193
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
125
194
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
126
195
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
127
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
128
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
196
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
197
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
129
198
  # @option opts [Integer] :page_size Number of results to return per page.
199
+ # @option opts [Time] :remote_created_after If provided, will only return attachments created in the third party platform after this datetime.
130
200
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
131
201
  # @option opts [String] :ticket_id If provided, will only return comments for this ticket.
132
202
  # @return [Array<(PaginatedAttachmentList, Integer, Hash)>] PaginatedAttachmentList data, response status code and response headers
@@ -156,6 +226,7 @@ module MergeTicketingClient
156
226
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
157
227
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
158
228
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
229
+ query_params[:'remote_created_after'] = opts[:'remote_created_after'] if !opts[:'remote_created_after'].nil?
159
230
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
160
231
  query_params[:'ticket_id'] = opts[:'ticket_id'] if !opts[:'ticket_id'].nil?
161
232
 
@@ -22,15 +22,15 @@ module MergeTicketingClient
22
22
  # Returns a list of `Collection` objects.
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :collection_type If provided, will only return collections of the given type.
25
+ # @option opts [String] :collection_type If provided, will only return collections of the given type. * &#x60;LIST&#x60; - LIST * &#x60;PROJECT&#x60; - PROJECT
26
26
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
27
27
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
28
28
  # @option opts [String] :cursor The pagination cursor value.
29
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
30
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
31
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
32
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
33
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
32
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
33
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :parent_collection_id If provided, will only return collections whose parent collection matches the given id.
36
36
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
@@ -45,15 +45,15 @@ module MergeTicketingClient
45
45
  # Returns a list of &#x60;Collection&#x60; objects.
46
46
  # @param x_account_token [String] Token identifying the end user.
47
47
  # @param [Hash] opts the optional parameters
48
- # @option opts [String] :collection_type If provided, will only return collections of the given type.
48
+ # @option opts [String] :collection_type If provided, will only return collections of the given type. * &#x60;LIST&#x60; - LIST * &#x60;PROJECT&#x60; - PROJECT
49
49
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
50
50
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
51
51
  # @option opts [String] :cursor The pagination cursor value.
52
52
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
53
53
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
54
54
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
55
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
56
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
55
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
56
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
57
57
  # @option opts [Integer] :page_size Number of results to return per page.
58
58
  # @option opts [String] :parent_collection_id If provided, will only return collections whose parent collection matches the given id.
59
59
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
@@ -230,5 +230,92 @@ module MergeTicketingClient
230
230
  end
231
231
  return data, status_code, headers
232
232
  end
233
+
234
+ # Returns a list of `User` objects.
235
+ # @param x_account_token [String] Token identifying the end user.
236
+ # @param parent_id [String]
237
+ # @param [Hash] opts the optional parameters
238
+ # @option opts [String] :cursor The pagination cursor value.
239
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
240
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
241
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
242
+ # @option opts [Integer] :page_size Number of results to return per page.
243
+ # @return [PaginatedUserList]
244
+ def collections_users_list(x_account_token, parent_id, opts = {})
245
+ data, _status_code, _headers = collections_users_list_with_http_info(x_account_token, parent_id, opts)
246
+ data
247
+ end
248
+
249
+ # Returns a list of &#x60;User&#x60; objects.
250
+ # @param x_account_token [String] Token identifying the end user.
251
+ # @param parent_id [String]
252
+ # @param [Hash] opts the optional parameters
253
+ # @option opts [String] :cursor The pagination cursor value.
254
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
255
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
256
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
257
+ # @option opts [Integer] :page_size Number of results to return per page.
258
+ # @return [Array<(PaginatedUserList, Integer, Hash)>] PaginatedUserList data, response status code and response headers
259
+ def collections_users_list_with_http_info(x_account_token, parent_id, opts = {})
260
+ if @api_client.config.debugging
261
+ @api_client.config.logger.debug 'Calling API: CollectionsApi.collections_users_list ...'
262
+ end
263
+ # verify the required parameter 'x_account_token' is set
264
+ if @api_client.config.client_side_validation && x_account_token.nil?
265
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling CollectionsApi.collections_users_list"
266
+ end
267
+ # verify the required parameter 'parent_id' is set
268
+ if @api_client.config.client_side_validation && parent_id.nil?
269
+ fail ArgumentError, "Missing the required parameter 'parent_id' when calling CollectionsApi.collections_users_list"
270
+ end
271
+ allowable_values = ["roles", "teams", "teams,roles"]
272
+ if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
273
+ fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
274
+ end
275
+ # resource path
276
+ local_var_path = '/collections/{parent_id}/users'.sub('{' + 'parent_id' + '}', CGI.escape(parent_id.to_s))
277
+
278
+ # query parameters
279
+ query_params = opts[:query_params] || {}
280
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
281
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
282
+ query_params[:'include_deleted_data'] = opts[:'include_deleted_data'] if !opts[:'include_deleted_data'].nil?
283
+ query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
284
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
285
+
286
+ # header parameters
287
+ header_params = opts[:header_params] || {}
288
+ # HTTP header 'Accept' (if needed)
289
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
290
+ header_params[:'X-Account-Token'] = x_account_token
291
+
292
+ # form parameters
293
+ form_params = opts[:form_params] || {}
294
+
295
+ # http body (model)
296
+ post_body = opts[:debug_body]
297
+
298
+ # return_type
299
+ return_type = opts[:debug_return_type] || 'PaginatedUserList'
300
+
301
+ # auth_names
302
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
303
+
304
+ new_options = opts.merge(
305
+ :operation => :"CollectionsApi.collections_users_list",
306
+ :header_params => header_params,
307
+ :query_params => query_params,
308
+ :form_params => form_params,
309
+ :body => post_body,
310
+ :auth_names => auth_names,
311
+ :return_type => return_type
312
+ )
313
+
314
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
315
+ if @api_client.config.debugging
316
+ @api_client.config.logger.debug "API called: CollectionsApi#collections_users_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
317
+ end
318
+ return data, status_code, headers
319
+ end
233
320
  end
234
321
  end
@@ -104,9 +104,10 @@ module MergeTicketingClient
104
104
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
105
105
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
106
106
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
107
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
108
- # @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.
109
109
  # @option opts [Integer] :page_size Number of results to return per page.
110
+ # @option opts [Time] :remote_created_after If provided, will only return Comments created in the third party platform after this datetime.
110
111
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
111
112
  # @option opts [String] :ticket_id If provided, will only return comments for this ticket.
112
113
  # @return [PaginatedCommentList]
@@ -124,9 +125,10 @@ module MergeTicketingClient
124
125
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
125
126
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
126
127
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
127
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
128
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
128
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
129
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
129
130
  # @option opts [Integer] :page_size Number of results to return per page.
131
+ # @option opts [Time] :remote_created_after If provided, will only return Comments created in the third party platform after this datetime.
130
132
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
131
133
  # @option opts [String] :ticket_id If provided, will only return comments for this ticket.
132
134
  # @return [Array<(PaginatedCommentList, Integer, Hash)>] PaginatedCommentList data, response status code and response headers
@@ -156,6 +158,7 @@ module MergeTicketingClient
156
158
  query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
157
159
  query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
158
160
  query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
161
+ query_params[:'remote_created_after'] = opts[:'remote_created_after'] if !opts[:'remote_created_after'].nil?
159
162
  query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
160
163
  query_params[:'ticket_id'] = opts[:'ticket_id'] if !opts[:'ticket_id'].nil?
161
164
 
@@ -28,8 +28,8 @@ module MergeTicketingClient
28
28
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
29
29
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
30
30
  # @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.
31
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
32
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
33
33
  # @option opts [Integer] :page_size Number of results to return per page.
34
34
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
35
35
  # @return [PaginatedContactList]
@@ -47,8 +47,8 @@ module MergeTicketingClient
47
47
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
48
48
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
49
49
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
50
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
51
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
50
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
51
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
52
52
  # @option opts [Integer] :page_size Number of results to return per page.
53
53
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
54
54
  # @return [Array<(PaginatedContactList, Integer, Hash)>] PaginatedContactList data, response status code and response headers
@@ -23,8 +23,8 @@ module MergeTicketingClient
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 MergeTicketingClient
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 MergeTicketingClient
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 MergeTicketingClient
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
@@ -19,7 +19,7 @@ module MergeTicketingClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
22
+ # Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [Array<SyncStatus>]
@@ -28,7 +28,7 @@ module MergeTicketingClient
28
28
  data
29
29
  end
30
30
 
31
- # Force re-sync of all models. This is only available for organizations on Merge&#39;s Grow and Expand plans.
31
+ # Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
32
32
  # @param x_account_token [String] Token identifying the end user.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(Array<SyncStatus>, Integer, Hash)>] Array<SyncStatus> data, response status code and response headers
@@ -29,11 +29,11 @@ module MergeTicketingClient
29
29
  # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
30
30
  # @option opts [String] :include_muted If True, will include muted issues
31
31
  # @option opts [String] :integration_name
32
- # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
33
- # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
32
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
33
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
36
- # @option opts [String] :status
36
+ # @option opts [String] :status Status of the issue. Options: (&#39;ONGOING&#39;, &#39;RESOLVED&#39;) * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
37
37
  # @return [PaginatedIssueList]
38
38
  def issues_list(opts = {})
39
39
  data, _status_code, _headers = issues_list_with_http_info(opts)
@@ -50,11 +50,11 @@ module MergeTicketingClient
50
50
  # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
51
51
  # @option opts [String] :include_muted If True, will include muted issues
52
52
  # @option opts [String] :integration_name
53
- # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
54
- # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
53
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
54
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
55
55
  # @option opts [Integer] :page_size Number of results to return per page.
56
56
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
57
- # @option opts [String] :status
57
+ # @option opts [String] :status Status of the issue. Options: (&#39;ONGOING&#39;, &#39;RESOLVED&#39;) * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
58
58
  # @return [Array<(PaginatedIssueList, Integer, Hash)>] PaginatedIssueList data, response status code and response headers
59
59
  def issues_list_with_http_info(opts = {})
60
60
  if @api_client.config.debugging
@@ -21,7 +21,7 @@ module MergeTicketingClient
21
21
  end
22
22
  # List linked accounts for your organization.
23
23
  # @param [Hash] opts the optional parameters
24
- # @option opts [String] :category
24
+ # @option opts [String] :category Options: (&#39;hris&#39;, &#39;ats&#39;, &#39;accounting&#39;, &#39;ticketing&#39;, &#39;crm&#39;, &#39;mktg&#39;, &#39;filestorage&#39;) * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage
25
25
  # @option opts [String] :cursor The pagination cursor value.
26
26
  # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
27
27
  # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
@@ -42,7 +42,7 @@ module MergeTicketingClient
42
42
 
43
43
  # List linked accounts for your organization.
44
44
  # @param [Hash] opts the optional parameters
45
- # @option opts [String] :category
45
+ # @option opts [String] :category Options: (&#39;hris&#39;, &#39;ats&#39;, &#39;accounting&#39;, &#39;ticketing&#39;, &#39;crm&#39;, &#39;mktg&#39;, &#39;filestorage&#39;) * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage
46
46
  # @option opts [String] :cursor The pagination cursor value.
47
47
  # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
48
48
  # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
@@ -60,7 +60,7 @@ module MergeTicketingClient
60
60
  if @api_client.config.debugging
61
61
  @api_client.config.logger.debug 'Calling API: LinkedAccountsApi.linked_accounts_list ...'
62
62
  end
63
- allowable_values = ["accounting", "ats", "crm", "hris", "mktg", "ticketing"]
63
+ allowable_values = ["accounting", "ats", "crm", "filestorage", "hris", "mktg", "ticketing"]
64
64
  if @api_client.config.client_side_validation && opts[:'category'] && !allowable_values.include?(opts[:'category'])
65
65
  fail ArgumentError, "invalid value for \"category\", must be one of #{allowable_values}"
66
66
  end
@@ -27,8 +27,8 @@ module MergeTicketingClient
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 [PaginatedProjectList]
@@ -45,8 +45,8 @@ module MergeTicketingClient
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<(PaginatedProjectList, Integer, Hash)>] PaginatedProjectList data, response status code and response headers
@@ -216,7 +216,7 @@ module MergeTicketingClient
216
216
  if @api_client.config.client_side_validation && parent_id.nil?
217
217
  fail ArgumentError, "Missing the required parameter 'parent_id' when calling ProjectsApi.projects_users_list"
218
218
  end
219
- allowable_values = ["teams"]
219
+ allowable_values = ["roles", "teams", "teams,roles"]
220
220
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
221
221
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
222
222
  end
@@ -19,7 +19,7 @@ module MergeTicketingClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`, `PARTIALLY_SYNCED`
22
+ # Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [String] :cursor The pagination cursor value.
@@ -30,7 +30,7 @@ module MergeTicketingClient
30
30
  data
31
31
  end
32
32
 
33
- # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;, &#x60;PARTIALLY_SYNCED&#x60;
33
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PARTIALLY_SYNCED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;
34
34
  # @param x_account_token [String] Token identifying the end user.
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @option opts [String] :cursor The pagination cursor value.