aspose_slides_cloud 24.12.0 → 25.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +20 -18
  3. data/README.md +15 -71
  4. data/TestData/video.pptx +0 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +370 -121
  6. data/lib/aspose_slides_cloud/api/slides_async_api.rb +12 -12
  7. data/lib/aspose_slides_cloud/models/audio_frame.rb +51 -1
  8. data/lib/aspose_slides_cloud/models/caption_track.rb +116 -0
  9. data/lib/aspose_slides_cloud/models/caption_tracks.rb +93 -0
  10. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  11. data/lib/aspose_slides_cloud/models/export_options.rb +11 -1
  12. data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
  13. data/lib/aspose_slides_cloud/models/html5_export_options.rb +19 -8
  14. data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -2
  15. data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
  16. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
  17. data/lib/aspose_slides_cloud/models/markdown_export_options.rb +45 -2
  18. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +2 -1
  19. data/lib/aspose_slides_cloud/models/picture_fill.rb +21 -1
  20. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -2
  21. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  22. data/lib/aspose_slides_cloud/models/save_shape.rb +2 -2
  23. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  24. data/lib/aspose_slides_cloud/models/shape_export_format.rb +1 -0
  25. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  26. data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -2
  27. data/lib/aspose_slides_cloud/models/swf_export_options.rb +9 -72
  28. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
  29. data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
  30. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
  31. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
  32. data/lib/aspose_slides_cloud/type_registry.rb +4 -0
  33. data/lib/aspose_slides_cloud/version.rb +1 -1
  34. data/lib/aspose_slides_cloud.rb +2 -0
  35. data/spec/api/slides_api_spec.rb +1107 -252
  36. data/spec/use_cases/merge_spec.rb +1 -1
  37. data/testRules.json +7 -1
  38. metadata +5 -2
@@ -429,8 +429,8 @@ module AsposeSlidesCloud
429
429
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert"
430
430
  end
431
431
  # verify enum value
432
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
433
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
432
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
433
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
434
434
  end
435
435
  # resource path
436
436
  local_var_path = '/slides/convert/{format}'
@@ -506,8 +506,8 @@ module AsposeSlidesCloud
506
506
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert_and_save"
507
507
  end
508
508
  # verify enum value
509
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
510
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
509
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
510
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
511
511
  end
512
512
  # verify the required parameter 'out_path' is set
513
513
  if @api_client.config.client_side_validation && out_path.nil?
@@ -3281,6 +3281,86 @@ module AsposeSlidesCloud
3281
3281
  :return_type => 'VbaModule')
3282
3282
  return data, status_code, headers
3283
3283
  end
