asposeslidescloud 25.6.0 → 25.10.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.
package/api.d.ts CHANGED
@@ -221,6 +221,21 @@ export declare class SlidesApi {
221
221
  response: http.ServerResponse;
222
222
  body: model.SlideAnimation;
223
223
  }>;
224
+ /**
225
+ * Create video/audio captions track.
226
+ * @param name Document name.
227
+ * @param slideIndex Slide index.
228
+ * @param shapeIndex Shape index (must refer to a video or audio frame).
229
+ * @param label Caption track label.
230
+ * @param data Caption track data.
231
+ * @param password Document password.
232
+ * @param folder Document folder.
233
+ * @param storage Presentation storage.
234
+ */
235
+ createCaptionTrack(name: string, slideIndex: number, shapeIndex: number, label: string, data?: string, password?: string, folder?: string, storage?: string): Promise<{
236
+ response: http.ServerResponse;
237
+ body: model.CaptionTrack;
238
+ }>;
224
239
  /**
225
240
  * Add a new category to a chart.
226
241
  * @param name Document name.
@@ -623,21 +638,6 @@ export declare class SlidesApi {
623
638
  response: http.ServerResponse;
624
639
  body: model.VbaModule;
625
640
  }>;
626
- /**
627
- * Create video captions track.
628
- * @param name Document name.
629
- * @param slideIndex Slide index.
630
- * @param shapeIndex Shape index (must refer to a picture frame).
631
- * @param label Caption track label.
632
- * @param data Caption track data.
633
- * @param password Document password.
634
- * @param folder Document folder.
635
- * @param storage Presentation storage.
636
- */
637
- createVideoCaptionTrack(name: string, slideIndex: number, shapeIndex: number, label: string, data?: string, password?: string, folder?: string, storage?: string): Promise<{
638
- response: http.ServerResponse;
639
- body: model.CaptionTrack;
640
- }>;
641
641
  /**
642
642
  * Adds a text watermark to each slide of the presentation. Text watermark can be setup via method arguments or withing Shape DTO for detailed customization. Both options are applicable simultaneously.
643
643
  * @param name Document name.
@@ -755,6 +755,31 @@ export declare class SlidesApi {
755
755
  response: http.ServerResponse;
756
756
  body: model.SlideBackground;
757
757
  }>;
758
+ /**
759
+ * Delete video/audio captions track.
760
+ * @param name Document name.
761
+ * @param slideIndex Slide index.
762
+ * @param shapeIndex Shape index (must refer to a video or audio frame).
763
+ * @param captionsIndex Captions track index.
764
+ * @param password Document password.
765
+ * @param folder Document folder.
766
+ * @param storage Presentation storage.
767
+ */
768
+ deleteCaptionTrack(name: string, slideIndex: number, shapeIndex: number, captionsIndex: number, password?: string, folder?: string, storage?: string): Promise<{
769
+ response: http.ServerResponse;
770
+ }>;
771
+ /**
772
+ * Delete all video/audio captions tracks.
773
+ * @param name Document name.
774
+ * @param slideIndex Slide index.
775
+ * @param shapeIndex Shape index (must refer to a video frame).
776
+ * @param password Document password.
777
+ * @param folder Document folder.
778
+ * @param storage Presentation storage.
779
+ */
780
+ deleteCaptionTracks(name: string, slideIndex: number, shapeIndex: number, password?: string, folder?: string, storage?: string): Promise<{
781
+ response: http.ServerResponse;
782
+ }>;
758
783
  /**
759
784
  * Delete a category from a chart.
760
785
  * @param name Document name.
@@ -1373,31 +1398,6 @@ export declare class SlidesApi {
1373
1398
  response: http.ServerResponse;
1374
1399
  body: model.VbaProject;
1375
1400
  }>;
1376
- /**
1377
- * Delete video captions track.
1378
- * @param name Document name.
1379
- * @param slideIndex Slide index.
1380
- * @param shapeIndex Shape index (must refer to a video frame).
1381
- * @param captionsIndex Captions track index.
1382
- * @param password Document password.
1383
- * @param folder Document folder.
1384
- * @param storage Presentation storage.
1385
- */
1386
- deleteVideoCaptionTrack(name: string, slideIndex: number, shapeIndex: number, captionsIndex: number, password?: string, folder?: string, storage?: string): Promise<{
1387
- response: http.ServerResponse;
1388
- }>;
1389
- /**
1390
- * Delete all video captions tracks.
1391
- * @param name Document name.
1392
- * @param slideIndex Slide index.
1393
- * @param shapeIndex Shape index (must refer to a video frame).
1394
- * @param password Document password.
1395
- * @param folder Document folder.
1396
- * @param storage Presentation storage.
1397
- */
1398
- deleteVideoCaptionTracks(name: string, slideIndex: number, shapeIndex: number, password?: string, folder?: string, storage?: string): Promise<{
1399
- response: http.ServerResponse;
1400
- }>;
1401
1401
  /**
1402
1402
  * Removes shapes with name \&quot;watermark\&quot; from the presentation.
1403
1403
  * @param name Document name.
@@ -1725,6 +1725,20 @@ export declare class SlidesApi {
1725
1725
  response: http.ServerResponse;
1726
1726
  body: model.SlideBackground;
1727
1727
  }>;
1728
+ /**
1729
+ * Gets video/audio captions tracks.
1730
+ * @param name Document name.
1731
+ * @param slideIndex Slide index.
1732
+ * @param shapeIndex Shape index (must refer to a video or audio frame).
1733
+ * @param includeData true to include caption data string values in the response.
1734
+ * @param password Document password.
1735
+ * @param folder Document folder.
1736
+ * @param storage Presentation storage.
1737
+ */
1738
+ getCaptionTracks(name: string, slideIndex: number, shapeIndex: number, includeData?: boolean, password?: string, folder?: string, storage?: string): Promise<{
1739
+ response: http.ServerResponse;
1740
+ body: model.CaptionTracks;
1741
+ }>;
1728
1742
  /**
1729
1743
  * Read slide theme color scheme info.
1730
1744
  * @param name Document name.
@@ -2210,11 +2224,13 @@ export declare class SlidesApi {
2210
2224
  * Read slide images info.
2211
2225
  * @param name Document name.
2212
2226
  * @param slideIndex Slide index.
2227
+ * @param shapeIndex Shape index (null to search all shapes).
2228
+ * @param shapeAltText Shape alt name (null to search all shapes).
2213
2229
  * @param password Document password.
2214
2230
  * @param folder Document folder.
2215
2231
  * @param storage Document storage.
2216
2232
  */
