aspose_slides_cloud 20.5.0 → 20.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d394c014971ab16b4d564e83651a2bc4bc3ff866e52cbab7527dea50c42cbe5c
4
- data.tar.gz: 42472ab0e95384b959de5cc882b6436c237ebf096e02eb6eb6705a7fd28fc7ad
3
+ metadata.gz: 5f66f0495d8d286479a35c9d79aea4bc9b20b6365ecfcf9c755c578b67eb4628
4
+ data.tar.gz: d3015bbafe13f2c7e5c0841c59e8d44fbeba3bb9dec125f65b44107519b31e91
5
5
  SHA512:
6
- metadata.gz: bd06d3e1c74c0181a286cbefb9f5a6bf5ff9f62793aee4ead386185cbc97c6edfb17107656d2adddbbda357def0e5134097d84edca3879c7cb09231d2cf782f7
7
- data.tar.gz: 90e1bc5d4e2afd2fa0e9ca4e8aec841b0036bc3f7c03fb6f74bb9cc79a0b2e4fbf406fdf108abd72cabac122e650960dff8dfca9dfceb6065ab1244614af9444
6
+ metadata.gz: dff2a6b1453cec46bca8397888f8922ca2bb6646bc4103df1992fd81e9a728b963193134862b07ade11b28f83a525a6fd7a74df3918d5b4c79e3a7696a0d919e
7
+ data.tar.gz: 7e6cbe8a3d642725bf71bbd5c71e2bdd59e4c720299e2eaaf2d73ebcc42807ef3538b5465e5cb00cf0d76f008ea4545368845954a2195b32ec497c360438ae4f
@@ -40,6 +40,7 @@ require 'aspose_slides_cloud/models/custom_dash_pattern'
40
40
  require 'aspose_slides_cloud/models/disc_usage'
41
41
  require 'aspose_slides_cloud/models/effect'
42
42
  require 'aspose_slides_cloud/models/effect_format'
43
+ require 'aspose_slides_cloud/models/entity_exists'
43
44
  require 'aspose_slides_cloud/models/error'
44
45
  require 'aspose_slides_cloud/models/error_details'
45
46
  require 'aspose_slides_cloud/models/export_format'
@@ -365,10 +365,9 @@ module AsposeSlidesCloud
365
365
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_notes_slide_paragraph"
366
366
  end
367
367
  # resource path
368
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
368
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
369
369
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
370
370
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
371
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
372
371
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
373
372
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
374
373
 
@@ -429,10 +428,9 @@ module AsposeSlidesCloud
429
428
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_paragraphs"
430
429
  end
431
430
  # resource path
432
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
431
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
433
432
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
434
433
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
435
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
436
434
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
437
435
 
438
436
  # query parameters
@@ -501,10 +499,9 @@ module AsposeSlidesCloud
501
499
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_notes_slide_portion"
502
500
  end
503
501
  # resource path
504
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
502
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
505
503
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
506
504
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
507
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
508
505
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
509
506
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
510
507
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -570,10 +567,9 @@ module AsposeSlidesCloud
570
567
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_notes_slide_portions"
571
568
  end
572
569
  # resource path
573
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
570
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
574
571
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
575
572
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
576
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
577
573
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
578
574
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
579
575
 
@@ -635,10 +631,9 @@ module AsposeSlidesCloud
635
631
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_shape"
636
632
  end
637
633
  # resource path
638
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
634
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
639
635
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
640
636
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
641
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
642
637
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
643
638
 
644
639
  # query parameters
@@ -694,10 +689,9 @@ module AsposeSlidesCloud
694
689
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_shapes"
695
690
  end
696
691
  # resource path
697
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
692
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
698
693
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
699
694
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
700
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
701
695
 
702
696
  # query parameters
703
697
  query_params = {}
@@ -761,10 +755,9 @@ module AsposeSlidesCloud
761
755
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_paragraph"
762
756
  end
763
757
  # resource path
764
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
758
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
765
759
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
766
760
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
767
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
768
761
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
769
762
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
770
763
 
@@ -825,10 +818,9 @@ module AsposeSlidesCloud
825
818
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_paragraphs"
826
819
  end
827
820
  # resource path
828
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
821
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
829
822
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
830
823
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
831
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
832
824
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
833
825
 
834
826
  # query parameters
@@ -897,10 +889,9 @@ module AsposeSlidesCloud
897
889
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_portion"
898
890
  end
899
891
  # resource path
900
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
892
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
901
893
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
902
894
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
903
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
904
895
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
905
896
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
906
897
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -966,10 +957,9 @@ module AsposeSlidesCloud
966
957
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_portions"
967
958
  end
968
959
  # resource path
969
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
960
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
970
961
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
971
962
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
972
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
973
963
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
974
964
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
975
965
 
@@ -1450,10 +1440,9 @@ module AsposeSlidesCloud
1450
1440
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_slide_shape"
1451
1441
  end
1452
1442
  # resource path
1453
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
1443
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
1454
1444
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1455
1445
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1456
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1457
1446
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1458
1447
 
1459
1448
  # query parameters
@@ -1509,6 +1498,127 @@ module AsposeSlidesCloud
1509
1498
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_shapes"
1510
1499
  end
1511
1500
  # resource path
1501
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
1502
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1503
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1504
+
1505
+ # query parameters
1506
+ query_params = {}
1507
+ query_params[:'shapes'] = request.shapes unless request.shapes.nil?
1508
+ query_params[:'password'] = request.password unless request.password.nil?
1509
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1510
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1511
+
1512
+ # header parameters
1513
+ header_params = {}
1514
+ # HTTP header 'Accept' (if needed)
1515
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1516
+ # HTTP header 'Content-Type'
1517
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1518
+
1519
+ # http body (model)
1520
+ post_body = nil
1521
+
1522
+ # form parameters
1523
+
1524
+ post_files = nil
1525
+
1526
+
1527
+ auth_names = ['JWT']
1528
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1529
+ :header_params => header_params,
1530
+ :query_params => query_params,
1531
+ :body => post_body,
1532
+ :files => post_files,
1533
+ :auth_names => auth_names,
1534
+ :return_type => 'Shapes')
1535
+ return data, status_code, headers
1536
+ end
1537
+ # Remove a shape (for smart art and group shapes).
1538
+ # @param request operation request
1539
+ def delete_slide_subshape(request)
1540
+ data, _status_code, _headers = delete_slide_subshape_with_http_info(request)
1541
+ data
1542
+ end
1543
+
1544
+ # Remove a shape (for smart art and group shapes).
1545
+ # @param request operation request
1546
+ def delete_slide_subshape_with_http_info(request)
1547
+ if @api_client.config.debugging
1548
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_slide_subshape ...'
1549
+ end
1550
+ # verify the required parameter 'name' is set
1551
+ if @api_client.config.client_side_validation && request.name.nil?
1552
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_slide_subshape"
1553
+ end
1554
+ # verify the required parameter 'slide_index' is set
1555
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1556
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_subshape"
1557
+ end
1558
+ # verify the required parameter 'shape_index' is set
1559
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1560
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_slide_subshape"
1561
+ end
1562
+ # resource path
1563
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
1564
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1565
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1566
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1567
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1568
+
1569
+ # query parameters
1570
+ query_params = {}
1571
+ query_params[:'password'] = request.password unless request.password.nil?
1572
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1573
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1574
+
1575
+ # header parameters
1576
+ header_params = {}
1577
+ # HTTP header 'Accept' (if needed)
1578
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1579
+ # HTTP header 'Content-Type'
1580
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1581
+
1582
+ # http body (model)
1583
+ post_body = nil
1584
+
1585
+ # form parameters
1586
+
1587
+ post_files = nil
1588
+
1589
+
1590
+ auth_names = ['JWT']
1591
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1592
+ :header_params => header_params,
1593
+ :query_params => query_params,
1594
+ :body => post_body,
1595
+ :files => post_files,
1596
+ :auth_names => auth_names,
1597
+ :return_type => 'Shapes')
1598
+ return data, status_code, headers
1599
+ end
1600
+ # Remove a range of shapes (for smart art and group shapes).
1601
+ # @param request operation request
1602
+ def delete_slide_subshapes(request)
1603
+ data, _status_code, _headers = delete_slide_subshapes_with_http_info(request)
1604
+ data
1605
+ end
1606
+
1607
+ # Remove a range of shapes (for smart art and group shapes).
1608
+ # @param request operation request
1609
+ def delete_slide_subshapes_with_http_info(request)
1610
+ if @api_client.config.debugging
1611
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_slide_subshapes ...'
1612
+ end
1613
+ # verify the required parameter 'name' is set
1614
+ if @api_client.config.client_side_validation && request.name.nil?
1615
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_slide_subshapes"
1616
+ end
1617
+ # verify the required parameter 'slide_index' is set
1618
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1619
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_subshapes"
1620
+ end
1621
+ # resource path
1512
1622
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
1513
1623
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1514
1624
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
@@ -1765,32 +1875,53 @@ module AsposeSlidesCloud
1765
1875
  :return_type => 'SlideBackground')
1766
1876
  return data, status_code, headers
1767
1877
  end
1768
- # Download file
1878
+ # Remove a paragraph (for smart art and group shapes).
1769
1879
  # @param request operation request
1770
- def download_file(request)
1771
- data, _status_code, _headers = download_file_with_http_info(request)
1880
+ def delete_subshape_paragraph(request)
1881
+ data, _status_code, _headers = delete_subshape_paragraph_with_http_info(request)
1772
1882
  data
1773
1883
  end
1774
1884
 
1775
- # Download file
1885
+ # Remove a paragraph (for smart art and group shapes).
1776
1886
  # @param request operation request
1777
- def download_file_with_http_info(request)
1887
+ def delete_subshape_paragraph_with_http_info(request)
1778
1888
  if @api_client.config.debugging
1779
- @api_client.config.logger.debug 'Calling API: SlidesApi.download_file ...'
1889
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_paragraph ...'
1890
+ end
1891
+ # verify the required parameter 'name' is set
1892
+ if @api_client.config.client_side_validation && request.name.nil?
1893
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_paragraph"
1894
+ end
1895
+ # verify the required parameter 'slide_index' is set
1896
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1897
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_paragraph"
1898
+ end
1899
+ # verify the required parameter 'shape_index' is set
1900
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1901
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_paragraph"
1902
+ end
1903
+ # verify the required parameter 'paragraph_index' is set
1904
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
1905
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_paragraph"
1780
1906
  end
1781
1907
  # resource path
1782
- local_var_path = '/slides/storage/file/{path}'
1908
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
1909
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1910
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1783
1911
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1912
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1913
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
1784
1914
 
