aspose_slides_cloud 20.2.0 → 20.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/TestData/ChartTest.pptx +0 -0
  4. data/lib/aspose_slides_cloud.rb +13 -3
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +3254 -1024
  6. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +970 -137
  7. data/lib/aspose_slides_cloud/api_client.rb +8 -5
  8. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +31 -48
  9. data/lib/aspose_slides_cloud/models/add_master_slide.rb +31 -48
  10. data/lib/aspose_slides_cloud/models/add_shape.rb +31 -48
  11. data/lib/aspose_slides_cloud/models/add_slide.rb +31 -48
  12. data/lib/aspose_slides_cloud/models/api_info.rb +22 -10
  13. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +22 -10
  14. data/lib/aspose_slides_cloud/models/audio_frame.rb +32 -244
  15. data/lib/aspose_slides_cloud/models/axes.rb +22 -10
  16. data/lib/aspose_slides_cloud/models/axis.rb +22 -10
  17. data/lib/aspose_slides_cloud/models/base64_input_file.rb +31 -57
  18. data/lib/aspose_slides_cloud/models/blur_effect.rb +22 -10
  19. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +299 -0
  20. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +30 -48
  21. data/lib/aspose_slides_cloud/models/bubble_series.rb +31 -211
  22. data/lib/aspose_slides_cloud/models/chart.rb +35 -221
  23. data/lib/aspose_slides_cloud/models/chart_category.rb +261 -0
  24. data/lib/aspose_slides_cloud/models/chart_title.rb +22 -10
  25. data/lib/aspose_slides_cloud/models/chart_wall.rb +22 -10
  26. data/lib/aspose_slides_cloud/models/color_scheme.rb +30 -40
  27. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +217 -0
  28. data/lib/aspose_slides_cloud/models/connector.rb +31 -242
  29. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +22 -10
  30. data/lib/aspose_slides_cloud/models/disc_usage.rb +22 -10
  31. data/lib/aspose_slides_cloud/models/document.rb +41 -41
  32. data/lib/aspose_slides_cloud/models/document_properties.rb +30 -40
  33. data/lib/aspose_slides_cloud/models/document_property.rb +30 -40
  34. data/lib/aspose_slides_cloud/models/document_replace_result.rb +32 -86
  35. data/lib/aspose_slides_cloud/models/effect.rb +22 -10
  36. data/lib/aspose_slides_cloud/models/effect_format.rb +22 -10
  37. data/lib/aspose_slides_cloud/models/entity_exists.rb +212 -0
  38. data/lib/aspose_slides_cloud/models/error.rb +22 -10
  39. data/lib/aspose_slides_cloud/models/error_details.rb +22 -10
  40. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  41. data/lib/aspose_slides_cloud/models/export_options.rb +33 -11
  42. data/lib/aspose_slides_cloud/models/file_version.rb +30 -75
  43. data/lib/aspose_slides_cloud/models/file_versions.rb +22 -10
  44. data/lib/aspose_slides_cloud/models/files_list.rb +22 -10
  45. data/lib/aspose_slides_cloud/models/files_upload_result.rb +22 -10
  46. data/lib/aspose_slides_cloud/models/fill_format.rb +22 -10
  47. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +22 -10
  48. data/lib/aspose_slides_cloud/models/font_scheme.rb +30 -40
  49. data/lib/aspose_slides_cloud/models/font_set.rb +22 -10
  50. data/lib/aspose_slides_cloud/models/format_scheme.rb +30 -40
  51. data/lib/aspose_slides_cloud/models/geometry_shape.rb +30 -208
  52. data/lib/aspose_slides_cloud/models/glow_effect.rb +22 -10
  53. data/lib/aspose_slides_cloud/models/gradient_fill.rb +31 -48
  54. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +22 -10
  55. data/lib/aspose_slides_cloud/models/graphical_object.rb +31 -217
  56. data/lib/aspose_slides_cloud/models/group_shape.rb +31 -217
  57. data/lib/aspose_slides_cloud/models/html_export_options.rb +33 -32
  58. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +22 -10
  59. data/lib/aspose_slides_cloud/models/image.rb +30 -40
  60. data/lib/aspose_slides_cloud/models/image_export_options.rb +33 -32
  61. data/lib/aspose_slides_cloud/models/images.rb +30 -40
  62. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +22 -10
  63. data/lib/aspose_slides_cloud/models/input.rb +22 -10
  64. data/lib/aspose_slides_cloud/models/input_file.rb +22 -10
  65. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +22 -10
  66. data/lib/aspose_slides_cloud/models/layout_slide.rb +30 -40
  67. data/lib/aspose_slides_cloud/models/layout_slides.rb +30 -40
  68. data/lib/aspose_slides_cloud/models/legend.rb +22 -10
  69. data/lib/aspose_slides_cloud/models/line_format.rb +22 -10
  70. data/lib/aspose_slides_cloud/models/master_slide.rb +30 -40
  71. data/lib/aspose_slides_cloud/models/master_slides.rb +30 -40
  72. data/lib/aspose_slides_cloud/models/merge.rb +31 -48
  73. data/lib/aspose_slides_cloud/models/merging_source.rb +22 -10
  74. data/lib/aspose_slides_cloud/models/no_fill.rb +29 -46
  75. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +217 -0
  76. data/lib/aspose_slides_cloud/models/notes_slide.rb +30 -40
  77. data/lib/aspose_slides_cloud/models/object_exist.rb +22 -10
  78. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +32 -218
  79. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +30 -20
  80. data/lib/aspose_slides_cloud/models/one_value_series.rb +31 -211
  81. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +22 -10
  82. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +22 -10
  83. data/lib/aspose_slides_cloud/models/output_file.rb +22 -10
  84. data/lib/aspose_slides_cloud/models/paragraph.rb +30 -40
  85. data/lib/aspose_slides_cloud/models/paragraphs.rb +30 -40
  86. data/lib/aspose_slides_cloud/models/path_input_file.rb +31 -57
  87. data/lib/aspose_slides_cloud/models/path_output_file.rb +31 -48
  88. data/lib/aspose_slides_cloud/models/pattern_fill.rb +31 -48
  89. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +63 -35
  90. data/lib/aspose_slides_cloud/models/picture_fill.rb +31 -48
  91. data/lib/aspose_slides_cloud/models/picture_frame.rb +32 -244
  92. data/lib/aspose_slides_cloud/models/pipeline.rb +22 -10
  93. data/lib/aspose_slides_cloud/models/placeholder.rb +30 -40
  94. data/lib/aspose_slides_cloud/models/placeholders.rb +30 -40
  95. data/lib/aspose_slides_cloud/models/plot_area.rb +22 -10
  96. data/lib/aspose_slides_cloud/models/portion.rb +30 -40
  97. data/lib/aspose_slides_cloud/models/portions.rb +36 -46
  98. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +33 -32
  99. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +22 -10
  100. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +22 -10
  101. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +22 -10
  102. data/lib/aspose_slides_cloud/models/reflection_effect.rb +22 -10
  103. data/lib/aspose_slides_cloud/models/remove_shape.rb +31 -48
  104. data/lib/aspose_slides_cloud/models/remove_slide.rb +31 -48
  105. data/lib/aspose_slides_cloud/models/reorder_slide.rb +31 -48
  106. data/lib/aspose_slides_cloud/models/replace_text.rb +31 -48
  107. data/lib/aspose_slides_cloud/models/request_input_file.rb +31 -57
  108. data/lib/aspose_slides_cloud/models/reset_slide.rb +31 -48
  109. data/lib/aspose_slides_cloud/models/resource_base.rb +22 -10
  110. data/lib/aspose_slides_cloud/models/resource_uri.rb +22 -10
  111. data/lib/aspose_slides_cloud/models/resource_uri_element.rb +22 -10
  112. data/lib/aspose_slides_cloud/models/response_output_file.rb +29 -46
  113. data/lib/aspose_slides_cloud/models/save.rb +33 -50
  114. data/lib/aspose_slides_cloud/models/save_shape.rb +31 -48
  115. data/lib/aspose_slides_cloud/models/save_slide.rb +33 -50
  116. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +30 -20
  117. data/lib/aspose_slides_cloud/models/scatter_series.rb +31 -211
  118. data/lib/aspose_slides_cloud/models/series.rb +47 -14
  119. data/lib/aspose_slides_cloud/models/series_marker.rb +22 -10
  120. data/lib/aspose_slides_cloud/models/shape.rb +31 -242
  121. data/lib/aspose_slides_cloud/models/shape_base.rb +30 -40
  122. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +22 -10
  123. data/lib/aspose_slides_cloud/models/shapes.rb +30 -40
  124. data/lib/aspose_slides_cloud/models/slide.rb +30 -40
  125. data/lib/aspose_slides_cloud/models/slide_animation.rb +30 -40
  126. data/lib/aspose_slides_cloud/models/slide_background.rb +30 -40
  127. data/lib/aspose_slides_cloud/models/slide_comment.rb +22 -10
  128. data/lib/aspose_slides_cloud/models/slide_comments.rb +30 -40
  129. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  130. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +30 -154
  131. data/lib/aspose_slides_cloud/models/slides.rb +30 -40
  132. data/lib/aspose_slides_cloud/models/smart_art.rb +32 -218
  133. data/lib/aspose_slides_cloud/models/smart_art_node.rb +22 -10
  134. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +31 -217
  135. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +22 -10
  136. data/lib/aspose_slides_cloud/models/solid_fill.rb +31 -48
  137. data/lib/aspose_slides_cloud/models/split_document_result.rb +30 -40
  138. data/lib/aspose_slides_cloud/models/storage_exist.rb +22 -10
  139. data/lib/aspose_slides_cloud/models/storage_file.rb +22 -10
  140. data/lib/aspose_slides_cloud/models/svg_export_options.rb +33 -32
  141. data/lib/aspose_slides_cloud/models/swf_export_options.rb +33 -32
  142. data/lib/aspose_slides_cloud/models/table.rb +32 -218
  143. data/lib/aspose_slides_cloud/models/table_cell.rb +22 -10
  144. data/lib/aspose_slides_cloud/models/table_column.rb +22 -10
  145. data/lib/aspose_slides_cloud/models/table_row.rb +22 -10
  146. data/lib/aspose_slides_cloud/models/task.rb +22 -10
  147. data/lib/aspose_slides_cloud/models/text_item.rb +22 -10
  148. data/lib/aspose_slides_cloud/models/text_items.rb +30 -40
  149. data/lib/aspose_slides_cloud/models/theme.rb +30 -40
  150. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +33 -32
  151. data/lib/aspose_slides_cloud/models/update_background.rb +31 -48
  152. data/lib/aspose_slides_cloud/models/update_shape.rb +31 -48
  153. data/lib/aspose_slides_cloud/models/video_frame.rb +32 -244
  154. data/lib/aspose_slides_cloud/models/view_properties.rb +357 -0
  155. data/lib/aspose_slides_cloud/models/waterfall_series.rb +247 -0
  156. data/lib/aspose_slides_cloud/models/xps_export_options.rb +33 -32
  157. data/lib/aspose_slides_cloud/type_registry.rb +313 -0
  158. data/lib/aspose_slides_cloud/version.rb +1 -1
  159. data/spec/api/slides_api_spec.rb +20595 -14073
  160. data/spec/extra/extra_spec.rb +155 -20
  161. data/spec/spec_utils.rb +8 -1
  162. data/testRules.json +111 -8
  163. metadata +11 -2