2217
- getSlideImages(name: string, slideIndex: number, password?: string, folder?: string, storage?: string): Promise<{
2233
+ getSlideImages(name: string, slideIndex: number, shapeIndex?: number, shapeAltText?: string, password?: string, folder?: string, storage?: string): Promise<{
2218
2234
  response: http.ServerResponse;
2219
2235
  body: model.Images;
2220
2236
  }>;
@@ -2471,20 +2487,6 @@ export declare class SlidesApi {
2471
2487
  response: http.ServerResponse;
2472
2488
  body: model.VbaProject;
2473
2489
  }>;
2474
- /**
2475
- * Gets video captions tracks.
2476
- * @param name Document name.
2477
- * @param slideIndex Slide index.
2478
- * @param shapeIndex Shape index (must refer to a picture frame).
2479
- * @param includeData true to include caption data string values in the response.
2480
- * @param password Document password.
2481
- * @param folder Document folder.
2482
- * @param storage Presentation storage.
2483
- */
2484
- getVideoCaptionTracks(name: string, slideIndex: number, shapeIndex: number, includeData?: boolean, password?: string, folder?: string, storage?: string): Promise<{
2485
- response: http.ServerResponse;
2486
- body: model.CaptionTracks;
2487
- }>;
2488
2490
  /**
2489
2491
  * Read presentation view properties.
2490
2492
  * @param name Document name.
@@ -3185,38 +3187,40 @@ export declare class SlidesApi {
3185
3187
  body: model.FontsData;
3186
3188
  }>;
3187
3189
  /**
3188
- * Embeds font from request and returns presentation fonts info.
3189
- * @param font Font data.
3190
- * @param name Document name.
3190
+ * Embeds specified font and returns presentation.
3191
+ * @param document Document data.
3192
+ * @param fontName Font name.
3191
3193
  * @param onlyUsed Only used characters will be embedded.
3192
3194
  * @param password Document password.
3193
- * @param folder Document folder.
3194
- * @param storage Document storage.
3195
+ * @param fontsFolder Custom fonts folder.
3195
3196
  */
3196
- setEmbeddedFontFromRequest(font: Readable, name: string, onlyUsed?: boolean, password?: string, folder?: string, storage?: string): Promise<{
3197
+ setEmbeddedFontOnline(document: Readable, fontName: string, onlyUsed?: boolean, password?: string, fontsFolder?: string): Promise<{
3197
3198
  response: http.ServerResponse;
3198
- body: model.FontsData;
3199
+ body: Buffer;
3199
3200
  }>;
3200
3201
  /**
3201
- * Embeds font from request and returns presentation.
3202
- * @param document Document data.
3203
- * @param font Font data.
3202
+ * Embeds fonts with specified names and/or fonts from request and returns presentation fonts info.
3203
+ * @param name Document name.
3204
+ * @param fonts Font data.
3205
+ * @param fontNames Font names.
3204
3206
  * @param onlyUsed Only used characters will be embedded.
3205
3207
  * @param password Document password.
3208
+ * @param folder Document folder.
3209
+ * @param storage Document storage.
3206
3210
  */
3207
- setEmbeddedFontFromRequestOnline(document: Readable, font: Readable, onlyUsed?: boolean, password?: string): Promise<{
3211
+ setEmbeddedFonts(name: string, fonts?: Array<Readable>, fontNames?: Array<string>, onlyUsed?: boolean, password?: string, folder?: string, storage?: string): Promise<{
3208
3212
  response: http.ServerResponse;
3209
- body: Buffer;
3213
+ body: model.FontsData;
3210
3214
  }>;
3211
3215
  /**
3212
- * Embeds specified font and returns presentation.
3216
+ * Embeds font from request and returns presentation.
3213
3217
  * @param document Document data.
3214
- * @param fontName Font name.
3218
+ * @param fonts Font data.
3219
+ * @param fontNames Font names.
3215
3220
  * @param onlyUsed Only used characters will be embedded.
3216
3221
  * @param password Document password.
3217
- * @param fontsFolder Custom fonts folder.
3218
3222
  */
3219
- setEmbeddedFontOnline(document: Readable, fontName: string, onlyUsed?: boolean, password?: string, fontsFolder?: string): Promise<{
3223
+ setEmbeddedFontsOnline(document: Readable, fonts?: Array<Readable>, fontNames?: Array<string>, onlyUsed?: boolean, password?: string): Promise<{
3220
3224
  response: http.ServerResponse;
3221
3225
  body: Buffer;
3222
3226
  }>;
package/api.js CHANGED
@@ -725,6 +725,57 @@ class SlidesApi {
725
725
  return Promise.resolve({ body: result, response });
726
726
  });
727
727
  }
728
+ /**
729
+ * Create video/audio captions track.
730
+ * @param name Document name.
731
+ * @param slideIndex Slide index.
732
+ * @param shapeIndex Shape index (must refer to a video or audio frame).
733
+ * @param label Caption track label.
734
+ * @param data Caption track data.
735
+ * @param password Document password.
736
+ * @param folder Document folder.
737
+ * @param storage Presentation storage.
738
+ */
739
+ createCaptionTrack(name, slideIndex, shapeIndex, label, data = null, password = null, folder = null, storage = null) {
740
+ return __awaiter(this, void 0, void 0, function* () {
741
+ // verify required parameter 'name' is not null or undefined
742
+ if (name === null || name === undefined) {
743
+ throw new Error('The required parameter "name" was null or undefined when calling createCaptionTrack.');
744
+ }
745
+ // verify required parameter 'slideIndex' is not null or undefined
746
+ if (slideIndex === null || slideIndex === undefined) {
747
+ throw new Error('The required parameter "slideIndex" was null or undefined when calling createCaptionTrack.');
748
+ }
749
+ // verify required parameter 'shapeIndex' is not null or undefined
750
+ if (shapeIndex === null || shapeIndex === undefined) {
751
+ throw new Error('The required parameter "shapeIndex" was null or undefined when calling createCaptionTrack.');
752
+ }
753
+ // verify required parameter 'label' is not null or undefined
754
+ if (label === null || label === undefined) {
755
+ throw new Error('The required parameter "label" was null or undefined when calling createCaptionTrack.');
756
+ }
757
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
758
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
759
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
760
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
761
+ const queryParameters = {};
762
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "label", label);
763
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
764
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
765
+ const requestOptions = {
766
+ method: "POST",
767
+ headers: {},
768
+ url: localVarPath,
769
+ data: data,
770
+ params: queryParameters
771
+ };
772
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
773
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "Content-type", "text/plain");
774
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
775
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "CaptionTrack");
776
+ return Promise.resolve({ body: result, response });
777
+ });
778
+ }
728
779
  /**
729
780
  * Add a new category to a chart.
730
781
  * @param name Document name.
@@ -2059,57 +2110,6 @@ class SlidesApi {
2059
2110
  return Promise.resolve({ body: result, response });
2060
2111
  });
2061
2112
  }
2062
- /**
2063
- * Create video captions track.
2064
- * @param name Document name.
2065
- * @param slideIndex Slide index.
2066
- * @param shapeIndex Shape index (must refer to a picture frame).
2067
- * @param label Caption track label.
2068
- * @param data Caption track data.
2069
- * @param password Document password.
2070
- * @param folder Document folder.
2071
- * @param storage Presentation storage.
2072
- */
2073
- createVideoCaptionTrack(name, slideIndex, shapeIndex, label, data = null, password = null, folder = null, storage = null) {
2074
- return __awaiter(this, void 0, void 0, function* () {
2075
- // verify required parameter 'name' is not null or undefined
2076
- if (name === null || name === undefined) {
2077
- throw new Error('The required parameter "name" was null or undefined when calling createVideoCaptionTrack.');
2078
- }
2079
- // verify required parameter 'slideIndex' is not null or undefined
2080
- if (slideIndex === null || slideIndex === undefined) {
2081
- throw new Error('The required parameter "slideIndex" was null or undefined when calling createVideoCaptionTrack.');
2082
- }
2083
- // verify required parameter 'shapeIndex' is not null or undefined
2084
- if (shapeIndex === null || shapeIndex === undefined) {
2085
- throw new Error('The required parameter "shapeIndex" was null or undefined when calling createVideoCaptionTrack.');
2086
- }
2087
- // verify required parameter 'label' is not null or undefined
2088
- if (label === null || label === undefined) {
2089
- throw new Error('The required parameter "label" was null or undefined when calling createVideoCaptionTrack.');
2090
- }
2091
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
2092
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
2093
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
2094
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
2095
- const queryParameters = {};
2096
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "label", label);
2097
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
2098
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
2099
- const requestOptions = {
2100
- method: "POST",
2101
- headers: {},
2102
- url: localVarPath,
2103
- data: data,
2104
- params: queryParameters
2105
- };
2106
- (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
2107
- (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "Content-type", "text/plain");
2108
- const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
2109
- const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "CaptionTrack");
2110
- return Promise.resolve({ body: result, response });
2111
- });
2112
- }
2113
2113
  /**
2114
2114
  * Adds a text watermark to each slide of the presentation. Text watermark can be setup via method arguments or withing Shape DTO for detailed customization. Both options are applicable simultaneously.
2115
2115
  * @param name Document name.
@@ -2466,6 +2466,94 @@ class SlidesApi {
2466
2466
  return Promise.resolve({ body: result, response });
2467
2467
  });
2468
2468
  }
2469
+ /**
2470
+ * Delete video/audio captions track.
2471
+ * @param name Document name.
2472
+ * @param slideIndex Slide index.
2473
+ * @param shapeIndex Shape index (must refer to a video or audio frame).
2474
+ * @param captionsIndex Captions track index.
2475
+ * @param password Document password.
2476
+ * @param folder Document folder.
2477
+ * @param storage Presentation storage.
2478
+ */
2479
+ deleteCaptionTrack(name, slideIndex, shapeIndex, captionsIndex, password = null, folder = null, storage = null) {
2480
+ return __awaiter(this, void 0, void 0, function* () {
2481
+ // verify required parameter 'name' is not null or undefined
2482
+ if (name === null || name === undefined) {
2483
+ throw new Error('The required parameter "name" was null or undefined when calling deleteCaptionTrack.');
2484
+ }
2485
+ // verify required parameter 'slideIndex' is not null or undefined
2486
+ if (slideIndex === null || slideIndex === undefined) {
2487
+ throw new Error('The required parameter "slideIndex" was null or undefined when calling deleteCaptionTrack.');
2488
+ }
2489
+ // verify required parameter 'shapeIndex' is not null or undefined
2490
+ if (shapeIndex === null || shapeIndex === undefined) {
2491
+ throw new Error('The required parameter "shapeIndex" was null or undefined when calling deleteCaptionTrack.');
2492
+ }
2493
+ // verify required parameter 'captionsIndex' is not null or undefined
2494
+ if (captionsIndex === null || captionsIndex === undefined) {
2495
+ throw new Error('The required parameter "captionsIndex" was null or undefined when calling deleteCaptionTrack.');
2496
+ }
2497
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks/{captionsIndex}";
2498
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
2499
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
2500
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
2501
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "captionsIndex", objectSerializer_1.ObjectSerializer.toString(captionsIndex));
2502
+ const queryParameters = {};
2503
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
2504
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
2505
+ const requestOptions = {
2506
+ method: "DELETE",
2507
+ headers: {},
2508
+ url: localVarPath,
2509
+ params: queryParameters
2510
+ };
2511
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
2512
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
2513
+ return Promise.resolve({ response });
2514
+ });
2515
+ }
2516
+ /**
2517
+ * Delete all video/audio captions tracks.
2518
+ * @param name Document name.
2519
+ * @param slideIndex Slide index.
2520
+ * @param shapeIndex Shape index (must refer to a video frame).
2521
+ * @param password Document password.
2522
+ * @param folder Document folder.
2523
+ * @param storage Presentation storage.
2524
+ */
2525
+ deleteCaptionTracks(name, slideIndex, shapeIndex, password = null, folder = null, storage = null) {
2526
+ return __awaiter(this, void 0, void 0, function* () {
2527
+ // verify required parameter 'name' is not null or undefined
2528
+ if (name === null || name === undefined) {
2529
+ throw new Error('The required parameter "name" was null or undefined when calling deleteCaptionTracks.');
2530
+ }
2531
+ // verify required parameter 'slideIndex' is not null or undefined
2532
+ if (slideIndex === null || slideIndex === undefined) {
2533
+ throw new Error('The required parameter "slideIndex" was null or undefined when calling deleteCaptionTracks.');
2534
+ }
2535
+ // verify required parameter 'shapeIndex' is not null or undefined
2536
+ if (shapeIndex === null || shapeIndex === undefined) {
2537
+ throw new Error('The required parameter "shapeIndex" was null or undefined when calling deleteCaptionTracks.');
2538
+ }
2539
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
2540
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
2541
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
2542
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
2543
+ const queryParameters = {};
2544
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
2545
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
2546
+ const requestOptions = {
2547
+ method: "DELETE",
2548
+ headers: {},
2549
+ url: localVarPath,
2550
+ params: queryParameters
2551
+ };
2552
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
2553
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
2554
+ return Promise.resolve({ response });
2555
+ });
2556
+ }
2469
2557
  /**
2470
2558
  * Delete a category from a chart.
2471
2559
  * @param name Document name.
@@ -4501,94 +4589,6 @@ class SlidesApi {
4501
4589
  return Promise.resolve({ body: result, response });
4502
4590
  });
4503
4591
  }
4504
- /**
4505
- * Delete video captions track.
4506
- * @param name Document name.
4507
- * @param slideIndex Slide index.
4508
- * @param shapeIndex Shape index (must refer to a video frame).
4509
- * @param captionsIndex Captions track index.
4510
- * @param password Document password.
4511
- * @param folder Document folder.
4512
- * @param storage Presentation storage.
4513
- */
4514
- deleteVideoCaptionTrack(name, slideIndex, shapeIndex, captionsIndex, password = null, folder = null, storage = null) {
4515
- return __awaiter(this, void 0, void 0, function* () {
4516
- // verify required parameter 'name' is not null or undefined
4517
- if (name === null || name === undefined) {
4518
- throw new Error('The required parameter "name" was null or undefined when calling deleteVideoCaptionTrack.');
4519
- }
4520
- // verify required parameter 'slideIndex' is not null or undefined
4521
- if (slideIndex === null || slideIndex === undefined) {
4522
- throw new Error('The required parameter "slideIndex" was null or undefined when calling deleteVideoCaptionTrack.');
4523
- }
4524
- // verify required parameter 'shapeIndex' is not null or undefined
4525
- if (shapeIndex === null || shapeIndex === undefined) {
4526
- throw new Error('The required parameter "shapeIndex" was null or undefined when calling deleteVideoCaptionTrack.');
4527
- }
4528
- // verify required parameter 'captionsIndex' is not null or undefined
4529
- if (captionsIndex === null || captionsIndex === undefined) {
4530
- throw new Error('The required parameter "captionsIndex" was null or undefined when calling deleteVideoCaptionTrack.');
4531
- }
4532
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks/{captionsIndex}";
4533
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
4534
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
4535
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
4536
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "captionsIndex", objectSerializer_1.ObjectSerializer.toString(captionsIndex));
4537
- const queryParameters = {};
4538
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
4539
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
4540
- const requestOptions = {
4541
- method: "DELETE",
4542
- headers: {},
4543
- url: localVarPath,
4544
- params: queryParameters
4545
- };
4546
- (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
4547
- const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
4548
- return Promise.resolve({ response });
4549
- });
4550
- }
4551
- /**
4552
- * Delete all video captions tracks.
4553
- * @param name Document name.
4554
- * @param slideIndex Slide index.
4555
- * @param shapeIndex Shape index (must refer to a video frame).
4556
- * @param password Document password.
4557
- * @param folder Document folder.
4558
- * @param storage Presentation storage.
4559
- */
4560
- deleteVideoCaptionTracks(name, slideIndex, shapeIndex, password = null, folder = null, storage = null) {
4561
- return __awaiter(this, void 0, void 0, function* () {
4562
- // verify required parameter 'name' is not null or undefined
4563
- if (name === null || name === undefined) {
4564
- throw new Error('The required parameter "name" was null or undefined when calling deleteVideoCaptionTracks.');
4565
- }
4566
- // verify required parameter 'slideIndex' is not null or undefined
4567
- if (slideIndex === null || slideIndex === undefined) {
4568
- throw new Error('The required parameter "slideIndex" was null or undefined when calling deleteVideoCaptionTracks.');
4569
- }
4570
- // verify required parameter 'shapeIndex' is not null or undefined
4571
- if (shapeIndex === null || shapeIndex === undefined) {
4572
- throw new Error('The required parameter "shapeIndex" was null or undefined when calling deleteVideoCaptionTracks.');
4573
- }
4574
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
4575
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
4576
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
4577
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
4578
- const queryParameters = {};
4579
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
4580
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
4581
- const requestOptions = {
4582
- method: "DELETE",
4583
- headers: {},
4584
- url: localVarPath,
4585
- params: queryParameters
4586
- };
4587
- (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
4588
- const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
4589
- return Promise.resolve({ response });
4590
- });
4591
- }
4592
4592
  /**
4593
4593
  * Removes shapes with name \&quot;watermark\&quot; from the presentation.
4594
4594
  * @param name Document name.
@@ -5692,6 +5692,50 @@ class SlidesApi {
5692
5692
  return Promise.resolve({ body: result, response });
5693
5693
  });
5694
5694
  }
5695
+ /**
5696
+ * Gets video/audio captions tracks.
5697
+ * @param name Document name.
5698
+ * @param slideIndex Slide index.
5699
+ * @param shapeIndex Shape index (must refer to a video or audio frame).
5700
+ * @param includeData true to include caption data string values in the response.
5701
+ * @param password Document password.
5702
+ * @param folder Document folder.
5703
+ * @param storage Presentation storage.
5704
+ */
5705
+ getCaptionTracks(name, slideIndex, shapeIndex, includeData = null, password = null, folder = null, storage = null) {
5706
+ return __awaiter(this, void 0, void 0, function* () {
5707
+ // verify required parameter 'name' is not null or undefined
5708
+ if (name === null || name === undefined) {
5709
+ throw new Error('The required parameter "name" was null or undefined when calling getCaptionTracks.');
5710
+ }
5711
+ // verify required parameter 'slideIndex' is not null or undefined
5712
+ if (slideIndex === null || slideIndex === undefined) {
5713
+ throw new Error('The required parameter "slideIndex" was null or undefined when calling getCaptionTracks.');
5714
+ }
5715
+ // verify required parameter 'shapeIndex' is not null or undefined
5716
+ if (shapeIndex === null || shapeIndex === undefined) {
5717
+ throw new Error('The required parameter "shapeIndex" was null or undefined when calling getCaptionTracks.');
5718
+ }
5719
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
5720
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
5721
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
5722
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
5723
+ const queryParameters = {};
5724
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "includeData", includeData);
5725
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
5726
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
5727
+ const requestOptions = {
5728
+ method: "GET",
5729
+ headers: {},
5730
+ url: localVarPath,
5731
+ params: queryParameters
5732
+ };
5733
+ (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
5734
+ const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
5735
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "CaptionTracks");
5736
+ return Promise.resolve({ body: result, response });
5737
+ });
5738
+ }
5695
5739
  /**
5696
5740
  * Read slide theme color scheme info.
5697
5741
  * @param name Document name.
@@ -7155,11 +7199,13 @@ class SlidesApi {
7155
7199
  * Read slide images info.
7156
7200
  * @param name Document name.
7157
7201
  * @param slideIndex Slide index.
7202
+ * @param shapeIndex Shape index (null to search all shapes).
7203
+ * @param shapeAltText Shape alt name (null to search all shapes).
7158
7204
  * @param password Document password.
7159
7205
  * @param folder Document folder.
7160
7206
  * @param storage Document storage.
7161
7207
  */
