aspose_slides_cloud 23.10.0 → 24.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34682ffe3b102493761aff274ea1d1a4fa66dab39a1580ec5c8cdd2ebdd5f960
4
- data.tar.gz: f9e5f28e25486125947e76b25f369b3cf431fec9b56bd47a0b88c1db730add11
3
+ metadata.gz: 40a1105135d6041814dd5fd4f682884ff7d9db51953de7dab2458223275cafdf
4
+ data.tar.gz: e8fc4120b3fd0db9e7ab51464e393b94bd7abc6942d4a4f0572753f75243ac36
5
5
  SHA512:
6
- metadata.gz: 47d210a979348472740898a3eddfffbe932687faefb42e800df63f01e1d39ecbd98386bba50f49843d7d1d40bd7b33d1c0dee1ac37dd1e252149df894b04927c
7
- data.tar.gz: 49d6e58274292a16342479c98750a729ce0d90c10b3a3a03ed73c3eaf739708ad94d77b6065e08775232d177d9c37ed5a0ec5718423dc51d4af2c96c33242a09
6
+ metadata.gz: 282f00a5a458fe4d80f863f29a54ee1ca7dfb2ba23996c3f553b508fb0ab340c0eede4799b2aa6d05a91fe43198024748f9680668cac00a362f726013f2e64f1
7
+ data.tar.gz: 6bce261732ef6d320fb082d3b5a0fe3f6b8776dcb14c2ac8a9fe9941ad73d8d6a54799b86cae85b9672734d8e096546608961a72d6ec537610c590fc9b64ec52
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (23.10.0)
4
+ aspose_slides_cloud (24.1.0)
5
5
  faraday (~> 1.0, >= 1.0.0)
6
6
  faraday-httpclient (~> 1.0, >= 1.0.0)
7
7
  httpclient (~> 2.2, >= 2.2.0)
@@ -11,7 +11,7 @@ GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
13
  ZenTest (4.12.1)
14
- addressable (2.8.5)
14
+ addressable (2.8.6)
15
15
  public_suffix (>= 2.0.2, < 6.0)
16
16
  autotest (4.4.6)
17
17
  ZenTest (>= 4.4.1)
@@ -43,11 +43,11 @@ GEM
43
43
  faraday-patron (1.0.0)
44
44
  faraday-rack (1.0.0)
45
45
  faraday-retry (1.0.3)
46
- hashdiff (1.0.1)
46
+ hashdiff (1.1.0)
47
47
  httpclient (2.8.3)
48
- json (2.6.3)
48
+ json (2.7.1)
49
49
  multipart-post (2.3.0)
50
- public_suffix (5.0.3)
50
+ public_suffix (5.0.4)
51
51
  rake (12.3.3)
52
52
  rexml (3.2.6)
53
53
  rspec (3.12.0)
data/README.md CHANGED
@@ -27,49 +27,9 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
27
27
  **Web:** HTML/HTML5
28
28
  **Other:** MPEG4, SWF (export whole presentations)
29
29
 
30
- ## Enhancements in Version 23.10
30
+ ## Enhancements in Version 24.1
31
31
 