3284
+ # Create video captions track.
3285
+ # @param name Document name.
3286
+ # @param slide_index Slide index.
3287
+ # @param shape_index Shape index (must refer to a picture frame).
3288
+ # @param label Caption track label.
3289
+ # @param data Caption track data.
3290
+ # @param password Document password.
3291
+ # @param folder Document folder.
3292
+ # @param storage Presentation storage.
3293
+ def create_video_caption_track(name, slide_index, shape_index, label, data = nil, password = nil, folder = nil, storage = nil)
3294
+ data, _status_code, _headers = create_video_caption_track_with_http_info(name, slide_index, shape_index, label, data, password, folder, storage)
3295
+ data
3296
+ end
3297
+
3298
+ # Create video captions track.
3299
+ # @param name Document name.
3300
+ # @param slide_index Slide index.
3301
+ # @param shape_index Shape index (must refer to a picture frame).
3302
+ # @param label Caption track label.
3303
+ # @param data Caption track data.
3304
+ # @param password Document password.
3305
+ # @param folder Document folder.
3306
+ # @param storage Presentation storage.
3307
+ def create_video_caption_track_with_http_info(name, slide_index, shape_index, label, data = nil, password = nil, folder = nil, storage = nil)
3308
+ if @api_client.config.debugging
3309
+ @api_client.config.logger.debug 'Calling API: SlidesApi.create_video_caption_track ...'
3310
+ end
3311
+
3312
+ # verify the required parameter 'name' is set
3313
+ if @api_client.config.client_side_validation && name.nil?
3314
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.create_video_caption_track"
3315
+ end
3316
+ # verify the required parameter 'slide_index' is set
3317
+ if @api_client.config.client_side_validation && slide_index.nil?
3318
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.create_video_caption_track"
3319
+ end
3320
+ # verify the required parameter 'shape_index' is set
3321
+ if @api_client.config.client_side_validation && shape_index.nil?
3322
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.create_video_caption_track"
3323
+ end
3324
+ # verify the required parameter 'label' is set
3325
+ if @api_client.config.client_side_validation && label.nil?
3326
+ fail ArgumentError, "Missing the required parameter 'label' when calling SlidesApi.create_video_caption_track"
3327
+ end
3328
+ # resource path
3329
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks'
3330
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
3331
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
3332
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
3333
+
3334
+ # query parameters
3335
+ query_params = {}
3336
+ query_params[:'label'] = @api_client.prepare_for_query(label) unless label.nil?
3337
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
3338
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
3339
+
3340
+ # header parameters
3341
+ header_params = {}
3342
+ # HTTP header 'Accept' (if needed)
3343
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3344
+ # HTTP header 'Content-Type'
3345
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3346
+ header_params[:'password'] = password unless password.nil?
3347
+
3348
+ # http body (model)
3349
+ post_body = @api_client.object_to_http_body(data)
3350
+
3351
+ # form parameters
3352
+ post_files = []
3353
+
3354
+ auth_names = ['JWT']
3355
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3356
+ :header_params => header_params,
3357
+ :query_params => query_params,
3358
+ :body => post_body,
3359
+ :files => post_files,
3360
+ :auth_names => auth_names,
3361
+ :return_type => 'CaptionTrack')
3362
+ return data, status_code, headers
3363
+ end
3284
3364
  # Adds a text watermark to each slide of the presentation. Text watermark can be setup via method arguments or withing Shape DTO for detailed customization. Both options are applicable simultaneously.
3285
3365
  # @param name Document name.
3286
3366
  # @param shape Shape DTO
@@ -4823,76 +4903,6 @@ module AsposeSlidesCloud
4823
4903
  :return_type => 'Paragraphs')
4824
4904
  return data, status_code, headers
4825
4905
  end
4826
- # Deletes cropped areas of a pictire.
4827
- # @param name Document name.
4828
- # @param slide_index Slide index.
4829
- # @param shape_index Shape index (must refer to a picture frame).
4830
- # @param password Document password.
4831
- # @param folder Document folder.
4832
- # @param storage Presentation storage.
4833
- def delete_picture_cropped_areas(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
4834
- delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password, folder, storage)
4835
- nil
4836
- end
4837
-
4838
- # Deletes cropped areas of a pictire.
4839
- # @param name Document name.
4840
- # @param slide_index Slide index.
4841
- # @param shape_index Shape index (must refer to a picture frame).
4842
- # @param password Document password.
4843
- # @param folder Document folder.
4844
- # @param storage Presentation storage.
4845
- def delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
4846
- if @api_client.config.debugging
4847
- @api_client.config.logger.debug 'Calling API: SlidesApi.delete_picture_cropped_areas ...'
4848
- end
4849
-
4850
- # verify the required parameter 'name' is set
4851
- if @api_client.config.client_side_validation && name.nil?
4852
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_picture_cropped_areas"
4853
- end
4854
- # verify the required parameter 'slide_index' is set
4855
- if @api_client.config.client_side_validation && slide_index.nil?
4856
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_picture_cropped_areas"
4857
- end
4858
- # verify the required parameter 'shape_index' is set
4859
- if @api_client.config.client_side_validation && shape_index.nil?
4860
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_picture_cropped_areas"
4861
- end
4862
- # resource path
4863
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas'
4864
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
4865
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
4866
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
4867
-
4868
- # query parameters
4869
- query_params = {}
4870
- query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
4871
- query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
4872
-
4873
- # header parameters
4874
- header_params = {}
4875
- # HTTP header 'Accept' (if needed)
4876
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4877
- # HTTP header 'Content-Type'
4878
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4879
- header_params[:'password'] = password unless password.nil?
4880
-
4881
- # http body (model)
4882
- post_body = nil
4883
-
4884
- # form parameters
4885
- post_files = []
4886
-
4887
- auth_names = ['JWT']
4888
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
4889
- :header_params => header_params,
4890
- :query_params => query_params,
4891
- :body => post_body,
4892
- :files => post_files,
4893
- :auth_names => auth_names)
4894
- return data, status_code, headers
4895
- end
4896
4906
  # Remove a portion.
