aspose_slides_cloud 20.10.0 → 21.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,38 +25,31 @@ require 'spec_helper'
25
25
  describe 'SlidesApiExtra' do
26
26
  describe 'specific cases' do
27
27
  it 'multipart request' do
28
- requestParam = AsposeSlidesCloud::PostSlidesPipelineRequest.new
29
- requestParam.pipeline = AsposeSlidesCloud::Pipeline.new
30
- requestParam.pipeline.input = AsposeSlidesCloud::Input.new
31
- requestParam.pipeline.input.template_data = AsposeSlidesCloud::RequestInputFile.new
32
- requestParam.pipeline.input.template_data.type = "Request"
33
- requestParam.pipeline.input.template_data.index = 0
34
- requestParam.pipeline.input.template = AsposeSlidesCloud::RequestInputFile.new
35
- requestParam.pipeline.input.template.type = "Request"
36
- requestParam.pipeline.input.template.index = 1
37
- requestParam.pipeline.tasks = []
38
- requestParam.pipeline.tasks.push(AsposeSlidesCloud::Save.new)
39
- requestParam.pipeline.tasks[0].type = "Save"
40
- requestParam.pipeline.tasks[0].format = "pptx"
41
- requestParam.pipeline.tasks[0].output = AsposeSlidesCloud::OutputFile.new
42
- requestParam.pipeline.tasks[0].output.type = "Response"
43
- requestParam.files = []
44
- requestParam.files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "TemplatingCVDataWithBase64.xml")))
45
- requestParam.files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "TemplateCV.pptx")))
46
- o, c, _h = AsposeSlidesCloud::SpecUtils.api.post_slides_pipeline_with_http_info(requestParam)
28
+ pipeline = AsposeSlidesCloud::Pipeline.new
29
+ pipeline.input = AsposeSlidesCloud::Input.new
30
+ pipeline.input.template_data = AsposeSlidesCloud::RequestInputFile.new
31
+ pipeline.input.template_data.type = "Request"
32
+ pipeline.input.template_data.index = 0
33
+ pipeline.input.template = AsposeSlidesCloud::RequestInputFile.new
34
+ pipeline.input.template.type = "Request"
35
+ pipeline.input.template.index = 1
36
+ pipeline.tasks = []
37
+ pipeline.tasks.push(AsposeSlidesCloud::Save.new)
38
+ pipeline.tasks[0].type = "Save"
39
+ pipeline.tasks[0].format = "pptx"
40
+ pipeline.tasks[0].output = AsposeSlidesCloud::OutputFile.new
41
+ pipeline.tasks[0].output.type = "Response"
42
+ files = []
43
+ files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "TemplatingCVDataWithBase64.xml")))
44
+ files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "TemplateCV.pptx")))
45
+ o, c, _h = AsposeSlidesCloud::SpecUtils.api.pipeline_with_http_info(pipeline, files)
47
46
  expect(c).to eq(200)
48
47
  expect(o).not_to be(nil)
49
48
  end
50
49
 
51
50
  it 'base shape' do
52
51
  AsposeSlidesCloud::SpecUtils.initialize('GetSlideShape', nil, nil)
53
- requestParam = AsposeSlidesCloud::GetSlideShapeRequest.new
54
- requestParam.name = "test.ppt"
55
- requestParam.slide_index = 1
56
- requestParam.shape_index = 1
57
- requestParam.password = "password"
58
- requestParam.folder = "TempSlidesSDK"
59
- o = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(requestParam)
52
+ o = AsposeSlidesCloud::SpecUtils.api.get_shape("test.pptx", 1, 1, "password", "TempSlidesSDK")
60
53
  expect(o.text).to eq("1")
61
54
  end
62
55
 
@@ -73,19 +66,13 @@ describe 'SlidesApiExtra' do
73
66
  #configuration = AsposeSlidesCloud::Configuration.new
74
67
  #configuration.base_url = config["BaseUrl"]
75
68
  #configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
76
- #configuration.app_sid = config["AppSid"]
77
- #configuration.app_key = config["AppKey"]
69
+ #configuration.app_sid = config["ClientId"]
70
+ #configuration.app_key = config["ClientSecret"]
78
71
  #configuration.debugging = config["Debug"]