32
- * Added asynchronous API - **SlidesAsyncApi** class with **StartConvert**, **StartDownloadPresentation**, **GetOperationStatus**, **GetOperationResult** methods that allow tracking progress of conversion operations.
33
-
34
- ## Enhancements in Version 23.9
35
-
36
- * Added **ReplaceImage** and **ReplaceImageOnline** methods that enable replacing images in a presentation.
37
-
38
- ## Enhancements in Version 23.7
39
-
40
- * New methods **ReplaceTextFormatting** and **ReplaceTextFormatting** allow to replace text with formatting.
41
- * Added **AfterAnimationType**, **Rewind** and **AfterAnimationColor** methods to **Effect** class.
42
- * Added **TrimFromStart** and **TrimFromEnd** methods to **VideoFrame** class.
43
-
44
- ## Enhancements in Version 23.6
45
-
46
- * Added methods ho handle VBA methods: **GetVbaProject**, **GetVbaModule**, **CreateVbaModule**, **UpdateVbaModule** and **DeleteVbaModule**. Added model classes related to VBA: **VbaProject**, **VbaModule** and **VbaReference**.
47
-
48
- ## Enhancements in Version 23.4
49
-
50
- * Added **CreateTableRow**, **UpdateTableRow** and **DeleteTableRow** methods to add, update and delete table rows.
51
- * Added **UpdateTableCell** method to update table cells.
52
- * Added **MergeTableCells** and **SplitTableCell** methods to merge &amp; split table cells.
53
- * Added methods to get, add, modify and delete paragraphs & portions within table cells: **GetTableCellParagraph**, **GetTableCellParagraphs**, **GetTableCellPortion**, **GetTableCellPortions**, **CreateTableCellParagraph**, **CreateTableCellPortion**, **UpdateTableCellPortion**, **UpdateTableCellParagraph**, **DeleteTableCellParagraph**, **DeleteTableCellPortion**.
54
- * New **TextFrameFormat** property in **TableCell** class allows to specify text format for table cells.
55
-
56
- ## Enhancements in Version 23.3
57
-
58
- * Added **options** parameter to **SplitOnline** and **SplitAndSaveOnline** methods. Those options are the same as for other split & convert methods.
59
- * Added **ShowHiddenSlides** boolean property to **ImageExportOptions** class.
60
-
61
- ## Enhancements in Version 23.2
62
-
63
- * New **DownloadShapeFromDto** method allows to convert charts and other shapes from DTO to SVG and other formats without creating and storing presentation files.
64
- * Added **SoundBase64** property to **Hyperlink** class to support getting and setting hyperlink sounds.
65
- * Added **BulletFillFormat** property to **Paragraph** class.
66
- * Added **StopPreviousSound** property to animation **Effect** class.
67
- * Added a number of properties to **TextFrameFormat** that enable formatting shape text: **MarginLeft**, **MarginRight**, **MarginTop**, **MarginBottom**, **WrapText**, **AnchoringType**, **CenterText**, **TextVerticalType**, **AutofitType**, **ColumnCount**, **ColumnSpacing**, **KeepTextFlat**, **RotationAngle**, **DefaultParagraphFormat**.
68
- * Added **Pdf16**, **Pdf17**, **PdfA2b**, **PdfA2a**, **PdfA2u**, **PdfA3a**, **PdfA3b** to the list of allowed values for **PdfExportOptions.Compliance** property.
69
-
70
- ## Enhancements in Version 23.1
71
-
72
- * New **CompressEmbeddedFonts** and **CompressEmbeddedFontsOnline** methods allow to reduce the size taken by embedded fonts by excluding unused characters.
32
+ * Added **GetAvailableFonts** method to get list of installed system & custom fonts.
73
33
 
74
34
  ## Licensing
75
35
  All Aspose.Slides Cloud SDKs are licensed under MIT License.
@@ -8877,6 +8877,53 @@ module AsposeSlidesCloud
8877
8877
  :return_type => 'ApiInfo')
8878
8878
  return data, status_code, headers
8879
8879
  end