1785
1915
  # query parameters
1786
1916
  query_params = {}
1787
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
1788
- query_params[:'versionId'] = request.version_id unless request.version_id.nil?
1917
+ query_params[:'password'] = request.password unless request.password.nil?
1918
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1919
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1789
1920
 
1790
1921
  # header parameters
1791
1922
  header_params = {}
1792
1923
  # HTTP header 'Accept' (if needed)
1793
- header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
1924
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1794
1925
  # HTTP header 'Content-Type'
1795
1926
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1796
1927
 
@@ -1803,34 +1934,53 @@ module AsposeSlidesCloud
1803
1934
 
1804
1935
 
1805
1936
  auth_names = ['JWT']
1806
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1937
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1807
1938
  :header_params => header_params,
1808
1939
  :query_params => query_params,
1809
1940
  :body => post_body,
1810
1941
  :files => post_files,
1811
1942
  :auth_names => auth_names,
1812
- :return_type => 'File')
1943
+ :return_type => 'Paragraphs')
1813
1944
  return data, status_code, headers
1814
1945
  end
1815
- # Get disc usage
1946
+ # Remove a range of paragraphs (for smart art and group shapes).
1816
1947
  # @param request operation request
1817
- def get_disc_usage(request)
1818
- data, _status_code, _headers = get_disc_usage_with_http_info(request)
1948
+ def delete_subshape_paragraphs(request)
1949
+ data, _status_code, _headers = delete_subshape_paragraphs_with_http_info(request)
1819
1950
  data
1820
1951
  end
1821
1952
 
1822
- # Get disc usage
1953
+ # Remove a range of paragraphs (for smart art and group shapes).
1823
1954
  # @param request operation request
1824
- def get_disc_usage_with_http_info(request)
1955
+ def delete_subshape_paragraphs_with_http_info(request)
1825
1956
  if @api_client.config.debugging
1826
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_disc_usage ...'
1957
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_paragraphs ...'
1958
+ end
1959
+ # verify the required parameter 'name' is set
1960
+ if @api_client.config.client_side_validation && request.name.nil?
1961
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_paragraphs"
1962
+ end
1963
+ # verify the required parameter 'slide_index' is set
1964
+ if @api_client.config.client_side_validation && request.slide_index.nil?
1965
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_paragraphs"
1966
+ end
1967
+ # verify the required parameter 'shape_index' is set
1968
+ if @api_client.config.client_side_validation && request.shape_index.nil?
1969
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_paragraphs"
1827
1970
  end
1828
1971
  # resource path
1829
- local_var_path = '/slides/storage/disc'
1972
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
1973
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
1974
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1975
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
1976
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
1830
1977
 
1831
1978
  # query parameters
1832
1979
  query_params = {}
1833
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
1980
+ query_params[:'paragraphs'] = request.paragraphs unless request.paragraphs.nil?
1981
+ query_params[:'password'] = request.password unless request.password.nil?
1982
+ query_params[:'folder'] = request.folder unless request.folder.nil?
1983
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1834
1984
 
1835
1985
  # header parameters
1836
1986
  header_params = {}
@@ -1848,35 +1998,62 @@ module AsposeSlidesCloud
1848
1998
 
1849
1999
 
1850
2000
  auth_names = ['JWT']
1851
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2001
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1852
2002
  :header_params => header_params,
1853
2003
  :query_params => query_params,
1854
2004
  :body => post_body,
1855
2005
  :files => post_files,
1856
2006
  :auth_names => auth_names,
1857
- :return_type => 'DiscUsage')
2007
+ :return_type => 'Paragraphs')
1858
2008
  return data, status_code, headers
1859
2009
  end
1860
- # Get file versions
2010
+ # Remove a portion (for smart art and group shapes).
1861
2011
  # @param request operation request
1862
- def get_file_versions(request)
1863
- data, _status_code, _headers = get_file_versions_with_http_info(request)
2012
+ def delete_subshape_portion(request)
2013
+ data, _status_code, _headers = delete_subshape_portion_with_http_info(request)
1864
2014
  data
1865
2015
  end
1866
2016
 
1867
- # Get file versions
2017
+ # Remove a portion (for smart art and group shapes).
1868
2018
  # @param request operation request
1869
- def get_file_versions_with_http_info(request)
2019
+ def delete_subshape_portion_with_http_info(request)
1870
2020
  if @api_client.config.debugging
1871
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_file_versions ...'
2021
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_portion ...'
2022
+ end
2023
+ # verify the required parameter 'name' is set
2024
+ if @api_client.config.client_side_validation && request.name.nil?
2025
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_portion"
2026
+ end
2027
+ # verify the required parameter 'slide_index' is set
2028
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2029
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_portion"
2030
+ end
2031
+ # verify the required parameter 'shape_index' is set
2032
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2033
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_portion"
2034
+ end
2035
+ # verify the required parameter 'paragraph_index' is set
2036
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
2037
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_portion"
2038
+ end
2039
+ # verify the required parameter 'portion_index' is set
2040
+ if @api_client.config.client_side_validation && request.portion_index.nil?
2041
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.delete_subshape_portion"
1872
2042
  end
1873
2043
  # resource path
1874
- local_var_path = '/slides/storage/version/{path}'
2044
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2045
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2046
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1875
2047
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2048
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2049
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2050
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
1876
2051
 
1877
2052
  # query parameters
1878
2053
  query_params = {}
1879
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2054
+ query_params[:'password'] = request.password unless request.password.nil?
2055
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2056
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1880
2057
 
1881
2058
  # header parameters
1882
2059
  header_params = {}
@@ -1894,35 +2071,58 @@ module AsposeSlidesCloud
1894
2071
 
1895
2072
 
1896
2073
  auth_names = ['JWT']
1897
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2074
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1898
2075
  :header_params => header_params,
1899
2076
  :query_params => query_params,
1900
2077
  :body => post_body,
1901
2078
  :files => post_files,
1902
2079
  :auth_names => auth_names,
1903
- :return_type => 'FileVersions')
2080
+ :return_type => 'Portions')
1904
2081
  return data, status_code, headers
1905
2082
  end
1906
- # Get all files and folders within a folder
2083
+ # Remove a range of portions (for smart art and group shapes).
1907
2084
  # @param request operation request
1908
- def get_files_list(request)
1909
- data, _status_code, _headers = get_files_list_with_http_info(request)
2085
+ def delete_subshape_portions(request)
2086
+ data, _status_code, _headers = delete_subshape_portions_with_http_info(request)
1910
2087
  data
1911
2088
  end
1912
2089
 
1913
- # Get all files and folders within a folder
2090
+ # Remove a range of portions (for smart art and group shapes).
1914
2091
  # @param request operation request
1915
- def get_files_list_with_http_info(request)
2092
+ def delete_subshape_portions_with_http_info(request)
1916
2093
  if @api_client.config.debugging
1917
- @api_client.config.logger.debug 'Calling API: SlidesApi.get_files_list ...'
2094
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_subshape_portions ...'
2095
+ end
2096
+ # verify the required parameter 'name' is set
2097
+ if @api_client.config.client_side_validation && request.name.nil?
2098
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_subshape_portions"
2099
+ end
2100
+ # verify the required parameter 'slide_index' is set
2101
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2102
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_subshape_portions"
2103
+ end
2104
+ # verify the required parameter 'shape_index' is set
2105
+ if @api_client.config.client_side_validation && request.shape_index.nil?
2106
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_subshape_portions"
2107
+ end
2108
+ # verify the required parameter 'paragraph_index' is set
2109
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
2110
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.delete_subshape_portions"
1918
2111
  end
1919
2112
  # resource path
1920
- local_var_path = '/slides/storage/folder/{path}'
2113
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2114
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2115
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
1921
2116
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2117
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2118
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
1922
2119
 
1923
2120
  # query parameters
1924
2121
  query_params = {}
1925
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2122
+ query_params[:'portions'] = request.portions unless request.portions.nil?
2123
+ query_params[:'password'] = request.password unless request.password.nil?
2124
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2125
+ query_params[:'storage'] = request.storage unless request.storage.nil?
1926
2126
 
1927
2127
  # header parameters
1928
2128
  header_params = {}
@@ -1940,18 +2140,202 @@ module AsposeSlidesCloud
1940
2140
 
1941
2141
 
1942
2142
  auth_names = ['JWT']
1943
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2143
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1944
2144
  :header_params => header_params,
1945
2145
  :query_params => query_params,
1946
2146
  :body => post_body,
1947
2147
  :files => post_files,
1948
2148
  :auth_names => auth_names,
1949
- :return_type => 'FilesList')
2149
+ :return_type => 'Portions')
1950
2150
  return data, status_code, headers
1951
2151
  end
1952
- # Read presentation layoutSlide info.
2152
+ # Download file
1953
2153
  # @param request operation request