79
72
  #configuration.timeout = 1
80
73
  #api = AsposeSlidesCloud::SlidesApi.new(configuration)
81
74
 
82
- #requestParam = AsposeSlidesCloud::PostSlideSaveAsRequest.new
83
- #requestParam.name = "test.ppt"
84
- #requestParam.slide_index = 1
85
- #requestParam.password = "password"
86
- #requestParam.folder = "TempSlidesSDK"
87
- #requestParam.format = "svg"
88
- #api.post_slide_save_as(requestParam)
75
+ #api.download_slide("test.pptx", 1, "svg", "password", "TempSlidesSDK")
89
76
  end
90
77
 
91
78
  it 'nullable properties' do
@@ -97,72 +84,52 @@ describe 'SlidesApiExtra' do
97
84
  max1 = 104.3
98
85
  max2 = 87
99
86
  AsposeSlidesCloud::SpecUtils.initialize("no_method", "no_property", nil)
100
- requestParam = AsposeSlidesCloud::CopyFileRequest.new
101
- requestParam.src_path = "TempTests/" + fileName
102
- requestParam.dest_path = folderName + "/" + fileName
103
- AsposeSlidesCloud::SpecUtils.api.copy_file(requestParam)
104
-
105
- postRequest = AsposeSlidesCloud::PostAddNewShapeRequest.new
106
- postRequest.name = fileName
107
- postRequest.folder = folderName
108
- postRequest.password = password
109
- postRequest.slide_index = 1
110
- postRequest.dto = AsposeSlidesCloud::Chart.new
111
- postRequest.dto.chart_type = "Line"
112
- postRequest.dto.width = 400.0
113
- postRequest.dto.height = 300.0
114
- postRequest.dto.title = AsposeSlidesCloud::ChartTitle.new
115
- postRequest.dto.title.has_title = true
116
- postRequest.dto.title.text = "MyTitle"
117
- postRequest.dto.series = []
118
- postRequest.dto.series.push(AsposeSlidesCloud::OneValueSeries.new)
119
- postRequest.dto.series[0].type = "ClusteredColumn"
120
- postRequest.dto.series[0].data_point_type = "OneValue"
121
- postRequest.dto.series[0].name = "Series1"
122
- postRequest.dto.series[0].data_points = []
123
- postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
124
- postRequest.dto.series[0].data_points[0].value = 40.0
125
- postRequest.dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
126
- postRequest.dto.series[0].data_points[1].value = 50.0
127
- postRequest.dto.axes = AsposeSlidesCloud::Axes.new
128
- postRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
129
- postRequest.dto.axes.horizontal_axis.is_automatic_min_value = false
130
- postRequest.dto.axes.horizontal_axis.min_value = min1
131
- postRequest.dto.axes.horizontal_axis.is_automatic_max_value = false
132
- postRequest.dto.axes.horizontal_axis.max_value = max1
133
- AsposeSlidesCloud::SpecUtils.api.post_add_new_shape(postRequest)
134
-
135
- getRequest = AsposeSlidesCloud::GetSlideShapeRequest.new
136
- getRequest.name = fileName
137
- getRequest.folder = folderName
138
- getRequest.password = password
139
- getRequest.slide_index = 1
140
- getRequest.shape_index = 4
141
- result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
87
+ AsposeSlidesCloud::SpecUtils.api.copy_file("TempTests/" + fileName, folderName + "/" + fileName)
88
+
89
+ dto = AsposeSlidesCloud::Chart.new
90
+ dto.chart_type = "Line"
91
+ dto.width = 400.0
92
+ dto.height = 300.0
93
+ dto.title = AsposeSlidesCloud::ChartTitle.new
94
+ dto.title.has_title = true
95
+ dto.title.text = "MyTitle"
96
+ dto.series = []
97
+ dto.series.push(AsposeSlidesCloud::OneValueSeries.new)
98
+ dto.series[0].type = "ClusteredColumn"
99
+ dto.series[0].data_point_type = "OneValue"
100
+ dto.series[0].name = "Series1"
101
+ dto.series[0].data_points = []
102
+ dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
103
+ dto.series[0].data_points[0].value = 40.0
104
+ dto.series[0].data_points.push(AsposeSlidesCloud::OneValueChartDataPoint.new)
105
+ dto.series[0].data_points[1].value = 50.0
106
+ dto.axes = AsposeSlidesCloud::Axes.new
107
+ dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
108
+ dto.axes.horizontal_axis.is_automatic_min_value = false
109
+ dto.axes.horizontal_axis.min_value = min1
110
+ dto.axes.horizontal_axis.is_automatic_max_value = false
111
+ dto.axes.horizontal_axis.max_value = max1
112
+ AsposeSlidesCloud::SpecUtils.api.create_shape(fileName, 1, dto, nil, nil, password, folderName)
113
+
114
+ result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 4, password, folderName)
142
115
  expect(result.axes.horizontal_axis.min_value).to eq(min1)