8880
+ # Returns presentation fonts info.
8881
+ # @param fonts_folder Storage folder for custom fonts.
8882
+ # @param storage Storage for custom fonts.
8883
+ def get_available_fonts(fonts_folder = nil, storage = nil)
8884
+ data, _status_code, _headers = get_available_fonts_with_http_info(fonts_folder, storage)
8885
+ data
8886
+ end
8887
+
8888
+ # Returns presentation fonts info.
8889
+ # @param fonts_folder Storage folder for custom fonts.
8890
+ # @param storage Storage for custom fonts.
8891
+ def get_available_fonts_with_http_info(fonts_folder = nil, storage = nil)
8892
+ if @api_client.config.debugging
8893
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_available_fonts ...'
8894
+ end
8895
+
8896
+ # resource path
8897
+ local_var_path = '/slides/fonts/available'
8898
+
8899
+ # query parameters
8900
+ query_params = {}
8901
+ query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
8902
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
8903
+
8904
+ # header parameters
8905
+ header_params = {}
8906
+ # HTTP header 'Accept' (if needed)
8907
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8908
+ # HTTP header 'Content-Type'
8909
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8910
+
8911
+ # http body (model)
8912
+ post_body = nil
8913
+
8914
+ # form parameters
8915
+ post_files = []
8916
+
8917
+ auth_names = ['JWT']
8918
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
8919
+ :header_params => header_params,
8920
+ :query_params => query_params,
8921
+ :body => post_body,
8922
+ :files => post_files,
8923
+ :auth_names => auth_names,
8924
+ :return_type => 'FontsData')
8925
+ return data, status_code, headers
8926
+ end
8880
8927
  # Read slide background info.
8881
8928
  # @param name Document name.
8882
8929
  # @param slide_index Slide index.
@@ -14373,7 +14420,7 @@ module AsposeSlidesCloud
14373
14420
  # @param password Document password.
14374
14421
  # @param folder Document folder.
14375
14422
  # @param storage Document storage.
14376
- def replace_image(name, image_index, image = nil, password = nil, folder = nil, storage = nil)
14423
+ def replace_image(name, image_index, image, password = nil, folder = nil, storage = nil)
14377
14424
  replace_image_with_http_info(name, image_index, image, password, folder, storage)
14378
14425
  nil
14379
14426
  end
@@ -14385,7 +14432,7 @@ module AsposeSlidesCloud
14385
14432
  # @param password Document password.
14386
14433
  # @param folder Document folder.
14387
14434
  # @param storage Document storage.
14388
- def replace_image_with_http_info(name, image_index, image = nil, password = nil, folder = nil, storage = nil)
14435
+ def replace_image_with_http_info(name, image_index, image, password = nil, folder = nil, storage = nil)
14389
14436
  if @api_client.config.debugging
14390
14437
  @api_client.config.logger.debug 'Calling API: SlidesApi.replace_image ...'
14391
14438
  end
@@ -14398,6 +14445,10 @@ module AsposeSlidesCloud
14398
14445
  if @api_client.config.client_side_validation && image_index.nil?
14399
14446
  fail ArgumentError, "Missing the required parameter 'image_index' when calling SlidesApi.replace_image"
14400
14447
  end
14448
+ # verify the required parameter 'image' is set
14449
+ if @api_client.config.client_side_validation && image.nil?
14450
+ fail ArgumentError, "Missing the required parameter 'image' when calling SlidesApi.replace_image"
14451
+ end
14401
14452
  # resource path
14402
14453
  local_var_path = '/slides/{name}/images/{imageIndex}/replace'
14403
14454
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
@@ -14439,7 +14490,7 @@ module AsposeSlidesCloud
14439
14490
  # @param image_index Image index.
14440
14491
  # @param image Image data.
14441
14492
  # @param password Password.
14442
- def replace_image_online(document, image_index, image = nil, password = nil)
14493
+ def replace_image_online(document, image_index, image, password = nil)
14443
14494
  data, _status_code, _headers = replace_image_online_with_http_info(document, image_index, image, password)
14444
14495
  data
14445
14496
  end
@@ -14449,7 +14500,7 @@ module AsposeSlidesCloud
14449
14500
  # @param image_index Image index.
14450
14501
  # @param image Image data.
14451
14502
  # @param password Password.
14452
- def replace_image_online_with_http_info(document, image_index, image = nil, password = nil)
14503
+ def replace_image_online_with_http_info(document, image_index, image, password = nil)
14453
14504
  if @api_client.config.debugging