1954
- def get_layout_slide(request)
2154
+ def download_file(request)
2155
+ data, _status_code, _headers = download_file_with_http_info(request)
2156
+ data
2157
+ end
2158
+
2159
+ # Download file
2160
+ # @param request operation request
2161
+ def download_file_with_http_info(request)
2162
+ if @api_client.config.debugging
2163
+ @api_client.config.logger.debug 'Calling API: SlidesApi.download_file ...'
2164
+ end
2165
+ # resource path
2166
+ local_var_path = '/slides/storage/file/{path}'
2167
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2168
+
2169
+ # query parameters
2170
+ query_params = {}
2171
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2172
+ query_params[:'versionId'] = request.version_id unless request.version_id.nil?
2173
+
2174
+ # header parameters
2175
+ header_params = {}
2176
+ # HTTP header 'Accept' (if needed)
2177
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
2178
+ # HTTP header 'Content-Type'
2179
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2180
+
2181
+ # http body (model)
2182
+ post_body = nil
2183
+
2184
+ # form parameters
2185
+
2186
+ post_files = nil
2187
+
2188
+
2189
+ auth_names = ['JWT']
2190
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2191
+ :header_params => header_params,
2192
+ :query_params => query_params,
2193
+ :body => post_body,
2194
+ :files => post_files,
2195
+ :auth_names => auth_names,
2196
+ :return_type => 'File')
2197
+ return data, status_code, headers
2198
+ end
2199
+ # Get disc usage
2200
+ # @param request operation request
2201
+ def get_disc_usage(request)
2202
+ data, _status_code, _headers = get_disc_usage_with_http_info(request)
2203
+ data
2204
+ end
2205
+
2206
+ # Get disc usage
2207
+ # @param request operation request
2208
+ def get_disc_usage_with_http_info(request)
2209
+ if @api_client.config.debugging
2210
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_disc_usage ...'
2211
+ end
2212
+ # resource path
2213
+ local_var_path = '/slides/storage/disc'
2214
+
2215
+ # query parameters
2216
+ query_params = {}
2217
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2218
+
2219
+ # header parameters
2220
+ header_params = {}
2221
+ # HTTP header 'Accept' (if needed)
2222
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2223
+ # HTTP header 'Content-Type'
2224
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2225
+
2226
+ # http body (model)
2227
+ post_body = nil
2228
+
2229
+ # form parameters
2230
+
2231
+ post_files = nil
2232
+
2233
+
2234
+ auth_names = ['JWT']
2235
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2236
+ :header_params => header_params,
2237
+ :query_params => query_params,
2238
+ :body => post_body,
2239
+ :files => post_files,
2240
+ :auth_names => auth_names,
2241
+ :return_type => 'DiscUsage')
2242
+ return data, status_code, headers
2243
+ end
2244
+ # Get file versions
2245
+ # @param request operation request
2246
+ def get_file_versions(request)
2247
+ data, _status_code, _headers = get_file_versions_with_http_info(request)
2248
+ data
2249
+ end
2250
+
2251
+ # Get file versions
2252
+ # @param request operation request
2253
+ def get_file_versions_with_http_info(request)
2254
+ if @api_client.config.debugging
2255
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_file_versions ...'
2256
+ end
2257
+ # resource path
2258
+ local_var_path = '/slides/storage/version/{path}'
2259
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2260
+
2261
+ # query parameters
2262
+ query_params = {}
2263
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2264
+
2265
+ # header parameters
2266
+ header_params = {}
2267
+ # HTTP header 'Accept' (if needed)
2268
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2269
+ # HTTP header 'Content-Type'
2270
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2271
+
2272
+ # http body (model)
2273
+ post_body = nil
2274
+
2275
+ # form parameters
2276
+
2277
+ post_files = nil
2278
+
2279
+
2280
+ auth_names = ['JWT']
2281
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2282
+ :header_params => header_params,
2283
+ :query_params => query_params,
2284
+ :body => post_body,
2285
+ :files => post_files,
2286
+ :auth_names => auth_names,
2287
+ :return_type => 'FileVersions')
2288
+ return data, status_code, headers
2289
+ end
2290
+ # Get all files and folders within a folder
2291
+ # @param request operation request
2292
+ def get_files_list(request)
2293
+ data, _status_code, _headers = get_files_list_with_http_info(request)
2294
+ data
2295
+ end
2296
+
2297
+ # Get all files and folders within a folder
2298
+ # @param request operation request
2299
+ def get_files_list_with_http_info(request)
2300
+ if @api_client.config.debugging
2301
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_files_list ...'
2302
+ end
2303
+ # resource path
2304
+ local_var_path = '/slides/storage/folder/{path}'
2305
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2306
+
2307
+ # query parameters
2308
+ query_params = {}
2309
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
2310
+
2311
+ # header parameters
2312
+ header_params = {}
2313
+ # HTTP header 'Accept' (if needed)
2314
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2315
+ # HTTP header 'Content-Type'
2316
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2317
+
2318
+ # http body (model)
2319
+ post_body = nil
2320
+
2321
+ # form parameters
2322
+
2323
+ post_files = nil
2324
+
2325
+
2326
+ auth_names = ['JWT']
2327
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2328
+ :header_params => header_params,
2329
+ :query_params => query_params,
2330
+ :body => post_body,
2331
+ :files => post_files,
2332
+ :auth_names => auth_names,
2333
+ :return_type => 'FilesList')
2334
+ return data, status_code, headers
2335
+ end
2336
+ # Read presentation layoutSlide info.
2337
+ # @param request operation request
2338
+ def get_layout_slide(request)
1955
2339
  data, _status_code, _headers = get_layout_slide_with_http_info(request)
1956
2340
  data
1957
2341
  end
@@ -2224,6 +2608,63 @@ module AsposeSlidesCloud
2224
2608
  :return_type => 'NotesSlide')
2225
2609
  return data, status_code, headers
2226
2610
  end
2611
+ # Get info whether a notes slide exists.
2612
+ # @param request operation request
2613
+ def get_notes_slide_exists(request)
2614
+ data, _status_code, _headers = get_notes_slide_exists_with_http_info(request)
2615
+ data
2616
+ end
2617
+
2618
+ # Get info whether a notes slide exists.
2619
+ # @param request operation request
2620
+ def get_notes_slide_exists_with_http_info(request)
2621
+ if @api_client.config.debugging
2622
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_notes_slide_exists ...'
2623
+ end
2624
+ # verify the required parameter 'name' is set
2625
+ if @api_client.config.client_side_validation && request.name.nil?
2626
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_notes_slide_exists"
2627
+ end
2628
+ # verify the required parameter 'slide_index' is set
2629
+ if @api_client.config.client_side_validation && request.slide_index.nil?
2630
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_exists"
2631
+ end
2632
+ # resource path
2633
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/exist'
2634
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2635
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2636
+
2637
+ # query parameters
2638
+ query_params = {}
2639
+ query_params[:'password'] = request.password unless request.password.nil?
2640
+ query_params[:'folder'] = request.folder unless request.folder.nil?
2641
+ query_params[:'storage'] = request.storage unless request.storage.nil?
2642
+
2643
+ # header parameters
2644
+ header_params = {}
2645
+ # HTTP header 'Accept' (if needed)
2646
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2647
+ # HTTP header 'Content-Type'
2648
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2649
+
2650
+ # http body (model)
2651
+ post_body = nil
2652
+
2653
+ # form parameters
2654
+
2655
+ post_files = nil
2656
+
2657
+
2658
+ auth_names = ['JWT']
2659
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2660
+ :header_params => header_params,
2661
+ :query_params => query_params,
2662
+ :body => post_body,
2663
+ :files => post_files,
2664
+ :auth_names => auth_names,
2665
+ :return_type => 'EntityExists')
2666
+ return data, status_code, headers
2667
+ end
2227
2668
  # Read slide shape info.
2228
2669
  # @param request operation request
2229
2670
  def get_notes_slide_shape(request)
@@ -2250,10 +2691,9 @@ module AsposeSlidesCloud
2250
2691
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape"
2251
2692
  end
2252
2693
  # resource path
2253
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
2694
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
2254
2695
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2255
2696
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2256
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2257
2697
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2258
2698
 
2259
2699
  # query parameters
@@ -2317,10 +2757,9 @@ module AsposeSlidesCloud
2317
2757
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2318
2758
  end
2319
2759
  # resource path
2320
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
2760
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
2321
2761
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2322
2762
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2323
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2324
2763
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2325
2764
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2326
2765
 
@@ -2381,10 +2820,9 @@ module AsposeSlidesCloud
2381
2820
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2382
2821
  end
2383
2822
  # resource path
2384
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
2823
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
2385
2824
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2386
2825
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2387
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2388
2826
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2389
2827
 
2390
2828
  # query parameters
@@ -2452,10 +2890,9 @@ module AsposeSlidesCloud
2452
2890
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_notes_slide_shape_portion"
2453
2891
  end
2454
2892
  # resource path
2455
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2893
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2456
2894
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2457
2895
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2458
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2459
2896
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2460
2897
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2461
2898
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -2521,10 +2958,9 @@ module AsposeSlidesCloud
2521
2958
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_notes_slide_shape_portions"
2522
2959
  end
2523
2960
  # resource path
2524
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2961
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2525
2962
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2526
2963
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2527
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2528
2964
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2529
2965
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2530
2966
 
@@ -2581,10 +3017,9 @@ module AsposeSlidesCloud
2581
3017
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shapes"
2582
3018
  end
2583
3019
  # resource path
2584
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
3020
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
2585
3021
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2586
3022
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2587
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2588
3023
 
2589
3024
  # query parameters
2590
3025
  query_params = {}
@@ -2720,10 +3155,9 @@ module AsposeSlidesCloud
2720
3155
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_paragraph_portion"
2721
3156
  end
2722
3157
  # resource path
2723
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
3158
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
2724
3159
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2725
3160
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2726
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2727
3161
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2728
3162
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2729
3163
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -2789,10 +3223,9 @@ module AsposeSlidesCloud
2789
3223
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_paragraph_portions"
2790
3224
  end
2791
3225
  # resource path
2792
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
3226
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
2793
3227
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2794
3228
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2795
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2796
3229
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2797
3230
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2798
3231
 
@@ -2915,10 +3348,9 @@ module AsposeSlidesCloud
2915
3348
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape"
2916
3349
  end
2917
3350
  # resource path
2918
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
3351
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
2919
3352
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2920
3353
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2921
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2922
3354
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2923
3355
 
2924
3356
  # query parameters
@@ -2982,10 +3414,9 @@ module AsposeSlidesCloud
2982
3414
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_slide_shape_paragraph"
2983
3415
  end
2984
3416
  # resource path
2985
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
3417
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
2986
3418
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
2987
3419
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
2988
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
2989
3420
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
2990
3421
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
2991
3422
 
@@ -3046,10 +3477,9 @@ module AsposeSlidesCloud
3046
3477
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape_paragraphs"
3047
3478
  end
3048
3479
  # resource path
3049
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
3480
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
3050
3481
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3051
3482
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3052
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3053
3483
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3054
3484
 
3055
3485
  # query parameters
@@ -3105,10 +3535,9 @@ module AsposeSlidesCloud
3105
3535
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shapes"
3106
3536
  end
3107
3537
  # resource path
3108
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
3538
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
3109
3539
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3110
3540
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3111
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3112
3541
 
3113
3542
  # query parameters
3114
3543
  query_params = {}
@@ -3141,14 +3570,266 @@ module AsposeSlidesCloud
3141
3570
  :return_type => 'Shapes')
3142
3571
  return data, status_code, headers
3143
3572
  end
3144
- # Get API info.
3145
- def get_slides_api_info()
3146
- data, _status_code, _headers = get_slides_api_info_with_http_info
3573
+ # Read slide shape info (for smart art and group shapes).
3574
+ # @param request operation request
3575
+ def get_slide_subshape(request)
3576
+ data, _status_code, _headers = get_slide_subshape_with_http_info(request)
3147
3577
  data
3148
3578
  end
3149
3579
 