143
116
  expect(result.axes.horizontal_axis.max_value).to eq(max1)
144
117
 
145
- putRequest = AsposeSlidesCloud::PutSlideShapeInfoRequest.new
146
- putRequest.name = fileName
147
- putRequest.folder = folderName
148
- putRequest.password = password
149
- putRequest.slide_index = 1
150
- putRequest.shape_index = 4
151
- putRequest.dto = AsposeSlidesCloud::Chart.new
152
- putRequest.dto.axes = AsposeSlidesCloud::Axes.new
153
- putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
154
- putRequest.dto.axes.horizontal_axis.min_value = min2
155
- AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
156
-
157
- result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
118
+ dto = AsposeSlidesCloud::Chart.new
119
+ dto.axes = AsposeSlidesCloud::Axes.new
120
+ dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
121
+ dto.axes.horizontal_axis.min_value = min2
122
+ AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1, 4, dto, password, folderName)
123
+
124
+ result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 4, password, folderName)
158
125
  expect(result.axes.horizontal_axis.min_value).to eq(min2)
159
126
  expect(result.axes.horizontal_axis.max_value).to eq(max1)
160
127
 
161
- putRequest.dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
162
- putRequest.dto.axes.horizontal_axis.max_value = max2
163
- AsposeSlidesCloud::SpecUtils.api.put_slide_shape_info(putRequest)
128
+ dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
129
+ dto.axes.horizontal_axis.max_value = max2
130
+ AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1, 4, dto, password, folderName)
164
131
 
165
- result = AsposeSlidesCloud::SpecUtils.api.get_slide_shape(getRequest)
132
+ result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 4, password, folderName)
166
133
  expect(result.axes.horizontal_axis.min_value).to eq(min2)
167
134
  expect(result.axes.horizontal_axis.max_value).to eq(max2)
168
135
  end
@@ -174,11 +141,11 @@ describe 'SlidesApiExtra' do
174
141
  configuration = AsposeSlidesCloud::Configuration.new
175
142
  configuration.base_url = config["BaseUrl"]
176
143
  configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
177
- configuration.app_sid = config["AppSid"]
178
- configuration.app_key = config["AppKey"]
144
+ configuration.app_sid = config["ClientId"]
145
+ configuration.app_key = config["ClientSecret"]
179
146
  configuration.debugging = config["Debug"]
180
147
  api = AsposeSlidesCloud::SlidesApi.new(configuration)
181
- o, c, _h = api.get_slides_api_info_with_http_info
148
+ o, c, _h = api.get_api_info_with_http_info
182
149
  expect(c).to eq(200)
183
150
  expect(o).not_to be(nil)
184
151
  end
@@ -189,11 +156,11 @@ describe 'SlidesApiExtra' do
189
156
  configuration.base_url = config["BaseUrl"]
190
157
  configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
191
158
  configuration.app_sid = "invalid"
192
- configuration.app_key = config["AppKey"]
159
+ configuration.app_key = config["ClientSecret"]
193
160
  configuration.debugging = config["Debug"]
194
161
  api = AsposeSlidesCloud::SlidesApi.new(configuration)
195
162
  begin
196
- o, c, _h = api.get_slides_api_info_with_http_info
163
+ o, c, _h = api.get_api_info_with_http_info
197
164
  fail "An exception expected"
198
165
  rescue AsposeSlidesCloud::ApiError => e
199
166
  expect(e.code).to eq(401)
@@ -206,14 +173,14 @@ describe 'SlidesApiExtra' do
206
173
  configuration = AsposeSlidesCloud::Configuration.new