@@ -48,13 +48,149 @@ describe 'SlidesApiExtra' do
48
48
  expect(o).not_to be(nil)
49
49
  end
50
50
 
51
- it 'unauthorized' do
51
+ it 'base shape' do
52
+ AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
53
+ requestParam = AsposeSlidesCloud::GetSlideShapeRequest.new
54
+ requestParam.name = "test.ppt"
55
+ requestParam.slide_index = 1
56
+ requestParam.shape_index = 1
57
+ requestParam.password = "password"
58
+ requestParam.folder = "TempSlidesSDK"
59
+ o = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(requestParam)
60
+ expect(o.text).to eq("1")
61
+ end
62
+
63
+ it 'chart' do
64
+ chart = AsposeSlidesCloud::Chart.new
65
+ expect(chart.type).to eq("Chart")
66
+ expect(chart.shape_type).to eq("Chart")
67
+ end
68
+
69
+ it 'timeout' do
70
+ #unstable test
71
+ #AsposeSlidesCloud::SpecUtils.initialize('post_slide_save_as', nil, nil)
72
+
73
+ #config = JSON.parse(File.read('testConfig.json'))
74
+ #configuration = AsposeSlidesCloud::Configuration.new
75
+ #configuration.base_url = config["BaseUrl"]
76
+ #configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
77
+ #configuration.app_sid = config["AppSid"]
78
+ #configuration.app_key = config["AppKey"]
79
+ #configuration.debugging = config["Debug"]
80
+ #configuration.timeout = 1
81
+ #api = AsposeSlidesCloud::SlidesApi.new(configuration)
82
+
83
+ #requestParam = AsposeSlidesCloud::PostSlideSaveAsRequest.new
84
+ #requestParam.name = "test.ppt"
85
+ #requestParam.slide_index = 1
86
+ #requestParam.password = "password"
87
+ #requestParam.folder = "TempSlidesSDK"
88
+ #requestParam.format = "svg"
89
+ #api.post_slide_save_as(requestParam)
90
+ end
91
+
92
+ it 'nullable properties' do
93
+ folderName = "TempSlidesSDK"
94
+ fileName = "placeholders.pptx"
95
+ password = "password"
96
+ min1 = 44.3
97
+ min2 = 12
98
+ max1 = 104.3
99
+ max2 = 87
100
+ AsposeSlidesCloud::SpecUtils.initialize("no_method", "no_property", nil)
101
+ requestParam = AsposeSlidesCloud::CopyFileRequest.new
102
+ requestParam.src_path = "TempTests/" + fileName
103
+ requestParam.dest_path = folderName + "/" + fileName
104
+ AsposeSlidesCloud::SpecUtils.api.copy_file(requestParam)
105
+
106
+ postRequest = AsposeSlidesCloud::PostAddNewShapeRequest.new
107
+ postRequest.name = fileName
108
+ postRequest.folder = folderName
109
+ postRequest.password = password
110
+ postRequest.slide_index = 1
111
+ postRequest.dto = AsposeSlidesCloud::Chart.new
112
+ postRequest.dto.chart_type = "Line"
113
+ postRequest.dto.width = 400.0
114
+ postRequest.dto.height = 300.0
115
+ postRequest.dto.title = AsposeSlidesCloud::ChartTitle.new
116
+ postRequest.dto.title.has_title = true
117
+ postRequest.dto.title.text = "MyTitle"
118
+ postRequest.dto.series = []
119
+ postRequest.dto.series.push(AsposeSlidesCloud::OneValueSeries.new)
120
+ postRequest.dto.series[0].type = "ClusteredColumn"
121
+ postRequest.dto.series[0].data_point_type = "OneValue"
122
+ postRequest.dto.series[0].name = "Series1"
123
+ postRequest.dto.series[0].data_points = []
124
+ postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
125
+ postRequest.dto.series[0].data_points[0].value = 40.0
126
+ postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
127
+ postRequest.dto.series[0].data_points[1].value = 50.0
128
+ postRequest.dto.axes = AsposeSlidesCloud::Axes.new
129
+ postRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
130
+ postRequest.dto.axes.horizontal_axis.is_automatic_min_value = false
131
+ postRequest.dto.axes.horizontal_axis.min_value = min1
132
+ postRequest.dto.axes.horizontal_axis.is_automatic_max_value = false
133
+ postRequest.dto.axes.horizontal_axis.max_value = max1
134
+ AsposeSlidesCloud::SpecUtils.api.post_add_new_shape(postRequest)
135
+
136
+ getRequest = AsposeSlidesCloud::GetSlideShapeRequest.new
137
+ getRequest.name = fileName
138
+ getRequest.folder = folderName
139
+ getRequest.password = password
140
+ getRequest.slide_index = 1
141
+ getRequest.shape_index = 4
142
+ result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
143
+ expect(result.axes.horizontal_axis.min_value).to eq(min1)
144
+ expect(result.axes.horizontal_axis.max_value).to eq(max1)
145
+
146
+ putRequest = AsposeSlidesCloud::PutSlideShapeInfoRequest.new
147
+ putRequest.name = fileName
148
+ putRequest.folder = folderName
149
+ putRequest.password = password
150
+ putRequest.slide_index = 1
151
+ putRequest.shape_index = 4
152
+ putRequest.dto = AsposeSlidesCloud::Chart.new
153
+ putRequest.dto.axes = AsposeSlidesCloud::Axes.new
154
+ putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
155
+ putRequest.dto.axes.horizontal_axis.min_value = min2
156
+ AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
157
+
158
+ result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
159
+ expect(result.axes.horizontal_axis.min_value).to eq(min2)
160
+ expect(result.axes.horizontal_axis.max_value).to eq(max1)
161
+
162
+ putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
163
+ putRequest.dto.axes.horizontal_axis.max_value = max2
164
+ AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
165
+
166
+ result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
167
+ expect(result.axes.horizontal_axis.min_value).to eq(min2)
168
+ expect(result.axes.horizontal_axis.max_value).to eq(max2)
169
+ end
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
52
188
  config = JSON.parse(File.read('testConfig.json'))
53
189
  configuration = AsposeSlidesCloud::Configuration.new
54
190
  configuration.base_url = config["BaseUrl"]
55
191
  configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
56
192
  configuration.app_sid = "invalid"
57
- configuration.app_key = "invalid"
193
+ configuration.app_key = config["AppKey"]
58
194
  configuration.debugging = config["Debug"]
59
195
  api = AsposeSlidesCloud::SlidesApi.new(configuration)
60
196
  begin
@@ -66,37 +202,36 @@ describe 'SlidesApiExtra' do
66
202
  end
67
203
  end
68
204
 
69
- it 'expired token' do
205
+ it 'good token' do
70
206
  config = JSON.parse(File.read('testConfig.json'))
71
207
  configuration = AsposeSlidesCloud::Configuration.new
72
208
  configuration.base_url = config["BaseUrl"]
73
209
  configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
74
210
  configuration.app_sid = config["AppSid"]
75
211
  configuration.app_key = config["AppKey"]
76
- configuration.access_token = "expired.token"
77
212
  configuration.debugging = config["Debug"]
78
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)
79
217
  o, c, _h = api.get_slides_api_info_with_http_info
80
218
  expect(c).to eq(200)
81
219
  expect(o).not_to be(nil)
82
220
  end
83
221
 
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")
94
- end
95
-
96
- it 'chart' do
97
- chart = AsposeSlidesCloud::Chart.new
98
- expect(chart.type).to eq("Chart")
99
- expect(chart.shape_type).to eq("Chart")
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)
100
235
  end
101
236
  end
102
237
  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,15 @@
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" },
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" },
7
16
  { "Action": "Put", "File": "test-unprotected.ppt", "Method": "DeleteSlidesCleanSlidesList" },
8
17
  { "Action": "Put", "File": "test-unprotected.ppt", "Method": "PutSlidesSlide" },
9
18
  { "Action": "Put", "File": "TemplateCV.pptx", "Method": "PostSlidesDocument" },
@@ -30,6 +39,15 @@
30
39
  { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PutSlidesSlide" },
31
40
  { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PostSlidesAdd" },
32
41
  { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "DeleteSlidesCleanSlidesList" },
42
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartSeries" },
43
+ { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartSeries" },
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" },
33
51
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PutNewPresentation" },
34
52
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
35
53
  { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
@@ -59,12 +77,46 @@
59
77
  { "Value": null, "Parameter": "CloneFromStorage" },
60
78
  { "Value": null, "Parameter": "SourceStorage" },
61
79
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideIndex" },
80
+ { "Value": 2, "Parameter": "SlideIndex", "Method": "PostChartDataPoint" },
81
+ { "Value": 2, "Parameter": "SlideIndex", "Method": "PutChartDataPoint" },
62
82
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Slides" },
63
83
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
64
84
  { "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
65
85
  { "Value": 3, "InvalidValue": 593, "Parameter": "ShapeIndex" },
86
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartSeries" },
87
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartSeries" },
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" },
95
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
96
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
97
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
98
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraphs" },
99
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortion" },
100
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortions" },
101
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshape" },
102
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapes" },
103
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraph" },
104
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraphs" },
105
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortion" },
106
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortions" },
107
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshape" },
108
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapeParagraph" },
109
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapePortion" },
110
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostSubshapeSaveAs" },
111
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphPortionProperties" },
112
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphProperties" },
113
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSlideSubshapeInfo" },
114
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSubshapeSaveAs" },
66
115
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
67
116
  { "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
117
+ { "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
118
+ { "Value": 1, "InvalidValue": 593, "Parameter": "CategoryIndex" },
119
+ { "Value": 1, "InvalidValue": 593, "Parameter": "PointIndex" },
68
120
  { "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
69
121
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Paragraphs" },
70
122
  { "Value": 1, "InvalidValue": 593, "Parameter": "PortionIndex" },
@@ -81,7 +133,7 @@
81
133
  { "Value": 1, "InvalidValue": 593, "Parameter": "CloneFromPosition" },
82
134
  { "Value": null, "InvalidValue": 593, "Parameter": "From" },
83
135
  { "Value": null, "InvalidValue": 593, "Parameter": "To" },
84
- { "Value": "", "Parameter": "Path" },
136
+ { "Value": "4/shapes", "Parameter": "Path" },
85
137
  { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
86
138
  { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
87
139
  { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
@@ -100,20 +152,24 @@
100
152
  { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
101
153
  { "Value": {}, "InvalidValue": null, "Type": "SlideBackground", "Parameter": "Background" },
102
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" },
157
+ { "Value": { "DataPointType": "OneValue" }, "InvalidValue": null, "Type": "OneValueSeries", "Parameter": "Series" },
103
158
  { "Value": { "TriggerShapeIndex": 1 }, "InvalidValue": null, "Type": "InteractiveSequence", "Parameter": "Sequence" },
104
159
  { "Value": { "ShapeIndex": 1, "Type": "Appear" }, "InvalidValue": null, "Type": "Effect", "Parameter": "Effect" },
105
160
  { "Value": { "Text": "testNote" }, "InvalidValue": null, "Type": "NotesSlide", "Parameter": "DTO" },
106
161
  { "Value": {}, "InvalidValue": null, "Type": "Paragraph", "Parameter": "DTO" },
162
+ { "Value": {}, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO" },
107
163
  {
108
164
  "Value": { "Text": "testShape", "Type": "Shape", "ShapeType": "BentArrow", "GeometryShapeType": "Rectangle" },
109
165
  "InvalidValue": null,
110
166
  "Type": "Shape",
111
167
  "Parameter": "DTO"
112
168
  },
169
+ { "Value": {}, "InvalidValue": null, "Type": "ViewProperties", "Parameter": "DTO", "Method": "PutSlidesViewProperties" },
113
170
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
171
+ { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
114
172
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostNotesSlideAddNewPortion" },
115
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutSetParagraphPortionProperties" },
116
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutUpdateNotesSlideShapePortion" },
117
173
  { "Value": { "MasterSlide": { "Uri": { "Href": "masterSlides/2" } } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
118
174
  { "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "PutSlidesSlide" },
119
175
  { "Value": { "List": [] }, "InvalidValue": null, "Type": "DocumentProperties", "Parameter": "Properties" },
@@ -126,11 +182,15 @@
126
182
  { "Value": "pdf", "Parameter": "Format" },
127
183
  { "InvalidValue": "svg", "Parameter": "Format", "Language": "NET" },
128
184
  { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
185
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat", "Language": "NET" },
129
186
  { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NET" },
130
187
  { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideWithFormat" },
188
+ { "Value": "png", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat" },
131
189
  { "Value": "png", "Parameter": "Format", "Method": "GetShapeWithFormat" },
132
190
  { "Value": "png", "Parameter": "Format", "Method": "PostShapeSaveAs" },
133
191
  { "Value": "png", "Parameter": "Format", "Method": "PutShapeSaveAs" },
192
+ { "Value": "png", "Parameter": "Format", "Method": "PostSubshapeSaveAs" },
193
+ { "Value": "png", "Parameter": "Format", "Method": "PutSubshapeSaveAs" },
134
194
  { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideShapeWithFormat" },
135
195
  { "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
136
196
  { "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
@@ -185,6 +245,7 @@
185
245
  { "Parameter": "WithEmpty" },
186
246
  { "Parameter": "OldValue" },
187
247
  { "Parameter": "NewValue" },
248
+ { "Parameter": "PointIndex" },
188
249
  { "Parameter": "OldPosition" },
189
250
  { "Parameter": "NewPosition" },
190
251
  { "Parameter": "IgnoreCase" },
@@ -194,6 +255,15 @@
194
255
  { "Parameter": "Format", "Language": "NET" },
195
256
  { "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
196
257
  { "Parameter": "Dto", "Method": "PostAddNotesSlide" },
258
+ { "Parameter": "Dto", "Language": "Swift" },
259
+ { "Parameter": "SlideDto", "Language": "Swift" },
260
+ { "Parameter": "Request", "Language": "Swift" },
261
+ { "Parameter": "Effect", "Language": "Swift" },
262
+ { "Parameter": "Sequence", "Language": "Swift" },
263
+ { "Parameter": "Pipeline", "Language": "Swift" },
264
+ { "Parameter": "Properties", "Language": "Swift" },
265
+ { "Parameter": "Property", "Language": "Swift" },
266
+ { "Parameter": "Animation", "Language": "Swift" },
197
267
  { "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
198
268
  { "Parameter": "Name", "Method": "PostSlidesDocument" },
199
269
  { "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
@@ -244,6 +314,12 @@
244
314
  { "Code": 201, "Method": "PostAddNewParagraph" },
245
315
  { "Code": 201, "Method": "PostAddNewPortion" },
246
316
  { "Code": 201, "Method": "PostAddNewShape" },
317
+ { "Code": 201, "Method": "PostAddNewSubshapeParagraph" },
318
+ { "Code": 201, "Method": "PostAddNewSubshapePortion" },
319
+ { "Code": 201, "Method": "PostAddNewSubshape" },
320
+ { "Code": 201, "Method": "PostChartSeries" },
321
+ { "Code": 201, "Method": "PostChartCategory" },
322
+ { "Code": 201, "Method": "PostChartDataPoint" },
247
323
  { "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
248
324
  { "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
249
325
  { "Code": 201, "Method": "PostNotesSlideAddNewShape" },
@@ -281,6 +357,9 @@
281
357
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Portions" },
282
358
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "EffectIndex" },
283
359
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SequenceIndex" },
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" },
284
363
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Position" },
285
364
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CloneFromPosition" },
286
365
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPosition" },
@@ -292,7 +371,9 @@
292
371
  { "Message": "Specified argument was out of the range of valid values.", "Parameter": "Index" },
293
372
  { "Message": "Invalid index: index should be in the range", "Parameter": "ShapeToClone" },
294
373
  { "Message": "Index was out of range.", "Parameter": "ShapeToCopy" },
295
- { "Message": "Invalid version id specified", "Parameter": "VersionId" },
374
+ { "Message": "Invalid Request", "Parameter": "VersionId" },
375
+ { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DeleteFile" },
376
+ { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DownloadFile" },
296
377
  { "Message": "AmazonS3 Storage exception", "Parameter": "VersionId", "Method": "ObjectExists" },
297
378
  { "Message": "The HTTP resource that matches the request URI", "Parameter": "Path" },
298
379
  { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetSlideShapes" },
@@ -305,19 +386,37 @@
305
386
  { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "TemplatePath" },
306
387
  { "Message": "Invalid 'to' parameter", "Parameter": "To" },
307
388
  { "Message": "BadRequest", "Parameter": "Format" },
308
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PostShapeSaveAs" },
309
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PutShapeSaveAs" },
310
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
311
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
389
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
390
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
391
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
392
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Python" },
393
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Go" },
394
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Go" },
395
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Go" },
396
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Go" },
397
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Perl" },
398
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
399
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
400
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
401
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Swift" },
402
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Swift" },
403
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Swift" },
404
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Swift" },
405
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "CPP" },
406
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "CPP" },
407
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "CPP" },
408
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
312
409
  { "Message": "Color must be in format #FF000000", "Parameter": "Color" },
313
410
  { "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
314
411
  { "Message": "Data at the root level is invalid.", "Parameter": "Data" },
315
412
  { "Message": "Can't read MSCDFileSystem.", "Parameter": "Data", "Language": "Python", "Method": "PostSlidesDocument" },
316
413
  { "Message": "Can't read MSCDFileSystem.", "Parameter": "Document" },
317
414
  { "Message": "The stream is empty.", "Parameter": "Document", "Language": "NodeJS" },
415
+ { "Message": "The stream is empty.", "Parameter": "Document", "Language": "PHP" },
318
416
  { "Message": "The stream is empty.", "Parameter": "Document", "Language": "Python" },
319
417
  { "Message": "The stream is empty.", "Parameter": "Document", "Language": "Go" },
320
418
  { "Message": "The stream is empty.", "Parameter": "Document", "Language": "Ruby" },
419
+ { "Message": "The stream is empty.", "Parameter": "Document", "Language": "CPP" },
321
420
  { "Message": " DTO expected.", "Parameter": "DTO" },
322
421
  { "Message": " DTO expected.", "Parameter": "SlideDTO" },
323
422
  { "Message": " DTO expected.", "Parameter": "Background" },
@@ -326,8 +425,12 @@
326
425
  { "Message": " DTO expected.", "Parameter": "Property" },
327
426
  { "Message": " DTO expected.", "Parameter": "Animation" },
328
427
  { "Message": " DTO expected.", "Parameter": "Sequence" },
428
+ { "Message": " DTO expected.", "Parameter": "Series" },
429
+ { "Message": " DTO expected.", "Parameter": "DataPoint" },
430
+ { "Message": " DTO expected.", "Parameter": "Category" },
329
431
  { "Message": " DTO expected.", "Parameter": "Effect" },
330
432
  { "Message": " DTO expected.", "Parameter": "Request" },
433
+ { "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
331
434
  { "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
332
435
  { "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
333
436
  { "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" },