aspose_slides_cloud 19.10.0 → 20.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +51 -2
  4. data/lib/aspose_slides_cloud.rb +7 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +1847 -407
  6. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +742 -152
  7. data/lib/aspose_slides_cloud/api_client.rb +1 -0
  8. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +0 -15
  9. data/lib/aspose_slides_cloud/models/axis.rb +0 -160
  10. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +490 -0
  11. data/lib/aspose_slides_cloud/models/bubble_series.rb +2 -37
  12. data/lib/aspose_slides_cloud/models/chart.rb +3 -3
  13. data/lib/aspose_slides_cloud/models/chart_category.rb +237 -0
  14. data/lib/aspose_slides_cloud/models/chart_wall.rb +0 -10
  15. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +205 -0
  16. data/lib/aspose_slides_cloud/models/document.rb +11 -1
  17. data/lib/aspose_slides_cloud/models/document_replace_result.rb +11 -1
  18. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  19. data/lib/aspose_slides_cloud/models/legend.rb +0 -30
  20. data/lib/aspose_slides_cloud/models/line_format.rb +0 -35
  21. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +205 -0
  22. data/lib/aspose_slides_cloud/models/one_value_series.rb +2 -37
  23. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +33 -6
  24. data/lib/aspose_slides_cloud/models/plot_area.rb +0 -25
  25. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  26. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  27. data/lib/aspose_slides_cloud/models/scatter_series.rb +2 -37
  28. data/lib/aspose_slides_cloud/models/series.rb +2 -37
  29. data/lib/aspose_slides_cloud/models/series_marker.rb +0 -10
  30. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  31. data/lib/aspose_slides_cloud/models/table.rb +0 -40
  32. data/lib/aspose_slides_cloud/models/table_cell.rb +0 -40
  33. data/lib/aspose_slides_cloud/models/view_properties.rb +367 -0
  34. data/lib/aspose_slides_cloud/models/waterfall_series.rb +438 -0
  35. data/lib/aspose_slides_cloud/version.rb +1 -1
  36. data/spec/api/slides_api_spec.rb +16468 -11925
  37. data/spec/extra/extra_spec.rb +5 -5
  38. data/spec/spec_utils.rb +1 -1
  39. data/testRules.json +53 -5
  40. metadata +8 -2
@@ -56,7 +56,7 @@ describe 'SlidesApiExtra' do
56
56
  configuration.app_sid = "invalid"
57
57
  configuration.app_key = "invalid"
58
58
  configuration.debugging = config["Debug"]
59
- api = AsposeSlidesCloud::SlidesApi.new(AsposeSlidesCloud::ApiClient.new(configuration))
59
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
60
60
  begin
61
61
  o, c, _h = api.get_slides_api_info_with_http_info
62
62
  fail "An exception expected"
@@ -75,7 +75,7 @@ describe 'SlidesApiExtra' do
75
75
  configuration.app_key = config["AppKey"]
76
76
  configuration.access_token = "expired.token"
77
77
  configuration.debugging = config["Debug"]
78
- api = AsposeSlidesCloud::SlidesApi.new(AsposeSlidesCloud::ApiClient.new(configuration))
78
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
79
79
  o, c, _h = api.get_slides_api_info_with_http_info
80
80
  expect(c).to eq(200)
81
81
  expect(o).not_to be(nil)
@@ -94,9 +94,9 @@ describe 'SlidesApiExtra' do
94
94
  end
95
95
 
96
96
  it 'chart' do
97
- #chart = Chart.new
98
- #expect(chart.type).to eq("Chart")
99
- #expect(chart.shape_type).to eq("Chart")
97
+ chart = AsposeSlidesCloud::Chart.new
98
+ expect(chart.type).to eq("Chart")
99
+ expect(chart.shape_type).to eq("Chart")
100
100
  end
101
101
  end
102
102
  end
@@ -162,7 +162,7 @@ module AsposeSlidesCloud
162
162
  configuration.app_sid = config["AppSid"]
163
163
  configuration.app_key = config["AppKey"]