7162
- getSlideImages(name, slideIndex, password = null, folder = null, storage = null) {
7208
+ getSlideImages(name, slideIndex, shapeIndex = null, shapeAltText = null, password = null, folder = null, storage = null) {
7163
7209
  return __awaiter(this, void 0, void 0, function* () {
7164
7210
  // verify required parameter 'name' is not null or undefined
7165
7211
  if (name === null || name === undefined) {
@@ -7173,6 +7219,8 @@ class SlidesApi {
7173
7219
  localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
7174
7220
  localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
7175
7221
  const queryParameters = {};
7222
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "shapeIndex", shapeIndex);
7223
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "shapeAltText", shapeAltText);
7176
7224
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
7177
7225
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
7178
7226
  const requestOptions = {
@@ -8049,50 +8097,6 @@ class SlidesApi {
8049
8097
  return Promise.resolve({ body: result, response });
8050
8098
  });
8051
8099
  }
8052
- /**
8053
- * Gets video captions tracks.
8054
- * @param name Document name.
8055
- * @param slideIndex Slide index.
8056
- * @param shapeIndex Shape index (must refer to a picture frame).
8057
- * @param includeData true to include caption data string values in the response.
8058
- * @param password Document password.
8059
- * @param folder Document folder.
8060
- * @param storage Presentation storage.
8061
- */
8062
- getVideoCaptionTracks(name, slideIndex, shapeIndex, includeData = null, password = null, folder = null, storage = null) {
8063
- return __awaiter(this, void 0, void 0, function* () {
8064
- // verify required parameter 'name' is not null or undefined
8065
- if (name === null || name === undefined) {
8066
- throw new Error('The required parameter "name" was null or undefined when calling getVideoCaptionTracks.');
8067
- }
8068
- // verify required parameter 'slideIndex' is not null or undefined
8069
- if (slideIndex === null || slideIndex === undefined) {
8070
- throw new Error('The required parameter "slideIndex" was null or undefined when calling getVideoCaptionTracks.');
8071
- }
8072
- // verify required parameter 'shapeIndex' is not null or undefined
8073
- if (shapeIndex === null || shapeIndex === undefined) {
8074
- throw new Error('The required parameter "shapeIndex" was null or undefined when calling getVideoCaptionTracks.');
8075
- }
8076
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/captionTracks";
8077
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
8078
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "slideIndex", objectSerializer_1.ObjectSerializer.toString(slideIndex));
8079
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "shapeIndex", objectSerializer_1.ObjectSerializer.toString(shapeIndex));
8080
- const queryParameters = {};
8081
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "includeData", includeData);
8082
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
8083
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
8084
- const requestOptions = {
8085
- method: "GET",
8086
- headers: {},
8087
- url: localVarPath,
8088
- params: queryParameters
8089
- };
8090
- (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
8091
- const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
8092
- const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "CaptionTracks");
8093
- return Promise.resolve({ body: result, response });
8094
- });
8095
- }
8096
8100
  /**
8097
8101
  * Read presentation view properties.
8098
8102
  * @param name Document name.
@@ -10440,111 +10444,104 @@ class SlidesApi {
10440
10444
  });
10441
10445
  }
10442
10446
  /**
10443
- * Embeds font from request and returns presentation fonts info.
10444
- * @param font Font data.
10445
- * @param name Document name.
10447
+ * Embeds specified font and returns presentation.
10448
+ * @param document Document data.
10449
+ * @param fontName Font name.
10446
10450
  * @param onlyUsed Only used characters will be embedded.
10447
10451
  * @param password Document password.
10448
- * @param folder Document folder.
10449
- * @param storage Document storage.
10452
+ * @param fontsFolder Custom fonts folder.
10450
10453
  */