4897
4907
  # @param name Document name.
4898
4908
  # @param slide_index Slide index.
@@ -7364,6 +7374,153 @@ module AsposeSlidesCloud
7364
7374
  :return_type => 'VbaProject')
7365
7375
  return data, status_code, headers
7366
7376
  end
7377
+ # Delete video captions track.
7378
+ # @param name Document name.
7379
+ # @param slide_index Slide index.
7380
+ # @param shape_index Shape index (must refer to a video frame).
7381
+ # @param captions_index Captions track index.
7382
+ # @param password Document password.
7383
+ # @param folder Document folder.
7384
+ # @param storage Presentation storage.
7385
+ def delete_video_caption_track(name, slide_index, shape_index, captions_index, password = nil, folder = nil, storage = nil)
7386
+ delete_video_caption_track_with_http_info(name, slide_index, shape_index, captions_index, password, folder, storage)
7387
+ nil
7388
+ end
7389
+
7390
+ # Delete video captions track.
7391
+ # @param name Document name.
7392
+ # @param slide_index Slide index.
7393
+ # @param shape_index Shape index (must refer to a video frame).
7394
+ # @param captions_index Captions track index.
7395
+ # @param password Document password.
7396
+ # @param folder Document folder.
7397
+ # @param storage Presentation storage.
7398
+ def delete_video_caption_track_with_http_info(name, slide_index, shape_index, captions_index, password = nil, folder = nil, storage = nil)
7399
+ if @api_client.config.debugging
7400
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_video_caption_track ...'
7401
+ end
7402
+
7403
+ # verify the required parameter 'name' is set
7404
+ if @api_client.config.client_side_validation && name.nil?
7405
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_video_caption_track"
7406
+ end
7407
+ # verify the required parameter 'slide_index' is set
7408
+ if @api_client.config.client_side_validation && slide_index.nil?
7409
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_video_caption_track"
7410
+ end
7411
+ # verify the required parameter 'shape_index' is set
7412
+ if @api_client.config.client_side_validation && shape_index.nil?
7413
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_video_caption_track"
7414
+ end
7415
+ # verify the required parameter 'captions_index' is set
7416
+ if @api_client.config.client_side_validation && captions_index.nil?
7417
+ fail ArgumentError, "Missing the required parameter 'captions_index' when calling SlidesApi.delete_video_caption_track"
7418
+ end
7419
+ # resource path
7420
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks/{captionsIndex}'
7421
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
7422
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
7423
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
7424
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'captionsIndex', captions_index)
7425
+
7426
+ # query parameters
7427
+ query_params = {}
7428
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
7429
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
7430
+
7431
+ # header parameters
7432
+ header_params = {}
7433
+ # HTTP header 'Accept' (if needed)
7434
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7435
+ # HTTP header 'Content-Type'
7436
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7437
+ header_params[:'password'] = password unless password.nil?
7438
+
7439
+ # http body (model)
7440
+ post_body = nil
7441
+
7442
+ # form parameters
7443
+ post_files = []
7444
+
7445
+ auth_names = ['JWT']
7446
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
7447
+ :header_params => header_params,
7448
+ :query_params => query_params,
7449
+ :body => post_body,
7450
+ :files => post_files,
7451
+ :auth_names => auth_names)
7452
+ return data, status_code, headers
7453
+ end
7454
+ # Delete all video captions tracks.
7455
+ # @param name Document name.
7456
+ # @param slide_index Slide index.
7457
+ # @param shape_index Shape index (must refer to a video frame).
7458
+ # @param password Document password.
7459
+ # @param folder Document folder.
7460
+ # @param storage Presentation storage.
7461
+ def delete_video_caption_tracks(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
7462
+ delete_video_caption_tracks_with_http_info(name, slide_index, shape_index, password, folder, storage)
7463
+ nil
7464
+ end
7465
+
7466
+ # Delete all video captions tracks.
7467
+ # @param name Document name.
7468
+ # @param slide_index Slide index.
7469
+ # @param shape_index Shape index (must refer to a video frame).
7470
+ # @param password Document password.
7471
+ # @param folder Document folder.
7472
+ # @param storage Presentation storage.
7473
+ def delete_video_caption_tracks_with_http_info(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
7474
+ if @api_client.config.debugging
7475
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_video_caption_tracks ...'
7476
+ end
7477
+
7478
+ # verify the required parameter 'name' is set
7479
+ if @api_client.config.client_side_validation && name.nil?
7480
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_video_caption_tracks"
7481
+ end
7482
+ # verify the required parameter 'slide_index' is set
7483
+ if @api_client.config.client_side_validation && slide_index.nil?
7484
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_video_caption_tracks"
7485
+ end
7486
+ # verify the required parameter 'shape_index' is set
7487
+ if @api_client.config.client_side_validation && shape_index.nil?
7488
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_video_caption_tracks"
7489
+ end
7490
+ # resource path
7491
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks'
7492
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
7493
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
7494
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
7495
+
7496
+ # query parameters
7497
+ query_params = {}
7498
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
7499
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
7500
+
7501
+ # header parameters
7502
+ header_params = {}
7503
+ # HTTP header 'Accept' (if needed)
7504
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7505
+ # HTTP header 'Content-Type'
7506
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7507
+ header_params[:'password'] = password unless password.nil?
7508
+
7509
+ # http body (model)
7510
+ post_body = nil
7511
+
7512
+ # form parameters
7513
+ post_files = []
7514
+
7515
+ auth_names = ['JWT']
7516
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
7517
+ :header_params => header_params,
7518
+ :query_params => query_params,
7519
+ :body => post_body,
7520
+ :files => post_files,
7521
+ :auth_names => auth_names)
7522
+ return data, status_code, headers
7523
+ end
7367
7524
  # Removes shapes with name \"watermark\" from the presentation.
7368
7525
  # @param name Document name.
7369
7526
  # @param shape_name Name of the watermark shape. If null, default value \"watermark\"is used.
@@ -7540,8 +7697,9 @@ module AsposeSlidesCloud
7540
7697
  # @param password Document password.
7541
7698
  # @param folder Document folder.
7542
7699
  # @param storage Document storage.
7543
- def download_image(name, index, format, password = nil, folder = nil, storage = nil)
7544
- data, _status_code, _headers = download_image_with_http_info(name, index, format, password, folder, storage)
7700
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
7701
+ def download_image(name, index, format, password = nil, folder = nil, storage = nil, quality = nil)
7702
+ data, _status_code, _headers = download_image_with_http_info(name, index, format, password, folder, storage, quality)
7545
7703
  data
7546
7704
  end
7547
7705
 
@@ -7552,7 +7710,8 @@ module AsposeSlidesCloud
7552
7710
  # @param password Document password.
7553
7711
  # @param folder Document folder.
7554
7712
  # @param storage Document storage.
7555
- def download_image_with_http_info(name, index, format, password = nil, folder = nil, storage = nil)
7713
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
7714
+ def download_image_with_http_info(name, index, format, password = nil, folder = nil, storage = nil, quality = nil)
7556
7715
  if @api_client.config.debugging
7557
7716
  @api_client.config.logger.debug 'Calling API: SlidesApi.download_image ...'
7558
7717
  end
@@ -7583,6 +7742,7 @@ module AsposeSlidesCloud
7583
7742
  query_params = {}
7584
7743
  query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
7585
7744
  query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
7745
+ query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
7586
7746
 
7587
7747
  # header parameters
7588
7748
  header_params = {}
@@ -7737,8 +7897,9 @@ module AsposeSlidesCloud
7737
7897
  # @param index Image index.
7738
7898
  # @param format Export format (png, jpg, gif).
7739
7899
  # @param password Document password.
7740
- def download_image_online(document, index, format, password = nil)
7741
- data, _status_code, _headers = download_image_online_with_http_info(document, index, format, password)
7900
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
7901
+ def download_image_online(document, index, format, password = nil, quality = nil)
7902
+ data, _status_code, _headers = download_image_online_with_http_info(document, index, format, password, quality)
7742
7903
  data
7743
7904
  end
7744
7905
 
@@ -7747,7 +7908,8 @@ module AsposeSlidesCloud
7747
7908
  # @param index Image index.
7748
7909
  # @param format Export format (png, jpg, gif).
7749
7910
  # @param password Document password.
7750
- def download_image_online_with_http_info(document, index, format, password = nil)
7911
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
7912
+ def download_image_online_with_http_info(document, index, format, password = nil, quality = nil)
7751
7913
  if @api_client.config.debugging
7752
7914
  @api_client.config.logger.debug 'Calling API: SlidesApi.download_image_online ...'
7753
7915
  end
@@ -7775,6 +7937,7 @@ module AsposeSlidesCloud
7775
7937
 
7776
7938
  # query parameters
7777
7939
  query_params = {}
7940
+ query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
7778
7941
 
7779
7942
  # header parameters
7780
7943
  header_params = {}
@@ -7809,8 +7972,9 @@ module AsposeSlidesCloud
7809
7972
  # @param password Document password.
7810
7973
  # @param folder Document folder.
7811
7974
  # @param storage Document storage.
7812
- def download_images(name, format, password = nil, folder = nil, storage = nil)
7813
- data, _status_code, _headers = download_images_with_http_info(name, format, password, folder, storage)
7975
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
7976
+ def download_images(name, format, password = nil, folder = nil, storage = nil, quality = nil)
7977
+ data, _status_code, _headers = download_images_with_http_info(name, format, password, folder, storage, quality)
7814
7978
  data
7815
7979
  end
7816
7980
 
@@ -7820,7 +7984,8 @@ module AsposeSlidesCloud
7820
7984
  # @param password Document password.
7821
7985
  # @param folder Document folder.
7822
7986
  # @param storage Document storage.
7823
- def download_images_with_http_info(name, format, password = nil, folder = nil, storage = nil)
7987
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
7988
+ def download_images_with_http_info(name, format, password = nil, folder = nil, storage = nil, quality = nil)
7824
7989
  if @api_client.config.debugging
7825
7990
  @api_client.config.logger.debug 'Calling API: SlidesApi.download_images ...'
7826
7991
  end
@@ -7846,6 +8011,7 @@ module AsposeSlidesCloud
7846
8011
  query_params = {}
7847
8012
  query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
7848
8013
  query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
8014
+ query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
7849
8015
 
7850
8016
  # header parameters
7851
8017
  header_params = {}
@@ -7985,8 +8151,9 @@ module AsposeSlidesCloud
7985
8151
  # @param document Document data.
7986
8152
  # @param format Export format (png, jpg, gif).
7987
8153
  # @param password Document password.
7988
- def download_images_online(document, format, password = nil)
7989
- data, _status_code, _headers = download_images_online_with_http_info(document, format, password)
8154
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
8155
+ def download_images_online(document, format, password = nil, quality = nil)
8156
+ data, _status_code, _headers = download_images_online_with_http_info(document, format, password, quality)
7990
8157
  data
7991
8158
  end
7992
8159
 
@@ -7994,7 +8161,8 @@ module AsposeSlidesCloud
7994
8161
  # @param document Document data.
7995
8162
  # @param format Export format (png, jpg, gif).
7996
8163
  # @param password Document password.
7997
- def download_images_online_with_http_info(document, format, password = nil)
8164
+ # @param quality Image quality (0 to 100; has effect only on Jpeg format).
8165
+ def download_images_online_with_http_info(document, format, password = nil, quality = nil)
7998
8166
  if @api_client.config.debugging
7999
8167
  @api_client.config.logger.debug 'Calling API: SlidesApi.download_images_online ...'
8000
8168
  end
@@ -8017,6 +8185,7 @@ module AsposeSlidesCloud
8017
8185
 
8018
8186
  # query parameters
8019
8187
  query_params = {}
8188
+ query_params[:'quality'] = @api_client.prepare_for_query(quality) unless quality.nil?
8020
8189
 
8021
8190
  # header parameters
8022
8191
  header_params = {}
@@ -8342,8 +8511,8 @@ module AsposeSlidesCloud
8342
8511
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_presentation"
8343
8512
  end
8344
8513
  # verify enum value
8345
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
8346
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
8514
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
8515
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
8347
8516
  end
8348
8517
  # resource path
8349
8518
  local_var_path = '/slides/{name}/{format}'
@@ -8436,8 +8605,8 @@ module AsposeSlidesCloud
8436
8605
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape"
8437
8606
  end
8438
8607
  # verify enum value
8439
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
8440
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
8608
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
8609
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
8441
8610
  end
8442
8611
  if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
8443
8612
  fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
@@ -8504,8 +8673,8 @@ module AsposeSlidesCloud
8504
8673
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape_from_dto"
8505
8674
  end
8506
8675
  # verify enum value
8507
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
8508
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
8676
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
8677
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
8509
8678
  end
8510
8679
  # verify the required parameter 'dto' is set
8511
8680
  if @api_client.config.client_side_validation && dto.nil?
@@ -8592,8 +8761,8 @@ module AsposeSlidesCloud
8592
8761
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape_online"
8593
8762
  end
8594
8763
  # verify enum value
8595
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
8596
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
8764
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
8765
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
8597
8766
  end
8598
8767
  if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
8599
8768
  fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
@@ -8684,8 +8853,8 @@ module AsposeSlidesCloud
8684
8853
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide"
8685
8854
  end
8686
8855
  # verify enum value
8687
- 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', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
8688
- fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml"
8856
+ 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', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
8857
+ fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml, Emf"
8689
8858
  end
8690
8859
  # resource path
8691
8860
  local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
@@ -8768,8 +8937,8 @@ module AsposeSlidesCloud
8768
8937
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide_online"
8769
8938
  end
8770
8939
  # verify enum value
8771
- 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', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
8772
- fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml"
8940
+ 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', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
8941
+ fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml, Emf"
8773
8942
  end
8774
8943
  # resource path
8775
8944
  local_var_path = '/slides/slides/{slideIndex}/{format}'
@@ -8875,8 +9044,8 @@ module AsposeSlidesCloud
8875
9044
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_special_slide_shape"
8876
9045
  end
8877
9046
  # verify enum value
8878
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
8879
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
9047
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
9048
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
8880
9049
  end
8881
9050
  if @api_client.config.client_side_validation && bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(bounds)==0 }