207
174
  configuration.base_url = config["BaseUrl"]
208
175
  configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
209
- configuration.app_sid = config["AppSid"]
210
- configuration.app_key = config["AppKey"]
176
+ configuration.app_sid = config["ClientId"]
177
+ configuration.app_key = config["ClientSecret"]
211
178
  configuration.debugging = config["Debug"]
212
179
  api = AsposeSlidesCloud::SlidesApi.new(configuration)
213
- api.get_slides_api_info_with_http_info
180
+ api.get_api_info_with_http_info
214
181
  configuration.app_sid = "invalid"
215
182
  api = AsposeSlidesCloud::SlidesApi.new(configuration)
216
- o, c, _h = api.get_slides_api_info_with_http_info
183
+ o, c, _h = api.get_api_info_with_http_info
217
184
  expect(c).to eq(200)
218
185
  expect(o).not_to be(nil)
219
186
  end
@@ -223,12 +190,12 @@ describe 'SlidesApiExtra' do
223
190
  configuration = AsposeSlidesCloud::Configuration.new
224
191
  configuration.base_url = config["BaseUrl"]
225
192
  configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
226
- configuration.app_sid = config["AppSid"]
227
- configuration.app_key = config["AppKey"]
193
+ configuration.app_sid = config["ClientId"]
194
+ configuration.app_key = config["ClientSecret"]
228
195
  configuration.access_token = "expired.token"
229
196
  configuration.debugging = config["Debug"]
230
197
  api = AsposeSlidesCloud::SlidesApi.new(configuration)
231
- o, c, _h = api.get_slides_api_info_with_http_info
198
+ o, c, _h = api.get_api_info_with_http_info
232
199
  expect(c).to eq(200)
233
200
  expect(o).not_to be(nil)
234
201
  end
data/spec/spec_utils.rb CHANGED
@@ -24,11 +24,9 @@ module AsposeSlidesCloud
24
24
  class SpecUtils
25
25
  def self.initialize(method, name, value)
26
26
  if !@@is_initialized
27
- download_request = AsposeSlidesCloud::DownloadFileRequest.new
28
- download_request.path = "TempTests/version.txt"
29
27
  version = ""
30
28
  begin
31
- version = SpecUtils.api.download_file(download_request)
29
+ version = SpecUtils.api.download_file("TempTests/version.txt")
32
30
  rescue AsposeSlidesCloud::ApiError => e
33
31
  if e.code != 404
34
32
  fail "Could not read from storage"
@@ -38,16 +36,10 @@ module AsposeSlidesCloud
38
36
  Dir.entries(TEST_DATA_PATH).each { |f|
39
37
  if !File.directory? File.join(TEST_DATA_PATH, f)
40
38
  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)
39
+ SpecUtils.api.upload_file("TempTests/" + f, fd)
45
40
  end
46
41
  }
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)
42
+ SpecUtils.api.upload_file("TempTests/version.txt", EXPECTED_TEST_DATA_VERSION)
51
43
  end
52
44
  @@is_initialized = true
53
45
  end
@@ -66,21 +58,28 @@ module AsposeSlidesCloud
66
58
  end
67
59
  files.each do |path, rule|
68
60
  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)
61
+ SpecUtils.api.copy_file("TempTests/" + rule['ActualName'], path)
73
62
  elsif rule["Action"] == "Delete"
74
- delete_request = AsposeSlidesCloud::DeleteFileRequest.new
75
- delete_request.path = path
76
- SpecUtils.api.delete_file(delete_request)
63
+ SpecUtils.api.delete_file(path)
77
64
  end
78
65
  end
79
66
  end
80
67
 
81
68
  def self.get_param_value(name, method, type)
82
69
  if type == 'File'
83
- return File.binread(File.join(TEST_DATA_PATH, "test.ppt"))
70
+ fileName = "test.pptx"
71
+ if method.casecmp("PostSlidesDocumentFromPdf") == 0
72
+ fileName = "test.pdf"
73
+ elsif name.casecmp("Image") == 0
74
+ fileName = "watermark.png"
75
+ end
76
+ return File.binread(File.join(TEST_DATA_PATH, fileName))
77
+ end
78
+ if type == 'File[]'
79
+ files = []
80
+ files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "test.pptx")))
81
+ files.push(File.binread(File.join(AsposeSlidesCloud::SpecUtils::TEST_DATA_PATH, "test-unprotected.pptx")))
82
+ return files
84
83
  end
