aspose_slides_cloud 20.6.0 → 20.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_slides_cloud.rb +1 -0
  3. data/lib/aspose_slides_cloud/api/slides_api.rb +196 -4
  4. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +78 -0
  5. data/lib/aspose_slides_cloud/api_client.rb +6 -3
  6. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +20 -8
  7. data/lib/aspose_slides_cloud/models/add_master_slide.rb +20 -8
  8. data/lib/aspose_slides_cloud/models/add_shape.rb +20 -8
  9. data/lib/aspose_slides_cloud/models/add_slide.rb +20 -8
  10. data/lib/aspose_slides_cloud/models/api_info.rb +20 -8
  11. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +20 -8
  12. data/lib/aspose_slides_cloud/models/audio_frame.rb +20 -8
  13. data/lib/aspose_slides_cloud/models/axes.rb +20 -8
  14. data/lib/aspose_slides_cloud/models/axis.rb +20 -8
  15. data/lib/aspose_slides_cloud/models/base64_input_file.rb +20 -8
  16. data/lib/aspose_slides_cloud/models/blur_effect.rb +20 -8
  17. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +22 -8
  18. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +20 -8
  19. data/lib/aspose_slides_cloud/models/bubble_series.rb +22 -8
  20. data/lib/aspose_slides_cloud/models/chart.rb +20 -8
  21. data/lib/aspose_slides_cloud/models/chart_category.rb +20 -8
  22. data/lib/aspose_slides_cloud/models/chart_title.rb +20 -8
  23. data/lib/aspose_slides_cloud/models/chart_wall.rb +20 -8
  24. data/lib/aspose_slides_cloud/models/color_scheme.rb +20 -8
  25. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +20 -8
  26. data/lib/aspose_slides_cloud/models/connector.rb +20 -8
  27. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +20 -8
  28. data/lib/aspose_slides_cloud/models/disc_usage.rb +20 -8
  29. data/lib/aspose_slides_cloud/models/document.rb +20 -8
  30. data/lib/aspose_slides_cloud/models/document_properties.rb +20 -8
  31. data/lib/aspose_slides_cloud/models/document_property.rb +20 -8
  32. data/lib/aspose_slides_cloud/models/document_replace_result.rb +20 -8
  33. data/lib/aspose_slides_cloud/models/effect.rb +20 -8
  34. data/lib/aspose_slides_cloud/models/effect_format.rb +20 -8
  35. data/lib/aspose_slides_cloud/models/entity_exists.rb +212 -0
  36. data/lib/aspose_slides_cloud/models/error.rb +20 -8
  37. data/lib/aspose_slides_cloud/models/error_details.rb +20 -8
  38. data/lib/aspose_slides_cloud/models/export_options.rb +20 -8
  39. data/lib/aspose_slides_cloud/models/file_version.rb +20 -8
  40. data/lib/aspose_slides_cloud/models/file_versions.rb +20 -8
  41. data/lib/aspose_slides_cloud/models/files_list.rb +20 -8
  42. data/lib/aspose_slides_cloud/models/files_upload_result.rb +20 -8
  43. data/lib/aspose_slides_cloud/models/fill_format.rb +20 -8
  44. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +20 -8
  45. data/lib/aspose_slides_cloud/models/font_scheme.rb +20 -8
  46. data/lib/aspose_slides_cloud/models/font_set.rb +20 -8
  47. data/lib/aspose_slides_cloud/models/format_scheme.rb +20 -8
  48. data/lib/aspose_slides_cloud/models/geometry_shape.rb +20 -8
  49. data/lib/aspose_slides_cloud/models/glow_effect.rb +20 -8
  50. data/lib/aspose_slides_cloud/models/gradient_fill.rb +20 -8
  51. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +20 -8
  52. data/lib/aspose_slides_cloud/models/graphical_object.rb +20 -8
  53. data/lib/aspose_slides_cloud/models/group_shape.rb +20 -8
  54. data/lib/aspose_slides_cloud/models/html_export_options.rb +20 -8
  55. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +20 -8
  56. data/lib/aspose_slides_cloud/models/image.rb +20 -8
  57. data/lib/aspose_slides_cloud/models/image_export_options.rb +20 -8
  58. data/lib/aspose_slides_cloud/models/images.rb +20 -8
  59. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +20 -8
  60. data/lib/aspose_slides_cloud/models/input.rb +20 -8
  61. data/lib/aspose_slides_cloud/models/input_file.rb +20 -8
  62. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +20 -8
  63. data/lib/aspose_slides_cloud/models/layout_slide.rb +20 -8
  64. data/lib/aspose_slides_cloud/models/layout_slides.rb +20 -8
  65. data/lib/aspose_slides_cloud/models/legend.rb +20 -8
  66. data/lib/aspose_slides_cloud/models/line_format.rb +20 -8
  67. data/lib/aspose_slides_cloud/models/master_slide.rb +20 -8
  68. data/lib/aspose_slides_cloud/models/master_slides.rb +20 -8
  69. data/lib/aspose_slides_cloud/models/merge.rb +20 -8
  70. data/lib/aspose_slides_cloud/models/merging_source.rb +20 -8
  71. data/lib/aspose_slides_cloud/models/no_fill.rb +20 -8
  72. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +20 -8
  73. data/lib/aspose_slides_cloud/models/notes_slide.rb +20 -8
  74. data/lib/aspose_slides_cloud/models/object_exist.rb +20 -8
  75. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +20 -8
  76. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +20 -8
  77. data/lib/aspose_slides_cloud/models/one_value_series.rb +22 -8
  78. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +20 -8
  79. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +20 -8
  80. data/lib/aspose_slides_cloud/models/output_file.rb +20 -8
  81. data/lib/aspose_slides_cloud/models/paragraph.rb +21 -9
  82. data/lib/aspose_slides_cloud/models/paragraphs.rb +20 -8
  83. data/lib/aspose_slides_cloud/models/path_input_file.rb +20 -8
  84. data/lib/aspose_slides_cloud/models/path_output_file.rb +20 -8
  85. data/lib/aspose_slides_cloud/models/pattern_fill.rb +20 -8
  86. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +20 -8
  87. data/lib/aspose_slides_cloud/models/picture_fill.rb +20 -8
  88. data/lib/aspose_slides_cloud/models/picture_frame.rb +20 -8
  89. data/lib/aspose_slides_cloud/models/pipeline.rb +20 -8
  90. data/lib/aspose_slides_cloud/models/placeholder.rb +20 -8
  91. data/lib/aspose_slides_cloud/models/placeholders.rb +20 -8
  92. data/lib/aspose_slides_cloud/models/plot_area.rb +20 -8
  93. data/lib/aspose_slides_cloud/models/portion.rb +20 -8
  94. data/lib/aspose_slides_cloud/models/portions.rb +28 -16
  95. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +20 -8
  96. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +20 -8
  97. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +20 -8
  98. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +20 -8
  99. data/lib/aspose_slides_cloud/models/reflection_effect.rb +20 -8
  100. data/lib/aspose_slides_cloud/models/remove_shape.rb +20 -8
  101. data/lib/aspose_slides_cloud/models/remove_slide.rb +20 -8
  102. data/lib/aspose_slides_cloud/models/reorder_slide.rb +20 -8
  103. data/lib/aspose_slides_cloud/models/replace_text.rb +20 -8
  104. data/lib/aspose_slides_cloud/models/request_input_file.rb +20 -8
  105. data/lib/aspose_slides_cloud/models/reset_slide.rb +20 -8
  106. data/lib/aspose_slides_cloud/models/resource_base.rb +20 -8
  107. data/lib/aspose_slides_cloud/models/resource_uri.rb +20 -8
  108. data/lib/aspose_slides_cloud/models/resource_uri_element.rb +20 -8
  109. data/lib/aspose_slides_cloud/models/response_output_file.rb +20 -8
  110. data/lib/aspose_slides_cloud/models/save.rb +20 -8
  111. data/lib/aspose_slides_cloud/models/save_shape.rb +20 -8
  112. data/lib/aspose_slides_cloud/models/save_slide.rb +20 -8
  113. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +20 -8
  114. data/lib/aspose_slides_cloud/models/scatter_series.rb +22 -8
  115. data/lib/aspose_slides_cloud/models/series.rb +45 -12
  116. data/lib/aspose_slides_cloud/models/series_marker.rb +20 -8
  117. data/lib/aspose_slides_cloud/models/shape.rb +20 -8
  118. data/lib/aspose_slides_cloud/models/shape_base.rb +20 -8
  119. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +20 -8
  120. data/lib/aspose_slides_cloud/models/shapes.rb +20 -8
  121. data/lib/aspose_slides_cloud/models/slide.rb +20 -8
  122. data/lib/aspose_slides_cloud/models/slide_animation.rb +20 -8
  123. data/lib/aspose_slides_cloud/models/slide_background.rb +20 -8
  124. data/lib/aspose_slides_cloud/models/slide_comment.rb +20 -8
  125. data/lib/aspose_slides_cloud/models/slide_comments.rb +20 -8
  126. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +20 -8
  127. data/lib/aspose_slides_cloud/models/slides.rb +20 -8
  128. data/lib/aspose_slides_cloud/models/smart_art.rb +20 -8
  129. data/lib/aspose_slides_cloud/models/smart_art_node.rb +20 -8
  130. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +20 -8
  131. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +20 -8
  132. data/lib/aspose_slides_cloud/models/solid_fill.rb +20 -8
  133. data/lib/aspose_slides_cloud/models/split_document_result.rb +20 -8
  134. data/lib/aspose_slides_cloud/models/storage_exist.rb +20 -8
  135. data/lib/aspose_slides_cloud/models/storage_file.rb +20 -8
  136. data/lib/aspose_slides_cloud/models/svg_export_options.rb +20 -8
  137. data/lib/aspose_slides_cloud/models/swf_export_options.rb +20 -8
  138. data/lib/aspose_slides_cloud/models/table.rb +20 -8
  139. data/lib/aspose_slides_cloud/models/table_cell.rb +20 -8
  140. data/lib/aspose_slides_cloud/models/table_column.rb +20 -8
  141. data/lib/aspose_slides_cloud/models/table_row.rb +20 -8
  142. data/lib/aspose_slides_cloud/models/task.rb +20 -8
  143. data/lib/aspose_slides_cloud/models/text_item.rb +20 -8
  144. data/lib/aspose_slides_cloud/models/text_items.rb +20 -8
  145. data/lib/aspose_slides_cloud/models/theme.rb +20 -8
  146. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +20 -8
  147. data/lib/aspose_slides_cloud/models/update_background.rb +20 -8
  148. data/lib/aspose_slides_cloud/models/update_shape.rb +20 -8
  149. data/lib/aspose_slides_cloud/models/video_frame.rb +20 -8
  150. data/lib/aspose_slides_cloud/models/view_properties.rb +20 -8
  151. data/lib/aspose_slides_cloud/models/waterfall_series.rb +22 -8
  152. data/lib/aspose_slides_cloud/models/xps_export_options.rb +20 -8
  153. data/lib/aspose_slides_cloud/version.rb +1 -1
  154. data/spec/api/slides_api_spec.rb +626 -1
  155. data/spec/extra/extra_spec.rb +111 -9
  156. data/spec/spec_utils.rb +8 -1
  157. data/testRules.json +29 -4
  158. metadata +3 -2