8882
9051
  fail ArgumentError, "Invalid value for parameter bounds: " + bounds + ". Must be one of Slide, Shape, Appearance"
@@ -13198,6 +13367,80 @@ module AsposeSlidesCloud
13198
13367
  :return_type => 'VbaProject')
13199
13368
  return data, status_code, headers
13200
13369
  end
13370
+ # Gets video captions tracks.
13371
+ # @param name Document name.
13372
+ # @param slide_index Slide index.
13373
+ # @param shape_index Shape index (must refer to a picture frame).
13374
+ # @param include_data true to include caption data string values in the response.
13375
+ # @param password Document password.
13376
+ # @param folder Document folder.
13377
+ # @param storage Presentation storage.
13378
+ def get_video_caption_tracks(name, slide_index, shape_index, include_data = nil, password = nil, folder = nil, storage = nil)
13379
+ data, _status_code, _headers = get_video_caption_tracks_with_http_info(name, slide_index, shape_index, include_data, password, folder, storage)
13380
+ data
13381
+ end
13382
+
13383
+ # Gets video captions tracks.
13384
+ # @param name Document name.
13385
+ # @param slide_index Slide index.
13386
+ # @param shape_index Shape index (must refer to a picture frame).
13387
+ # @param include_data true to include caption data string values in the response.
13388
+ # @param password Document password.
13389
+ # @param folder Document folder.
13390
+ # @param storage Presentation storage.
13391
+ def get_video_caption_tracks_with_http_info(name, slide_index, shape_index, include_data = nil, password = nil, folder = nil, storage = nil)
13392
+ if @api_client.config.debugging
13393
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_video_caption_tracks ...'
13394
+ end
13395
+
13396
+ # verify the required parameter 'name' is set
13397
+ if @api_client.config.client_side_validation && name.nil?
13398
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_video_caption_tracks"
13399
+ end
13400
+ # verify the required parameter 'slide_index' is set
13401
+ if @api_client.config.client_side_validation && slide_index.nil?
13402
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_video_caption_tracks"
13403
+ end
13404
+ # verify the required parameter 'shape_index' is set
13405
+ if @api_client.config.client_side_validation && shape_index.nil?
13406
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_video_caption_tracks"
13407
+ end
13408
+ # resource path
13409
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks'
13410
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
13411
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
13412
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
13413
+
13414
+ # query parameters
13415
+ query_params = {}
13416
+ query_params[:'includeData'] = @api_client.prepare_for_query(include_data) unless include_data.nil?
13417
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
13418
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
13419
+
13420
+ # header parameters
13421
+ header_params = {}
13422
+ # HTTP header 'Accept' (if needed)
13423
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13424
+ # HTTP header 'Content-Type'
13425
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13426
+ header_params[:'password'] = password unless password.nil?
13427
+
13428
+ # http body (model)
13429
+ post_body = nil
13430
+
13431
+ # form parameters
13432
+ post_files = []
13433
+
13434
+ auth_names = ['JWT']
13435
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
13436
+ :header_params => header_params,
13437
+ :query_params => query_params,
13438
+ :body => post_body,
13439
+ :files => post_files,
13440
+ :auth_names => auth_names,
13441
+ :return_type => 'CaptionTracks')
13442
+ return data, status_code, headers
13443
+ end
13201
13444
  # Read presentation view properties.