14454
14505
  @api_client.config.logger.debug 'Calling API: SlidesApi.replace_image_online ...'
14455
14506
  end
@@ -14462,6 +14513,10 @@ module AsposeSlidesCloud
14462
14513
  if @api_client.config.client_side_validation && image_index.nil?
14463
14514
  fail ArgumentError, "Missing the required parameter 'image_index' when calling SlidesApi.replace_image_online"
14464
14515
  end
14516
+ # verify the required parameter 'image' is set
14517
+ if @api_client.config.client_side_validation && image.nil?
14518
+ fail ArgumentError, "Missing the required parameter 'image' when calling SlidesApi.replace_image_online"
14519
+ end
14465
14520
  # resource path
14466
14521
  local_var_path = '/slides/images/{imageIndex}/replace'
14467
14522
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'imageIndex', image_index)
@@ -195,6 +195,86 @@ module AsposeSlidesCloud
195
195
  :return_type => 'String')
196
196
  return data, status_code, headers
197
197
  end
198
+ # @param document Document data.
199
+ # @param format
200
+ # @param out_path
201
+ # @param password
202
+ # @param storage
203
+ # @param fonts_folder
204
+ # @param slides
205
+ # @param options
206
+ def start_convert_and_save(document, format, out_path, password = nil, storage = nil, fonts_folder = nil, slides = nil, options = nil)
207
+ data, _status_code, _headers = start_convert_and_save_with_http_info(document, format, out_path, password, storage, fonts_folder, slides, options)
208
+ data
209
+ end
210
+
211
+ # @param document Document data.
212
+ # @param format
213
+ # @param out_path
214
+ # @param password
215
+ # @param storage
216
+ # @param fonts_folder
217
+ # @param slides
218
+ # @param options
219
+ def start_convert_and_save_with_http_info(document, format, out_path, password = nil, storage = nil, fonts_folder = nil, slides = nil, options = nil)
220
+ if @api_client.config.debugging
221
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_convert_and_save ...'
222
+ end
223
+
224
+ # verify the required parameter 'document' is set
225
+ if @api_client.config.client_side_validation && document.nil?
226
+ fail ArgumentError, "Missing the required parameter 'document' when calling SlidesAsyncApi.start_convert_and_save"
227
+ end
228
+ # verify the required parameter 'format' is set
229
+ if @api_client.config.client_side_validation && format.nil?
230
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert_and_save"
231
+ end
232
+ # verify enum value
233
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
234
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
235
+ end
236
+ # verify the required parameter 'out_path' is set
237
+ if @api_client.config.client_side_validation && out_path.nil?
238
+ fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesAsyncApi.start_convert_and_save"
239
+ end
240
+ # resource path
241
+ local_var_path = '/slides/async/convert/{format}'
242
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
243
+
244
+ # query parameters
245
+ query_params = {}
246
+ query_params[:'outPath'] = @api_client.prepare_for_query(out_path) unless out_path.nil?
247
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
248
+ query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
249
+ query_params[:'slides'] = @api_client.prepare_for_query(slides) unless slides.nil?
250
+
251
+ # header parameters
252
+ header_params = {}
253
+ # HTTP header 'Accept' (if needed)
254
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
255
+ # HTTP header 'Content-Type'
256
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
257
+ header_params[:'password'] = password unless password.nil?
258
+
259
+ # http body (model)
260
+ post_body = @api_client.object_to_http_body(options)
261
+
262
+ # form parameters
263
+ post_files = []
264
+ if document
265
+ post_files = post_files.push(document)
266
+ end
267
+
268
+ auth_names = ['JWT']
269
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
270
+ :header_params => header_params,
271
+ :query_params => query_params,
272
+ :body => post_body,
273
+ :files => post_files,
274
+ :auth_names => auth_names,
275
+ :return_type => 'String')
276
+ return data, status_code, headers
277
+ end
198
278
  # @param name