85
84
  value = "test" + name
86
85
  SpecUtils.test_rules["Values"].each do |rule|
@@ -130,8 +129,8 @@ module AsposeSlidesCloud
130
129
  def self.good_rule?(rule, name, method)
131
130
  (not rule.key?("Language") or rule["Language"].casecmp("Ruby") == 0) \
132
131
  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)
132
+ and (not rule.key?("Parameter") or (name != nil and rule["Parameter"].casecmp(name) == 0)) \
133
+ and (not rule.key?("Method") or (method != nil and rule["Method"].casecmp(method) == 0))
135
134
  end
136
135
 
137
136
  def self.untemplatize(template, value)
@@ -139,7 +138,7 @@ module AsposeSlidesCloud
139
138
  value
140
139
  else
141
140
  result = template
142
- if template.is_a? String and template.match?("%v")
141
+ if template.is_a? String and template.match("%v")
143
142
  result = "" + template
144
143
  if value != nil
145
144
  result["%v"] = value.to_s
@@ -166,8 +165,8 @@ module AsposeSlidesCloud
166
165
  configuration = AsposeSlidesCloud::Configuration.new
167
166
  configuration.base_url = config["BaseUrl"]
168
167
  configuration.auth_base_url = config["AuthBaseUrl"] ? config["AuthBaseUrl"] : config["BaseUrl"]
169
- configuration.app_sid = config["AppSid"]
170
- configuration.app_key = config["AppKey"]
168
+ configuration.app_sid = config["ClientId"]
169
+ configuration.app_key = config["ClientSecret"]
171
170
  configuration.debugging = config["Debug"]
172
171
  @@api = AsposeSlidesCloud::SlidesApi.new(configuration)
173
172
  end
data/testConfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "AppSid": "@your_app_sid@",
3
- "AppKey": "@your_app_key@",
2
+ "ClientId": "@your_client_id@",
3
+ "ClientSecret": "@your_client_secret@",
4
4
  "BaseUrl" : "https://api-qa.aspose.cloud",
5
5
  "AuthBaseUrl" : "https://api-qa.aspose.cloud",
6
6
  "Debug" : false
data/testRules.json CHANGED
@@ -1,76 +1,45 @@
1
1
  {
2
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" },
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" },
26
10
  { "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" }
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" }
41
25
  ],
42
26
  "Values": [
43
27
  { "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" },
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" },
66
35
  { "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" },
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" },
71
40
  { "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" },
41
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "CloneFrom" },
42
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Source" },
74
43
  { "Value": "TempSlidesSDK/out.pdf", "Parameter": "OutPath" },
75
44
  { "Value": "password", "Parameter": "Password" },
76
45
  { "Value": "password", "Parameter": "InputPassword" },
@@ -89,22 +58,22 @@
89
58
  { "Value": null, "Parameter": "CloneFromStorage" },
90
59
  { "Value": null, "Parameter": "SourceStorage" },
91
60
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideIndex" },
92
- { "Value": 2, "Parameter": "SlideIndex", "Method": "PostChartDataPoint" },
93
- { "Value": 2, "Parameter": "SlideIndex", "Method": "PutChartDataPoint" },
94
61
  { "Value": 5, "Parameter": "SlideIndex", "Method": "PostSection" },
95
62
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Slides" },
96
63
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
97
64
  { "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" },
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" },
105
75
  { "Value": 2, "Parameter": "ShapeIndex", "Method": "PostChartDataPoint" },
106
76
  { "Value": 2, "Parameter": "ShapeIndex", "Method": "PutChartDataPoint" },
