aspose_slides_cloud 20.7.0 → 20.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/TestData/ChartTest.pptx +0 -0
  3. data/lib/aspose_slides_cloud.rb +5 -3
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +407 -0
  5. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +165 -0
  6. data/lib/aspose_slides_cloud/api_client.rb +1 -2
  7. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +11 -40
  8. data/lib/aspose_slides_cloud/models/add_master_slide.rb +11 -40
  9. data/lib/aspose_slides_cloud/models/add_shape.rb +11 -40
  10. data/lib/aspose_slides_cloud/models/add_slide.rb +11 -40
  11. data/lib/aspose_slides_cloud/models/api_info.rb +2 -2
  12. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +2 -2
  13. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -236
  14. data/lib/aspose_slides_cloud/models/axes.rb +2 -2
  15. data/lib/aspose_slides_cloud/models/axis.rb +2 -2
  16. data/lib/aspose_slides_cloud/models/base64_input_file.rb +11 -49
  17. data/lib/aspose_slides_cloud/models/blur_effect.rb +2 -2
  18. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +11 -216
  19. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +10 -40
  20. data/lib/aspose_slides_cloud/models/bubble_series.rb +11 -205
  21. data/lib/aspose_slides_cloud/models/chart.rb +12 -210
  22. data/lib/aspose_slides_cloud/models/chart_category.rb +16 -4
  23. data/lib/aspose_slides_cloud/models/chart_title.rb +2 -2
  24. data/lib/aspose_slides_cloud/models/chart_wall.rb +2 -2
  25. data/lib/aspose_slides_cloud/models/color_scheme.rb +10 -32
  26. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +2 -2
  27. data/lib/aspose_slides_cloud/models/connector.rb +11 -234
  28. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +2 -2
  29. data/lib/aspose_slides_cloud/models/disc_usage.rb +2 -2
  30. data/lib/aspose_slides_cloud/models/document.rb +10 -32
  31. data/lib/aspose_slides_cloud/models/document_properties.rb +10 -32
  32. data/lib/aspose_slides_cloud/models/document_property.rb +10 -32
  33. data/lib/aspose_slides_cloud/models/document_replace_result.rb +10 -86
  34. data/lib/aspose_slides_cloud/models/effect.rb +2 -2
  35. data/lib/aspose_slides_cloud/models/effect_format.rb +2 -2
  36. data/lib/aspose_slides_cloud/models/entity_exists.rb +2 -2
  37. data/lib/aspose_slides_cloud/models/error.rb +2 -2
  38. data/lib/aspose_slides_cloud/models/error_details.rb +2 -2
  39. data/lib/aspose_slides_cloud/models/export_options.rb +13 -3
  40. data/lib/aspose_slides_cloud/models/file_version.rb +10 -67
  41. data/lib/aspose_slides_cloud/models/file_versions.rb +2 -2
  42. data/lib/aspose_slides_cloud/models/files_list.rb +2 -2
  43. data/lib/aspose_slides_cloud/models/files_upload_result.rb +2 -2
  44. data/lib/aspose_slides_cloud/models/fill_format.rb +2 -2
  45. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +2 -2
  46. data/lib/aspose_slides_cloud/models/font_scheme.rb +10 -32
  47. data/lib/aspose_slides_cloud/models/font_set.rb +2 -2
  48. data/lib/aspose_slides_cloud/models/format_scheme.rb +10 -32
  49. data/lib/aspose_slides_cloud/models/geometry_shape.rb +10 -200
  50. data/lib/aspose_slides_cloud/models/glow_effect.rb +2 -2
  51. data/lib/aspose_slides_cloud/models/gradient_fill.rb +11 -40
  52. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +2 -2
  53. data/lib/aspose_slides_cloud/models/graphical_object.rb +11 -209
  54. data/lib/aspose_slides_cloud/models/group_shape.rb +11 -209
  55. data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -24
  56. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +2 -2
  57. data/lib/aspose_slides_cloud/models/image.rb +10 -32
  58. data/lib/aspose_slides_cloud/models/image_export_options.rb +13 -24
  59. data/lib/aspose_slides_cloud/models/images.rb +10 -32
  60. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +2 -2
  61. data/lib/aspose_slides_cloud/models/input.rb +2 -2
  62. data/lib/aspose_slides_cloud/models/input_file.rb +2 -2
  63. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +2 -2
  64. data/lib/aspose_slides_cloud/models/layout_slide.rb +10 -32
  65. data/lib/aspose_slides_cloud/models/layout_slides.rb +10 -32
  66. data/lib/aspose_slides_cloud/models/legend.rb +2 -2
  67. data/lib/aspose_slides_cloud/models/line_format.rb +2 -2
  68. data/lib/aspose_slides_cloud/models/master_slide.rb +10 -32
  69. data/lib/aspose_slides_cloud/models/master_slides.rb +10 -32
  70. data/lib/aspose_slides_cloud/models/merge.rb +11 -40
  71. data/lib/aspose_slides_cloud/models/merging_source.rb +2 -2
  72. data/lib/aspose_slides_cloud/models/no_fill.rb +9 -38
  73. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +2 -2
  74. data/lib/aspose_slides_cloud/models/notes_slide.rb +10 -32
  75. data/lib/aspose_slides_cloud/models/object_exist.rb +2 -2
  76. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +12 -210
  77. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +10 -12
  78. data/lib/aspose_slides_cloud/models/one_value_series.rb +11 -205
  79. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +2 -2
  80. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +2 -2
  81. data/lib/aspose_slides_cloud/models/output_file.rb +2 -2
  82. data/lib/aspose_slides_cloud/models/paragraph.rb +10 -32
  83. data/lib/aspose_slides_cloud/models/paragraphs.rb +10 -32
  84. data/lib/aspose_slides_cloud/models/path_input_file.rb +11 -49
  85. data/lib/aspose_slides_cloud/models/path_output_file.rb +11 -40
  86. data/lib/aspose_slides_cloud/models/pattern_fill.rb +11 -40
  87. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -24
  88. data/lib/aspose_slides_cloud/models/picture_fill.rb +11 -40
  89. data/lib/aspose_slides_cloud/models/picture_frame.rb +12 -236
  90. data/lib/aspose_slides_cloud/models/pipeline.rb +2 -2
  91. data/lib/aspose_slides_cloud/models/placeholder.rb +10 -32
  92. data/lib/aspose_slides_cloud/models/placeholders.rb +10 -32
  93. data/lib/aspose_slides_cloud/models/plot_area.rb +2 -2
  94. data/lib/aspose_slides_cloud/models/portion.rb +10 -32
  95. data/lib/aspose_slides_cloud/models/portions.rb +10 -32
  96. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -24
  97. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +2 -2
  98. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +2 -2
  99. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +2 -2
  100. data/lib/aspose_slides_cloud/models/reflection_effect.rb +2 -2
  101. data/lib/aspose_slides_cloud/models/remove_shape.rb +11 -40
  102. data/lib/aspose_slides_cloud/models/remove_slide.rb +11 -40
  103. data/lib/aspose_slides_cloud/models/reorder_slide.rb +11 -40
  104. data/lib/aspose_slides_cloud/models/replace_text.rb +11 -40
  105. data/lib/aspose_slides_cloud/models/request_input_file.rb +11 -49
  106. data/lib/aspose_slides_cloud/models/reset_slide.rb +11 -40
  107. data/lib/aspose_slides_cloud/models/resource_base.rb +2 -2
  108. data/lib/aspose_slides_cloud/models/resource_uri.rb +2 -2
  109. data/lib/aspose_slides_cloud/models/resource_uri_element.rb +2 -2
  110. data/lib/aspose_slides_cloud/models/response_output_file.rb +9 -38
  111. data/lib/aspose_slides_cloud/models/save.rb +11 -40
  112. data/lib/aspose_slides_cloud/models/save_shape.rb +11 -40
  113. data/lib/aspose_slides_cloud/models/save_slide.rb +11 -40
  114. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +10 -12
  115. data/lib/aspose_slides_cloud/models/scatter_series.rb +11 -205
  116. data/lib/aspose_slides_cloud/models/series.rb +2 -2
  117. data/lib/aspose_slides_cloud/models/series_marker.rb +2 -2
  118. data/lib/aspose_slides_cloud/models/shape.rb +11 -234
  119. data/lib/aspose_slides_cloud/models/shape_base.rb +10 -32
  120. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +2 -2
  121. data/lib/aspose_slides_cloud/models/shapes.rb +10 -32
  122. data/lib/aspose_slides_cloud/models/slide.rb +10 -32
  123. data/lib/aspose_slides_cloud/models/slide_animation.rb +10 -32
  124. data/lib/aspose_slides_cloud/models/slide_background.rb +10 -32
  125. data/lib/aspose_slides_cloud/models/slide_comment.rb +2 -2
  126. data/lib/aspose_slides_cloud/models/slide_comments.rb +10 -32
  127. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +10 -146
  128. data/lib/aspose_slides_cloud/models/slides.rb +10 -32
  129. data/lib/aspose_slides_cloud/models/smart_art.rb +12 -210
  130. data/lib/aspose_slides_cloud/models/smart_art_node.rb +2 -2
  131. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +11 -209
  132. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +2 -2
  133. data/lib/aspose_slides_cloud/models/solid_fill.rb +11 -40
  134. data/lib/aspose_slides_cloud/models/split_document_result.rb +10 -32
  135. data/lib/aspose_slides_cloud/models/storage_exist.rb +2 -2
  136. data/lib/aspose_slides_cloud/models/storage_file.rb +2 -2
  137. data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -24
  138. data/lib/aspose_slides_cloud/models/swf_export_options.rb +13 -24
  139. data/lib/aspose_slides_cloud/models/table.rb +12 -210
  140. data/lib/aspose_slides_cloud/models/table_cell.rb +2 -2
  141. data/lib/aspose_slides_cloud/models/table_column.rb +2 -2
  142. data/lib/aspose_slides_cloud/models/table_row.rb +2 -2
  143. data/lib/aspose_slides_cloud/models/task.rb +2 -2
  144. data/lib/aspose_slides_cloud/models/text_item.rb +2 -2
  145. data/lib/aspose_slides_cloud/models/text_items.rb +10 -32
  146. data/lib/aspose_slides_cloud/models/theme.rb +10 -32
  147. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +13 -24
  148. data/lib/aspose_slides_cloud/models/update_background.rb +11 -40
  149. data/lib/aspose_slides_cloud/models/update_shape.rb +11 -40
  150. data/lib/aspose_slides_cloud/models/video_frame.rb +12 -236
  151. data/lib/aspose_slides_cloud/models/view_properties.rb +10 -32
  152. data/lib/aspose_slides_cloud/models/waterfall_series.rb +11 -216
  153. data/lib/aspose_slides_cloud/models/xps_export_options.rb +13 -24
  154. data/lib/aspose_slides_cloud/type_registry.rb +313 -0
  155. data/lib/aspose_slides_cloud/version.rb +1 -1
  156. data/spec/api/slides_api_spec.rb +1417 -63
  157. data/spec/extra/extra_spec.rb +66 -33
  158. data/testRules.json +31 -0
  159. metadata +4 -2