199
279
  # @param format
200
280
  # @param options
@@ -269,5 +349,191 @@ module AsposeSlidesCloud
269
349
  :return_type => 'String')
270
350
  return data, status_code, headers
271
351
  end
352
+ # @param files Files to merge
353
+ # @param request
354
+ # @param storage
355
+ def start_merge(files = nil, request = nil, storage = nil)
356
+ data, _status_code, _headers = start_merge_with_http_info(files, request, storage)
357
+ data
358
+ end
359
+
360
+ # @param files Files to merge
361
+ # @param request
362
+ # @param storage
363
+ def start_merge_with_http_info(files = nil, request = nil, storage = nil)
364
+ if @api_client.config.debugging
365
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_merge ...'
366
+ end
367
+
368
+ # resource path
369
+ local_var_path = '/slides/async/merge'
370
+
371
+ # query parameters
372
+ query_params = {}
373
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
374
+
375
+ # header parameters
376
+ header_params = {}
377
+ # HTTP header 'Accept' (if needed)
378
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
379
+ # HTTP header 'Content-Type'
380
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
381
+
382
+ # http body (model)
383
+ post_body = @api_client.object_to_http_body(request)
384
+
385
+ # form parameters
386
+ post_files = []
387
+ if files
388
+ post_files = post_files.concat(files)
389
+ end
390
+
391
+ auth_names = ['JWT']
392
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
393
+ :header_params => header_params,
394
+ :query_params => query_params,
395
+ :body => post_body,
396
+ :files => post_files,
397
+ :auth_names => auth_names,
398
+ :return_type => 'String')
399
+ return data, status_code, headers
400
+ end
401
+ # @param out_path
402
+ # @param files Files to merge
403
+ # @param request
404
+ # @param storage
405
+ def start_merge_and_save(out_path, files = nil, request = nil, storage = nil)
406
+ data, _status_code, _headers = start_merge_and_save_with_http_info(out_path, files, request, storage)
407
+ data
408
+ end
409
+
410
+ # @param out_path
411
+ # @param files Files to merge
412
+ # @param request
413
+ # @param storage
414
+ def start_merge_and_save_with_http_info(out_path, files = nil, request = nil, storage = nil)
415
+ if @api_client.config.debugging
416
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_merge_and_save ...'
417
+ end
418
+
419
+ # verify the required parameter 'out_path' is set
420
+ if @api_client.config.client_side_validation && out_path.nil?
421
+ fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesAsyncApi.start_merge_and_save"
422
+ end
423
+ # resource path
424
+ local_var_path = '/slides/async/merge'
425
+
426
+ # query parameters
427
+ query_params = {}
428
+ query_params[:'outPath'] = @api_client.prepare_for_query(out_path) unless out_path.nil?
429
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
430
+
431
+ # header parameters
432
+ header_params = {}
433
+ # HTTP header 'Accept' (if needed)
434
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
435
+ # HTTP header 'Content-Type'
436
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
437
+
438
+ # http body (model)
439
+ post_body = @api_client.object_to_http_body(request)
440
+
441
+ # form parameters
442
+ post_files = []
443
+ if files
444
+ post_files = post_files.concat(files)
445
+ end
446
+
447
+ auth_names = ['JWT']
448
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
449
+ :header_params => header_params,
450
+ :query_params => query_params,
451
+ :body => post_body,
452
+ :files => post_files,
453
+ :auth_names => auth_names,
454
+ :return_type => 'String')
455
+ return data, status_code, headers
456
+ end
457
+ # @param name
458
+ # @param format
459
+ # @param out_path
460
+ # @param options
461
+ # @param password
462
+ # @param folder
463
+ # @param storage
464
+ # @param fonts_folder
465
+ # @param slides
466
+ def start_save_presentation(name, format, out_path, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil, slides = nil)
467
+ data, _status_code, _headers = start_save_presentation_with_http_info(name, format, out_path, options, password, folder, storage, fonts_folder, slides)
468
+ data
469
+ end
470
+
471
+ # @param name
472
+ # @param format
473
+ # @param out_path
474
+ # @param options
475
+ # @param password
476
+ # @param folder
477
+ # @param storage
478
+ # @param fonts_folder
479
+ # @param slides
480
+ def start_save_presentation_with_http_info(name, format, out_path, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil, slides = nil)
481
+ if @api_client.config.debugging
482
+ @api_client.config.logger.debug 'Calling API: SlidesAsyncApi.start_save_presentation ...'
483
+ end
484
+
485
+ # verify the required parameter 'name' is set
486
+ if @api_client.config.client_side_validation && name.nil?
487
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesAsyncApi.start_save_presentation"
488
+ end
489
+ # verify the required parameter 'format' is set
490
+ if @api_client.config.client_side_validation && format.nil?
491
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_save_presentation"
492
+ end
493
+ # verify enum value
494
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
495
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
496
+ end
497
+ # verify the required parameter 'out_path' is set
498
+ if @api_client.config.client_side_validation && out_path.nil?
499
+ fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesAsyncApi.start_save_presentation"
500
+ end
501
+ # resource path
502
+ local_var_path = '/slides/async/{name}/{format}'
503
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
504
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
505
+
506
+ # query parameters
507
+ query_params = {}
508
+ query_params[:'outPath'] = @api_client.prepare_for_query(out_path) unless out_path.nil?
509
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
510
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
511
+ query_params[:'fontsFolder'] = @api_client.prepare_for_query(fonts_folder) unless fonts_folder.nil?
512
+ query_params[:'slides'] = @api_client.prepare_for_query(slides) unless slides.nil?
513
+
514
+ # header parameters
515
+ header_params = {}
516
+ # HTTP header 'Accept' (if needed)
517
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
518
+ # HTTP header 'Content-Type'
519
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
520
+ header_params[:'password'] = password unless password.nil?
521
+
522
+ # http body (model)
523
+ post_body = @api_client.object_to_http_body(options)
524
+
525
+ # form parameters
526
+ post_files = []
527
+
528
+ auth_names = ['JWT']
529
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
530
+ :header_params => header_params,
531
+ :query_params => query_params,
532
+ :body => post_body,
533
+ :files => post_files,
534
+ :auth_names => auth_names,
535
+ :return_type => 'String')
536
+ return data, status_code, headers
537
+ end
272
538
  end