10451
- setEmbeddedFontFromRequest(font, name, onlyUsed = null, password = null, folder = null, storage = null) {
10454
+ setEmbeddedFontOnline(document, fontName, onlyUsed = null, password = null, fontsFolder = null) {
10452
10455
  return __awaiter(this, void 0, void 0, function* () {
10453
- // verify required parameter 'font' is not null or undefined
10454
- if (font === null || font === undefined) {
10455
- throw new Error('The required parameter "font" was null or undefined when calling setEmbeddedFontFromRequest.');
10456
+ // verify required parameter 'document' is not null or undefined
10457
+ if (document === null || document === undefined) {
10458
+ throw new Error('The required parameter "document" was null or undefined when calling setEmbeddedFontOnline.');
10456
10459
  }
10457
- // verify required parameter 'name' is not null or undefined
10458
- if (name === null || name === undefined) {
10459
- throw new Error('The required parameter "name" was null or undefined when calling setEmbeddedFontFromRequest.');
10460
+ // verify required parameter 'fontName' is not null or undefined
10461
+ if (fontName === null || fontName === undefined) {
10462
+ throw new Error('The required parameter "fontName" was null or undefined when calling setEmbeddedFontOnline.');
10460
10463
  }
10461
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/fonts/embedded";
10462
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
10464
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/fonts/embedded/{fontName}";
10465
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "fontName", objectSerializer_1.ObjectSerializer.toString(fontName));
10463
10466
  const queryParameters = {};
10464
10467
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "onlyUsed", onlyUsed);
10465
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
10466
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
10468
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
10467
10469
  const requestOptions = {
10468
10470
  method: "POST",
10469
10471
  headers: {},
10470
10472
  url: localVarPath,
10473
+ responseType: 'arraybuffer',
10471
10474
  params: queryParameters
10472
10475
  };
10473
10476
  (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
10474
10477
  let localVarFiles = [];
10475
- if (font != null) {
10476
- localVarFiles.push(font);
10478
+ if (document != null) {
10479
+ localVarFiles.push(document);
10477
10480
  }
10478
10481
  (0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
10479
10482
  const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
10480
- const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "FontsData");
10483
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
10481
10484
  return Promise.resolve({ body: result, response });
10482
10485
  });
10483
10486
  }
10484
10487
  /**
10485
- * Embeds font from request and returns presentation.
10486
- * @param document Document data.
10487
- * @param font Font data.
10488
+ * Embeds fonts with specified names and/or fonts from request and returns presentation fonts info.
10489
+ * @param name Document name.
10490
+ * @param fonts Font data.
10491
+ * @param fontNames Font names.
10488
10492
  * @param onlyUsed Only used characters will be embedded.
10489
10493
  * @param password Document password.
10494
+ * @param folder Document folder.
10495
+ * @param storage Document storage.
10490
10496
  */
10491
- setEmbeddedFontFromRequestOnline(document, font, onlyUsed = null, password = null) {
10497
+ setEmbeddedFonts(name, fonts = null, fontNames = null, onlyUsed = null, password = null, folder = null, storage = null) {
10492
10498
  return __awaiter(this, void 0, void 0, function* () {
10493
- // verify required parameter 'document' is not null or undefined
10494
- if (document === null || document === undefined) {
10495
- throw new Error('The required parameter "document" was null or undefined when calling setEmbeddedFontFromRequestOnline.');
10496
- }
10497
- // verify required parameter 'font' is not null or undefined
10498
- if (font === null || font === undefined) {
10499
- throw new Error('The required parameter "font" was null or undefined when calling setEmbeddedFontFromRequestOnline.');
10499
+ // verify required parameter 'name' is not null or undefined
10500
+ if (name === null || name === undefined) {
10501
+ throw new Error('The required parameter "name" was null or undefined when calling setEmbeddedFonts.');
10500
10502
  }
10501
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/fonts/embedded";
10503
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/fonts/embedded";
10504
+ localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
10502
10505
  const queryParameters = {};
10506
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontNames", fontNames);
10503
10507
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "onlyUsed", onlyUsed);
10508
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
10509
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
10504
10510
  const requestOptions = {
10505
10511
  method: "POST",
10506
10512
  headers: {},
10507
10513
  url: localVarPath,
10508
- responseType: 'arraybuffer',
10509
10514
  params: queryParameters
10510
10515
  };
10511
10516
  (0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
10512
10517
  let localVarFiles = [];
10513
- if (document != null) {
10514
- localVarFiles.push(document);
10515
- }
10516
- if (font != null) {
10517
- localVarFiles.push(font);
10518
+ if (fonts != null) {
10519
+ localVarFiles = localVarFiles.concat(fonts);
10518
10520
  }
10519
10521
  (0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
10520
10522
  const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
10521
- const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
10523
+ const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "FontsData");
10522
10524
  return Promise.resolve({ body: result, response });
10523
10525
  });
10524
10526
  }
10525
10527
  /**
10526
- * Embeds specified font and returns presentation.
10528
+ * Embeds font from request and returns presentation.
10527
10529
  * @param document Document data.
10528
- * @param fontName Font name.
10530
+ * @param fonts Font data.
10531
+ * @param fontNames Font names.
10529
10532
  * @param onlyUsed Only used characters will be embedded.
10530
10533
  * @param password Document password.
10531
- * @param fontsFolder Custom fonts folder.
10532
10534
  */
10533
- setEmbeddedFontOnline(document, fontName, onlyUsed = null, password = null, fontsFolder = null) {
10535
+ setEmbeddedFontsOnline(document, fonts = null, fontNames = null, onlyUsed = null, password = null) {
10534
10536
  return __awaiter(this, void 0, void 0, function* () {
10535
10537
  // verify required parameter 'document' is not null or undefined
10536
10538
  if (document === null || document === undefined) {
10537
- throw new Error('The required parameter "document" was null or undefined when calling setEmbeddedFontOnline.');
10538
- }
10539
- // verify required parameter 'fontName' is not null or undefined
10540
- if (fontName === null || fontName === undefined) {
10541
- throw new Error('The required parameter "fontName" was null or undefined when calling setEmbeddedFontOnline.');
10539
+ throw new Error('The required parameter "document" was null or undefined when calling setEmbeddedFontsOnline.');
10542
10540
  }
10543
- let localVarPath = this.configuration.getApiBaseUrl() + "/slides/fonts/embedded/{fontName}";
10544
- localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "fontName", objectSerializer_1.ObjectSerializer.toString(fontName));
10541
+ let localVarPath = this.configuration.getApiBaseUrl() + "/slides/fonts/embedded";
10545
10542
  const queryParameters = {};
10543
+ localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontNames", fontNames);
10546
10544
  localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "onlyUsed", onlyUsed);
10547
- localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
10548
10545
  const requestOptions = {
10549
10546
  method: "POST",
10550
10547
  headers: {},
@@ -10557,6 +10554,9 @@ class SlidesApi {
10557
10554
  if (document != null) {
10558
10555
  localVarFiles.push(document);
10559
10556
  }
10557
+ if (fonts != null) {
10558
+ localVarFiles = localVarFiles.concat(fonts);
10559
+ }
10560
10560
  (0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
10561
10561
  const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
10562
10562
  const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
@@ -169,7 +169,7 @@ function invokeApiMethodInternal(requestOptions, configuration, notApplyAuthToRe
169
169
  if (!requestOptions.headers) {
170
170
  requestOptions.headers = {};
171
171
  }
172
- requestOptions.headers["x-aspose-client"] = "nodejs sdk v25.6.0";
172
+ requestOptions.headers["x-aspose-client"] = "nodejs sdk v25.10.0";
173
173
  if (configuration.timeout) {
174
174
  requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
175
175
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asposeslidescloud",
3
- "version": "25.6.0",
3
+ "version": "25.10.0",
4
4
  "description": "Aspose.Slides Cloud SDK for Node.js",
5
5
  "homepage": "https://products.aspose.cloud/slides/cloud",
6
6
  "author": {