aspose_slides_cloud 19.10.0 → 20.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +51 -2
  4. data/lib/aspose_slides_cloud.rb +7 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +1847 -407
  6. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +742 -152
  7. data/lib/aspose_slides_cloud/api_client.rb +1 -0
  8. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +0 -15
  9. data/lib/aspose_slides_cloud/models/axis.rb +0 -160
  10. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +490 -0
  11. data/lib/aspose_slides_cloud/models/bubble_series.rb +2 -37
  12. data/lib/aspose_slides_cloud/models/chart.rb +3 -3
  13. data/lib/aspose_slides_cloud/models/chart_category.rb +237 -0
  14. data/lib/aspose_slides_cloud/models/chart_wall.rb +0 -10
  15. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +205 -0
  16. data/lib/aspose_slides_cloud/models/document.rb +11 -1
  17. data/lib/aspose_slides_cloud/models/document_replace_result.rb +11 -1
  18. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  19. data/lib/aspose_slides_cloud/models/legend.rb +0 -30
  20. data/lib/aspose_slides_cloud/models/line_format.rb +0 -35
  21. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +205 -0
  22. data/lib/aspose_slides_cloud/models/one_value_series.rb +2 -37
  23. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +33 -6
  24. data/lib/aspose_slides_cloud/models/plot_area.rb +0 -25
  25. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  26. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  27. data/lib/aspose_slides_cloud/models/scatter_series.rb +2 -37
  28. data/lib/aspose_slides_cloud/models/series.rb +2 -37
  29. data/lib/aspose_slides_cloud/models/series_marker.rb +0 -10
  30. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  31. data/lib/aspose_slides_cloud/models/table.rb +0 -40
  32. data/lib/aspose_slides_cloud/models/table_cell.rb +0 -40
  33. data/lib/aspose_slides_cloud/models/view_properties.rb +367 -0
  34. data/lib/aspose_slides_cloud/models/waterfall_series.rb +438 -0
  35. data/lib/aspose_slides_cloud/version.rb +1 -1
  36. data/spec/api/slides_api_spec.rb +16468 -11925
  37. data/spec/extra/extra_spec.rb +5 -5
  38. data/spec/spec_utils.rb +1 -1
  39. data/testRules.json +53 -5
  40. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0192b8a850075f93dbdf34e271ed979875abaaf931ea2e2ffb0d4c8b6e37c30b'
4
- data.tar.gz: 3a214622c624ecb0c79af550649db45e5b284a3f0ccd5017ae54b27d36bfb30b
3
+ metadata.gz: 5f66f0495d8d286479a35c9d79aea4bc9b20b6365ecfcf9c755c578b67eb4628
4
+ data.tar.gz: d3015bbafe13f2c7e5c0841c59e8d44fbeba3bb9dec125f65b44107519b31e91
5
5
  SHA512:
6
- metadata.gz: b4ba98bcea2f6b1ba68d861f10909163acb0c5ac5feec79147c27c82aca9c200354302d12d69c5b8a4f6853d1f88332b2b3b926fc460a9c9cc0e5d014cde9324
7
- data.tar.gz: 1092643a4283e72a7f24777c1d85f65b117842ca5e29b823b271c98b2c23134d94ed8c8156beff1d5dcce37e59f7c67782a0f7a3b553a14b1e4a61ac7d92a319
6
+ metadata.gz: dff2a6b1453cec46bca8397888f8922ca2bb6646bc4103df1992fd81e9a728b963193134862b07ade11b28f83a525a6fd7a74df3918d5b4c79e3a7696a0d919e
7
+ data.tar.gz: 7e6cbe8a3d642725bf71bbd5c71e2bdd59e4c720299e2eaaf2d73ebcc42807ef3538b5465e5cb00cf0d76f008ea4545368845954a2195b32ec497c360438ae4f
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 12.3.3'
7
7
  end
data/README.md CHANGED
@@ -1,12 +1,61 @@
1
1
  # Aspose.Slides Cloud SDK for Ruby
2
2
  This repository contains Aspose.Slides Cloud SDK for Ruby source code. This SDK allows you to work with Aspose.Slides Cloud REST APIs in your Ruby applications.
3
3
 
4
+ ## Key Features
5
+ * Conversion between various document-related formats (20+ formats supported), including PDF<->PowerPoint conversion
6
+ * Download slides and shapes in various formats, including PDF and SVG
7
+ * Merge and split PowerPoint presentations
8
+ * Access PowerPoint presentation metadata and statistics
9
+ * Find and replace
10
+ * Full read & write access to Document Object Model, including slides, shapes, paragraphs, portions and many others
11
+ * Support of Aspose.Storage API
12
+
13
+ ## Licensing
14
+ All Aspose.Slides Cloud SDKs are licensed under MIT License.
15
+
4
16
  ## How to use the SDK?
5
- The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Ruby gem] (recommended).
17
+ The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Ruby gem](https://rubygems.org/gems/aspose_slides_cloud) (recommended).
6
18
 
7
19
  ## Prerequisites
20
+ To use Aspose Slides Cloud SDK for Ruby you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
21
+
22
+ ### Installation
23
+
24
+ ```sh
25
+ gem install aspose_slides_cloud
26
+ ```
27
+
28
+ ### Sample usage
8
29
 
9
- To use Aspose Slides for Cloud Python SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
30
+ The example code below converts a PowerPoint document to PDF format using aspose_slides_cloud library:
31
+ ```ruby
32
+ require 'aspose_slides_cloud'
33
+
34
+ configuration = AsposeSlidesCloud::Configuration.new
35
+ configuration.app_sid = "MyAppSid"
36
+ configuration.app_key = "MyAppKey"
37
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
38
+ requestParam = AsposeSlidesCloud::PostSlidesConvertRequest.new
39
+ requestParam.format = "pdf"
40
+ requestParam.document = File.binread("MyPresentation.pptx")
41
+ result = api.post_slides_convert(requestParam)
42
+ File.binwrite("MyPresentation.pdf", result)
43
+ ```
10
44
 
11
45
  ## Contact Us
46
+
12
47
  Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.aspose.cloud/c/slides).
48
+
49
+ ## Resources
50
+
51
+ [Website](https://www.aspose.cloud/)
52
+ [Product Home](https://products.aspose.cloud/slides/family)
53
+ [API Reference](https://apireference.aspose.cloud/slides/)
54
+ [Documentation](https://docs.aspose.cloud/display/slidescloud/Home)
55
+ [Blog](https://blog.aspose.cloud/category/slides/)
56
+
57
+ ## Other languages
58
+
59
+ We generate our SDKs in different languages so you may check if yours is available in our [list](https://github.com/aspose-slides-cloud).
60
+
61
+ If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it [here](https://products.aspose.cloud/slides/curl).
@@ -32,12 +32,15 @@ require 'aspose_slides_cloud/models/arrow_head_properties'
32
32
  require 'aspose_slides_cloud/models/axes'
33
33
  require 'aspose_slides_cloud/models/axis'
34
34
  require 'aspose_slides_cloud/models/blur_effect'
35
+ require 'aspose_slides_cloud/models/chart_category'
35
36
  require 'aspose_slides_cloud/models/chart_title'
36
37
  require 'aspose_slides_cloud/models/chart_wall'
38
+ require 'aspose_slides_cloud/models/common_slide_view_properties'
37
39
  require 'aspose_slides_cloud/models/custom_dash_pattern'
38
40
  require 'aspose_slides_cloud/models/disc_usage'
39
41
  require 'aspose_slides_cloud/models/effect'
40
42
  require 'aspose_slides_cloud/models/effect_format'
43
+ require 'aspose_slides_cloud/models/entity_exists'
41
44
  require 'aspose_slides_cloud/models/error'
42
45
  require 'aspose_slides_cloud/models/error_details'
43
46
  require 'aspose_slides_cloud/models/export_format'
@@ -59,6 +62,7 @@ require 'aspose_slides_cloud/models/interactive_sequence'
59
62
  require 'aspose_slides_cloud/models/legend'
60
63
  require 'aspose_slides_cloud/models/line_format'
61
64
  require 'aspose_slides_cloud/models/merging_source'
65
+ require 'aspose_slides_cloud/models/normal_view_restored_properties'
62
66
  require 'aspose_slides_cloud/models/notes_slide_export_format'
63
67
  require 'aspose_slides_cloud/models/object_exist'
64
68
  require 'aspose_slides_cloud/models/one_value_chart_data_point'
@@ -159,7 +163,9 @@ require 'aspose_slides_cloud/models/theme'
159
163
  require 'aspose_slides_cloud/models/tiff_export_options'
160
164
  require 'aspose_slides_cloud/models/update_background'
161
165
  require 'aspose_slides_cloud/models/update_shape'
166
+ require 'aspose_slides_cloud/models/view_properties'
162
167
  require 'aspose_slides_cloud/models/xps_export_options'
168
+ require 'aspose_slides_cloud/models/box_and_whisker_series'
163
169
  require 'aspose_slides_cloud/models/chart'
164
170
  require 'aspose_slides_cloud/models/document_replace_result'
165
171
  require 'aspose_slides_cloud/models/geometry_shape'
@@ -170,6 +176,7 @@ require 'aspose_slides_cloud/models/slide_replace_result'
170
176
  require 'aspose_slides_cloud/models/smart_art'
171
177
  require 'aspose_slides_cloud/models/smart_art_shape'
172
178
  require 'aspose_slides_cloud/models/table'
179
+ require 'aspose_slides_cloud/models/waterfall_series'
173
180
  require 'aspose_slides_cloud/models/audio_frame'
174
181
  require 'aspose_slides_cloud/models/connector'
175
182
  require 'aspose_slides_cloud/models/picture_frame'
@@ -26,9 +26,10 @@ module AsposeSlidesCloud
26
26
  class SlidesApi
27
27
  attr_accessor :api_client
28
28
 
29
- def initialize(api_client = ApiClient.default)
30
- @api_client = api_client
29
+ def initialize(configuration = Configuration.default)
30
+ @api_client = AsposeSlidesCloud::ApiClient.new(configuration)
31
31
  end
32
+
32
33
  # Copy file
33
34
  # @param request operation request
34
35
  def copy_file(request)
@@ -153,10 +154,6 @@ module AsposeSlidesCloud
153
154
  if @api_client.config.debugging
154
155
  @api_client.config.logger.debug 'Calling API: SlidesApi.create_folder ...'
155
156
  end
156
- # verify the required parameter 'path' is set
157
- if @api_client.config.client_side_validation && request.path.nil?
158
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.create_folder"
159
- end
160
157
  # resource path
161
158
  local_var_path = '/slides/storage/folder/{path}'
162
159
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -202,10 +199,6 @@ module AsposeSlidesCloud
202
199
  if @api_client.config.debugging
203
200
  @api_client.config.logger.debug 'Calling API: SlidesApi.delete_file ...'
204
201
  end
205
- # verify the required parameter 'path' is set
206
- if @api_client.config.client_side_validation && request.path.nil?
207
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_file"
208
- end
209
202
  # resource path
210
203
  local_var_path = '/slides/storage/file/{path}'
211
204
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -252,10 +245,6 @@ module AsposeSlidesCloud
252
245
  if @api_client.config.debugging
253
246
  @api_client.config.logger.debug 'Calling API: SlidesApi.delete_folder ...'
254
247
  end
255
- # verify the required parameter 'path' is set
256
- if @api_client.config.client_side_validation && request.path.nil?
257
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_folder"
258
- end
259
248
  # resource path
260
249
  local_var_path = '/slides/storage/folder/{path}'
261
250
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -367,10 +356,6 @@ module AsposeSlidesCloud
367
356
  if @api_client.config.client_side_validation && request.slide_index.nil?
368
357
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_paragraph"
369
358
  end
370
- # verify the required parameter 'path' is set
371
- if @api_client.config.client_side_validation && request.path.nil?
372
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_paragraph"
373
- end
374
359
  # verify the required parameter 'shape_index' is set
375
360
  if @api_client.config.client_side_validation && request.shape_index.nil?
376
361
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_paragraph"
@@ -380,10 +365,9 @@ module AsposeSlidesCloud
380
365
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_notes_slide_paragraph"
381
366
  end
382
367
  # resource path
383
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
368
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
384
369
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
385
370
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
386
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
387
371
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
388
372
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
389
373
 
@@ -439,19 +423,14 @@ module AsposeSlidesCloud
439
423
  if @api_client.config.client_side_validation && request.slide_index.nil?
440
424
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_paragraphs"
441
425
  end
442
- # verify the required parameter 'path' is set
443
- if @api_client.config.client_side_validation && request.path.nil?
444
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_paragraphs"
445
- end
446
426
  # verify the required parameter 'shape_index' is set
447
427
  if @api_client.config.client_side_validation && request.shape_index.nil?
448
428
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_paragraphs"
449
429
  end
450
430
  # resource path
451
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
431
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
452
432
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
453
433
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
454
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
455
434
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
456
435
 
457
436
  # query parameters
@@ -507,10 +486,6 @@ module AsposeSlidesCloud
507
486
  if @api_client.config.client_side_validation && request.slide_index.nil?
508
487
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_portion"
509
488
  end
510
- # verify the required parameter 'path' is set
511
- if @api_client.config.client_side_validation && request.path.nil?
512
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_portion"
513
- end
514
489
  # verify the required parameter 'shape_index' is set
515
490
  if @api_client.config.client_side_validation && request.shape_index.nil?
516
491
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_portion"
@@ -524,10 +499,9 @@ module AsposeSlidesCloud
524
499
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_notes_slide_portion"
525
500
  end
526
501
  # resource path
527
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
502
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
528
503
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
529
504
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
530
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
531
505
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
532
506
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
533
507
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -584,10 +558,6 @@ module AsposeSlidesCloud
584
558
  if @api_client.config.client_side_validation && request.slide_index.nil?
585
559
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_portions"
586
560
  end
587
- # verify the required parameter 'path' is set
588
- if @api_client.config.client_side_validation && request.path.nil?
589
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_portions"
590
- end
591
561
  # verify the required parameter 'shape_index' is set
592
562
  if @api_client.config.client_side_validation && request.shape_index.nil?
593
563
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_portions"
@@ -597,10 +567,9 @@ module AsposeSlidesCloud
597
567
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_notes_slide_portions"
598
568
  end
599
569
  # resource path
600
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
570
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
601
571
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
602
572
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
603
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
604
573
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
605
574
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
606
575
 
@@ -657,19 +626,14 @@ module AsposeSlidesCloud
657
626
  if @api_client.config.client_side_validation && request.slide_index.nil?
658
627
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_shape"
659
628
  end
660
- # verify the required parameter 'path' is set
661
- if @api_client.config.client_side_validation && request.path.nil?
662
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_shape"
663
- end
664
629
  # verify the required parameter 'shape_index' is set
665
630
  if @api_client.config.client_side_validation && request.shape_index.nil?
666
631
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_shape"
667
632
  end
668
633
  # resource path
669
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
634
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
670
635
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
671
636
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
672
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
673
637
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
674
638
 
675
639
  # query parameters
@@ -724,15 +688,10 @@ module AsposeSlidesCloud
724
688
  if @api_client.config.client_side_validation && request.slide_index.nil?
725
689
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_shapes"
726
690
  end
727
- # verify the required parameter 'path' is set
728
- if @api_client.config.client_side_validation && request.path.nil?
729
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_shapes"
730
- end
731
691
  # resource path
732
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
692
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
733
693
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
734
694
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
735
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
736
695
 
737
696
  # query parameters
738
697
  query_params = {}
@@ -787,10 +746,6 @@ module AsposeSlidesCloud
787
746
  if @api_client.config.client_side_validation && request.slide_index.nil?
788
747
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_paragraph"
789
748
  end
790
- # verify the required parameter 'path' is set
791
- if @api_client.config.client_side_validation && request.path.nil?
792
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_paragraph"
793
- end
794
749
  # verify the required parameter 'shape_index' is set
795
750
  if @api_client.config.client_side_validation && request.shape_index.nil?
796
751
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_paragraph"
@@ -800,10 +755,9 @@ module AsposeSlidesCloud
800
755
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_paragraph"
801
756
  end
802
757
  # resource path
803
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
758
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
804
759
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
805
760
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
806
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
807
761
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
808
762
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
809
763
 
@@ -859,19 +813,14 @@ module AsposeSlidesCloud
859
813
  if @api_client.config.client_side_validation && request.slide_index.nil?
860
814
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_paragraphs"
861
815
  end
862
- # verify the required parameter 'path' is set
863
- if @api_client.config.client_side_validation && request.path.nil?
864
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_paragraphs"
865
- end
866
816
  # verify the required parameter 'shape_index' is set
867
817
  if @api_client.config.client_side_validation && request.shape_index.nil?
868
818
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_paragraphs"
869
819
  end
870
820
  # resource path
871
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
821
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
872
822
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
873
823
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
874
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
875
824
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
876
825
 
877
826
  # query parameters
@@ -927,10 +876,6 @@ module AsposeSlidesCloud
927
876
  if @api_client.config.client_side_validation && request.slide_index.nil?
928
877
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_portion"
929
878
  end
930
- # verify the required parameter 'path' is set
931
- if @api_client.config.client_side_validation && request.path.nil?
932
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_portion"
933
- end
934
879
  # verify the required parameter 'shape_index' is set
935
880
  if @api_client.config.client_side_validation && request.shape_index.nil?
936
881
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_portion"
@@ -944,10 +889,9 @@ module AsposeSlidesCloud
944
889
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_portion"
945
890
  end
946
891
  # resource path
947
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
892
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
948
893
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
949
894
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
950
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
951
895
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
952
896
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
953
897
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -1004,10 +948,6 @@ module AsposeSlidesCloud
1004
948
  if @api_client.config.client_side_validation && request.slide_index.nil?
1005
949
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_portions"
1006
950
  end
1007
- # verify the required parameter 'path' is set
1008
- if @api_client.config.client_side_validation && request.path.nil?
1009
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_portions"
1010
- end
1011
951
  # verify the required parameter 'shape_index' is set
1012
952
  if @api_client.config.client_side_validation && request.shape_index.nil?
1013
953
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_portions"
@@ -1017,10 +957,9 @@ module AsposeSlidesCloud
1017
957
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_portions"
1018
958
  end
1019
959
  # resource path
1020
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
960
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
1021
961
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1022
962
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1023
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1024
963
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1025
964
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
1026
965
 
@@ -1496,19 +1435,14 @@ module AsposeSlidesCloud
1496
1435
  if @api_client.config.client_side_validation && request.slide_index.nil?
1497
1436
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_shape"
1498
1437
  end
1499
- # verify the required parameter 'path' is set
1500
- if @api_client.config.client_side_validation && request.path.nil?
1501
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_slide_shape"
1502
- end
1503
1438
  # verify the required parameter 'shape_index' is set
1504
1439
  if @api_client.config.client_side_validation && request.shape_index.nil?
1505
1440
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_slide_shape"
1506
1441
  end
1507
1442
  # resource path
1508
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
1443
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
1509
1444
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1510
1445
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1511
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1512
1446
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1513
1447
 
1514
1448
  # query parameters
@@ -1563,9 +1497,126 @@ module AsposeSlidesCloud
1563
1497
  if @api_client.config.client_side_validation && request.slide_index.nil?
1564
1498
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_shapes"
1565
1499
  end
1566
- # verify the required parameter 'path' is set
1567
- if @api_client.config.client_side_validation && request.path.nil?
1568
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_slide_shapes"
1500
+ # resource path
1501
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
1502
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1503
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1504
+
1505
+ # query parameters
1506
+ query_params = {}
1507
+ query_params[:'shapes'] = request.shapes unless request.shapes.nil?
1508
+ query_params[:'password'] = request.password unless request.password.nil?
1509
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1510
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1511
+
1512
+ # header parameters
1513
+ header_params = {}
1514
+ # HTTP header 'Accept' (if needed)
1515
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1516
+ # HTTP header 'Content-Type'
1517
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1518
+
1519
+ # http body (model)
1520
+ post_body = nil
1521
+
1522
+ # form parameters
1523
+
1524
+ post_files = nil
1525
+
1526
+
1527
+ auth_names = ['JWT']
1528
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1529
+ :header_params => header_params,
1530
+ :query_params => query_params,
1531
+ :body => post_body,
1532
+ :files => post_files,
1533
+ :auth_names => auth_names,
1534
+ :return_type => 'Shapes')
1535
+ return data, status_code, headers
1536
+ end
1537
+ # Remove a shape (for smart art and group shapes).
1538
+ # @param request operation request
1539
+ def delete_slide_subshape(request)
1540
+ data, _status_code, _headers = delete_slide_subshape_with_http_info(request)
1541
+ data
1542
+ end
1543
+
1544
+ # Remove a shape (for smart art and group shapes).
1545
+ # @param request operation request
1546
+ def delete_slide_subshape_with_http_info(request)
1547
+ if @api_client.config.debugging
1548
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_slide_subshape ...'
1549
+ end
1550
+ # verify the required parameter 'name' is set
1551
+ if @api_client.config.client_side_validation && request.name.nil?
1552
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_slide_subshape"
1553
+ end
1554
+ # verify the required parameter 'slide_index' is set
1555
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1556
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_subshape"
1557
+ end
1558
+ # verify the required parameter 'shape_index' is set
1559
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1560
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_slide_subshape"
1561
+ end
1562
+ # resource path
1563
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
1564
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1565
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1566
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1567
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1568
+
1569
+ # query parameters
1570
+ query_params = {}
1571
+ query_params[:'password'] = request.password unless request.password.nil?
1572
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1573
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1574
+
1575
+ # header parameters
1576
+ header_params = {}
1577
+ # HTTP header 'Accept' (if needed)
1578
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1579
+ # HTTP header 'Content-Type'
1580
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1581
+
1582
+ # http body (model)
1583
+ post_body = nil
1584
+
1585
+ # form parameters
1586
+
1587
+ post_files = nil
1588
+
1589
+
1590
+ auth_names = ['JWT']
1591
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1592
+ :header_params => header_params,
1593
+ :query_params => query_params,
1594
+ :body => post_body,
1595
+ :files => post_files,
1596
+ :auth_names => auth_names,
1597
+ :return_type => 'Shapes')
1598
+ return data, status_code, headers
1599
+ end
1600
+ # Remove a range of shapes (for smart art and group shapes).
1601
+ # @param request operation request
1602
+ def delete_slide_subshapes(request)
1603
+ data, _status_code, _headers = delete_slide_subshapes_with_http_info(request)
1604
+ data
1605
+ end
1606
+
1607
+ # Remove a range of shapes (for smart art and group shapes).
1608
+ # @param request operation request
1609
+ def delete_slide_subshapes_with_http_info(request)
1610
+ if @api_client.config.debugging
1611
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_slide_subshapes ...'
1612
+ end
1613
+ # verify the required parameter 'name' is set
1614
+ if @api_client.config.client_side_validation && request.name.nil?
1615
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_slide_subshapes"
1616
+ end
1617
+ # verify the required parameter 'slide_index' is set
1618
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1619
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_subshapes"
1569
1620
  end
1570
1621
  # resource path
1571
1622
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
@@ -1824,36 +1875,53 @@ module AsposeSlidesCloud
1824
1875
  :return_type => 'SlideBackground')
1825
1876
  return data, status_code, headers
1826
1877
  end
1827
- # Download file
1878
+ # Remove a paragraph (for smart art and group shapes).
1828
1879
  # @param request operation request
1829
- def download_file(request)
1830
- data, _status_code, _headers = download_file_with_http_info(request)
1880
+ def delete_subshape_paragraph(request)
1881
+ data, _status_code, _headers = delete_subshape_paragraph_with_http_info(request)
1831
1882
  data
1832
1883
  end
1833
1884
 
1834
- # Download file
1885
+ # Remove a paragraph (for smart art and group shapes).
1835
1886
  # @param request operation request
1836
- def download_file_with_http_info(request)
1887
+ def delete_subshape_paragraph_with_http_info(request)
1837
1888
  if @api_client.config.debugging
1838
- @api_client.config.logger.debug 'Calling API: SlidesApi.download_file ...'
1889
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_paragraph ...'
1890
+ end
1891
+ # verify the required parameter 'name' is set
1892
+ if @api_client.config.client_side_validation && request.name.nil?
1893
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_paragraph"
1894
+ end
1895
+ # verify the required parameter 'slide_index' is set
1896
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1897
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_paragraph"
1898
+ end
1899
+ # verify the required parameter 'shape_index' is set
1900
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1901
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_paragraph"
1839
1902
  end
1840
- # verify the required parameter 'path' is set
1841
- if @api_client.config.client_side_validation && request.path.nil?
1842
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.download_file"
1903
+ # verify the required parameter 'paragraph_index' is set
1904
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
1905
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_paragraph"
1843
1906
  end
1844
1907
  # resource path
1845
- local_var_path = '/slides/storage/file/{path}'
1908
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
1909
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1910
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1846
1911
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1912
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1913
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
1847
1914
 
1848
1915
  # query parameters
1849
1916
  query_params = {}
1850
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
1851
- query_params[:'versionId'] = request.version_id unless request.version_id.nil?
1917
+ query_params[:'password'] = request.password unless request.password.nil?
1918
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1919
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1852
1920
 
1853
1921
  # header parameters
1854
1922
  header_params = {}
1855
1923
  # HTTP header 'Accept' (if needed)
1856
- header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
1924
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1857
1925
  # HTTP header 'Content-Type'
1858
1926
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1859
1927
 
@@ -1866,34 +1934,53 @@ module AsposeSlidesCloud
1866
1934
 
1867
1935
 
1868
1936
  auth_names = ['JWT']
1869
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1937
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1870
1938
  :header_params => header_params,
1871
1939
  :query_params => query_params,
1872
1940
  :body => post_body,
1873
1941
  :files => post_files,
1874
1942
  :auth_names => auth_names,
1875
- :return_type => 'File')
1943
+ :return_type => 'Paragraphs')
1876
1944
  return data, status_code, headers
1877
1945
  end
1878
- # Get disc usage
1946
+ # Remove a range of paragraphs (for smart art and group shapes).
1879
1947
  # @param request operation request
1880
- def get_disc_usage(request)
1881
- data, _status_code, _headers = get_disc_usage_with_http_info(request)
1948
+ def delete_subshape_paragraphs(request)
1949
+ data, _status_code, _headers = delete_subshape_paragraphs_with_http_info(request)
1882
1950
  data
1883
1951
  end
1884
1952
 
1885
- # Get disc usage
1953
+ # Remove a range of paragraphs (for smart art and group shapes).
1886
1954
  # @param request operation request
1887
- def get_disc_usage_with_http_info(request)
1955
+ def delete_subshape_paragraphs_with_http_info(request)
1888
1956
  if @api_client.config.debugging
1889
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_disc_usage ...'
1957
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_paragraphs ...'
1958
+ end
1959
+ # verify the required parameter 'name' is set
1960
+ if @api_client.config.client_side_validation && request.name.nil?
1961
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_paragraphs"
1962
+ end
1963
+ # verify the required parameter 'slide_index' is set
1964
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1965
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_paragraphs"
1966
+ end
1967
+ # verify the required parameter 'shape_index' is set
1968
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1969
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_paragraphs"
1890
1970
  end
1891
1971
  # resource path
1892
- local_var_path = '/slides/storage/disc'
1972
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
1973
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1974
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1975
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1976
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1893
1977
 
1894
1978
  # query parameters
1895
1979
  query_params = {}
1896
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
1980
+ query_params[:'paragraphs'] = request.paragraphs unless request.paragraphs.nil?
1981
+ query_params[:'password'] = request.password unless request.password.nil?
1982
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1983
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1897
1984
 
1898
1985
  # header parameters
1899
1986
  header_params = {}
@@ -1911,39 +1998,62 @@ module AsposeSlidesCloud
1911
1998
 
1912
1999
 
1913
2000
  auth_names = ['JWT']
1914
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2001
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1915
2002
  :header_params => header_params,
1916
2003
  :query_params => query_params,
1917
2004
  :body => post_body,
1918
2005
  :files => post_files,
1919
2006
  :auth_names => auth_names,
1920
- :return_type => 'DiscUsage')
2007
+ :return_type => 'Paragraphs')
1921
2008
  return data, status_code, headers
1922
2009
  end
1923
- # Get file versions
2010
+ # Remove a portion (for smart art and group shapes).
1924
2011
  # @param request operation request
1925
- def get_file_versions(request)
1926
- data, _status_code, _headers = get_file_versions_with_http_info(request)
2012
+ def delete_subshape_portion(request)
2013
+ data, _status_code, _headers = delete_subshape_portion_with_http_info(request)
1927
2014
  data
1928
2015
  end
1929
2016
 
1930
- # Get file versions
2017
+ # Remove a portion (for smart art and group shapes).
1931
2018
  # @param request operation request
1932
- def get_file_versions_with_http_info(request)
2019
+ def delete_subshape_portion_with_http_info(request)
1933
2020
  if @api_client.config.debugging
1934
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_file_versions ...'
2021
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_portion ...'
2022
+ end
2023
+ # verify the required parameter 'name' is set
2024
+ if @api_client.config.client_side_validation && request.name.nil?
2025
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_portion"
2026
+ end
2027
+ # verify the required parameter 'slide_index' is set
2028
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2029
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_portion"
2030
+ end
2031
+ # verify the required parameter 'shape_index' is set
2032
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2033
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_portion"
1935
2034
  end
1936
- # verify the required parameter 'path' is set
1937
- if @api_client.config.client_side_validation && request.path.nil?
1938
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_file_versions"
2035
+ # verify the required parameter 'paragraph_index' is set
2036
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
2037
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_portion"
2038
+ end
2039
+ # verify the required parameter 'portion_index' is set
2040
+ if @api_client.config.client_side_validation && request.portion_index.nil?
2041
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_subshape_portion"
1939
2042
  end
1940
2043
  # resource path
1941
- local_var_path = '/slides/storage/version/{path}'
2044
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2045
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2046
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1942
2047
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2048
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2049
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2050
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
1943
2051
 
1944
2052
  # query parameters
1945
2053
  query_params = {}
1946
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2054
+ query_params[:'password'] = request.password unless request.password.nil?
2055
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2056
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1947
2057
 
1948
2058
  # header parameters
1949
2059
  header_params = {}
@@ -1961,39 +2071,242 @@ module AsposeSlidesCloud
1961
2071
 
1962
2072
 
1963
2073
  auth_names = ['JWT']
1964
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2074
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1965
2075
  :header_params => header_params,
1966
2076
  :query_params => query_params,
1967
2077
  :body => post_body,
1968
2078
  :files => post_files,
1969
2079
  :auth_names => auth_names,
1970
- :return_type => 'FileVersions')
2080
+ :return_type => 'Portions')
1971
2081
  return data, status_code, headers
1972
2082
  end
1973
- # Get all files and folders within a folder
2083
+ # Remove a range of portions (for smart art and group shapes).
1974
2084
  # @param request operation request
1975
- def get_files_list(request)
1976
- data, _status_code, _headers = get_files_list_with_http_info(request)
2085
+ def delete_subshape_portions(request)
2086
+ data, _status_code, _headers = delete_subshape_portions_with_http_info(request)
1977
2087
  data
1978
2088
  end
1979
2089
 
1980
- # Get all files and folders within a folder
2090
+ # Remove a range of portions (for smart art and group shapes).
1981
2091
  # @param request operation request
1982
- def get_files_list_with_http_info(request)
2092
+ def delete_subshape_portions_with_http_info(request)
1983
2093
  if @api_client.config.debugging
1984
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_files_list ...'
2094
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_portions ...'
2095
+ end
2096
+ # verify the required parameter 'name' is set
2097
+ if @api_client.config.client_side_validation && request.name.nil?
2098
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_portions"
2099
+ end
2100
+ # verify the required parameter 'slide_index' is set
2101
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2102
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_portions"
1985
2103
  end
1986
- # verify the required parameter 'path' is set
1987
- if @api_client.config.client_side_validation && request.path.nil?
1988
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_files_list"
2104
+ # verify the required parameter 'shape_index' is set
2105
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2106
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_portions"
2107
+ end
2108
+ # verify the required parameter 'paragraph_index' is set
2109
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
2110
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_portions"
1989
2111
  end
1990
2112
  # resource path
1991
- local_var_path = '/slides/storage/folder/{path}'
2113
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2114
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2115
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1992
2116
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2117
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2118
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
1993
2119
 
1994
2120
  # query parameters
1995
2121
  query_params = {}
1996
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2122
+ query_params[:'portions'] = request.portions unless request.portions.nil?
2123
+ query_params[:'password'] = request.password unless request.password.nil?
2124
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2125
+ query_params[:'storage'] = request.storage unless request.storage.nil?
2126
+
2127
+ # header parameters
2128
+ header_params = {}
2129
+ # HTTP header 'Accept' (if needed)
2130
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2131
+ # HTTP header 'Content-Type'
2132
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2133
+
2134
+ # http body (model)
2135
+ post_body = nil
2136
+
2137
+ # form parameters
2138
+
2139
+ post_files = nil
2140
+
2141
+
2142
+ auth_names = ['JWT']
2143
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2144
+ :header_params => header_params,
2145
+ :query_params => query_params,
2146
+ :body => post_body,
2147
+ :files => post_files,
2148
+ :auth_names => auth_names,
2149
+ :return_type => 'Portions')
2150
+ return data, status_code, headers
2151
+ end
2152
+ # Download file
2153
+ # @param request operation request
2154
+ def download_file(request)
2155
+ data, _status_code, _headers = download_file_with_http_info(request)
2156
+ data
2157
+ end
2158
+
2159
+ # Download file
2160
+ # @param request operation request
2161
+ def download_file_with_http_info(request)
2162
+ if @api_client.config.debugging
2163
+ @api_client.config.logger.debug 'Calling API: SlidesApi.download_file ...'
2164
+ end
2165
+ # resource path
2166
+ local_var_path = '/slides/storage/file/{path}'
2167
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2168
+
2169
+ # query parameters
2170
+ query_params = {}
2171
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2172
+ query_params[:'versionId'] = request.version_id unless request.version_id.nil?
2173
+
2174
+ # header parameters
2175
+ header_params = {}
2176
+ # HTTP header 'Accept' (if needed)
2177
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
2178
+ # HTTP header 'Content-Type'
2179
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2180
+
2181
+ # http body (model)
2182
+ post_body = nil
2183
+
2184
+ # form parameters
2185
+
2186
+ post_files = nil
2187
+
2188
+
2189
+ auth_names = ['JWT']
2190
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2191
+ :header_params => header_params,
2192
+ :query_params => query_params,
2193
+ :body => post_body,
2194
+ :files => post_files,
2195
+ :auth_names => auth_names,
2196
+ :return_type => 'File')
2197
+ return data, status_code, headers
2198
+ end
2199
+ # Get disc usage
2200
+ # @param request operation request
2201
+ def get_disc_usage(request)
2202
+ data, _status_code, _headers = get_disc_usage_with_http_info(request)
2203
+ data
2204
+ end
2205
+
2206
+ # Get disc usage
2207
+ # @param request operation request
2208
+ def get_disc_usage_with_http_info(request)
2209
+ if @api_client.config.debugging
2210
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_disc_usage ...'
2211
+ end
2212
+ # resource path
2213
+ local_var_path = '/slides/storage/disc'
2214
+
2215
+ # query parameters
2216
+ query_params = {}
2217
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2218
+
2219
+ # header parameters
2220
+ header_params = {}
2221
+ # HTTP header 'Accept' (if needed)
2222
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2223
+ # HTTP header 'Content-Type'
2224
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2225
+
2226
+ # http body (model)
2227
+ post_body = nil
2228
+
2229
+ # form parameters
2230
+
2231
+ post_files = nil
2232
+
2233
+
2234
+ auth_names = ['JWT']
2235
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2236
+ :header_params => header_params,
2237
+ :query_params => query_params,
2238
+ :body => post_body,
2239
+ :files => post_files,
2240
+ :auth_names => auth_names,
2241
+ :return_type => 'DiscUsage')
2242
+ return data, status_code, headers
2243
+ end
2244
+ # Get file versions
2245
+ # @param request operation request
2246
+ def get_file_versions(request)
2247
+ data, _status_code, _headers = get_file_versions_with_http_info(request)
2248
+ data
2249
+ end
2250
+
2251
+ # Get file versions
2252
+ # @param request operation request
2253
+ def get_file_versions_with_http_info(request)
2254
+ if @api_client.config.debugging
2255
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_file_versions ...'
2256
+ end
2257
+ # resource path
2258
+ local_var_path = '/slides/storage/version/{path}'
2259
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2260
+
2261
+ # query parameters
2262
+ query_params = {}
2263
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2264
+
2265
+ # header parameters
2266
+ header_params = {}
2267
+ # HTTP header 'Accept' (if needed)
2268
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2269
+ # HTTP header 'Content-Type'
2270
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2271
+
2272
+ # http body (model)
2273
+ post_body = nil
2274
+
2275
+ # form parameters
2276
+
2277
+ post_files = nil
2278
+
2279
+
2280
+ auth_names = ['JWT']
2281
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2282
+ :header_params => header_params,
2283
+ :query_params => query_params,
2284
+ :body => post_body,
2285
+ :files => post_files,
2286
+ :auth_names => auth_names,
2287
+ :return_type => 'FileVersions')
2288
+ return data, status_code, headers
2289
+ end
2290
+ # Get all files and folders within a folder
2291
+ # @param request operation request
2292
+ def get_files_list(request)
2293
+ data, _status_code, _headers = get_files_list_with_http_info(request)
2294
+ data
2295
+ end
2296
+
2297
+ # Get all files and folders within a folder
2298
+ # @param request operation request
2299
+ def get_files_list_with_http_info(request)
2300
+ if @api_client.config.debugging
2301
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_files_list ...'
2302
+ end
2303
+ # resource path
2304
+ local_var_path = '/slides/storage/folder/{path}'
2305
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2306
+
2307
+ # query parameters
2308
+ query_params = {}
2309
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
1997
2310
 
1998
2311
  # header parameters
1999
2312
  header_params = {}
@@ -2295,6 +2608,63 @@ module AsposeSlidesCloud
2295
2608
  :return_type => 'NotesSlide')
2296
2609
  return data, status_code, headers
2297
2610
  end
2611
+ # Get info whether a notes slide exists.
2612
+ # @param request operation request
2613
+ def get_notes_slide_exists(request)
2614
+ data, _status_code, _headers = get_notes_slide_exists_with_http_info(request)
2615
+ data
2616
+ end
2617
+
2618
+ # Get info whether a notes slide exists.
2619
+ # @param request operation request
2620
+ def get_notes_slide_exists_with_http_info(request)
2621
+ if @api_client.config.debugging
2622
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_notes_slide_exists ...'
2623
+ end
2624
+ # verify the required parameter 'name' is set
2625
+ if @api_client.config.client_side_validation && request.name.nil?
2626
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_notes_slide_exists"
2627
+ end
2628
+ # verify the required parameter 'slide_index' is set
2629
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2630
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_exists"
2631
+ end
2632
+ # resource path
2633
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/exist'
2634
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2635
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2636
+
2637
+ # query parameters
2638
+ query_params = {}
2639
+ query_params[:'password'] = request.password unless request.password.nil?
2640
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2641
+ query_params[:'storage'] = request.storage unless request.storage.nil?
2642
+
2643
+ # header parameters
2644
+ header_params = {}
2645
+ # HTTP header 'Accept' (if needed)
2646
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2647
+ # HTTP header 'Content-Type'
2648
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2649
+
2650
+ # http body (model)
2651
+ post_body = nil
2652
+
2653
+ # form parameters
2654
+
2655
+ post_files = nil
2656
+
2657
+
2658
+ auth_names = ['JWT']
2659
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2660
+ :header_params => header_params,
2661
+ :query_params => query_params,
2662
+ :body => post_body,
2663
+ :files => post_files,
2664
+ :auth_names => auth_names,
2665
+ :return_type => 'EntityExists')
2666
+ return data, status_code, headers
2667
+ end
2298
2668
  # Read slide shape info.
2299
2669
  # @param request operation request
2300
2670
  def get_notes_slide_shape(request)
@@ -2316,19 +2686,14 @@ module AsposeSlidesCloud
2316
2686
  if @api_client.config.client_side_validation && request.slide_index.nil?
2317
2687
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape"
2318
2688
  end
2319
- # verify the required parameter 'path' is set
2320
- if @api_client.config.client_side_validation && request.path.nil?
2321
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape"
2322
- end
2323
2689
  # verify the required parameter 'shape_index' is set
2324
2690
  if @api_client.config.client_side_validation && request.shape_index.nil?
2325
2691
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape"
2326
2692
  end
2327
2693
  # resource path
2328
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
2694
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
2329
2695
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2330
2696
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2331
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2332
2697
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2333
2698
 
2334
2699
  # query parameters
@@ -2383,10 +2748,6 @@ module AsposeSlidesCloud
2383
2748
  if @api_client.config.client_side_validation && request.slide_index.nil?
2384
2749
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2385
2750
  end
2386
- # verify the required parameter 'path' is set
2387
- if @api_client.config.client_side_validation && request.path.nil?
2388
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_paragraph"
2389
- end
2390
2751
  # verify the required parameter 'shape_index' is set
2391
2752
  if @api_client.config.client_side_validation && request.shape_index.nil?
2392
2753
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
@@ -2396,10 +2757,9 @@ module AsposeSlidesCloud
2396
2757
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2397
2758
  end
2398
2759
  # resource path
2399
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
2760
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
2400
2761
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2401
2762
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2402
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2403
2763
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2404
2764
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2405
2765
 
@@ -2455,19 +2815,14 @@ module AsposeSlidesCloud
2455
2815
  if @api_client.config.client_side_validation && request.slide_index.nil?
2456
2816
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2457
2817
  end
2458
- # verify the required parameter 'path' is set
2459
- if @api_client.config.client_side_validation && request.path.nil?
2460
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2461
- end
2462
2818
  # verify the required parameter 'shape_index' is set
2463
2819
  if @api_client.config.client_side_validation && request.shape_index.nil?
2464
2820
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2465
2821
  end
2466
2822
  # resource path
2467
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
2823
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
2468
2824
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2469
2825
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2470
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2471
2826
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2472
2827
 
2473
2828
  # query parameters
@@ -2522,10 +2877,6 @@ module AsposeSlidesCloud
2522
2877
  if @api_client.config.client_side_validation && request.slide_index.nil?
2523
2878
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_portion"
2524
2879
  end
2525
- # verify the required parameter 'path' is set
2526
- if @api_client.config.client_side_validation && request.path.nil?
2527
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_portion"
2528
- end
2529
2880
  # verify the required parameter 'shape_index' is set
2530
2881
  if @api_client.config.client_side_validation && request.shape_index.nil?
2531
2882
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_portion"
@@ -2539,10 +2890,9 @@ module AsposeSlidesCloud
2539
2890
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_notes_slide_shape_portion"
2540
2891
  end
2541
2892
  # resource path
2542
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2893
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2543
2894
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2544
2895
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2545
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2546
2896
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2547
2897
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2548
2898
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -2599,10 +2949,6 @@ module AsposeSlidesCloud
2599
2949
  if @api_client.config.client_side_validation && request.slide_index.nil?
2600
2950
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_portions"
2601
2951
  end
2602
- # verify the required parameter 'path' is set
2603
- if @api_client.config.client_side_validation && request.path.nil?
2604
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_portions"
2605
- end
2606
2952
  # verify the required parameter 'shape_index' is set
2607
2953
  if @api_client.config.client_side_validation && request.shape_index.nil?
2608
2954
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_portions"
@@ -2612,10 +2958,9 @@ module AsposeSlidesCloud
2612
2958
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_notes_slide_shape_portions"
2613
2959
  end
2614
2960
  # resource path
2615
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2961
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2616
2962
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2617
2963
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2618
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2619
2964
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2620
2965
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2621
2966
 
@@ -2671,15 +3016,10 @@ module AsposeSlidesCloud
2671
3016
  if @api_client.config.client_side_validation && request.slide_index.nil?
2672
3017
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shapes"
2673
3018
  end
2674
- # verify the required parameter 'path' is set
2675
- if @api_client.config.client_side_validation && request.path.nil?
2676
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shapes"
2677
- end
2678
3019
  # resource path
2679
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
3020
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
2680
3021
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2681
3022
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2682
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2683
3023
 
2684
3024
  # query parameters
2685
3025
  query_params = {}
@@ -2802,10 +3142,6 @@ module AsposeSlidesCloud
2802
3142
  if @api_client.config.client_side_validation && request.slide_index.nil?
2803
3143
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_paragraph_portion"
2804
3144
  end
2805
- # verify the required parameter 'path' is set
2806
- if @api_client.config.client_side_validation && request.path.nil?
2807
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_paragraph_portion"
2808
- end
2809
3145
  # verify the required parameter 'shape_index' is set
2810
3146
  if @api_client.config.client_side_validation && request.shape_index.nil?
2811
3147
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_paragraph_portion"
@@ -2819,10 +3155,9 @@ module AsposeSlidesCloud
2819
3155
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_paragraph_portion"
2820
3156
  end
2821
3157
  # resource path
2822
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
3158
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2823
3159
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2824
3160
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2825
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2826
3161
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2827
3162
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2828
3163
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -2879,10 +3214,6 @@ module AsposeSlidesCloud
2879
3214
  if @api_client.config.client_side_validation && request.slide_index.nil?
2880
3215
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_paragraph_portions"
2881
3216
  end
2882
- # verify the required parameter 'path' is set
2883
- if @api_client.config.client_side_validation && request.path.nil?
2884
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_paragraph_portions"
2885
- end
2886
3217
  # verify the required parameter 'shape_index' is set
2887
3218
  if @api_client.config.client_side_validation && request.shape_index.nil?
2888
3219
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_paragraph_portions"
@@ -2892,10 +3223,9 @@ module AsposeSlidesCloud
2892
3223
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_paragraph_portions"
2893
3224
  end
2894
3225
  # resource path
2895
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
3226
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2896
3227
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2897
3228
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2898
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2899
3229
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2900
3230
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2901
3231
 
@@ -3013,19 +3343,14 @@ module AsposeSlidesCloud
3013
3343
  if @api_client.config.client_side_validation && request.slide_index.nil?
3014
3344
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape"
3015
3345
  end
3016
- # verify the required parameter 'path' is set
3017
- if @api_client.config.client_side_validation && request.path.nil?
3018
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape"
3019
- end
3020
3346
  # verify the required parameter 'shape_index' is set
3021
3347
  if @api_client.config.client_side_validation && request.shape_index.nil?
3022
3348
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape"
3023
3349
  end
3024
3350
  # resource path
3025
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
3351
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
3026
3352
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3027
3353
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3028
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3029
3354
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3030
3355
 
3031
3356
  # query parameters
@@ -3080,10 +3405,6 @@ module AsposeSlidesCloud
3080
3405
  if @api_client.config.client_side_validation && request.slide_index.nil?
3081
3406
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape_paragraph"
3082
3407
  end
3083
- # verify the required parameter 'path' is set
3084
- if @api_client.config.client_side_validation && request.path.nil?
3085
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape_paragraph"
3086
- end
3087
3408
  # verify the required parameter 'shape_index' is set
3088
3409
  if @api_client.config.client_side_validation && request.shape_index.nil?
3089
3410
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape_paragraph"
@@ -3093,10 +3414,9 @@ module AsposeSlidesCloud
3093
3414
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_slide_shape_paragraph"
3094
3415
  end
3095
3416
  # resource path
3096
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
3417
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
3097
3418
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3098
3419
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3099
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3100
3420
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3101
3421
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
3102
3422
 
@@ -3152,19 +3472,14 @@ module AsposeSlidesCloud
3152
3472
  if @api_client.config.client_side_validation && request.slide_index.nil?
3153
3473
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape_paragraphs"
3154
3474
  end
3155
- # verify the required parameter 'path' is set
3156
- if @api_client.config.client_side_validation && request.path.nil?
3157
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape_paragraphs"
3158
- end
3159
3475
  # verify the required parameter 'shape_index' is set
3160
3476
  if @api_client.config.client_side_validation && request.shape_index.nil?
3161
3477
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape_paragraphs"
3162
3478
  end
3163
3479
  # resource path
3164
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
3480
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
3165
3481
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3166
3482
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3167
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3168
3483
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3169
3484
 
3170
3485
  # query parameters
@@ -3219,9 +3534,256 @@ module AsposeSlidesCloud
3219
3534
  if @api_client.config.client_side_validation && request.slide_index.nil?
3220
3535
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shapes"
3221
3536
  end
3222
- # verify the required parameter 'path' is set
3223
- if @api_client.config.client_side_validation && request.path.nil?
3224
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shapes"
3537
+ # resource path
3538
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
3539
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3540
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3541
+
3542
+ # query parameters
3543
+ query_params = {}
3544
+ query_params[:'password'] = request.password unless request.password.nil?
3545
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3546
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3547
+
3548
+ # header parameters
3549
+ header_params = {}
3550
+ # HTTP header 'Accept' (if needed)
3551
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3552
+ # HTTP header 'Content-Type'
3553
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3554
+
3555
+ # http body (model)
3556
+ post_body = nil
3557
+
3558
+ # form parameters
3559
+
3560
+ post_files = nil
3561
+
3562
+
3563
+ auth_names = ['JWT']
3564
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3565
+ :header_params => header_params,
3566
+ :query_params => query_params,
3567
+ :body => post_body,
3568
+ :files => post_files,
3569
+ :auth_names => auth_names,
3570
+ :return_type => 'Shapes')
3571
+ return data, status_code, headers
3572
+ end
3573
+ # Read slide shape info (for smart art and group shapes).
3574
+ # @param request operation request
3575
+ def get_slide_subshape(request)
3576
+ data, _status_code, _headers = get_slide_subshape_with_http_info(request)
3577
+ data
3578
+ end
3579
+
3580
+ # Read slide shape info (for smart art and group shapes).
3581
+ # @param request operation request
3582
+ def get_slide_subshape_with_http_info(request)
3583
+ if @api_client.config.debugging
3584
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape ...'
3585
+ end
3586
+ # verify the required parameter 'name' is set
3587
+ if @api_client.config.client_side_validation && request.name.nil?
3588
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape"
3589
+ end
3590
+ # verify the required parameter 'slide_index' is set
3591
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3592
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshape"
3593
+ end
3594
+ # verify the required parameter 'shape_index' is set
3595
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3596
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape"
3597
+ end
3598
+ # resource path
3599
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
3600
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3601
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3602
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3603
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3604
+
3605
+ # query parameters
3606
+ query_params = {}
3607
+ query_params[:'password'] = request.password unless request.password.nil?
3608
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3609
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3610
+
3611
+ # header parameters
3612
+ header_params = {}
3613
+ # HTTP header 'Accept' (if needed)
3614
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3615
+ # HTTP header 'Content-Type'
3616
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3617
+
3618
+ # http body (model)
3619
+ post_body = nil
3620
+
3621
+ # form parameters
3622
+
3623
+ post_files = nil
3624
+
3625
+
3626
+ auth_names = ['JWT']
3627
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3628
+ :header_params => header_params,
3629
+ :query_params => query_params,
3630
+ :body => post_body,
3631
+ :files => post_files,
3632
+ :auth_names => auth_names,
3633
+ :return_type => 'ShapeBase')
3634
+ return data, status_code, headers
3635
+ end
3636
+ # Read shape paragraph info (for smart art and group shapes).
3637
+ # @param request operation request
3638
+ def get_slide_subshape_paragraph(request)
3639
+ data, _status_code, _headers = get_slide_subshape_paragraph_with_http_info(request)
3640
+ data
3641
+ end
3642
+
3643
+ # Read shape paragraph info (for smart art and group shapes).
3644
+ # @param request operation request
3645
+ def get_slide_subshape_paragraph_with_http_info(request)
3646
+ if @api_client.config.debugging
3647
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape_paragraph ...'
3648
+ end
3649
+ # verify the required parameter 'name' is set
3650
+ if @api_client.config.client_side_validation && request.name.nil?
3651
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape_paragraph"
3652
+ end
3653
+ # verify the required parameter 'slide_index' is set
3654
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3655
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshape_paragraph"
3656
+ end
3657
+ # verify the required parameter 'shape_index' is set
3658
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3659
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape_paragraph"
3660
+ end
3661
+ # verify the required parameter 'paragraph_index' is set
3662
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
3663
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_slide_subshape_paragraph"
3664
+ end
3665
+ # resource path
3666
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
3667
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3668
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3669
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3670
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3671
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
3672
+
3673
+ # query parameters
3674
+ query_params = {}
3675
+ query_params[:'password'] = request.password unless request.password.nil?
3676
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3677
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3678
+
3679
+ # header parameters
3680
+ header_params = {}
3681
+ # HTTP header 'Accept' (if needed)
3682
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3683
+ # HTTP header 'Content-Type'
3684
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3685
+
3686
+ # http body (model)
3687
+ post_body = nil
3688
+
3689
+ # form parameters
3690
+
3691
+ post_files = nil
3692
+
3693
+
3694
+ auth_names = ['JWT']
3695
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3696
+ :header_params => header_params,
3697
+ :query_params => query_params,
3698
+ :body => post_body,
3699
+ :files => post_files,
3700
+ :auth_names => auth_names,
3701
+ :return_type => 'Paragraph')
3702
+ return data, status_code, headers
3703
+ end
3704
+ # Read shape paragraphs info (for smart art and group shapes).
3705
+ # @param request operation request
3706
+ def get_slide_subshape_paragraphs(request)
3707
+ data, _status_code, _headers = get_slide_subshape_paragraphs_with_http_info(request)
3708
+ data
3709
+ end
3710
+
3711
+ # Read shape paragraphs info (for smart art and group shapes).
3712
+ # @param request operation request
3713
+ def get_slide_subshape_paragraphs_with_http_info(request)
3714
+ if @api_client.config.debugging
3715
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape_paragraphs ...'
3716
+ end
3717
+ # verify the required parameter 'name' is set
3718
+ if @api_client.config.client_side_validation && request.name.nil?
3719
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape_paragraphs"
3720
+ end
3721
+ # verify the required parameter 'slide_index' is set
3722
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3723
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshape_paragraphs"
3724
+ end
3725
+ # verify the required parameter 'shape_index' is set
3726
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3727
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape_paragraphs"
3728
+ end
3729
+ # resource path
3730
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
3731
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3732
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3733
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3734
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3735
+
3736
+ # query parameters
3737
+ query_params = {}
3738
+ query_params[:'password'] = request.password unless request.password.nil?
3739
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3740
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3741
+
3742
+ # header parameters
3743
+ header_params = {}
3744
+ # HTTP header 'Accept' (if needed)
3745
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3746
+ # HTTP header 'Content-Type'
3747
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3748
+
3749
+ # http body (model)
3750
+ post_body = nil
3751
+
3752
+ # form parameters
3753
+
3754
+ post_files = nil
3755
+
3756
+
3757
+ auth_names = ['JWT']
3758
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3759
+ :header_params => header_params,
3760
+ :query_params => query_params,
3761
+ :body => post_body,
3762
+ :files => post_files,
3763
+ :auth_names => auth_names,
3764
+ :return_type => 'Paragraphs')
3765
+ return data, status_code, headers
3766
+ end
3767
+ # Read slide shapes info.
3768
+ # @param request operation request
3769
+ def get_slide_subshapes(request)
3770
+ data, _status_code, _headers = get_slide_subshapes_with_http_info(request)
3771
+ data
3772
+ end
3773
+
3774
+ # Read slide shapes info.
3775
+ # @param request operation request
3776
+ def get_slide_subshapes_with_http_info(request)
3777
+ if @api_client.config.debugging
3778
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshapes ...'
3779
+ end
3780
+ # verify the required parameter 'name' is set
3781
+ if @api_client.config.client_side_validation && request.name.nil?
3782
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshapes"
3783
+ end
3784
+ # verify the required parameter 'slide_index' is set
3785
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3786
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshapes"
3225
3787
  end
3226
3788
  # resource path
3227
3789
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
@@ -4376,37 +4938,32 @@ module AsposeSlidesCloud
4376
4938
  :return_type => 'FormatScheme')
4377
4939
  return data, status_code, headers
4378
4940
  end
4379
- # Move file
4941
+ # Read presentation document properties.
4380
4942
  # @param request operation request
4381
- def move_file(request)
4382
- move_file_with_http_info(request)
4383
- nil
4943
+ def get_slides_view_properties(request)
4944
+ data, _status_code, _headers = get_slides_view_properties_with_http_info(request)
4945
+ data
4384
4946
  end
4385
4947
 
4386
- # Move file
4948
+ # Read presentation document properties.
4387
4949
  # @param request operation request
4388
- def move_file_with_http_info(request)
4950
+ def get_slides_view_properties_with_http_info(request)
4389
4951
  if @api_client.config.debugging
4390
- @api_client.config.logger.debug 'Calling API: SlidesApi.move_file ...'
4391
- end
4392
- # verify the required parameter 'src_path' is set
4393
- if @api_client.config.client_side_validation && request.src_path.nil?
4394
- fail ArgumentError, "Missing the required parameter 'src_path' when calling SlidesApi.move_file"
4952
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_view_properties ...'
4395
4953
  end
4396
- # verify the required parameter 'dest_path' is set
4397
- if @api_client.config.client_side_validation && request.dest_path.nil?
4398
- fail ArgumentError, "Missing the required parameter 'dest_path' when calling SlidesApi.move_file"
4954
+ # verify the required parameter 'name' is set
4955
+ if @api_client.config.client_side_validation && request.name.nil?
4956
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_view_properties"
4399
4957
  end
4400
4958
  # resource path
4401
- local_var_path = '/slides/storage/file/move/{srcPath}'
4402
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'srcPath', request.src_path)
4959
+ local_var_path = '/slides/{name}/viewProperties'
4960
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4403
4961
 
4404
4962
  # query parameters
4405
4963
  query_params = {}
4406
- query_params[:'destPath'] = request.dest_path unless request.dest_path.nil?
4407
- query_params[:'srcStorageName'] = request.src_storage_name unless request.src_storage_name.nil?
4408
- query_params[:'destStorageName'] = request.dest_storage_name unless request.dest_storage_name.nil?
4409
- query_params[:'versionId'] = request.version_id unless request.version_id.nil?
4964
+ query_params[:'password'] = request.password unless request.password.nil?
4965
+ query_params[:'folder'] = request.folder unless request.folder.nil?
4966
+ query_params[:'storage'] = request.storage unless request.storage.nil?
4410
4967
 
4411
4968
  # header parameters
4412
4969
  header_params = {}
@@ -4424,17 +4981,215 @@ module AsposeSlidesCloud
4424
4981
 
4425
4982
 
4426
4983
  auth_names = ['JWT']
4427
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
4984
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4428
4985
  :header_params => header_params,
4429
4986
  :query_params => query_params,
4430
4987
  :body => post_body,
4431
4988
  :files => post_files,
4432
- :auth_names => auth_names)
4989
+ :auth_names => auth_names,
4990
+ :return_type => 'ViewProperties')
4433
4991
  return data, status_code, headers
4434
4992
  end
4435
- # Move folder
4993
+ # Read paragraph portion info (for smart art and group shapes).
4436
4994
  # @param request operation request
4437
- def move_folder(request)
4995
+ def get_subshape_paragraph_portion(request)
4996
+ data, _status_code, _headers = get_subshape_paragraph_portion_with_http_info(request)
4997
+ data
4998
+ end
4999
+
5000
+ # Read paragraph portion info (for smart art and group shapes).
5001
+ # @param request operation request
5002
+ def get_subshape_paragraph_portion_with_http_info(request)
5003
+ if @api_client.config.debugging
5004
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_subshape_paragraph_portion ...'
5005
+ end
5006
+ # verify the required parameter 'name' is set
5007
+ if @api_client.config.client_side_validation && request.name.nil?
5008
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_subshape_paragraph_portion"
5009
+ end
5010
+ # verify the required parameter 'slide_index' is set
5011
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5012
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_subshape_paragraph_portion"
5013
+ end
5014
+ # verify the required parameter 'shape_index' is set
5015
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5016
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_subshape_paragraph_portion"
5017
+ end
5018
+ # verify the required parameter 'paragraph_index' is set
5019
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5020
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_subshape_paragraph_portion"
5021
+ end
5022
+ # verify the required parameter 'portion_index' is set
5023
+ if @api_client.config.client_side_validation && request.portion_index.nil?
5024
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_subshape_paragraph_portion"
5025
+ end
5026
+ # resource path
5027
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
5028
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5029
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5030
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5031
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5032
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5033
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
5034
+
5035
+ # query parameters
5036
+ query_params = {}
5037
+ query_params[:'password'] = request.password unless request.password.nil?
5038
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5039
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5040
+
5041
+ # header parameters
5042
+ header_params = {}
5043
+ # HTTP header 'Accept' (if needed)
5044
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5045
+ # HTTP header 'Content-Type'
5046
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5047
+
5048
+ # http body (model)
5049
+ post_body = nil
5050
+
5051
+ # form parameters
5052
+
5053
+ post_files = nil
5054
+
5055
+
5056
+ auth_names = ['JWT']
5057
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5058
+ :header_params => header_params,
5059
+ :query_params => query_params,
5060
+ :body => post_body,
5061
+ :files => post_files,
5062
+ :auth_names => auth_names,
5063
+ :return_type => 'Portion')
5064
+ return data, status_code, headers
5065
+ end
5066
+ # Read paragraph portions info (for smart art and group shapes).
5067
+ # @param request operation request
5068
+ def get_subshape_paragraph_portions(request)
5069
+ data, _status_code, _headers = get_subshape_paragraph_portions_with_http_info(request)
5070
+ data
5071
+ end
5072
+
5073
+ # Read paragraph portions info (for smart art and group shapes).
5074
+ # @param request operation request
5075
+ def get_subshape_paragraph_portions_with_http_info(request)
5076
+ if @api_client.config.debugging
5077
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_subshape_paragraph_portions ...'
5078
+ end
5079
+ # verify the required parameter 'name' is set
5080
+ if @api_client.config.client_side_validation && request.name.nil?
5081
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_subshape_paragraph_portions"
5082
+ end
5083
+ # verify the required parameter 'slide_index' is set
5084
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5085
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_subshape_paragraph_portions"
5086
+ end
5087
+ # verify the required parameter 'shape_index' is set
5088
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5089
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_subshape_paragraph_portions"
5090
+ end
5091
+ # verify the required parameter 'paragraph_index' is set
5092
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5093
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_subshape_paragraph_portions"
5094
+ end
5095
+ # resource path
5096
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5097
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5098
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5099
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5100
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5101
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5102
+
5103
+ # query parameters
5104
+ query_params = {}
5105
+ query_params[:'password'] = request.password unless request.password.nil?
5106
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5107
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5108
+
5109
+ # header parameters
5110
+ header_params = {}
5111
+ # HTTP header 'Accept' (if needed)
5112
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5113
+ # HTTP header 'Content-Type'
5114
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5115
+
5116
+ # http body (model)
5117
+ post_body = nil
5118
+
5119
+ # form parameters
5120
+
5121
+ post_files = nil
5122
+
5123
+
5124
+ auth_names = ['JWT']
5125
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5126
+ :header_params => header_params,
5127
+ :query_params => query_params,
5128
+ :body => post_body,
5129
+ :files => post_files,
5130
+ :auth_names => auth_names,
5131
+ :return_type => 'Portions')
5132
+ return data, status_code, headers
5133
+ end
5134
+ # Move file
5135
+ # @param request operation request
5136
+ def move_file(request)
5137
+ move_file_with_http_info(request)
5138
+ nil
5139
+ end
5140
+
5141
+ # Move file
5142
+ # @param request operation request
5143
+ def move_file_with_http_info(request)
5144
+ if @api_client.config.debugging
5145
+ @api_client.config.logger.debug 'Calling API: SlidesApi.move_file ...'
5146
+ end
5147
+ # verify the required parameter 'src_path' is set
5148
+ if @api_client.config.client_side_validation && request.src_path.nil?
5149
+ fail ArgumentError, "Missing the required parameter 'src_path' when calling SlidesApi.move_file"
5150
+ end
5151
+ # verify the required parameter 'dest_path' is set
5152
+ if @api_client.config.client_side_validation && request.dest_path.nil?
5153
+ fail ArgumentError, "Missing the required parameter 'dest_path' when calling SlidesApi.move_file"
5154
+ end
5155
+ # resource path
5156
+ local_var_path = '/slides/storage/file/move/{srcPath}'
5157
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'srcPath', request.src_path)
5158
+
5159
+ # query parameters
5160
+ query_params = {}
5161
+ query_params[:'destPath'] = request.dest_path unless request.dest_path.nil?
5162
+ query_params[:'srcStorageName'] = request.src_storage_name unless request.src_storage_name.nil?
5163
+ query_params[:'destStorageName'] = request.dest_storage_name unless request.dest_storage_name.nil?
5164
+ query_params[:'versionId'] = request.version_id unless request.version_id.nil?
5165
+
5166
+ # header parameters
5167
+ header_params = {}
5168
+ # HTTP header 'Accept' (if needed)
5169
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5170
+ # HTTP header 'Content-Type'
5171
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5172
+
5173
+ # http body (model)
5174
+ post_body = nil
5175
+
5176
+ # form parameters
5177
+
5178
+ post_files = nil
5179
+
5180
+
5181
+ auth_names = ['JWT']
5182
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
5183
+ :header_params => header_params,
5184
+ :query_params => query_params,
5185
+ :body => post_body,
5186
+ :files => post_files,
5187
+ :auth_names => auth_names)
5188
+ return data, status_code, headers
5189
+ end
5190
+ # Move folder
5191
+ # @param request operation request
5192
+ def move_folder(request)
4438
5193
  move_folder_with_http_info(request)
4439
5194
  nil
4440
5195
  end
@@ -4500,10 +5255,6 @@ module AsposeSlidesCloud
4500
5255
  if @api_client.config.debugging
4501
5256
  @api_client.config.logger.debug 'Calling API: SlidesApi.object_exists ...'
4502
5257
  end
4503
- # verify the required parameter 'path' is set
4504
- if @api_client.config.client_side_validation && request.path.nil?
4505
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.object_exists"
4506
- end
4507
5258
  # resource path
4508
5259
  local_var_path = '/slides/storage/exist/{path}'
4509
5260
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -4559,19 +5310,14 @@ module AsposeSlidesCloud
4559
5310
  if @api_client.config.client_side_validation && request.slide_index.nil?
4560
5311
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_paragraph"
4561
5312
  end
4562
- # verify the required parameter 'path' is set
4563
- if @api_client.config.client_side_validation && request.path.nil?
4564
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_paragraph"
4565
- end
4566
5313
  # verify the required parameter 'shape_index' is set
4567
5314
  if @api_client.config.client_side_validation && request.shape_index.nil?
4568
5315
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_paragraph"
4569
5316
  end
4570
5317
  # resource path
4571
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
5318
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
4572
5319
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4573
5320
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4574
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4575
5321
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4576
5322
 
4577
5323
  # query parameters
@@ -4627,10 +5373,6 @@ module AsposeSlidesCloud
4627
5373
  if @api_client.config.client_side_validation && request.slide_index.nil?
4628
5374
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_portion"
4629
5375
  end
4630
- # verify the required parameter 'path' is set
4631
- if @api_client.config.client_side_validation && request.path.nil?
4632
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_portion"
4633
- end
4634
5376
  # verify the required parameter 'shape_index' is set
4635
5377
  if @api_client.config.client_side_validation && request.shape_index.nil?
4636
5378
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_portion"
@@ -4640,10 +5382,9 @@ module AsposeSlidesCloud
4640
5382
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_add_new_portion"
4641
5383
  end
4642
5384
  # resource path
4643
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5385
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
4644
5386
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4645
5387
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4646
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4647
5388
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4648
5389
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
4649
5390
 
@@ -4700,9 +5441,64 @@ module AsposeSlidesCloud
4700
5441
  if @api_client.config.client_side_validation && request.slide_index.nil?
4701
5442
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_shape"
4702
5443
  end
4703
- # verify the required parameter 'path' is set
4704
- if @api_client.config.client_side_validation && request.path.nil?
4705
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_shape"
5444
+ # resource path
5445
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
5446
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5447
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5448
+
5449
+ # query parameters
5450
+ query_params = {}
5451
+ query_params[:'password'] = request.password unless request.password.nil?
5452
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5453
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5454
+ query_params[:'shapeToClone'] = request.shape_to_clone unless request.shape_to_clone.nil?
5455
+ query_params[:'position'] = request.position unless request.position.nil?
5456
+
5457
+ # header parameters
5458
+ header_params = {}
5459
+ # HTTP header 'Accept' (if needed)
5460
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5461
+ # HTTP header 'Content-Type'
5462
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5463
+
5464
+ # http body (model)
5465
+ post_body = @api_client.object_to_http_body(request.dto)
5466
+
5467
+ # form parameters
5468
+
5469
+ post_files = nil
5470
+
5471
+
5472
+ auth_names = ['JWT']
5473
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5474
+ :header_params => header_params,
5475
+ :query_params => query_params,
5476
+ :body => post_body,
5477
+ :files => post_files,
5478
+ :auth_names => auth_names,
5479
+ :return_type => 'ShapeBase')
5480
+ return data, status_code, headers
5481
+ end
5482
+ # Create new shape (for smart art and group shapes).
5483
+ # @param request operation request
5484
+ def post_add_new_subshape(request)
5485
+ data, _status_code, _headers = post_add_new_subshape_with_http_info(request)
5486
+ data
5487
+ end
5488
+
5489
+ # Create new shape (for smart art and group shapes).
5490
+ # @param request operation request
5491
+ def post_add_new_subshape_with_http_info(request)
5492
+ if @api_client.config.debugging
5493
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape ...'
5494
+ end
5495
+ # verify the required parameter 'name' is set
5496
+ if @api_client.config.client_side_validation && request.name.nil?
5497
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape"
5498
+ end
5499
+ # verify the required parameter 'slide_index' is set
5500
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5501
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape"
4706
5502
  end
4707
5503
  # resource path
4708
5504
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
@@ -4743,6 +5539,139 @@ module AsposeSlidesCloud
4743
5539
  :return_type => 'ShapeBase')
4744
5540
  return data, status_code, headers
4745
5541
  end
5542
+ # Creates new paragraph (for smart art and group shapes).
5543
+ # @param request operation request
5544
+ def post_add_new_subshape_paragraph(request)
5545
+ data, _status_code, _headers = post_add_new_subshape_paragraph_with_http_info(request)
5546
+ data
5547
+ end
5548
+
5549
+ # Creates new paragraph (for smart art and group shapes).
5550
+ # @param request operation request
5551
+ def post_add_new_subshape_paragraph_with_http_info(request)
5552
+ if @api_client.config.debugging
5553
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape_paragraph ...'
5554
+ end
5555
+ # verify the required parameter 'name' is set
5556
+ if @api_client.config.client_side_validation && request.name.nil?
5557
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape_paragraph"
5558
+ end
5559
+ # verify the required parameter 'slide_index' is set
5560
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5561
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape_paragraph"
5562
+ end
5563
+ # verify the required parameter 'shape_index' is set
5564
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5565
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_subshape_paragraph"
5566
+ end
5567
+ # resource path
5568
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
5569
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5570
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5571
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5572
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5573
+
5574
+ # query parameters
5575
+ query_params = {}
5576
+ query_params[:'password'] = request.password unless request.password.nil?
5577
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5578
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5579
+ query_params[:'position'] = request.position unless request.position.nil?
5580
+
5581
+ # header parameters
5582
+ header_params = {}
5583
+ # HTTP header 'Accept' (if needed)
5584
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5585
+ # HTTP header 'Content-Type'
5586
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5587
+
5588
+ # http body (model)
5589
+ post_body = @api_client.object_to_http_body(request.dto)
5590
+
5591
+ # form parameters
5592
+
5593
+ post_files = nil
5594
+
5595
+
5596
+ auth_names = ['JWT']
5597
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5598
+ :header_params => header_params,
5599
+ :query_params => query_params,
5600
+ :body => post_body,
5601
+ :files => post_files,
5602
+ :auth_names => auth_names,
5603
+ :return_type => 'Paragraph')
5604
+ return data, status_code, headers
5605
+ end
5606
+ # Creates new portion (for smart art and group shapes).
5607
+ # @param request operation request
5608
+ def post_add_new_subshape_portion(request)
5609
+ data, _status_code, _headers = post_add_new_subshape_portion_with_http_info(request)
5610
+ data
5611
+ end
5612
+
5613
+ # Creates new portion (for smart art and group shapes).
5614
+ # @param request operation request
5615
+ def post_add_new_subshape_portion_with_http_info(request)
5616
+ if @api_client.config.debugging
5617
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape_portion ...'
5618
+ end
5619
+ # verify the required parameter 'name' is set
5620
+ if @api_client.config.client_side_validation && request.name.nil?
5621
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape_portion"
5622
+ end
5623
+ # verify the required parameter 'slide_index' is set
5624
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5625
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape_portion"
5626
+ end
5627
+ # verify the required parameter 'shape_index' is set
5628
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5629
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_subshape_portion"
5630
+ end
5631
+ # verify the required parameter 'paragraph_index' is set
5632
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5633
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_add_new_subshape_portion"
5634
+ end
5635
+ # resource path
5636
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5637
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5638
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5639
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5640
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5641
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5642
+
5643
+ # query parameters
5644
+ query_params = {}
5645
+ query_params[:'password'] = request.password unless request.password.nil?
5646
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5647
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5648
+ query_params[:'position'] = request.position unless request.position.nil?
5649
+
5650
+ # header parameters
5651
+ header_params = {}
5652
+ # HTTP header 'Accept' (if needed)
5653
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5654
+ # HTTP header 'Content-Type'
5655
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5656
+
5657
+ # http body (model)
5658
+ post_body = @api_client.object_to_http_body(request.dto)
5659
+
5660
+ # form parameters
5661
+
5662
+ post_files = nil
5663
+
5664
+
5665
+ auth_names = ['JWT']
5666
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5667
+ :header_params => header_params,
5668
+ :query_params => query_params,
5669
+ :body => post_body,
5670
+ :files => post_files,
5671
+ :auth_names => auth_names,
5672
+ :return_type => 'Portion')
5673
+ return data, status_code, headers
5674
+ end
4746
5675
  # Add new notes slide.
4747
5676
  # @param request operation request
4748
5677
  def post_add_notes_slide(request)
@@ -4836,18 +5765,183 @@ module AsposeSlidesCloud
4836
5765
  query_params[:'cloneFromPassword'] = request.clone_from_password unless request.clone_from_password.nil?
4837
5766
  query_params[:'cloneFromStorage'] = request.clone_from_storage unless request.clone_from_storage.nil?
4838
5767
  query_params[:'password'] = request.password unless request.password.nil?
4839
- query_params[:'folder'] = request.folder unless request.folder.nil?
4840
- query_params[:'storage'] = request.storage unless request.storage.nil?
5768
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5769
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5770
+
5771
+ # header parameters
5772
+ header_params = {}
5773
+ # HTTP header 'Accept' (if needed)
5774
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5775
+ # HTTP header 'Content-Type'
5776
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5777
+
5778
+ # http body (model)
5779
+ post_body = nil
5780
+
5781
+ # form parameters
5782
+
5783
+ post_files = nil
5784
+
5785
+
5786
+ auth_names = ['JWT']
5787
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5788
+ :header_params => header_params,
5789
+ :query_params => query_params,
5790
+ :body => post_body,
5791
+ :files => post_files,
5792
+ :auth_names => auth_names,
5793
+ :return_type => 'LayoutSlide')
5794
+ return data, status_code, headers
5795
+ end
5796
+ # Copy masterSlide from source presentation.
5797
+ # @param request operation request
5798
+ def post_copy_master_slide_from_source_presentation(request)
5799
+ data, _status_code, _headers = post_copy_master_slide_from_source_presentation_with_http_info(request)
5800
+ data
5801
+ end
5802
+
5803
+ # Copy masterSlide from source presentation.
5804
+ # @param request operation request
5805
+ def post_copy_master_slide_from_source_presentation_with_http_info(request)
5806
+ if @api_client.config.debugging
5807
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_copy_master_slide_from_source_presentation ...'
5808
+ end
5809
+ # verify the required parameter 'name' is set
5810
+ if @api_client.config.client_side_validation && request.name.nil?
5811
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5812
+ end
5813
+ # verify the required parameter 'clone_from' is set
5814
+ if @api_client.config.client_side_validation && request.clone_from.nil?
5815
+ fail ArgumentError, "Missing the required parameter 'clone_from' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5816
+ end
5817
+ # verify the required parameter 'clone_from_position' is set
5818
+ if @api_client.config.client_side_validation && request.clone_from_position.nil?
5819
+ fail ArgumentError, "Missing the required parameter 'clone_from_position' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5820
+ end
5821
+ # resource path
5822
+ local_var_path = '/slides/{name}/masterSlides'
5823
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5824
+
5825
+ # query parameters
5826
+ query_params = {}
5827
+ query_params[:'cloneFrom'] = request.clone_from unless request.clone_from.nil?
5828
+ query_params[:'cloneFromPosition'] = request.clone_from_position unless request.clone_from_position.nil?
5829
+ query_params[:'cloneFromPassword'] = request.clone_from_password unless request.clone_from_password.nil?
5830
+ query_params[:'cloneFromStorage'] = request.clone_from_storage unless request.clone_from_storage.nil?
5831
+ query_params[:'applyToAll'] = request.apply_to_all unless request.apply_to_all.nil?
5832
+ query_params[:'password'] = request.password unless request.password.nil?
5833
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5834
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5835
+
5836
+ # header parameters
5837
+ header_params = {}
5838
+ # HTTP header 'Accept' (if needed)
5839
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5840
+ # HTTP header 'Content-Type'
5841
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5842
+
5843
+ # http body (model)
5844
+ post_body = nil
5845
+
5846
+ # form parameters
5847
+
5848
+ post_files = nil
5849
+
5850
+
5851
+ auth_names = ['JWT']
5852
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5853
+ :header_params => header_params,
5854
+ :query_params => query_params,
5855
+ :body => post_body,
5856
+ :files => post_files,
5857
+ :auth_names => auth_names,
5858
+ :return_type => 'MasterSlide')
5859
+ return data, status_code, headers
5860
+ end
5861
+ # Read notes slide info.
5862
+ # @param request operation request
5863
+ def post_get_notes_slide(request)
5864
+ data, _status_code, _headers = post_get_notes_slide_with_http_info(request)
5865
+ data
5866
+ end
5867
+
5868
+ # Read notes slide info.
5869
+ # @param request operation request
5870
+ def post_get_notes_slide_with_http_info(request)
5871
+ if @api_client.config.debugging
5872
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide ...'
5873
+ end
5874
+ # verify the required parameter 'slide_index' is set
5875
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5876
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide"
5877
+ end
5878
+ # resource path
5879
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide'
5880
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5881
+
5882
+ # query parameters
5883
+ query_params = {}
5884
+ query_params[:'password'] = request.password unless request.password.nil?
5885
+
5886
+ # header parameters
5887
+ header_params = {}
5888
+ # HTTP header 'Accept' (if needed)
5889
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5890
+ # HTTP header 'Content-Type'
5891
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream', 'multipart/form-data'])
5892
+
5893
+ # http body (model)
5894
+ post_body = @api_client.object_to_http_body(request.document)
5895
+
5896
+ # form parameters
5897
+
5898
+ post_files = nil
5899
+
5900
+
5901
+ auth_names = ['JWT']
5902
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5903
+ :header_params => header_params,
5904
+ :query_params => query_params,
5905
+ :body => post_body,
5906
+ :files => post_files,
5907
+ :auth_names => auth_names,
5908
+ :return_type => 'NotesSlide')
5909
+ return data, status_code, headers
5910
+ end
5911
+ # Get info whether a notes slide exists.
5912
+ # @param request operation request
5913
+ def post_get_notes_slide_exists(request)
5914
+ data, _status_code, _headers = post_get_notes_slide_exists_with_http_info(request)
5915
+ data
5916
+ end
5917
+
5918
+ # Get info whether a notes slide exists.
5919
+ # @param request operation request
5920
+ def post_get_notes_slide_exists_with_http_info(request)
5921
+ if @api_client.config.debugging
5922
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide_exists ...'
5923
+ end
5924
+ # verify the required parameter 'slide_index' is set
5925
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5926
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide_exists"
5927
+ end
5928
+ # resource path
5929
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide/exist'
5930
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5931
+
5932
+ # query parameters
5933
+ query_params = {}
5934
+ query_params[:'password'] = request.password unless request.password.nil?
4841
5935
 
4842
5936
  # header parameters
4843
5937
  header_params = {}
4844
5938
  # HTTP header 'Accept' (if needed)
4845
5939
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4846
5940
  # HTTP header 'Content-Type'
4847
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5941
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
4848
5942
 
4849
5943
  # http body (model)
4850
- post_body = nil
5944
+ post_body = @api_client.object_to_http_body(request.document)
4851
5945
 
4852
5946
  # form parameters
4853
5947
 
@@ -4861,58 +5955,55 @@ module AsposeSlidesCloud
4861
5955
  :body => post_body,
4862
5956
  :files => post_files,
4863
5957
  :auth_names => auth_names,
4864
- :return_type => 'LayoutSlide')
5958
+ :return_type => 'EntityExists')
4865
5959
  return data, status_code, headers
4866
5960
  end
4867
- # Copy masterSlide from source presentation.
5961
+ # Convert notes slide to the specified image format.
4868
5962
  # @param request operation request
4869
- def post_copy_master_slide_from_source_presentation(request)
4870
- data, _status_code, _headers = post_copy_master_slide_from_source_presentation_with_http_info(request)
5963
+ def post_get_notes_slide_with_format(request)
5964
+ data, _status_code, _headers = post_get_notes_slide_with_format_with_http_info(request)
4871
5965
  data
4872
5966
  end
4873
5967
 
4874
- # Copy masterSlide from source presentation.
5968
+ # Convert notes slide to the specified image format.
4875
5969
  # @param request operation request
4876
- def post_copy_master_slide_from_source_presentation_with_http_info(request)
5970
+ def post_get_notes_slide_with_format_with_http_info(request)
4877
5971
  if @api_client.config.debugging
4878
- @api_client.config.logger.debug 'Calling API: SlidesApi.post_copy_master_slide_from_source_presentation ...'
5972
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide_with_format ...'
4879
5973
  end
4880
- # verify the required parameter 'name' is set
4881
- if @api_client.config.client_side_validation && request.name.nil?
4882
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5974
+ # verify the required parameter 'slide_index' is set
5975
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5976
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide_with_format"
4883
5977
  end
4884
- # verify the required parameter 'clone_from' is set
4885
- if @api_client.config.client_side_validation && request.clone_from.nil?
4886
- fail ArgumentError, "Missing the required parameter 'clone_from' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5978
+ # verify the required parameter 'format' is set
5979
+ if @api_client.config.client_side_validation && request.format.nil?
5980
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_get_notes_slide_with_format"
4887
5981
  end
4888
- # verify the required parameter 'clone_from_position' is set
4889
- if @api_client.config.client_side_validation && request.clone_from_position.nil?
4890
- fail ArgumentError, "Missing the required parameter 'clone_from_position' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5982
+ # verify enum value
5983
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(request.format)==0 }
5984
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff"
4891
5985
  end
4892
5986
  # resource path
4893
- local_var_path = '/slides/{name}/masterSlides'
4894
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5987
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide/{format}'
5988
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5989
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
4895
5990
 
4896
5991
  # query parameters
4897
5992
  query_params = {}
4898
- query_params[:'cloneFrom'] = request.clone_from unless request.clone_from.nil?
4899
- query_params[:'cloneFromPosition'] = request.clone_from_position unless request.clone_from_position.nil?
4900
- query_params[:'cloneFromPassword'] = request.clone_from_password unless request.clone_from_password.nil?
4901
- query_params[:'cloneFromStorage'] = request.clone_from_storage unless request.clone_from_storage.nil?
4902
- query_params[:'applyToAll'] = request.apply_to_all unless request.apply_to_all.nil?
5993
+ query_params[:'width'] = request.width unless request.width.nil?
5994
+ query_params[:'height'] = request.height unless request.height.nil?
4903
5995
  query_params[:'password'] = request.password unless request.password.nil?
4904
- query_params[:'folder'] = request.folder unless request.folder.nil?
4905
- query_params[:'storage'] = request.storage unless request.storage.nil?
5996
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
4906
5997
 
4907
5998
  # header parameters
4908
5999
  header_params = {}
4909
6000
  # HTTP header 'Accept' (if needed)
4910
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6001
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
4911
6002
  # HTTP header 'Content-Type'
4912
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6003
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream', 'multipart/form-data'])
4913
6004
 
4914
6005
  # http body (model)
4915
- post_body = nil
6006
+ post_body = @api_client.object_to_http_body(request.document)
4916
6007
 
4917
6008
  # form parameters
4918
6009
 
@@ -4926,7 +6017,7 @@ module AsposeSlidesCloud
4926
6017
  :body => post_body,
4927
6018
  :files => post_files,
4928
6019
  :auth_names => auth_names,
4929
- :return_type => 'MasterSlide')
6020
+ :return_type => 'File')
4930
6021
  return data, status_code, headers
4931
6022
  end
4932
6023
  # Creates new paragraph.
@@ -4950,19 +6041,14 @@ module AsposeSlidesCloud
4950
6041
  if @api_client.config.client_side_validation && request.slide_index.nil?
4951
6042
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4952
6043
  end
4953
- # verify the required parameter 'path' is set
4954
- if @api_client.config.client_side_validation && request.path.nil?
4955
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4956
- end
4957
6044
  # verify the required parameter 'shape_index' is set
4958
6045
  if @api_client.config.client_side_validation && request.shape_index.nil?
4959
6046
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4960
6047
  end
4961
6048
  # resource path
4962
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
6049
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
4963
6050
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4964
6051
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4965
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4966
6052
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4967
6053
 
4968
6054
  # query parameters
@@ -5018,10 +6104,6 @@ module AsposeSlidesCloud
5018
6104
  if @api_client.config.client_side_validation && request.slide_index.nil?
5019
6105
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_portion"
5020
6106
  end
5021
- # verify the required parameter 'path' is set
5022
- if @api_client.config.client_side_validation && request.path.nil?
5023
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_portion"
5024
- end
5025
6107
  # verify the required parameter 'shape_index' is set
5026
6108
  if @api_client.config.client_side_validation && request.shape_index.nil?
5027
6109
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_add_new_portion"
@@ -5031,10 +6113,9 @@ module AsposeSlidesCloud
5031
6113
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_notes_slide_add_new_portion"
5032
6114
  end
5033
6115
  # resource path
5034
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
6116
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5035
6117
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5036
6118
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5037
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5038
6119
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5039
6120
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5040
6121
 
@@ -5091,15 +6172,10 @@ module AsposeSlidesCloud
5091
6172
  if @api_client.config.client_side_validation && request.slide_index.nil?
5092
6173
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_shape"
5093
6174
  end
5094
- # verify the required parameter 'path' is set
5095
- if @api_client.config.client_side_validation && request.path.nil?
5096
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_shape"
5097
- end
5098
6175
  # resource path
5099
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
6176
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
5100
6177
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5101
6178
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5102
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5103
6179
 
5104
6180
  # query parameters
5105
6181
  query_params = {}
@@ -5155,10 +6231,6 @@ module AsposeSlidesCloud
5155
6231
  if @api_client.config.client_side_validation && request.slide_index.nil?
5156
6232
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_shape_save_as"
5157
6233
  end
5158
- # verify the required parameter 'path' is set
5159
- if @api_client.config.client_side_validation && request.path.nil?
5160
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_shape_save_as"
5161
- end
5162
6234
  # verify the required parameter 'shape_index' is set
5163
6235
  if @api_client.config.client_side_validation && request.shape_index.nil?
5164
6236
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_shape_save_as"
@@ -5175,10 +6247,9 @@ module AsposeSlidesCloud
5175
6247
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
5176
6248
  end
5177
6249
  # resource path
5178
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/{format}'
6250
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/{format}'
5179
6251
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5180
6252
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5181
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5182
6253
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5183
6254
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
5184
6255
 
@@ -5290,10 +6361,6 @@ module AsposeSlidesCloud
5290
6361
  if @api_client.config.client_side_validation && request.slide_index.nil?
5291
6362
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_shape_save_as"
5292
6363
  end
5293
- # verify the required parameter 'path' is set
5294
- if @api_client.config.client_side_validation && request.path.nil?
5295
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_shape_save_as"
5296
- end
5297
6364
  # verify the required parameter 'shape_index' is set
5298
6365
  if @api_client.config.client_side_validation && request.shape_index.nil?
5299
6366
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_shape_save_as"
@@ -5310,10 +6377,9 @@ module AsposeSlidesCloud
5310
6377
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
5311
6378
  end
5312
6379
  # resource path
5313
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
6380
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
5314
6381
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5315
6382
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5316
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5317
6383
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5318
6384
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
5319
6385
 
@@ -5554,8 +6620,8 @@ module AsposeSlidesCloud
5554
6620
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slide_save_as"
5555
6621
  end
5556
6622
  # verify enum value
5557
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
5558
- fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg"
6623
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
6624
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp"
5559
6625
  end
5560
6626
  # resource path
5561
6627
  local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
@@ -5669,8 +6735,8 @@ module AsposeSlidesCloud
5669
6735
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slides_convert"
5670
6736
  end
5671
6737
  # verify enum value
5672
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp'].any?{ |s| s.casecmp(request.format)==0 }
5673
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
6738
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
6739
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
5674
6740
  end
5675
6741
  # resource path
5676
6742
  local_var_path = '/slides/convert/{format}'
@@ -6233,8 +7299,8 @@ module AsposeSlidesCloud
6233
7299
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slides_save_as"
6234
7300
  end
6235
7301
  # verify enum value
6236
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp'].any?{ |s| s.casecmp(request.format)==0 }
6237
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
7302
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
7303
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
6238
7304
  end
6239
7305
  # resource path
6240
7306
  local_var_path = '/slides/{name}/{format}'
@@ -6410,8 +7476,8 @@ module AsposeSlidesCloud
6410
7476
  if @api_client.config.client_side_validation && request.name.nil?
6411
7477
  fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_slides_split"
6412
7478
  end
6413
- if @api_client.config.client_side_validation && request.format && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
6414
- fail ArgumentError, 'invalid value for "format", must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg'
7479
+ if @api_client.config.client_side_validation && request.format && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
7480
+ fail ArgumentError, 'invalid value for "format", must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp'
6415
7481
  end
6416
7482
  # resource path
6417
7483
  local_var_path = '/slides/{name}/split'
@@ -6455,6 +7521,85 @@ module AsposeSlidesCloud
6455
7521
  :return_type => 'SplitDocumentResult')
6456
7522
  return data, status_code, headers
6457
7523
  end
7524
+ # Render shape to specified picture format (for smart art and group shapes).
7525
+ # @param request operation request
7526
+ def post_subshape_save_as(request)
7527
+ data, _status_code, _headers = post_subshape_save_as_with_http_info(request)
7528
+ data
7529
+ end
7530
+
7531
+ # Render shape to specified picture format (for smart art and group shapes).
7532
+ # @param request operation request
7533
+ def post_subshape_save_as_with_http_info(request)
7534
+ if @api_client.config.debugging
7535
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_subshape_save_as ...'
7536
+ end
7537
+ # verify the required parameter 'name' is set
7538
+ if @api_client.config.client_side_validation && request.name.nil?
7539
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_subshape_save_as"
7540
+ end
7541
+ # verify the required parameter 'slide_index' is set
7542
+ if @api_client.config.client_side_validation && request.slide_index.nil?
7543
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_subshape_save_as"
7544
+ end
7545
+ # verify the required parameter 'shape_index' is set
7546
+ if @api_client.config.client_side_validation && request.shape_index.nil?
7547
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_subshape_save_as"
7548
+ end
7549
+ # verify the required parameter 'format' is set
7550
+ if @api_client.config.client_side_validation && request.format.nil?
7551
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_subshape_save_as"
7552
+ end
7553
+ # verify enum value
7554
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
7555
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
7556
+ end
7557
+ if @api_client.config.client_side_validation && request.bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(request.bounds)==0 }
7558
+ fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
7559
+ end
7560
+ # resource path
7561
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
7562
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7563
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7564
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7565
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7566
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
7567
+
7568
+ # query parameters
7569
+ query_params = {}
7570
+ query_params[:'password'] = request.password unless request.password.nil?
7571
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7572
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7573
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
7574
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
7575
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
7576
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
7577
+
7578
+ # header parameters
7579
+ header_params = {}
7580
+ # HTTP header 'Accept' (if needed)
7581
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
7582
+ # HTTP header 'Content-Type'
7583
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7584
+
7585
+ # http body (model)
7586
+ post_body = @api_client.object_to_http_body(request.options)
7587
+
7588
+ # form parameters
7589
+
7590
+ post_files = nil
7591
+
7592
+
7593
+ auth_names = ['JWT']
7594
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
7595
+ :header_params => header_params,
7596
+ :query_params => query_params,
7597
+ :body => post_body,
7598
+ :files => post_files,
7599
+ :auth_names => auth_names,
7600
+ :return_type => 'File')
7601
+ return data, status_code, headers
7602
+ end
6458
7603
  # Update a layoutSlide.
6459
7604
  # @param request operation request
6460
7605
  def put_layout_slide(request)
@@ -6533,10 +7678,6 @@ module AsposeSlidesCloud
6533
7678
  if @api_client.config.client_side_validation && request.slide_index.nil?
6534
7679
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_notes_slide_shape_save_as"
6535
7680
  end
6536
- # verify the required parameter 'path' is set
6537
- if @api_client.config.client_side_validation && request.path.nil?
6538
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_notes_slide_shape_save_as"
6539
- end
6540
7681
  # verify the required parameter 'shape_index' is set
6541
7682
  if @api_client.config.client_side_validation && request.shape_index.nil?
6542
7683
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_notes_slide_shape_save_as"
@@ -6557,23 +7698,145 @@ module AsposeSlidesCloud
6557
7698
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
6558
7699
  end
6559
7700
  # resource path
6560
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/{format}'
7701
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/{format}'
7702
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7703
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7704
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7705
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
7706
+
7707
+ # query parameters
7708
+ query_params = {}
7709
+ query_params[:'outPath'] = request.out_path unless request.out_path.nil?
7710
+ query_params[:'password'] = request.password unless request.password.nil?
7711
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7712
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7713
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
7714
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
7715
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
7716
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
7717
+
7718
+ # header parameters
7719
+ header_params = {}
7720
+ # HTTP header 'Accept' (if needed)
7721
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7722
+ # HTTP header 'Content-Type'
7723
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7724
+
7725
+ # http body (model)
7726
+ post_body = @api_client.object_to_http_body(request.options)
7727
+
7728
+ # form parameters
7729
+
7730
+ post_files = nil
7731
+
7732
+
7733
+ auth_names = ['JWT']
7734
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7735
+ :header_params => header_params,
7736
+ :query_params => query_params,
7737
+ :body => post_body,
7738
+ :files => post_files,
7739
+ :auth_names => auth_names)
7740
+ return data, status_code, headers
7741
+ end
7742
+ # Merge the presentation with other presentations or some of their slides specified in the request parameter.
7743
+ # @param request operation request
7744
+ def put_presentation_merge(request)
7745
+ data, _status_code, _headers = put_presentation_merge_with_http_info(request)
7746
+ data
7747
+ end
7748
+
7749
+ # Merge the presentation with other presentations or some of their slides specified in the request parameter.
7750
+ # @param request operation request
7751
+ def put_presentation_merge_with_http_info(request)
7752
+ if @api_client.config.debugging
7753
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_presentation_merge ...'
7754
+ end
7755
+ # verify the required parameter 'name' is set
7756
+ if @api_client.config.client_side_validation && request.name.nil?
7757
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_presentation_merge"
7758
+ end
7759
+ # resource path
7760
+ local_var_path = '/slides/{name}/merge'
7761
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7762
+
7763
+ # query parameters
7764
+ query_params = {}
7765
+ query_params[:'password'] = request.password unless request.password.nil?
7766
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7767
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7768
+
7769
+ # header parameters
7770
+ header_params = {}
7771
+ # HTTP header 'Accept' (if needed)
7772
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7773
+ # HTTP header 'Content-Type'
7774
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7775
+
7776
+ # http body (model)
7777
+ post_body = @api_client.object_to_http_body(request.request)
7778
+
7779
+ # form parameters
7780
+
7781
+ post_files = nil
7782
+
7783
+
7784
+ auth_names = ['JWT']
7785
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7786
+ :header_params => header_params,
7787
+ :query_params => query_params,
7788
+ :body => post_body,
7789
+ :files => post_files,
7790
+ :auth_names => auth_names,
7791
+ :return_type => 'Document')
7792
+ return data, status_code, headers
7793
+ end
7794
+ # Update portion properties.
7795
+ # @param request operation request
7796
+ def put_set_paragraph_portion_properties(request)
7797
+ data, _status_code, _headers = put_set_paragraph_portion_properties_with_http_info(request)
7798
+ data
7799
+ end
7800
+
7801
+ # Update portion properties.
7802
+ # @param request operation request
7803
+ def put_set_paragraph_portion_properties_with_http_info(request)
7804
+ if @api_client.config.debugging
7805
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_portion_properties ...'
7806
+ end
7807
+ # verify the required parameter 'name' is set
7808
+ if @api_client.config.client_side_validation && request.name.nil?
7809
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_portion_properties"
7810
+ end
7811
+ # verify the required parameter 'slide_index' is set
7812
+ if @api_client.config.client_side_validation && request.slide_index.nil?
7813
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_portion_properties"
7814
+ end
7815
+ # verify the required parameter 'shape_index' is set
7816
+ if @api_client.config.client_side_validation && request.shape_index.nil?
7817
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_portion_properties"
7818
+ end
7819
+ # verify the required parameter 'paragraph_index' is set
7820
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
7821
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_portion_properties"
7822
+ end
7823
+ # verify the required parameter 'portion_index' is set
7824
+ if @api_client.config.client_side_validation && request.portion_index.nil?
7825
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_paragraph_portion_properties"
7826
+ end
7827
+ # resource path
7828
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
6561
7829
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6562
7830
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6563
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
6564
7831
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6565
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
7832
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7833
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
6566
7834
 
6567
7835
  # query parameters
6568
7836
  query_params = {}
6569
- query_params[:'outPath'] = request.out_path unless request.out_path.nil?
6570
7837
  query_params[:'password'] = request.password unless request.password.nil?
6571
7838
  query_params[:'folder'] = request.folder unless request.folder.nil?
6572
7839
  query_params[:'storage'] = request.storage unless request.storage.nil?
6573
- query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
6574
- query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
6575
- query_params[:'bounds'] = request.bounds unless request.bounds.nil?
6576
- query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
6577
7840
 
6578
7841
  # header parameters
6579
7842
  header_params = {}
@@ -6583,7 +7846,7 @@ module AsposeSlidesCloud
6583
7846
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6584
7847
 
6585
7848
  # http body (model)
6586
- post_body = @api_client.object_to_http_body(request.options)
7849
+ post_body = @api_client.object_to_http_body(request.dto)
6587
7850
 
6588
7851
  # form parameters
6589
7852
 
@@ -6596,35 +7859,51 @@ module AsposeSlidesCloud
6596
7859
  :query_params => query_params,
6597
7860
  :body => post_body,
6598
7861
  :files => post_files,
6599
- :auth_names => auth_names)
7862
+ :auth_names => auth_names,
7863
+ :return_type => 'Portion')
6600
7864
  return data, status_code, headers
6601
7865
  end
6602
- # Merge the presentation with other presentations or some of their slides specified in the request parameter.
7866
+ # Update paragraph properties.
6603
7867
  # @param request operation request
6604
- def put_presentation_merge(request)
6605
- data, _status_code, _headers = put_presentation_merge_with_http_info(request)
7868
+ def put_set_paragraph_properties(request)
7869
+ data, _status_code, _headers = put_set_paragraph_properties_with_http_info(request)
6606
7870
  data
6607
7871
  end
6608
7872
 
6609
- # Merge the presentation with other presentations or some of their slides specified in the request parameter.
7873
+ # Update paragraph properties.
6610
7874
  # @param request operation request
6611
- def put_presentation_merge_with_http_info(request)
7875
+ def put_set_paragraph_properties_with_http_info(request)
6612
7876
  if @api_client.config.debugging
6613
- @api_client.config.logger.debug 'Calling API: SlidesApi.put_presentation_merge ...'
7877
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_properties ...'
6614
7878
  end
6615
7879
  # verify the required parameter 'name' is set
6616
7880
  if @api_client.config.client_side_validation && request.name.nil?
6617
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_presentation_merge"
7881
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_properties"
7882
+ end
7883
+ # verify the required parameter 'slide_index' is set
7884
+ if @api_client.config.client_side_validation && request.slide_index.nil?
7885
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_properties"
7886
+ end
7887
+ # verify the required parameter 'shape_index' is set
7888
+ if @api_client.config.client_side_validation && request.shape_index.nil?
7889
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_properties"
7890
+ end
7891
+ # verify the required parameter 'paragraph_index' is set
7892
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
7893
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_properties"
6618
7894
  end
6619
7895
  # resource path
6620
- local_var_path = '/slides/{name}/merge'
7896
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
6621
7897
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7898
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7899
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7900
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
6622
7901
 
6623
7902
  # query parameters
6624
7903
  query_params = {}
6625
7904
  query_params[:'password'] = request.password unless request.password.nil?
6626
- query_params[:'storage'] = request.storage unless request.storage.nil?
6627
7905
  query_params[:'folder'] = request.folder unless request.folder.nil?
7906
+ query_params[:'storage'] = request.storage unless request.storage.nil?
6628
7907
 
6629
7908
  # header parameters
6630
7909
  header_params = {}
@@ -6634,7 +7913,7 @@ module AsposeSlidesCloud
6634
7913
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6635
7914
 
6636
7915
  # http body (model)
6637
- post_body = @api_client.object_to_http_body(request.request)
7916
+ post_body = @api_client.object_to_http_body(request.dto)
6638
7917
 
6639
7918
  # form parameters
6640
7919
 
@@ -6648,45 +7927,41 @@ module AsposeSlidesCloud
6648
7927
  :body => post_body,
6649
7928
  :files => post_files,
6650
7929
  :auth_names => auth_names,
6651
- :return_type => 'Document')
7930
+ :return_type => 'Paragraph')
6652
7931
  return data, status_code, headers
6653
7932
  end
6654
- # Update portion properties.
7933
+ # Update portion properties (for smart art and group shapes).
6655
7934
  # @param request operation request
6656
- def put_set_paragraph_portion_properties(request)
6657
- data, _status_code, _headers = put_set_paragraph_portion_properties_with_http_info(request)
7935
+ def put_set_subshape_paragraph_portion_properties(request)
7936
+ data, _status_code, _headers = put_set_subshape_paragraph_portion_properties_with_http_info(request)
6658
7937
  data
6659
7938
  end
6660
7939
 
6661
- # Update portion properties.
7940
+ # Update portion properties (for smart art and group shapes).
6662
7941
  # @param request operation request
6663
- def put_set_paragraph_portion_properties_with_http_info(request)
7942
+ def put_set_subshape_paragraph_portion_properties_with_http_info(request)
6664
7943
  if @api_client.config.debugging
6665
- @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_portion_properties ...'
7944
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_subshape_paragraph_portion_properties ...'
6666
7945
  end
6667
7946
  # verify the required parameter 'name' is set
6668
7947
  if @api_client.config.client_side_validation && request.name.nil?
6669
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_portion_properties"
7948
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6670
7949
  end
6671
7950
  # verify the required parameter 'slide_index' is set
6672
7951
  if @api_client.config.client_side_validation && request.slide_index.nil?
6673
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_portion_properties"
6674
- end
6675
- # verify the required parameter 'path' is set
6676
- if @api_client.config.client_side_validation && request.path.nil?
6677
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_set_paragraph_portion_properties"
7952
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6678
7953
  end
6679
7954
  # verify the required parameter 'shape_index' is set
6680
7955
  if @api_client.config.client_side_validation && request.shape_index.nil?
6681
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_portion_properties"
7956
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6682
7957
  end
6683
7958
  # verify the required parameter 'paragraph_index' is set
6684
7959
  if @api_client.config.client_side_validation && request.paragraph_index.nil?
6685
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_portion_properties"
7960
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6686
7961
  end
6687
7962
  # verify the required parameter 'portion_index' is set
6688
7963
  if @api_client.config.client_side_validation && request.portion_index.nil?
6689
- fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_paragraph_portion_properties"
7964
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6690
7965
  end
6691
7966
  # resource path
6692
7967
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
@@ -6728,38 +8003,34 @@ module AsposeSlidesCloud
6728
8003
  :return_type => 'Portion')
6729
8004
  return data, status_code, headers
6730
8005
  end
6731
- # Update paragraph properties.
8006
+ # Update paragraph properties (for smart art and group shapes).
6732
8007
  # @param request operation request
6733
- def put_set_paragraph_properties(request)
6734
- data, _status_code, _headers = put_set_paragraph_properties_with_http_info(request)
8008
+ def put_set_subshape_paragraph_properties(request)
8009
+ data, _status_code, _headers = put_set_subshape_paragraph_properties_with_http_info(request)
6735
8010
  data
6736
8011
  end
6737
8012
 
6738
- # Update paragraph properties.
8013
+ # Update paragraph properties (for smart art and group shapes).
6739
8014
  # @param request operation request
6740
- def put_set_paragraph_properties_with_http_info(request)
8015
+ def put_set_subshape_paragraph_properties_with_http_info(request)
6741
8016
  if @api_client.config.debugging
6742
- @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_properties ...'
8017
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_subshape_paragraph_properties ...'
6743
8018
  end
6744
8019
  # verify the required parameter 'name' is set
6745
8020
  if @api_client.config.client_side_validation && request.name.nil?
6746
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_properties"
8021
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_subshape_paragraph_properties"
6747
8022
  end
6748
8023
  # verify the required parameter 'slide_index' is set
6749
8024
  if @api_client.config.client_side_validation && request.slide_index.nil?
6750
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_properties"
6751
- end
6752
- # verify the required parameter 'path' is set
6753
- if @api_client.config.client_side_validation && request.path.nil?
6754
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_set_paragraph_properties"
8025
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
6755
8026
  end
6756
8027
  # verify the required parameter 'shape_index' is set
6757
8028
  if @api_client.config.client_side_validation && request.shape_index.nil?
6758
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_properties"
8029
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
6759
8030
  end
6760
8031
  # verify the required parameter 'paragraph_index' is set
6761
8032
  if @api_client.config.client_side_validation && request.paragraph_index.nil?
6762
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_properties"
8033
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
6763
8034
  end
6764
8035
  # resource path
6765
8036
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
@@ -6821,10 +8092,6 @@ module AsposeSlidesCloud
6821
8092
  if @api_client.config.client_side_validation && request.slide_index.nil?
6822
8093
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_shape_save_as"
6823
8094
  end
6824
- # verify the required parameter 'path' is set
6825
- if @api_client.config.client_side_validation && request.path.nil?
6826
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_shape_save_as"
6827
- end
6828
8095
  # verify the required parameter 'shape_index' is set
6829
8096
  if @api_client.config.client_side_validation && request.shape_index.nil?
6830
8097
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_shape_save_as"
@@ -6845,10 +8112,9 @@ module AsposeSlidesCloud
6845
8112
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
6846
8113
  end
6847
8114
  # resource path
6848
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
8115
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
6849
8116
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6850
8117
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6851
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
6852
8118
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6853
8119
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
6854
8120
 
@@ -7099,8 +8365,8 @@ module AsposeSlidesCloud
7099
8365
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slide_save_as"
7100
8366
  end
7101
8367
  # verify enum value
7102
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
7103
- fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg"
8368
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
8369
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp"
7104
8370
  end
7105
8371
  # verify the required parameter 'out_path' is set
7106
8372
  if @api_client.config.client_side_validation && request.out_path.nil?
@@ -7167,15 +8433,73 @@ module AsposeSlidesCloud
7167
8433
  if @api_client.config.client_side_validation && request.slide_index.nil?
7168
8434
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_slide_shape_info"
7169
8435
  end
7170
- # verify the required parameter 'path' is set
7171
- if @api_client.config.client_side_validation && request.path.nil?
7172
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_slide_shape_info"
7173
- end
7174
8436
  # verify the required parameter 'shape_index' is set
7175
8437
  if @api_client.config.client_side_validation && request.shape_index.nil?
7176
8438
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_slide_shape_info"
7177
8439
  end
7178
8440
  # resource path
8441
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
8442
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
8443
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
8444
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
8445
+
8446
+ # query parameters
8447
+ query_params = {}
8448
+ query_params[:'password'] = request.password unless request.password.nil?
8449
+ query_params[:'folder'] = request.folder unless request.folder.nil?
8450
+ query_params[:'storage'] = request.storage unless request.storage.nil?
8451
+
8452
+ # header parameters
8453
+ header_params = {}
8454
+ # HTTP header 'Accept' (if needed)
8455
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8456
+ # HTTP header 'Content-Type'
8457
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8458
+
8459
+ # http body (model)
8460
+ post_body = @api_client.object_to_http_body(request.dto)
8461
+
8462
+ # form parameters
8463
+
8464
+ post_files = nil
8465
+
8466
+
8467
+ auth_names = ['JWT']
8468
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8469
+ :header_params => header_params,
8470
+ :query_params => query_params,
8471
+ :body => post_body,
8472
+ :files => post_files,
8473
+ :auth_names => auth_names,
8474
+ :return_type => 'ShapeBase')
8475
+ return data, status_code, headers
8476
+ end
8477
+ # Update shape properties (for smart art and group shapes).
8478
+ # @param request operation request
8479
+ def put_slide_subshape_info(request)
8480
+ data, _status_code, _headers = put_slide_subshape_info_with_http_info(request)
8481
+ data
8482
+ end
8483
+
8484
+ # Update shape properties (for smart art and group shapes).
8485
+ # @param request operation request
8486
+ def put_slide_subshape_info_with_http_info(request)
8487
+ if @api_client.config.debugging
8488
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_slide_subshape_info ...'
8489
+ end
8490
+ # verify the required parameter 'name' is set
8491
+ if @api_client.config.client_side_validation && request.name.nil?
8492
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_slide_subshape_info"
8493
+ end
8494
+ # verify the required parameter 'slide_index' is set
8495
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8496
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_slide_subshape_info"
8497
+ end
8498
+ # verify the required parameter 'shape_index' is set
8499
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8500
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_slide_subshape_info"
8501
+ end
8502
+ # resource path
7179
8503
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
7180
8504
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7181
8505
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
@@ -7231,8 +8555,8 @@ module AsposeSlidesCloud
7231
8555
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slides_convert"
7232
8556
  end
7233
8557
  # verify enum value
7234
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp'].any?{ |s| s.casecmp(request.format)==0 }
7235
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
8558
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
8559
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
7236
8560
  end
7237
8561
  # verify the required parameter 'out_path' is set
7238
8562
  if @api_client.config.client_side_validation && request.out_path.nil?
@@ -7350,8 +8674,8 @@ module AsposeSlidesCloud
7350
8674
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slides_save_as"
7351
8675
  end
7352
8676
  # verify enum value
7353
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp'].any?{ |s| s.casecmp(request.format)==0 }
7354
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
8677
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
8678
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
7355
8679
  end
7356
8680
  # resource path
7357
8681
  local_var_path = '/slides/{name}/{format}'
@@ -7685,6 +9009,141 @@ module AsposeSlidesCloud
7685
9009
  :return_type => 'Document')
7686
9010
  return data, status_code, headers
7687
9011
  end
9012
+ # Update presentation document properties.
9013
+ # @param request operation request
9014
+ def put_slides_view_properties(request)
9015
+ data, _status_code, _headers = put_slides_view_properties_with_http_info(request)
9016
+ data
9017
+ end
9018
+
9019
+ # Update presentation document properties.
9020
+ # @param request operation request
9021
+ def put_slides_view_properties_with_http_info(request)
9022
+ if @api_client.config.debugging
9023
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_slides_view_properties ...'
9024
+ end
9025
+ # verify the required parameter 'name' is set
9026
+ if @api_client.config.client_side_validation && request.name.nil?
9027
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_slides_view_properties"
9028
+ end
9029
+ # resource path
9030
+ local_var_path = '/slides/{name}/viewProperties'
9031
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
9032
+
9033
+ # query parameters
9034
+ query_params = {}
9035
+ query_params[:'password'] = request.password unless request.password.nil?
9036
+ query_params[:'folder'] = request.folder unless request.folder.nil?
9037
+ query_params[:'storage'] = request.storage unless request.storage.nil?
9038
+
9039
+ # header parameters
9040
+ header_params = {}
9041
+ # HTTP header 'Accept' (if needed)
9042
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9043
+ # HTTP header 'Content-Type'
9044
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
9045
+
9046
+ # http body (model)
9047
+ post_body = @api_client.object_to_http_body(request.dto)
9048
+
9049
+ # form parameters
9050
+
9051
+ post_files = nil
9052
+
9053
+
9054
+ auth_names = ['JWT']
9055
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
9056
+ :header_params => header_params,
9057
+ :query_params => query_params,
9058
+ :body => post_body,
9059
+ :files => post_files,
9060
+ :auth_names => auth_names,
9061
+ :return_type => 'ViewProperties')
9062
+ return data, status_code, headers
9063
+ end
9064
+ # Render shape to specified picture format.
9065
+ # @param request operation request
9066
+ def put_subshape_save_as(request)
9067
+ put_subshape_save_as_with_http_info(request)
9068
+ nil
9069
+ end
9070
+
9071
+ # Render shape to specified picture format.
9072
+ # @param request operation request
9073
+ def put_subshape_save_as_with_http_info(request)
9074
+ if @api_client.config.debugging
9075
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_subshape_save_as ...'
9076
+ end
9077
+ # verify the required parameter 'name' is set
9078
+ if @api_client.config.client_side_validation && request.name.nil?
9079
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_subshape_save_as"
9080
+ end
9081
+ # verify the required parameter 'slide_index' is set
9082
+ if @api_client.config.client_side_validation && request.slide_index.nil?
9083
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_subshape_save_as"
9084
+ end
9085
+ # verify the required parameter 'shape_index' is set
9086
+ if @api_client.config.client_side_validation && request.shape_index.nil?
9087
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_subshape_save_as"
9088
+ end
9089
+ # verify the required parameter 'format' is set
9090
+ if @api_client.config.client_side_validation && request.format.nil?
9091
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_subshape_save_as"
9092
+ end
9093
+ # verify enum value
9094
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
9095
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
9096
+ end
9097
+ # verify the required parameter 'out_path' is set
9098
+ if @api_client.config.client_side_validation && request.out_path.nil?
9099
+ fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.put_subshape_save_as"
9100
+ end
9101
+ if @api_client.config.client_side_validation && request.bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(request.bounds)==0 }
9102
+ fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
9103
+ end
9104
+ # resource path
9105
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
9106
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
9107
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
9108
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
9109
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
9110
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
9111
+
9112
+ # query parameters
9113
+ query_params = {}
9114
+ query_params[:'outPath'] = request.out_path unless request.out_path.nil?
9115
+ query_params[:'password'] = request.password unless request.password.nil?
9116
+ query_params[:'folder'] = request.folder unless request.folder.nil?
9117
+ query_params[:'storage'] = request.storage unless request.storage.nil?
9118
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
9119
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
9120
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
9121
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
9122
+
9123
+ # header parameters
9124
+ header_params = {}
9125
+ # HTTP header 'Accept' (if needed)
9126
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9127
+ # HTTP header 'Content-Type'
9128
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
9129
+
9130
+ # http body (model)
9131
+ post_body = @api_client.object_to_http_body(request.options)
9132
+
9133
+ # form parameters
9134
+
9135
+ post_files = nil
9136
+
9137
+
9138
+ auth_names = ['JWT']
9139
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
9140
+ :header_params => header_params,
9141
+ :query_params => query_params,
9142
+ :body => post_body,
9143
+ :files => post_files,
9144
+ :auth_names => auth_names)
9145
+ return data, status_code, headers
9146
+ end
7688
9147
  # Update notes slide properties.
7689
9148
  # @param request operation request
7690
9149
  def put_update_notes_slide(request)
@@ -7763,19 +9222,14 @@ module AsposeSlidesCloud
7763
9222
  if @api_client.config.client_side_validation && request.slide_index.nil?
7764
9223
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape"
7765
9224
  end
7766
- # verify the required parameter 'path' is set
7767
- if @api_client.config.client_side_validation && request.path.nil?
7768
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape"
7769
- end
7770
9225
  # verify the required parameter 'shape_index' is set
7771
9226
  if @api_client.config.client_side_validation && request.shape_index.nil?
7772
9227
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape"
7773
9228
  end
7774
9229
  # resource path
7775
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
9230
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
7776
9231
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7777
9232
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7778
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7779
9233
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7780
9234
 
7781
9235
  # query parameters
@@ -7830,10 +9284,6 @@ module AsposeSlidesCloud
7830
9284
  if @api_client.config.client_side_validation && request.slide_index.nil?
7831
9285
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7832
9286
  end
7833
- # verify the required parameter 'path' is set
7834
- if @api_client.config.client_side_validation && request.path.nil?
7835
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7836
- end
7837
9287
  # verify the required parameter 'shape_index' is set
7838
9288
  if @api_client.config.client_side_validation && request.shape_index.nil?
7839
9289
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
@@ -7843,10 +9293,9 @@ module AsposeSlidesCloud
7843
9293
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7844
9294
  end
7845
9295
  # resource path
7846
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
9296
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
7847
9297
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7848
9298
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7849
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7850
9299
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7851
9300
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7852
9301
 
@@ -7902,10 +9351,6 @@ module AsposeSlidesCloud
7902
9351
  if @api_client.config.client_side_validation && request.slide_index.nil?
7903
9352
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
7904
9353
  end
7905
- # verify the required parameter 'path' is set
7906
- if @api_client.config.client_side_validation && request.path.nil?
7907
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape_portion"
7908
- end
7909
9354
  # verify the required parameter 'shape_index' is set
7910
9355
  if @api_client.config.client_side_validation && request.shape_index.nil?
7911
9356
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
@@ -7919,10 +9364,9 @@ module AsposeSlidesCloud
7919
9364
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
7920
9365
  end
7921
9366
  # resource path
7922
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
9367
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
7923
9368
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7924
9369
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7925
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7926
9370
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7927
9371
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7928
9372
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -8020,10 +9464,6 @@ module AsposeSlidesCloud
8020
9464
  if @api_client.config.debugging
8021
9465
  @api_client.config.logger.debug 'Calling API: SlidesApi.upload_file ...'
8022
9466
  end
8023
- # verify the required parameter 'path' is set
8024
- if @api_client.config.client_side_validation && request.path.nil?
8025
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.upload_file"
8026
- end
8027
9467
  # verify the required parameter 'file' is set
8028
9468
  if @api_client.config.client_side_validation && request.file.nil?
8029
9469
  fail ArgumentError, "Missing the required parameter 'file' when calling SlidesApi.upload_file"