13202
13445
  # @param name Document name.
13203
13446
  # @param password Document password.
@@ -13591,8 +13834,10 @@ module AsposeSlidesCloud
13591
13834
  # @param password Document password.
13592
13835
  # @param folder Document folder.
13593
13836
  # @param storage Document storage.
13594
- def import_from_html(name, html = nil, password = nil, folder = nil, storage = nil)
13595
- data, _status_code, _headers = import_from_html_with_http_info(name, html, password, folder, storage)
13837
+ # @param position Slide index before which the HTML should be added (add to the end by default).
13838
+ # @param use_slide_with_index_as_start true to insert data starting from an empty space on the slide with the specified index; false to add data to the created slides.
13839
+ def import_from_html(name, html = nil, password = nil, folder = nil, storage = nil, position = nil, use_slide_with_index_as_start = nil)
13840
+ data, _status_code, _headers = import_from_html_with_http_info(name, html, password, folder, storage, position, use_slide_with_index_as_start)
13596
13841
  data
13597
13842
  end
13598
13843
 
@@ -13602,7 +13847,9 @@ module AsposeSlidesCloud
13602
13847
  # @param password Document password.
13603
13848
  # @param folder Document folder.
13604
13849
  # @param storage Document storage.
13605
- def import_from_html_with_http_info(name, html = nil, password = nil, folder = nil, storage = nil)
13850
+ # @param position Slide index before which the HTML should be added (add to the end by default).
13851
+ # @param use_slide_with_index_as_start true to insert data starting from an empty space on the slide with the specified index; false to add data to the created slides.
13852
+ def import_from_html_with_http_info(name, html = nil, password = nil, folder = nil, storage = nil, position = nil, use_slide_with_index_as_start = nil)
13606
13853
  if @api_client.config.debugging