3150
- # Get API info.
3151
- def get_slides_api_info_with_http_info()
3580
+ # Read slide shape info (for smart art and group shapes).
3581
+ # @param request operation request
3582
+ def get_slide_subshape_with_http_info(request)
3583
+ if @api_client.config.debugging
3584
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape ...'
3585
+ end
3586
+ # verify the required parameter 'name' is set
3587
+ if @api_client.config.client_side_validation && request.name.nil?
3588
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape"
3589
+ end
3590
+ # verify the required parameter 'slide_index' is set
3591
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3592
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshape"
3593
+ end
3594
+ # verify the required parameter 'shape_index' is set
3595
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3596
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape"
3597
+ end
3598
+ # resource path
3599
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
3600
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3601
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3602
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3603
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3604
+
3605
+ # query parameters
3606
+ query_params = {}
3607
+ query_params[:'password'] = request.password unless request.password.nil?
3608
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3609
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3610
+
3611
+ # header parameters
3612
+ header_params = {}
3613
+ # HTTP header 'Accept' (if needed)
3614
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3615
+ # HTTP header 'Content-Type'
3616
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3617
+
3618
+ # http body (model)
3619
+ post_body = nil
3620
+
3621
+ # form parameters
3622
+
3623
+ post_files = nil
3624
+
3625
+
3626
+ auth_names = ['JWT']
3627
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3628
+ :header_params => header_params,
3629
+ :query_params => query_params,
3630
+ :body => post_body,
3631
+ :files => post_files,
3632
+ :auth_names => auth_names,
3633
+ :return_type => 'ShapeBase')
3634
+ return data, status_code, headers
3635
+ end
3636
+ # Read shape paragraph info (for smart art and group shapes).
3637
+ # @param request operation request
3638
+ def get_slide_subshape_paragraph(request)
3639
+ data, _status_code, _headers = get_slide_subshape_paragraph_with_http_info(request)
3640
+ data
3641
+ end
3642
+
3643
+ # Read shape paragraph info (for smart art and group shapes).
3644
+ # @param request operation request
3645
+ def get_slide_subshape_paragraph_with_http_info(request)
3646
+ if @api_client.config.debugging
3647
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape_paragraph ...'
3648
+ end
3649
+ # verify the required parameter 'name' is set
3650
+ if @api_client.config.client_side_validation && request.name.nil?
3651
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape_paragraph"
3652
+ end
3653
+ # verify the required parameter 'slide_index' is set
3654
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3655
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshape_paragraph"
3656
+ end
3657
+ # verify the required parameter 'shape_index' is set
3658
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3659
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape_paragraph"
3660
+ end
3661
+ # verify the required parameter 'paragraph_index' is set
3662
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
3663
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_slide_subshape_paragraph"
3664
+ end
3665
+ # resource path
3666
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
3667
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3668
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3669
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3670
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3671
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
3672
+
3673
+ # query parameters
3674
+ query_params = {}
3675
+ query_params[:'password'] = request.password unless request.password.nil?
3676
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3677
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3678
+
3679
+ # header parameters
3680
+ header_params = {}
3681
+ # HTTP header 'Accept' (if needed)
3682
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3683
+ # HTTP header 'Content-Type'
3684
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3685
+
3686
+ # http body (model)
3687
+ post_body = nil
3688
+
3689
+ # form parameters
3690
+
3691
+ post_files = nil
3692
+
3693
+
3694
+ auth_names = ['JWT']
3695
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3696
+ :header_params => header_params,
3697
+ :query_params => query_params,
3698
+ :body => post_body,
3699
+ :files => post_files,
3700
+ :auth_names => auth_names,
3701
+ :return_type => 'Paragraph')
3702
+ return data, status_code, headers
3703
+ end
3704
+ # Read shape paragraphs info (for smart art and group shapes).
3705
+ # @param request operation request
3706
+ def get_slide_subshape_paragraphs(request)
3707
+ data, _status_code, _headers = get_slide_subshape_paragraphs_with_http_info(request)
3708
+ data
3709
+ end
3710
+
3711
+ # Read shape paragraphs info (for smart art and group shapes).
3712
+ # @param request operation request
3713
+ def get_slide_subshape_paragraphs_with_http_info(request)
3714
+ if @api_client.config.debugging
3715
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshape_paragraphs ...'
3716
+ end
3717
+ # verify the required parameter 'name' is set
3718
+ if @api_client.config.client_side_validation && request.name.nil?
3719
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshape_paragraphs"
3720
+ end
3721
+ # verify the required parameter 'slide_index' is set
3722
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3723
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshape_paragraphs"
3724
+ end
3725
+ # verify the required parameter 'shape_index' is set
3726
+ if @api_client.config.client_side_validation && request.shape_index.nil?
3727
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_subshape_paragraphs"
3728
+ end
3729
+ # resource path
3730
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
3731
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3732
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3733
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3734
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
3735
+
3736
+ # query parameters
3737
+ query_params = {}
3738
+ query_params[:'password'] = request.password unless request.password.nil?
3739
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3740
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3741
+
3742
+ # header parameters
3743
+ header_params = {}
3744
+ # HTTP header 'Accept' (if needed)
3745
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3746
+ # HTTP header 'Content-Type'
3747
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3748
+
3749
+ # http body (model)
3750
+ post_body = nil
3751
+
3752
+ # form parameters
3753
+
3754
+ post_files = nil
3755
+
3756
+
3757
+ auth_names = ['JWT']
3758
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3759
+ :header_params => header_params,
3760
+ :query_params => query_params,
3761
+ :body => post_body,
3762
+ :files => post_files,
3763
+ :auth_names => auth_names,
3764
+ :return_type => 'Paragraphs')
3765
+ return data, status_code, headers
3766
+ end
3767
+ # Read slide shapes info.
3768
+ # @param request operation request
3769
+ def get_slide_subshapes(request)
3770
+ data, _status_code, _headers = get_slide_subshapes_with_http_info(request)
3771
+ data
3772
+ end
3773
+
3774
+ # Read slide shapes info.
3775
+ # @param request operation request
3776
+ def get_slide_subshapes_with_http_info(request)
3777
+ if @api_client.config.debugging
3778
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slide_subshapes ...'
3779
+ end
3780
+ # verify the required parameter 'name' is set
3781
+ if @api_client.config.client_side_validation && request.name.nil?
3782
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slide_subshapes"
3783
+ end
3784
+ # verify the required parameter 'slide_index' is set
3785
+ if @api_client.config.client_side_validation && request.slide_index.nil?
3786
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_subshapes"
3787
+ end
3788
+ # resource path
3789
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
3790
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
3791
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
3792
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
3793
+
3794
+ # query parameters
3795
+ query_params = {}
3796
+ query_params[:'password'] = request.password unless request.password.nil?
3797
+ query_params[:'folder'] = request.folder unless request.folder.nil?
3798
+ query_params[:'storage'] = request.storage unless request.storage.nil?
3799
+
3800
+ # header parameters
3801
+ header_params = {}
3802
+ # HTTP header 'Accept' (if needed)
3803
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3804
+ # HTTP header 'Content-Type'
3805
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3806
+
3807
+ # http body (model)
3808
+ post_body = nil
3809
+
3810
+ # form parameters
3811
+
3812
+ post_files = nil
3813
+
3814
+
3815
+ auth_names = ['JWT']
3816
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3817
+ :header_params => header_params,
3818
+ :query_params => query_params,
3819
+ :body => post_body,
3820
+ :files => post_files,
3821
+ :auth_names => auth_names,
3822
+ :return_type => 'Shapes')
3823
+ return data, status_code, headers
3824
+ end
3825
+ # Get API info.
3826
+ def get_slides_api_info()
3827
+ data, _status_code, _headers = get_slides_api_info_with_http_info
3828
+ data
3829
+ end
3830
+
3831
+ # Get API info.
3832
+ def get_slides_api_info_with_http_info()
3152
3833
  if @api_client.config.debugging
3153
3834
  @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_api_info ...'
3154
3835
  end
@@ -4309,6 +4990,147 @@ module AsposeSlidesCloud
4309
4990
  :return_type => 'ViewProperties')
4310
4991
  return data, status_code, headers
4311
4992
  end
4993
+ # Read paragraph portion info (for smart art and group shapes).
4994
+ # @param request operation request
4995
+ def get_subshape_paragraph_portion(request)
4996
+ data, _status_code, _headers = get_subshape_paragraph_portion_with_http_info(request)
4997
+ data
4998
+ end
4999
+
5000
+ # Read paragraph portion info (for smart art and group shapes).
5001
+ # @param request operation request
5002
+ def get_subshape_paragraph_portion_with_http_info(request)
5003
+ if @api_client.config.debugging
5004
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_subshape_paragraph_portion ...'
5005
+ end
5006
+ # verify the required parameter 'name' is set
5007
+ if @api_client.config.client_side_validation && request.name.nil?
5008
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_subshape_paragraph_portion"
5009
+ end
5010
+ # verify the required parameter 'slide_index' is set
5011
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5012
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_subshape_paragraph_portion"
5013
+ end
5014
+ # verify the required parameter 'shape_index' is set
5015
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5016
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_subshape_paragraph_portion"
5017
+ end
5018
+ # verify the required parameter 'paragraph_index' is set
5019
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5020
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_subshape_paragraph_portion"
5021
+ end
5022
+ # verify the required parameter 'portion_index' is set
5023
+ if @api_client.config.client_side_validation && request.portion_index.nil?
5024
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.get_subshape_paragraph_portion"
5025
+ end
5026
+ # resource path
5027
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
5028
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5029
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5030
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5031
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5032
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5033
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
5034
+
5035
+ # query parameters
5036
+ query_params = {}
5037
+ query_params[:'password'] = request.password unless request.password.nil?
5038
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5039
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5040
+
5041
+ # header parameters
5042
+ header_params = {}
5043
+ # HTTP header 'Accept' (if needed)
5044
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5045
+ # HTTP header 'Content-Type'
5046
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5047
+
5048
+ # http body (model)
5049
+ post_body = nil
5050
+
5051
+ # form parameters
5052
+
5053
+ post_files = nil
5054
+
5055
+
5056
+ auth_names = ['JWT']
5057
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5058
+ :header_params => header_params,
5059
+ :query_params => query_params,
5060
+ :body => post_body,
5061
+ :files => post_files,
5062
+ :auth_names => auth_names,
5063
+ :return_type => 'Portion')
5064
+ return data, status_code, headers
5065
+ end
5066
+ # Read paragraph portions info (for smart art and group shapes).
5067
+ # @param request operation request
5068
+ def get_subshape_paragraph_portions(request)
5069
+ data, _status_code, _headers = get_subshape_paragraph_portions_with_http_info(request)
5070
+ data
5071
+ end
5072
+
5073
+ # Read paragraph portions info (for smart art and group shapes).
5074
+ # @param request operation request
5075
+ def get_subshape_paragraph_portions_with_http_info(request)
5076
+ if @api_client.config.debugging
5077
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_subshape_paragraph_portions ...'
5078
+ end
5079
+ # verify the required parameter 'name' is set
5080
+ if @api_client.config.client_side_validation && request.name.nil?
5081
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_subshape_paragraph_portions"
5082
+ end
5083
+ # verify the required parameter 'slide_index' is set
5084
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5085
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_subshape_paragraph_portions"
5086
+ end
5087
+ # verify the required parameter 'shape_index' is set
5088
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5089
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_subshape_paragraph_portions"
5090
+ end
5091
+ # verify the required parameter 'paragraph_index' is set
5092
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5093
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.get_subshape_paragraph_portions"
5094
+ end
5095
+ # resource path
5096
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5097
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5098
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5099
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5100
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5101
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5102
+
5103
+ # query parameters
5104
+ query_params = {}
5105
+ query_params[:'password'] = request.password unless request.password.nil?
5106
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5107
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5108
+
5109
+ # header parameters
5110
+ header_params = {}
5111
+ # HTTP header 'Accept' (if needed)
5112
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5113
+ # HTTP header 'Content-Type'
5114
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5115
+
5116
+ # http body (model)
5117
+ post_body = nil
5118
+
5119
+ # form parameters
5120
+
5121
+ post_files = nil
5122
+
5123
+
5124
+ auth_names = ['JWT']
5125
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5126
+ :header_params => header_params,
5127
+ :query_params => query_params,
5128
+ :body => post_body,
5129
+ :files => post_files,
5130
+ :auth_names => auth_names,
5131
+ :return_type => 'Portions')
5132
+ return data, status_code, headers
5133
+ end
4312
5134
  # Move file