@@ -48,39 +48,6 @@ describe 'SlidesApiExtra' do
48
48
  expect(o).not_to be(nil)
49
49
  end
50
50
 
51
- it 'unauthorized' do
52
- config = JSON.parse(File.read('testConfig.json'))
53
- configuration = AsposeSlidesCloud::Configuration.new
54
- configuration.base_url = config["BaseUrl"]
55
- configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
56
- configuration.app_sid = "invalid"
57
- configuration.app_key = "invalid"
58
- configuration.debugging = config["Debug"]
59
- api = AsposeSlidesCloud::SlidesApi.new(configuration)
60
- begin
61
- o, c, _h = api.get_slides_api_info_with_http_info
62
- fail "An exception expected"
63
- rescue AsposeSlidesCloud::ApiError => e
64
- expect(e.code).to eq(401)
65
- expect(e.response_body).to include("invalid_client")
66
- end
67
- end
68
-
69
- it 'expired token' do
70
- config = JSON.parse(File.read('testConfig.json'))
71
- configuration = AsposeSlidesCloud::Configuration.new
72
- configuration.base_url = config["BaseUrl"]
73
- configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
74
- configuration.app_sid = config["AppSid"]
75
- configuration.app_key = config["AppKey"]
76
- configuration.access_token = "expired.token"
77
- configuration.debugging = config["Debug"]
78
- api = AsposeSlidesCloud::SlidesApi.new(configuration)
79
- o, c, _h = api.get_slides_api_info_with_http_info
80
- expect(c).to eq(200)
81
- expect(o).not_to be(nil)
82
- end
83
-
84
51
  it 'base shape' do