13607
13854
  @api_client.config.logger.debug 'Calling API: SlidesApi.import_from_html ...'
13608
13855
  end
@@ -13619,6 +13866,8 @@ module AsposeSlidesCloud
13619
13866
  query_params = {}
13620
13867
  query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
13621
13868
  query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
13869
+ query_params[:'position'] = @api_client.prepare_for_query(position) unless position.nil?
13870
+ query_params[:'useSlideWithIndexAsStart'] = @api_client.prepare_for_query(use_slide_with_index_as_start) unless use_slide_with_index_as_start.nil?
13622
13871
 
13623
13872
  # header parameters
13624
13873
  header_params = {}
@@ -15700,8 +15949,8 @@ module AsposeSlidesCloud
15700
15949
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_presentation"
15701
15950
  end
15702
15951
  # verify enum value
15703
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
15704
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml"
15952
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
15953
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md, Xml, Emf"
15705
15954
  end
15706
15955
  # verify the required parameter 'out_path' is set
15707
15956
  if @api_client.config.client_side_validation && out_path.nil?
@@ -15800,8 +16049,8 @@ module AsposeSlidesCloud
15800
16049
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_shape"
15801
16050
  end
15802
16051
  # verify enum value
15803
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
15804
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
16052
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
16053
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
15805
16054
  end