4313
5135
  # @param request operation request
4314
5136
  def move_file(request)
@@ -4372,29 +5194,206 @@ module AsposeSlidesCloud
4372
5194
  nil
4373
5195
  end
4374
5196
 
4375
- # Move folder
5197
+ # Move folder
5198
+ # @param request operation request
5199
+ def move_folder_with_http_info(request)
5200
+ if @api_client.config.debugging
5201
+ @api_client.config.logger.debug 'Calling API: SlidesApi.move_folder ...'
5202
+ end
5203
+ # verify the required parameter 'src_path' is set
5204
+ if @api_client.config.client_side_validation && request.src_path.nil?
5205
+ fail ArgumentError, "Missing the required parameter 'src_path' when calling SlidesApi.move_folder"
5206
+ end
5207
+ # verify the required parameter 'dest_path' is set
5208
+ if @api_client.config.client_side_validation && request.dest_path.nil?
5209
+ fail ArgumentError, "Missing the required parameter 'dest_path' when calling SlidesApi.move_folder"
5210
+ end
5211
+ # resource path
5212
+ local_var_path = '/slides/storage/folder/move/{srcPath}'
5213
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'srcPath', request.src_path)
5214
+
5215
+ # query parameters
5216
+ query_params = {}
5217
+ query_params[:'destPath'] = request.dest_path unless request.dest_path.nil?
5218
+ query_params[:'srcStorageName'] = request.src_storage_name unless request.src_storage_name.nil?
5219
+ query_params[:'destStorageName'] = request.dest_storage_name unless request.dest_storage_name.nil?
5220
+
5221
+ # header parameters
5222
+ header_params = {}
5223
+ # HTTP header 'Accept' (if needed)
5224
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5225
+ # HTTP header 'Content-Type'
5226
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5227
+
5228
+ # http body (model)
5229
+ post_body = nil
5230
+
5231
+ # form parameters
5232
+
5233
+ post_files = nil
5234
+
5235
+
5236
+ auth_names = ['JWT']
5237
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
5238
+ :header_params => header_params,
5239
+ :query_params => query_params,
5240
+ :body => post_body,
5241
+ :files => post_files,
5242
+ :auth_names => auth_names)
5243
+ return data, status_code, headers
5244
+ end
5245
+ # Check if file or folder exists
5246
+ # @param request operation request
5247
+ def object_exists(request)
5248
+ data, _status_code, _headers = object_exists_with_http_info(request)
5249
+ data
5250
+ end
5251
+
5252
+ # Check if file or folder exists
5253
+ # @param request operation request
5254
+ def object_exists_with_http_info(request)
5255
+ if @api_client.config.debugging
5256
+ @api_client.config.logger.debug 'Calling API: SlidesApi.object_exists ...'
5257
+ end
5258
+ # resource path
5259
+ local_var_path = '/slides/storage/exist/{path}'
5260
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5261
+
5262
+ # query parameters
5263
+ query_params = {}
5264
+ query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
5265
+ query_params[:'versionId'] = request.version_id unless request.version_id.nil?
5266
+
5267
+ # header parameters
5268
+ header_params = {}
5269
+ # HTTP header 'Accept' (if needed)
5270
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5271
+ # HTTP header 'Content-Type'
5272
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5273
+
5274
+ # http body (model)
5275
+ post_body = nil
5276
+
5277
+ # form parameters
5278
+
5279
+ post_files = nil
5280
+
5281
+
5282
+ auth_names = ['JWT']
5283
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5284
+ :header_params => header_params,
5285
+ :query_params => query_params,
5286
+ :body => post_body,
5287
+ :files => post_files,
5288
+ :auth_names => auth_names,
5289
+ :return_type => 'ObjectExist')
5290
+ return data, status_code, headers
5291
+ end
5292
+ # Creates new paragraph.
5293
+ # @param request operation request
5294
+ def post_add_new_paragraph(request)
5295
+ data, _status_code, _headers = post_add_new_paragraph_with_http_info(request)
5296
+ data
5297
+ end
5298
+
5299
+ # Creates new paragraph.
5300
+ # @param request operation request
5301
+ def post_add_new_paragraph_with_http_info(request)
5302
+ if @api_client.config.debugging
5303
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_paragraph ...'
5304
+ end
5305
+ # verify the required parameter 'name' is set
5306
+ if @api_client.config.client_side_validation && request.name.nil?
5307
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_paragraph"
5308
+ end
5309
+ # verify the required parameter 'slide_index' is set
5310
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5311
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_paragraph"
5312
+ end
5313
+ # verify the required parameter 'shape_index' is set
5314
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5315
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_paragraph"
5316
+ end
5317
+ # resource path
5318
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs'
5319
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5320
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5321
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5322
+
5323
+ # query parameters
5324
+ query_params = {}
5325
+ query_params[:'password'] = request.password unless request.password.nil?
5326
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5327
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5328
+ query_params[:'position'] = request.position unless request.position.nil?
5329
+
5330
+ # header parameters
5331
+ header_params = {}
5332
+ # HTTP header 'Accept' (if needed)
5333
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5334
+ # HTTP header 'Content-Type'
5335
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5336
+
5337
+ # http body (model)
5338
+ post_body = @api_client.object_to_http_body(request.dto)
5339
+
5340
+ # form parameters
5341
+
5342
+ post_files = nil
5343
+
5344
+
5345
+ auth_names = ['JWT']
5346
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5347
+ :header_params => header_params,
5348
+ :query_params => query_params,
5349
+ :body => post_body,
5350
+ :files => post_files,
5351
+ :auth_names => auth_names,
5352
+ :return_type => 'Paragraph')
5353
+ return data, status_code, headers
5354
+ end
5355
+ # Creates new portion.
5356
+ # @param request operation request
5357
+ def post_add_new_portion(request)
5358
+ data, _status_code, _headers = post_add_new_portion_with_http_info(request)
5359
+ data
5360
+ end
5361
+
5362
+ # Creates new portion.
4376
5363
  # @param request operation request
4377
- def move_folder_with_http_info(request)
5364
+ def post_add_new_portion_with_http_info(request)
4378
5365
  if @api_client.config.debugging
4379
- @api_client.config.logger.debug 'Calling API: SlidesApi.move_folder ...'
5366
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_portion ...'
4380
5367
  end
4381
- # verify the required parameter 'src_path' is set
4382
- if @api_client.config.client_side_validation && request.src_path.nil?
4383
- fail ArgumentError, "Missing the required parameter 'src_path' when calling SlidesApi.move_folder"
5368
+ # verify the required parameter 'name' is set
5369
+ if @api_client.config.client_side_validation && request.name.nil?
5370
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_portion"
4384
5371
  end
4385
- # verify the required parameter 'dest_path' is set
4386
- if @api_client.config.client_side_validation && request.dest_path.nil?
4387
- fail ArgumentError, "Missing the required parameter 'dest_path' when calling SlidesApi.move_folder"
5372
+ # verify the required parameter 'slide_index' is set
5373
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5374
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_portion"
5375
+ end
5376
+ # verify the required parameter 'shape_index' is set
5377
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5378
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_portion"
5379
+ end
5380
+ # verify the required parameter 'paragraph_index' is set
5381
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5382
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_add_new_portion"
4388
5383
  end
4389
5384
  # resource path
4390
- local_var_path = '/slides/storage/folder/move/{srcPath}'
4391
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'srcPath', request.src_path)
5385
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5386
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5387
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5388
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5389
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
4392
5390
 
4393
5391
  # query parameters
4394
5392
  query_params = {}
4395
- query_params[:'destPath'] = request.dest_path unless request.dest_path.nil?
4396
- query_params[:'srcStorageName'] = request.src_storage_name unless request.src_storage_name.nil?
4397
- query_params[:'destStorageName'] = request.dest_storage_name unless request.dest_storage_name.nil?
5393
+ query_params[:'password'] = request.password unless request.password.nil?
5394
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5395
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5396
+ query_params[:'position'] = request.position unless request.position.nil?
4398
5397
 
4399
5398
  # header parameters
4400
5399
  header_params = {}
@@ -4404,7 +5403,7 @@ module AsposeSlidesCloud
4404
5403
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4405
5404
 
4406
5405
  # http body (model)
4407
- post_body = nil
5406
+ post_body = @api_client.object_to_http_body(request.dto)
4408
5407
 
4409
5408
  # form parameters
4410
5409
 
@@ -4412,35 +5411,48 @@ module AsposeSlidesCloud
4412
5411
 
4413
5412
 
4414
5413
  auth_names = ['JWT']
4415
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
5414
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4416
5415
  :header_params => header_params,
4417
5416
  :query_params => query_params,
4418
5417
  :body => post_body,
4419
5418
  :files => post_files,
4420
- :auth_names => auth_names)
5419
+ :auth_names => auth_names,
5420
+ :return_type => 'Portion')
4421
5421
  return data, status_code, headers
4422
5422
  end
4423
- # Check if file or folder exists
5423
+ # Create new shape.
4424
5424
  # @param request operation request