@@ -82,15 +82,15 @@ describe 'SlidesApiExtra' do
82
82
  end
83
83
 
84
84
  it 'base shape' do
85
- #requestParam = AsposeSlidesCloud::GetSlideShapeRequest.new
86
- #requestParam.name = "test.ppt"
87
- #requestParam.slide_index = 1
88
- #requestParam.shape_index = 1
89
- #requestParam.password = "password"
90
- #requestParam.folder = "TempSlidesSDK"
91
- #AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
92
- #o = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(requestParam)
93
- #expect(o.text).to eq("1")
85
+ AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
86
+ requestParam = AsposeSlidesCloud::GetSlideShapeRequest.new
87
+ requestParam.name = "test.ppt"
88
+ requestParam.slide_index = 1
89
+ requestParam.shape_index = 1
90
+ requestParam.password = "password"
91
+ requestParam.folder = "TempSlidesSDK"
92
+ o = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(requestParam)
93
+ expect(o.text).to eq("1")
94
94
  end
95
95
 
96
96
  it 'chart' do
@@ -98,5 +98,107 @@ describe 'SlidesApiExtra' do
98
98
  expect(chart.type).to eq("Chart")
99
99
  expect(chart.shape_type).to eq("Chart")
100
100
  end
101
+
102
+ it 'timeout' do
103
+ #unstable test
104
+ #AsposeSlidesCloud::SpecUtils.initialize('post_slide_save_as', nil, nil)
105
+
106
+ #config = JSON.parse(File.read('testConfig.json'))
107
+ #configuration = AsposeSlidesCloud::Configuration.new
108
+ #configuration.base_url = config["BaseUrl"]
109
+ #configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
110
+ #configuration.app_sid = config["AppSid"]
111
+ #configuration.app_key = config["AppKey"]
112
+ #configuration.debugging = config["Debug"]
113
+ #configuration.timeout = 1
114
+ #api = AsposeSlidesCloud::SlidesApi.new(configuration)
115
+
116
+ #requestParam = AsposeSlidesCloud::PostSlideSaveAsRequest.new
117
+ #requestParam.name = "test.ppt"
118
+ #requestParam.slide_index = 1
119
+ #requestParam.password = "password"
120
+ #requestParam.folder = "TempSlidesSDK"
121
+ #requestParam.format = "svg"
122
+ #api.post_slide_save_as(requestParam)
123
+ end
124
+
125
+ it 'nullable properties' do
126
+ folderName = "TempSlidesSDK"
127
+ fileName = "placeholders.pptx"
128
+ password = "password"
129
+ min1 = 44.3
130
+ min2 = 12
131
+ max1 = 104.3
132
+ max2 = 87
133
+ AsposeSlidesCloud::SpecUtils.initialize("no_method", "no_property", nil)
134
+ requestParam = AsposeSlidesCloud::CopyFileRequest.new
135
+ requestParam.src_path = "TempTests/" + fileName
136
+ requestParam.dest_path = folderName + "/" + fileName
137
+ AsposeSlidesCloud::SpecUtils.api.copy_file(requestParam)
138
+
139
+ postRequest = AsposeSlidesCloud::PostAddNewShapeRequest.new
140
+ postRequest.name = fileName
141
+ postRequest.folder = folderName
142
+ postRequest.password = password
143
+ postRequest.slide_index = 1
144
+ postRequest.dto = AsposeSlidesCloud::Chart.new
145
+ postRequest.dto.chart_type = "Line"
146
+ postRequest.dto.width = 400.0
147
+ postRequest.dto.height = 300.0
148
+ postRequest.dto.title = AsposeSlidesCloud::ChartTitle.new
149
+ postRequest.dto.title.has_title = true
150
+ postRequest.dto.title.text = "MyTitle"
151
+ postRequest.dto.series = []
152
+ postRequest.dto.series.push(AsposeSlidesCloud::OneValueSeries.new)
153
+ postRequest.dto.series[0].type = "ClusteredColumn"
154
+ postRequest.dto.series[0].data_point_type = "OneValue"
155
+ postRequest.dto.series[0].name = "Series1"
156
+ postRequest.dto.series[0].data_points = []
157
+ postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
158
+ postRequest.dto.series[0].data_points[0].value = 40.0
159
+ postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
160
+ postRequest.dto.series[0].data_points[1].value = 50.0
161
+ postRequest.dto.axes = AsposeSlidesCloud::Axes.new
162
+ postRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
163
+ postRequest.dto.axes.horizontal_axis.is_automatic_min_value = false
164
+ postRequest.dto.axes.horizontal_axis.min_value = min1
165
+ postRequest.dto.axes.horizontal_axis.is_automatic_max_value = false
166
+ postRequest.dto.axes.horizontal_axis.max_value = max1
167
+ AsposeSlidesCloud::SpecUtils.api.post_add_new_shape(postRequest)
168
+
169
+ getRequest = AsposeSlidesCloud::GetSlideShapeRequest.new
170
+ getRequest.name = fileName
171
+ getRequest.folder = folderName
172
+ getRequest.password = password
173
+ getRequest.slide_index = 1
174
+ getRequest.shape_index = 4
175
+ result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
176
+ expect(result.axes.horizontal_axis.min_value).to eq(min1)
177
+ expect(result.axes.horizontal_axis.max_value).to eq(max1)
178
+
179
+ putRequest = AsposeSlidesCloud::PutSlideShapeInfoRequest.new
180
+ putRequest.name = fileName
181
+ putRequest.folder = folderName
182
+ putRequest.password = password
183
+ putRequest.slide_index = 1
184
+ putRequest.shape_index = 4
185
+ putRequest.dto = AsposeSlidesCloud::Chart.new
186
+ putRequest.dto.axes = AsposeSlidesCloud::Axes.new
187
+ putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
188
+ putRequest.dto.axes.horizontal_axis.min_value = min2
189
+ AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
190
+
191
+ result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
192
+ expect(result.axes.horizontal_axis.min_value).to eq(min2)
193
+ expect(result.axes.horizontal_axis.max_value).to eq(max1)
194
+
195
+ putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
196
+ putRequest.dto.axes.horizontal_axis.max_value = max2
197
+ AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
198
+
199
+ result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
200
+ expect(result.axes.horizontal_axis.min_value).to eq(min2)
201
+ expect(result.axes.horizontal_axis.max_value).to eq(max2)
202
+ end
101
203
  end