15806
16055
  # verify the required parameter 'out_path' is set
15807
16056
  if @api_client.config.client_side_validation && out_path.nil?
@@ -15904,8 +16153,8 @@ module AsposeSlidesCloud
15904
16153
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_shape_online"
15905
16154
  end
15906
16155
  # verify enum value
15907
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
15908
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
16156
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
16157
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
15909
16158
  end
15910
16159
  # verify the required parameter 'out_path' is set
15911
16160
  if @api_client.config.client_side_validation && out_path.nil?
@@ -16002,8 +16251,8 @@ module AsposeSlidesCloud
16002
16251
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide"
16003
16252
  end
16004
16253
  # verify enum value
16005
- 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', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
16006
- fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml"
16254
+ 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', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
16255
+ fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml, Emf"
16007
16256
  end
16008
16257
  # verify the required parameter 'out_path' is set
16009
16258
  if @api_client.config.client_side_validation && out_path.nil?
@@ -16092,8 +16341,8 @@ module AsposeSlidesCloud
16092
16341
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide_online"
16093
16342
  end
16094
16343
  # verify enum value
16095
- 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', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
16096
- fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml"
16344
+ 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', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
16345
+ fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml, Emf"
16097
16346
  end
16098
16347
  # verify the required parameter 'out_path' is set