107
- { "Value": 2, "Parameter": "ShapeIndex", "Method": "DeleteChartDataPoint" },
108
77
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
109
78
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
110
79
  { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
@@ -140,6 +109,8 @@
140
109
  { "Value": 2, "InvalidValue": 593, "Parameter": "SectionIndex" },
141
110
  { "Value": 1, "InvalidValue": 593, "Parameter": "Index" },
142
111
  { "Value": 2, "InvalidValue": 593, "Parameter": "NewPosition" },
112
+ { "Value": 20, "InvalidValue": 593, "Parameter": "FontHeight" },
113
+ { "Value": 256, "InvalidValue": 593, "Parameter": "FontColor" },
143
114
  { "Value": null, "InvalidValue": 593, "Parameter": "OldPosition" },
144
115
  { "Value": 1, "InvalidValue": 593, "Parameter": "Position" },
145
116
  { "Value": [2, 1], "InvalidValue": [1, 593], "Parameter": "OldPositions" },
@@ -149,11 +120,11 @@
149
120
  { "Value": null, "InvalidValue": 593, "Parameter": "From" },
150
121
  { "Value": null, "InvalidValue": 593, "Parameter": "To" },
151
122
  { "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" },
123
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
124
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
125
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
126
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DeleteFile" },
127
+ { "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "ObjectExists" },
157
128
  { "Value": "TempSlidesSDK", "Parameter": "Path", "Method": "DeleteFolder" },
158
129
  { "Value": "testProperty", "Parameter": "PropertyName" },
159
130
  { "InvalidValue": null, "Parameter": "Stream" },
@@ -183,6 +154,12 @@
183
154
  "Type": "Shape",
184
155
  "Parameter": "DTO"
185
156
  },
157
+ { "Value": null, "InvalidValue": null, "Parameter": "PictureFrame" },
158
+ { "Value": null, "InvalidValue": null, "Parameter": "Shape" },
159
+ { "Value": { "Type": "Connector" }, "InvalidValue": null, "Type": "Shape", "Parameter": "DTO", "Language": "CPP" },
160
+ { "Value": {}, "InvalidValue": null, "Type": "SlideProperties", "Parameter": "DTO", "Method": "PutSlidesSlideProperties" },
161
+ { "Value": {}, "InvalidValue": null, "Type": "ProtectionProperties", "Parameter": "DTO", "Method": "PutSlidesProtectionProperties" },
162
+ { "Value": {}, "InvalidValue": null, "Type": "ProtectionProperties", "Parameter": "DTO", "Method": "PutSlidesProtectionPropertiesOnline" },
186
163
  { "Value": {}, "InvalidValue": null, "Type": "ViewProperties", "Parameter": "DTO", "Method": "PutSlidesViewProperties" },
187
164
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
188
165
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
@@ -202,9 +179,14 @@
202
179
  { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
203
180
  { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat", "Language": "NET" },
204
181
  { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NET" },
182
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "NET" },
183
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "NET" },
184
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "NET" },
205
185
  { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideWithFormat" },
206
186
  { "Value": "png", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat" },
207
187
  { "Value": "png", "Parameter": "Format", "Method": "GetShapeWithFormat" },
188
+ { "Value": "png", "Parameter": "Format", "Method": "PostExportShape" },
189
+ { "Value": "png", "Parameter": "Format", "Method": "PutExportShape" },
208
190
  { "Value": "png", "Parameter": "Format", "Method": "PostShapeSaveAs" },
209
191
  { "Value": "png", "Parameter": "Format", "Method": "PutShapeSaveAs" },
210
192
  { "Value": "png", "Parameter": "Format", "Method": "PostSubshapeSaveAs" },
@@ -213,6 +195,11 @@
213
195
  { "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
214
196
  { "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
215
197
  { "Value": "png", "Parameter": "Format", "Method": "GetSlidesImageWithFormat" },
198
+ { "Value": "png", "Parameter": "Format", "Method": "PostExportImageWithFormat" },
199
+ { "Value": "png", "Parameter": "Format", "Method": "PostExportImageWithFormatOnline" },
200
+ { "Value": "png", "Parameter": "Format", "Method": "PostExportImagesWithFormat" },
201
+ { "Value": "png", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat" },
202
+ { "Value": "AlignTop", "InvalidValue": "AlignBottom", "Parameter": "AlignmentType" },
216
203
  { "Value": null, "InvalidValue": "Shape", "Parameter": "Bounds" },
217
204
  { "Value": "OnScreen", "InvalidValue": "Ledger", "Parameter": "SizeType" },
218
205
  { "Value": "DoNotScale", "InvalidValue": "Maximize", "Parameter": "ScaleType" },
@@ -227,11 +214,12 @@
227
214
  { "Value": null, "InvalidValue": false, "Parameter": "ApplyToAll" },
228
215
  { "Value": null, "InvalidValue": false, "Parameter": "IsImageDataEmbedded" },
229
216
  { "Value": null, "InvalidValue": false, "Parameter": "WithSlides" },
217
+ { "Value": null, "InvalidValue": false, "Parameter": "AlignToSlide" },
230
218
  { "Value": null, "InvalidValue": 593, "Parameter": "JpegQuality" },
231
219
  { "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleX" },
232
220
  { "Value": null, "InvalidValue": 593.5, "Parameter": "ScaleY" },
233
- { "Value": null, "Parameter": "VersionId" },
234
- { "Value": null, "InvalidValue": null, "Parameter": "Files" }
221
+ { "InvalidValue": null, "Parameter": "Files" },
222
+ { "Value": null, "Parameter": "VersionId" }
235
223
  ],
236
224
  "OKToReturnNull": [
237
225
  { "Method": "PostSlidesPipeline" }
@@ -254,6 +242,7 @@
254
242
  { "Parameter": "IsImageDataEmbedded" },
255
243
  { "Parameter": "Stream" },
256
244
  { "Parameter": "Html" },
245
+ { "Parameter": "Pdf" },
257
246
  { "Parameter": "Options" },
258
247
  { "Parameter": "ApplyToAll" },
259
248
  { "Parameter": "SlideToCopy" },
@@ -269,10 +258,19 @@
269
258
  { "Parameter": "IgnoreCase" },
270
259
  { "Parameter": "Document" },
271
260
  { "Parameter": "Color" },
261
+ { "Parameter": "Image" },
262
+ { "Parameter": "PictureFrame" },
263
+ { "Parameter": "Shape" },
264
+ { "Parameter": "FontColor" },
265
+ { "Parameter": "FontHeight" },
266
+ { "Parameter": "FontName" },
267
+ { "Parameter": "Text" },
268
+ { "Parameter": "ShapeName" },
272
269
  { "Parameter": "Format", "Method": "PutSlidesSlide" },
273
270
  { "Parameter": "Format", "Language": "NET" },
274
271
  { "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
275
272
  { "Parameter": "Dto", "Method": "PostAddNotesSlide" },
273
+ { "Parameter": "DataPoint", "Language": "PHP" },
276
274
  { "Parameter": "Dto", "Language": "Swift" },
277
275
  { "Parameter": "SlideDto", "Language": "Swift" },
278
276
  { "Parameter": "Request", "Language": "Swift" },
@@ -288,12 +286,14 @@
288
286
  { "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
289
287
  { "Parameter": "Name", "Method": "PostSlidesDocument" },
290
288
  { "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
289
+ { "Parameter": "Name", "Method": "PostSlidesDocumentFromPdf" },
291
290
  { "Parameter": "Name", "Method": "PostSlidesDocumentFromSource" },
292
291
  { "Parameter": "Name", "Method": "PostSlidesDocumentFromTemplate" },
293
292
  { "Parameter": "Name", "Method": "PutNewPresentation" },
294
293
  { "Parameter": "Name", "Method": "PutSlidesDocumentFromHtml" },
295
294
  { "Parameter": "Folder", "Method": "PostSlidesDocument" },
296
295
  { "Parameter": "Folder", "Method": "PostSlidesDocumentFromHtml" },
296
+ { "Parameter": "Folder", "Method": "PostSlidesDocumentFromPdf" },
297
297
  { "Parameter": "Folder", "Method": "PostSlidesDocumentFromSource" },
298
298
  { "Parameter": "Folder", "Method": "PostSlidesDocumentFromTemplate" },
299
299
  { "Parameter": "Folder", "Method": "PutNewPresentation" },
@@ -305,8 +305,11 @@
305
305
  { "Parameter": "Password", "Method": "PutNewPresentation" },
306
306
  { "Parameter": "Data", "Method": "PostSlidesDocument" },
307
307
  { "Parameter": "Files" },
308
+ { "Parameter": "Request" },
308
309
  { "Parameter": "WithSlides" },
309
310
  { "Parameter": "SectionName" },
311
+ { "Parameter": "AlignmentType" },
312
+ { "Parameter": "AlignToSlide" },
310
313
  { "Method": "GetDiscUsage" },
311
314
  { "Method": "GetFilesList" },
312
315
  { "Method": "GetFileVersions" },
@@ -368,9 +371,9 @@
368
371
  { "Message": "Invalid password.", "Parameter": "SourcePassword" },
369
372
  { "Message": "Invalid password.", "Parameter": "TemplatePassword" },
370
373
  { "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": "Failed to load the presentation", "Parameter": "Password", "Method": "DeleteSlidesCleanSlidesList" },
375
+ { "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "PostSlidesAdd" },
376
+ { "Message": "Failed to load the presentation", "Parameter": "Password", "Method": "PutSlidesSlide" },
374
377
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "SlideIndex" },
375
378
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Slides" },
376
379
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "ShapeIndex" },
@@ -412,36 +415,67 @@
412
415
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "From" },
413
416
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "To" },
414
417
  { "Message": " is not supported", "Parameter": "Format" },
418
+ { "Message": " is not supported", "Parameter": "OutPath" },
415
419
  { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NodeJS" },
416
420
  { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Go" },
417
421
  { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Python" },
418
422
  { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Perl" },
419
423
  { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "Swift" },
420
424
  { "Message": " is not valid", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "CPP" },
425
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "NodeJS" },
426
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Go" },
427
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Python" },
428
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Perl" },
429
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "Swift" },
430
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImageWithFormat", "Language": "CPP" },
431
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "NodeJS" },
432
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Go" },
433
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Python" },
434
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Perl" },
435
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "Swift" },
436
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesFromRequestWithFormat", "Language": "CPP" },
437
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "NodeJS" },
438
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Go" },
439
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Python" },
440
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Perl" },
441
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "Swift" },
442
+ { "Message": " is not valid", "Parameter": "Format", "Method": "PostExportImagesWithFormat", "Language": "CPP" },
421
443
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "NodeJS" },
422
444
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "NodeJS" },
423
445
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "NodeJS" },
424
446
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "NodeJS" },
447
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "NodeJS" },
448
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "NodeJS" },
425
449
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
426
450
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
427
451
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
428
452
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Python" },
453
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Python" },
454
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Python" },
429
455
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Go" },
430
456
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Go" },
431
457
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Go" },
432
458
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Go" },
459
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Go" },
460
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Go" },
433
461
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Perl" },
434
462
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
435
463
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
436
464
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
465
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Perl" },
466
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Perl" },
437
467
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Swift" },
438
468
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Swift" },
439
469
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Swift" },
440
470
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Swift" },
471
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "Swift" },
472
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "Swift" },
441
473
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "CPP" },
442
474
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "CPP" },
443
475
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "CPP" },
444
476
  { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "CPP" },
