asposeslidescloud 24.7.0 → 24.9.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/README.md +12 -0
- package/api.d.ts +113 -2
- package/api.js +345 -3
- package/internal/requestHelper.js +1 -1
- package/model.d.ts +16 -8
- package/model.js +8 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,6 +27,18 @@ 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 24.9
|
|
31
|
+
|
|
32
|
+
* Added **Upload** and **Download** methods to async API. They are identical to **UploadFile** and **DownloadFile** methods of the regular API, but file size is not restricted for them.
|
|
33
|
+
|
|
34
|
+
## Enhancements in Version 24.8
|
|
35
|
+
|
|
36
|
+
* Added **StartSplit** and **StartUploadAndSplit** methods to async API.
|
|
37
|
+
* Added **ReplacePresentationRegex** and **ReplacePresentationRegexOnline** methods.
|
|
38
|
+
* Added **HighlightPresentationText** and **HighlightPresentationRegex** methods.
|
|
39
|
+
* Added **OperationError** class; changed **Operation**.**Error** property type from string to **OperationError**.
|
|
40
|
+
* Removed **wholeWordsOnly** parameter from **ReplaceShapeRegex** method.
|
|
41
|
+
|
|
30
42
|
## Enhancements in Version 24.7
|
|
31
43
|
|
|
32
44
|
* Added **TemplatesPath** property to **Html5ExportOptions** class. It enables using custom templates in conversion to Html5 format.
|
package/api.d.ts
CHANGED
|
@@ -2435,6 +2435,35 @@ export declare class SlidesApi {
|
|
|
2435
2435
|
response: http.ServerResponse;
|
|
2436
2436
|
body: model.ViewProperties;
|
|
2437
2437
|
}>;
|
|
2438
|
+
/**
|
|
2439
|
+
* Highlight all matches of sample in text frame text using specified color.
|
|
2440
|
+
* @param name Document name.
|
|
2441
|
+
* @param regex Regular expression.
|
|
2442
|
+
* @param color Highlighting color.
|
|
2443
|
+
* @param ignoreCase True to search ignoring char case.
|
|
2444
|
+
* @param password Document password.
|
|
2445
|
+
* @param folder Document folder.
|
|
2446
|
+
* @param storage Document storage.
|
|
2447
|
+
*/
|
|
2448
|
+
highlightPresentationRegex(name: string, regex: string, color: string, ignoreCase?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
2449
|
+
response: http.ServerResponse;
|
|
2450
|
+
body: model.DocumentReplaceResult;
|
|
2451
|
+
}>;
|
|
2452
|
+
/**
|
|
2453
|
+
* Highlight all matches of sample using specified color.
|
|
2454
|
+
* @param name Document name.
|
|
2455
|
+
* @param text Text sample to highlight.
|
|
2456
|
+
* @param color Highlighting color.
|
|
2457
|
+
* @param wholeWordsOnly Match only whole words.
|
|
2458
|
+
* @param ignoreCase True to search ignoring char case.
|
|
2459
|
+
* @param password Document password.
|
|
2460
|
+
* @param folder Document folder.
|
|
2461
|
+
* @param storage Document storage.
|
|
2462
|
+
*/
|
|
2463
|
+
highlightPresentationText(name: string, text: string, color: string, wholeWordsOnly?: boolean, ignoreCase?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
2464
|
+
response: http.ServerResponse;
|
|
2465
|
+
body: model.DocumentReplaceResult;
|
|
2466
|
+
}>;
|
|
2438
2467
|
/**
|
|
2439
2468
|
* Highlight all matches of sample in text frame text using specified color.
|
|
2440
2469
|
* @param name Document name.
|
|
@@ -2442,13 +2471,12 @@ export declare class SlidesApi {
|
|
|
2442
2471
|
* @param shapeIndex Shape index.
|
|
2443
2472
|
* @param regex Regular expression.
|
|
2444
2473
|
* @param color Highlighting color.
|
|
2445
|
-
* @param wholeWordsOnly Match only whole words.
|
|
2446
2474
|
* @param ignoreCase True to search ignoring char case.
|
|
2447
2475
|
* @param password Document password.
|
|
2448
2476
|
* @param folder Document folder.
|
|
2449
2477
|
* @param storage Document storage.
|
|
2450
2478
|
*/
|
|
2451
|
-
highlightShapeRegex(name: string, slideIndex: number, shapeIndex: number, regex: string, color: string,
|
|
2479
|
+
highlightShapeRegex(name: string, slideIndex: number, shapeIndex: number, regex: string, color: string, ignoreCase?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
2452
2480
|
response: http.ServerResponse;
|
|
2453
2481
|
body: model.Shape;
|
|
2454
2482
|
}>;
|
|
@@ -2723,6 +2751,32 @@ export declare class SlidesApi {
|
|
|
2723
2751
|
response: http.ServerResponse;
|
|
2724
2752
|
body: Buffer;
|
|
2725
2753
|
}>;
|
|
2754
|
+
/**
|
|
2755
|
+
* Replace text with a new value using a regex.
|
|
2756
|
+
* @param name Document name.
|
|
2757
|
+
* @param pattern Text value pattern to be replaced.
|
|
2758
|
+
* @param newValue Text value to replace with.
|
|
2759
|
+
* @param ignoreCase True if character case must be ignored.
|
|
2760
|
+
* @param password Document password.
|
|
2761
|
+
* @param folder Document folder.
|
|
2762
|
+
* @param storage Document storage.
|
|
2763
|
+
*/
|
|
2764
|
+
replacePresentationRegex(name: string, pattern: string, newValue: string, ignoreCase?: boolean, password?: string, folder?: string, storage?: string): Promise<{
|
|
2765
|
+
response: http.ServerResponse;
|
|
2766
|
+
body: model.DocumentReplaceResult;
|
|
2767
|
+
}>;
|
|
2768
|
+
/**
|
|
2769
|
+
* Replace text with a new value using a regex.
|
|
2770
|
+
* @param document Document data.
|
|
2771
|
+
* @param pattern Text regex pattern to be replaced.
|
|
2772
|
+
* @param newValue Text value to replace with.
|
|
2773
|
+
* @param ignoreCase True if character case must be ignored.
|
|
2774
|
+
* @param password Document password.
|
|
2775
|
+
*/
|
|
2776
|
+
replacePresentationRegexOnline(document: Readable, pattern: string, newValue: string, ignoreCase?: boolean, password?: string): Promise<{
|
|
2777
|
+
response: http.ServerResponse;
|
|
2778
|
+
body: Buffer;
|
|
2779
|
+
}>;
|
|
2726
2780
|
/**
|
|
2727
2781
|
* Replace text with a new value.
|
|
2728
2782
|
* @param name Document name.
|
|
@@ -3677,6 +3731,16 @@ export declare class SlidesAsyncApi {
|
|
|
3677
3731
|
* @param timeout Timeout (in seconds) for an operation. Applies to the Slides operation, not to the HTTP request.
|
|
3678
3732
|
*/
|
|
3679
3733
|
constructor(appSid: string, appKey: string, baseUrl?: string, authBaseUrl?: string, debugMode?: boolean, timeout?: number);
|
|
3734
|
+
/**
|
|
3735
|
+
*
|
|
3736
|
+
* @param path
|
|
3737
|
+
* @param storageName
|
|
3738
|
+
* @param versionId
|
|
3739
|
+
*/
|
|
3740
|
+
download(path?: string, storageName?: string, versionId?: string): Promise<{
|
|
3741
|
+
response: http.ServerResponse;
|
|
3742
|
+
body: Buffer;
|
|
3743
|
+
}>;
|
|
3680
3744
|
/**
|
|
3681
3745
|
*
|
|
3682
3746
|
* @param id
|
|
@@ -3774,4 +3838,51 @@ export declare class SlidesAsyncApi {
|
|
|
3774
3838
|
response: http.ServerResponse;
|
|
3775
3839
|
body: string;
|
|
3776
3840
|
}>;
|
|
3841
|
+
/**
|
|
3842
|
+
*
|
|
3843
|
+
* @param name
|
|
3844
|
+
* @param format
|
|
3845
|
+
* @param options
|
|
3846
|
+
* @param width
|
|
3847
|
+
* @param height
|
|
3848
|
+
* @param from
|
|
3849
|
+
* @param to
|
|
3850
|
+
* @param destFolder
|
|
3851
|
+
* @param password
|
|
3852
|
+
* @param folder
|
|
3853
|
+
* @param storage
|
|
3854
|
+
* @param fontsFolder
|
|
3855
|
+
*/
|
|
3856
|
+
startSplit(name: string, format: model.SlideExportFormat, options?: model.ExportOptions, width?: number, height?: number, from?: number, to?: number, destFolder?: string, password?: string, folder?: string, storage?: string, fontsFolder?: string): Promise<{
|
|
3857
|
+
response: http.ServerResponse;
|
|
3858
|
+
body: string;
|
|
3859
|
+
}>;
|
|
3860
|
+
/**
|
|
3861
|
+
*
|
|
3862
|
+
* @param document Document data.
|
|
3863
|
+
* @param format
|
|
3864
|
+
* @param destFolder
|
|
3865
|
+
* @param width
|
|
3866
|
+
* @param height
|
|
3867
|
+
* @param from
|
|
3868
|
+
* @param to
|
|
3869
|
+
* @param password
|
|
3870
|
+
* @param storage
|
|
3871
|
+
* @param fontsFolder
|
|
3872
|
+
* @param options
|
|
3873
|
+
*/
|
|
3874
|
+
startUploadAndSplit(document: Readable, format: model.SlideExportFormat, destFolder?: string, width?: number, height?: number, from?: number, to?: number, password?: string, storage?: string, fontsFolder?: string, options?: model.ExportOptions): Promise<{
|
|
3875
|
+
response: http.ServerResponse;
|
|
3876
|
+
body: string;
|
|
3877
|
+
}>;
|
|
3878
|
+
/**
|
|
3879
|
+
*
|
|
3880
|
+
* @param path
|
|
3881
|
+
* @param file File to upload
|
|
3882
|
+
* @param storageName
|
|
3883
|
+
*/
|
|
3884
|
+
upload(path: string, file: Readable, storageName?: string): Promise<{
|
|
3885
|
+
response: http.ServerResponse;
|
|
3886
|
+
body: model.FilesUploadResult;
|
|
3887
|
+
}>;
|
|
3777
3888
|
}
|
package/api.js
CHANGED
|
@@ -7927,6 +7927,96 @@ class SlidesApi {
|
|
|
7927
7927
|
return Promise.resolve({ body: result, response });
|
|
7928
7928
|
});
|
|
7929
7929
|
}
|
|
7930
|
+
/**
|
|
7931
|
+
* Highlight all matches of sample in text frame text using specified color.
|
|
7932
|
+
* @param name Document name.
|
|
7933
|
+
* @param regex Regular expression.
|
|
7934
|
+
* @param color Highlighting color.
|
|
7935
|
+
* @param ignoreCase True to search ignoring char case.
|
|
7936
|
+
* @param password Document password.
|
|
7937
|
+
* @param folder Document folder.
|
|
7938
|
+
* @param storage Document storage.
|
|
7939
|
+
*/
|
|
7940
|
+
highlightPresentationRegex(name, regex, color, ignoreCase = null, password = null, folder = null, storage = null) {
|
|
7941
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7942
|
+
// verify required parameter 'name' is not null or undefined
|
|
7943
|
+
if (name === null || name === undefined) {
|
|
7944
|
+
throw new Error('The required parameter "name" was null or undefined when calling highlightPresentationRegex.');
|
|
7945
|
+
}
|
|
7946
|
+
// verify required parameter 'regex' is not null or undefined
|
|
7947
|
+
if (regex === null || regex === undefined) {
|
|
7948
|
+
throw new Error('The required parameter "regex" was null or undefined when calling highlightPresentationRegex.');
|
|
7949
|
+
}
|
|
7950
|
+
// verify required parameter 'color' is not null or undefined
|
|
7951
|
+
if (color === null || color === undefined) {
|
|
7952
|
+
throw new Error('The required parameter "color" was null or undefined when calling highlightPresentationRegex.');
|
|
7953
|
+
}
|
|
7954
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/highlightRegex";
|
|
7955
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
7956
|
+
const queryParameters = {};
|
|
7957
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "regex", regex);
|
|
7958
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "color", color);
|
|
7959
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "ignoreCase", ignoreCase);
|
|
7960
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
7961
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
7962
|
+
const requestOptions = {
|
|
7963
|
+
method: "POST",
|
|
7964
|
+
headers: {},
|
|
7965
|
+
url: localVarPath,
|
|
7966
|
+
params: queryParameters
|
|
7967
|
+
};
|
|
7968
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
7969
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
7970
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "DocumentReplaceResult");
|
|
7971
|
+
return Promise.resolve({ body: result, response });
|
|
7972
|
+
});
|
|
7973
|
+
}
|
|
7974
|
+
/**
|
|
7975
|
+
* Highlight all matches of sample using specified color.
|
|
7976
|
+
* @param name Document name.
|
|
7977
|
+
* @param text Text sample to highlight.
|
|
7978
|
+
* @param color Highlighting color.
|
|
7979
|
+
* @param wholeWordsOnly Match only whole words.
|
|
7980
|
+
* @param ignoreCase True to search ignoring char case.
|
|
7981
|
+
* @param password Document password.
|
|
7982
|
+
* @param folder Document folder.
|
|
7983
|
+
* @param storage Document storage.
|
|
7984
|
+
*/
|
|
7985
|
+
highlightPresentationText(name, text, color, wholeWordsOnly = null, ignoreCase = null, password = null, folder = null, storage = null) {
|
|
7986
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7987
|
+
// verify required parameter 'name' is not null or undefined
|
|
7988
|
+
if (name === null || name === undefined) {
|
|
7989
|
+
throw new Error('The required parameter "name" was null or undefined when calling highlightPresentationText.');
|
|
7990
|
+
}
|
|
7991
|
+
// verify required parameter 'text' is not null or undefined
|
|
7992
|
+
if (text === null || text === undefined) {
|
|
7993
|
+
throw new Error('The required parameter "text" was null or undefined when calling highlightPresentationText.');
|
|
7994
|
+
}
|
|
7995
|
+
// verify required parameter 'color' is not null or undefined
|
|
7996
|
+
if (color === null || color === undefined) {
|
|
7997
|
+
throw new Error('The required parameter "color" was null or undefined when calling highlightPresentationText.');
|
|
7998
|
+
}
|
|
7999
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/highlightText";
|
|
8000
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
8001
|
+
const queryParameters = {};
|
|
8002
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "text", text);
|
|
8003
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "color", color);
|
|
8004
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "wholeWordsOnly", wholeWordsOnly);
|
|
8005
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "ignoreCase", ignoreCase);
|
|
8006
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
8007
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
8008
|
+
const requestOptions = {
|
|
8009
|
+
method: "POST",
|
|
8010
|
+
headers: {},
|
|
8011
|
+
url: localVarPath,
|
|
8012
|
+
params: queryParameters
|
|
8013
|
+
};
|
|
8014
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
8015
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
8016
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "DocumentReplaceResult");
|
|
8017
|
+
return Promise.resolve({ body: result, response });
|
|
8018
|
+
});
|
|
8019
|
+
}
|
|
7930
8020
|
/**
|
|
7931
8021
|
* Highlight all matches of sample in text frame text using specified color.
|
|
7932
8022
|
* @param name Document name.
|
|
@@ -7934,13 +8024,12 @@ class SlidesApi {
|
|
|
7934
8024
|
* @param shapeIndex Shape index.
|
|
7935
8025
|
* @param regex Regular expression.
|
|
7936
8026
|
* @param color Highlighting color.
|
|
7937
|
-
* @param wholeWordsOnly Match only whole words.
|
|
7938
8027
|
* @param ignoreCase True to search ignoring char case.
|
|
7939
8028
|
* @param password Document password.
|
|
7940
8029
|
* @param folder Document folder.
|
|
7941
8030
|
* @param storage Document storage.
|
|
7942
8031
|
*/
|
|
7943
|
-
highlightShapeRegex(name, slideIndex, shapeIndex, regex, color,
|
|
8032
|
+
highlightShapeRegex(name, slideIndex, shapeIndex, regex, color, ignoreCase = null, password = null, folder = null, storage = null) {
|
|
7944
8033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7945
8034
|
// verify required parameter 'name' is not null or undefined
|
|
7946
8035
|
if (name === null || name === undefined) {
|
|
@@ -7969,7 +8058,6 @@ class SlidesApi {
|
|
|
7969
8058
|
const queryParameters = {};
|
|
7970
8059
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "regex", regex);
|
|
7971
8060
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "color", color);
|
|
7972
|
-
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "wholeWordsOnly", wholeWordsOnly);
|
|
7973
8061
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "ignoreCase", ignoreCase);
|
|
7974
8062
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
7975
8063
|
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
@@ -8844,6 +8932,95 @@ class SlidesApi {
|
|
|
8844
8932
|
return Promise.resolve({ body: result, response });
|
|
8845
8933
|
});
|
|
8846
8934
|
}
|
|
8935
|
+
/**
|
|
8936
|
+
* Replace text with a new value using a regex.
|
|
8937
|
+
* @param name Document name.
|
|
8938
|
+
* @param pattern Text value pattern to be replaced.
|
|
8939
|
+
* @param newValue Text value to replace with.
|
|
8940
|
+
* @param ignoreCase True if character case must be ignored.
|
|
8941
|
+
* @param password Document password.
|
|
8942
|
+
* @param folder Document folder.
|
|
8943
|
+
* @param storage Document storage.
|
|
8944
|
+
*/
|
|
8945
|
+
replacePresentationRegex(name, pattern, newValue, ignoreCase = null, password = null, folder = null, storage = null) {
|
|
8946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8947
|
+
// verify required parameter 'name' is not null or undefined
|
|
8948
|
+
if (name === null || name === undefined) {
|
|
8949
|
+
throw new Error('The required parameter "name" was null or undefined when calling replacePresentationRegex.');
|
|
8950
|
+
}
|
|
8951
|
+
// verify required parameter 'pattern' is not null or undefined
|
|
8952
|
+
if (pattern === null || pattern === undefined) {
|
|
8953
|
+
throw new Error('The required parameter "pattern" was null or undefined when calling replacePresentationRegex.');
|
|
8954
|
+
}
|
|
8955
|
+
// verify required parameter 'newValue' is not null or undefined
|
|
8956
|
+
if (newValue === null || newValue === undefined) {
|
|
8957
|
+
throw new Error('The required parameter "newValue" was null or undefined when calling replacePresentationRegex.');
|
|
8958
|
+
}
|
|
8959
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/{name}/replaceRegex";
|
|
8960
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
8961
|
+
const queryParameters = {};
|
|
8962
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "pattern", pattern);
|
|
8963
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "newValue", newValue);
|
|
8964
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "ignoreCase", ignoreCase);
|
|
8965
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
8966
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
8967
|
+
const requestOptions = {
|
|
8968
|
+
method: "POST",
|
|
8969
|
+
headers: {},
|
|
8970
|
+
url: localVarPath,
|
|
8971
|
+
params: queryParameters
|
|
8972
|
+
};
|
|
8973
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
8974
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
8975
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "DocumentReplaceResult");
|
|
8976
|
+
return Promise.resolve({ body: result, response });
|
|
8977
|
+
});
|
|
8978
|
+
}
|
|
8979
|
+
/**
|
|
8980
|
+
* Replace text with a new value using a regex.
|
|
8981
|
+
* @param document Document data.
|
|
8982
|
+
* @param pattern Text regex pattern to be replaced.
|
|
8983
|
+
* @param newValue Text value to replace with.
|
|
8984
|
+
* @param ignoreCase True if character case must be ignored.
|
|
8985
|
+
* @param password Document password.
|
|
8986
|
+
*/
|
|
8987
|
+
replacePresentationRegexOnline(document, pattern, newValue, ignoreCase = null, password = null) {
|
|
8988
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8989
|
+
// verify required parameter 'document' is not null or undefined
|
|
8990
|
+
if (document === null || document === undefined) {
|
|
8991
|
+
throw new Error('The required parameter "document" was null or undefined when calling replacePresentationRegexOnline.');
|
|
8992
|
+
}
|
|
8993
|
+
// verify required parameter 'pattern' is not null or undefined
|
|
8994
|
+
if (pattern === null || pattern === undefined) {
|
|
8995
|
+
throw new Error('The required parameter "pattern" was null or undefined when calling replacePresentationRegexOnline.');
|
|
8996
|
+
}
|
|
8997
|
+
// verify required parameter 'newValue' is not null or undefined
|
|
8998
|
+
if (newValue === null || newValue === undefined) {
|
|
8999
|
+
throw new Error('The required parameter "newValue" was null or undefined when calling replacePresentationRegexOnline.');
|
|
9000
|
+
}
|
|
9001
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/replaceRegex";
|
|
9002
|
+
const queryParameters = {};
|
|
9003
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "pattern", pattern);
|
|
9004
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "newValue", newValue);
|
|
9005
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "ignoreCase", ignoreCase);
|
|
9006
|
+
const requestOptions = {
|
|
9007
|
+
method: "POST",
|
|
9008
|
+
headers: {},
|
|
9009
|
+
url: localVarPath,
|
|
9010
|
+
responseType: 'arraybuffer',
|
|
9011
|
+
params: queryParameters
|
|
9012
|
+
};
|
|
9013
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
9014
|
+
let localVarFiles = [];
|
|
9015
|
+
if (document != null) {
|
|
9016
|
+
localVarFiles.push(document);
|
|
9017
|
+
}
|
|
9018
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
9019
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
9020
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
|
|
9021
|
+
return Promise.resolve({ body: result, response });
|
|
9022
|
+
});
|
|
9023
|
+
}
|
|
8847
9024
|
/**
|
|
8848
9025
|
* Replace text with a new value.
|
|
8849
9026
|
* @param name Document name.
|
|
@@ -12145,6 +12322,30 @@ class SlidesAsyncApi {
|
|
|
12145
12322
|
constructor(appSid, appKey, baseUrl, authBaseUrl, debugMode, timeout) {
|
|
12146
12323
|
this._configuration = new configuration_1.Configuration(appSid, appKey, baseUrl, authBaseUrl, debugMode, timeout);
|
|
12147
12324
|
}
|
|
12325
|
+
/**
|
|
12326
|
+
*
|
|
12327
|
+
* @param path
|
|
12328
|
+
* @param storageName
|
|
12329
|
+
* @param versionId
|
|
12330
|
+
*/
|
|
12331
|
+
download(path = null, storageName = null, versionId = null) {
|
|
12332
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12333
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/async/storage/file/{path}";
|
|
12334
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "path", objectSerializer_1.ObjectSerializer.toString(path));
|
|
12335
|
+
const queryParameters = {};
|
|
12336
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storageName", storageName);
|
|
12337
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "versionId", versionId);
|
|
12338
|
+
const requestOptions = {
|
|
12339
|
+
method: "GET",
|
|
12340
|
+
url: localVarPath,
|
|
12341
|
+
responseType: 'arraybuffer',
|
|
12342
|
+
params: queryParameters
|
|
12343
|
+
};
|
|
12344
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
12345
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "Buffer");
|
|
12346
|
+
return Promise.resolve({ body: result, response });
|
|
12347
|
+
});
|
|
12348
|
+
}
|
|
12148
12349
|
/**
|
|
12149
12350
|
*
|
|
12150
12351
|
* @param id
|
|
@@ -12452,5 +12653,146 @@ class SlidesAsyncApi {
|
|
|
12452
12653
|
return Promise.resolve({ body: result, response });
|
|
12453
12654
|
});
|
|
12454
12655
|
}
|
|
12656
|
+
/**
|
|
12657
|
+
*
|
|
12658
|
+
* @param name
|
|
12659
|
+
* @param format
|
|
12660
|
+
* @param options
|
|
12661
|
+
* @param width
|
|
12662
|
+
* @param height
|
|
12663
|
+
* @param from
|
|
12664
|
+
* @param to
|
|
12665
|
+
* @param destFolder
|
|
12666
|
+
* @param password
|
|
12667
|
+
* @param folder
|
|
12668
|
+
* @param storage
|
|
12669
|
+
* @param fontsFolder
|
|
12670
|
+
*/
|
|
12671
|
+
startSplit(name, format, options = null, width = null, height = null, from = null, to = null, destFolder = null, password = null, folder = null, storage = null, fontsFolder = null) {
|
|
12672
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12673
|
+
// verify required parameter 'name' is not null or undefined
|
|
12674
|
+
if (name === null || name === undefined) {
|
|
12675
|
+
throw new Error('The required parameter "name" was null or undefined when calling startSplit.');
|
|
12676
|
+
}
|
|
12677
|
+
// verify required parameter 'format' is not null or undefined
|
|
12678
|
+
if (format === null || format === undefined) {
|
|
12679
|
+
throw new Error('The required parameter "format" was null or undefined when calling startSplit.');
|
|
12680
|
+
}
|
|
12681
|
+
// verify value of enum parameter 'format' is valid
|
|
12682
|
+
if (!Object.keys(model.SlideExportFormat).filter(i => model.SlideExportFormat[i].toLowerCase() == format.toString().toLowerCase()).length) {
|
|
12683
|
+
throw new Error('Invalid value for format: ' + format + '. Must be one of the following: ' + Object.keys(model.SlideExportFormat).map(key => model.SlideExportFormat[key]).join());
|
|
12684
|
+
}
|
|
12685
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/async/{name}/split/{format}";
|
|
12686
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "name", objectSerializer_1.ObjectSerializer.toString(name));
|
|
12687
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
|
|
12688
|
+
const queryParameters = {};
|
|
12689
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "width", width);
|
|
12690
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "height", height);
|
|
12691
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "from", from);
|
|
12692
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "to", to);
|
|
12693
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "destFolder", destFolder);
|
|
12694
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "folder", folder);
|
|
12695
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
12696
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
|
|
12697
|
+
const requestOptions = {
|
|
12698
|
+
method: "POST",
|
|
12699
|
+
headers: {},
|
|
12700
|
+
url: localVarPath,
|
|
12701
|
+
data: options,
|
|
12702
|
+
params: queryParameters
|
|
12703
|
+
};
|
|
12704
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
12705
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
12706
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "string");
|
|
12707
|
+
return Promise.resolve({ body: result, response });
|
|
12708
|
+
});
|
|
12709
|
+
}
|
|
12710
|
+
/**
|
|
12711
|
+
*
|
|
12712
|
+
* @param document Document data.
|
|
12713
|
+
* @param format
|
|
12714
|
+
* @param destFolder
|
|
12715
|
+
* @param width
|
|
12716
|
+
* @param height
|
|
12717
|
+
* @param from
|
|
12718
|
+
* @param to
|
|
12719
|
+
* @param password
|
|
12720
|
+
* @param storage
|
|
12721
|
+
* @param fontsFolder
|
|
12722
|
+
* @param options
|
|
12723
|
+
*/
|
|
12724
|
+
startUploadAndSplit(document, format, destFolder = null, width = null, height = null, from = null, to = null, password = null, storage = null, fontsFolder = null, options = null) {
|
|
12725
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12726
|
+
// verify required parameter 'document' is not null or undefined
|
|
12727
|
+
if (document === null || document === undefined) {
|
|
12728
|
+
throw new Error('The required parameter "document" was null or undefined when calling startUploadAndSplit.');
|
|
12729
|
+
}
|
|
12730
|
+
// verify required parameter 'format' is not null or undefined
|
|
12731
|
+
if (format === null || format === undefined) {
|
|
12732
|
+
throw new Error('The required parameter "format" was null or undefined when calling startUploadAndSplit.');
|
|
12733
|
+
}
|
|
12734
|
+
// verify value of enum parameter 'format' is valid
|
|
12735
|
+
if (!Object.keys(model.SlideExportFormat).filter(i => model.SlideExportFormat[i].toLowerCase() == format.toString().toLowerCase()).length) {
|
|
12736
|
+
throw new Error('Invalid value for format: ' + format + '. Must be one of the following: ' + Object.keys(model.SlideExportFormat).map(key => model.SlideExportFormat[key]).join());
|
|
12737
|
+
}
|
|
12738
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/async/split/{format}";
|
|
12739
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "format", objectSerializer_1.ObjectSerializer.toString(format));
|
|
12740
|
+
const queryParameters = {};
|
|
12741
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "destFolder", destFolder);
|
|
12742
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "width", width);
|
|
12743
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "height", height);
|
|
12744
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "from", from);
|
|
12745
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "to", to);
|
|
12746
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storage", storage);
|
|
12747
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "fontsFolder", fontsFolder);
|
|
12748
|
+
const requestOptions = {
|
|
12749
|
+
method: "POST",
|
|
12750
|
+
headers: {},
|
|
12751
|
+
url: localVarPath,
|
|
12752
|
+
data: options,
|
|
12753
|
+
params: queryParameters
|
|
12754
|
+
};
|
|
12755
|
+
(0, requestHelper_1.addHeaderParameter)(requestOptions.headers, "password", password);
|
|
12756
|
+
let localVarFiles = [];
|
|
12757
|
+
if (document != null) {
|
|
12758
|
+
localVarFiles.push(document);
|
|
12759
|
+
}
|
|
12760
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
12761
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
12762
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "string");
|
|
12763
|
+
return Promise.resolve({ body: result, response });
|
|
12764
|
+
});
|
|
12765
|
+
}
|
|
12766
|
+
/**
|
|
12767
|
+
*
|
|
12768
|
+
* @param path
|
|
12769
|
+
* @param file File to upload
|
|
12770
|
+
* @param storageName
|
|
12771
|
+
*/
|
|
12772
|
+
upload(path = null, file, storageName = null) {
|
|
12773
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12774
|
+
// verify required parameter 'file' is not null or undefined
|
|
12775
|
+
if (file === null || file === undefined) {
|
|
12776
|
+
throw new Error('The required parameter "file" was null or undefined when calling upload.');
|
|
12777
|
+
}
|
|
12778
|
+
let localVarPath = this.configuration.getApiBaseUrl() + "/slides/async/storage/file/{path}";
|
|
12779
|
+
localVarPath = (0, requestHelper_1.addPathParameterToUrl)(localVarPath, "path", objectSerializer_1.ObjectSerializer.toString(path));
|
|
12780
|
+
const queryParameters = {};
|
|
12781
|
+
localVarPath = (0, requestHelper_1.addQueryParameterToUrl)(localVarPath, queryParameters, "storageName", storageName);
|
|
12782
|
+
const requestOptions = {
|
|
12783
|
+
method: "PUT",
|
|
12784
|
+
url: localVarPath,
|
|
12785
|
+
params: queryParameters
|
|
12786
|
+
};
|
|
12787
|
+
let localVarFiles = [];
|
|
12788
|
+
if (file != null) {
|
|
12789
|
+
localVarFiles.push(file);
|
|
12790
|
+
}
|
|
12791
|
+
(0, requestHelper_1.checkMultipartContent)(requestOptions, localVarFiles);
|
|
12792
|
+
const response = yield (0, requestHelper_1.invokeApiMethod)(requestOptions, this.configuration);
|
|
12793
|
+
const result = objectSerializer_1.ObjectSerializer.deserialize(response.body, "FilesUploadResult");
|
|
12794
|
+
return Promise.resolve({ body: result, response });
|
|
12795
|
+
});
|
|
12796
|
+
}
|
|
12455
12797
|
}
|
|
12456
12798
|
exports.SlidesAsyncApi = SlidesAsyncApi;
|
|
@@ -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 v24.
|
|
172
|
+
requestOptions.headers["x-aspose-client"] = "nodejs sdk v24.9.0";
|
|
173
173
|
if (configuration.timeout) {
|
|
174
174
|
requestOptions.headers["x-aspose-timeout"] = configuration.timeout;
|
|
175
175
|
}
|
package/model.d.ts
CHANGED
|
@@ -471,7 +471,7 @@ export declare class ShapeBase extends ResourceBase {
|
|
|
471
471
|
/**
|
|
472
472
|
* Gets z-order position of shape
|
|
473
473
|
*/
|
|
474
|
-
zOrderPosition
|
|
474
|
+
zOrderPosition?: number;
|
|
475
475
|
/**
|
|
476
476
|
* Gets or sets the fill format.
|
|
477
477
|
*/
|
|
@@ -4500,7 +4500,7 @@ export declare class OleObjectFrame extends ShapeBase {
|
|
|
4500
4500
|
/**
|
|
4501
4501
|
* True if an object is visible as icon.
|
|
4502
4502
|
*/
|
|
4503
|
-
isObjectIcon
|
|
4503
|
+
isObjectIcon?: boolean;
|
|
4504
4504
|
/**
|
|
4505
4505
|
* The title for OleObject icon.
|
|
4506
4506
|
*/
|
|
@@ -4618,7 +4618,7 @@ export declare class Operation {
|
|
|
4618
4618
|
failed?: Date;
|
|
4619
4619
|
canceled?: Date;
|
|
4620
4620
|
finished?: Date;
|
|
4621
|
-
error?:
|
|
4621
|
+
error?: OperationError;
|
|
4622
4622
|
}
|
|
4623
4623
|
export declare namespace Operation {
|
|
4624
4624
|
enum MethodEnum {
|
|
@@ -4627,7 +4627,9 @@ export declare namespace Operation {
|
|
|
4627
4627
|
ConvertAndSave,
|
|
4628
4628
|
SavePresentation,
|
|
4629
4629
|
Merge,
|
|
4630
|
-
MergeAndSave
|
|
4630
|
+
MergeAndSave,
|
|
4631
|
+
Split,
|
|
4632
|
+
UploadAndSplit
|
|
4631
4633
|
}
|
|
4632
4634
|
enum StatusEnum {
|
|
4633
4635
|
Created,
|
|
@@ -4638,6 +4640,12 @@ export declare namespace Operation {
|
|
|
4638
4640
|
Finished
|
|
4639
4641
|
}
|
|
4640
4642
|
}
|
|
4643
|
+
export declare class OperationError {
|
|
4644
|
+
code?: string;
|
|
4645
|
+
description?: string;
|
|
4646
|
+
httpStatusCode: number;
|
|
4647
|
+
message?: string;
|
|
4648
|
+
}
|
|
4641
4649
|
/**
|
|
4642
4650
|
* Operation progress.
|
|
4643
4651
|
*/
|
|
@@ -7292,7 +7300,7 @@ export declare class SmartArt extends ShapeBase {
|
|
|
7292
7300
|
/**
|
|
7293
7301
|
* The state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal.
|
|
7294
7302
|
*/
|
|
7295
|
-
isReversed
|
|
7303
|
+
isReversed?: boolean;
|
|
7296
7304
|
}
|
|
7297
7305
|
export declare namespace SmartArt {
|
|
7298
7306
|
enum LayoutEnum {
|
|
@@ -7505,7 +7513,7 @@ export declare class SmartArtNode {
|
|
|
7505
7513
|
/**
|
|
7506
7514
|
* True for and assistant node.
|
|
7507
7515
|
*/
|
|
7508
|
-
isAssistant
|
|
7516
|
+
isAssistant?: boolean;
|
|
7509
7517
|
/**
|
|
7510
7518
|
* Node text.
|
|
7511
7519
|
*/
|
|
@@ -8114,11 +8122,11 @@ export declare class TableRow {
|
|
|
8114
8122
|
/**
|
|
8115
8123
|
* Minimal height of the row.
|
|
8116
8124
|
*/
|
|
8117
|
-
minimalHeight
|
|
8125
|
+
minimalHeight?: number;
|
|
8118
8126
|
/**
|
|
8119
8127
|
* Height of the row.
|
|
8120
8128
|
*/
|
|
8121
|
-
height
|
|
8129
|
+
height?: number;
|
|
8122
8130
|
}
|
|
8123
8131
|
/**
|
|
8124
8132
|
* Represents text bounds within a paragraph or portion.
|
package/model.js
CHANGED
|
@@ -26,9 +26,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.ChartWall = exports.ChartTitle = exports.ChartSeriesGroup = exports.ChartLinesFormat = exports.ChartCategory = exports.Chart = exports.Camera = exports.BubbleSeries = exports.XYSeries = exports.Series = exports.BubbleChartDataPoint = exports.ScatterChartDataPoint = exports.DataPoint = exports.BoxElement = exports.BorderBoxElement = exports.BlurImageEffect = exports.BlurEffect = exports.BlockElement = exports.BiLevelEffect = exports.Base64InputFile = exports.InputFile = exports.BarElement = exports.AxisType = exports.Axis = exports.Axes = exports.AudioFrame = exports.GeometryShape = exports.ShapeBase = exports.ResourceBase = exports.ArrowHeadProperties = exports.ArrayElement = exports.ArcToPathSegment = exports.PathSegment = exports.ApiInfo = exports.AlphaReplaceEffect = exports.AlphaModulateFixedEffect = exports.AlphaModulateEffect = exports.AlphaInverseEffect = exports.AlphaFloorEffect = exports.AlphaCeilingEffect = exports.AlphaBiLevelEffect = exports.ImageTransformEffect = exports.AddSlide = exports.AddShape = exports.AddMasterSlide = exports.AddLayoutSlide = exports.Task = exports.AccessPermissions = exports.AccentElement = exports.MathElement = void 0;
|
|
27
27
|
exports.GraphicalObject = exports.GradientFillStop = exports.GradientFill = exports.GlowEffect = exports.GifExportOptions = exports.ImageExportOptionsBase = exports.GeometryPaths = exports.GeometryPath = exports.FunctionElement = exports.FractionElement = exports.FormatScheme = exports.FontsData = exports.FontSubstRule = exports.FontSet = exports.FontScheme = exports.FontFallbackRule = exports.FontData = exports.FillOverlayImageEffect = exports.FillOverlayEffect = exports.FillFormat = exports.FilesUploadResult = exports.FilesList = exports.FileVersions = exports.FileVersion = exports.StorageFile = exports.ExportOptions = exports.ExportFormat = exports.ErrorDetails = exports.EntityExists = exports.EffectFormat = exports.Effect = exports.DuotoneEffect = exports.DocumentReplaceResult = exports.DocumentProperty = exports.DocumentProperties = exports.Document = exports.DiscUsage = exports.DelimiterElement = exports.DataSource = exports.CustomDashPattern = exports.CubicBezierToPathSegment = exports.Connector = exports.CommonSlideViewProperties = exports.CommentAuthors = exports.CommentAuthor = exports.ColorScheme = exports.ColorReplaceEffect = exports.ColorChangeEffect = exports.ClosePathSegment = exports.ChartWallType = void 0;
|
|
28
28
|
exports.Operation = exports.OneValueSeries = exports.OneValueChartDataPoint = exports.OleObjectFrame = exports.ObjectExist = exports.NotesSlideHeaderFooter = exports.NotesSlideExportFormat = exports.NotesSlide = exports.NotesCommentsLayoutingOptions = exports.NormalViewRestoredProperties = exports.NoFill = exports.NaryOperatorElement = exports.MoveToPathSegment = exports.ModelError = exports.MergingSource = exports.Merge = exports.MatrixElement = exports.MathParagraph = exports.MathFormat = exports.MasterSlides = exports.MasterSlide = exports.MarkdownExportOptions = exports.LuminanceEffect = exports.Literals = exports.LineToPathSegment = exports.LineFormat = exports.LimitElement = exports.LightRig = exports.Legend = exports.LeftSubSuperscriptElement = exports.LayoutSlides = exports.LayoutSlide = exports.InteractiveSequence = exports.Input = exports.InnerShadowEffect = exports.Images = exports.ImageExportOptions = exports.ImageExportFormat = exports.Image = exports.IShapeExportOptions = exports.Hyperlink = exports.HtmlExportOptions = exports.Html5ExportOptions = exports.HslEffect = exports.HeaderFooter = exports.HandoutLayoutingOptions = exports.SlidesLayoutOptions = exports.GroupingCharacterElement = exports.GroupShape = exports.GrayScaleEffect = void 0;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = exports.VbaReference = exports.VbaProject = void 0;
|
|
29
|
+
exports.ShapeBevel = exports.Shape = exports.SeriesMarker = exports.Sections = exports.SectionZoomFrame = exports.ZoomObject = exports.Section = exports.ScatterSeries = exports.SaveSlide = exports.SaveShape = exports.Save = exports.RightSubSuperscriptElement = exports.ResponseOutputFile = exports.ResourceUri = exports.ResetSlide = exports.RequestInputFile = exports.ReplaceText = exports.ReorderSlide = exports.RemoveSlide = exports.RemoveShape = exports.ReflectionEffect = exports.RadicalElement = exports.QuadraticBezierToPathSegment = exports.ProtectionProperties = exports.PresetShadowEffect = exports.PresentationsMergeRequest = exports.PresentationToMerge = exports.PptxExportOptions = exports.Portions = exports.PortionFormat = exports.Portion = exports.PlotArea = exports.Placeholders = exports.Placeholder = exports.Pipeline = exports.PictureFrame = exports.PictureFill = exports.PdfImportOptions = exports.PdfExportOptions = exports.PatternFill = exports.PathOutputFile = exports.PathInputFile = exports.Paragraphs = exports.ParagraphFormat = exports.Paragraph = exports.OutputFile = exports.OuterShadowEffect = exports.OrderedMergeRequest = exports.OperationProgress = exports.OperationError = void 0;
|
|
30
|
+
exports.UpdateShape = exports.UpdateBackground = exports.TintEffect = exports.TiffExportOptions = exports.ThreeDFormat = exports.Theme = exports.TextItems = exports.TextItem = exports.TextFrameFormat = exports.TextElement = exports.TextBounds = exports.TableRow = exports.TableColumn = exports.TableCellSplitType = exports.TableCellMergeOptions = exports.TableCell = exports.Table = exports.SwfExportOptions = exports.SvgExportOptions = exports.SuperscriptElement = exports.SummaryZoomSection = exports.SummaryZoomFrame = exports.SubscriptElement = exports.StorageExist = exports.SplitDocumentResult = exports.SpecialSlideType = exports.SolidFill = exports.SoftEdgeEffect = exports.SmartArtShape = exports.SmartArtNode = exports.SmartArt = exports.Slides = exports.SlideShowTransition = exports.SlideShowProperties = exports.SlideReplaceResult = exports.SlideProperties = exports.SlideModernComment = exports.SlideExportFormat = exports.SlideComments = exports.SlideComment = exports.SlideCommentBase = exports.SlideBackground = exports.SlideAnimation = exports.Slide = exports.ShapesAlignmentType = exports.Shapes = exports.ShapeType = exports.ShapeThumbnailBounds = exports.ShapeImageExportOptions = exports.ShapeExportFormat = void 0;
|
|
31
|
+
exports.ZoomFrame = exports.XpsExportOptions = exports.XamlExportOptions = exports.Workbook = exports.ViewProperties = exports.VideoFrame = exports.VideoExportOptions = exports.VbaReference = exports.VbaProject = exports.VbaModule = void 0;
|
|
32
32
|
/**
|
|
33
33
|
* Math element.
|
|
34
34
|
*/
|
|
@@ -2794,6 +2794,8 @@ exports.Operation = Operation;
|
|
|
2794
2794
|
MethodEnum[MethodEnum["SavePresentation"] = 'SavePresentation'] = "SavePresentation";
|
|
2795
2795
|
MethodEnum[MethodEnum["Merge"] = 'Merge'] = "Merge";
|
|
2796
2796
|
MethodEnum[MethodEnum["MergeAndSave"] = 'MergeAndSave'] = "MergeAndSave";
|
|
2797
|
+
MethodEnum[MethodEnum["Split"] = 'Split'] = "Split";
|
|
2798
|
+
MethodEnum[MethodEnum["UploadAndSplit"] = 'UploadAndSplit'] = "UploadAndSplit";
|
|
2797
2799
|
})(MethodEnum = Operation.MethodEnum || (Operation.MethodEnum = {}));
|
|
2798
2800
|
let StatusEnum;
|
|
2799
2801
|
(function (StatusEnum) {
|
|
@@ -2805,6 +2807,9 @@ exports.Operation = Operation;
|
|
|
2805
2807
|
StatusEnum[StatusEnum["Finished"] = 'Finished'] = "Finished";
|
|
2806
2808
|
})(StatusEnum = Operation.StatusEnum || (Operation.StatusEnum = {}));
|
|
2807
2809
|
})(Operation = exports.Operation || (exports.Operation = {}));
|
|
2810
|
+
class OperationError {
|
|
2811
|
+
}
|
|
2812
|
+
exports.OperationError = OperationError;
|
|
2808
2813
|
/**
|
|
2809
2814
|
* Operation progress.
|
|
2810
2815
|
*/
|