102
204
  end
@@ -26,7 +26,14 @@ module AsposeSlidesCloud
26
26
  if !@@is_initialized
27
27
  download_request = AsposeSlidesCloud::DownloadFileRequest.new
28
28
  download_request.path = "TempTests/version.txt"
29
- version = SpecUtils.api.download_file(download_request)
29
+ version = ""
30
+ begin
31
+ version = SpecUtils.api.download_file(download_request)
32
+ rescue AsposeSlidesCloud::ApiError => e
33
+ if e.code != 404
34
+ fail "Could not read from storage"
35
+ end
36
+ end
30
37
  if version != EXPECTED_TEST_DATA_VERSION
31
38
  Dir.entries(TEST_DATA_PATH).each { |f|
32
39
  if !File.directory? File.join(TEST_DATA_PATH, f)
@@ -4,6 +4,9 @@
4
4
  { "Action": "Delete", "File": "test.ppt", "Method": "PostSlidesDocument" },
5
5
  { "Action": "Delete", "File": "test.ppt", "Method": "PostSlidesDocumentFromHtml" },
6
6
  { "Action": "Delete", "File": "test.ppt", "Method": "UploadFile" },
7
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "PostChartSeries" },
8
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "PutChartSeries" },
9
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "DeleteChartSeries" },
7
10
  { "Action": "Put", "File": "test-unprotected.ppt", "Method": "DeleteSlidesCleanSlidesList" },
