You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31010,6 +31020,284 @@ export class InsertRunOnlineRequest implements RequestInterface {
31010
31020
}
31011
31021
}
31012
31022
31023
+
/**
31024
+
* Request model for InsertSection operation.
31025
+
* Inserts a section to the document.
31026
+
*/
31027
+
export class InsertSectionRequest implements RequestInterface {
31028
+
31029
+
public constructor(init?: Partial< InsertSectionRequest >) {
31030
+
Object.assign(this, init);
31031
+
}
31032
+
31033
+
/**
31034
+
* The filename of the input document.
31035
+
*/
31036
+
public name: string;
31037
+
31038
+
/**
31039
+
* The index to insert into.
31040
+
*/
31041
+
public sectionIndex: number;
31042
+
31043
+
/**
31044
+
* Original document folder.
31045
+
*/
31046
+
public folder: string;
31047
+
31048
+
/**
31049
+
* Original document storage.
31050
+
*/
31051
+
public storage: string;
31052
+
31053
+
/**
31054
+
* Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
31055
+
*/
31056
+
public loadEncoding: string;
31057
+
31058
+
/**
31059
+
* Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
31060
+
*/
31061
+
public password: string;
31062
+
31063
+
/**
31064
+
* Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
31065
+
*/
31066
+
public encryptedPassword: string;
31067
+
31068
+
/**
31069
+
* Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
31070
+
*/
31071
+
public destFileName: string;
31072
+
31073
+
/**
31074
+
* Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
31075
+
*/
31076
+
public revisionAuthor: string;
31077
+
31078
+
/**
31079
+
* The date and time to use for revisions.
31080
+
*/
31081
+
public revisionDateTime: string;
31082
+
31083
+
/**
31084
+
* create the requst options for this request
31085
+
* @param configuration a configuration for the request
31086
+
* @param data encryptor
31087
+
*/
31088
+
public async createRequestOptions(configuration: Configuration, _encryptor: Encryptor) : Promise<request.OptionsWithUri> {
31089
+
let localVarPath = configuration.getApiBaseUrl() + "/words/{name}/sections/{sectionIndex}"
createResponse(_response: Buffer, _headers: http.IncomingHttpHeaders): any {
31163
+
return null;
31164
+
}
31165
+
}
31166
+
31167
+
/**
31168
+
* Request model for InsertSectionOnline operation.
31169
+
* Inserts a section to the document.
31170
+
*/
31171
+
export class InsertSectionOnlineRequest implements RequestInterface {
31172
+
31173
+
public constructor(init?: Partial< InsertSectionOnlineRequest >) {
31174
+
Object.assign(this, init);
31175
+
}
31176
+
31177
+
/**
31178
+
* The document.
31179
+
*/
31180
+
public document: Readable;
31181
+
31182
+
/**
31183
+
* The index to insert into.
31184
+
*/
31185
+
public sectionIndex: number;
31186
+
31187
+
/**
31188
+
* Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
31189
+
*/
31190
+
public loadEncoding: string;
31191
+
31192
+
/**
31193
+
* Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
31194
+
*/
31195
+
public password: string;
31196
+
31197
+
/**
31198
+
* Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
31199
+
*/
31200
+
public encryptedPassword: string;
31201
+
31202
+
/**
31203
+
* Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
31204
+
*/
31205
+
public destFileName: string;
31206
+
31207
+
/**
31208
+
* Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
31209
+
*/
31210
+
public revisionAuthor: string;
31211
+
31212
+
/**
31213
+
* The date and time to use for revisions.
31214
+
*/
31215
+
public revisionDateTime: string;
31216
+
31217
+
/**
31218
+
* create the requst options for this request
31219
+
* @param configuration a configuration for the request
31220
+
* @param data encryptor
31221
+
*/
31222
+
public async createRequestOptions(configuration: Configuration, _encryptor: Encryptor) : Promise<request.OptionsWithUri> {
31223
+
let localVarPath = configuration.getApiBaseUrl() + "/words/online/post/sections/{sectionIndex}"
0 commit comments