164
164
  configuration.debugging = config["Debug"]
165
- @@api = AsposeSlidesCloud::SlidesApi.new(AsposeSlidesCloud::ApiClient.new(configuration))
165
+ @@api = AsposeSlidesCloud::SlidesApi.new(configuration)
166
166
  end
167
167
  @@api
168
168
  end
@@ -63,6 +63,26 @@
63
63
  { "Value": 1, "InvalidValue": 593, "Parameter": "SlideToCopy" },
64
64
  { "Value": null, "InvalidValue": 593, "Parameter": "SlideToClone" },
65
65
  { "Value": 3, "InvalidValue": 593, "Parameter": "ShapeIndex" },
66
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshape" },
67
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSlideSubshapes" },
68
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraph" },
69
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapeParagraphs" },
70
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortion" },
71
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "DeleteSubshapePortions" },
72
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshape" },
73
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapes" },
74
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraph" },
75
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSlideSubshapeParagraphs" },
76
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortion" },
77
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "GetSubshapeParagraphPortions" },
78
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshape" },
79
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapeParagraph" },
80
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostAddNewSubshapePortion" },
81
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PostSubshapeSaveAs" },
82
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphPortionProperties" },
83
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSetSubshapeParagraphProperties" },
84
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSlideSubshapeInfo" },
85
+ { "Value": 1, "Parameter": "ShapeIndex", "Method": "PutSubshapeSaveAs" },
66
86
  { "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
67
87
  { "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
68
88
  { "Value": 1, "InvalidValue": 593, "Parameter": "ParagraphIndex" },
@@ -81,7 +101,7 @@
81
101
  { "Value": 1, "InvalidValue": 593, "Parameter": "CloneFromPosition" },
82
102
  { "Value": null, "InvalidValue": 593, "Parameter": "From" },
83
103
  { "Value": null, "InvalidValue": 593, "Parameter": "To" },
84
- { "Value": "", "Parameter": "Path" },
104
+ { "Value": "4/shapes", "Parameter": "Path" },
85
105
  { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
86
106
  { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
87
107
  { "Value": "TempSlidesSDK/test.ppt", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
@@ -110,9 +130,12 @@
110
130
  "Type": "Shape",
111
131
  "Parameter": "DTO"
112
132
  },
133
+ { "Value": {}, "InvalidValue": null, "Type": "ViewProperties", "Parameter": "DTO", "Method": "PutSlidesViewProperties" },
113
134
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewPortion" },
135
+ { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostAddNewSubshapePortion" },
114
136
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PostNotesSlideAddNewPortion" },
115
137
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutSetParagraphPortionProperties" },
138
+ { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutSetSubshapeParagraphPortionProperties" },
116
139
  { "Value": { "Text": "testPortion" }, "InvalidValue": null, "Type": "Portion", "Parameter": "DTO", "Method": "PutUpdateNotesSlideShapePortion" },
117
140
  { "Value": { "MasterSlide": { "Uri": { "Href": "masterSlides/2" } } }, "InvalidValue": null, "Type": "LayoutSlide", "Parameter": "SlideDTO" },
118
141
  { "Value": { "LayoutSlide": { "Uri": { "Href": "TitleOnly" } } }, "InvalidValue": null, "Type": "Slide", "Parameter": "SlideDTO", "Method": "PutSlidesSlide" },
@@ -126,11 +149,15 @@
126
149
  { "Value": "pdf", "Parameter": "Format" },
127
150
  { "InvalidValue": "svg", "Parameter": "Format", "Language": "NET" },
128
151
  { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetNotesSlideWithFormat", "Language": "NET" },
152
+ { "InvalidValue": "gif", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat", "Language": "NET" },
129
153
  { "InvalidValue": "gif", "Parameter": "Format", "Method": "GetSlidesImageWithFormat", "Language": "NET" },
130
154
  { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideWithFormat" },
155
+ { "Value": "png", "Parameter": "Format", "Method": "PostGetNotesSlideWithFormat" },
131
156
  { "Value": "png", "Parameter": "Format", "Method": "GetShapeWithFormat" },
132
157
  { "Value": "png", "Parameter": "Format", "Method": "PostShapeSaveAs" },
133
158
  { "Value": "png", "Parameter": "Format", "Method": "PutShapeSaveAs" },
159
+ { "Value": "png", "Parameter": "Format", "Method": "PostSubshapeSaveAs" },
160
+ { "Value": "png", "Parameter": "Format", "Method": "PutSubshapeSaveAs" },
134
161
  { "Value": "png", "Parameter": "Format", "Method": "GetNotesSlideShapeWithFormat" },
135
162
  { "Value": "png", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
136
163
  { "Value": "png", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
@@ -194,6 +221,12 @@
194
221
  { "Parameter": "Format", "Language": "NET" },
195
222
  { "Parameter": "Format", "Language": "Java", "Method": "PostSlidesSplit" },
196
223
  { "Parameter": "Dto", "Method": "PostAddNotesSlide" },
224
+ { "Parameter": "Dto", "Language": "Swift" },
225
+ { "Parameter": "Request", "Language": "Swift" },
226
+ { "Parameter": "Effect", "Language": "Swift" },
227
+ { "Parameter": "Sequence", "Language": "Swift" },
228
+ { "Parameter": "Pipeline", "Language": "Swift" },
229
+ { "Parameter": "Properties", "Language": "Swift" },
197
230
  { "Parameter": "Position", "Method": "PostSlidesReorderPosition" },
198
231
  { "Parameter": "Name", "Method": "PostSlidesDocument" },
199
232
  { "Parameter": "Name", "Method": "PostSlidesDocumentFromHtml" },
@@ -244,6 +277,9 @@
244
277
  { "Code": 201, "Method": "PostAddNewParagraph" },
245
278
  { "Code": 201, "Method": "PostAddNewPortion" },
246
279
  { "Code": 201, "Method": "PostAddNewShape" },
280
+ { "Code": 201, "Method": "PostAddNewSubshapeParagraph" },
281
+ { "Code": 201, "Method": "PostAddNewSubshapePortion" },
282
+ { "Code": 201, "Method": "PostAddNewSubshape" },
247
283
  { "Code": 201, "Method": "PostNotesSlideAddNewParagraph" },
248
284
  { "Code": 201, "Method": "PostNotesSlideAddNewPortion" },
249
285
  { "Code": 201, "Method": "PostNotesSlideAddNewShape" },
@@ -305,18 +341,29 @@
305
341
  { "Code": 404, "Message": "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "TemplatePath" },
306
342
  { "Message": "Invalid 'to' parameter", "Parameter": "To" },
307
343
  { "Message": "BadRequest", "Parameter": "Format" },
308
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PostShapeSaveAs" },
309
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PutShapeSaveAs" },
310
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PostNotesSlideShapeSaveAs" },
311
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Format", "Method": "PutNotesSlideShapeSaveAs" },
344
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Python" },
345
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Python" },
346
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Python" },
347
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Python" },
348
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Go" },
349
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Go" },
350
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Go" },
351
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Go" },
352
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostShapeSaveAs", "Language": "Perl" },
353
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PostSubshapeSaveAs", "Language": "Perl" },
354
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutShapeSaveAs", "Language": "Perl" },
355
+ { "Message": "does not support the API version", "Parameter": "Format", "Method": "PutSubshapeSaveAs", "Language": "Perl" },
312
356
  { "Message": "Color must be in format #FF000000", "Parameter": "Color" },
313
357
  { "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
314
358
  { "Message": "Data at the root level is invalid.", "Parameter": "Data" },
315
359
  { "Message": "Can't read MSCDFileSystem.", "Parameter": "Data", "Language": "Python", "Method": "PostSlidesDocument" },
316
360
  { "Message": "Can't read MSCDFileSystem.", "Parameter": "Document" },
317
361
  { "Message": "The stream is empty.", "Parameter": "Document", "Language": "NodeJS" },
362
+ { "Message": "The stream is empty.", "Parameter": "Document", "Language": "PHP" },
318
363
  { "Message": "The stream is empty.", "Parameter": "Document", "Language": "Python" },
364
+ { "Message": "The stream is empty.", "Parameter": "Document", "Language": "Go" },
319
365
  { "Message": "The stream is empty.", "Parameter": "Document", "Language": "Ruby" },
366
+ { "Message": "The stream is empty.", "Parameter": "Document", "Language": "CPP" },
320
367
  { "Message": " DTO expected.", "Parameter": "DTO" },
321
368
  { "Message": " DTO expected.", "Parameter": "SlideDTO" },
322
369
  { "Message": " DTO expected.", "Parameter": "Background" },
@@ -327,6 +374,7 @@
327
374
  { "Message": " DTO expected.", "Parameter": "Sequence" },
328
375
  { "Message": " DTO expected.", "Parameter": "Effect" },
329
376
  { "Message": " DTO expected.", "Parameter": "Request" },
377
+ { "Message": "Layout slide DTO must be not null and contain", "Parameter": "SlideDTO", "Language": "Swift" },
330
378
  { "Message": "Object reference not set to an instance of an object.", "Parameter": "Bounds" },
331
379
  { "Code": 409, "Message": " is not empty.", "Parameter": "Recursive" },
332
380
  { "Message": "An error has occurred.", "Code": 500, "Parameter": "Options" },
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_slides_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.10.0
4
+ version: 20.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Putrov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-04 00:00:00.000000000 Z
11
+ date: 2020-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -225,12 +225,15 @@ files:
225
225
  - lib/aspose_slides_cloud/models/axis.rb
226
226
  - lib/aspose_slides_cloud/models/base64_input_file.rb
227
227
  - lib/aspose_slides_cloud/models/blur_effect.rb
228
+ - lib/aspose_slides_cloud/models/box_and_whisker_series.rb
228
229
  - lib/aspose_slides_cloud/models/bubble_chart_data_point.rb
229
230
  - lib/aspose_slides_cloud/models/bubble_series.rb
230
231
  - lib/aspose_slides_cloud/models/chart.rb
232
+ - lib/aspose_slides_cloud/models/chart_category.rb
231
233
  - lib/aspose_slides_cloud/models/chart_title.rb
232
234
  - lib/aspose_slides_cloud/models/chart_wall.rb
233
235
  - lib/aspose_slides_cloud/models/color_scheme.rb
236
+ - lib/aspose_slides_cloud/models/common_slide_view_properties.rb
234
237
  - lib/aspose_slides_cloud/models/connector.rb
235
238
  - lib/aspose_slides_cloud/models/custom_dash_pattern.rb
236
239
  - lib/aspose_slides_cloud/models/disc_usage.rb
@@ -278,6 +281,7 @@ files:
278
281
  - lib/aspose_slides_cloud/models/merge.rb
279
282
  - lib/aspose_slides_cloud/models/merging_source.rb
280
283
  - lib/aspose_slides_cloud/models/no_fill.rb
284
+ - lib/aspose_slides_cloud/models/normal_view_restored_properties.rb
281
285
  - lib/aspose_slides_cloud/models/notes_slide.rb
282
286
  - lib/aspose_slides_cloud/models/notes_slide_export_format.rb
283
287
  - lib/aspose_slides_cloud/models/object_exist.rb
@@ -361,6 +365,8 @@ files:
361
365
  - lib/aspose_slides_cloud/models/update_background.rb
362
366
  - lib/aspose_slides_cloud/models/update_shape.rb
363
367
  - lib/aspose_slides_cloud/models/video_frame.rb
368
+ - lib/aspose_slides_cloud/models/view_properties.rb
369
+ - lib/aspose_slides_cloud/models/waterfall_series.rb
364
370
  - lib/aspose_slides_cloud/models/xps_export_options.rb
365
371
  - lib/aspose_slides_cloud/version.rb
366
372
  - spec/api/slides_api_spec.rb