groupdocs_comparison_cloud 25.11 → 26.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6ec24c311bd0071db17ee8e51bbba6f0c4f15604648b05a89d19e42bd70f9b0
4
- data.tar.gz: 3e1b86304f8d5ca72377141d81a2da3e9655e8d2a3938ad5b6bd50ec5f5f7cee
3
+ metadata.gz: d2e0e1ad7ee95f5842cb3aca9074e1f40db02cb3762d5a3ccd83c520c8e25203
4
+ data.tar.gz: b50c75fe88f30519a342884cbae730dd9bd0c7bd843f935706f83b9bfc4811c3
5
5
  SHA512:
6
- metadata.gz: 3d4cfc74bda5c0ae95b9dd6bc20346dfbd3c2457d60489da03cda4543c8d70c02e864bcdec5220b7813c12dc6bd4f870d4c2dcff766b59ca4ced71f70fbdf8ce
7
- data.tar.gz: 0eff999693ffd2f9728adc7933e8c6d82ea1a2e699ff4c70425aacd82e5c2fb20856e7faa644c4744e9c0c41a70b213bb7efdbbc70596e654c9711d216c26154
6
+ metadata.gz: 7890f6d3fefc6e7a284d53113dbd26c792bc7314a1be16b8dec24852d5021ed699003a629e6bfefb8d7ca007525f184b9dd7b61ba8956e043f3c485b1a5e088f
7
+ data.tar.gz: c00ad8231b85a7aae748d0bd2d288115722ac91fae59fbf28b74db713f9b7a1c5a329c89dd5dc0bd0486840a232be6700a17e1fbe675d3ac81d7ec829e684d44
@@ -168,8 +168,66 @@ module GroupDocsComparisonCloud
168
168
  [data, status_code, headers]
169
169
  end
170
170
 
171
+ # Retrieves a list of changes between source and target documents supplied directly as multipart/form-data
172
+ #
173
+ # @param request put_changes_request
174
+ # @return [Array<ChangeInfo>]
175
+ def put_changes(request)
176
+ data, _status_code, _headers = put_changes_with_http_info(request)
177
+ data
178
+ end
179
+
180
+ # Retrieves a list of changes between source and target documents supplied directly as multipart/form-data
181
+ #
182
+ # @param request put_changes_request
183
+ # @return [Array<(Array<ChangeInfo>, Fixnum, Hash)>]
184
+ # Array<ChangeInfo> data, response status code and response headers
185
+ def put_changes_with_http_info(request)
186
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? PutChangesRequest
187
+
188
+ @api_client.config.logger.debug 'Calling API: CompareApi.put_changes ...' if @api_client.config.debugging
189
+ # verify the required parameter 'source_file' is set
190
+ raise ArgumentError, 'Missing the required parameter source_file when calling CompareApi.put_changes' if @api_client.config.client_side_validation && request.source_file.nil?
191
+ # verify the required parameter 'target_files' is set
192
+ raise ArgumentError, 'Missing the required parameter target_files when calling CompareApi.put_changes' if @api_client.config.client_side_validation && request.target_files.nil?
193
+ # resource path
194
+ local_var_path = '/comparison/changes'
195
+
196
+ # query parameters
197
+ query_params = {}
198
+
199
+ # header parameters
200
+ header_params = {}
201
+ # HTTP header 'Accept' (if needed)
202
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
203
+ # HTTP header 'Content-Type'
204
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
205
+
206
+ # form parameters
207
+ form_params = {}
208
+ form_params[downcase_first_letter('sourceFile')] = request.source_file
209
+ form_params[downcase_first_letter('targetFiles')] = request.target_files
210
+ form_params[downcase_first_letter('settings')] = request.settings unless request.settings.nil?
211
+ form_params[downcase_first_letter('changeType')] = request.change_type unless request.change_type.nil?
212
+
213
+ # http body (model)
214
+ post_body = nil
215
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
216
+ header_params: header_params,
217
+ query_params: query_params,
218
+ form_params: form_params,
219
+ body: post_body,
220
+ access_token: get_access_token,
221
+ return_type: 'Array<ChangeInfo>')
222
+ if @api_client.config.debugging
223
+ @api_client.config.logger.debug "API called:
224
+ CompareApi#put_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
225
+ end
226
+ [data, status_code, headers]
227
+ end
228
+
171
229
  # Accepts or rejects changes to the resultant document and returns a link to saved result
172
- #
230
+ #
173
231
  # @param request put_changes_document_request
174
232
  # @return [Link]
175
233
  def put_changes_document(request)
@@ -363,6 +421,63 @@ module GroupDocsComparisonCloud
363
421
  self.comparison_options = comparison_options
364
422
  end
365
423
  end
424
+ end
425
+ #
426
+ # --------------------------------------------------------------------------------------------------------------------
427
+ # <copyright company="Aspose Pty Ltd" file="put_changes_request.rb">
428
+ # Copyright (c) Aspose Pty Ltd
429
+ # </copyright>
430
+ # <summary>
431
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
432
+ # of this software and associated documentation files (the "Software"), to deal
433
+ # in the Software without restriction, including without limitation the rights
434
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
435
+ # copies of the Software, and to permit persons to whom the Software is
436
+ # furnished to do so, subject to the following conditions:
437
+ #
438
+ # The above copyright notice and this permission notice shall be included in all
439
+ # copies or substantial portions of the Software.
440
+ #
441
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
442
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
443
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
444
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
445
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
446
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
447
+ # SOFTWARE.
448
+ # </summary>
449
+ # --------------------------------------------------------------------------------------------------------------------
450
+ #
451
+
452
+ module GroupDocsComparisonCloud
453
+
454
+ #
455
+ # Request model for put_changes operation.
456
+ #
457
+ class PutChangesRequest
458
+
459
+ # Source document file
460
+ attr_accessor :source_file
461
+ # One or more target document files
462
+ attr_accessor :target_files
463
+ # Comparison settings serialized as JSON (optional)
464
+ attr_accessor :settings
465
+ # Change type filter, e.g. Inserted (optional)
466
+ attr_accessor :change_type
467
+
468
+ #
469
+ # Initializes a new instance.
470
+ # @param source_file Source document file
471
+ # @param target_files One or more target document files
472
+ # @param settings Comparison settings serialized as JSON (optional)
473
+ # @param change_type Change type filter (optional)
474
+ def initialize(source_file, target_files, settings = nil, change_type = nil)
475
+ self.source_file = source_file
476
+ self.target_files = target_files
477
+ self.settings = settings
478
+ self.change_type = change_type
479
+ end
480
+ end
366
481
  end
367
482
  #
368
483
  # --------------------------------------------------------------------------------------------------------------------
@@ -376,10 +491,10 @@ end
376
491
  # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
377
492
  # copies of the Software, and to permit persons to whom the Software is
378
493
  # furnished to do so, subject to the following conditions:
379
- #
494
+ #
380
495
  # The above copyright notice and this permission notice shall be included in all
381
496
  # copies or substantial portions of the Software.
382
- #
497
+ #
383
498
  # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
384
499
  # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
385
500
  # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsComparisonCloud
28
- VERSION = "25.11".freeze
28
+ VERSION = "26.5".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_comparison_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '25.11'
4
+ version: '26.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-19 00:00:00.000000000 Z
11
+ date: 2026-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday