aspose_slides_cloud 19.12.0 → 20.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/lib/aspose_slides_cloud.rb +8 -0
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +2156 -525
  5. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +792 -124
  6. data/lib/aspose_slides_cloud/api_client.rb +7 -3
  7. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +20 -8
  8. data/lib/aspose_slides_cloud/models/add_master_slide.rb +20 -8
  9. data/lib/aspose_slides_cloud/models/add_shape.rb +20 -8
  10. data/lib/aspose_slides_cloud/models/add_slide.rb +20 -8
  11. data/lib/aspose_slides_cloud/models/api_info.rb +20 -8
  12. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +20 -23
  13. data/lib/aspose_slides_cloud/models/audio_frame.rb +20 -8
  14. data/lib/aspose_slides_cloud/models/axes.rb +20 -8
  15. data/lib/aspose_slides_cloud/models/axis.rb +20 -168
  16. data/lib/aspose_slides_cloud/models/base64_input_file.rb +20 -8
  17. data/lib/aspose_slides_cloud/models/blur_effect.rb +20 -8
  18. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +504 -0
  19. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +20 -8
  20. data/lib/aspose_slides_cloud/models/bubble_series.rb +24 -45
  21. data/lib/aspose_slides_cloud/models/chart.rb +23 -11
  22. data/lib/aspose_slides_cloud/models/chart_category.rb +249 -0
  23. data/lib/aspose_slides_cloud/models/chart_title.rb +20 -8
  24. data/lib/aspose_slides_cloud/models/chart_wall.rb +20 -18
  25. data/lib/aspose_slides_cloud/models/color_scheme.rb +20 -8
  26. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +217 -0
  27. data/lib/aspose_slides_cloud/models/connector.rb +20 -8
  28. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +20 -8
  29. data/lib/aspose_slides_cloud/models/disc_usage.rb +20 -8
  30. data/lib/aspose_slides_cloud/models/document.rb +31 -9
  31. data/lib/aspose_slides_cloud/models/document_properties.rb +20 -8
  32. data/lib/aspose_slides_cloud/models/document_property.rb +20 -8
  33. data/lib/aspose_slides_cloud/models/document_replace_result.rb +31 -9
  34. data/lib/aspose_slides_cloud/models/effect.rb +20 -8
  35. data/lib/aspose_slides_cloud/models/effect_format.rb +20 -8
  36. data/lib/aspose_slides_cloud/models/entity_exists.rb +212 -0
  37. data/lib/aspose_slides_cloud/models/error.rb +20 -8
  38. data/lib/aspose_slides_cloud/models/error_details.rb +20 -8
  39. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  40. data/lib/aspose_slides_cloud/models/export_options.rb +20 -8
  41. data/lib/aspose_slides_cloud/models/file_version.rb +20 -8
  42. data/lib/aspose_slides_cloud/models/file_versions.rb +20 -8
  43. data/lib/aspose_slides_cloud/models/files_list.rb +20 -8
  44. data/lib/aspose_slides_cloud/models/files_upload_result.rb +20 -8
  45. data/lib/aspose_slides_cloud/models/fill_format.rb +20 -8
  46. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +20 -8
  47. data/lib/aspose_slides_cloud/models/font_scheme.rb +20 -8
  48. data/lib/aspose_slides_cloud/models/font_set.rb +20 -8
  49. data/lib/aspose_slides_cloud/models/format_scheme.rb +20 -8
  50. data/lib/aspose_slides_cloud/models/geometry_shape.rb +20 -8
  51. data/lib/aspose_slides_cloud/models/glow_effect.rb +20 -8
  52. data/lib/aspose_slides_cloud/models/gradient_fill.rb +20 -8
  53. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +20 -8
  54. data/lib/aspose_slides_cloud/models/graphical_object.rb +20 -8
  55. data/lib/aspose_slides_cloud/models/group_shape.rb +20 -8
  56. data/lib/aspose_slides_cloud/models/html_export_options.rb +20 -8
  57. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +20 -8
  58. data/lib/aspose_slides_cloud/models/image.rb +20 -8
  59. data/lib/aspose_slides_cloud/models/image_export_options.rb +20 -8
  60. data/lib/aspose_slides_cloud/models/images.rb +20 -8
  61. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +20 -8
  62. data/lib/aspose_slides_cloud/models/input.rb +20 -8
  63. data/lib/aspose_slides_cloud/models/input_file.rb +20 -8
  64. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +20 -8
  65. data/lib/aspose_slides_cloud/models/layout_slide.rb +20 -8
  66. data/lib/aspose_slides_cloud/models/layout_slides.rb +20 -8
  67. data/lib/aspose_slides_cloud/models/legend.rb +20 -38
  68. data/lib/aspose_slides_cloud/models/line_format.rb +20 -43
  69. data/lib/aspose_slides_cloud/models/master_slide.rb +20 -8
  70. data/lib/aspose_slides_cloud/models/master_slides.rb +20 -8
  71. data/lib/aspose_slides_cloud/models/merge.rb +20 -8
  72. data/lib/aspose_slides_cloud/models/merging_source.rb +20 -8
  73. data/lib/aspose_slides_cloud/models/no_fill.rb +20 -8
  74. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +217 -0
  75. data/lib/aspose_slides_cloud/models/notes_slide.rb +20 -8
  76. data/lib/aspose_slides_cloud/models/object_exist.rb +20 -8
  77. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +20 -8
  78. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +20 -8
  79. data/lib/aspose_slides_cloud/models/one_value_series.rb +24 -45
  80. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +20 -8
  81. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +20 -8
  82. data/lib/aspose_slides_cloud/models/output_file.rb +20 -8
  83. data/lib/aspose_slides_cloud/models/paragraph.rb +21 -9
  84. data/lib/aspose_slides_cloud/models/paragraphs.rb +20 -8
  85. data/lib/aspose_slides_cloud/models/path_input_file.rb +20 -8
  86. data/lib/aspose_slides_cloud/models/path_output_file.rb +20 -8
  87. data/lib/aspose_slides_cloud/models/pattern_fill.rb +20 -8
  88. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +53 -14
  89. data/lib/aspose_slides_cloud/models/picture_fill.rb +20 -8
  90. data/lib/aspose_slides_cloud/models/picture_frame.rb +20 -8
  91. data/lib/aspose_slides_cloud/models/pipeline.rb +20 -8
  92. data/lib/aspose_slides_cloud/models/placeholder.rb +20 -8
  93. data/lib/aspose_slides_cloud/models/placeholders.rb +20 -8
  94. data/lib/aspose_slides_cloud/models/plot_area.rb +20 -33
  95. data/lib/aspose_slides_cloud/models/portion.rb +20 -8
  96. data/lib/aspose_slides_cloud/models/portions.rb +28 -16
  97. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +20 -8
  98. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +20 -8
  99. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +20 -8
  100. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +20 -8
  101. data/lib/aspose_slides_cloud/models/reflection_effect.rb +20 -8
  102. data/lib/aspose_slides_cloud/models/remove_shape.rb +20 -8
  103. data/lib/aspose_slides_cloud/models/remove_slide.rb +20 -8
  104. data/lib/aspose_slides_cloud/models/reorder_slide.rb +20 -8
  105. data/lib/aspose_slides_cloud/models/replace_text.rb +20 -8
  106. data/lib/aspose_slides_cloud/models/request_input_file.rb +20 -8
  107. data/lib/aspose_slides_cloud/models/reset_slide.rb +20 -8
  108. data/lib/aspose_slides_cloud/models/resource_base.rb +20 -8
  109. data/lib/aspose_slides_cloud/models/resource_uri.rb +20 -8
  110. data/lib/aspose_slides_cloud/models/resource_uri_element.rb +20 -8
  111. data/lib/aspose_slides_cloud/models/response_output_file.rb +20 -8
  112. data/lib/aspose_slides_cloud/models/save.rb +22 -10
  113. data/lib/aspose_slides_cloud/models/save_shape.rb +20 -8
  114. data/lib/aspose_slides_cloud/models/save_slide.rb +22 -10
  115. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +20 -8
  116. data/lib/aspose_slides_cloud/models/scatter_series.rb +24 -45
  117. data/lib/aspose_slides_cloud/models/series.rb +47 -49
  118. data/lib/aspose_slides_cloud/models/series_marker.rb +20 -18
  119. data/lib/aspose_slides_cloud/models/shape.rb +20 -8
  120. data/lib/aspose_slides_cloud/models/shape_base.rb +20 -8
  121. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +20 -8
  122. data/lib/aspose_slides_cloud/models/shapes.rb +20 -8
  123. data/lib/aspose_slides_cloud/models/slide.rb +20 -8
  124. data/lib/aspose_slides_cloud/models/slide_animation.rb +20 -8
  125. data/lib/aspose_slides_cloud/models/slide_background.rb +20 -8
  126. data/lib/aspose_slides_cloud/models/slide_comment.rb +20 -8
  127. data/lib/aspose_slides_cloud/models/slide_comments.rb +20 -8
  128. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  129. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +20 -8
  130. data/lib/aspose_slides_cloud/models/slides.rb +20 -8
  131. data/lib/aspose_slides_cloud/models/smart_art.rb +20 -8
  132. data/lib/aspose_slides_cloud/models/smart_art_node.rb +20 -8
  133. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +20 -8
  134. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +20 -8
  135. data/lib/aspose_slides_cloud/models/solid_fill.rb +20 -8
  136. data/lib/aspose_slides_cloud/models/split_document_result.rb +20 -8
  137. data/lib/aspose_slides_cloud/models/storage_exist.rb +20 -8
  138. data/lib/aspose_slides_cloud/models/storage_file.rb +20 -8
  139. data/lib/aspose_slides_cloud/models/svg_export_options.rb +20 -8
  140. data/lib/aspose_slides_cloud/models/swf_export_options.rb +20 -8
  141. data/lib/aspose_slides_cloud/models/table.rb +20 -48
  142. data/lib/aspose_slides_cloud/models/table_cell.rb +20 -48
  143. data/lib/aspose_slides_cloud/models/table_column.rb +20 -8
  144. data/lib/aspose_slides_cloud/models/table_row.rb +20 -8
  145. data/lib/aspose_slides_cloud/models/task.rb +20 -8
  146. data/lib/aspose_slides_cloud/models/text_item.rb +20 -8
  147. data/lib/aspose_slides_cloud/models/text_items.rb +20 -8
  148. data/lib/aspose_slides_cloud/models/theme.rb +20 -8
  149. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +20 -8
  150. data/lib/aspose_slides_cloud/models/update_background.rb +20 -8
  151. data/lib/aspose_slides_cloud/models/update_shape.rb +20 -8
  152. data/lib/aspose_slides_cloud/models/video_frame.rb +20 -8
  153. data/lib/aspose_slides_cloud/models/view_properties.rb +379 -0
  154. data/lib/aspose_slides_cloud/models/waterfall_series.rb +452 -0
  155. data/lib/aspose_slides_cloud/models/xps_export_options.rb +20 -8
  156. data/lib/aspose_slides_cloud/version.rb +1 -1
  157. data/spec/api/slides_api_spec.rb +17214 -12046
  158. data/spec/extra/extra_spec.rb +111 -9
  159. data/spec/spec_utils.rb +8 -1
  160. data/testRules.json +80 -8
  161. metadata +9 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e74906507d4392793835298279e28553917fc5bd5b45ef92ca6188ea6446c322
4
- data.tar.gz: 022b1b98adc5e8aa30e8e7219f2495cfa13609bedd6cdcdc5cf616bd68a9ac2d
3
+ metadata.gz: 79d560ba41b3812c3c659161e1975cbd6741595ab182f9494fc5369c5627567f
4
+ data.tar.gz: a272fbd9060770c5faa9495b3d215f4c16512845ace3b1bac00e348c7bd7ec21
5
5
  SHA512:
6
- metadata.gz: 57ce368fd53b20fff39f1fa0b784802647ec90cfab2911554325992ac51aee7c7b119ec89a6305d2dc0dc82791efd34e12be32557b783cbfae1c04bfe527b62f
7
- data.tar.gz: 7a735b9801a49910d8549e5550b13ba80f3fed84a39cd7ce9daa4628116c1470714359999fd1ad641b86100fe73da24dfa9afe36b79e9472b1d326ce1932aff3
6
+ metadata.gz: 7e8e9a38e5034a9983d9932884eff98d9589121cd1978ba67f7be7b305dea6194a5740c0d0efff5b8820de5fa5e39c6fe42be57e4348b0dbced0c2cda04f0ea7
7
+ data.tar.gz: 83fe4a06a206a564e44cae406f5130ecb737294dc7d8f6210a2d9e2903af480467668a3f11afa6cdbe1b322026fc7b066dcc5e67f29d86998b5e0fe2e69c771d
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
@@ -21,6 +21,7 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  # Common files
24
+ require 'aspose_slides_cloud/type_registry'
24
25
  require 'aspose_slides_cloud/api_client'
25
26
  require 'aspose_slides_cloud/api_error'
26
27
  require 'aspose_slides_cloud/version'
@@ -32,12 +33,15 @@ require 'aspose_slides_cloud/models/arrow_head_properties'
32
33
  require 'aspose_slides_cloud/models/axes'
33
34
  require 'aspose_slides_cloud/models/axis'
34
35
  require 'aspose_slides_cloud/models/blur_effect'
36
+ require 'aspose_slides_cloud/models/chart_category'
35
37
  require 'aspose_slides_cloud/models/chart_title'
36
38
  require 'aspose_slides_cloud/models/chart_wall'
39
+ require 'aspose_slides_cloud/models/common_slide_view_properties'
37
40
  require 'aspose_slides_cloud/models/custom_dash_pattern'
38
41
  require 'aspose_slides_cloud/models/disc_usage'
39
42
  require 'aspose_slides_cloud/models/effect'
40
43
  require 'aspose_slides_cloud/models/effect_format'
44
+ require 'aspose_slides_cloud/models/entity_exists'
41
45
  require 'aspose_slides_cloud/models/error'
42
46
  require 'aspose_slides_cloud/models/error_details'
43
47
  require 'aspose_slides_cloud/models/export_format'
@@ -59,6 +63,7 @@ require 'aspose_slides_cloud/models/interactive_sequence'
59
63
  require 'aspose_slides_cloud/models/legend'
60
64
  require 'aspose_slides_cloud/models/line_format'
61
65
  require 'aspose_slides_cloud/models/merging_source'
66
+ require 'aspose_slides_cloud/models/normal_view_restored_properties'
62
67
  require 'aspose_slides_cloud/models/notes_slide_export_format'
63
68
  require 'aspose_slides_cloud/models/object_exist'
64
69
  require 'aspose_slides_cloud/models/one_value_chart_data_point'
@@ -159,7 +164,9 @@ require 'aspose_slides_cloud/models/theme'
159
164
  require 'aspose_slides_cloud/models/tiff_export_options'
160
165
  require 'aspose_slides_cloud/models/update_background'
161
166
  require 'aspose_slides_cloud/models/update_shape'
167
+ require 'aspose_slides_cloud/models/view_properties'
162
168
  require 'aspose_slides_cloud/models/xps_export_options'
169
+ require 'aspose_slides_cloud/models/box_and_whisker_series'
163
170
  require 'aspose_slides_cloud/models/chart'
164
171
  require 'aspose_slides_cloud/models/document_replace_result'
165
172
  require 'aspose_slides_cloud/models/geometry_shape'
@@ -170,6 +177,7 @@ require 'aspose_slides_cloud/models/slide_replace_result'
170
177
  require 'aspose_slides_cloud/models/smart_art'
171
178
  require 'aspose_slides_cloud/models/smart_art_shape'
172
179
  require 'aspose_slides_cloud/models/table'
180
+ require 'aspose_slides_cloud/models/waterfall_series'
173
181
  require 'aspose_slides_cloud/models/audio_frame'
174
182
  require 'aspose_slides_cloud/models/connector'
175
183
  require 'aspose_slides_cloud/models/picture_frame'
@@ -154,10 +154,6 @@ module AsposeSlidesCloud
154
154
  if @api_client.config.debugging
155
155
  @api_client.config.logger.debug 'Calling API: SlidesApi.create_folder ...'
156
156
  end
157
- # verify the required parameter 'path' is set
158
- if @api_client.config.client_side_validation && request.path.nil?
159
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.create_folder"
160
- end
161
157
  # resource path
162
158
  local_var_path = '/slides/storage/folder/{path}'
163
159
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -190,6 +186,73 @@ module AsposeSlidesCloud
190
186
  :auth_names => auth_names)
191
187
  return data, status_code, headers
192
188
  end
189
+ # Delete a series from a chart.
190
+ # @param request operation request
191
+ def delete_chart_series(request)
192
+ data, _status_code, _headers = delete_chart_series_with_http_info(request)
193
+ data
194
+ end
195
+
196
+ # Delete a series from a chart.
197
+ # @param request operation request
198
+ def delete_chart_series_with_http_info(request)
199
+ if @api_client.config.debugging
200
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_chart_series ...'
201
+ end
202
+ # verify the required parameter 'name' is set
203
+ if @api_client.config.client_side_validation && request.name.nil?
204
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_chart_series"
205
+ end
206
+ # verify the required parameter 'slide_index' is set
207
+ if @api_client.config.client_side_validation && request.slide_index.nil?
208
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_chart_series"
209
+ end
210
+ # verify the required parameter 'shape_index' is set
211
+ if @api_client.config.client_side_validation && request.shape_index.nil?
212
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_chart_series"
213
+ end
214
+ # verify the required parameter 'series_index' is set
215
+ if @api_client.config.client_side_validation && request.series_index.nil?
216
+ fail ArgumentError, "Missing the required parameter 'series_index' when calling SlidesApi.delete_chart_series"
217
+ end
218
+ # resource path
219
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series/{seriesIndex}'
220
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
221
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
222
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
223
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesIndex', request.series_index)
224
+
225
+ # query parameters
226
+ query_params = {}
227
+ query_params[:'password'] = request.password unless request.password.nil?
228
+ query_params[:'folder'] = request.folder unless request.folder.nil?
229
+ query_params[:'storage'] = request.storage unless request.storage.nil?
230
+
231
+ # header parameters
232
+ header_params = {}
233
+ # HTTP header 'Accept' (if needed)
234
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
235
+ # HTTP header 'Content-Type'
236
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
237
+
238
+ # http body (model)
239
+ post_body = nil
240
+
241
+ # form parameters
242
+
243
+ post_files = nil
244
+
245
+
246
+ auth_names = ['JWT']
247
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
248
+ :header_params => header_params,
249
+ :query_params => query_params,
250
+ :body => post_body,
251
+ :files => post_files,
252
+ :auth_names => auth_names,
253
+ :return_type => 'Chart')
254
+ return data, status_code, headers
255
+ end
193
256
  # Delete file
194
257
  # @param request operation request
195
258
  def delete_file(request)
@@ -203,10 +266,6 @@ module AsposeSlidesCloud
203
266
  if @api_client.config.debugging
204
267
  @api_client.config.logger.debug 'Calling API: SlidesApi.delete_file ...'
205
268
  end
206
- # verify the required parameter 'path' is set
207
- if @api_client.config.client_side_validation && request.path.nil?
208
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_file"
209
- end
210
269
  # resource path
211
270
  local_var_path = '/slides/storage/file/{path}'
212
271
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -253,10 +312,6 @@ module AsposeSlidesCloud
253
312
  if @api_client.config.debugging
254
313
  @api_client.config.logger.debug 'Calling API: SlidesApi.delete_folder ...'
255
314
  end
256
- # verify the required parameter 'path' is set
257
- if @api_client.config.client_side_validation && request.path.nil?
258
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_folder"
259
- end
260
315
  # resource path
261
316
  local_var_path = '/slides/storage/folder/{path}'
262
317
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -368,10 +423,6 @@ module AsposeSlidesCloud
368
423
  if @api_client.config.client_side_validation && request.slide_index.nil?
369
424
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_paragraph"
370
425
  end
371
- # verify the required parameter 'path' is set
372
- if @api_client.config.client_side_validation && request.path.nil?
373
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_paragraph"
374
- end
375
426
  # verify the required parameter 'shape_index' is set
376
427
  if @api_client.config.client_side_validation && request.shape_index.nil?
377
428
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_paragraph"
@@ -381,10 +432,9 @@ module AsposeSlidesCloud
381
432
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_notes_slide_paragraph"
382
433
  end
383
434
  # resource path
384
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
435
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
385
436
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
386
437
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
387
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
388
438
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
389
439
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
390
440
 
@@ -440,19 +490,14 @@ module AsposeSlidesCloud
440
490
  if @api_client.config.client_side_validation && request.slide_index.nil?
441
491
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_paragraphs"
442
492
  end
443
- # verify the required parameter 'path' is set
444
- if @api_client.config.client_side_validation && request.path.nil?
445
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_paragraphs"
446
- end
447
493
  # verify the required parameter 'shape_index' is set
448
494
  if @api_client.config.client_side_validation && request.shape_index.nil?
449
495
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_paragraphs"
450
496
  end
451
497
  # resource path
452
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
498
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
453
499
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
454
500
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
455
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
456
501
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
457
502
 
458
503
  # query parameters
@@ -508,10 +553,6 @@ module AsposeSlidesCloud
508
553
  if @api_client.config.client_side_validation && request.slide_index.nil?
509
554
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_portion"
510
555
  end
511
- # verify the required parameter 'path' is set
512
- if @api_client.config.client_side_validation && request.path.nil?
513
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_portion"
514
- end
515
556
  # verify the required parameter 'shape_index' is set
516
557
  if @api_client.config.client_side_validation && request.shape_index.nil?
517
558
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_portion"
@@ -525,10 +566,9 @@ module AsposeSlidesCloud
525
566
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_notes_slide_portion"
526
567
  end
527
568
  # resource path
528
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
569
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
529
570
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
530
571
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
531
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
532
572
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
533
573
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
534
574
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -585,10 +625,6 @@ module AsposeSlidesCloud
585
625
  if @api_client.config.client_side_validation && request.slide_index.nil?
586
626
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_portions"
587
627
  end
588
- # verify the required parameter 'path' is set
589
- if @api_client.config.client_side_validation && request.path.nil?
590
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_portions"
591
- end
592
628
  # verify the required parameter 'shape_index' is set
593
629
  if @api_client.config.client_side_validation && request.shape_index.nil?
594
630
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_portions"
@@ -598,10 +634,9 @@ module AsposeSlidesCloud
598
634
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_notes_slide_portions"
599
635
  end
600
636
  # resource path
601
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
637
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
602
638
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
603
639
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
604
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
605
640
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
606
641
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
607
642
 
@@ -658,19 +693,14 @@ module AsposeSlidesCloud
658
693
  if @api_client.config.client_side_validation && request.slide_index.nil?
659
694
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_shape"
660
695
  end
661
- # verify the required parameter 'path' is set
662
- if @api_client.config.client_side_validation && request.path.nil?
663
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_shape"
664
- end
665
696
  # verify the required parameter 'shape_index' is set
666
697
  if @api_client.config.client_side_validation && request.shape_index.nil?
667
698
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_shape"
668
699
  end
669
700
  # resource path
670
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
701
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
671
702
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
672
703
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
673
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
674
704
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
675
705
 
676
706
  # query parameters
@@ -725,15 +755,10 @@ module AsposeSlidesCloud
725
755
  if @api_client.config.client_side_validation && request.slide_index.nil?
726
756
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_shapes"
727
757
  end
728
- # verify the required parameter 'path' is set
729
- if @api_client.config.client_side_validation && request.path.nil?
730
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_shapes"
731
- end
732
758
  # resource path
733
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
759
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
734
760
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
735
761
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
736
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
737
762
 
738
763
  # query parameters
739
764
  query_params = {}
@@ -788,10 +813,6 @@ module AsposeSlidesCloud
788
813
  if @api_client.config.client_side_validation && request.slide_index.nil?
789
814
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_paragraph"
790
815
  end
791
- # verify the required parameter 'path' is set
792
- if @api_client.config.client_side_validation && request.path.nil?
793
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_paragraph"
794
- end
795
816
  # verify the required parameter 'shape_index' is set
796
817
  if @api_client.config.client_side_validation && request.shape_index.nil?
797
818
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_paragraph"
@@ -801,10 +822,9 @@ module AsposeSlidesCloud
801
822
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_paragraph"
802
823
  end
803
824
  # resource path
804
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
825
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
805
826
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
806
827
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
807
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
808
828
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
809
829
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
810
830
 
@@ -860,19 +880,14 @@ module AsposeSlidesCloud
860
880
  if @api_client.config.client_side_validation && request.slide_index.nil?
861
881
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_paragraphs"
862
882
  end
863
- # verify the required parameter 'path' is set
864
- if @api_client.config.client_side_validation && request.path.nil?
865
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_paragraphs"
866
- end
867
883
  # verify the required parameter 'shape_index' is set
868
884
  if @api_client.config.client_side_validation && request.shape_index.nil?
869
885
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_paragraphs"
870
886
  end
871
887
  # resource path
872
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
888
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
873
889
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
874
890
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
875
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
876
891
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
877
892
 
878
893
  # query parameters
@@ -928,10 +943,6 @@ module AsposeSlidesCloud
928
943
  if @api_client.config.client_side_validation && request.slide_index.nil?
929
944
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_portion"
930
945
  end
931
- # verify the required parameter 'path' is set
932
- if @api_client.config.client_side_validation && request.path.nil?
933
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_portion"
934
- end
935
946
  # verify the required parameter 'shape_index' is set
936
947
  if @api_client.config.client_side_validation && request.shape_index.nil?
937
948
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_portion"
@@ -945,10 +956,9 @@ module AsposeSlidesCloud
945
956
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_portion"
946
957
  end
947
958
  # resource path
948
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
959
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
949
960
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
950
961
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
951
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
952
962
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
953
963
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
954
964
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -1005,10 +1015,6 @@ module AsposeSlidesCloud
1005
1015
  if @api_client.config.client_side_validation && request.slide_index.nil?
1006
1016
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_portions"
1007
1017
  end
1008
- # verify the required parameter 'path' is set
1009
- if @api_client.config.client_side_validation && request.path.nil?
1010
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_portions"
1011
- end
1012
1018
  # verify the required parameter 'shape_index' is set
1013
1019
  if @api_client.config.client_side_validation && request.shape_index.nil?
1014
1020
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_portions"
@@ -1018,10 +1024,9 @@ module AsposeSlidesCloud
1018
1024
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_portions"
1019
1025
  end
1020
1026
  # resource path
1021
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
1027
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
1022
1028
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1023
1029
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1024
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1025
1030
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1026
1031
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
1027
1032
 
@@ -1497,19 +1502,14 @@ module AsposeSlidesCloud
1497
1502
  if @api_client.config.client_side_validation && request.slide_index.nil?
1498
1503
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_shape"
1499
1504
  end
1500
- # verify the required parameter 'path' is set
1501
- if @api_client.config.client_side_validation && request.path.nil?
1502
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_slide_shape"
1503
- end
1504
1505
  # verify the required parameter 'shape_index' is set
1505
1506
  if @api_client.config.client_side_validation && request.shape_index.nil?
1506
1507
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_slide_shape"
1507
1508
  end
1508
1509
  # resource path
1509
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
1510
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
1510
1511
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1511
1512
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1512
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1513
1513
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1514
1514
 
1515
1515
  # query parameters
@@ -1564,9 +1564,126 @@ module AsposeSlidesCloud
1564
1564
  if @api_client.config.client_side_validation && request.slide_index.nil?
1565
1565
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_shapes"
1566
1566
  end
1567
- # verify the required parameter 'path' is set
1568
- if @api_client.config.client_side_validation && request.path.nil?
1569
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_slide_shapes"
1567
+ # resource path
1568
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
1569
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1570
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1571
+
1572
+ # query parameters
1573
+ query_params = {}
1574
+ query_params[:'shapes'] = request.shapes unless request.shapes.nil?
1575
+ query_params[:'password'] = request.password unless request.password.nil?
1576
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1577
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1578
+
1579
+ # header parameters
1580
+ header_params = {}
1581
+ # HTTP header 'Accept' (if needed)
1582
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1583
+ # HTTP header 'Content-Type'
1584
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1585
+
1586
+ # http body (model)
1587
+ post_body = nil
1588
+
1589
+ # form parameters
1590
+
1591
+ post_files = nil
1592
+
1593
+
1594
+ auth_names = ['JWT']
1595
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1596
+ :header_params => header_params,
1597
+ :query_params => query_params,
1598
+ :body => post_body,
1599
+ :files => post_files,
1600
+ :auth_names => auth_names,
1601
+ :return_type => 'Shapes')
1602
+ return data, status_code, headers
1603
+ end
1604
+ # Remove a shape (for smart art and group shapes).
1605
+ # @param request operation request
1606
+ def delete_slide_subshape(request)
1607
+ data, _status_code, _headers = delete_slide_subshape_with_http_info(request)
1608
+ data
1609
+ end
1610
+
1611
+ # Remove a shape (for smart art and group shapes).
1612
+ # @param request operation request
1613
+ def delete_slide_subshape_with_http_info(request)
1614
+ if @api_client.config.debugging
1615
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_slide_subshape ...'
1616
+ end
1617
+ # verify the required parameter 'name' is set
1618
+ if @api_client.config.client_side_validation && request.name.nil?
1619
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_slide_subshape"
1620
+ end
1621
+ # verify the required parameter 'slide_index' is set
1622
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1623
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_subshape"
1624
+ end
1625
+ # verify the required parameter 'shape_index' is set
1626
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1627
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_slide_subshape"
1628
+ end
1629
+ # resource path
1630
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
1631
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1632
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1633
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1634
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1635
+
1636
+ # query parameters
1637
+ query_params = {}
1638
+ query_params[:'password'] = request.password unless request.password.nil?
1639
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1640
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1641
+
1642
+ # header parameters
1643
+ header_params = {}
1644
+ # HTTP header 'Accept' (if needed)
1645
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1646
+ # HTTP header 'Content-Type'
1647
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1648
+
1649
+ # http body (model)
1650
+ post_body = nil
1651
+
1652
+ # form parameters
1653
+
1654
+ post_files = nil
1655
+
1656
+
1657
+ auth_names = ['JWT']
1658
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1659
+ :header_params => header_params,
1660
+ :query_params => query_params,
1661
+ :body => post_body,
1662
+ :files => post_files,
1663
+ :auth_names => auth_names,
1664
+ :return_type => 'Shapes')
1665
+ return data, status_code, headers
1666
+ end
1667
+ # Remove a range of shapes (for smart art and group shapes).
1668
+ # @param request operation request
1669
+ def delete_slide_subshapes(request)
1670
+ data, _status_code, _headers = delete_slide_subshapes_with_http_info(request)
1671
+ data
1672
+ end
1673
+
1674
+ # Remove a range of shapes (for smart art and group shapes).
1675
+ # @param request operation request
1676
+ def delete_slide_subshapes_with_http_info(request)
1677
+ if @api_client.config.debugging
1678
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_slide_subshapes ...'
1679
+ end
1680
+ # verify the required parameter 'name' is set
1681
+ if @api_client.config.client_side_validation && request.name.nil?
1682
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_slide_subshapes"
1683
+ end
1684
+ # verify the required parameter 'slide_index' is set
1685
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1686
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_subshapes"
1570
1687
  end
1571
1688
  # resource path
1572
1689
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
@@ -1825,36 +1942,53 @@ module AsposeSlidesCloud
1825
1942
  :return_type => 'SlideBackground')
1826
1943
  return data, status_code, headers
1827
1944
  end
1828
- # Download file
1945
+ # Remove a paragraph (for smart art and group shapes).
1829
1946
  # @param request operation request
1830
- def download_file(request)
1831
- data, _status_code, _headers = download_file_with_http_info(request)
1947
+ def delete_subshape_paragraph(request)
1948
+ data, _status_code, _headers = delete_subshape_paragraph_with_http_info(request)
1832
1949
  data
1833
1950
  end
1834
1951
 
1835
- # Download file
1952
+ # Remove a paragraph (for smart art and group shapes).
1836
1953
  # @param request operation request
1837
- def download_file_with_http_info(request)
1954
+ def delete_subshape_paragraph_with_http_info(request)
1838
1955
  if @api_client.config.debugging
1839
- @api_client.config.logger.debug 'Calling API: SlidesApi.download_file ...'
1956
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_paragraph ...'
1957
+ end
1958
+ # verify the required parameter 'name' is set
1959
+ if @api_client.config.client_side_validation && request.name.nil?
1960
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_paragraph"
1961
+ end
1962
+ # verify the required parameter 'slide_index' is set
1963
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1964
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_paragraph"
1840
1965
  end
1841
- # verify the required parameter 'path' is set
1842
- if @api_client.config.client_side_validation && request.path.nil?
1843
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.download_file"
1966
+ # verify the required parameter 'shape_index' is set
1967
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1968
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_paragraph"
1969
+ end
1970
+ # verify the required parameter 'paragraph_index' is set
1971
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
1972
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_paragraph"
1844
1973
  end
1845
1974
  # resource path
1846
- local_var_path = '/slides/storage/file/{path}'
1975
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
1976
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1977
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1847
1978
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1979
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1980
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
1848
1981
 
1849
1982
  # query parameters
1850
1983
  query_params = {}
1851
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
1852
- query_params[:'versionId'] = request.version_id unless request.version_id.nil?
1984
+ query_params[:'password'] = request.password unless request.password.nil?
1985
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1986
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1853
1987
 
1854
1988
  # header parameters
1855
1989
  header_params = {}
1856
1990
  # HTTP header 'Accept' (if needed)
1857
- header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
1991
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1858
1992
  # HTTP header 'Content-Type'
1859
1993
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1860
1994
 
@@ -1867,34 +2001,53 @@ module AsposeSlidesCloud
1867
2001
 
1868
2002
 
1869
2003
  auth_names = ['JWT']
1870
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2004
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1871
2005
  :header_params => header_params,
1872
2006
  :query_params => query_params,
1873
2007
  :body => post_body,
1874
2008
  :files => post_files,
1875
2009
  :auth_names => auth_names,
1876
- :return_type => 'File')
2010
+ :return_type => 'Paragraphs')
1877
2011
  return data, status_code, headers
1878
2012
  end
1879
- # Get disc usage
2013
+ # Remove a range of paragraphs (for smart art and group shapes).
1880
2014
  # @param request operation request
1881
- def get_disc_usage(request)
1882
- data, _status_code, _headers = get_disc_usage_with_http_info(request)
2015
+ def delete_subshape_paragraphs(request)
2016
+ data, _status_code, _headers = delete_subshape_paragraphs_with_http_info(request)
1883
2017
  data
1884
2018
  end
1885
2019
 
1886
- # Get disc usage
2020
+ # Remove a range of paragraphs (for smart art and group shapes).
1887
2021
  # @param request operation request
1888
- def get_disc_usage_with_http_info(request)
2022
+ def delete_subshape_paragraphs_with_http_info(request)
1889
2023
  if @api_client.config.debugging
1890
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_disc_usage ...'
2024
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_paragraphs ...'
2025
+ end
2026
+ # verify the required parameter 'name' is set
2027
+ if @api_client.config.client_side_validation && request.name.nil?
2028
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_paragraphs"
2029
+ end
2030
+ # verify the required parameter 'slide_index' is set
2031
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2032
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_paragraphs"
2033
+ end
2034
+ # verify the required parameter 'shape_index' is set
2035
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2036
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_paragraphs"
1891
2037
  end
1892
2038
  # resource path
1893
- local_var_path = '/slides/storage/disc'
2039
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
2040
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2041
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2042
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2043
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1894
2044
 
1895
2045
  # query parameters
1896
2046
  query_params = {}
1897
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2047
+ query_params[:'paragraphs'] = request.paragraphs unless request.paragraphs.nil?
2048
+ query_params[:'password'] = request.password unless request.password.nil?
2049
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2050
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1898
2051
 
1899
2052
  # header parameters
1900
2053
  header_params = {}
@@ -1912,31 +2065,261 @@ module AsposeSlidesCloud
1912
2065
 
1913
2066
 
1914
2067
  auth_names = ['JWT']
1915
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2068
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1916
2069
  :header_params => header_params,
1917
2070
  :query_params => query_params,
1918
2071
  :body => post_body,
1919
2072
  :files => post_files,
1920
2073
  :auth_names => auth_names,
1921
- :return_type => 'DiscUsage')
2074
+ :return_type => 'Paragraphs')
1922
2075
  return data, status_code, headers
1923
2076
  end
1924
- # Get file versions
2077
+ # Remove a portion (for smart art and group shapes).
1925
2078
  # @param request operation request
1926
- def get_file_versions(request)
1927
- data, _status_code, _headers = get_file_versions_with_http_info(request)
2079
+ def delete_subshape_portion(request)
2080
+ data, _status_code, _headers = delete_subshape_portion_with_http_info(request)
1928
2081
  data
1929
2082
  end
1930
2083
 
1931
- # Get file versions
2084
+ # Remove a portion (for smart art and group shapes).
1932
2085
  # @param request operation request
1933
- def get_file_versions_with_http_info(request)
2086
+ def delete_subshape_portion_with_http_info(request)
1934
2087
  if @api_client.config.debugging
1935
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_file_versions ...'
2088
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_portion ...'
1936
2089
  end
1937
- # verify the required parameter 'path' is set
1938
- if @api_client.config.client_side_validation && request.path.nil?
1939
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_file_versions"
2090
+ # verify the required parameter 'name' is set
2091
+ if @api_client.config.client_side_validation && request.name.nil?
2092
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_portion"
2093
+ end
2094
+ # verify the required parameter 'slide_index' is set
2095
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2096
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_portion"
2097
+ end
2098
+ # verify the required parameter 'shape_index' is set
2099
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2100
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_portion"
2101
+ end
2102
+ # verify the required parameter 'paragraph_index' is set
2103
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
2104
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_portion"
2105
+ end
2106
+ # verify the required parameter 'portion_index' is set
2107
+ if @api_client.config.client_side_validation && request.portion_index.nil?
2108
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_subshape_portion"
2109
+ end
2110
+ # resource path
2111
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2112
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2113
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2114
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2115
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2116
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2117
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
2118
+
2119
+ # query parameters
2120
+ query_params = {}
2121
+ query_params[:'password'] = request.password unless request.password.nil?
2122
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2123
+ query_params[:'storage'] = request.storage unless request.storage.nil?
2124
+
2125
+ # header parameters
2126
+ header_params = {}
2127
+ # HTTP header 'Accept' (if needed)
2128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2129
+ # HTTP header 'Content-Type'
2130
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2131
+
2132
+ # http body (model)
2133
+ post_body = nil
2134
+
2135
+ # form parameters
2136
+
2137
+ post_files = nil
2138
+
2139
+
2140
+ auth_names = ['JWT']
2141
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2142
+ :header_params => header_params,
2143
+ :query_params => query_params,
2144
+ :body => post_body,
2145
+ :files => post_files,
2146
+ :auth_names => auth_names,
2147
+ :return_type => 'Portions')
2148
+ return data, status_code, headers
2149
+ end
2150
+ # Remove a range of portions (for smart art and group shapes).
2151
+ # @param request operation request
2152
+ def delete_subshape_portions(request)
2153
+ data, _status_code, _headers = delete_subshape_portions_with_http_info(request)
2154
+ data
2155
+ end
2156
+
2157
+ # Remove a range of portions (for smart art and group shapes).
2158
+ # @param request operation request
2159
+ def delete_subshape_portions_with_http_info(request)
2160
+ if @api_client.config.debugging
2161
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_portions ...'
2162
+ end
2163
+ # verify the required parameter 'name' is set
2164
+ if @api_client.config.client_side_validation && request.name.nil?
2165
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_portions"
2166
+ end
2167
+ # verify the required parameter 'slide_index' is set
2168
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2169
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_portions"
2170
+ end
2171
+ # verify the required parameter 'shape_index' is set
2172
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2173
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_portions"
2174
+ end
2175
+ # verify the required parameter 'paragraph_index' is set
2176
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
2177
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_portions"
2178
+ end
2179
+ # resource path
2180
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2181
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2182
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2183
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2184
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2185
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2186
+
2187
+ # query parameters
2188
+ query_params = {}
2189
+ query_params[:'portions'] = request.portions unless request.portions.nil?
2190
+ query_params[:'password'] = request.password unless request.password.nil?
2191
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2192
+ query_params[:'storage'] = request.storage unless request.storage.nil?
2193
+
2194
+ # header parameters
2195
+ header_params = {}
2196
+ # HTTP header 'Accept' (if needed)
2197
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2198
+ # HTTP header 'Content-Type'
2199
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2200
+
2201
+ # http body (model)
2202
+ post_body = nil
2203
+
2204
+ # form parameters
2205
+
2206
+ post_files = nil
2207
+
2208
+
2209
+ auth_names = ['JWT']
2210
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2211
+ :header_params => header_params,
2212
+ :query_params => query_params,
2213
+ :body => post_body,
2214
+ :files => post_files,
2215
+ :auth_names => auth_names,
2216
+ :return_type => 'Portions')
2217
+ return data, status_code, headers
2218
+ end
2219
+ # Download file
2220
+ # @param request operation request
2221
+ def download_file(request)
2222
+ data, _status_code, _headers = download_file_with_http_info(request)
2223
+ data
2224
+ end
2225
+
2226
+ # Download file
2227
+ # @param request operation request
2228
+ def download_file_with_http_info(request)
2229
+ if @api_client.config.debugging
2230
+ @api_client.config.logger.debug 'Calling API: SlidesApi.download_file ...'
2231
+ end
2232
+ # resource path
2233
+ local_var_path = '/slides/storage/file/{path}'
2234
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2235
+
2236
+ # query parameters
2237
+ query_params = {}
2238
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2239
+ query_params[:'versionId'] = request.version_id unless request.version_id.nil?
2240
+
2241
+ # header parameters
2242
+ header_params = {}
2243
+ # HTTP header 'Accept' (if needed)
2244
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
2245
+ # HTTP header 'Content-Type'
2246
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2247
+
2248
+ # http body (model)
2249
+ post_body = nil
2250
+
2251
+ # form parameters
2252
+
2253
+ post_files = nil
2254
+
2255
+
2256
+ auth_names = ['JWT']
2257
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2258
+ :header_params => header_params,
2259
+ :query_params => query_params,
2260
+ :body => post_body,
2261
+ :files => post_files,
2262
+ :auth_names => auth_names,
2263
+ :return_type => 'File')
2264
+ return data, status_code, headers
2265
+ end
2266
+ # Get disc usage
2267
+ # @param request operation request
2268
+ def get_disc_usage(request)
2269
+ data, _status_code, _headers = get_disc_usage_with_http_info(request)
2270
+ data
2271
+ end
2272
+
2273
+ # Get disc usage
2274
+ # @param request operation request
2275
+ def get_disc_usage_with_http_info(request)
2276
+ if @api_client.config.debugging
2277
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_disc_usage ...'
2278
+ end
2279
+ # resource path
2280
+ local_var_path = '/slides/storage/disc'
2281
+
2282
+ # query parameters
2283
+ query_params = {}
2284
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2285
+
2286
+ # header parameters
2287
+ header_params = {}
2288
+ # HTTP header 'Accept' (if needed)
2289
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2290
+ # HTTP header 'Content-Type'
2291
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2292
+
2293
+ # http body (model)
2294
+ post_body = nil
2295
+
2296
+ # form parameters
2297
+
2298
+ post_files = nil
2299
+
2300
+
2301
+ auth_names = ['JWT']
2302
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2303
+ :header_params => header_params,
2304
+ :query_params => query_params,
2305
+ :body => post_body,
2306
+ :files => post_files,
2307
+ :auth_names => auth_names,
2308
+ :return_type => 'DiscUsage')
2309
+ return data, status_code, headers
2310
+ end
2311
+ # Get file versions
2312
+ # @param request operation request
2313
+ def get_file_versions(request)
2314
+ data, _status_code, _headers = get_file_versions_with_http_info(request)
2315
+ data
2316
+ end
2317
+
2318
+ # Get file versions
2319
+ # @param request operation request
2320
+ def get_file_versions_with_http_info(request)
2321
+ if @api_client.config.debugging
2322
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_file_versions ...'
1940
2323
  end
1941
2324
  # resource path
1942
2325
  local_var_path = '/slides/storage/version/{path}'
@@ -1984,10 +2367,6 @@ module AsposeSlidesCloud
1984
2367
  if @api_client.config.debugging
1985
2368
  @api_client.config.logger.debug 'Calling API: SlidesApi.get_files_list ...'
1986
2369
  end
1987
- # verify the required parameter 'path' is set
1988
- if @api_client.config.client_side_validation && request.path.nil?
1989
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_files_list"
1990
- end
1991
2370
  # resource path
1992
2371
  local_var_path = '/slides/storage/folder/{path}'
1993
2372
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -2296,41 +2675,31 @@ module AsposeSlidesCloud
2296
2675
  :return_type => 'NotesSlide')
2297
2676
  return data, status_code, headers
2298
2677
  end
2299
- # Read slide shape info.
2678
+ # Get info whether a notes slide exists.
2300
2679
  # @param request operation request
2301
- def get_notes_slide_shape(request)
2302
- data, _status_code, _headers = get_notes_slide_shape_with_http_info(request)
2680
+ def get_notes_slide_exists(request)
2681
+ data, _status_code, _headers = get_notes_slide_exists_with_http_info(request)
2303
2682
  data
2304
2683
  end
2305
2684
 
2306
- # Read slide shape info.
2685
+ # Get info whether a notes slide exists.
2307
2686
  # @param request operation request
2308
- def get_notes_slide_shape_with_http_info(request)
2687
+ def get_notes_slide_exists_with_http_info(request)
2309
2688
  if @api_client.config.debugging
2310
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_notes_slide_shape ...'
2689
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_notes_slide_exists ...'
2311
2690
  end
2312
2691
  # verify the required parameter 'name' is set
2313
2692
  if @api_client.config.client_side_validation && request.name.nil?
2314
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_notes_slide_shape"
2693
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_notes_slide_exists"
2315
2694
  end
2316
2695
  # verify the required parameter 'slide_index' is set
2317
2696
  if @api_client.config.client_side_validation && request.slide_index.nil?
2318
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape"
2319
- end
2320
- # verify the required parameter 'path' is set
2321
- if @api_client.config.client_side_validation && request.path.nil?
2322
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape"
2323
- end
2324
- # verify the required parameter 'shape_index' is set
2325
- if @api_client.config.client_side_validation && request.shape_index.nil?
2326
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape"
2697
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_exists"
2327
2698
  end
2328
2699
  # resource path
2329
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
2700
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/exist'
2330
2701
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2331
2702
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2332
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2333
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2334
2703
 
2335
2704
  # query parameters
2336
2705
  query_params = {}
@@ -2360,47 +2729,104 @@ module AsposeSlidesCloud
2360
2729
  :body => post_body,
2361
2730
  :files => post_files,
2362
2731
  :auth_names => auth_names,
2363
- :return_type => 'ShapeBase')
2732
+ :return_type => 'EntityExists')
2364
2733
  return data, status_code, headers
2365
2734
  end
2366
- # Read shape paragraph info.
2735
+ # Read slide shape info.
2367
2736
  # @param request operation request
2368
- def get_notes_slide_shape_paragraph(request)
2369
- data, _status_code, _headers = get_notes_slide_shape_paragraph_with_http_info(request)
2737
+ def get_notes_slide_shape(request)
2738
+ data, _status_code, _headers = get_notes_slide_shape_with_http_info(request)
2370
2739
  data
2371
2740
  end
2372
2741
 
2373
- # Read shape paragraph info.
2742
+ # Read slide shape info.
2374
2743
  # @param request operation request
2375
- def get_notes_slide_shape_paragraph_with_http_info(request)
2744
+ def get_notes_slide_shape_with_http_info(request)
2376
2745
  if @api_client.config.debugging
2377
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_notes_slide_shape_paragraph ...'
2746
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_notes_slide_shape ...'
2378
2747
  end
2379
2748
  # verify the required parameter 'name' is set
2380
2749
  if @api_client.config.client_side_validation && request.name.nil?
2381
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_notes_slide_shape_paragraph"
2750
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_notes_slide_shape"
2382
2751
  end
2383
2752
  # verify the required parameter 'slide_index' is set
2384
2753
  if @api_client.config.client_side_validation && request.slide_index.nil?
2385
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2386
- end
2387
- # verify the required parameter 'path' is set
2388
- if @api_client.config.client_side_validation && request.path.nil?
2389
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_paragraph"
2754
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape"
2390
2755
  end
2391
2756
  # verify the required parameter 'shape_index' is set
2392
2757
  if @api_client.config.client_side_validation && request.shape_index.nil?
2393
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2394
- end
2395
- # verify the required parameter 'paragraph_index' is set
2396
- if @api_client.config.client_side_validation && request.paragraph_index.nil?
2397
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2758
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape"
2398
2759
  end
2399
2760
  # resource path
2400
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
2761
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
2762
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2763
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2764
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2765
+
2766
+ # query parameters
2767
+ query_params = {}
2768
+ query_params[:'password'] = request.password unless request.password.nil?
2769
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2770
+ query_params[:'storage'] = request.storage unless request.storage.nil?
2771
+
2772
+ # header parameters
2773
+ header_params = {}
2774
+ # HTTP header 'Accept' (if needed)
2775
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2776
+ # HTTP header 'Content-Type'
2777
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2778
+
2779
+ # http body (model)
2780
+ post_body = nil
2781
+
2782
+ # form parameters
2783
+
2784
+ post_files = nil
2785
+
2786
+
2787
+ auth_names = ['JWT']
2788
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2789
+ :header_params => header_params,
2790
+ :query_params => query_params,
2791
+ :body => post_body,
2792
+ :files => post_files,
2793
+ :auth_names => auth_names,
2794
+ :return_type => 'ShapeBase')
2795
+ return data, status_code, headers
2796
+ end
2797
+ # Read shape paragraph info.
2798
+ # @param request operation request
2799
+ def get_notes_slide_shape_paragraph(request)
2800
+ data, _status_code, _headers = get_notes_slide_shape_paragraph_with_http_info(request)
2801
+ data
2802
+ end
2803
+
2804
+ # Read shape paragraph info.
2805
+ # @param request operation request
2806
+ def get_notes_slide_shape_paragraph_with_http_info(request)
2807
+ if @api_client.config.debugging
2808
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_notes_slide_shape_paragraph ...'
2809
+ end
2810
+ # verify the required parameter 'name' is set
2811
+ if @api_client.config.client_side_validation && request.name.nil?
2812
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_notes_slide_shape_paragraph"
2813
+ end
2814
+ # verify the required parameter 'slide_index' is set
2815
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2816
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2817
+ end
2818
+ # verify the required parameter 'shape_index' is set
2819
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2820
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2821
+ end
2822
+ # verify the required parameter 'paragraph_index' is set
2823
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
2824
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2825
+ end
2826
+ # resource path
2827
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
2401
2828
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2402
2829
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2403
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2404
2830
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2405
2831
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2406
2832
 
@@ -2456,19 +2882,14 @@ module AsposeSlidesCloud
2456
2882
  if @api_client.config.client_side_validation && request.slide_index.nil?
2457
2883
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2458
2884
  end
2459
- # verify the required parameter 'path' is set
2460
- if @api_client.config.client_side_validation && request.path.nil?
2461
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2462
- end
2463
2885
  # verify the required parameter 'shape_index' is set
2464
2886
  if @api_client.config.client_side_validation && request.shape_index.nil?
2465
2887
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2466
2888
  end
2467
2889
  # resource path
2468
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
2890
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
2469
2891
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2470
2892
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2471
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2472
2893
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2473
2894
 
2474
2895
  # query parameters
@@ -2523,10 +2944,6 @@ module AsposeSlidesCloud
2523
2944
  if @api_client.config.client_side_validation && request.slide_index.nil?
2524
2945
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_portion"
2525
2946
  end
2526
- # verify the required parameter 'path' is set
2527
- if @api_client.config.client_side_validation && request.path.nil?
2528
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_portion"
2529
- end
2530
2947
  # verify the required parameter 'shape_index' is set
2531
2948
  if @api_client.config.client_side_validation && request.shape_index.nil?
2532
2949
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_portion"
@@ -2540,10 +2957,9 @@ module AsposeSlidesCloud
2540
2957
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_notes_slide_shape_portion"
2541
2958
  end
2542
2959
  # resource path
2543
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2960
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2544
2961
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2545
2962
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2546
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2547
2963
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2548
2964
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2549
2965
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -2600,10 +3016,6 @@ module AsposeSlidesCloud
2600
3016
  if @api_client.config.client_side_validation && request.slide_index.nil?
2601
3017
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_portions"
2602
3018
  end
2603
- # verify the required parameter 'path' is set
2604
- if @api_client.config.client_side_validation && request.path.nil?
2605
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_portions"
2606
- end
2607
3019
  # verify the required parameter 'shape_index' is set
2608
3020
  if @api_client.config.client_side_validation && request.shape_index.nil?
2609
3021
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_portions"
@@ -2613,10 +3025,9 @@ module AsposeSlidesCloud
2613
3025
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_notes_slide_shape_portions"
2614
3026
  end
2615
3027
  # resource path
2616
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
3028
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2617
3029
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2618
3030
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2619
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2620
3031
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2621
3032
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2622
3033
 
@@ -2672,15 +3083,10 @@ module AsposeSlidesCloud
2672
3083
  if @api_client.config.client_side_validation && request.slide_index.nil?
2673
3084
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shapes"
2674
3085
  end
2675
- # verify the required parameter 'path' is set
2676
- if @api_client.config.client_side_validation && request.path.nil?
2677
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shapes"
2678
- end
2679
3086
  # resource path
2680
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
3087
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
2681
3088
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2682
3089
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2683
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2684
3090
 
2685
3091
  # query parameters
2686
3092
  query_params = {}
@@ -2803,10 +3209,6 @@ module AsposeSlidesCloud
2803
3209
  if @api_client.config.client_side_validation && request.slide_index.nil?
2804
3210
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_paragraph_portion"
2805
3211
  end
2806
- # verify the required parameter 'path' is set
2807
- if @api_client.config.client_side_validation && request.path.nil?
2808
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_paragraph_portion"
2809
- end
2810
3212
  # verify the required parameter 'shape_index' is set
2811
3213
  if @api_client.config.client_side_validation && request.shape_index.nil?
2812
3214
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_paragraph_portion"
@@ -2820,10 +3222,9 @@ module AsposeSlidesCloud
2820
3222
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_paragraph_portion"
2821
3223
  end
2822
3224
  # resource path
2823
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
3225
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2824
3226
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2825
3227
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2826
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2827
3228
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2828
3229
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2829
3230
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -2880,10 +3281,6 @@ module AsposeSlidesCloud
2880
3281
  if @api_client.config.client_side_validation && request.slide_index.nil?
2881
3282
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_paragraph_portions"
2882
3283
  end
2883
- # verify the required parameter 'path' is set
2884
- if @api_client.config.client_side_validation && request.path.nil?
2885
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_paragraph_portions"
2886
- end
2887
3284
  # verify the required parameter 'shape_index' is set
2888
3285
  if @api_client.config.client_side_validation && request.shape_index.nil?
2889
3286
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_paragraph_portions"
@@ -2893,10 +3290,9 @@ module AsposeSlidesCloud
2893
3290
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_paragraph_portions"
2894
3291
  end
2895
3292
  # resource path
2896
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
3293
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2897
3294
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2898
3295
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2899
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2900
3296
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2901
3297
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2902
3298
 
@@ -2952,10 +3348,6 @@ module AsposeSlidesCloud
2952
3348
  if @api_client.config.client_side_validation && request.slide_index.nil?
2953
3349
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_animation"
2954
3350
  end
2955
- # verify the required parameter 'shape_index' is set
2956
- if @api_client.config.client_side_validation && request.shape_index.nil?
2957
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_animation"
2958
- end
2959
3351
  # resource path
2960
3352
  local_var_path = '/slides/{name}/slides/{slideIndex}/animation'
2961
3353
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
@@ -3014,19 +3406,14 @@ module AsposeSlidesCloud
3014
3406
  if @api_client.config.client_side_validation && request.slide_index.nil?
3015
3407
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape"
3016
3408
  end
3017
- # verify the required parameter 'path' is set
3018
- if @api_client.config.client_side_validation && request.path.nil?
3019
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape"
3020
- end
3021
3409
  # verify the required parameter 'shape_index' is set
3022
3410
  if @api_client.config.client_side_validation && request.shape_index.nil?
3023
3411
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape"
3024
3412
  end
3025
3413
  # resource path
3026
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
3414
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
3027
3415
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3028
3416
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3029
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3030
3417
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3031
3418
 
3032
3419
  # query parameters
@@ -3081,10 +3468,6 @@ module AsposeSlidesCloud
3081
3468
  if @api_client.config.client_side_validation && request.slide_index.nil?
3082
3469
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape_paragraph"
3083
3470
  end
3084
- # verify the required parameter 'path' is set
3085
- if @api_client.config.client_side_validation && request.path.nil?
3086
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape_paragraph"
3087
- end
3088
3471
  # verify the required parameter 'shape_index' is set
3089
3472
  if @api_client.config.client_side_validation && request.shape_index.nil?
3090
3473
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape_paragraph"
@@ -3094,10 +3477,9 @@ module AsposeSlidesCloud
3094
3477
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_slide_shape_paragraph"
3095
3478
  end
3096
3479
  # resource path
3097
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
3480
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
3098
3481
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3099
3482
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3100
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3101
3483
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3102
3484
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
3103
3485
 
@@ -3153,19 +3535,14 @@ module AsposeSlidesCloud
3153
3535
  if @api_client.config.client_side_validation && request.slide_index.nil?
3154
3536
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape_paragraphs"
3155
3537
  end
3156
- # verify the required parameter 'path' is set
3157
- if @api_client.config.client_side_validation && request.path.nil?
3158
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape_paragraphs"
3159
- end
3160
3538
  # verify the required parameter 'shape_index' is set
3161
3539
  if @api_client.config.client_side_validation && request.shape_index.nil?
3162
3540
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape_paragraphs"
3163
3541
  end
3164
3542
  # resource path
3165
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
3543
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
3166
3544
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3167
3545
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3168
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3169
3546
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3170
3547
 
3171
3548
  # query parameters
@@ -3220,15 +3597,10 @@ module AsposeSlidesCloud
3220
3597
  if @api_client.config.client_side_validation && request.slide_index.nil?
3221
3598
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shapes"
3222
3599
  end
3223
- # verify the required parameter 'path' is set
3224
- if @api_client.config.client_side_validation && request.path.nil?
3225
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shapes"
3226
- end
3227
3600
  # resource path
3228
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
3601
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
3229
3602
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3230
3603
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3231
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3232
3604
 
3233
3605
  # query parameters
3234
3606
  query_params = {}
@@ -3261,22 +3633,43 @@ module AsposeSlidesCloud
3261
3633
  :return_type => 'Shapes')
3262
3634
  return data, status_code, headers
3263
3635
  end
3264
- # Get API info.
3265
- def get_slides_api_info()
3266
- data, _status_code, _headers = get_slides_api_info_with_http_info
3636
+ # Read slide shape info (for smart art and group shapes).
3637
+ # @param request operation request
3638
+ def get_slide_subshape(request)
3639
+ data, _status_code, _headers = get_slide_subshape_with_http_info(request)
3267
3640
  data
3268
3641
  end
3269
3642
 
3270
- # Get API info.
3271
- def get_slides_api_info_with_http_info()
3643
+ # Read slide shape info (for smart art and group shapes).
3644
+ # @param request operation request
3645
+ def get_slide_subshape_with_http_info(request)
3272
3646
  if @api_client.config.debugging
3273
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_api_info ...'
3647
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape ...'
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"
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"
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"
3274
3660
  end
3275
3661
  # resource path
3276
- local_var_path = '/slides/info'
3662
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
3663
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3664
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3665
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3666
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3277
3667
 
3278
3668
  # query parameters
3279
3669
  query_params = {}
3670
+ query_params[:'password'] = request.password unless request.password.nil?
3671
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3672
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3280
3673
 
3281
3674
  # header parameters
3282
3675
  header_params = {}
@@ -3300,35 +3693,51 @@ module AsposeSlidesCloud
3300
3693
  :body => post_body,
3301
3694
  :files => post_files,
3302
3695
  :auth_names => auth_names,
3303
- :return_type => 'ApiInfo')
3696
+ :return_type => 'ShapeBase')
3304
3697
  return data, status_code, headers
3305
3698
  end
3306
- # Read presentation info.
3699
+ # Read shape paragraph info (for smart art and group shapes).
3307
3700
  # @param request operation request
3308
- def get_slides_document(request)
3309
- data, _status_code, _headers = get_slides_document_with_http_info(request)
3701
+ def get_slide_subshape_paragraph(request)
3702
+ data, _status_code, _headers = get_slide_subshape_paragraph_with_http_info(request)
3310
3703
  data
3311
3704
  end
3312
3705
 
3313
- # Read presentation info.
3706
+ # Read shape paragraph info (for smart art and group shapes).
3314
3707
  # @param request operation request
3315
- def get_slides_document_with_http_info(request)
3708
+ def get_slide_subshape_paragraph_with_http_info(request)
3316
3709
  if @api_client.config.debugging
3317
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_document ...'
3710
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape_paragraph ...'
3318
3711
  end
3319
3712
  # verify the required parameter 'name' is set
3320
3713
  if @api_client.config.client_side_validation && request.name.nil?
3321
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_document"
3714
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape_paragraph"
3715
+ end
3716
+ # verify the required parameter 'slide_index' is set
3717
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3718
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshape_paragraph"
3719
+ end
3720
+ # verify the required parameter 'shape_index' is set
3721
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3722
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape_paragraph"
3723
+ end
3724
+ # verify the required parameter 'paragraph_index' is set
3725
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
3726
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_slide_subshape_paragraph"
3322
3727
  end
3323
3728
  # resource path
3324
- local_var_path = '/slides/{name}'
3729
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
3325
3730
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3731
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3732
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3733
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3734
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
3326
3735
 
3327
3736
  # query parameters
3328
3737
  query_params = {}
3329
3738
  query_params[:'password'] = request.password unless request.password.nil?
3330
- query_params[:'storage'] = request.storage unless request.storage.nil?
3331
3739
  query_params[:'folder'] = request.folder unless request.folder.nil?
3740
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3332
3741
 
3333
3742
  # header parameters
3334
3743
  header_params = {}
@@ -3352,29 +3761,40 @@ module AsposeSlidesCloud
3352
3761
  :body => post_body,
3353
3762
  :files => post_files,
3354
3763
  :auth_names => auth_names,
3355
- :return_type => 'Document')
3764
+ :return_type => 'Paragraph')
3356
3765
  return data, status_code, headers
3357
3766
  end
3358
- # Read presentation document properties.
3767
+ # Read shape paragraphs info (for smart art and group shapes).
3359
3768
  # @param request operation request
3360
- def get_slides_document_properties(request)
3361
- data, _status_code, _headers = get_slides_document_properties_with_http_info(request)
3769
+ def get_slide_subshape_paragraphs(request)
3770
+ data, _status_code, _headers = get_slide_subshape_paragraphs_with_http_info(request)
3362
3771
  data
3363
3772
  end
3364
3773
 
3365
- # Read presentation document properties.
3774
+ # Read shape paragraphs info (for smart art and group shapes).
3366
3775
  # @param request operation request
3367
- def get_slides_document_properties_with_http_info(request)
3776
+ def get_slide_subshape_paragraphs_with_http_info(request)
3368
3777
  if @api_client.config.debugging
3369
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_document_properties ...'
3778
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape_paragraphs ...'
3370
3779
  end
3371
3780
  # verify the required parameter 'name' is set
3372
3781
  if @api_client.config.client_side_validation && request.name.nil?
3373
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_document_properties"
3782
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape_paragraphs"
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_subshape_paragraphs"
3787
+ end
3788
+ # verify the required parameter 'shape_index' is set
3789
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3790
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape_paragraphs"
3374
3791
  end
3375
3792
  # resource path
3376
- local_var_path = '/slides/{name}/documentproperties'
3793
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
3377
3794
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3795
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3796
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3797
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3378
3798
 
3379
3799
  # query parameters
3380
3800
  query_params = {}
@@ -3404,34 +3824,35 @@ module AsposeSlidesCloud
3404
3824
  :body => post_body,
3405
3825
  :files => post_files,
3406
3826
  :auth_names => auth_names,
3407
- :return_type => 'DocumentProperties')
3827
+ :return_type => 'Paragraphs')
3408
3828
  return data, status_code, headers
3409
3829
  end
3410
- # Read presentation document property.
3830
+ # Read slide shapes info.
3411
3831
  # @param request operation request
3412
- def get_slides_document_property(request)
3413
- data, _status_code, _headers = get_slides_document_property_with_http_info(request)
3832
+ def get_slide_subshapes(request)
3833
+ data, _status_code, _headers = get_slide_subshapes_with_http_info(request)
3414
3834
  data
3415
3835
  end
3416
3836
 
3417
- # Read presentation document property.
3837
+ # Read slide shapes info.
3418
3838
  # @param request operation request
3419
- def get_slides_document_property_with_http_info(request)
3839
+ def get_slide_subshapes_with_http_info(request)
3420
3840
  if @api_client.config.debugging
3421
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_document_property ...'
3841
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshapes ...'
3422
3842
  end
3423
3843
  # verify the required parameter 'name' is set
3424
3844
  if @api_client.config.client_side_validation && request.name.nil?
3425
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_document_property"
3845
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshapes"
3426
3846
  end
3427
- # verify the required parameter 'property_name' is set
3428
- if @api_client.config.client_side_validation && request.property_name.nil?
3429
- fail ArgumentError, "Missing the required parameter 'property_name' when calling SlidesApi.get_slides_document_property"
3847
+ # verify the required parameter 'slide_index' is set
3848
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3849
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshapes"
3430
3850
  end
3431
3851
  # resource path
3432
- local_var_path = '/slides/{name}/documentproperties/{propertyName}'
3852
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
3433
3853
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3434
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'propertyName', request.property_name)
3854
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3855
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3435
3856
 
3436
3857
  # query parameters
3437
3858
  query_params = {}
@@ -3461,45 +3882,30 @@ module AsposeSlidesCloud
3461
3882
  :body => post_body,
3462
3883
  :files => post_files,
3463
3884
  :auth_names => auth_names,
3464
- :return_type => 'DocumentProperty')
3885
+ :return_type => 'Shapes')
3465
3886
  return data, status_code, headers
3466
3887
  end
3467
- # Get image binary data.
3468
- # @param request operation request
3469
- def get_slides_image_with_default_format(request)
3470
- data, _status_code, _headers = get_slides_image_with_default_format_with_http_info(request)
3888
+ # Get API info.
3889
+ def get_slides_api_info()
3890
+ data, _status_code, _headers = get_slides_api_info_with_http_info
3471
3891
  data
3472
3892
  end
3473
3893
 
3474
- # Get image binary data.
3475
- # @param request operation request
3476
- def get_slides_image_with_default_format_with_http_info(request)
3894
+ # Get API info.
3895
+ def get_slides_api_info_with_http_info()
3477
3896
  if @api_client.config.debugging
3478
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_image_with_default_format ...'
3479
- end
3480
- # verify the required parameter 'name' is set
3481
- if @api_client.config.client_side_validation && request.name.nil?
3482
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_image_with_default_format"
3483
- end
3484
- # verify the required parameter 'index' is set
3485
- if @api_client.config.client_side_validation && request.index.nil?
3486
- fail ArgumentError, "Missing the required parameter 'index' when calling SlidesApi.get_slides_image_with_default_format"
3897
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_api_info ...'
3487
3898
  end
3488
3899
  # resource path
3489
- local_var_path = '/slides/{name}/images/{index}'
3490
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3491
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'index', request.index)
3900
+ local_var_path = '/slides/info'
3492
3901
 
3493
3902
  # query parameters
3494
3903
  query_params = {}
3495
- query_params[:'password'] = request.password unless request.password.nil?
3496
- query_params[:'folder'] = request.folder unless request.folder.nil?
3497
- query_params[:'storage'] = request.storage unless request.storage.nil?
3498
3904
 
3499
3905
  # header parameters
3500
3906
  header_params = {}
3501
3907
  # HTTP header 'Accept' (if needed)
3502
- header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
3908
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3503
3909
  # HTTP header 'Content-Type'
3504
3910
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3505
3911
 
@@ -3518,54 +3924,272 @@ module AsposeSlidesCloud
3518
3924
  :body => post_body,
3519
3925
  :files => post_files,
3520
3926
  :auth_names => auth_names,
3521
- :return_type => 'File')
3927
+ :return_type => 'ApiInfo')
3522
3928
  return data, status_code, headers
3523
3929
  end
3524
- # Get image in specified format.
3930
+ # Read presentation info.
3525
3931
  # @param request operation request
3526
- def get_slides_image_with_format(request)
3527
- data, _status_code, _headers = get_slides_image_with_format_with_http_info(request)
3932
+ def get_slides_document(request)
3933
+ data, _status_code, _headers = get_slides_document_with_http_info(request)
3528
3934
  data
3529
3935
  end
3530
3936
 
3531
- # Get image in specified format.
3937
+ # Read presentation info.
3532
3938
  # @param request operation request
3533
- def get_slides_image_with_format_with_http_info(request)
3939
+ def get_slides_document_with_http_info(request)
3534
3940
  if @api_client.config.debugging
3535
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_image_with_format ...'
3941
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_document ...'
3536
3942
  end
3537
3943
  # verify the required parameter 'name' is set
3538
3944
  if @api_client.config.client_side_validation && request.name.nil?
3539
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_image_with_format"
3540
- end
3541
- # verify the required parameter 'index' is set
3542
- if @api_client.config.client_side_validation && request.index.nil?
3543
- fail ArgumentError, "Missing the required parameter 'index' when calling SlidesApi.get_slides_image_with_format"
3544
- end
3545
- # verify the required parameter 'format' is set
3546
- if @api_client.config.client_side_validation && request.format.nil?
3547
- fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.get_slides_image_with_format"
3548
- end
3549
- # verify enum value
3550
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(request.format)==0 }
3551
- fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff"
3945
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_document"
3552
3946
  end
3553
3947
  # resource path
3554
- local_var_path = '/slides/{name}/images/{index}/{format}'
3948
+ local_var_path = '/slides/{name}'
3555
3949
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3556
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'index', request.index)
3557
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
3558
3950
 
3559
3951
  # query parameters
3560
3952
  query_params = {}
3561
3953
  query_params[:'password'] = request.password unless request.password.nil?
3562
- query_params[:'folder'] = request.folder unless request.folder.nil?
3563
3954
  query_params[:'storage'] = request.storage unless request.storage.nil?
3955
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3564
3956
 
3565
3957
  # header parameters
3566
3958
  header_params = {}
3567
3959
  # HTTP header 'Accept' (if needed)
3568
- header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
3960
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3961
+ # HTTP header 'Content-Type'
3962
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3963
+
3964
+ # http body (model)
3965
+ post_body = nil
3966
+
3967
+ # form parameters
3968
+
3969
+ post_files = nil
3970
+
3971
+
3972
+ auth_names = ['JWT']
3973
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3974
+ :header_params => header_params,
3975
+ :query_params => query_params,
3976
+ :body => post_body,
3977
+ :files => post_files,
3978
+ :auth_names => auth_names,
3979
+ :return_type => 'Document')
3980
+ return data, status_code, headers
3981
+ end
3982
+ # Read presentation document properties.
3983
+ # @param request operation request
3984
+ def get_slides_document_properties(request)
3985
+ data, _status_code, _headers = get_slides_document_properties_with_http_info(request)
3986
+ data
3987
+ end
3988
+
3989
+ # Read presentation document properties.
3990
+ # @param request operation request
3991
+ def get_slides_document_properties_with_http_info(request)
3992
+ if @api_client.config.debugging
3993
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_document_properties ...'
3994
+ end
3995
+ # verify the required parameter 'name' is set
3996
+ if @api_client.config.client_side_validation && request.name.nil?
3997
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_document_properties"
3998
+ end
3999
+ # resource path
4000
+ local_var_path = '/slides/{name}/documentproperties'
4001
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4002
+
4003
+ # query parameters
4004
+ query_params = {}
4005
+ query_params[:'password'] = request.password unless request.password.nil?
4006
+ query_params[:'folder'] = request.folder unless request.folder.nil?
4007
+ query_params[:'storage'] = request.storage unless request.storage.nil?
4008
+
4009
+ # header parameters
4010
+ header_params = {}
4011
+ # HTTP header 'Accept' (if needed)
4012
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4013
+ # HTTP header 'Content-Type'
4014
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4015
+
4016
+ # http body (model)
4017
+ post_body = nil
4018
+
4019
+ # form parameters
4020
+
4021
+ post_files = nil
4022
+
4023
+
4024
+ auth_names = ['JWT']
4025
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4026
+ :header_params => header_params,
4027
+ :query_params => query_params,
4028
+ :body => post_body,
4029
+ :files => post_files,
4030
+ :auth_names => auth_names,
4031
+ :return_type => 'DocumentProperties')
4032
+ return data, status_code, headers
4033
+ end
4034
+ # Read presentation document property.
4035
+ # @param request operation request
4036
+ def get_slides_document_property(request)
4037
+ data, _status_code, _headers = get_slides_document_property_with_http_info(request)
4038
+ data
4039
+ end
4040
+
4041
+ # Read presentation document property.
4042
+ # @param request operation request
4043
+ def get_slides_document_property_with_http_info(request)
4044
+ if @api_client.config.debugging
4045
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_document_property ...'
4046
+ end
4047
+ # verify the required parameter 'name' is set
4048
+ if @api_client.config.client_side_validation && request.name.nil?
4049
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_document_property"
4050
+ end
4051
+ # verify the required parameter 'property_name' is set
4052
+ if @api_client.config.client_side_validation && request.property_name.nil?
4053
+ fail ArgumentError, "Missing the required parameter 'property_name' when calling SlidesApi.get_slides_document_property"
4054
+ end
4055
+ # resource path
4056
+ local_var_path = '/slides/{name}/documentproperties/{propertyName}'
4057
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4058
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'propertyName', request.property_name)
4059
+
4060
+ # query parameters
4061
+ query_params = {}
4062
+ query_params[:'password'] = request.password unless request.password.nil?
4063
+ query_params[:'folder'] = request.folder unless request.folder.nil?
4064
+ query_params[:'storage'] = request.storage unless request.storage.nil?
4065
+
4066
+ # header parameters
4067
+ header_params = {}
4068
+ # HTTP header 'Accept' (if needed)
4069
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4070
+ # HTTP header 'Content-Type'
4071
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4072
+
4073
+ # http body (model)
4074
+ post_body = nil
4075
+
4076
+ # form parameters
4077
+
4078
+ post_files = nil
4079
+
4080
+
4081
+ auth_names = ['JWT']
4082
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4083
+ :header_params => header_params,
4084
+ :query_params => query_params,
4085
+ :body => post_body,
4086
+ :files => post_files,
4087
+ :auth_names => auth_names,
4088
+ :return_type => 'DocumentProperty')
4089
+ return data, status_code, headers
4090
+ end
4091
+ # Get image binary data.
4092
+ # @param request operation request
4093
+ def get_slides_image_with_default_format(request)
4094
+ data, _status_code, _headers = get_slides_image_with_default_format_with_http_info(request)
4095
+ data
4096
+ end
4097
+
4098
+ # Get image binary data.
4099
+ # @param request operation request
4100
+ def get_slides_image_with_default_format_with_http_info(request)
4101
+ if @api_client.config.debugging
4102
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_image_with_default_format ...'
4103
+ end
4104
+ # verify the required parameter 'name' is set
4105
+ if @api_client.config.client_side_validation && request.name.nil?
4106
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_image_with_default_format"
4107
+ end
4108
+ # verify the required parameter 'index' is set
4109
+ if @api_client.config.client_side_validation && request.index.nil?
4110
+ fail ArgumentError, "Missing the required parameter 'index' when calling SlidesApi.get_slides_image_with_default_format"
4111
+ end
4112
+ # resource path
4113
+ local_var_path = '/slides/{name}/images/{index}'
4114
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4115
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'index', request.index)
4116
+
4117
+ # query parameters
4118
+ query_params = {}
4119
+ query_params[:'password'] = request.password unless request.password.nil?
4120
+ query_params[:'folder'] = request.folder unless request.folder.nil?
4121
+ query_params[:'storage'] = request.storage unless request.storage.nil?
4122
+
4123
+ # header parameters
4124
+ header_params = {}
4125
+ # HTTP header 'Accept' (if needed)
4126
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
4127
+ # HTTP header 'Content-Type'
4128
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4129
+
4130
+ # http body (model)
4131
+ post_body = nil
4132
+
4133
+ # form parameters
4134
+
4135
+ post_files = nil
4136
+
4137
+
4138
+ auth_names = ['JWT']
4139
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4140
+ :header_params => header_params,
4141
+ :query_params => query_params,
4142
+ :body => post_body,
4143
+ :files => post_files,
4144
+ :auth_names => auth_names,
4145
+ :return_type => 'File')
4146
+ return data, status_code, headers
4147
+ end
4148
+ # Get image in specified format.
4149
+ # @param request operation request
4150
+ def get_slides_image_with_format(request)
4151
+ data, _status_code, _headers = get_slides_image_with_format_with_http_info(request)
4152
+ data
4153
+ end
4154
+
4155
+ # Get image in specified format.
4156
+ # @param request operation request
4157
+ def get_slides_image_with_format_with_http_info(request)
4158
+ if @api_client.config.debugging
4159
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_image_with_format ...'
4160
+ end
4161
+ # verify the required parameter 'name' is set
4162
+ if @api_client.config.client_side_validation && request.name.nil?
4163
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_image_with_format"
4164
+ end
4165
+ # verify the required parameter 'index' is set
4166
+ if @api_client.config.client_side_validation && request.index.nil?
4167
+ fail ArgumentError, "Missing the required parameter 'index' when calling SlidesApi.get_slides_image_with_format"
4168
+ end
4169
+ # verify the required parameter 'format' is set
4170
+ if @api_client.config.client_side_validation && request.format.nil?
4171
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.get_slides_image_with_format"
4172
+ end
4173
+ # verify enum value
4174
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(request.format)==0 }
4175
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff"
4176
+ end
4177
+ # resource path
4178
+ local_var_path = '/slides/{name}/images/{index}/{format}'
4179
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4180
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'index', request.index)
4181
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
4182
+
4183
+ # query parameters
4184
+ query_params = {}
4185
+ query_params[:'password'] = request.password unless request.password.nil?
4186
+ query_params[:'folder'] = request.folder unless request.folder.nil?
4187
+ query_params[:'storage'] = request.storage unless request.storage.nil?
4188
+
4189
+ # header parameters
4190
+ header_params = {}
4191
+ # HTTP header 'Accept' (if needed)
4192
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
3569
4193
  # HTTP header 'Content-Type'
3570
4194
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3571
4195
 
@@ -4377,34 +5001,227 @@ module AsposeSlidesCloud
4377
5001
  :return_type => 'FormatScheme')
4378
5002
  return data, status_code, headers
4379
5003
  end
4380
- # Move file
5004
+ # Read presentation document properties.
4381
5005
  # @param request operation request
4382
- def move_file(request)
4383
- move_file_with_http_info(request)
4384
- nil
5006
+ def get_slides_view_properties(request)
5007
+ data, _status_code, _headers = get_slides_view_properties_with_http_info(request)
5008
+ data
4385
5009
  end
4386
5010
 
4387
- # Move file
5011
+ # Read presentation document properties.
4388
5012
  # @param request operation request
4389
- def move_file_with_http_info(request)
5013
+ def get_slides_view_properties_with_http_info(request)
4390
5014
  if @api_client.config.debugging
4391
- @api_client.config.logger.debug 'Calling API: SlidesApi.move_file ...'
4392
- end
4393
- # verify the required parameter 'src_path' is set
4394
- if @api_client.config.client_side_validation && request.src_path.nil?
4395
- fail ArgumentError, "Missing the required parameter 'src_path' when calling SlidesApi.move_file"
5015
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_view_properties ...'
4396
5016
  end
4397
- # verify the required parameter 'dest_path' is set
4398
- if @api_client.config.client_side_validation && request.dest_path.nil?
4399
- fail ArgumentError, "Missing the required parameter 'dest_path' when calling SlidesApi.move_file"
5017
+ # verify the required parameter 'name' is set
5018
+ if @api_client.config.client_side_validation && request.name.nil?
5019
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_view_properties"
4400
5020
  end
4401
5021
  # resource path
4402
- local_var_path = '/slides/storage/file/move/{srcPath}'
4403
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'srcPath', request.src_path)
5022
+ local_var_path = '/slides/{name}/viewProperties'
5023
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4404
5024
 
4405
5025
  # query parameters
4406
5026
  query_params = {}
4407
- query_params[:'destPath'] = request.dest_path unless request.dest_path.nil?
5027
+ query_params[:'password'] = request.password unless request.password.nil?
5028
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5029
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5030
+
5031
+ # header parameters
5032
+ header_params = {}
5033
+ # HTTP header 'Accept' (if needed)
5034
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5035
+ # HTTP header 'Content-Type'
5036
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5037
+
5038
+ # http body (model)
5039
+ post_body = nil
5040
+
5041
+ # form parameters
5042
+
5043
+ post_files = nil
5044
+
5045
+
5046
+ auth_names = ['JWT']
5047
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5048
+ :header_params => header_params,
5049
+ :query_params => query_params,
5050
+ :body => post_body,
5051
+ :files => post_files,
5052
+ :auth_names => auth_names,
5053
+ :return_type => 'ViewProperties')
5054
+ return data, status_code, headers
5055
+ end
5056
+ # Read paragraph portion info (for smart art and group shapes).
5057
+ # @param request operation request
5058
+ def get_subshape_paragraph_portion(request)
5059
+ data, _status_code, _headers = get_subshape_paragraph_portion_with_http_info(request)
5060
+ data
5061
+ end
5062
+
5063
+ # Read paragraph portion info (for smart art and group shapes).
5064
+ # @param request operation request
5065
+ def get_subshape_paragraph_portion_with_http_info(request)
5066
+ if @api_client.config.debugging
5067
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_subshape_paragraph_portion ...'
5068
+ end
5069
+ # verify the required parameter 'name' is set
5070
+ if @api_client.config.client_side_validation && request.name.nil?
5071
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_subshape_paragraph_portion"
5072
+ end
5073
+ # verify the required parameter 'slide_index' is set
5074
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5075
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_subshape_paragraph_portion"
5076
+ end
5077
+ # verify the required parameter 'shape_index' is set
5078
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5079
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_subshape_paragraph_portion"
5080
+ end
5081
+ # verify the required parameter 'paragraph_index' is set
5082
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5083
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_subshape_paragraph_portion"
5084
+ end
5085
+ # verify the required parameter 'portion_index' is set
5086
+ if @api_client.config.client_side_validation && request.portion_index.nil?
5087
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_subshape_paragraph_portion"
5088
+ end
5089
+ # resource path
5090
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
5091
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5092
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5093
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5094
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5095
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5096
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
5097
+
5098
+ # query parameters
5099
+ query_params = {}
5100
+ query_params[:'password'] = request.password unless request.password.nil?
5101
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5102
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5103
+
5104
+ # header parameters
5105
+ header_params = {}
5106
+ # HTTP header 'Accept' (if needed)
5107
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5108
+ # HTTP header 'Content-Type'
5109
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5110
+
5111
+ # http body (model)
5112
+ post_body = nil
5113
+
5114
+ # form parameters
5115
+
5116
+ post_files = nil
5117
+
5118
+
5119
+ auth_names = ['JWT']
5120
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5121
+ :header_params => header_params,
5122
+ :query_params => query_params,
5123
+ :body => post_body,
5124
+ :files => post_files,
5125
+ :auth_names => auth_names,
5126
+ :return_type => 'Portion')
5127
+ return data, status_code, headers
5128
+ end
5129
+ # Read paragraph portions info (for smart art and group shapes).
5130
+ # @param request operation request
5131
+ def get_subshape_paragraph_portions(request)
5132
+ data, _status_code, _headers = get_subshape_paragraph_portions_with_http_info(request)
5133
+ data
5134
+ end
5135
+
5136
+ # Read paragraph portions info (for smart art and group shapes).
5137
+ # @param request operation request
5138
+ def get_subshape_paragraph_portions_with_http_info(request)
5139
+ if @api_client.config.debugging
5140
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_subshape_paragraph_portions ...'
5141
+ end
5142
+ # verify the required parameter 'name' is set
5143
+ if @api_client.config.client_side_validation && request.name.nil?
5144
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_subshape_paragraph_portions"
5145
+ end
5146
+ # verify the required parameter 'slide_index' is set
5147
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5148
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_subshape_paragraph_portions"
5149
+ end
5150
+ # verify the required parameter 'shape_index' is set
5151
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5152
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_subshape_paragraph_portions"
5153
+ end
5154
+ # verify the required parameter 'paragraph_index' is set
5155
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5156
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_subshape_paragraph_portions"
5157
+ end
5158
+ # resource path
5159
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5160
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5161
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5162
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5163
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5164
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5165
+
5166
+ # query parameters
5167
+ query_params = {}
5168
+ query_params[:'password'] = request.password unless request.password.nil?
5169
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5170
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5171
+
5172
+ # header parameters
5173
+ header_params = {}
5174
+ # HTTP header 'Accept' (if needed)
5175
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5176
+ # HTTP header 'Content-Type'
5177
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5178
+
5179
+ # http body (model)
5180
+ post_body = nil
5181
+
5182
+ # form parameters
5183
+
5184
+ post_files = nil
5185
+
5186
+
5187
+ auth_names = ['JWT']
5188
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5189
+ :header_params => header_params,
5190
+ :query_params => query_params,
5191
+ :body => post_body,
5192
+ :files => post_files,
5193
+ :auth_names => auth_names,
5194
+ :return_type => 'Portions')
5195
+ return data, status_code, headers
5196
+ end
5197
+ # Move file
5198
+ # @param request operation request
5199
+ def move_file(request)
5200
+ move_file_with_http_info(request)
5201
+ nil
5202
+ end
5203
+
5204
+ # Move file
5205
+ # @param request operation request
5206
+ def move_file_with_http_info(request)
5207
+ if @api_client.config.debugging
5208
+ @api_client.config.logger.debug 'Calling API: SlidesApi.move_file ...'
5209
+ end
5210
+ # verify the required parameter 'src_path' is set
5211
+ if @api_client.config.client_side_validation && request.src_path.nil?
5212
+ fail ArgumentError, "Missing the required parameter 'src_path' when calling SlidesApi.move_file"
5213
+ end
5214
+ # verify the required parameter 'dest_path' is set
5215
+ if @api_client.config.client_side_validation && request.dest_path.nil?
5216
+ fail ArgumentError, "Missing the required parameter 'dest_path' when calling SlidesApi.move_file"
5217
+ end
5218
+ # resource path
5219
+ local_var_path = '/slides/storage/file/move/{srcPath}'
5220
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'srcPath', request.src_path)
5221
+
5222
+ # query parameters
5223
+ query_params = {}
5224
+ query_params[:'destPath'] = request.dest_path unless request.dest_path.nil?
4408
5225
  query_params[:'srcStorageName'] = request.src_storage_name unless request.src_storage_name.nil?
4409
5226
  query_params[:'destStorageName'] = request.dest_storage_name unless request.dest_storage_name.nil?
4410
5227
  query_params[:'versionId'] = request.version_id unless request.version_id.nil?
@@ -4501,10 +5318,6 @@ module AsposeSlidesCloud
4501
5318
  if @api_client.config.debugging
4502
5319
  @api_client.config.logger.debug 'Calling API: SlidesApi.object_exists ...'
4503
5320
  end
4504
- # verify the required parameter 'path' is set
4505
- if @api_client.config.client_side_validation && request.path.nil?
4506
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.object_exists"
4507
- end
4508
5321
  # resource path
4509
5322
  local_var_path = '/slides/storage/exist/{path}'
4510
5323
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -4560,19 +5373,14 @@ module AsposeSlidesCloud
4560
5373
  if @api_client.config.client_side_validation && request.slide_index.nil?
4561
5374
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_paragraph"
4562
5375
  end
4563
- # verify the required parameter 'path' is set
4564
- if @api_client.config.client_side_validation && request.path.nil?
4565
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_paragraph"
4566
- end
4567
5376
  # verify the required parameter 'shape_index' is set
4568
5377
  if @api_client.config.client_side_validation && request.shape_index.nil?
4569
5378
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_paragraph"
4570
5379
  end
4571
5380
  # resource path
4572
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
5381
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
4573
5382
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4574
5383
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4575
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4576
5384
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4577
5385
 
4578
5386
  # query parameters
@@ -4628,10 +5436,6 @@ module AsposeSlidesCloud
4628
5436
  if @api_client.config.client_side_validation && request.slide_index.nil?
4629
5437
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_portion"
4630
5438
  end
4631
- # verify the required parameter 'path' is set
4632
- if @api_client.config.client_side_validation && request.path.nil?
4633
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_portion"
4634
- end
4635
5439
  # verify the required parameter 'shape_index' is set
4636
5440
  if @api_client.config.client_side_validation && request.shape_index.nil?
4637
5441
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_portion"
@@ -4641,10 +5445,9 @@ module AsposeSlidesCloud
4641
5445
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_add_new_portion"
4642
5446
  end
4643
5447
  # resource path
4644
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5448
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
4645
5449
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4646
5450
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4647
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4648
5451
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4649
5452
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
4650
5453
 
@@ -4701,15 +5504,10 @@ module AsposeSlidesCloud
4701
5504
  if @api_client.config.client_side_validation && request.slide_index.nil?
4702
5505
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_shape"
4703
5506
  end
4704
- # verify the required parameter 'path' is set
4705
- if @api_client.config.client_side_validation && request.path.nil?
4706
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_shape"
4707
- end
4708
5507
  # resource path
4709
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
5508
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
4710
5509
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4711
5510
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4712
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4713
5511
 
4714
5512
  # query parameters
4715
5513
  query_params = {}
@@ -4744,37 +5542,40 @@ module AsposeSlidesCloud
4744
5542
  :return_type => 'ShapeBase')
4745
5543
  return data, status_code, headers
4746
5544
  end
4747
- # Add new notes slide.
5545
+ # Create new shape (for smart art and group shapes).
4748
5546
  # @param request operation request
4749
- def post_add_notes_slide(request)
4750
- data, _status_code, _headers = post_add_notes_slide_with_http_info(request)
5547
+ def post_add_new_subshape(request)
5548
+ data, _status_code, _headers = post_add_new_subshape_with_http_info(request)
4751
5549
  data
4752
5550
  end
4753
5551
 
4754
- # Add new notes slide.
5552
+ # Create new shape (for smart art and group shapes).
4755
5553
  # @param request operation request
4756
- def post_add_notes_slide_with_http_info(request)
5554
+ def post_add_new_subshape_with_http_info(request)
4757
5555
  if @api_client.config.debugging
4758
- @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_notes_slide ...'
5556
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape ...'
4759
5557
  end
4760
5558
  # verify the required parameter 'name' is set
4761
5559
  if @api_client.config.client_side_validation && request.name.nil?
4762
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_notes_slide"
5560
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape"
4763
5561
  end
4764
5562
  # verify the required parameter 'slide_index' is set
4765
5563
  if @api_client.config.client_side_validation && request.slide_index.nil?
4766
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_notes_slide"
5564
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape"
4767
5565
  end
4768
5566
  # resource path
4769
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide'
5567
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
4770
5568
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4771
5569
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5570
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4772
5571
 
4773
5572
  # query parameters
4774
5573
  query_params = {}
4775
5574
  query_params[:'password'] = request.password unless request.password.nil?
4776
5575
  query_params[:'folder'] = request.folder unless request.folder.nil?
4777
5576
  query_params[:'storage'] = request.storage unless request.storage.nil?
5577
+ query_params[:'shapeToClone'] = request.shape_to_clone unless request.shape_to_clone.nil?
5578
+ query_params[:'position'] = request.position unless request.position.nil?
4778
5579
 
4779
5580
  # header parameters
4780
5581
  header_params = {}
@@ -4798,47 +5599,47 @@ module AsposeSlidesCloud
4798
5599
  :body => post_body,
4799
5600
  :files => post_files,
4800
5601
  :auth_names => auth_names,
4801
- :return_type => 'NotesSlide')
5602
+ :return_type => 'ShapeBase')
4802
5603
  return data, status_code, headers
4803
5604
  end
4804
- # Copy layoutSlide from source presentation.
5605
+ # Creates new paragraph (for smart art and group shapes).
4805
5606
  # @param request operation request
4806
- def post_copy_layout_slide_from_source_presentation(request)
4807
- data, _status_code, _headers = post_copy_layout_slide_from_source_presentation_with_http_info(request)
5607
+ def post_add_new_subshape_paragraph(request)
5608
+ data, _status_code, _headers = post_add_new_subshape_paragraph_with_http_info(request)
4808
5609
  data
4809
5610
  end
4810
5611
 
4811
- # Copy layoutSlide from source presentation.
5612
+ # Creates new paragraph (for smart art and group shapes).
4812
5613
  # @param request operation request
4813
- def post_copy_layout_slide_from_source_presentation_with_http_info(request)
5614
+ def post_add_new_subshape_paragraph_with_http_info(request)
4814
5615
  if @api_client.config.debugging
4815
- @api_client.config.logger.debug 'Calling API: SlidesApi.post_copy_layout_slide_from_source_presentation ...'
5616
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape_paragraph ...'
4816
5617
  end
4817
5618
  # verify the required parameter 'name' is set
4818
5619
  if @api_client.config.client_side_validation && request.name.nil?
4819
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_copy_layout_slide_from_source_presentation"
5620
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape_paragraph"
4820
5621
  end
4821
- # verify the required parameter 'clone_from' is set
4822
- if @api_client.config.client_side_validation && request.clone_from.nil?
4823
- fail ArgumentError, "Missing the required parameter 'clone_from' when calling SlidesApi.post_copy_layout_slide_from_source_presentation"
5622
+ # verify the required parameter 'slide_index' is set
5623
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5624
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape_paragraph"
4824
5625
  end
4825
- # verify the required parameter 'clone_from_position' is set
4826
- if @api_client.config.client_side_validation && request.clone_from_position.nil?
4827
- fail ArgumentError, "Missing the required parameter 'clone_from_position' when calling SlidesApi.post_copy_layout_slide_from_source_presentation"
5626
+ # verify the required parameter 'shape_index' is set
5627
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5628
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_subshape_paragraph"
4828
5629
  end
4829
5630
  # resource path
4830
- local_var_path = '/slides/{name}/layoutSlides'
5631
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
4831
5632
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5633
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5634
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5635
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4832
5636
 
4833
5637
  # query parameters
4834
5638
  query_params = {}
4835
- query_params[:'cloneFrom'] = request.clone_from unless request.clone_from.nil?
4836
- query_params[:'cloneFromPosition'] = request.clone_from_position unless request.clone_from_position.nil?
4837
- query_params[:'cloneFromPassword'] = request.clone_from_password unless request.clone_from_password.nil?
4838
- query_params[:'cloneFromStorage'] = request.clone_from_storage unless request.clone_from_storage.nil?
4839
5639
  query_params[:'password'] = request.password unless request.password.nil?
4840
5640
  query_params[:'folder'] = request.folder unless request.folder.nil?
4841
5641
  query_params[:'storage'] = request.storage unless request.storage.nil?
5642
+ query_params[:'position'] = request.position unless request.position.nil?
4842
5643
 
4843
5644
  # header parameters
4844
5645
  header_params = {}
@@ -4848,7 +5649,7 @@ module AsposeSlidesCloud
4848
5649
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4849
5650
 
4850
5651
  # http body (model)
4851
- post_body = nil
5652
+ post_body = @api_client.object_to_http_body(request.dto)
4852
5653
 
4853
5654
  # form parameters
4854
5655
 
@@ -4862,39 +5663,291 @@ module AsposeSlidesCloud
4862
5663
  :body => post_body,
4863
5664
  :files => post_files,
4864
5665
  :auth_names => auth_names,
4865
- :return_type => 'LayoutSlide')
5666
+ :return_type => 'Paragraph')
4866
5667
  return data, status_code, headers
4867
5668
  end
4868
- # Copy masterSlide from source presentation.
5669
+ # Creates new portion (for smart art and group shapes).
4869
5670
  # @param request operation request
4870
- def post_copy_master_slide_from_source_presentation(request)
4871
- data, _status_code, _headers = post_copy_master_slide_from_source_presentation_with_http_info(request)
5671
+ def post_add_new_subshape_portion(request)
5672
+ data, _status_code, _headers = post_add_new_subshape_portion_with_http_info(request)
4872
5673
  data
4873
5674
  end
4874
5675
 
4875
- # Copy masterSlide from source presentation.
5676
+ # Creates new portion (for smart art and group shapes).
4876
5677
  # @param request operation request
4877
- def post_copy_master_slide_from_source_presentation_with_http_info(request)
5678
+ def post_add_new_subshape_portion_with_http_info(request)
4878
5679
  if @api_client.config.debugging
4879
- @api_client.config.logger.debug 'Calling API: SlidesApi.post_copy_master_slide_from_source_presentation ...'
5680
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape_portion ...'
4880
5681
  end
4881
5682
  # verify the required parameter 'name' is set
4882
5683
  if @api_client.config.client_side_validation && request.name.nil?
4883
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5684
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape_portion"
4884
5685
  end
4885
- # verify the required parameter 'clone_from' is set
4886
- if @api_client.config.client_side_validation && request.clone_from.nil?
4887
- fail ArgumentError, "Missing the required parameter 'clone_from' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5686
+ # verify the required parameter 'slide_index' is set
5687
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5688
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape_portion"
4888
5689
  end
4889
- # verify the required parameter 'clone_from_position' is set
4890
- if @api_client.config.client_side_validation && request.clone_from_position.nil?
4891
- fail ArgumentError, "Missing the required parameter 'clone_from_position' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5690
+ # verify the required parameter 'shape_index' is set
5691
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5692
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_subshape_portion"
5693
+ end
5694
+ # verify the required parameter 'paragraph_index' is set
5695
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5696
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_add_new_subshape_portion"
4892
5697
  end
4893
5698
  # resource path
4894
- local_var_path = '/slides/{name}/masterSlides'
5699
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
4895
5700
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4896
-
4897
- # query parameters
5701
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5702
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5703
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5704
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5705
+
5706
+ # query parameters
5707
+ query_params = {}
5708
+ query_params[:'password'] = request.password unless request.password.nil?
5709
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5710
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5711
+ query_params[:'position'] = request.position unless request.position.nil?
5712
+
5713
+ # header parameters
5714
+ header_params = {}
5715
+ # HTTP header 'Accept' (if needed)
5716
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5717
+ # HTTP header 'Content-Type'
5718
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5719
+
5720
+ # http body (model)
5721
+ post_body = @api_client.object_to_http_body(request.dto)
5722
+
5723
+ # form parameters
5724
+
5725
+ post_files = nil
5726
+
5727
+
5728
+ auth_names = ['JWT']
5729
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5730
+ :header_params => header_params,
5731
+ :query_params => query_params,
5732
+ :body => post_body,
5733
+ :files => post_files,
5734
+ :auth_names => auth_names,
5735
+ :return_type => 'Portion')
5736
+ return data, status_code, headers
5737
+ end
5738
+ # Add new notes slide.
5739
+ # @param request operation request
5740
+ def post_add_notes_slide(request)
5741
+ data, _status_code, _headers = post_add_notes_slide_with_http_info(request)
5742
+ data
5743
+ end
5744
+
5745
+ # Add new notes slide.
5746
+ # @param request operation request
5747
+ def post_add_notes_slide_with_http_info(request)
5748
+ if @api_client.config.debugging
5749
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_notes_slide ...'
5750
+ end
5751
+ # verify the required parameter 'name' is set
5752
+ if @api_client.config.client_side_validation && request.name.nil?
5753
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_notes_slide"
5754
+ end
5755
+ # verify the required parameter 'slide_index' is set
5756
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5757
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_notes_slide"
5758
+ end
5759
+ # resource path
5760
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide'
5761
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5762
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5763
+
5764
+ # query parameters
5765
+ query_params = {}
5766
+ query_params[:'password'] = request.password unless request.password.nil?
5767
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5768
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5769
+
5770
+ # header parameters
5771
+ header_params = {}
5772
+ # HTTP header 'Accept' (if needed)
5773
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5774
+ # HTTP header 'Content-Type'
5775
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5776
+
5777
+ # http body (model)
5778
+ post_body = @api_client.object_to_http_body(request.dto)
5779
+
5780
+ # form parameters
5781
+
5782
+ post_files = nil
5783
+
5784
+
5785
+ auth_names = ['JWT']
5786
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5787
+ :header_params => header_params,
5788
+ :query_params => query_params,
5789
+ :body => post_body,
5790
+ :files => post_files,
5791
+ :auth_names => auth_names,
5792
+ :return_type => 'NotesSlide')
5793
+ return data, status_code, headers
5794
+ end
5795
+ # Add a new series to a chart.
5796
+ # @param request operation request
5797
+ def post_chart_series(request)
5798
+ data, _status_code, _headers = post_chart_series_with_http_info(request)
5799
+ data
5800
+ end
5801
+
5802
+ # Add a new series to a chart.
5803
+ # @param request operation request
5804
+ def post_chart_series_with_http_info(request)
5805
+ if @api_client.config.debugging
5806
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_chart_series ...'
5807
+ end
5808
+ # verify the required parameter 'name' is set
5809
+ if @api_client.config.client_side_validation && request.name.nil?
5810
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_chart_series"
5811
+ end
5812
+ # verify the required parameter 'slide_index' is set
5813
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5814
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_chart_series"
5815
+ end
5816
+ # verify the required parameter 'shape_index' is set
5817
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5818
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_chart_series"
5819
+ end
5820
+ # resource path
5821
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series'
5822
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5823
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5824
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5825
+
5826
+ # query parameters
5827
+ query_params = {}
5828
+ query_params[:'password'] = request.password unless request.password.nil?
5829
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5830
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5831
+
5832
+ # header parameters
5833
+ header_params = {}
5834
+ # HTTP header 'Accept' (if needed)
5835
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5836
+ # HTTP header 'Content-Type'
5837
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5838
+
5839
+ # http body (model)
5840
+ post_body = @api_client.object_to_http_body(request.series)
5841
+
5842
+ # form parameters
5843
+
5844
+ post_files = nil
5845
+
5846
+
5847
+ auth_names = ['JWT']
5848
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5849
+ :header_params => header_params,
5850
+ :query_params => query_params,
5851
+ :body => post_body,
5852
+ :files => post_files,
5853
+ :auth_names => auth_names,
5854
+ :return_type => 'Chart')
5855
+ return data, status_code, headers
5856
+ end
5857
+ # Copy layoutSlide from source presentation.
5858
+ # @param request operation request
5859
+ def post_copy_layout_slide_from_source_presentation(request)
5860
+ data, _status_code, _headers = post_copy_layout_slide_from_source_presentation_with_http_info(request)
5861
+ data
5862
+ end
5863
+
5864
+ # Copy layoutSlide from source presentation.
5865
+ # @param request operation request
5866
+ def post_copy_layout_slide_from_source_presentation_with_http_info(request)
5867
+ if @api_client.config.debugging
5868
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_copy_layout_slide_from_source_presentation ...'
5869
+ end
5870
+ # verify the required parameter 'name' is set
5871
+ if @api_client.config.client_side_validation && request.name.nil?
5872
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_copy_layout_slide_from_source_presentation"
5873
+ end
5874
+ # verify the required parameter 'clone_from' is set
5875
+ if @api_client.config.client_side_validation && request.clone_from.nil?
5876
+ fail ArgumentError, "Missing the required parameter 'clone_from' when calling SlidesApi.post_copy_layout_slide_from_source_presentation"
5877
+ end
5878
+ # verify the required parameter 'clone_from_position' is set
5879
+ if @api_client.config.client_side_validation && request.clone_from_position.nil?
5880
+ fail ArgumentError, "Missing the required parameter 'clone_from_position' when calling SlidesApi.post_copy_layout_slide_from_source_presentation"
5881
+ end
5882
+ # resource path
5883
+ local_var_path = '/slides/{name}/layoutSlides'
5884
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5885
+
5886
+ # query parameters
5887
+ query_params = {}
5888
+ query_params[:'cloneFrom'] = request.clone_from unless request.clone_from.nil?
5889
+ query_params[:'cloneFromPosition'] = request.clone_from_position unless request.clone_from_position.nil?
5890
+ query_params[:'cloneFromPassword'] = request.clone_from_password unless request.clone_from_password.nil?
5891
+ query_params[:'cloneFromStorage'] = request.clone_from_storage unless request.clone_from_storage.nil?
5892
+ query_params[:'password'] = request.password unless request.password.nil?
5893
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5894
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5895
+
5896
+ # header parameters
5897
+ header_params = {}
5898
+ # HTTP header 'Accept' (if needed)
5899
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5900
+ # HTTP header 'Content-Type'
5901
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5902
+
5903
+ # http body (model)
5904
+ post_body = nil
5905
+
5906
+ # form parameters
5907
+
5908
+ post_files = nil
5909
+
5910
+
5911
+ auth_names = ['JWT']
5912
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5913
+ :header_params => header_params,
5914
+ :query_params => query_params,
5915
+ :body => post_body,
5916
+ :files => post_files,
5917
+ :auth_names => auth_names,
5918
+ :return_type => 'LayoutSlide')
5919
+ return data, status_code, headers
5920
+ end
5921
+ # Copy masterSlide from source presentation.
5922
+ # @param request operation request
5923
+ def post_copy_master_slide_from_source_presentation(request)
5924
+ data, _status_code, _headers = post_copy_master_slide_from_source_presentation_with_http_info(request)
5925
+ data
5926
+ end
5927
+
5928
+ # Copy masterSlide from source presentation.
5929
+ # @param request operation request
5930
+ def post_copy_master_slide_from_source_presentation_with_http_info(request)
5931
+ if @api_client.config.debugging
5932
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_copy_master_slide_from_source_presentation ...'
5933
+ end
5934
+ # verify the required parameter 'name' is set
5935
+ if @api_client.config.client_side_validation && request.name.nil?
5936
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5937
+ end
5938
+ # verify the required parameter 'clone_from' is set
5939
+ if @api_client.config.client_side_validation && request.clone_from.nil?
5940
+ fail ArgumentError, "Missing the required parameter 'clone_from' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5941
+ end
5942
+ # verify the required parameter 'clone_from_position' is set
5943
+ if @api_client.config.client_side_validation && request.clone_from_position.nil?
5944
+ fail ArgumentError, "Missing the required parameter 'clone_from_position' when calling SlidesApi.post_copy_master_slide_from_source_presentation"
5945
+ end
5946
+ # resource path
5947
+ local_var_path = '/slides/{name}/masterSlides'
5948
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5949
+
5950
+ # query parameters
4898
5951
  query_params = {}
4899
5952
  query_params[:'cloneFrom'] = request.clone_from unless request.clone_from.nil?
4900
5953
  query_params[:'cloneFromPosition'] = request.clone_from_position unless request.clone_from_position.nil?
@@ -4930,6 +5983,168 @@ module AsposeSlidesCloud
4930
5983
  :return_type => 'MasterSlide')
4931
5984
  return data, status_code, headers
4932
5985
  end
5986
+ # Read notes slide info.
5987
+ # @param request operation request
5988
+ def post_get_notes_slide(request)
5989
+ data, _status_code, _headers = post_get_notes_slide_with_http_info(request)
5990
+ data
5991
+ end
5992
+
5993
+ # Read notes slide info.
5994
+ # @param request operation request
5995
+ def post_get_notes_slide_with_http_info(request)
5996
+ if @api_client.config.debugging
5997
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide ...'
5998
+ end
5999
+ # verify the required parameter 'slide_index' is set
6000
+ if @api_client.config.client_side_validation && request.slide_index.nil?
6001
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide"
6002
+ end
6003
+ # resource path
6004
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide'
6005
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6006
+
6007
+ # query parameters
6008
+ query_params = {}
6009
+ query_params[:'password'] = request.password unless request.password.nil?
6010
+
6011
+ # header parameters
6012
+ header_params = {}
6013
+ # HTTP header 'Accept' (if needed)
6014
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6015
+ # HTTP header 'Content-Type'
6016
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream', 'multipart/form-data'])
6017
+
6018
+ # http body (model)
6019
+ post_body = @api_client.object_to_http_body(request.document)
6020
+
6021
+ # form parameters
6022
+
6023
+ post_files = nil
6024
+
6025
+
6026
+ auth_names = ['JWT']
6027
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
6028
+ :header_params => header_params,
6029
+ :query_params => query_params,
6030
+ :body => post_body,
6031
+ :files => post_files,
6032
+ :auth_names => auth_names,
6033
+ :return_type => 'NotesSlide')
6034
+ return data, status_code, headers
6035
+ end
6036
+ # Get info whether a notes slide exists.
6037
+ # @param request operation request
6038
+ def post_get_notes_slide_exists(request)
6039
+ data, _status_code, _headers = post_get_notes_slide_exists_with_http_info(request)
6040
+ data
6041
+ end
6042
+
6043
+ # Get info whether a notes slide exists.
6044
+ # @param request operation request
6045
+ def post_get_notes_slide_exists_with_http_info(request)
6046
+ if @api_client.config.debugging
6047
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide_exists ...'
6048
+ end
6049
+ # verify the required parameter 'slide_index' is set
6050
+ if @api_client.config.client_side_validation && request.slide_index.nil?
6051
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide_exists"
6052
+ end
6053
+ # resource path
6054
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide/exist'
6055
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6056
+
6057
+ # query parameters
6058
+ query_params = {}
6059
+ query_params[:'password'] = request.password unless request.password.nil?
6060
+
6061
+ # header parameters
6062
+ header_params = {}
6063
+ # HTTP header 'Accept' (if needed)
6064
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6065
+ # HTTP header 'Content-Type'
6066
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
6067
+
6068
+ # http body (model)
6069
+ post_body = @api_client.object_to_http_body(request.document)
6070
+
6071
+ # form parameters
6072
+
6073
+ post_files = nil
6074
+
6075
+
6076
+ auth_names = ['JWT']
6077
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
6078
+ :header_params => header_params,
6079
+ :query_params => query_params,
6080
+ :body => post_body,
6081
+ :files => post_files,
6082
+ :auth_names => auth_names,
6083
+ :return_type => 'EntityExists')
6084
+ return data, status_code, headers
6085
+ end
6086
+ # Convert notes slide to the specified image format.
6087
+ # @param request operation request
6088
+ def post_get_notes_slide_with_format(request)
6089
+ data, _status_code, _headers = post_get_notes_slide_with_format_with_http_info(request)
6090
+ data
6091
+ end
6092
+
6093
+ # Convert notes slide to the specified image format.
6094
+ # @param request operation request
6095
+ def post_get_notes_slide_with_format_with_http_info(request)
6096
+ if @api_client.config.debugging
6097
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide_with_format ...'
6098
+ end
6099
+ # verify the required parameter 'slide_index' is set
6100
+ if @api_client.config.client_side_validation && request.slide_index.nil?
6101
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide_with_format"
6102
+ end
6103
+ # verify the required parameter 'format' is set
6104
+ if @api_client.config.client_side_validation && request.format.nil?
6105
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_get_notes_slide_with_format"
6106
+ end
6107
+ # verify enum value
6108
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(request.format)==0 }
6109
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff"
6110
+ end
6111
+ # resource path
6112
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide/{format}'
6113
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6114
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
6115
+
6116
+ # query parameters
6117
+ query_params = {}
6118
+ query_params[:'width'] = request.width unless request.width.nil?
6119
+ query_params[:'height'] = request.height unless request.height.nil?
6120
+ query_params[:'password'] = request.password unless request.password.nil?
6121
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
6122
+
6123
+ # header parameters
6124
+ header_params = {}
6125
+ # HTTP header 'Accept' (if needed)
6126
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
6127
+ # HTTP header 'Content-Type'
6128
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream', 'multipart/form-data'])
6129
+
6130
+ # http body (model)
6131
+ post_body = @api_client.object_to_http_body(request.document)
6132
+
6133
+ # form parameters
6134
+
6135
+ post_files = nil
6136
+
6137
+
6138
+ auth_names = ['JWT']
6139
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
6140
+ :header_params => header_params,
6141
+ :query_params => query_params,
6142
+ :body => post_body,
6143
+ :files => post_files,
6144
+ :auth_names => auth_names,
6145
+ :return_type => 'File')
6146
+ return data, status_code, headers
6147
+ end
4933
6148
  # Creates new paragraph.
4934
6149
  # @param request operation request
4935
6150
  def post_notes_slide_add_new_paragraph(request)
@@ -4951,19 +6166,14 @@ module AsposeSlidesCloud
4951
6166
  if @api_client.config.client_side_validation && request.slide_index.nil?
4952
6167
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4953
6168
  end
4954
- # verify the required parameter 'path' is set
4955
- if @api_client.config.client_side_validation && request.path.nil?
4956
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4957
- end
4958
6169
  # verify the required parameter 'shape_index' is set
4959
6170
  if @api_client.config.client_side_validation && request.shape_index.nil?
4960
6171
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4961
6172
  end
4962
6173
  # resource path
4963
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
6174
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
4964
6175
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4965
6176
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4966
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4967
6177
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4968
6178
 
4969
6179
  # query parameters
@@ -5019,10 +6229,6 @@ module AsposeSlidesCloud
5019
6229
  if @api_client.config.client_side_validation && request.slide_index.nil?
5020
6230
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_portion"
5021
6231
  end
5022
- # verify the required parameter 'path' is set
5023
- if @api_client.config.client_side_validation && request.path.nil?
5024
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_portion"
5025
- end
5026
6232
  # verify the required parameter 'shape_index' is set
5027
6233
  if @api_client.config.client_side_validation && request.shape_index.nil?
5028
6234
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_add_new_portion"
@@ -5032,10 +6238,9 @@ module AsposeSlidesCloud
5032
6238
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_notes_slide_add_new_portion"
5033
6239
  end
5034
6240
  # resource path
5035
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
6241
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5036
6242
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5037
6243
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5038
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5039
6244
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5040
6245
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5041
6246
 
@@ -5092,15 +6297,10 @@ module AsposeSlidesCloud
5092
6297
  if @api_client.config.client_side_validation && request.slide_index.nil?
5093
6298
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_shape"
5094
6299
  end
5095
- # verify the required parameter 'path' is set
5096
- if @api_client.config.client_side_validation && request.path.nil?
5097
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_shape"
5098
- end
5099
6300
  # resource path
5100
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
6301
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
5101
6302
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5102
6303
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5103
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5104
6304
 
5105
6305
  # query parameters
5106
6306
  query_params = {}
@@ -5156,10 +6356,6 @@ module AsposeSlidesCloud
5156
6356
  if @api_client.config.client_side_validation && request.slide_index.nil?
5157
6357
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_shape_save_as"
5158
6358
  end
5159
- # verify the required parameter 'path' is set
5160
- if @api_client.config.client_side_validation && request.path.nil?
5161
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_shape_save_as"
5162
- end
5163
6359
  # verify the required parameter 'shape_index' is set
5164
6360
  if @api_client.config.client_side_validation && request.shape_index.nil?
5165
6361
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_shape_save_as"
@@ -5176,10 +6372,9 @@ module AsposeSlidesCloud
5176
6372
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
5177
6373
  end
5178
6374
  # resource path
5179
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/{format}'
6375
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/{format}'
5180
6376
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5181
6377
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5182
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5183
6378
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5184
6379
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
5185
6380
 
@@ -5291,10 +6486,6 @@ module AsposeSlidesCloud
5291
6486
  if @api_client.config.client_side_validation && request.slide_index.nil?
5292
6487
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_shape_save_as"
5293
6488
  end
5294
- # verify the required parameter 'path' is set
5295
- if @api_client.config.client_side_validation && request.path.nil?
5296
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_shape_save_as"
5297
- end
5298
6489
  # verify the required parameter 'shape_index' is set
5299
6490
  if @api_client.config.client_side_validation && request.shape_index.nil?
5300
6491
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_shape_save_as"
@@ -5311,10 +6502,9 @@ module AsposeSlidesCloud
5311
6502
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
5312
6503
  end
5313
6504
  # resource path
5314
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
6505
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
5315
6506
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5316
6507
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5317
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5318
6508
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5319
6509
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
5320
6510
 
@@ -5555,8 +6745,8 @@ module AsposeSlidesCloud
5555
6745
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slide_save_as"
5556
6746
  end
5557
6747
  # verify enum value
5558
- 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 }
5559
- 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"
6748
+ 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 }
6749
+ 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"
5560
6750
  end
5561
6751
  # resource path
5562
6752
  local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
@@ -5670,8 +6860,8 @@ module AsposeSlidesCloud
5670
6860
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slides_convert"
5671
6861
  end
5672
6862
  # verify enum value
5673
- 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 }
5674
- 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"
6863
+ 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 }
6864
+ 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"
5675
6865
  end
5676
6866
  # resource path
5677
6867
  local_var_path = '/slides/convert/{format}'
@@ -6234,8 +7424,8 @@ module AsposeSlidesCloud
6234
7424
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slides_save_as"
6235
7425
  end
6236
7426
  # verify enum value
6237
- 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 }
6238
- 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"
7427
+ 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 }
7428
+ 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"
6239
7429
  end
6240
7430
  # resource path
6241
7431
  local_var_path = '/slides/{name}/{format}'
@@ -6411,8 +7601,8 @@ module AsposeSlidesCloud
6411
7601
  if @api_client.config.client_side_validation && request.name.nil?
6412
7602
  fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_slides_split"
6413
7603
  end
6414
- 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 }
6415
- 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'
7604
+ 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 }
7605
+ 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'
6416
7606
  end
6417
7607
  # resource path
6418
7608
  local_var_path = '/slides/{name}/split'
@@ -6456,6 +7646,152 @@ module AsposeSlidesCloud
6456
7646
  :return_type => 'SplitDocumentResult')
6457
7647
  return data, status_code, headers
6458
7648
  end
7649
+ # Render shape to specified picture format (for smart art and group shapes).
7650
+ # @param request operation request
7651
+ def post_subshape_save_as(request)
7652
+ data, _status_code, _headers = post_subshape_save_as_with_http_info(request)
7653
+ data
7654
+ end
7655
+
7656
+ # Render shape to specified picture format (for smart art and group shapes).
7657
+ # @param request operation request
7658
+ def post_subshape_save_as_with_http_info(request)
7659
+ if @api_client.config.debugging
7660
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_subshape_save_as ...'
7661
+ end
7662
+ # verify the required parameter 'name' is set
7663
+ if @api_client.config.client_side_validation && request.name.nil?
7664
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_subshape_save_as"
7665
+ end
7666
+ # verify the required parameter 'slide_index' is set
7667
+ if @api_client.config.client_side_validation && request.slide_index.nil?
7668
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_subshape_save_as"
7669
+ end
7670
+ # verify the required parameter 'shape_index' is set
7671
+ if @api_client.config.client_side_validation && request.shape_index.nil?
7672
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_subshape_save_as"
7673
+ end
7674
+ # verify the required parameter 'format' is set
7675
+ if @api_client.config.client_side_validation && request.format.nil?
7676
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_subshape_save_as"
7677
+ end
7678
+ # verify enum value
7679
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
7680
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
7681
+ end
7682
+ if @api_client.config.client_side_validation && request.bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(request.bounds)==0 }
7683
+ fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
7684
+ end
7685
+ # resource path
7686
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
7687
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7688
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7689
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7690
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7691
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
7692
+
7693
+ # query parameters
7694
+ query_params = {}
7695
+ query_params[:'password'] = request.password unless request.password.nil?
7696
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7697
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7698
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
7699
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
7700
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
7701
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
7702
+
7703
+ # header parameters
7704
+ header_params = {}
7705
+ # HTTP header 'Accept' (if needed)
7706
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
7707
+ # HTTP header 'Content-Type'
7708
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7709
+
7710
+ # http body (model)
7711
+ post_body = @api_client.object_to_http_body(request.options)
7712
+
7713
+ # form parameters
7714
+
7715
+ post_files = nil
7716
+
7717
+
7718
+ auth_names = ['JWT']
7719
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
7720
+ :header_params => header_params,
7721
+ :query_params => query_params,
7722
+ :body => post_body,
7723
+ :files => post_files,
7724
+ :auth_names => auth_names,
7725
+ :return_type => 'File')
7726
+ return data, status_code, headers
7727
+ end
7728
+ # Update a series in a chart.
7729
+ # @param request operation request
7730
+ def put_chart_series(request)
7731
+ data, _status_code, _headers = put_chart_series_with_http_info(request)
7732
+ data
7733
+ end
7734
+
7735
+ # Update a series in a chart.
7736
+ # @param request operation request
7737
+ def put_chart_series_with_http_info(request)
7738
+ if @api_client.config.debugging
7739
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_chart_series ...'
7740
+ end
7741
+ # verify the required parameter 'name' is set
7742
+ if @api_client.config.client_side_validation && request.name.nil?
7743
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_chart_series"
7744
+ end
7745
+ # verify the required parameter 'slide_index' is set
7746
+ if @api_client.config.client_side_validation && request.slide_index.nil?
7747
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_chart_series"
7748
+ end
7749
+ # verify the required parameter 'shape_index' is set
7750
+ if @api_client.config.client_side_validation && request.shape_index.nil?
7751
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_chart_series"
7752
+ end
7753
+ # verify the required parameter 'series_index' is set
7754
+ if @api_client.config.client_side_validation && request.series_index.nil?
7755
+ fail ArgumentError, "Missing the required parameter 'series_index' when calling SlidesApi.put_chart_series"
7756
+ end
7757
+ # resource path
7758
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series/{seriesIndex}'
7759
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7760
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7761
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7762
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesIndex', request.series_index)
7763
+
7764
+ # query parameters
7765
+ query_params = {}
7766
+ query_params[:'password'] = request.password unless request.password.nil?
7767
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7768
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7769
+
7770
+ # header parameters
7771
+ header_params = {}
7772
+ # HTTP header 'Accept' (if needed)
7773
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7774
+ # HTTP header 'Content-Type'
7775
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7776
+
7777
+ # http body (model)
7778
+ post_body = @api_client.object_to_http_body(request.series)
7779
+
7780
+ # form parameters
7781
+
7782
+ post_files = nil
7783
+
7784
+
7785
+ auth_names = ['JWT']
7786
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7787
+ :header_params => header_params,
7788
+ :query_params => query_params,
7789
+ :body => post_body,
7790
+ :files => post_files,
7791
+ :auth_names => auth_names,
7792
+ :return_type => 'Chart')
7793
+ return data, status_code, headers
7794
+ end
6459
7795
  # Update a layoutSlide.
6460
7796
  # @param request operation request
6461
7797
  def put_layout_slide(request)
@@ -6534,10 +7870,6 @@ module AsposeSlidesCloud
6534
7870
  if @api_client.config.client_side_validation && request.slide_index.nil?
6535
7871
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_notes_slide_shape_save_as"
6536
7872
  end
6537
- # verify the required parameter 'path' is set
6538
- if @api_client.config.client_side_validation && request.path.nil?
6539
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_notes_slide_shape_save_as"
6540
- end
6541
7873
  # verify the required parameter 'shape_index' is set
6542
7874
  if @api_client.config.client_side_validation && request.shape_index.nil?
6543
7875
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_notes_slide_shape_save_as"
@@ -6558,23 +7890,145 @@ module AsposeSlidesCloud
6558
7890
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
6559
7891
  end
6560
7892
  # resource path
6561
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/{format}'
7893
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/{format}'
7894
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7895
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7896
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7897
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
7898
+
7899
+ # query parameters
7900
+ query_params = {}
7901
+ query_params[:'outPath'] = request.out_path unless request.out_path.nil?
7902
+ query_params[:'password'] = request.password unless request.password.nil?
7903
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7904
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7905
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
7906
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
7907
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
7908
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
7909
+
7910
+ # header parameters
7911
+ header_params = {}
7912
+ # HTTP header 'Accept' (if needed)
7913
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7914
+ # HTTP header 'Content-Type'
7915
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7916
+
7917
+ # http body (model)
7918
+ post_body = @api_client.object_to_http_body(request.options)
7919
+
7920
+ # form parameters
7921
+
7922
+ post_files = nil
7923
+
7924
+
7925
+ auth_names = ['JWT']
7926
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7927
+ :header_params => header_params,
7928
+ :query_params => query_params,
7929
+ :body => post_body,
7930
+ :files => post_files,
7931
+ :auth_names => auth_names)
7932
+ return data, status_code, headers
7933
+ end
7934
+ # Merge the presentation with other presentations or some of their slides specified in the request parameter.
7935
+ # @param request operation request
7936
+ def put_presentation_merge(request)
7937
+ data, _status_code, _headers = put_presentation_merge_with_http_info(request)
7938
+ data
7939
+ end
7940
+
7941
+ # Merge the presentation with other presentations or some of their slides specified in the request parameter.
7942
+ # @param request operation request
7943
+ def put_presentation_merge_with_http_info(request)
7944
+ if @api_client.config.debugging
7945
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_presentation_merge ...'
7946
+ end
7947
+ # verify the required parameter 'name' is set
7948
+ if @api_client.config.client_side_validation && request.name.nil?
7949
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_presentation_merge"
7950
+ end
7951
+ # resource path
7952
+ local_var_path = '/slides/{name}/merge'
7953
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7954
+
7955
+ # query parameters
7956
+ query_params = {}
7957
+ query_params[:'password'] = request.password unless request.password.nil?
7958
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7959
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7960
+
7961
+ # header parameters
7962
+ header_params = {}
7963
+ # HTTP header 'Accept' (if needed)
7964
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7965
+ # HTTP header 'Content-Type'
7966
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7967
+
7968
+ # http body (model)
7969
+ post_body = @api_client.object_to_http_body(request.request)
7970
+
7971
+ # form parameters
7972
+
7973
+ post_files = nil
7974
+
7975
+
7976
+ auth_names = ['JWT']
7977
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7978
+ :header_params => header_params,
7979
+ :query_params => query_params,
7980
+ :body => post_body,
7981
+ :files => post_files,
7982
+ :auth_names => auth_names,
7983
+ :return_type => 'Document')
7984
+ return data, status_code, headers
7985
+ end
7986
+ # Update portion properties.
7987
+ # @param request operation request
7988
+ def put_set_paragraph_portion_properties(request)
7989
+ data, _status_code, _headers = put_set_paragraph_portion_properties_with_http_info(request)
7990
+ data
7991
+ end
7992
+
7993
+ # Update portion properties.
7994
+ # @param request operation request
7995
+ def put_set_paragraph_portion_properties_with_http_info(request)
7996
+ if @api_client.config.debugging
7997
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_portion_properties ...'
7998
+ end
7999
+ # verify the required parameter 'name' is set
8000
+ if @api_client.config.client_side_validation && request.name.nil?
8001
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_portion_properties"
8002
+ end
8003
+ # verify the required parameter 'slide_index' is set
8004
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8005
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_portion_properties"
8006
+ end
8007
+ # verify the required parameter 'shape_index' is set
8008
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8009
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_portion_properties"
8010
+ end
8011
+ # verify the required parameter 'paragraph_index' is set
8012
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
8013
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_portion_properties"
8014
+ end
8015
+ # verify the required parameter 'portion_index' is set
8016
+ if @api_client.config.client_side_validation && request.portion_index.nil?
8017
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_paragraph_portion_properties"
8018
+ end
8019
+ # resource path
8020
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
6562
8021
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6563
8022
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6564
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
6565
8023
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6566
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
8024
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
8025
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
6567
8026
 
6568
8027
  # query parameters
6569
8028
  query_params = {}
6570
- query_params[:'outPath'] = request.out_path unless request.out_path.nil?
6571
8029
  query_params[:'password'] = request.password unless request.password.nil?
6572
8030
  query_params[:'folder'] = request.folder unless request.folder.nil?
6573
8031
  query_params[:'storage'] = request.storage unless request.storage.nil?
6574
- query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
6575
- query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
6576
- query_params[:'bounds'] = request.bounds unless request.bounds.nil?
6577
- query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
6578
8032
 
6579
8033
  # header parameters
6580
8034
  header_params = {}
@@ -6584,7 +8038,7 @@ module AsposeSlidesCloud
6584
8038
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6585
8039
 
6586
8040
  # http body (model)
6587
- post_body = @api_client.object_to_http_body(request.options)
8041
+ post_body = @api_client.object_to_http_body(request.dto)
6588
8042
 
6589
8043
  # form parameters
6590
8044
 
@@ -6597,35 +8051,51 @@ module AsposeSlidesCloud
6597
8051
  :query_params => query_params,
6598
8052
  :body => post_body,
6599
8053
  :files => post_files,
6600
- :auth_names => auth_names)
8054
+ :auth_names => auth_names,
8055
+ :return_type => 'Portion')
6601
8056
  return data, status_code, headers
6602
8057
  end
6603
- # Merge the presentation with other presentations or some of their slides specified in the request parameter.
8058
+ # Update paragraph properties.
6604
8059
  # @param request operation request
6605
- def put_presentation_merge(request)
6606
- data, _status_code, _headers = put_presentation_merge_with_http_info(request)
8060
+ def put_set_paragraph_properties(request)
8061
+ data, _status_code, _headers = put_set_paragraph_properties_with_http_info(request)
6607
8062
  data
6608
8063
  end
6609
8064
 
6610
- # Merge the presentation with other presentations or some of their slides specified in the request parameter.
8065
+ # Update paragraph properties.
6611
8066
  # @param request operation request
6612
- def put_presentation_merge_with_http_info(request)
8067
+ def put_set_paragraph_properties_with_http_info(request)
6613
8068
  if @api_client.config.debugging
6614
- @api_client.config.logger.debug 'Calling API: SlidesApi.put_presentation_merge ...'
8069
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_properties ...'
6615
8070
  end
6616
8071
  # verify the required parameter 'name' is set
6617
8072
  if @api_client.config.client_side_validation && request.name.nil?
6618
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_presentation_merge"
8073
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_properties"
8074
+ end
8075
+ # verify the required parameter 'slide_index' is set
8076
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8077
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_properties"
8078
+ end
8079
+ # verify the required parameter 'shape_index' is set
8080
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8081
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_properties"
8082
+ end
8083
+ # verify the required parameter 'paragraph_index' is set
8084
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
8085
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_properties"
6619
8086
  end
6620
8087
  # resource path
6621
- local_var_path = '/slides/{name}/merge'
8088
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
6622
8089
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
8090
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
8091
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
8092
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
6623
8093
 
6624
8094
  # query parameters
6625
8095
  query_params = {}
6626
8096
  query_params[:'password'] = request.password unless request.password.nil?
6627
- query_params[:'storage'] = request.storage unless request.storage.nil?
6628
8097
  query_params[:'folder'] = request.folder unless request.folder.nil?
8098
+ query_params[:'storage'] = request.storage unless request.storage.nil?
6629
8099
 
6630
8100
  # header parameters
6631
8101
  header_params = {}
@@ -6635,7 +8105,7 @@ module AsposeSlidesCloud
6635
8105
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6636
8106
 
6637
8107
  # http body (model)
6638
- post_body = @api_client.object_to_http_body(request.request)
8108
+ post_body = @api_client.object_to_http_body(request.dto)
6639
8109
 
6640
8110
  # form parameters
6641
8111
 
@@ -6649,45 +8119,41 @@ module AsposeSlidesCloud
6649
8119
  :body => post_body,
6650
8120
  :files => post_files,
6651
8121
  :auth_names => auth_names,
6652
- :return_type => 'Document')
8122
+ :return_type => 'Paragraph')
6653
8123
  return data, status_code, headers
6654
8124
  end
6655
- # Update portion properties.
8125
+ # Update portion properties (for smart art and group shapes).
6656
8126
  # @param request operation request
6657
- def put_set_paragraph_portion_properties(request)
6658
- data, _status_code, _headers = put_set_paragraph_portion_properties_with_http_info(request)
8127
+ def put_set_subshape_paragraph_portion_properties(request)
8128
+ data, _status_code, _headers = put_set_subshape_paragraph_portion_properties_with_http_info(request)
6659
8129
  data
6660
8130
  end
6661
8131
 
6662
- # Update portion properties.
8132
+ # Update portion properties (for smart art and group shapes).
6663
8133
  # @param request operation request
6664
- def put_set_paragraph_portion_properties_with_http_info(request)
8134
+ def put_set_subshape_paragraph_portion_properties_with_http_info(request)
6665
8135
  if @api_client.config.debugging
6666
- @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_portion_properties ...'
8136
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_subshape_paragraph_portion_properties ...'
6667
8137
  end
6668
8138
  # verify the required parameter 'name' is set
6669
8139
  if @api_client.config.client_side_validation && request.name.nil?
6670
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_portion_properties"
8140
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6671
8141
  end
6672
8142
  # verify the required parameter 'slide_index' is set
6673
8143
  if @api_client.config.client_side_validation && request.slide_index.nil?
6674
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_portion_properties"
6675
- end
6676
- # verify the required parameter 'path' is set
6677
- if @api_client.config.client_side_validation && request.path.nil?
6678
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_set_paragraph_portion_properties"
8144
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6679
8145
  end
6680
8146
  # verify the required parameter 'shape_index' is set
6681
8147
  if @api_client.config.client_side_validation && request.shape_index.nil?
6682
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_portion_properties"
8148
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6683
8149
  end
6684
8150
  # verify the required parameter 'paragraph_index' is set
6685
8151
  if @api_client.config.client_side_validation && request.paragraph_index.nil?
6686
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_portion_properties"
8152
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6687
8153
  end
6688
8154
  # verify the required parameter 'portion_index' is set
6689
8155
  if @api_client.config.client_side_validation && request.portion_index.nil?
6690
- fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_paragraph_portion_properties"
8156
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
6691
8157
  end
6692
8158
  # resource path
6693
8159
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
@@ -6729,38 +8195,34 @@ module AsposeSlidesCloud
6729
8195
  :return_type => 'Portion')
6730
8196
  return data, status_code, headers
6731
8197
  end
6732
- # Update paragraph properties.
8198
+ # Update paragraph properties (for smart art and group shapes).
6733
8199
  # @param request operation request
6734
- def put_set_paragraph_properties(request)
6735
- data, _status_code, _headers = put_set_paragraph_properties_with_http_info(request)
8200
+ def put_set_subshape_paragraph_properties(request)
8201
+ data, _status_code, _headers = put_set_subshape_paragraph_properties_with_http_info(request)
6736
8202
  data
6737
8203
  end
6738
8204
 
6739
- # Update paragraph properties.
8205
+ # Update paragraph properties (for smart art and group shapes).
6740
8206
  # @param request operation request
6741
- def put_set_paragraph_properties_with_http_info(request)
8207
+ def put_set_subshape_paragraph_properties_with_http_info(request)
6742
8208
  if @api_client.config.debugging
6743
- @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_paragraph_properties ...'
8209
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_subshape_paragraph_properties ...'
6744
8210
  end
6745
8211
  # verify the required parameter 'name' is set
6746
8212
  if @api_client.config.client_side_validation && request.name.nil?
6747
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_paragraph_properties"
8213
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_subshape_paragraph_properties"
6748
8214
  end
6749
8215
  # verify the required parameter 'slide_index' is set
6750
8216
  if @api_client.config.client_side_validation && request.slide_index.nil?
6751
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_properties"
6752
- end
6753
- # verify the required parameter 'path' is set
6754
- if @api_client.config.client_side_validation && request.path.nil?
6755
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_set_paragraph_properties"
8217
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
6756
8218
  end
6757
8219
  # verify the required parameter 'shape_index' is set
6758
8220
  if @api_client.config.client_side_validation && request.shape_index.nil?
6759
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_properties"
8221
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
6760
8222
  end
6761
8223
  # verify the required parameter 'paragraph_index' is set
6762
8224
  if @api_client.config.client_side_validation && request.paragraph_index.nil?
6763
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_properties"
8225
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
6764
8226
  end
6765
8227
  # resource path
6766
8228
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
@@ -6822,10 +8284,6 @@ module AsposeSlidesCloud
6822
8284
  if @api_client.config.client_side_validation && request.slide_index.nil?
6823
8285
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_shape_save_as"
6824
8286
  end
6825
- # verify the required parameter 'path' is set
6826
- if @api_client.config.client_side_validation && request.path.nil?
6827
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_shape_save_as"
6828
- end
6829
8287
  # verify the required parameter 'shape_index' is set
6830
8288
  if @api_client.config.client_side_validation && request.shape_index.nil?
6831
8289
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_shape_save_as"
@@ -6846,10 +8304,9 @@ module AsposeSlidesCloud
6846
8304
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
6847
8305
  end
6848
8306
  # resource path
6849
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
8307
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
6850
8308
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6851
8309
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6852
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
6853
8310
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6854
8311
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
6855
8312
 
@@ -7100,8 +8557,8 @@ module AsposeSlidesCloud
7100
8557
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slide_save_as"
7101
8558
  end
7102
8559
  # verify enum value
7103
- 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 }
7104
- 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"
8560
+ 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 }
8561
+ 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"
7105
8562
  end
7106
8563
  # verify the required parameter 'out_path' is set
7107
8564
  if @api_client.config.client_side_validation && request.out_path.nil?
@@ -7168,15 +8625,73 @@ module AsposeSlidesCloud
7168
8625
  if @api_client.config.client_side_validation && request.slide_index.nil?
7169
8626
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_slide_shape_info"
7170
8627
  end
7171
- # verify the required parameter 'path' is set
7172
- if @api_client.config.client_side_validation && request.path.nil?
7173
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_slide_shape_info"
7174
- end
7175
8628
  # verify the required parameter 'shape_index' is set
7176
8629
  if @api_client.config.client_side_validation && request.shape_index.nil?
7177
8630
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_slide_shape_info"
7178
8631
  end
7179
8632
  # resource path
8633
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
8634
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
8635
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
8636
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
8637
+
8638
+ # query parameters
8639
+ query_params = {}
8640
+ query_params[:'password'] = request.password unless request.password.nil?
8641
+ query_params[:'folder'] = request.folder unless request.folder.nil?
8642
+ query_params[:'storage'] = request.storage unless request.storage.nil?
8643
+
8644
+ # header parameters
8645
+ header_params = {}
8646
+ # HTTP header 'Accept' (if needed)
8647
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8648
+ # HTTP header 'Content-Type'
8649
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8650
+
8651
+ # http body (model)
8652
+ post_body = @api_client.object_to_http_body(request.dto)
8653
+
8654
+ # form parameters
8655
+
8656
+ post_files = nil
8657
+
8658
+
8659
+ auth_names = ['JWT']
8660
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8661
+ :header_params => header_params,
8662
+ :query_params => query_params,
8663
+ :body => post_body,
8664
+ :files => post_files,
8665
+ :auth_names => auth_names,
8666
+ :return_type => 'ShapeBase')
8667
+ return data, status_code, headers
8668
+ end
8669
+ # Update shape properties (for smart art and group shapes).
8670
+ # @param request operation request
8671
+ def put_slide_subshape_info(request)
8672
+ data, _status_code, _headers = put_slide_subshape_info_with_http_info(request)
8673
+ data
8674
+ end
8675
+
8676
+ # Update shape properties (for smart art and group shapes).
8677
+ # @param request operation request
8678
+ def put_slide_subshape_info_with_http_info(request)
8679
+ if @api_client.config.debugging
8680
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_slide_subshape_info ...'
8681
+ end
8682
+ # verify the required parameter 'name' is set
8683
+ if @api_client.config.client_side_validation && request.name.nil?
8684
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_slide_subshape_info"
8685
+ end
8686
+ # verify the required parameter 'slide_index' is set
8687
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8688
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_slide_subshape_info"
8689
+ end
8690
+ # verify the required parameter 'shape_index' is set
8691
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8692
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_slide_subshape_info"
8693
+ end
8694
+ # resource path
7180
8695
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
7181
8696
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7182
8697
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
@@ -7232,8 +8747,8 @@ module AsposeSlidesCloud
7232
8747
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slides_convert"
7233
8748
  end
7234
8749
  # verify enum value
7235
- 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 }
7236
- 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"
8750
+ 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 }
8751
+ 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"
7237
8752
  end
7238
8753
  # verify the required parameter 'out_path' is set
7239
8754
  if @api_client.config.client_side_validation && request.out_path.nil?
@@ -7351,8 +8866,8 @@ module AsposeSlidesCloud
7351
8866
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slides_save_as"
7352
8867
  end
7353
8868
  # verify enum value
7354
- 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 }
7355
- 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"
8869
+ 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 }
8870
+ 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"
7356
8871
  end
7357
8872
  # resource path
7358
8873
  local_var_path = '/slides/{name}/{format}'
@@ -7686,6 +9201,141 @@ module AsposeSlidesCloud
7686
9201
  :return_type => 'Document')
7687
9202
  return data, status_code, headers
7688
9203
  end
9204
+ # Update presentation document properties.
9205
+ # @param request operation request
9206
+ def put_slides_view_properties(request)
9207
+ data, _status_code, _headers = put_slides_view_properties_with_http_info(request)
9208
+ data
9209
+ end
9210
+
9211
+ # Update presentation document properties.
9212
+ # @param request operation request
9213
+ def put_slides_view_properties_with_http_info(request)
9214
+ if @api_client.config.debugging
9215
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_slides_view_properties ...'
9216
+ end
9217
+ # verify the required parameter 'name' is set
9218
+ if @api_client.config.client_side_validation && request.name.nil?
9219
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_slides_view_properties"
9220
+ end
9221
+ # resource path
9222
+ local_var_path = '/slides/{name}/viewProperties'
9223
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
9224
+
9225
+ # query parameters
9226
+ query_params = {}
9227
+ query_params[:'password'] = request.password unless request.password.nil?
9228
+ query_params[:'folder'] = request.folder unless request.folder.nil?
9229
+ query_params[:'storage'] = request.storage unless request.storage.nil?
9230
+
9231
+ # header parameters
9232
+ header_params = {}
9233
+ # HTTP header 'Accept' (if needed)
9234
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9235
+ # HTTP header 'Content-Type'
9236
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
9237
+
9238
+ # http body (model)
9239
+ post_body = @api_client.object_to_http_body(request.dto)
9240
+
9241
+ # form parameters
9242
+
9243
+ post_files = nil
9244
+
9245
+
9246
+ auth_names = ['JWT']
9247
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
9248
+ :header_params => header_params,
9249
+ :query_params => query_params,
9250
+ :body => post_body,
9251
+ :files => post_files,
9252
+ :auth_names => auth_names,
9253
+ :return_type => 'ViewProperties')
9254
+ return data, status_code, headers
9255
+ end
9256
+ # Render shape to specified picture format.
9257
+ # @param request operation request
9258
+ def put_subshape_save_as(request)
9259
+ put_subshape_save_as_with_http_info(request)
9260
+ nil
9261
+ end
9262
+
9263
+ # Render shape to specified picture format.
9264
+ # @param request operation request
9265
+ def put_subshape_save_as_with_http_info(request)
9266
+ if @api_client.config.debugging
9267
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_subshape_save_as ...'
9268
+ end
9269
+ # verify the required parameter 'name' is set
9270
+ if @api_client.config.client_side_validation && request.name.nil?
9271
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_subshape_save_as"
9272
+ end
9273
+ # verify the required parameter 'slide_index' is set
9274
+ if @api_client.config.client_side_validation && request.slide_index.nil?
9275
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_subshape_save_as"
9276
+ end
9277
+ # verify the required parameter 'shape_index' is set
9278
+ if @api_client.config.client_side_validation && request.shape_index.nil?
9279
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_subshape_save_as"
9280
+ end
9281
+ # verify the required parameter 'format' is set
9282
+ if @api_client.config.client_side_validation && request.format.nil?
9283
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_subshape_save_as"
9284
+ end
9285
+ # verify enum value
9286
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
9287
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
9288
+ end
9289
+ # verify the required parameter 'out_path' is set
9290
+ if @api_client.config.client_side_validation && request.out_path.nil?
9291
+ fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.put_subshape_save_as"
9292
+ end
9293
+ if @api_client.config.client_side_validation && request.bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(request.bounds)==0 }
9294
+ fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
9295
+ end
9296
+ # resource path
9297
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
9298
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
9299
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
9300
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
9301
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
9302
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
9303
+
9304
+ # query parameters
9305
+ query_params = {}
9306
+ query_params[:'outPath'] = request.out_path unless request.out_path.nil?
9307
+ query_params[:'password'] = request.password unless request.password.nil?
9308
+ query_params[:'folder'] = request.folder unless request.folder.nil?
9309
+ query_params[:'storage'] = request.storage unless request.storage.nil?
9310
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
9311
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
9312
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
9313
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
9314
+
9315
+ # header parameters
9316
+ header_params = {}
9317
+ # HTTP header 'Accept' (if needed)
9318
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9319
+ # HTTP header 'Content-Type'
9320
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
9321
+
9322
+ # http body (model)
9323
+ post_body = @api_client.object_to_http_body(request.options)
9324
+
9325
+ # form parameters
9326
+
9327
+ post_files = nil
9328
+
9329
+
9330
+ auth_names = ['JWT']
9331
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
9332
+ :header_params => header_params,
9333
+ :query_params => query_params,
9334
+ :body => post_body,
9335
+ :files => post_files,
9336
+ :auth_names => auth_names)
9337
+ return data, status_code, headers
9338
+ end
7689
9339
  # Update notes slide properties.
7690
9340
  # @param request operation request
7691
9341
  def put_update_notes_slide(request)
@@ -7764,19 +9414,14 @@ module AsposeSlidesCloud
7764
9414
  if @api_client.config.client_side_validation && request.slide_index.nil?
7765
9415
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape"
7766
9416
  end
7767
- # verify the required parameter 'path' is set
7768
- if @api_client.config.client_side_validation && request.path.nil?
7769
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape"
7770
- end
7771
9417
  # verify the required parameter 'shape_index' is set
7772
9418
  if @api_client.config.client_side_validation && request.shape_index.nil?
7773
9419
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape"
7774
9420
  end
7775
9421
  # resource path
7776
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
9422
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
7777
9423
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7778
9424
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7779
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7780
9425
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7781
9426
 
7782
9427
  # query parameters
@@ -7831,10 +9476,6 @@ module AsposeSlidesCloud
7831
9476
  if @api_client.config.client_side_validation && request.slide_index.nil?
7832
9477
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7833
9478
  end
7834
- # verify the required parameter 'path' is set
7835
- if @api_client.config.client_side_validation && request.path.nil?
7836
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7837
- end
7838
9479
  # verify the required parameter 'shape_index' is set
7839
9480
  if @api_client.config.client_side_validation && request.shape_index.nil?
7840
9481
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
@@ -7844,10 +9485,9 @@ module AsposeSlidesCloud
7844
9485
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7845
9486
  end
7846
9487
  # resource path
7847
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
9488
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
7848
9489
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7849
9490
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7850
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7851
9491
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7852
9492
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7853
9493
 
@@ -7903,10 +9543,6 @@ module AsposeSlidesCloud
7903
9543
  if @api_client.config.client_side_validation && request.slide_index.nil?
7904
9544
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
7905
9545
  end
7906
- # verify the required parameter 'path' is set
7907
- if @api_client.config.client_side_validation && request.path.nil?
7908
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape_portion"
7909
- end
7910
9546
  # verify the required parameter 'shape_index' is set
7911
9547
  if @api_client.config.client_side_validation && request.shape_index.nil?
7912
9548
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
@@ -7920,10 +9556,9 @@ module AsposeSlidesCloud
7920
9556
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
7921
9557
  end
7922
9558
  # resource path
7923
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
9559
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
7924
9560
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7925
9561
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7926
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7927
9562
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7928
9563
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7929
9564
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -8021,10 +9656,6 @@ module AsposeSlidesCloud
8021
9656
  if @api_client.config.debugging
8022
9657
  @api_client.config.logger.debug 'Calling API: SlidesApi.upload_file ...'
8023
9658
  end
8024
- # verify the required parameter 'path' is set
8025
- if @api_client.config.client_side_validation && request.path.nil?
8026
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.upload_file"
8027
- end
8028
9659
  # verify the required parameter 'file' is set
8029
9660
  if @api_client.config.client_side_validation && request.file.nil?
8030
9661
  fail ArgumentError, "Missing the required parameter 'file' when calling SlidesApi.upload_file"