aspose_slides_cloud 20.10.0 → 20.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +61 -61
  3. data/TestData/TemplatingCVDataWithBase64.xml +22 -22
  4. data/lib/aspose_slides_cloud.rb +212 -212
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +10979 -10979
  6. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +4146 -4146
  7. data/lib/aspose_slides_cloud/api_client.rb +436 -432
  8. data/lib/aspose_slides_cloud/configuration.rb +7 -2
  9. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +244 -244
  10. data/lib/aspose_slides_cloud/models/add_master_slide.rb +259 -259
  11. data/lib/aspose_slides_cloud/models/add_shape.rb +239 -239
  12. data/lib/aspose_slides_cloud/models/add_slide.rb +269 -269
  13. data/lib/aspose_slides_cloud/models/api_info.rb +217 -217
  14. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +285 -285
  15. data/lib/aspose_slides_cloud/models/audio_frame.rb +359 -359
  16. data/lib/aspose_slides_cloud/models/axes.rb +237 -237
  17. data/lib/aspose_slides_cloud/models/axis.rb +699 -699
  18. data/lib/aspose_slides_cloud/models/base64_input_file.rb +230 -230
  19. data/lib/aspose_slides_cloud/models/blur_effect.rb +227 -227
  20. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +299 -299
  21. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +212 -212
  22. data/lib/aspose_slides_cloud/models/bubble_series.rb +248 -248
  23. data/lib/aspose_slides_cloud/models/chart.rb +365 -365
  24. data/lib/aspose_slides_cloud/models/chart_category.rb +271 -271
  25. data/lib/aspose_slides_cloud/models/chart_title.rb +222 -222
  26. data/lib/aspose_slides_cloud/models/chart_wall.rb +281 -281
  27. data/lib/aspose_slides_cloud/models/color_scheme.rb +317 -317
  28. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +217 -217
  29. data/lib/aspose_slides_cloud/models/connector.rb +275 -275
  30. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +209 -209
  31. data/lib/aspose_slides_cloud/models/data_point.rb +197 -197
  32. data/lib/aspose_slides_cloud/models/disc_usage.rb +227 -227
  33. data/lib/aspose_slides_cloud/models/document.rb +257 -257
  34. data/lib/aspose_slides_cloud/models/document_properties.rb +209 -209
  35. data/lib/aspose_slides_cloud/models/document_property.rb +232 -232
  36. data/lib/aspose_slides_cloud/models/document_replace_result.rb +218 -218
  37. data/lib/aspose_slides_cloud/models/effect.rb +424 -424
  38. data/lib/aspose_slides_cloud/models/effect_format.rb +277 -277
  39. data/lib/aspose_slides_cloud/models/entity_exists.rb +212 -212
  40. data/lib/aspose_slides_cloud/models/error.rb +237 -237
  41. data/lib/aspose_slides_cloud/models/error_details.rb +222 -222
  42. data/lib/aspose_slides_cloud/models/export_format.rb +60 -60
  43. data/lib/aspose_slides_cloud/models/export_options.rb +216 -216
  44. data/lib/aspose_slides_cloud/models/file_version.rb +225 -225
  45. data/lib/aspose_slides_cloud/models/file_versions.rb +209 -209
  46. data/lib/aspose_slides_cloud/models/files_list.rb +209 -209
  47. data/lib/aspose_slides_cloud/models/files_upload_result.rb +221 -221
  48. data/lib/aspose_slides_cloud/models/fill_format.rb +240 -240
  49. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +246 -246
  50. data/lib/aspose_slides_cloud/models/font_scheme.rb +227 -227
  51. data/lib/aspose_slides_cloud/models/font_set.rb +227 -227
  52. data/lib/aspose_slides_cloud/models/format_scheme.rb +245 -245
  53. data/lib/aspose_slides_cloud/models/geometry_shape.rb +260 -260
  54. data/lib/aspose_slides_cloud/models/glow_effect.rb +222 -222
  55. data/lib/aspose_slides_cloud/models/gradient_fill.rb +342 -342
  56. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +222 -222
  57. data/lib/aspose_slides_cloud/models/graphical_object.rb +234 -234
  58. data/lib/aspose_slides_cloud/models/group_shape.rb +234 -234
  59. data/lib/aspose_slides_cloud/models/header_footer.rb +247 -247
  60. data/lib/aspose_slides_cloud/models/html_export_options.rb +421 -421
  61. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +197 -197
  62. data/lib/aspose_slides_cloud/models/image.rb +237 -237
  63. data/lib/aspose_slides_cloud/models/image_export_format.rb +43 -43
  64. data/lib/aspose_slides_cloud/models/image_export_options.rb +299 -299
  65. data/lib/aspose_slides_cloud/models/images.rb +209 -209
  66. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +252 -252
  67. data/lib/aspose_slides_cloud/models/input.rb +227 -227
  68. data/lib/aspose_slides_cloud/models/input_file.rb +250 -250
  69. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +224 -224
  70. data/lib/aspose_slides_cloud/models/layout_slide.rb +278 -278
  71. data/lib/aspose_slides_cloud/models/layout_slides.rb +209 -209
  72. data/lib/aspose_slides_cloud/models/legend.rb +321 -321
  73. data/lib/aspose_slides_cloud/models/line_format.rb +389 -389
  74. data/lib/aspose_slides_cloud/models/master_slide.rb +231 -231
  75. data/lib/aspose_slides_cloud/models/master_slides.rb +209 -209
  76. data/lib/aspose_slides_cloud/models/merge.rb +231 -231
  77. data/lib/aspose_slides_cloud/models/merging_source.rb +219 -219
  78. data/lib/aspose_slides_cloud/models/no_fill.rb +219 -219
  79. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +217 -217
  80. data/lib/aspose_slides_cloud/models/notes_slide.rb +217 -217
  81. data/lib/aspose_slides_cloud/models/notes_slide_export_format.rb +43 -43
  82. data/lib/aspose_slides_cloud/models/notes_slide_header_footer.rb +267 -267
  83. data/lib/aspose_slides_cloud/models/object_exist.rb +227 -227
  84. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +259 -259
  85. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +210 -210
  86. data/lib/aspose_slides_cloud/models/one_value_series.rb +248 -248
  87. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +209 -209
  88. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +252 -252
  89. data/lib/aspose_slides_cloud/models/output_file.rb +240 -240
  90. data/lib/aspose_slides_cloud/models/paragraph.rb +517 -517
  91. data/lib/aspose_slides_cloud/models/paragraphs.rb +209 -209
  92. data/lib/aspose_slides_cloud/models/path_input_file.rb +240 -240
  93. data/lib/aspose_slides_cloud/models/path_output_file.rb +239 -239
  94. data/lib/aspose_slides_cloud/models/pattern_fill.rb +266 -266
  95. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +547 -547
  96. data/lib/aspose_slides_cloud/models/picture_fill.rb +351 -351
  97. data/lib/aspose_slides_cloud/models/picture_frame.rb +245 -245
  98. data/lib/aspose_slides_cloud/models/pipeline.rb +219 -219
  99. data/lib/aspose_slides_cloud/models/placeholder.rb +325 -325
  100. data/lib/aspose_slides_cloud/models/placeholders.rb +209 -209
  101. data/lib/aspose_slides_cloud/models/plot_area.rb +311 -311
  102. data/lib/aspose_slides_cloud/models/portion.rb +589 -589
  103. data/lib/aspose_slides_cloud/models/portions.rb +209 -209
  104. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +247 -247
  105. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +229 -229
  106. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +221 -221
  107. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +286 -286
  108. data/lib/aspose_slides_cloud/models/reflection_effect.rb +441 -441
  109. data/lib/aspose_slides_cloud/models/remove_shape.rb +229 -229
  110. data/lib/aspose_slides_cloud/models/remove_slide.rb +234 -234
  111. data/lib/aspose_slides_cloud/models/reorder_slide.rb +249 -249
  112. data/lib/aspose_slides_cloud/models/replace_text.rb +269 -269
  113. data/lib/aspose_slides_cloud/models/request_input_file.rb +235 -235
  114. data/lib/aspose_slides_cloud/models/reset_slide.rb +234 -234
  115. data/lib/aspose_slides_cloud/models/resource_base.rb +219 -219
  116. data/lib/aspose_slides_cloud/models/resource_uri.rb +237 -237
  117. data/lib/aspose_slides_cloud/models/response_output_file.rb +219 -219
  118. data/lib/aspose_slides_cloud/models/save.rb +266 -266
  119. data/lib/aspose_slides_cloud/models/save_shape.rb +276 -276
  120. data/lib/aspose_slides_cloud/models/save_slide.rb +301 -301
  121. data/lib/aspose_slides_cloud/models/scale_type.rb +41 -41
  122. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +225 -225
  123. data/lib/aspose_slides_cloud/models/scatter_series.rb +248 -248
  124. data/lib/aspose_slides_cloud/models/section.rb +234 -234
  125. data/lib/aspose_slides_cloud/models/sections.rb +209 -209
  126. data/lib/aspose_slides_cloud/models/series.rb +422 -422
  127. data/lib/aspose_slides_cloud/models/series_marker.rb +281 -281
  128. data/lib/aspose_slides_cloud/models/shape.rb +255 -255
  129. data/lib/aspose_slides_cloud/models/shape_base.rb +375 -375
  130. data/lib/aspose_slides_cloud/models/shape_export_format.rb +44 -44
  131. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +286 -286
  132. data/lib/aspose_slides_cloud/models/shape_thumbnail_bounds.rb +41 -41
  133. data/lib/aspose_slides_cloud/models/shapes.rb +209 -209
  134. data/lib/aspose_slides_cloud/models/size_type.rb +55 -55
  135. data/lib/aspose_slides_cloud/models/slide.rb +322 -322
  136. data/lib/aspose_slides_cloud/models/slide_animation.rb +221 -221
  137. data/lib/aspose_slides_cloud/models/slide_background.rb +266 -266
  138. data/lib/aspose_slides_cloud/models/slide_comment.rb +239 -239
  139. data/lib/aspose_slides_cloud/models/slide_comments.rb +209 -209
  140. data/lib/aspose_slides_cloud/models/slide_export_format.rb +59 -59
  141. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +223 -223
  142. data/lib/aspose_slides_cloud/models/slides.rb +209 -209
  143. data/lib/aspose_slides_cloud/models/smart_art.rb +342 -342
  144. data/lib/aspose_slides_cloud/models/smart_art_node.rb +293 -293
  145. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +235 -235
  146. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +212 -212
  147. data/lib/aspose_slides_cloud/models/solid_fill.rb +229 -229
  148. data/lib/aspose_slides_cloud/models/split_document_result.rb +209 -209
  149. data/lib/aspose_slides_cloud/models/storage_exist.rb +212 -212
  150. data/lib/aspose_slides_cloud/models/storage_file.rb +257 -257
  151. data/lib/aspose_slides_cloud/models/svg_export_options.rb +379 -379
  152. data/lib/aspose_slides_cloud/models/swf_export_options.rb +529 -529
  153. data/lib/aspose_slides_cloud/models/table.rb +350 -350
  154. data/lib/aspose_slides_cloud/models/table_cell.rb +403 -403
  155. data/lib/aspose_slides_cloud/models/table_column.rb +212 -212
  156. data/lib/aspose_slides_cloud/models/table_row.rb +239 -239
  157. data/lib/aspose_slides_cloud/models/task.rb +240 -240
  158. data/lib/aspose_slides_cloud/models/text_item.rb +217 -217
  159. data/lib/aspose_slides_cloud/models/text_items.rb +209 -209
  160. data/lib/aspose_slides_cloud/models/theme.rb +237 -237
  161. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +423 -423
  162. data/lib/aspose_slides_cloud/models/update_background.rb +241 -241
  163. data/lib/aspose_slides_cloud/models/update_shape.rb +239 -239
  164. data/lib/aspose_slides_cloud/models/video_frame.rb +329 -329
  165. data/lib/aspose_slides_cloud/models/view_properties.rb +357 -357
  166. data/lib/aspose_slides_cloud/models/waterfall_chart_data_point.rb +206 -206
  167. data/lib/aspose_slides_cloud/models/waterfall_series.rb +247 -247
  168. data/lib/aspose_slides_cloud/models/xps_export_options.rb +243 -243
  169. data/lib/aspose_slides_cloud/type_registry.rb +320 -320
  170. data/lib/aspose_slides_cloud/version.rb +25 -25
  171. data/spec/api/slides_api_spec.rb +35926 -35926
  172. data/spec/extra/extra_spec.rb +235 -235
  173. data/spec/spec_utils.rb +183 -183
  174. data/testConfig.json +7 -7
  175. data/testRules.json +441 -472
  176. metadata +2 -2