4425
- def object_exists(request)
4426
- data, _status_code, _headers = object_exists_with_http_info(request)
5425
+ def post_add_new_shape(request)
5426
+ data, _status_code, _headers = post_add_new_shape_with_http_info(request)
4427
5427
  data
4428
5428
  end
4429
5429
 
4430
- # Check if file or folder exists
5430
+ # Create new shape.
4431
5431
  # @param request operation request
4432
- def object_exists_with_http_info(request)
5432
+ def post_add_new_shape_with_http_info(request)
4433
5433
  if @api_client.config.debugging
4434
- @api_client.config.logger.debug 'Calling API: SlidesApi.object_exists ...'
5434
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_shape ...'
5435
+ end
5436
+ # verify the required parameter 'name' is set
5437
+ if @api_client.config.client_side_validation && request.name.nil?
5438
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_shape"
5439
+ end
5440
+ # verify the required parameter 'slide_index' is set
5441
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5442
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_shape"
4435
5443
  end
4436
5444
  # resource path
4437
- local_var_path = '/slides/storage/exist/{path}'
4438
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5445
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes'
5446
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5447
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4439
5448
 
4440
5449
  # query parameters
4441
5450
  query_params = {}
4442
- query_params[:'storageName'] = request.storage_name unless request.storage_name.nil?
4443
- query_params[:'versionId'] = request.version_id unless request.version_id.nil?
5451
+ query_params[:'password'] = request.password unless request.password.nil?
5452
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5453
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5454
+ query_params[:'shapeToClone'] = request.shape_to_clone unless request.shape_to_clone.nil?
5455
+ query_params[:'position'] = request.position unless request.position.nil?
4444
5456
 
4445
5457
  # header parameters
4446
5458
  header_params = {}
@@ -4450,7 +5462,7 @@ module AsposeSlidesCloud
4450
5462
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4451
5463
 
4452
5464
  # http body (model)
4453
- post_body = nil
5465
+ post_body = @api_client.object_to_http_body(request.dto)
4454
5466
 
4455
5467
  # form parameters
4456
5468
 
@@ -4458,52 +5470,48 @@ module AsposeSlidesCloud
4458
5470
 
4459
5471
 
4460
5472
  auth_names = ['JWT']
4461
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5473
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4462
5474
  :header_params => header_params,
4463
5475
  :query_params => query_params,
4464
5476
  :body => post_body,
4465
5477
  :files => post_files,
4466
5478
  :auth_names => auth_names,
4467
- :return_type => 'ObjectExist')
5479
+ :return_type => 'ShapeBase')
4468
5480
  return data, status_code, headers
4469
5481
  end
4470
- # Creates new paragraph.
5482
+ # Create new shape (for smart art and group shapes).
4471
5483
  # @param request operation request
4472
- def post_add_new_paragraph(request)
4473
- data, _status_code, _headers = post_add_new_paragraph_with_http_info(request)
5484
+ def post_add_new_subshape(request)
5485
+ data, _status_code, _headers = post_add_new_subshape_with_http_info(request)
4474
5486
  data
4475
5487
  end
4476
5488
 
4477
- # Creates new paragraph.
5489
+ # Create new shape (for smart art and group shapes).
4478
5490
  # @param request operation request
4479
- def post_add_new_paragraph_with_http_info(request)
5491
+ def post_add_new_subshape_with_http_info(request)
4480
5492
  if @api_client.config.debugging
4481
- @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_paragraph ...'
5493
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape ...'
4482
5494
  end
4483
5495
  # verify the required parameter 'name' is set
4484
5496
  if @api_client.config.client_side_validation && request.name.nil?
4485
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_paragraph"
5497
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape"
4486
5498
  end
4487
5499
  # verify the required parameter 'slide_index' is set
4488
5500
  if @api_client.config.client_side_validation && request.slide_index.nil?
4489
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_paragraph"
4490
- end
4491
- # verify the required parameter 'shape_index' is set
4492
- if @api_client.config.client_side_validation && request.shape_index.nil?
4493
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_paragraph"
5501
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape"
4494
5502
  end
4495
5503
  # resource path
4496
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
5504
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
4497
5505
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4498
5506
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4499
5507
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4500
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4501
5508
 
4502
5509
  # query parameters
4503
5510
  query_params = {}
4504
5511
  query_params[:'password'] = request.password unless request.password.nil?
4505
5512
  query_params[:'folder'] = request.folder unless request.folder.nil?
4506
5513
  query_params[:'storage'] = request.storage unless request.storage.nil?
5514
+ query_params[:'shapeToClone'] = request.shape_to_clone unless request.shape_to_clone.nil?
4507
5515
  query_params[:'position'] = request.position unless request.position.nil?
4508
5516
 
4509
5517
  # header parameters
@@ -4528,45 +5536,40 @@ module AsposeSlidesCloud
4528
5536
  :body => post_body,
4529
5537
  :files => post_files,
4530
5538
  :auth_names => auth_names,
4531
- :return_type => 'Paragraph')
5539
+ :return_type => 'ShapeBase')
4532
5540
  return data, status_code, headers
4533
5541
  end
4534
- # Creates new portion.
5542
+ # Creates new paragraph (for smart art and group shapes).
4535
5543
  # @param request operation request
4536
- def post_add_new_portion(request)
4537
- data, _status_code, _headers = post_add_new_portion_with_http_info(request)
5544
+ def post_add_new_subshape_paragraph(request)
5545
+ data, _status_code, _headers = post_add_new_subshape_paragraph_with_http_info(request)
4538
5546
  data
4539
5547
  end
4540
5548
 
4541
- # Creates new portion.
5549
+ # Creates new paragraph (for smart art and group shapes).
4542
5550
  # @param request operation request
4543
- def post_add_new_portion_with_http_info(request)
5551
+ def post_add_new_subshape_paragraph_with_http_info(request)
4544
5552
  if @api_client.config.debugging
4545
- @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_portion ...'
5553
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape_paragraph ...'
4546
5554
  end
4547
5555
  # verify the required parameter 'name' is set
4548
5556
  if @api_client.config.client_side_validation && request.name.nil?
4549
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_portion"
5557
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape_paragraph"
4550
5558
  end
4551
5559
  # verify the required parameter 'slide_index' is set
4552
5560
  if @api_client.config.client_side_validation && request.slide_index.nil?
4553
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_portion"
5561
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape_paragraph"
4554
5562
  end
4555
5563
  # verify the required parameter 'shape_index' is set
4556
5564
  if @api_client.config.client_side_validation && request.shape_index.nil?
4557
- fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_portion"
4558
- end
4559
- # verify the required parameter 'paragraph_index' is set
4560
- if @api_client.config.client_side_validation && request.paragraph_index.nil?
4561
- fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_add_new_portion"
5565
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_subshape_paragraph"
4562
5566
  end
4563
5567
  # resource path
4564
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5568
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs'
4565
5569
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4566
5570
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4567
5571
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4568
5572
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4569
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
4570
5573
 
4571
5574
  # query parameters
4572
5575
  query_params = {}
@@ -4597,42 +5600,51 @@ module AsposeSlidesCloud
4597
5600
  :body => post_body,
4598
5601
  :files => post_files,
4599
5602
  :auth_names => auth_names,
4600
- :return_type => 'Portion')
5603
+ :return_type => 'Paragraph')
4601
5604
  return data, status_code, headers
4602
5605
  end
4603
- # Create new shape.
5606
+ # Creates new portion (for smart art and group shapes).
4604
5607
  # @param request operation request
4605
- def post_add_new_shape(request)
4606
- data, _status_code, _headers = post_add_new_shape_with_http_info(request)
5608
+ def post_add_new_subshape_portion(request)
5609
+ data, _status_code, _headers = post_add_new_subshape_portion_with_http_info(request)
4607
5610
  data
4608
5611
  end
4609
5612
 
4610
- # Create new shape.
5613
+ # Creates new portion (for smart art and group shapes).
4611
5614
  # @param request operation request
4612
- def post_add_new_shape_with_http_info(request)
5615
+ def post_add_new_subshape_portion_with_http_info(request)
4613
5616
  if @api_client.config.debugging
4614
- @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_shape ...'
5617
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_add_new_subshape_portion ...'
4615
5618
  end
4616
5619
  # verify the required parameter 'name' is set
4617
5620
  if @api_client.config.client_side_validation && request.name.nil?
4618
- fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_shape"
5621
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_add_new_subshape_portion"
4619
5622
  end
4620
5623
  # verify the required parameter 'slide_index' is set
4621
5624
  if @api_client.config.client_side_validation && request.slide_index.nil?
4622
- fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_shape"
5625
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_subshape_portion"
5626
+ end
5627
+ # verify the required parameter 'shape_index' is set
5628
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5629
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_subshape_portion"
5630
+ end
5631
+ # verify the required parameter 'paragraph_index' is set
5632
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
5633
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_add_new_subshape_portion"
4623
5634
  end
4624
5635
  # resource path
4625
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
5636
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
4626
5637
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4627
5638
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4628
5639
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5640
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5641
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
4629
5642
 
4630
5643
  # query parameters
4631
5644
  query_params = {}
4632
5645
  query_params[:'password'] = request.password unless request.password.nil?
4633
5646
  query_params[:'folder'] = request.folder unless request.folder.nil?
4634
5647
  query_params[:'storage'] = request.storage unless request.storage.nil?
4635
- query_params[:'shapeToClone'] = request.shape_to_clone unless request.shape_to_clone.nil?
4636
5648
  query_params[:'position'] = request.position unless request.position.nil?
4637
5649
 
4638
5650
  # header parameters
@@ -4657,7 +5669,7 @@ module AsposeSlidesCloud
4657
5669
  :body => post_body,
4658
5670
  :files => post_files,
4659
5671
  :auth_names => auth_names,
4660
- :return_type => 'ShapeBase')
5672
+ :return_type => 'Portion')
4661
5673
  return data, status_code, headers
4662
5674
  end
4663
5675
  # Add new notes slide.
@@ -4896,6 +5908,56 @@ module AsposeSlidesCloud
4896
5908
  :return_type => 'NotesSlide')
4897
5909
  return data, status_code, headers
4898
5910
  end