8
11
  { "Action": "Put", "File": "test-unprotected.ppt", "Method": "PutSlidesSlide" },
9
12
  { "Action": "Put", "File": "TemplateCV.pptx", "Method": "PostSlidesDocument" },
@@ -30,6 +33,9 @@
30
33
  { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PutSlidesSlide" },
31
34
  { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PostSlidesAdd" },
32
35
  { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "DeleteSlidesCleanSlidesList" },
36
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartSeries" },
37
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartSeries" },
38
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartSeries" },
33
39
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PutNewPresentation" },
34
40
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
35
41
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
@@ -63,6 +69,9 @@
63
69
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
64
70
  { "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
65
71
  { "Value": 3, "InvalidValue": 593, "Parameter": "ShapeIndex" },
72
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartSeries" },
73
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartSeries" },
74
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartSeries" },
66
75
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
67
76
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
68
77
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
@@ -85,6 +94,7 @@
85
94
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSubshapeSaveAs" },
86
95
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
87
96
  { "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
97
+ { "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
88
98
  { "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
89
99
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Paragraphs" },
90
100
  { "Value": 1, "InvalidValue": 593, "Parameter": "PortionIndex" },
@@ -120,10 +130,12 @@
120
130
  { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
121
131
  { "Value": {}, "InvalidValue": null, "Type": "SlideBackground", "Parameter": "Background" },
122
132
  { "Value": {}, "InvalidValue": null, "Type": "SlideAnimation", "Parameter": "Animation" },
133
+ { "Value": { "DataPointType": "OneValue" }, "InvalidValue": null, "Type": "OneValueSeries", "Parameter": "Series" },
123
134
  { "Value": { "TriggerShapeIndex": 1 }, "InvalidValue": null, "Type": "InteractiveSequence", "Parameter": "Sequence" },
124
135
  { "Value": { "ShapeIndex": 1, "Type": "Appear" }, "InvalidValue": null, "Type": "Effect", "Parameter": "Effect" },
125
136
  { "Value": { "Text": "testNote" }, "InvalidValue": null, "Type": "NotesSlide", "Parameter": "DTO" },
126
137
  { "Value": {}, "InvalidValue": null, "Type": "Paragraph", "Parameter": "DTO" },
138
+ { "Value": {}, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO" },
127
139
  {
128
140
  "Value": { "Text": "testShape", "Type": "Shape", "ShapeType": "BentArrow", "GeometryShapeType": "Rectangle" },
129
141
  "InvalidValue": null,
@@ -134,9 +146,6 @@
134
146
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
135
147
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
136
148
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostNotesSlideAddNewPortion" },
137
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutSetParagraphPortionProperties" },
138
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutSetSubshapeParagraphPortionProperties" },
139
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutUpdateNotesSlideShapePortion" },
140
149
  { "Value": { "MasterSlide": { "Uri": { "Href": "masterSlides/2" } } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
141
150
  { "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "PutSlidesSlide" },
142
151
  { "Value": { "List": [] }, "InvalidValue": null, "Type": "DocumentProperties", "Parameter": "Properties" },
@@ -222,11 +231,14 @@
222
231
  { "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
223
232
  { "Parameter": "Dto", "Method": "PostAddNotesSlide" },
224
233
  { "Parameter": "Dto", "Language": "Swift" },
234
+ { "Parameter": "SlideDto", "Language": "Swift" },
225
235
  { "Parameter": "Request", "Language": "Swift" },
226
236
  { "Parameter": "Effect", "Language": "Swift" },
227
237
  { "Parameter": "Sequence", "Language": "Swift" },
228
238
  { "Parameter": "Pipeline", "Language": "Swift" },
229
239
  { "Parameter": "Properties", "Language": "Swift" },
240
+ { "Parameter": "Property", "Language": "Swift" },
241
+ { "Parameter": "Animation", "Language": "Swift" },
230
242
  { "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
231
243
  { "Parameter": "Name", "Method": "PostSlidesDocument" },
232
244
  { "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
@@ -280,6 +292,7 @@
280
292
  { "Code": 201, "Method": "PostAddNewSubshapeParagraph" },
281
293
  { "Code": 201, "Method": "PostAddNewSubshapePortion" },
282
294
  { "Code": 201, "Method": "PostAddNewSubshape" },
295
+ { "Code": 201, "Method": "PostChartSeries" },
283
296
  { "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
284
297
  { "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
285
298
  { "Code": 201, "Method": "PostNotesSlideAddNewShape" },
@@ -317,6 +330,7 @@
317
330
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Portions" },
318
331
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "EffectIndex" },
319
332
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SequenceIndex" },
333
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SeriesIndex" },
320
334
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Position" },
321
335
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CloneFromPosition" },
322
336
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPosition" },
@@ -328,7 +342,9 @@
328
342
  { "Message": "Specified argument was out of the range of valid values.", "Parameter": "Index" },
329
343
  { "Message": "Invalid index: index should be in the range", "Parameter": "ShapeToClone" },
330
344
  { "Message": "Index was out of range.", "Parameter": "ShapeToCopy" },
331
- { "Message": "Invalid version id specified", "Parameter": "VersionId" },
345
+ { "Message": "Invalid Request", "Parameter": "VersionId" },
346
+ { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DeleteFile" },
347
+ { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DownloadFile" },
332
348
  { "Message": "AmazonS3 Storage exception", "Parameter": "VersionId", "Method": "ObjectExists" },
333
349
  { "Message": "The HTTP resource that matches the request URI", "Parameter": "Path" },
334
350
  { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetSlideShapes" },
@@ -353,6 +369,14 @@
353
369
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
354
370
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
355
371
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
372
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Swift" },
373
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Swift" },
374
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Swift" },
375
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Swift" },
376
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "CPP" },
377
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "CPP" },
378
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "CPP" },
379
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
356
380
  { "Message": "Color must be in format #FF000000", "Parameter": "Color" },
357
381
  { "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
358
382
  { "Message": "Data at the root level is invalid.", "Parameter": "Data" },
@@ -372,6 +396,7 @@
372
396
  { "Message": " DTO expected.", "Parameter": "Property" },
373
397
  { "Message": " DTO expected.", "Parameter": "Animation" },
374
398
  { "Message": " DTO expected.", "Parameter": "Sequence" },
399
+ { "Message": " DTO expected.", "Parameter": "Series" },
375
400
  { "Message": " DTO expected.", "Parameter": "Effect" },
376
401
  { "Message": " DTO expected.", "Parameter": "Request" },
377
402
  { "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_slides_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 20.6.0
4
+ version: 20.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Putrov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-04 00:00:00.000000000 Z
11
+ date: 2020-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -243,6 +243,7 @@ files:
243
243
  - lib/aspose_slides_cloud/models/document_replace_result.rb
244
244
  - lib/aspose_slides_cloud/models/effect.rb
245
245
  - lib/aspose_slides_cloud/models/effect_format.rb
246
+ - lib/aspose_slides_cloud/models/entity_exists.rb
246
247
  - lib/aspose_slides_cloud/models/error.rb
247
248
  - lib/aspose_slides_cloud/models/error_details.rb
248
249
  - lib/aspose_slides_cloud/models/export_format.rb