85
52
  AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
86
53
  requestParam = AsposeSlidesCloud::GetSlideShapeRequest.new
@@ -201,4 +168,70 @@ describe 'SlidesApiExtra' do
201
168
  expect(result.axes.horizontal_axis.max_value).to eq(max2)
202
169
  end
203
170
  end
171
+
172
+ describe 'authentication' do
173
+ it 'good auth' do
174
+ config = JSON.parse(File.read('testConfig.json'))
175
+ configuration = AsposeSlidesCloud::Configuration.new
176
+ configuration.base_url = config["BaseUrl"]
177
+ configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
178
+ configuration.app_sid = config["AppSid"]
179
+ configuration.app_key = config["AppKey"]
180
+ configuration.debugging = config["Debug"]
181
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
182
+ o, c, _h = api.get_slides_api_info_with_http_info
183
+ expect(c).to eq(200)
184
+ expect(o).not_to be(nil)
185
+ end
186
+
187
+ it 'bad auth' do
188
+ config = JSON.parse(File.read('testConfig.json'))
189
+ configuration = AsposeSlidesCloud::Configuration.new
190
+ configuration.base_url = config["BaseUrl"]
191
+ configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
192
+ configuration.app_sid = "invalid"
193
+ configuration.app_key = config["AppKey"]
194
+ configuration.debugging = config["Debug"]
195
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
196
+ begin
197
+ o, c, _h = api.get_slides_api_info_with_http_info
198
+ fail "An exception expected"
199
+ rescue AsposeSlidesCloud::ApiError => e
200
+ expect(e.code).to eq(401)
201
+ expect(e.response_body).to include("invalid_client")
202
+ end
203
+ end
204
+
205
+ it 'good token' do
206
+ config = JSON.parse(File.read('testConfig.json'))
207
+ configuration = AsposeSlidesCloud::Configuration.new
208
+ configuration.base_url = config["BaseUrl"]
209
+ configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
210
+ configuration.app_sid = config["AppSid"]
211
+ configuration.app_key = config["AppKey"]
212
+ configuration.debugging = config["Debug"]
213
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
214
+ api.get_slides_api_info_with_http_info
215
+ configuration.app_sid = "invalid"
216
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
217
+ o, c, _h = api.get_slides_api_info_with_http_info
218
+ expect(c).to eq(200)
219
+ expect(o).not_to be(nil)
220
+ end
221
+
222
+ it 'bad token' do
223
+ config = JSON.parse(File.read('testConfig.json'))
224
+ configuration = AsposeSlidesCloud::Configuration.new
225
+ configuration.base_url = config["BaseUrl"]
226
+ configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
227
+ configuration.app_sid = config["AppSid"]
228
+ configuration.app_key = config["AppKey"]
229
+ configuration.access_token = "expired.token"
230
+ configuration.debugging = config["Debug"]
231
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
232
+ o, c, _h = api.get_slides_api_info_with_http_info
233
+ expect(c).to eq(200)
234
+ expect(o).not_to be(nil)
235
+ end
236
+ end
204
237
  end