273
539
  end
@@ -31,11 +31,15 @@ module AsposeSlidesCloud
31
31
  # Returns true if font is embedded.
32
32
  attr_accessor :is_embedded
33
33
 
34
+ # Returns true for a custom font (contained in fontsFolder directory).
35
+ attr_accessor :is_custom
36
+
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
36
39
  {
37
40
  :'font_name' => :'FontName',
38
41
  :'is_embedded' => :'IsEmbedded',
42
+ :'is_custom' => :'IsCustom',
39
43
  }
40
44
  end
41
45
 
@@ -44,6 +48,7 @@ module AsposeSlidesCloud
44
48
  {
45
49
  :'font_name' => :'String',
46
50
  :'is_embedded' => :'BOOLEAN',
51
+ :'is_custom' => :'BOOLEAN',
47
52
  }
48
53
  end
49
54
 
@@ -62,6 +67,10 @@ module AsposeSlidesCloud
62
67
  if attributes.has_key?(:'IsEmbedded')
63
68
  self.is_embedded = attributes[:'IsEmbedded']
64
69
  end
70
+
71
+ if attributes.has_key?(:'IsCustom')
72
+ self.is_custom = attributes[:'IsCustom']
73
+ end
65
74
  end
66
75
 
67
76
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -83,7 +92,8 @@ module AsposeSlidesCloud
83
92
  return true if self.equal?(o)
84
93
  self.class == o.class &&