@@ -1,183 +1,183 @@
1
- =begin
2
- Copyright (c) 2019 Aspose Pty Ltd
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining a copy
5
- of this software and associated documentation files (the "Software"), to deal
6
- in the Software without restriction, including without limitation the rights
7
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the Software is
9
- furnished to do so, subject to the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be included in all
12
- copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- SOFTWARE.
21
- =end
22
-
23
- module AsposeSlidesCloud
24
- class SpecUtils
25
- def self.initialize(method, name, value)
26
- if !@@is_initialized
27
- download_request = AsposeSlidesCloud::DownloadFileRequest.new
28
- download_request.path = "TempTests/version.txt"
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
37
- if version != EXPECTED_TEST_DATA_VERSION
38
- Dir.entries(TEST_DATA_PATH).each { |f|
39
- if !File.directory? File.join(TEST_DATA_PATH, f)
40
- fd = File.binread(File.join(TEST_DATA_PATH, f))
41
- upload_request = AsposeSlidesCloud::UploadFileRequest.new
42
- upload_request.file = fd
43
- upload_request.path = "TempTests/" + f
44
- SpecUtils.api.upload_file(upload_request)
45
- end
46
- }
47
- upload_request = AsposeSlidesCloud::UploadFileRequest.new
48
- upload_request.file = EXPECTED_TEST_DATA_VERSION
49
- upload_request.path = "TempTests/version.txt"
50
- SpecUtils.api.upload_file(upload_request)
51
- end
52
- @@is_initialized = true
53
- end
54
- files = Hash.new
55
- SpecUtils.test_rules["Files"].each do |rule|
56
- if SpecUtils.good_rule?(rule, name, method)
57
- actual_name = SpecUtils.untemplatize(rule["File"], value)
58
- path = "TempSlidesSDK"
59
- if rule.key?("Folder")
60
- path = SpecUtils.untemplatize(rule["Folder"], value)
61
- end
62
- path = path + "/" + actual_name
63
- files[path] = rule
64
- rule["ActualName"] = actual_name
65
- end
66
- end
67
- files.each do |path, rule|
68
- if rule["Action"] == "Put"
69
- copy_request = AsposeSlidesCloud::CopyFileRequest.new
70
- copy_request.src_path = "TempTests/" + rule['ActualName']
71
- copy_request.dest_path = path
72
- SpecUtils.api.copy_file(copy_request)
73
- elsif rule["Action"] == "Delete"
74
- delete_request = AsposeSlidesCloud::DeleteFileRequest.new
75
- delete_request.path = path
76
- SpecUtils.api.delete_file(delete_request)
77
- end
78
- end
79
- end
80
-
81
- def self.get_param_value(name, method, type)
82
- if type == 'File'
83
- return File.binread(File.join(TEST_DATA_PATH, "test.ppt"))
84
- end
85
- value = "test" + name
86
- SpecUtils.test_rules["Values"].each do |rule|
87
- if SpecUtils.good_rule?(rule, name, method) and rule.key?("Value")
88
- value = rule["Value"]
89
- end
90
- end
91
- value
92
- end
93
-
94
- def self.invalidize_param_value(name, method, value, type)
95
- if type == 'File'
96
- return nil
97
- end
98
- invalid_value = nil
99
- SpecUtils.test_rules["Values"].each do |rule|
100
- if SpecUtils.good_rule?(rule, name, method) and rule.key?("InvalidValue")
101
- invalid_value = rule["InvalidValue"]
102
- end
103
- end
104
- SpecUtils.untemplatize(invalid_value, value)
105
- end
106
-
107
- def self.get_expected_error(method, name, value)
108
- code = 0
109
- message = "Unexpeceted message"
110
- SpecUtils.test_rules["Results"].each do |rule|
111
- if SpecUtils.good_rule?(rule, name, method)
112
- if rule.key?("Code")
113
- code = rule["Code"]
114
- end
115
- if rule.key?("Message")
116
- message = SpecUtils.untemplatize(rule["Message"], value)
117
- end
118
- end
119
- end
120
- return code, message
121
- end
122
-
123
- def self.no_exception?(method, name)
124
- SpecUtils.test_rules["OKToNotFail"].each do |rule|
125
- return true
126
- end
127
- return false
128
- end
129
-
130
- def self.good_rule?(rule, name, method)
131
- (not rule.key?("Language") or rule["Language"].casecmp("Ruby") == 0) \
132
- and (not rule.key?("Invalid") or ((name != nil) == rule["Invalid"])) \
133
- and (not rule.key?("Parameter") or rule["Parameter"].casecmp(name) == 0) \
134
- and (not rule.key?("Method") or rule["Method"].casecmp(method) == 0)
135
- end
136
-
137
- def self.untemplatize(template, value)
138
- if template == nil
139
- value
140
- else
141
- result = template
142
- if template.is_a? String and template.match?("%v")
143
- result = "" + template
144
- if value != nil
145
- result["%v"] = value.to_s
146
- else
147
- result["%v"] = ""
148
- end
149
- end
150
- result
151
- end
152
- end
153
-
154
- def self.test_rules
155
- unless @@test_rules
156
- @@test_rules = JSON.parse(File.read('testRules.json'))
157
- end
158
- @@test_rules
159
- end
160
-
161
- @@test_rules = nil
162
-
163
- def self.api
164
- unless @@api
165
- config = JSON.parse(File.read('testConfig.json'))
166
- configuration = AsposeSlidesCloud::Configuration.new
167
- configuration.base_url = config["BaseUrl"]
168
- configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
169
- configuration.app_sid = config["AppSid"]
170
- configuration.app_key = config["AppKey"]
171
- configuration.debugging = config["Debug"]
172
- @@api = AsposeSlidesCloud::SlidesApi.new(configuration)
173
- end
174
- @@api
175
- end
176
-
177
- @@api = nil
178
- @@is_initialized = false
179
-
180
- TEST_DATA_PATH = "TestData"
181
- EXPECTED_TEST_DATA_VERSION = "1"
182
- end
183
- end
1
+ =begin
2
+ Copyright (c) 2019 Aspose Pty Ltd
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
21
+ =end
22
+
23
+ module AsposeSlidesCloud
24
+ class SpecUtils
25
+ def self.initialize(method, name, value)
26
+ if !@@is_initialized
27
+ download_request = AsposeSlidesCloud::DownloadFileRequest.new
28
+ download_request.path = "TempTests/version.txt"
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
37
+ if version != EXPECTED_TEST_DATA_VERSION
38
+ Dir.entries(TEST_DATA_PATH).each { |f|
39
+ if !File.directory? File.join(TEST_DATA_PATH, f)
40
+ fd = File.binread(File.join(TEST_DATA_PATH, f))
41
+ upload_request = AsposeSlidesCloud::UploadFileRequest.new
42
+ upload_request.file = fd
43
+ upload_request.path = "TempTests/" + f
44
+ SpecUtils.api.upload_file(upload_request)
45
+ end
46
+ }
47
+ upload_request = AsposeSlidesCloud::UploadFileRequest.new
48
+ upload_request.file = EXPECTED_TEST_DATA_VERSION
49
+ upload_request.path = "TempTests/version.txt"
50
+ SpecUtils.api.upload_file(upload_request)
51
+ end
52
+ @@is_initialized = true
53
+ end
54
+ files = Hash.new
55
+ SpecUtils.test_rules["Files"].each do |rule|
56
+ if SpecUtils.good_rule?(rule, name, method)
57
+ actual_name = SpecUtils.untemplatize(rule["File"], value)
58
+ path = "TempSlidesSDK"
59
+ if rule.key?("Folder")
60
+ path = SpecUtils.untemplatize(rule["Folder"], value)
61
+ end
62
+ path = path + "/" + actual_name
63
+ files[path] = rule
64
+ rule["ActualName"] = actual_name
65
+ end
66
+ end
67
+ files.each do |path, rule|
68
+ if rule["Action"] == "Put"
69
+ copy_request = AsposeSlidesCloud::CopyFileRequest.new
70
+ copy_request.src_path = "TempTests/" + rule['ActualName']
71
+ copy_request.dest_path = path
72
+ SpecUtils.api.copy_file(copy_request)
73
+ elsif rule["Action"] == "Delete"
74
+ delete_request = AsposeSlidesCloud::DeleteFileRequest.new
75
+ delete_request.path = path
76
+ SpecUtils.api.delete_file(delete_request)
77
+ end
78
+ end
79
+ end
80
+
81
+ def self.get_param_value(name, method, type)
82
+ if type == 'File'
83
+ return File.binread(File.join(TEST_DATA_PATH, "test.pptx"))
84
+ end
85
+ value = "test" + name
86
+ SpecUtils.test_rules["Values"].each do |rule|
87
+ if SpecUtils.good_rule?(rule, name, method) and rule.key?("Value")
88
+ value = rule["Value"]
89
+ end
90
+ end
91
+ value
92
+ end
93
+
94
+ def self.invalidize_param_value(name, method, value, type)
95
+ if type == 'File'
96
+ return nil
97
+ end
98
+ invalid_value = nil
99
+ SpecUtils.test_rules["Values"].each do |rule|
100
+ if SpecUtils.good_rule?(rule, name, method) and rule.key?("InvalidValue")
101
+ invalid_value = rule["InvalidValue"]
102
+ end
103
+ end
104
+ SpecUtils.untemplatize(invalid_value, value)
105
+ end
106
+
107
+ def self.get_expected_error(method, name, value)
108
+ code = 0
109
+ message = "Unexpeceted message"
110
+ SpecUtils.test_rules["Results"].each do |rule|
111
+ if SpecUtils.good_rule?(rule, name, method)
112
+ if rule.key?("Code")
113
+ code = rule["Code"]
114
+ end
115
+ if rule.key?("Message")
116
+ message = SpecUtils.untemplatize(rule["Message"], value)
117
+ end
118
+ end
119
+ end
120
+ return code, message
121
+ end
122
+
123
+ def self.no_exception?(method, name)
124
+ SpecUtils.test_rules["OKToNotFail"].each do |rule|
125
+ return true
126
+ end
127
+ return false
128
+ end
129
+
130
+ def self.good_rule?(rule, name, method)
131
+ (not rule.key?("Language") or rule["Language"].casecmp("Ruby") == 0) \
132
+ and (not rule.key?("Invalid") or ((name != nil) == rule["Invalid"])) \
133
+ and (not rule.key?("Parameter") or rule["Parameter"].casecmp(name) == 0) \
134
+ and (not rule.key?("Method") or rule["Method"].casecmp(method) == 0)
135
+ end
136
+
137
+ def self.untemplatize(template, value)
138
+ if template == nil
139
+ value
140
+ else
141
+ result = template
142
+ if template.is_a? String and template.match?("%v")
143
+ result = "" + template
144
+ if value != nil
145
+ result["%v"] = value.to_s
146
+ else
147
+ result["%v"] = ""
148
+ end
149
+ end
150
+ result
151
+ end
152
+ end
153
+
154
+ def self.test_rules
155
+ unless @@test_rules
156
+ @@test_rules = JSON.parse(File.read('testRules.json'))
157
+ end
158
+ @@test_rules
159
+ end
160
+
161
+ @@test_rules = nil
162
+
163
+ def self.api
164
+ unless @@api
165
+ config = JSON.parse(File.read('testConfig.json'))
166
+ configuration = AsposeSlidesCloud::Configuration.new
167
+ configuration.base_url = config["BaseUrl"]
168
+ configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
169
+ configuration.app_sid = config["ClientId"]
170
+ configuration.app_key = config["ClientSecret"]
171
+ configuration.debugging = config["Debug"]
172
+ @@api = AsposeSlidesCloud::SlidesApi.new(configuration)
173
+ end
174
+ @@api
175
+ end
176
+
177
+ @@api = nil
178
+ @@is_initialized = false
179
+
180
+ TEST_DATA_PATH = "TestData"
181
+ EXPECTED_TEST_DATA_VERSION = "1"
182
+ end
183
+ end
@@ -1,7 +1,7 @@
1
- {
2
- "AppSid": "@your_app_sid@",
3
- "AppKey": "@your_app_key@",
4
- "BaseUrl" : "https://api-qa.aspose.cloud",
5
- "AuthBaseUrl" : "https://api-qa.aspose.cloud",
6
- "Debug" : false
7
- }
1
+ {
2
+ "ClientId": "@your_client_id@",
3
+ "ClientSecret": "@your_client_secret@",
4
+ "BaseUrl" : "https://api-qa.aspose.cloud",
5
+ "AuthBaseUrl" : "https://api-qa.aspose.cloud",
6
+ "Debug" : false
7
+ }
@@ -1,473 +1,442 @@
1
- {
2
- "Files": [
3
- { "Action": "Put", "File": "test.ppt" },
4
- { "Action": "Delete", "File": "test.ppt", "Method": "PostSlidesDocument" },
5
- { "Action": "Delete", "File": "test.ppt", "Method": "PostSlidesDocumentFromHtml" },
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" },
16
- { "Action": "Put", "File": "Sections.pptx", "Method": "DeleteSection" },
17
- { "Action": "Put", "File": "Sections.pptx", "Method": "DeleteSections" },
18
- { "Action": "Put", "File": "Sections.pptx", "Method": "PostSection" },
19
- { "Action": "Put", "File": "Sections.pptx", "Method": "PostSectionMove" },
20
- { "Action": "Put", "File": "Sections.pptx", "Method": "PutSection" },
21
- { "Action": "Put", "File": "Sections.pptx", "Method": "PutSections" },
22
- { "Action": "Put", "File": "test-unprotected.ppt", "Method": "DeleteSlidesCleanSlidesList" },
23
- { "Action": "Put", "File": "test-unprotected.ppt", "Method": "PutSlidesSlide" },
24
- { "Action": "Put", "File": "TemplateCV.pptx", "Method": "PostSlidesDocument" },
25
- { "Action": "Delete", "Folder": "%v", "File": "test.ppt", "Parameter": "Folder" },
26
- { "Action": "Delete", "File": "%v", "Parameter": "Name" },
27
- { "Action": "Delete", "File": "changedtest.ppt", "Method": "PostSlidesDocument" },
28
- { "Action": "Delete", "File": "invalidchangedtest.ppt", "Method": "PostSlidesDocument" },
29
- { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.ppt", "Method": "PostSlidesDocument" },
30
- { "Action": "Delete", "File": "changedtest.ppt", "Method": "PostSlidesDocumentFromSource" },
31
- { "Action": "Delete", "File": "invalidchangedtest.ppt", "Method": "PostSlidesDocumentFromSource" },
32
- { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.ppt", "Method": "PostSlidesDocumentFromSource" },
33
- { "Action": "Delete", "File": "changedtest.ppt", "Method": "PostSlidesDocumentFromTemplate" },
34
- { "Action": "Delete", "File": "invalidchangedtest.ppt", "Method": "PostSlidesDocumentFromTemplate" },
35
- { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.ppt", "Method": "PostSlidesDocumentFromTemplate" },
36
- { "Action": "Delete", "File": "changedtest.ppt", "Method": "PutNewPresentation" },
37
- { "Action": "Delete", "File": "invalidchangedtest.ppt", "Method": "PutNewPresentation" },
38
- { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.ppt", "Method": "PutNewPresentation" },
39
- { "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.ppt", "Parameter": "CloneFrom" },
40
- { "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.ppt", "Parameter": "SourcePath" }
41
- ],
42
- "Values": [
43
- { "InvalidValue": "%vinvalid" },
44
- { "Value": "test.ppt", "InvalidValue": "invalid%v", "Parameter": "Name" },
45
- { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PutSlidesSlide" },
46
- { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "PostSlidesAdd" },
47
- { "Value": "test-unprotected.ppt", "Parameter": "Name", "Method": "DeleteSlidesCleanSlidesList" },
48
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartSeries" },
49
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartSeries" },
50
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartSeries" },
51
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartCategory" },
52
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartCategory" },
53
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartCategory" },
54
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PostChartDataPoint" },
55
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "PutChartDataPoint" },
56
- { "Value": "ChartTest.pptx", "Parameter": "Name", "Method": "DeleteChartDataPoint" },
57
- { "Value": "Sections.pptx", "Parameter": "Name", "Method": "DeleteSection" },
58
- { "Value": "Sections.pptx", "Parameter": "Name", "Method": "DeleteSections" },
59
- { "Value": "Sections.pptx", "Parameter": "Name", "Method": "PostSection" },
60
- { "Value": "Sections.pptx", "Parameter": "Name", "Method": "PostSectionMove" },
61
- { "Value": "Sections.pptx", "Parameter": "Name", "Method": "PutSection" },
62
- { "Value": "Sections.pptx", "Parameter": "Name", "Method": "PutSections" },
63
- { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PutNewPresentation" },
64
- { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
65
- { "Value": "changedtest.ppt", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
66
- { "Value": "TempSlidesSDK", "Parameter": "Folder" },
67
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "SourcePath" },
68
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "SrcPath" },
69
- { "Value": "TempSlidesSDK/changedtest.ppt", "InvalidValue": "invalid%v", "Parameter": "DestPath" },
70
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "TemplatePath" },
71
- { "Value": "TempSlidesSDK/TemplateCV.pptx", "InvalidValue": "invalid%v", "Parameter": "TemplatePath", "Method": "PostSlidesDocument" },
72
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "CloneFrom" },
73
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Source" },
74
- { "Value": "TempSlidesSDK/out.pdf", "Parameter": "OutPath" },
75
- { "Value": "password", "Parameter": "Password" },
76
- { "Value": "password", "Parameter": "InputPassword" },
77
- { "Value": "password", "Parameter": "TemplatePassword" },
78
- { "Value": "password", "Parameter": "SourcePassword" },
79
- { "Value": "password", "Parameter": "CloneFromPassword" },
80
- { "Value": null, "Parameter": "Password", "Method": "PutSlidesSlide" },
81
- { "Value": null, "Parameter": "Password", "Method": "PostSlidesAdd" },
82
- { "Value": null, "Parameter": "Password", "Method": "DeleteSlidesCleanSlidesList" },
83
- { "Value": null, "Parameter": "Storage" },
84
- { "Value": null, "Parameter": "StorageName" },
85
- { "Value": "testStorage", "Parameter": "StorageName", "Method": "StorageExists" },
86
- { "Value": null, "Parameter": "SrcStorageName" },
87
- { "Value": null, "Parameter": "DestStorageName" },
88
- { "Value": null, "Parameter": "TemplateStorage" },
89
- { "Value": null, "Parameter": "CloneFromStorage" },
90
- { "Value": null, "Parameter": "SourceStorage" },
91
- { "Value": 1, "InvalidValue": 593, "Parameter": "SlideIndex" },
92
- { "Value": 2, "Parameter": "SlideIndex", "Method": "PostChartDataPoint" },
93
- { "Value": 2, "Parameter": "SlideIndex", "Method": "PutChartDataPoint" },
94
- { "Value": 5, "Parameter": "SlideIndex", "Method": "PostSection" },
95
- { "Value": null, "InvalidValue": [1, 593], "Parameter": "Slides" },
96
- { "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
97
- { "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
98
- { "Value": 3, "InvalidValue": 593, "Parameter": "ShapeIndex" },
99
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartSeries" },
100
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartSeries" },
101
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartSeries" },
102
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartCategory" },
103
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartCategory" },
104
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartCategory" },
105
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartDataPoint" },
106
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartDataPoint" },
107
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartDataPoint" },
108
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
109
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
110
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
111
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraphs" },
112
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortion" },
113
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortions" },
114
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshape" },
115
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapes" },
116
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraph" },
117
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraphs" },
118
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortion" },
119
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortions" },
120
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshape" },
121
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapeParagraph" },
122
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapePortion" },
123
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostSubshapeSaveAs" },
124
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphPortionProperties" },
125
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphProperties" },
126
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSlideSubshapeInfo" },
127
- { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSubshapeSaveAs" },
128
- { "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
129
- { "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
130
- { "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
131
- { "Value": 1, "InvalidValue": 593, "Parameter": "CategoryIndex" },
132
- { "Value": 1, "InvalidValue": 593, "Parameter": "PointIndex" },
133
- { "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
134
- { "Value": null, "InvalidValue": [1, 593], "Parameter": "Paragraphs" },
135
- { "Value": 1, "InvalidValue": 593, "Parameter": "PortionIndex" },
136
- { "Value": null, "InvalidValue": [1, 593], "Parameter": "Portions" },
137
- { "Value": 1, "InvalidValue": 593, "Parameter": "PlaceholderIndex" },
138
- { "Value": 1, "InvalidValue": 593, "Parameter": "SequenceIndex" },
139
- { "Value": 1, "InvalidValue": 593, "Parameter": "EffectIndex" },
140
- { "Value": 2, "InvalidValue": 593, "Parameter": "SectionIndex" },
141
- { "Value": 1, "InvalidValue": 593, "Parameter": "Index" },
142
- { "Value": 2, "InvalidValue": 593, "Parameter": "NewPosition" },
143
- { "Value": null, "InvalidValue": 593, "Parameter": "OldPosition" },
144
- { "Value": 1, "InvalidValue": 593, "Parameter": "Position" },
145
- { "Value": [2, 1], "InvalidValue": [1, 593], "Parameter": "OldPositions" },
146
- { "Value": [1, 2], "InvalidValue": [1, 593], "Parameter": "NewPositions" },
147
- { "Value": [3, 2], "InvalidValue": [1, 593], "Parameter": "Sections" },
148
- { "Value": 1, "InvalidValue": 593, "Parameter": "CloneFromPosition" },
149
- { "Value": null, "InvalidValue": 593, "Parameter": "From" },
150
- { "Value": null, "InvalidValue": 593, "Parameter": "To" },
151
- { "Value": "4/shapes", "Parameter": "Path" },
152
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
153
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
154
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
155
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DeleteFile" },
156
- { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "ObjectExists" },
157
- { "Value": "TempSlidesSDK", "Parameter": "Path", "Method": "DeleteFolder" },
158
- { "Value": "testProperty", "Parameter": "PropertyName" },
159
- { "InvalidValue": null, "Parameter": "Stream" },
160
- {
161
- "Value": "<staff><person><name>John Doe</name><address><line1>10 Downing Street</line1><line2>London</line2></address><phone>+457 123456</phone><bio>Hi, I'm John and this is my CV</bio><skills><skill><title>C#</title><level>Excellent</level></skill><skill><title>C++</title><level>Good</level></skill><skill><title>Java</title><level>Average</level></skill></skills></person></staff>",
162
- "Parameter": "Data"
163
- },
164
- { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Request" },
165
- { "Value": {}, "InvalidValue": null, "Type": "PresentationsMergeRequest", "Parameter": "Request" },
166
- { "Value": {}, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request" },
167
- { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
168
- { "Value": {}, "InvalidValue": null, "Type": "SlideBackground", "Parameter": "Background" },
169
- { "Value": {}, "InvalidValue": null, "Type": "SlideAnimation", "Parameter": "Animation" },
170
- { "Value": {}, "InvalidValue": null, "Type": "ChartCategory", "Parameter": "Category" },
171
- { "Value": { "XValue": 32.5, "YValue": 42.9 }, "InvalidValue": null, "Type": "ScatterChartDataPoint", "Parameter": "DataPoint" },
172
- { "Value": { "DataPointType": "OneValue" }, "InvalidValue": null, "Type": "OneValueSeries", "Parameter": "Series" },
173
- { "Value": { "TriggerShapeIndex": 1 }, "InvalidValue": null, "Type": "InteractiveSequence", "Parameter": "Sequence" },
174
- { "Value": { "ShapeIndex": 1, "Type": "Appear" }, "InvalidValue": null, "Type": "Effect", "Parameter": "Effect" },
175
- { "Value": { "Text": "testNote" }, "InvalidValue": null, "Type": "NotesSlide", "Parameter": "DTO" },
176
- { "Value": {}, "InvalidValue": null, "Type": "Paragraph", "Parameter": "DTO" },
177
- { "Value": {}, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO" },
178
- { "Value": {}, "InvalidValue": null, "Type": "HeaderFooter", "Parameter": "DTO" },
179
- { "Value": {}, "InvalidValue": null, "Type": "NotesSlideHeaderFooter", "Parameter": "DTO" },
180
- {
181
- "Value": { "Text": "testShape", "Type": "Shape", "ShapeType": "BentArrow", "GeometryShapeType": "Rectangle" },
182
- "InvalidValue": null,
183
- "Type": "Shape",
184
- "Parameter": "DTO"
185
- },
186
- { "Value": {}, "InvalidValue": null, "Type": "ViewProperties", "Parameter": "DTO", "Method": "PutSlidesViewProperties" },
187
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
188
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
189
- { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostNotesSlideAddNewPortion" },
190
- { "Value": { "MasterSlide": { "Href": "masterSlides/2" } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
191
- { "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "PutSlidesSlide" },
192
- { "Value": { "List": [] }, "InvalidValue": null, "Type": "DocumentProperties", "Parameter": "Properties" },
193
- {
194
- "Value": { "Name": "testProperty001", "Value": "testValue002" },
195
- "InvalidValue": null,
196
- "Type": "DocumentProperty",
197
- "Parameter": "Property"
198
- },
199
- { "Value": {}, "InvalidValue": null, "Type": "Sections", "Parameter": "Sections", "Method": "PutSections" },
200
- { "Value": "pdf", "Parameter": "Format" },
201
- { "InvalidValue": "svg", "Parameter": "Format", "Language": "NET" },
202
- { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
203
- { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat", "Language": "NET" },
204
- { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NET" },
205
- { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideWithFormat" },
206
- { "Value": "png", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat" },
207
- { "Value": "png", "Parameter": "Format", "Method": "GetShapeWithFormat" },
208
- { "Value": "png", "Parameter": "Format", "Method": "PostShapeSaveAs" },
209
- { "Value": "png", "Parameter": "Format", "Method": "PutShapeSaveAs" },
210
- { "Value": "png", "Parameter": "Format", "Method": "PostSubshapeSaveAs" },
211
- { "Value": "png", "Parameter": "Format", "Method": "PutSubshapeSaveAs" },
212
- { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideShapeWithFormat" },
213
- { "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
214
- { "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
215
- { "Value": "png", "Parameter": "Format", "Method": "GetSlidesImageWithFormat" },
216
- { "Value": null, "InvalidValue": "Shape", "Parameter": "Bounds" },
217
- { "Value": "OnScreen", "InvalidValue": "Ledger", "Parameter": "SizeType" },
218
- { "Value": "DoNotScale", "InvalidValue": "Maximize", "Parameter": "ScaleType" },
219
- { "Value": null, "InvalidValue": null, "Parameter": "Options" },
220
- { "Value": 1, "InvalidValue": 593, "Parameter": "Width" },
221
- { "Value": 1, "InvalidValue": 593, "Parameter": "Height" },
222
- { "Value": "#FF0000dd", "Parameter": "Color" },
223
- { "Value": null, "InvalidValue": false, "Parameter": "Recursive" },
224
- { "Value": true, "Parameter": "Recursive", "Method": "DeleteFolder" },
225
- { "Value": null, "InvalidValue": false, "Parameter": "IgnoreCase" },
226
- { "Value": null, "InvalidValue": false, "Parameter": "WithEmpty" },
227
- { "Value": null, "InvalidValue": false, "Parameter": "ApplyToAll" },
228
- { "Value": null, "InvalidValue": false, "Parameter": "IsImageDataEmbedded" },
229
- { "Value": null, "InvalidValue": false, "Parameter": "WithSlides" },
230
- { "Value": null, "InvalidValue": 593, "Parameter": "JpegQuality" },
231
- { "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleX" },
232
- { "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleY" },
233
- { "Value": null, "Parameter": "VersionId" },
234
- { "Value": null, "InvalidValue": null, "Parameter": "Files" }
235
- ],
236
- "OKToReturnNull": [
237
- { "Method": "PostSlidesPipeline" }
238
- ],
239
- "OKToNotFail": [
240
- { "Parameter": "JpegQuality" },
241
- { "Parameter": "Width" },
242
- { "Parameter": "Height" },
243
- { "Parameter": "From" },
244
- { "Parameter": "To" },
245
- { "Parameter": "PropertyName" },
246
- { "Parameter": "ScaleType" },
247
- { "Parameter": "SizeType" },
248
- { "Parameter": "ScaleX" },
249
- { "Parameter": "ScaleY" },
250
- { "Parameter": "Bounds" },
251
- { "Parameter": "OutPath" },
252
- { "Parameter": "FontsFolder" },
253
- { "Parameter": "DestFolder" },
254
- { "Parameter": "IsImageDataEmbedded" },
255
- { "Parameter": "Stream" },
256
- { "Parameter": "Html" },
257
- { "Parameter": "Options" },
258
- { "Parameter": "ApplyToAll" },
259
- { "Parameter": "SlideToCopy" },
260
- { "Parameter": "SlideToClone" },
261
- { "Parameter": "Source" },
262
- { "Parameter": "LayoutAlias" },
263
- { "Parameter": "Background" },
264
- { "Parameter": "WithEmpty" },
265
- { "Parameter": "OldValue" },
266
- { "Parameter": "NewValue" },
267
- { "Parameter": "OldPosition" },
268
- { "Parameter": "NewPosition" },
269
- { "Parameter": "IgnoreCase" },
270
- { "Parameter": "Document" },
271
- { "Parameter": "Color" },
272
- { "Parameter": "Format", "Method": "PutSlidesSlide" },
273
- { "Parameter": "Format", "Language": "NET" },
274
- { "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
275
- { "Parameter": "Dto", "Method": "PostAddNotesSlide" },
276
- { "Parameter": "Dto", "Language": "Swift" },
277
- { "Parameter": "SlideDto", "Language": "Swift" },
278
- { "Parameter": "Request", "Language": "Swift" },
279
- { "Parameter": "Effect", "Language": "Swift" },
280
- { "Parameter": "Sequence", "Language": "Swift" },
281
- { "Parameter": "Pipeline", "Language": "Swift" },
282
- { "Parameter": "Properties", "Language": "Swift" },
283
- { "Parameter": "Property", "Language": "Swift" },
284
- { "Parameter": "Animation", "Language": "Swift" },
285
- { "Parameter": "Category", "Language": "Swift" },
286
- { "Parameter": "Series", "Language": "Swift" },
287
- { "Parameter": "Sections", "Language": "Swift" },
288
- { "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
289
- { "Parameter": "Name", "Method": "PostSlidesDocument" },
290
- { "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
291
- { "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
292
- { "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
293
- { "Parameter": "Name", "Method": "PutNewPresentation" },
294
- { "Parameter": "Name", "Method": "PutSlidesDocumentFromHtml" },
295
- { "Parameter": "Folder", "Method": "PostSlidesDocument" },
296
- { "Parameter": "Folder", "Method": "PostSlidesDocumentFromHtml" },
297
- { "Parameter": "Folder", "Method": "PostSlidesDocumentFromSource" },
298
- { "Parameter": "Folder", "Method": "PostSlidesDocumentFromTemplate" },
299
- { "Parameter": "Folder", "Method": "PutNewPresentation" },
300
- { "Parameter": "Folder", "Method": "PutSlidesDocumentFromHtml" },
301
- { "Parameter": "Password", "Method": "PostSlidesDocument" },
302
- { "Parameter": "Password", "Method": "PostSlidesDocumentFromHtml" },
303
- { "Parameter": "Password", "Method": "PostSlidesDocumentFromSource" },
304
- { "Parameter": "Password", "Method": "PostSlidesDocumentFromTemplate" },
305
- { "Parameter": "Password", "Method": "PutNewPresentation" },
306
- { "Parameter": "Data", "Method": "PostSlidesDocument" },
307
- { "Parameter": "Files" },
308
- { "Parameter": "WithSlides" },
309
- { "Parameter": "SectionName" },
310
- { "Method": "GetDiscUsage" },
311
- { "Method": "GetFilesList" },
312
- { "Method": "GetFileVersions" },
313
- { "Method": "DownloadFile" },
314
- { "Method": "StorageExists" },
315
- { "Method": "ObjectExists" },
316
- { "Method": "CreateFolder" },
317
- { "Method": "UploadFile" },
318
- { "Method": "CopyFolder" },
319
- { "Method": "CopyFile" },
320
- { "Method": "MoveFolder" },
321
- { "Method": "MoveFile" },
322
- { "Method": "DeleteFile" },
323
- { "Method": "DeleteFolder" }
324
- ],
325
- "Results": [
326
- { "Code": 200 },
327
- { "Code": 201, "Method": "PostSlidesDocument" },
328
- { "Code": 201, "Method": "PostSlidesDocumentFromHtml" },
329
- { "Code": 201, "Method": "PostSlidesDocumentFromSource" },
330
- { "Code": 201, "Method": "PostSlidesDocumentFromTemplate" },
331
- { "Code": 201, "Method": "PutNewPresentation" },
332
- { "Code": 201, "Method": "PostSlidesAdd" },
333
- { "Code": 201, "Method": "PostSlidesCopy" },
334
- { "Code": 201, "Method": "PostCopyLayoutSlideFromSourcePresentation" },
335
- { "Code": 201, "Method": "PostCopyMasterSlideFromSourcePresentation" },
336
- { "Code": 201, "Method": "PostAddNotesSlide" },
337
- { "Code": 201, "Method": "PostAddNewParagraph" },
338
- { "Code": 201, "Method": "PostAddNewPortion" },
339
- { "Code": 201, "Method": "PostAddNewShape" },
340
- { "Code": 201, "Method": "PostAddNewSubshapeParagraph" },
341
- { "Code": 201, "Method": "PostAddNewSubshapePortion" },
342
- { "Code": 201, "Method": "PostAddNewSubshape" },
343
- { "Code": 201, "Method": "PostChartSeries" },
344
- { "Code": 201, "Method": "PostChartCategory" },
345
- { "Code": 201, "Method": "PostChartDataPoint" },
346
- { "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
347
- { "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
348
- { "Code": 201, "Method": "PostNotesSlideAddNewShape" },
349
- { "Code": 201, "Method": "PostSlideAnimationEffect" },
350
- { "Code": 201, "Method": "PostSlideAnimationInteractiveSequence" },
351
- { "Code": 201, "Method": "PostSlideAnimationInteractiveSequenceEffect" },
352
- { "Code": 201, "Method": "PostSection" },
353
- { "Code": 400, "Invalid": true },
354
- { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Name" },
355
- { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Folder" },
356
- { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "CloneFrom" },
357
- { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Source" },
358
- { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Path", "Method": "DownloadFile" },
359
- { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "Storage" },
360
- { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "StorageName" },
361
- { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "SrcStorageName" },
362
- { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "DestStorageName" },
363
- { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "CloneFromStorage" },
364
- { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "TemplateStorage" },
365
- { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "SourceStorage" },
366
- { "Message": "Invalid password.", "Parameter": "Password" },
367
- { "Message": "Invalid password.", "Parameter": "CloneFromPassword" },
368
- { "Message": "Invalid password.", "Parameter": "SourcePassword" },
369
- { "Message": "Invalid password.", "Parameter": "TemplatePassword" },
370
- { "Message": "Invalid password.", "Parameter": "InputPassword" },
371
- { "Message": "An attempt was made to move the position before the beginning of the stream.", "Parameter": "Password", "Method": "DeleteSlidesCleanSlidesList" },
372
- { "Message": "An attempt was made to move the position before the beginning of the stream.", "Parameter": "Password", "Method": "PostSlidesAdd" },
373
- { "Message": "An attempt was made to move the position before the beginning of the stream.", "Parameter": "Password", "Method": "PutSlidesSlide" },
374
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SlideIndex" },
375
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Slides" },
376
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "ShapeIndex" },
377
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Shapes" },
378
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "ParagraphIndex" },
379
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Paragraphs" },
380
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "PortionIndex" },
381
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Portions" },
382
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "EffectIndex" },
383
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SequenceIndex" },
384
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SeriesIndex" },
385
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CategoryIndex" },
386
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "PointIndex" },
387
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SectionIndex" },
388
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Position" },
389
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CloneFromPosition" },
390
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPosition" },
391
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "NewPosition" },
392
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPositions" },
393
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "NewPositions" },
394
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SlideToCopy" },
395
- { "Message": "Placeholder with index %v doesn't exist.", "Parameter": "PlaceholderIndex" },
396
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Index" },
397
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "ShapeToClone" },
398
- { "Message": "Index was out of range.", "Parameter": "ShapeToCopy" },
399
- { "Message": "Invalid Request", "Parameter": "VersionId" },
400
- { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DeleteFile" },
401
- { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DownloadFile" },
402
- { "Message": "AmazonS3 Storage exception", "Parameter": "VersionId", "Method": "ObjectExists" },
403
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Path" },
404
- { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetSlideShapes" },
405
- { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetNotesSlideShapes" },
406
- { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "DeleteSlideShapes" },
407
- { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "DeleteNotesSlideShapes" },
408
- { "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Path", "Method": "DownloadFile" },
409
- { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "SrcPath" },
410
- { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "SourcePath" },
411
- { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "TemplatePath" },
412
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "From" },
413
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "To" },
414
- { "Message": " is not supported", "Parameter": "Format" },
415
- { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NodeJS" },
416
- { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Go" },
417
- { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Python" },
418
- { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Perl" },
419
- { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Swift" },
420
- { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "CPP" },
421
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "NodeJS" },
422
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "NodeJS" },
423
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "NodeJS" },
424
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "NodeJS" },
425
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
426
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
427
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
428
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Python" },
429
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Go" },
430
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Go" },
431
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Go" },
432
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Go" },
433
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Perl" },
434
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
435
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
436
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
437
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Swift" },
438
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Swift" },
439
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Swift" },
440
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Swift" },
441
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "CPP" },
442
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "CPP" },
443
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "CPP" },
444
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
445
- { "Message": "Color must be in format #FF000000", "Parameter": "Color" },
446
- { "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
447
- { "Message": "Error parsing XML template data", "Parameter": "Data" },
448
- { "Message": "Can't read MSCDFileSystem.", "Parameter": "Data", "Language": "Python", "Method": "PostSlidesDocument" },
449
- { "Message": " required parameter", "Parameter": "DTO" },
450
- { "Message": "DTO expected", "Parameter": "DTO", "Method": "PostAddNewShape" },
451
- { "Message": "DTO expected", "Parameter": "DTO", "Method": "PostAddNewSubshape" },
452
- { "Message": " required parameter", "Parameter": "SlideDTO" },
453
- { "Message": " required parameter", "Parameter": "Background" },
454
- { "Message": " required parameter", "Parameter": "Pipeline" },
455
- { "Message": " required parameter", "Parameter": "Properties" },
456
- { "Message": " required parameter", "Parameter": "Property" },
457
- { "Message": " required parameter", "Parameter": "Animation" },
458
- { "Message": " required parameter", "Parameter": "Sequence" },
459
- { "Message": " required parameter", "Parameter": "Series" },
460
- { "Message": " required parameter", "Parameter": "DataPoint" },
461
- { "Message": " required parameter", "Parameter": "Category" },
462
- { "Message": " required parameter", "Parameter": "Effect" },
463
- { "Message": " required parameter", "Parameter": "Request" },
464
- { "Message": " required parameter", "Parameter": "Sections" },
465
- { "Message": " required parameter", "Parameter": "Document" },
466
- { "Message": " required parameter", "Parameter": "File" },
467
- { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Sections", "Method": "DeleteSections" },
468
- { "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
469
- { "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
470
- { "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
471
- { "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" }
472
- ]
1
+ {
2
+ "Files": [
3
+ { "Action": "Put", "File": "test.pptx" },
4
+ { "Action": "Put", "File": "test-unprotected.pptx", "Method": "DeleteSlidesCleanSlidesList" },
5
+ { "Action": "Put", "File": "test-unprotected.pptx", "Method": "PutSlidesSlide" },
6
+ { "Action": "Delete", "File": "test.pptx", "Method": "PostSlidesDocument" },
7
+ { "Action": "Delete", "File": "test.pptx", "Method": "PostSlidesDocumentFromHtml" },
8
+ { "Action": "Delete", "File": "test.pptx", "Method": "UploadFile" },
9
+ { "Action": "Delete", "Folder": "%v", "File": "test.pptx", "Parameter": "Folder" },
10
+ { "Action": "Delete", "File": "%v", "Parameter": "Name" },
11
+ { "Action": "Delete", "File": "changedtest.pptx", "Method": "PostSlidesDocument" },
12
+ { "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PostSlidesDocument" },
13
+ { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PostSlidesDocument" },
14
+ { "Action": "Delete", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromSource" },
15
+ { "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PostSlidesDocumentFromSource" },
16
+ { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromSource" },
17
+ { "Action": "Delete", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromTemplate" },
18
+ { "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PostSlidesDocumentFromTemplate" },
19
+ { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PostSlidesDocumentFromTemplate" },
20
+ { "Action": "Delete", "File": "changedtest.pptx", "Method": "PutNewPresentation" },
21
+ { "Action": "Delete", "File": "invalidchangedtest.pptx", "Method": "PutNewPresentation" },
22
+ { "Action": "Delete", "Folder": "TempSlidesSDKinvalid", "File": "changedtest.pptx", "Method": "PutNewPresentation" },
23
+ { "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.pptx", "Parameter": "CloneFrom" },
24
+ { "Action": "Delete", "Folder": "invalidTempSlidesSDK", "File": "test.pptx", "Parameter": "SourcePath" }
25
+ ],
26
+ "Values": [
27
+ { "InvalidValue": "%vinvalid" },
28
+ { "Value": "test.pptx", "InvalidValue": "invalid%v", "Parameter": "Name" },
29
+ { "Value": "test-unprotected.pptx", "Parameter": "Name", "Method": "PutSlidesSlide" },
30
+ { "Value": "test-unprotected.pptx", "Parameter": "Name", "Method": "PostSlidesAdd" },
31
+ { "Value": "test-unprotected.pptx", "Parameter": "Name", "Method": "DeleteSlidesCleanSlidesList" },
32
+ { "Value": "changedtest.pptx", "Parameter": "Name", "Method": "PutNewPresentation" },
33
+ { "Value": "changedtest.pptx", "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
34
+ { "Value": "changedtest.pptx", "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
35
+ { "Value": "TempSlidesSDK", "Parameter": "Folder" },
36
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "SourcePath" },
37
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "SrcPath" },
38
+ { "Value": "TempSlidesSDK/changedtest.pptx", "InvalidValue": "invalid%v", "Parameter": "DestPath" },
39
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "TemplatePath" },
40
+ { "Value": "TempSlidesSDK/TemplateCV.pptx", "InvalidValue": "invalid%v", "Parameter": "TemplatePath", "Method": "PostSlidesDocument" },
41
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "CloneFrom" },
42
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Source" },
43
+ { "Value": "TempSlidesSDK/out.pdf", "Parameter": "OutPath" },
44
+ { "Value": "password", "Parameter": "Password" },
45
+ { "Value": "password", "Parameter": "InputPassword" },
46
+ { "Value": "password", "Parameter": "TemplatePassword" },
47
+ { "Value": "password", "Parameter": "SourcePassword" },
48
+ { "Value": "password", "Parameter": "CloneFromPassword" },
49
+ { "Value": null, "Parameter": "Password", "Method": "PutSlidesSlide" },
50
+ { "Value": null, "Parameter": "Password", "Method": "PostSlidesAdd" },
51
+ { "Value": null, "Parameter": "Password", "Method": "DeleteSlidesCleanSlidesList" },
52
+ { "Value": null, "Parameter": "Storage" },
53
+ { "Value": null, "Parameter": "StorageName" },
54
+ { "Value": "testStorage", "Parameter": "StorageName", "Method": "StorageExists" },
55
+ { "Value": null, "Parameter": "SrcStorageName" },
56
+ { "Value": null, "Parameter": "DestStorageName" },
57
+ { "Value": null, "Parameter": "TemplateStorage" },
58
+ { "Value": null, "Parameter": "CloneFromStorage" },
59
+ { "Value": null, "Parameter": "SourceStorage" },
60
+ { "Value": 1, "InvalidValue": 593, "Parameter": "SlideIndex" },
61
+ { "Value": 5, "Parameter": "SlideIndex", "Method": "PostSection" },
62
+ { "Value": null, "InvalidValue": [1, 593], "Parameter": "Slides" },
63
+ { "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
64
+ { "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
65
+ { "Value": 1, "InvalidValue": 593, "Parameter": "ShapeIndex" },
66
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "PostChartSeries" },
67
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "PutChartSeries" },
68
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "DeleteChartSeries" },
69
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "PostChartCategory" },
70
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "PutChartCategory" },
71
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "DeleteChartCategory" },
72
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "PostChartDataPoint" },
73
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "PutChartDataPoint" },
74
+ { "Value": 3, "Parameter": "SlideIndex", "Method": "DeleteChartDataPoint" },
75
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartDataPoint" },
76
+ { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartDataPoint" },
77
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
78
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
79
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
80
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraphs" },
81
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortion" },
82
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortions" },
83
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshape" },
84
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapes" },
85
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraph" },
86
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraphs" },
87
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortion" },
88
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortions" },
89
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshape" },
90
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapeParagraph" },
91
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapePortion" },
92
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostSubshapeSaveAs" },
93
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphPortionProperties" },
94
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphProperties" },
95
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSlideSubshapeInfo" },
96
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSubshapeSaveAs" },
97
+ { "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
98
+ { "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
99
+ { "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
100
+ { "Value": 1, "InvalidValue": 593, "Parameter": "CategoryIndex" },
101
+ { "Value": 1, "InvalidValue": 593, "Parameter": "PointIndex" },
102
+ { "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
103
+ { "Value": null, "InvalidValue": [1, 593], "Parameter": "Paragraphs" },
104
+ { "Value": 1, "InvalidValue": 593, "Parameter": "PortionIndex" },
105
+ { "Value": null, "InvalidValue": [1, 593], "Parameter": "Portions" },
106
+ { "Value": 1, "InvalidValue": 593, "Parameter": "PlaceholderIndex" },
107
+ { "Value": 1, "InvalidValue": 593, "Parameter": "SequenceIndex" },
108
+ { "Value": 1, "InvalidValue": 593, "Parameter": "EffectIndex" },
109
+ { "Value": 2, "InvalidValue": 593, "Parameter": "SectionIndex" },
110
+ { "Value": 1, "InvalidValue": 593, "Parameter": "Index" },
111
+ { "Value": 2, "InvalidValue": 593, "Parameter": "NewPosition" },
112
+ { "Value": null, "InvalidValue": 593, "Parameter": "OldPosition" },
113
+ { "Value": 1, "InvalidValue": 593, "Parameter": "Position" },
114
+ { "Value": [2, 1], "InvalidValue": [1, 593], "Parameter": "OldPositions" },
115
+ { "Value": [1, 2], "InvalidValue": [1, 593], "Parameter": "NewPositions" },
116
+ { "Value": [3, 2], "InvalidValue": [1, 593], "Parameter": "Sections" },
117
+ { "Value": 1, "InvalidValue": 593, "Parameter": "CloneFromPosition" },
118
+ { "Value": null, "InvalidValue": 593, "Parameter": "From" },
119
+ { "Value": null, "InvalidValue": 593, "Parameter": "To" },
120
+ { "Value": "4/shapes", "Parameter": "Path" },
121
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
122
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
123
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
124
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DeleteFile" },
125
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "ObjectExists" },
126
+ { "Value": "TempSlidesSDK", "Parameter": "Path", "Method": "DeleteFolder" },
127
+ { "Value": "testProperty", "Parameter": "PropertyName" },
128
+ { "InvalidValue": null, "Parameter": "Stream" },
129
+ {
130
+ "Value": "<staff><person><name>John Doe</name><address><line1>10 Downing Street</line1><line2>London</line2></address><phone>+457 123456</phone><bio>Hi, I'm John and this is my CV</bio><skills><skill><title>C#</title><level>Excellent</level></skill><skill><title>C++</title><level>Good</level></skill><skill><title>Java</title><level>Average</level></skill></skills></person></staff>",
131
+ "Parameter": "Data"
132
+ },
133
+ { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Request" },
134
+ { "Value": {}, "InvalidValue": null, "Type": "PresentationsMergeRequest", "Parameter": "Request" },
135
+ { "Value": {}, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request" },
136
+ { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
137
+ { "Value": {}, "InvalidValue": null, "Type": "SlideBackground", "Parameter": "Background" },
138
+ { "Value": {}, "InvalidValue": null, "Type": "SlideAnimation", "Parameter": "Animation" },
139
+ { "Value": {}, "InvalidValue": null, "Type": "ChartCategory", "Parameter": "Category" },
140
+ { "Value": { "XValue": 32.5, "YValue": 42.9 }, "InvalidValue": null, "Type": "ScatterChartDataPoint", "Parameter": "DataPoint" },
141
+ { "Value": { "DataPointType": "OneValue" }, "InvalidValue": null, "Type": "OneValueSeries", "Parameter": "Series" },
142
+ { "Value": { "TriggerShapeIndex": 1 }, "InvalidValue": null, "Type": "InteractiveSequence", "Parameter": "Sequence" },
143
+ { "Value": { "ShapeIndex": 1, "Type": "Appear" }, "InvalidValue": null, "Type": "Effect", "Parameter": "Effect" },
144
+ { "Value": { "Text": "testNote" }, "InvalidValue": null, "Type": "NotesSlide", "Parameter": "DTO" },
145
+ { "Value": {}, "InvalidValue": null, "Type": "Paragraph", "Parameter": "DTO" },
146
+ { "Value": {}, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO" },
147
+ { "Value": {}, "InvalidValue": null, "Type": "HeaderFooter", "Parameter": "DTO" },
148
+ { "Value": {}, "InvalidValue": null, "Type": "NotesSlideHeaderFooter", "Parameter": "DTO" },
149
+ {
150
+ "Value": { "Text": "testShape", "Type": "Shape", "ShapeType": "BentArrow", "GeometryShapeType": "Rectangle" },
151
+ "InvalidValue": null,
152
+ "Type": "Shape",
153
+ "Parameter": "DTO"
154
+ },
155
+ { "Value": {}, "InvalidValue": null, "Type": "ViewProperties", "Parameter": "DTO", "Method": "PutSlidesViewProperties" },
156
+ { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
157
+ { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
158
+ { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostNotesSlideAddNewPortion" },
159
+ { "Value": { "MasterSlide": { "Href": "masterSlides/2" } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
160
+ { "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "PutSlidesSlide" },
161
+ { "Value": { "List": [] }, "InvalidValue": null, "Type": "DocumentProperties", "Parameter": "Properties" },
162
+ {
163
+ "Value": { "Name": "testProperty001", "Value": "testValue002" },
164
+ "InvalidValue": null,
165
+ "Type": "DocumentProperty",
166
+ "Parameter": "Property"
167
+ },
168
+ { "Value": {}, "InvalidValue": null, "Type": "Sections", "Parameter": "Sections", "Method": "PutSections" },
169
+ { "Value": "pdf", "Parameter": "Format" },
170
+ { "InvalidValue": "svg", "Parameter": "Format", "Language": "NET" },
171
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
172
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat", "Language": "NET" },
173
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NET" },
174
+ { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideWithFormat" },
175
+ { "Value": "png", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat" },
176
+ { "Value": "png", "Parameter": "Format", "Method": "GetShapeWithFormat" },
177
+ { "Value": "png", "Parameter": "Format", "Method": "PostShapeSaveAs" },
178
+ { "Value": "png", "Parameter": "Format", "Method": "PutShapeSaveAs" },
179
+ { "Value": "png", "Parameter": "Format", "Method": "PostSubshapeSaveAs" },
180
+ { "Value": "png", "Parameter": "Format", "Method": "PutSubshapeSaveAs" },
181
+ { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideShapeWithFormat" },
182
+ { "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
183
+ { "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
184
+ { "Value": "png", "Parameter": "Format", "Method": "GetSlidesImageWithFormat" },
185
+ { "Value": null, "InvalidValue": "Shape", "Parameter": "Bounds" },
186
+ { "Value": "OnScreen", "InvalidValue": "Ledger", "Parameter": "SizeType" },
187
+ { "Value": "DoNotScale", "InvalidValue": "Maximize", "Parameter": "ScaleType" },
188
+ { "Value": null, "InvalidValue": null, "Parameter": "Options" },
189
+ { "Value": 1, "InvalidValue": 593, "Parameter": "Width" },
190
+ { "Value": 1, "InvalidValue": 593, "Parameter": "Height" },
191
+ { "Value": "#FF0000dd", "Parameter": "Color" },
192
+ { "Value": null, "InvalidValue": false, "Parameter": "Recursive" },
193
+ { "Value": true, "Parameter": "Recursive", "Method": "DeleteFolder" },
194
+ { "Value": null, "InvalidValue": false, "Parameter": "IgnoreCase" },
195
+ { "Value": null, "InvalidValue": false, "Parameter": "WithEmpty" },
196
+ { "Value": null, "InvalidValue": false, "Parameter": "ApplyToAll" },
197
+ { "Value": null, "InvalidValue": false, "Parameter": "IsImageDataEmbedded" },
198
+ { "Value": null, "InvalidValue": false, "Parameter": "WithSlides" },
199
+ { "Value": null, "InvalidValue": 593, "Parameter": "JpegQuality" },
200
+ { "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleX" },
201
+ { "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleY" },
202
+ { "Value": null, "Parameter": "VersionId" },
203
+ { "Value": null, "InvalidValue": null, "Parameter": "Files" }
204
+ ],
205
+ "OKToReturnNull": [
206
+ { "Method": "PostSlidesPipeline" }
207
+ ],
208
+ "OKToNotFail": [
209
+ { "Parameter": "JpegQuality" },
210
+ { "Parameter": "Width" },
211
+ { "Parameter": "Height" },
212
+ { "Parameter": "From" },
213
+ { "Parameter": "To" },
214
+ { "Parameter": "PropertyName" },
215
+ { "Parameter": "ScaleType" },
216
+ { "Parameter": "SizeType" },
217
+ { "Parameter": "ScaleX" },
218
+ { "Parameter": "ScaleY" },
219
+ { "Parameter": "Bounds" },
220
+ { "Parameter": "OutPath" },
221
+ { "Parameter": "FontsFolder" },
222
+ { "Parameter": "DestFolder" },
223
+ { "Parameter": "IsImageDataEmbedded" },
224
+ { "Parameter": "Stream" },
225
+ { "Parameter": "Html" },
226
+ { "Parameter": "Options" },
227
+ { "Parameter": "ApplyToAll" },
228
+ { "Parameter": "SlideToCopy" },
229
+ { "Parameter": "SlideToClone" },
230
+ { "Parameter": "Source" },
231
+ { "Parameter": "LayoutAlias" },
232
+ { "Parameter": "Background" },
233
+ { "Parameter": "WithEmpty" },
234
+ { "Parameter": "OldValue" },
235
+ { "Parameter": "NewValue" },
236
+ { "Parameter": "OldPosition" },
237
+ { "Parameter": "NewPosition" },
238
+ { "Parameter": "IgnoreCase" },
239
+ { "Parameter": "Document" },
240
+ { "Parameter": "Color" },
241
+ { "Parameter": "Format", "Method": "PutSlidesSlide" },
242
+ { "Parameter": "Format", "Language": "NET" },
243
+ { "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
244
+ { "Parameter": "Dto", "Method": "PostAddNotesSlide" },
245
+ { "Parameter": "Dto", "Language": "Swift" },
246
+ { "Parameter": "SlideDto", "Language": "Swift" },
247
+ { "Parameter": "Request", "Language": "Swift" },
248
+ { "Parameter": "Effect", "Language": "Swift" },
249
+ { "Parameter": "Sequence", "Language": "Swift" },
250
+ { "Parameter": "Pipeline", "Language": "Swift" },
251
+ { "Parameter": "Properties", "Language": "Swift" },
252
+ { "Parameter": "Property", "Language": "Swift" },
253
+ { "Parameter": "Animation", "Language": "Swift" },
254
+ { "Parameter": "Category", "Language": "Swift" },
255
+ { "Parameter": "Series", "Language": "Swift" },
256
+ { "Parameter": "Sections", "Language": "Swift" },
257
+ { "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
258
+ { "Parameter": "Name", "Method": "PostSlidesDocument" },
259
+ { "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
260
+ { "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
261
+ { "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
262
+ { "Parameter": "Name", "Method": "PutNewPresentation" },
263
+ { "Parameter": "Name", "Method": "PutSlidesDocumentFromHtml" },
264
+ { "Parameter": "Folder", "Method": "PostSlidesDocument" },
265
+ { "Parameter": "Folder", "Method": "PostSlidesDocumentFromHtml" },
266
+ { "Parameter": "Folder", "Method": "PostSlidesDocumentFromSource" },
267
+ { "Parameter": "Folder", "Method": "PostSlidesDocumentFromTemplate" },
268
+ { "Parameter": "Folder", "Method": "PutNewPresentation" },
269
+ { "Parameter": "Folder", "Method": "PutSlidesDocumentFromHtml" },
270
+ { "Parameter": "Password", "Method": "PostSlidesDocument" },
271
+ { "Parameter": "Password", "Method": "PostSlidesDocumentFromHtml" },
272
+ { "Parameter": "Password", "Method": "PostSlidesDocumentFromSource" },
273
+ { "Parameter": "Password", "Method": "PostSlidesDocumentFromTemplate" },
274
+ { "Parameter": "Password", "Method": "PutNewPresentation" },
275
+ { "Parameter": "Data", "Method": "PostSlidesDocument" },
276
+ { "Parameter": "Files" },
277
+ { "Parameter": "WithSlides" },
278
+ { "Parameter": "SectionName" },
279
+ { "Method": "GetDiscUsage" },
280
+ { "Method": "GetFilesList" },
281
+ { "Method": "GetFileVersions" },
282
+ { "Method": "DownloadFile" },
283
+ { "Method": "StorageExists" },
284
+ { "Method": "ObjectExists" },
285
+ { "Method": "CreateFolder" },
286
+ { "Method": "UploadFile" },
287
+ { "Method": "CopyFolder" },
288
+ { "Method": "CopyFile" },
289
+ { "Method": "MoveFolder" },
290
+ { "Method": "MoveFile" },
291
+ { "Method": "DeleteFile" },
292
+ { "Method": "DeleteFolder" }
293
+ ],
294
+ "Results": [
295
+ { "Code": 200 },
296
+ { "Code": 201, "Method": "PostSlidesDocument" },
297
+ { "Code": 201, "Method": "PostSlidesDocumentFromHtml" },
298
+ { "Code": 201, "Method": "PostSlidesDocumentFromSource" },
299
+ { "Code": 201, "Method": "PostSlidesDocumentFromTemplate" },
300
+ { "Code": 201, "Method": "PutNewPresentation" },
301
+ { "Code": 201, "Method": "PostSlidesAdd" },
302
+ { "Code": 201, "Method": "PostSlidesCopy" },
303
+ { "Code": 201, "Method": "PostCopyLayoutSlideFromSourcePresentation" },
304
+ { "Code": 201, "Method": "PostCopyMasterSlideFromSourcePresentation" },
305
+ { "Code": 201, "Method": "PostAddNotesSlide" },
306
+ { "Code": 201, "Method": "PostAddNewParagraph" },
307
+ { "Code": 201, "Method": "PostAddNewPortion" },
308
+ { "Code": 201, "Method": "PostAddNewShape" },
309
+ { "Code": 201, "Method": "PostAddNewSubshapeParagraph" },
310
+ { "Code": 201, "Method": "PostAddNewSubshapePortion" },
311
+ { "Code": 201, "Method": "PostAddNewSubshape" },
312
+ { "Code": 201, "Method": "PostChartSeries" },
313
+ { "Code": 201, "Method": "PostChartCategory" },
314
+ { "Code": 201, "Method": "PostChartDataPoint" },
315
+ { "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
316
+ { "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
317
+ { "Code": 201, "Method": "PostNotesSlideAddNewShape" },
318
+ { "Code": 201, "Method": "PostSlideAnimationEffect" },
319
+ { "Code": 201, "Method": "PostSlideAnimationInteractiveSequence" },
320
+ { "Code": 201, "Method": "PostSlideAnimationInteractiveSequenceEffect" },
321
+ { "Code": 201, "Method": "PostSection" },
322
+ { "Code": 400, "Invalid": true },
323
+ { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Name" },
324
+ { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Folder" },
325
+ { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "CloneFrom" },
326
+ { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Source" },
327
+ { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Path", "Method": "DownloadFile" },
328
+ { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "Storage" },
329
+ { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "StorageName" },
330
+ { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "SrcStorageName" },
331
+ { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "DestStorageName" },
332
+ { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "CloneFromStorage" },
333
+ { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "TemplateStorage" },
334
+ { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "SourceStorage" },
335
+ { "Message": "Invalid password.", "Parameter": "Password" },
336
+ { "Message": "Invalid password.", "Parameter": "CloneFromPassword" },
337
+ { "Message": "Invalid password.", "Parameter": "SourcePassword" },
338
+ { "Message": "Invalid password.", "Parameter": "TemplatePassword" },
339
+ { "Message": "Invalid password.", "Parameter": "InputPassword" },
340
+ { "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "DeleteSlidesCleanSlidesList" },
341
+ { "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "PostSlidesAdd" },
342
+ { "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "PutSlidesSlide" },
343
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SlideIndex" },
344
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Slides" },
345
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "ShapeIndex" },
346
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Shapes" },
347
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "ParagraphIndex" },
348
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Paragraphs" },
349
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "PortionIndex" },
350
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Portions" },
351
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "EffectIndex" },
352
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SequenceIndex" },
353
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SeriesIndex" },
354
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CategoryIndex" },
355
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "PointIndex" },
356
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SectionIndex" },
357
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Position" },
358
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "CloneFromPosition" },
359
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPosition" },
360
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "NewPosition" },
361
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "OldPositions" },
362
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "NewPositions" },
363
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SlideToCopy" },
364
+ { "Message": "Placeholder with index %v doesn't exist.", "Parameter": "PlaceholderIndex" },
365
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Index" },
366
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "ShapeToClone" },
367
+ { "Message": "Index was out of range.", "Parameter": "ShapeToCopy" },
368
+ { "Message": "Invalid Request", "Parameter": "VersionId" },
369
+ { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DeleteFile" },
370
+ { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DownloadFile" },
371
+ { "Message": "AmazonS3 Storage exception", "Parameter": "VersionId", "Method": "ObjectExists" },
372
+ { "Message": "The HTTP resource that matches the request URI", "Parameter": "Path" },
373
+ { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetSlideShapes" },
374
+ { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetNotesSlideShapes" },
375
+ { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "DeleteSlideShapes" },
376
+ { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "DeleteNotesSlideShapes" },
377
+ { "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Path", "Method": "DownloadFile" },
378
+ { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "SrcPath" },
379
+ { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "SourcePath" },
380
+ { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "TemplatePath" },
381
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "From" },
382
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "To" },
383
+ { "Message": " is not supported", "Parameter": "Format" },
384
+ { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NodeJS" },
385
+ { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Go" },
386
+ { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Python" },
387
+ { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Perl" },
388
+ { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Swift" },
389
+ { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "CPP" },
390
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "NodeJS" },
391
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "NodeJS" },
392
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "NodeJS" },
393
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "NodeJS" },
394
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
395
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
396
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
397
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Python" },
398
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Go" },
399
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Go" },
400
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Go" },
401
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Go" },
402
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Perl" },
403
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
404
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
405
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
406
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Swift" },
407
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Swift" },
408
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Swift" },
409
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Swift" },
410
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "CPP" },
411
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "CPP" },
412
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "CPP" },
413
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
414
+ { "Message": "Color must be in format #FF000000", "Parameter": "Color" },
415
+ { "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
416
+ { "Message": "Error parsing XML template data", "Parameter": "Data" },
417
+ { "Message": "Can't read MSCDFileSystem.", "Parameter": "Data", "Language": "Python", "Method": "PostSlidesDocument" },
418
+ { "Message": " required parameter", "Parameter": "DTO" },
419
+ { "Message": "DTO expected", "Parameter": "DTO", "Method": "PostAddNewShape" },
420
+ { "Message": "DTO expected", "Parameter": "DTO", "Method": "PostAddNewSubshape" },
421
+ { "Message": " required parameter", "Parameter": "SlideDTO" },
422
+ { "Message": " required parameter", "Parameter": "Background" },
423
+ { "Message": " required parameter", "Parameter": "Pipeline" },
424
+ { "Message": " required parameter", "Parameter": "Properties" },
425
+ { "Message": " required parameter", "Parameter": "Property" },
426
+ { "Message": " required parameter", "Parameter": "Animation" },
427
+ { "Message": " required parameter", "Parameter": "Sequence" },
428
+ { "Message": " required parameter", "Parameter": "Series" },
429
+ { "Message": " required parameter", "Parameter": "DataPoint" },
430
+ { "Message": " required parameter", "Parameter": "Category" },
431
+ { "Message": " required parameter", "Parameter": "Effect" },
432
+ { "Message": " required parameter", "Parameter": "Request" },
433
+ { "Message": " required parameter", "Parameter": "Sections" },
434
+ { "Message": " required parameter", "Parameter": "Document" },
435
+ { "Message": " required parameter", "Parameter": "File" },
436
+ { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Sections", "Method": "DeleteSections" },
437
+ { "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
438
+ { "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
439
+ { "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
440
+ { "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" }
441
+ ]
473
442
  }