5911
+ # Get info whether a notes slide exists.
5912
+ # @param request operation request
5913
+ def post_get_notes_slide_exists(request)
5914
+ data, _status_code, _headers = post_get_notes_slide_exists_with_http_info(request)
5915
+ data
5916
+ end
5917
+
5918
+ # Get info whether a notes slide exists.
5919
+ # @param request operation request
5920
+ def post_get_notes_slide_exists_with_http_info(request)
5921
+ if @api_client.config.debugging
5922
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide_exists ...'
5923
+ end
5924
+ # verify the required parameter 'slide_index' is set
5925
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5926
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide_exists"
5927
+ end
5928
+ # resource path
5929
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide/exist'
5930
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5931
+
5932
+ # query parameters
5933
+ query_params = {}
5934
+ query_params[:'password'] = request.password unless request.password.nil?
5935
+
5936
+ # header parameters
5937
+ header_params = {}
5938
+ # HTTP header 'Accept' (if needed)
5939
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5940
+ # HTTP header 'Content-Type'
5941
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
5942
+
5943
+ # http body (model)
5944
+ post_body = @api_client.object_to_http_body(request.document)
5945
+
5946
+ # form parameters
5947
+
5948
+ post_files = nil
5949
+
5950
+
5951
+ auth_names = ['JWT']
5952
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5953
+ :header_params => header_params,
5954
+ :query_params => query_params,
5955
+ :body => post_body,
5956
+ :files => post_files,
5957
+ :auth_names => auth_names,
5958
+ :return_type => 'EntityExists')
5959
+ return data, status_code, headers
5960
+ end
4899
5961
  # Convert notes slide to the specified image format.
4900
5962
  # @param request operation request
4901
5963
  def post_get_notes_slide_with_format(request)
@@ -4984,10 +6046,9 @@ module AsposeSlidesCloud
4984
6046
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4985
6047
  end
4986
6048
  # resource path
4987
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs'
6049
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs'
4988
6050
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4989
6051
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4990
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
4991
6052
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
4992
6053
 
4993
6054
  # query parameters
@@ -5052,10 +6113,9 @@ module AsposeSlidesCloud
5052
6113
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.post_notes_slide_add_new_portion"
5053
6114
  end
5054
6115
  # resource path
5055
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
6116
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions'
5056
6117
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5057
6118
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5058
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5059
6119
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5060
6120
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
5061
6121
 
@@ -5113,10 +6173,9 @@ module AsposeSlidesCloud
5113
6173
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_shape"
5114
6174
  end
5115
6175
  # resource path
5116
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
6176
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes'
5117
6177
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5118
6178
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5119
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5120
6179
 
5121
6180
  # query parameters
5122
6181
  query_params = {}
@@ -5188,10 +6247,9 @@ module AsposeSlidesCloud
5188
6247
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
5189
6248
  end
5190
6249
  # resource path
5191
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/{format}'
6250
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/{format}'
5192
6251
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5193
6252
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5194
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5195
6253
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5196
6254
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
5197
6255
 
@@ -5319,10 +6377,9 @@ module AsposeSlidesCloud
5319
6377
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
5320
6378
  end
5321
6379
  # resource path
5322
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
6380
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
5323
6381
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5324
6382
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5325
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
5326
6383
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5327
6384
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
5328
6385
 
@@ -5563,8 +6620,8 @@ module AsposeSlidesCloud
5563
6620
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slide_save_as"
5564
6621
  end
5565
6622
  # verify enum value
5566
- 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 }
5567
- fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg"
6623
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
6624
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp"
5568
6625
  end
5569
6626
  # resource path
5570
6627
  local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
@@ -5678,8 +6735,8 @@ module AsposeSlidesCloud
5678
6735
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slides_convert"
5679
6736
  end
5680
6737
  # verify enum value
5681
- 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 }
5682
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
6738
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
6739
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
5683
6740
  end
5684
6741
  # resource path
5685
6742
  local_var_path = '/slides/convert/{format}'
@@ -6242,8 +7299,8 @@ module AsposeSlidesCloud
6242
7299
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_slides_save_as"
6243
7300
  end
6244
7301
  # verify enum value
6245
- 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 }
6246
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
7302
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
7303
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
6247
7304
  end
6248
7305
  # resource path
6249
7306
  local_var_path = '/slides/{name}/{format}'
@@ -6419,8 +7476,8 @@ module AsposeSlidesCloud
6419
7476
  if @api_client.config.client_side_validation && request.name.nil?
6420
7477
  fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_slides_split"
6421
7478
  end
6422
- 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 }
6423
- fail ArgumentError, 'invalid value for "format", must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg'
7479
+ if @api_client.config.client_side_validation && request.format && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
7480
+ fail ArgumentError, 'invalid value for "format", must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp'
6424
7481
  end
6425
7482
  # resource path
6426
7483
  local_var_path = '/slides/{name}/split'
@@ -6442,7 +7499,86 @@ module AsposeSlidesCloud
6442
7499
  # header parameters
6443
7500
  header_params = {}
6444
7501
  # HTTP header 'Accept' (if needed)
6445
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7502
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7503
+ # HTTP header 'Content-Type'
7504
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7505
+
7506
+ # http body (model)
7507
+ post_body = @api_client.object_to_http_body(request.options)
7508
+
7509
+ # form parameters
7510
+
7511
+ post_files = nil
7512
+
7513
+
7514
+ auth_names = ['JWT']
7515
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
7516
+ :header_params => header_params,
7517
+ :query_params => query_params,
7518
+ :body => post_body,
7519
+ :files => post_files,
7520
+ :auth_names => auth_names,
7521
+ :return_type => 'SplitDocumentResult')
7522
+ return data, status_code, headers
7523
+ end
7524
+ # Render shape to specified picture format (for smart art and group shapes).
7525
+ # @param request operation request
7526
+ def post_subshape_save_as(request)
7527
+ data, _status_code, _headers = post_subshape_save_as_with_http_info(request)
7528
+ data
7529
+ end
7530
+
7531
+ # Render shape to specified picture format (for smart art and group shapes).
7532
+ # @param request operation request
7533
+ def post_subshape_save_as_with_http_info(request)
7534
+ if @api_client.config.debugging
7535
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_subshape_save_as ...'
7536
+ end
7537
+ # verify the required parameter 'name' is set
7538
+ if @api_client.config.client_side_validation && request.name.nil?
7539
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_subshape_save_as"
7540
+ end
7541
+ # verify the required parameter 'slide_index' is set
7542
+ if @api_client.config.client_side_validation && request.slide_index.nil?
7543
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_subshape_save_as"
7544
+ end
7545
+ # verify the required parameter 'shape_index' is set
7546
+ if @api_client.config.client_side_validation && request.shape_index.nil?
7547
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_subshape_save_as"
7548
+ end
7549
+ # verify the required parameter 'format' is set
7550
+ if @api_client.config.client_side_validation && request.format.nil?
7551
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_subshape_save_as"
7552
+ end
7553
+ # verify enum value
7554
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
7555
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
7556
+ end
7557
+ if @api_client.config.client_side_validation && request.bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(request.bounds)==0 }
7558
+ fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
7559
+ end
7560
+ # resource path
7561
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
7562
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7563
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7564
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7565
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7566
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
7567
+
7568
+ # query parameters
7569
+ query_params = {}
7570
+ query_params[:'password'] = request.password unless request.password.nil?
7571
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7572
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7573
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
7574
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
7575
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
7576
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
7577
+
7578
+ # header parameters
7579
+ header_params = {}
7580
+ # HTTP header 'Accept' (if needed)
7581
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
6446
7582
  # HTTP header 'Content-Type'
6447
7583
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6448
7584
 
@@ -6461,7 +7597,7 @@ module AsposeSlidesCloud
6461
7597
  :body => post_body,
6462
7598
  :files => post_files,
6463
7599
  :auth_names => auth_names,
6464
- :return_type => 'SplitDocumentResult')
7600
+ :return_type => 'File')
6465
7601
  return data, status_code, headers
6466
7602
  end
6467
7603
  # Update a layoutSlide.
@@ -6562,10 +7698,9 @@ module AsposeSlidesCloud
6562
7698
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
6563
7699
  end
6564
7700
  # resource path
6565
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/{format}'
7701
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/{format}'
6566
7702
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6567
7703
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6568
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
6569
7704
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6570
7705
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
6571
7706
 
@@ -6690,10 +7825,9 @@ module AsposeSlidesCloud
6690
7825
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_paragraph_portion_properties"
6691
7826
  end
6692
7827
  # resource path
6693
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
7828
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
6694
7829
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6695
7830
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6696
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
6697
7831
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6698
7832
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
6699
7833
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
@@ -6759,6 +7893,146 @@ module AsposeSlidesCloud
6759
7893
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_paragraph_properties"
6760
7894
  end
6761
7895
  # resource path
7896
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
7897
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7898
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7899
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7900
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7901
+
7902
+ # query parameters
7903
+ query_params = {}
7904
+ query_params[:'password'] = request.password unless request.password.nil?
7905
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7906
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7907
+
7908
+ # header parameters
7909
+ header_params = {}
7910
+ # HTTP header 'Accept' (if needed)
7911
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7912
+ # HTTP header 'Content-Type'
7913
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7914
+
7915
+ # http body (model)
7916
+ post_body = @api_client.object_to_http_body(request.dto)
7917
+
7918
+ # form parameters
7919
+
7920
+ post_files = nil
7921
+
7922
+
7923
+ auth_names = ['JWT']
7924
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7925
+ :header_params => header_params,
7926
+ :query_params => query_params,
7927
+ :body => post_body,
7928
+ :files => post_files,
7929
+ :auth_names => auth_names,
7930
+ :return_type => 'Paragraph')
7931
+ return data, status_code, headers
7932
+ end
7933
+ # Update portion properties (for smart art and group shapes).
7934
+ # @param request operation request
7935
+ def put_set_subshape_paragraph_portion_properties(request)
7936
+ data, _status_code, _headers = put_set_subshape_paragraph_portion_properties_with_http_info(request)
7937
+ data
7938
+ end
7939
+
7940
+ # Update portion properties (for smart art and group shapes).
7941
+ # @param request operation request
7942
+ def put_set_subshape_paragraph_portion_properties_with_http_info(request)
7943
+ if @api_client.config.debugging
7944
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_subshape_paragraph_portion_properties ...'
7945
+ end
7946
+ # verify the required parameter 'name' is set
7947
+ if @api_client.config.client_side_validation && request.name.nil?
7948
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
7949
+ end
7950
+ # verify the required parameter 'slide_index' is set
7951
+ if @api_client.config.client_side_validation && request.slide_index.nil?
7952
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
7953
+ end
7954
+ # verify the required parameter 'shape_index' is set
7955
+ if @api_client.config.client_side_validation && request.shape_index.nil?
7956
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
7957
+ end
7958
+ # verify the required parameter 'paragraph_index' is set
7959
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
7960
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
7961
+ end
7962
+ # verify the required parameter 'portion_index' is set
7963
+ if @api_client.config.client_side_validation && request.portion_index.nil?
7964
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_set_subshape_paragraph_portion_properties"
7965
+ end
7966
+ # resource path
7967
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
7968
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7969
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7970
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7971
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7972
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7973
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)
7974
+
7975
+ # query parameters
7976
+ query_params = {}
7977
+ query_params[:'password'] = request.password unless request.password.nil?
7978
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7979
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7980
+
7981
+ # header parameters
7982
+ header_params = {}
7983
+ # HTTP header 'Accept' (if needed)
7984
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7985
+ # HTTP header 'Content-Type'
7986
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7987
+
7988
+ # http body (model)
7989
+ post_body = @api_client.object_to_http_body(request.dto)
7990
+
7991
+ # form parameters
7992
+
7993
+ post_files = nil
7994
+
7995
+
7996
+ auth_names = ['JWT']
7997
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7998
+ :header_params => header_params,
7999
+ :query_params => query_params,
8000
+ :body => post_body,
8001
+ :files => post_files,
8002
+ :auth_names => auth_names,
8003
+ :return_type => 'Portion')
8004
+ return data, status_code, headers
8005
+ end
8006
+ # Update paragraph properties (for smart art and group shapes).
8007
+ # @param request operation request
8008
+ def put_set_subshape_paragraph_properties(request)
8009
+ data, _status_code, _headers = put_set_subshape_paragraph_properties_with_http_info(request)
8010
+ data
8011
+ end
8012
+
8013
+ # Update paragraph properties (for smart art and group shapes).
8014
+ # @param request operation request
8015
+ def put_set_subshape_paragraph_properties_with_http_info(request)
8016
+ if @api_client.config.debugging
8017
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_set_subshape_paragraph_properties ...'
8018
+ end
8019
+ # verify the required parameter 'name' is set
8020
+ if @api_client.config.client_side_validation && request.name.nil?
8021
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_set_subshape_paragraph_properties"
8022
+ end
8023
+ # verify the required parameter 'slide_index' is set
8024
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8025
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
8026
+ end
8027
+ # verify the required parameter 'shape_index' is set
8028
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8029
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
8030
+ end
8031
+ # verify the required parameter 'paragraph_index' is set
8032
+ if @api_client.config.client_side_validation && request.paragraph_index.nil?
8033
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_set_subshape_paragraph_properties"
8034
+ end
8035
+ # resource path
6762
8036
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
6763
8037
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6764
8038
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
@@ -6838,10 +8112,9 @@ module AsposeSlidesCloud
6838
8112
  fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