85
94
  font_name == o.font_name &&
86
- is_embedded == o.is_embedded
95
+ is_embedded == o.is_embedded &&
96
+ is_custom == o.is_custom
87
97
  end
88
98
 
89
99
  # @see the `==` method
@@ -95,7 +105,7 @@ module AsposeSlidesCloud
95
105
  # Calculates hash code according to all attributes.
96
106
  # @return [Fixnum] Hash code
97
107
  def hash
98
- [font_name, is_embedded].hash
108
+ [font_name, is_embedded, is_custom].hash
99
109
  end
100
110
  end
101
111
  end
@@ -30,6 +30,8 @@ module AsposeSlidesCloud
30
30
 
31
31
  attr_accessor :status
32
32
 
33
+ attr_accessor :progress
34
+
33
35
  attr_accessor :created
34
36
 
35
37
  attr_accessor :enqueued
@@ -50,6 +52,7 @@ module AsposeSlidesCloud
50
52
  :'id' => :'Id',
51
53
  :'method' => :'Method',
52
54
  :'status' => :'Status',
55
+ :'progress' => :'Progress',
53
56
  :'created' => :'Created',
54
57
  :'enqueued' => :'Enqueued',
55
58
  :'started' => :'Started',
@@ -66,6 +69,7 @@ module AsposeSlidesCloud
66
69
  :'id' => :'String',
67
70
  :'method' => :'String',
68
71
  :'status' => :'String',
72
+ :'progress' => :'OperationProgress',
69
73
  :'created' => :'DateTime',
70
74
  :'enqueued' => :'DateTime',
71
75
  :'started' => :'DateTime',
@@ -96,6 +100,10 @@ module AsposeSlidesCloud
96
100
  self.status = attributes[:'Status']
97
101
  end
98
102
 
103
+ if attributes.has_key?(:'Progress')
104
+ self.progress = attributes[:'Progress']
105
+ end
106
+
99
107
  if attributes.has_key?(:'Created')
100
108
  self.created = attributes[:'Created']
101
109
  end
@@ -149,7 +157,7 @@ module AsposeSlidesCloud
149
157
  def valid?
150
158
  return false if @id.nil?
151
159
  return false if @method.nil?
152
- method_validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation'])
160
+ method_validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave'])
153
161
  return false unless method_validator.valid?(@method)
154
162
  return false if @status.nil?
155
163
  status_validator = EnumAttributeValidator.new('String', ['Created', 'Enqueued', 'Started', 'Failed', 'Canceled', 'Finished'])
@@ -160,7 +168,7 @@ module AsposeSlidesCloud
160
168
  # Custom attribute writer method checking allowed values (enum).
161
169
  # @param [Object] method Object to be assigned
162
170
  def method=(method)
163
- validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation'])
171
+ validator = EnumAttributeValidator.new('String', ['Convert', 'DownloadPresentation', 'ConvertAndSave', 'SavePresentation', 'Merge', 'MergeAndSave'])
164
172
  unless validator.valid?(method)
165
173
  fail ArgumentError, 'invalid value for "method", must be one of #{validator.allowable_values}.'
166
174
  end
@@ -185,6 +193,7 @@ module AsposeSlidesCloud
185
193
  id == o.id &&
186
194
  method == o.method &&
187
195
  status == o.status &&
196
+ progress == o.progress &&
188
197
  created == o.created &&
189
198
  enqueued == o.enqueued &&
190
199
  started == o.started &&
@@ -203,7 +212,7 @@ module AsposeSlidesCloud
203
212
  # Calculates hash code according to all attributes.
204
213
  # @return [Fixnum] Hash code
205
214
  def hash
206
- [id, method, status, created, enqueued, started, failed, canceled, finished, error].hash
215
+ [id, method, status, progress, created, enqueued, started, failed, canceled, finished, error].hash
207
216
  end
208
217
  end
209
218
  end