@@ -7,6 +7,12 @@
7
7
  { "Action": "Put", "File": "ChartTest.pptx", "Method": "PostChartSeries" },
8
8
  { "Action": "Put", "File": "ChartTest.pptx", "Method": "PutChartSeries" },
9
9
  { "Action": "Put", "File": "ChartTest.pptx", "Method": "DeleteChartSeries" },
10
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "PostChartCategory" },
11
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "PutChartCategory" },
12
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "DeleteChartCategory" },
13
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "PostChartDataPoint" },
14
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "PutChartDataPoint" },
15
+ { "Action": "Put", "File": "ChartTest.pptx", "Method": "DeleteChartDataPoint" },
10
16
  { "Action": "Put", "File": "test-unprotected.ppt", "Method": "DeleteSlidesCleanSlidesList" },
11
17
  { "Action": "Put", "File": "test-unprotected.ppt", "Method": "PutSlidesSlide" },
12
18
  { "Action": "Put", "File": "TemplateCV.pptx", "Method": "PostSlidesDocument" },
@@ -36,6 +42,12 @@
36
42
  { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartSeries" },
37
43
  { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartSeries" },
38
44
  { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartSeries" },
45
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartCategory" },
46
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartCategory" },
47
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartCategory" },
48
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartDataPoint" },
49
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartDataPoint" },
50
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartDataPoint" },
39
51
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PutNewPresentation" },
40
52
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
41
53
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
@@ -65,6 +77,8 @@
65
77
  { "Value": null, "Parameter": "CloneFromStorage" },
66
78
  { "Value": null, "Parameter": "SourceStorage" },
67
79
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideIndex" },
80
+ { "Value": 2, "Parameter": "SlideIndex", "Method": "PostChartDataPoint" },
81
+ { "Value": 2, "Parameter": "SlideIndex", "Method": "PutChartDataPoint" },
68
82
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Slides" },
69
83
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
70
84
  { "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
@@ -72,6 +86,12 @@
72
86
  { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartSeries" },
73
87
  { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartSeries" },
74
88
  { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartSeries" },
89
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartCategory" },
90
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartCategory" },
91
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartCategory" },
92
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartDataPoint" },
93
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartDataPoint" },
94
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartDataPoint" },
75
95
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
76
96
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
77
97
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
@@ -95,6 +115,8 @@
95
115
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
96
116
  { "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
97
117
  { "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
118
+ { "Value": 1, "InvalidValue": 593, "Parameter": "CategoryIndex" },
119
+ { "Value": 1, "InvalidValue": 593, "Parameter": "PointIndex" },
98
120
  { "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
99
121
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Paragraphs" },
100
122
  { "Value": 1, "InvalidValue": 593, "Parameter": "PortionIndex" },
@@ -130,6 +152,8 @@
130
152
  { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
131
153
  { "Value": {}, "InvalidValue": null, "Type": "SlideBackground", "Parameter": "Background" },
132
154
  { "Value": {}, "InvalidValue": null, "Type": "SlideAnimation", "Parameter": "Animation" },
155
+ { "Value": {}, "InvalidValue": null, "Type": "ChartCategory", "Parameter": "Category" },
156
+ { "Value": { "XValue": 32.5, "YValue": 42.9 }, "InvalidValue": null, "Type": "ScatterChartDataPoint", "Parameter": "DataPoint" },
133
157
  { "Value": { "DataPointType": "OneValue" }, "InvalidValue": null, "Type": "OneValueSeries", "Parameter": "Series" },
134
158
  { "Value": { "TriggerShapeIndex": 1 }, "InvalidValue": null, "Type": "InteractiveSequence", "Parameter": "Sequence" },
135
159
  { "Value": { "ShapeIndex": 1, "Type": "Appear" }, "InvalidValue": null, "Type": "Effect", "Parameter": "Effect" },
@@ -221,6 +245,7 @@
221
245
  { "Parameter": "WithEmpty" },
222
246
  { "Parameter": "OldValue" },
223
247
  { "Parameter": "NewValue" },
248
+ { "Parameter": "PointIndex" },
224
249
  { "Parameter": "OldPosition" },
225
250
  { "Parameter": "NewPosition" },
226
251
  { "Parameter": "IgnoreCase" },
@@ -293,6 +318,8 @@
293
318
  { "Code": 201, "Method": "PostAddNewSubshapePortion" },
294
319
  { "Code": 201, "Method": "PostAddNewSubshape" },
295
320
  { "Code": 201, "Method": "PostChartSeries" },
321
+ { "Code": 201, "Method": "PostChartCategory" },
322
+ { "Code": 201, "Method": "PostChartDataPoint" },
296
323
  { "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
297
324
  { "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
298
325
  { "Code": 201, "Method": "PostNotesSlideAddNewShape" },
@@ -331,6 +358,8 @@
331
358
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "EffectIndex" },
332
359
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SequenceIndex" },
333
360
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SeriesIndex" },
361
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CategoryIndex" },
362
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "PointIndex" },
334
363
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Position" },
335
364
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CloneFromPosition" },
336
365
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPosition" },
@@ -397,6 +426,8 @@
397
426
  { "Message": " DTO expected.", "Parameter": "Animation" },
398
427
  { "Message": " DTO expected.", "Parameter": "Sequence" },
399
428
  { "Message": " DTO expected.", "Parameter": "Series" },
429
+ { "Message": " DTO expected.", "Parameter": "DataPoint" },
430
+ { "Message": " DTO expected.", "Parameter": "Category" },
400
431
  { "Message": " DTO expected.", "Parameter": "Effect" },
401
432
  { "Message": " DTO expected.", "Parameter": "Request" },
402
433
  { "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.7.0
4
+ version: 20.8.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-08-05 00:00:00.000000000 Z
11
+ date: 2020-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -202,6 +202,7 @@ files:
202
202
  - LICENSE
203
203
  - README.md
204
204
  - Rakefile
205
+ - TestData/ChartTest.pptx
205
206
  - TestData/TemplateCV.pptx
206
207
  - TestData/TemplatingCVDataWithBase64.xml
207
208
  - TestData/placeholders.pptx
@@ -369,6 +370,7 @@ files:
369
370
  - lib/aspose_slides_cloud/models/view_properties.rb
370
371
  - lib/aspose_slides_cloud/models/waterfall_series.rb
371
372
  - lib/aspose_slides_cloud/models/xps_export_options.rb
373
+ - lib/aspose_slides_cloud/type_registry.rb
372
374
  - lib/aspose_slides_cloud/version.rb
373
375
  - spec/api/slides_api_spec.rb
374
376
  - spec/extra/extra_spec.rb