6839
8113
  end
6840
8114
  # resource path
6841
- local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
8115
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{format}'
6842
8116
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6843
8117
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6844
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
6845
8118
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6846
8119
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
6847
8120
 
@@ -7092,8 +8365,8 @@ module AsposeSlidesCloud
7092
8365
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slide_save_as"
7093
8366
  end
7094
8367
  # verify enum value
7095
- 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 }
7096
- fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg"
8368
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
8369
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp"
7097
8370
  end
7098
8371
  # verify the required parameter 'out_path' is set
7099
8372
  if @api_client.config.client_side_validation && request.out_path.nil?
@@ -7165,6 +8438,68 @@ module AsposeSlidesCloud
7165
8438
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_slide_shape_info"
7166
8439
  end
7167
8440
  # resource path
8441
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}'
8442
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
8443
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
8444
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
8445
+
8446
+ # query parameters
8447
+ query_params = {}
8448
+ query_params[:'password'] = request.password unless request.password.nil?
8449
+ query_params[:'folder'] = request.folder unless request.folder.nil?
8450
+ query_params[:'storage'] = request.storage unless request.storage.nil?
8451
+
8452
+ # header parameters
8453
+ header_params = {}
8454
+ # HTTP header 'Accept' (if needed)
8455
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8456
+ # HTTP header 'Content-Type'
8457
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8458
+
8459
+ # http body (model)
8460
+ post_body = @api_client.object_to_http_body(request.dto)
8461
+
8462
+ # form parameters
8463
+
8464
+ post_files = nil
8465
+
8466
+
8467
+ auth_names = ['JWT']
8468
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8469
+ :header_params => header_params,
8470
+ :query_params => query_params,
8471
+ :body => post_body,
8472
+ :files => post_files,
8473
+ :auth_names => auth_names,
8474
+ :return_type => 'ShapeBase')
8475
+ return data, status_code, headers
8476
+ end
8477
+ # Update shape properties (for smart art and group shapes).
8478
+ # @param request operation request
8479
+ def put_slide_subshape_info(request)
8480
+ data, _status_code, _headers = put_slide_subshape_info_with_http_info(request)
8481
+ data
8482
+ end
8483
+
8484
+ # Update shape properties (for smart art and group shapes).
8485
+ # @param request operation request
8486
+ def put_slide_subshape_info_with_http_info(request)
8487
+ if @api_client.config.debugging
8488
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_slide_subshape_info ...'
8489
+ end
8490
+ # verify the required parameter 'name' is set
8491
+ if @api_client.config.client_side_validation && request.name.nil?
8492
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_slide_subshape_info"
8493
+ end
8494
+ # verify the required parameter 'slide_index' is set
8495
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8496
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_slide_subshape_info"
8497
+ end
8498
+ # verify the required parameter 'shape_index' is set
8499
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8500
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_slide_subshape_info"
8501
+ end
8502
+ # resource path
7168
8503
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}'
7169
8504
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7170
8505
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
@@ -7220,8 +8555,8 @@ module AsposeSlidesCloud
7220
8555
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slides_convert"
7221
8556
  end
7222
8557
  # verify enum value
7223
- 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 }
7224
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
8558
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
8559
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
7225
8560
  end
7226
8561
  # verify the required parameter 'out_path' is set
7227
8562
  if @api_client.config.client_side_validation && request.out_path.nil?
@@ -7339,8 +8674,8 @@ module AsposeSlidesCloud
7339
8674
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_slides_save_as"
7340
8675
  end
7341
8676
  # verify enum value
7342
- 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 }
7343
- fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp"
8677
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp'].any?{ |s| s.casecmp(request.format)==0 }
8678
+ fail ArgumentError, "invalid value for 'format', must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp"
7344
8679
  end
7345
8680
  # resource path
7346
8681
  local_var_path = '/slides/{name}/{format}'
@@ -7726,6 +9061,89 @@ module AsposeSlidesCloud
7726
9061
  :return_type => 'ViewProperties')
7727
9062
  return data, status_code, headers
7728
9063
  end
9064
+ # Render shape to specified picture format.
9065
+ # @param request operation request
9066
+ def put_subshape_save_as(request)
9067
+ put_subshape_save_as_with_http_info(request)
9068
+ nil
9069
+ end
9070
+
9071
+ # Render shape to specified picture format.
9072
+ # @param request operation request
9073
+ def put_subshape_save_as_with_http_info(request)
9074
+ if @api_client.config.debugging
9075
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_subshape_save_as ...'
9076
+ end
9077
+ # verify the required parameter 'name' is set
9078
+ if @api_client.config.client_side_validation && request.name.nil?
9079
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_subshape_save_as"
9080
+ end
9081
+ # verify the required parameter 'slide_index' is set
9082
+ if @api_client.config.client_side_validation && request.slide_index.nil?
9083
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_subshape_save_as"
9084
+ end
9085
+ # verify the required parameter 'shape_index' is set
9086
+ if @api_client.config.client_side_validation && request.shape_index.nil?
9087
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_subshape_save_as"
9088
+ end
9089
+ # verify the required parameter 'format' is set
9090
+ if @api_client.config.client_side_validation && request.format.nil?
9091
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.put_subshape_save_as"
9092
+ end
9093
+ # verify enum value
9094
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(request.format)==0 }
9095
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
9096
+ end
9097
+ # verify the required parameter 'out_path' is set
9098
+ if @api_client.config.client_side_validation && request.out_path.nil?
9099
+ fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.put_subshape_save_as"
9100
+ end
9101
+ if @api_client.config.client_side_validation && request.bounds && !['Slide', 'Shape', 'Appearance'].any?{ |s| s.casecmp(request.bounds)==0 }
9102
+ fail ArgumentError, 'invalid value for "bounds", must be one of Slide, Shape, Appearance'
9103
+ end
9104
+ # resource path
9105
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}/{shapeIndex}/{format}'
9106
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
9107
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
9108
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
9109
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
9110
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
9111
+
9112
+ # query parameters
9113
+ query_params = {}
9114
+ query_params[:'outPath'] = request.out_path unless request.out_path.nil?
9115
+ query_params[:'password'] = request.password unless request.password.nil?
9116
+ query_params[:'folder'] = request.folder unless request.folder.nil?
9117
+ query_params[:'storage'] = request.storage unless request.storage.nil?
9118
+ query_params[:'scaleX'] = request.scale_x unless request.scale_x.nil?
9119
+ query_params[:'scaleY'] = request.scale_y unless request.scale_y.nil?
9120
+ query_params[:'bounds'] = request.bounds unless request.bounds.nil?
9121
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
9122
+
9123
+ # header parameters
9124
+ header_params = {}
9125
+ # HTTP header 'Accept' (if needed)
9126
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9127
+ # HTTP header 'Content-Type'
9128
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
9129
+
9130
+ # http body (model)
9131
+ post_body = @api_client.object_to_http_body(request.options)
9132
+
9133
+ # form parameters
9134
+
9135
+ post_files = nil
9136
+
9137
+
9138
+ auth_names = ['JWT']
9139
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
9140
+ :header_params => header_params,
9141
+ :query_params => query_params,
9142
+ :body => post_body,
9143
+ :files => post_files,
9144
+ :auth_names => auth_names)
9145
+ return data, status_code, headers
9146
+ end
7729
9147
  # Update notes slide properties.
7730
9148
  # @param request operation request
7731
9149
  def put_update_notes_slide(request)
@@ -7809,10 +9227,9 @@ module AsposeSlidesCloud
7809
9227
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape"
7810
9228
  end
7811
9229
  # resource path
7812
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}'
9230
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}'
7813
9231
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7814
9232
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7815
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7816
9233
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7817
9234
 
7818
9235
  # query parameters
@@ -7876,10 +9293,9 @@ module AsposeSlidesCloud
7876
9293
  fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7877
9294
  end
7878
9295
  # resource path
7879
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}'
9296
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}'
7880
9297
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7881
9298
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7882
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7883
9299
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7884
9300
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7885
9301
 
@@ -7948,10 +9364,9 @@ module AsposeSlidesCloud
7948
9364
  fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
7949
9365
  end
7950
9366
  # resource path
7951
- local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
9367
+ local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}'
7952
9368
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7953
9369
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
7954
- local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
7955
9370
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
7956
9371
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', request.paragraph_index)
7957
9372
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', request.portion_index)