477
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostExportShape", "Language": "CPP" },
478
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutExportShape", "Language": "CPP" },
445
479
  { "Message": "Color must be in format #FF000000", "Parameter": "Color" },
446
480
  { "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
447
481
  { "Message": "Error parsing XML template data", "Parameter": "Data" },
@@ -464,10 +498,15 @@
464
498
  { "Message": " required parameter", "Parameter": "Sections" },
465
499
  { "Message": " required parameter", "Parameter": "Document" },
466
500
  { "Message": " required parameter", "Parameter": "File" },
501
+ { "Message": "Image data is not found", "Parameter": "Image" },
502
+ { "Message": "Pdf expected", "Parameter": "Pdf" },
467
503
  { "Message": " is out of bounds. Valid index range is between ", "Parameter": "Sections", "Method": "DeleteSections" },
468
504
  { "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
469
505
  { "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
470
506
  { "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
507
+ { "Message": "Sequence contains no elements", "Code": 500, "Parameter": "Files" },
508
+ { "Message": "Sequence contains no elements", "Code": 500, "Parameter": "Image", "Method": "PostImageWatermarkOnline", "Language": "PHP" },
509
+ { "Message": "Sequence contains no elements", "Code": 500, "Parameter": "Image", "Method": "PostImageWatermarkOnline", "Language": "Ruby" },
471
510
  { "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" }
472
511
  ]
473
512
  }