16099
16348
  if @api_client.config.client_side_validation && out_path.nil?
@@ -16205,8 +16454,8 @@ module AsposeSlidesCloud
16205
16454
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_special_slide_shape"
16206
16455
  end
16207
16456
  # verify enum value
16208
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
16209
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
16457
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'].any?{ |s| s.casecmp(format)==0 }
16458
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg, Emf"
16210
16459
  end
16211
16460
  # verify the required parameter 'out_path' is set
16212
16461
  if @api_client.config.client_side_validation && out_path.nil?
@@ -17983,8 +18232,8 @@ module AsposeSlidesCloud
17983
18232
  if @api_client.config.client_side_validation && name.nil?
17984
18233
  fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
17985
18234
  end
17986
- if @api_client.config.client_side_validation && format && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
17987
- fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml"
18235
+ if @api_client.config.client_side_validation && format && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
18236
+ fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml, Emf"
17988
18237
  end
17989
18238
  # resource path
17990
18239
  local_var_path = '/slides/{name}/split'
@@ -18069,8 +18318,8 @@ module AsposeSlidesCloud
18069
18318
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_and_save_online"
18070
18319
  end
18071
18320
  # verify enum value
18072
- 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', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
18073
- fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml"
18321
+ 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', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
18322
+ fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml, Emf"
18074
18323
  end
18075
18324
  # resource path
18076
18325
  local_var_path = '/slides/split/{format}'
@@ -18154,8 +18403,8 @@ module AsposeSlidesCloud
18154
18403
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_online"
18155
18404
  end
18156
18405
  # verify enum value
18157
- 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', 'Xaml', 'Html5', 'Md', 'Xml'].any?{ |s| s.casecmp(format)==0 }
18158
- fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml"
18406
+ 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', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'].any?{ |s| s.casecmp(format)==0 }
18407
+ fail ArgumentError, "Invalid value for parameter format: " + 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, Xaml, Html5, Md, Xml, Emf"
18159
18408
  end
18160
18409
  # resource path
18161
18410
  local_var_path = '/slides/split/{format}'