@@ -38,7 +38,7 @@ export class DocumentsApi {
3838 if ( limit ) {
3939 params . limit = limit ;
4040 }
41- const url = `https:// ${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
41+ const url = `${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
4242 const options = this . apiClient . buildOptions ( 'GET' ) ;
4343 return await this . apiClient . fetchAndRespond ( url , options ) ;
4444 }
@@ -59,7 +59,7 @@ export class DocumentsApi {
5959 if ( limit ) {
6060 params . limit = limit ;
6161 }
62- const url = `https:// ${ this . apiClient . host } /search${ this . apiClient . buildQueryString ( params ) } ` ;
62+ const url = `${ this . apiClient . host } /search${ this . apiClient . buildQueryString ( params ) } ` ;
6363 const options = this . apiClient . buildOptions ( 'POST' , documentSearchBody ) ;
6464 return await this . apiClient . fetchAndRespond ( url , options ) ;
6565 }
@@ -75,7 +75,7 @@ export class DocumentsApi {
7575 if ( siteId ) {
7676 params . siteId = siteId ;
7777 }
78- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
78+ const url = `${ this . apiClient . host } /documents/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
7979 const options = this . apiClient . buildOptions ( 'GET' ) ;
8080 return await this . apiClient . fetchAndRespond ( url , options ) ;
8181 }
@@ -86,7 +86,7 @@ export class DocumentsApi {
8686 if ( siteId ) {
8787 params . siteId = siteId ;
8888 }
89- const url = `https:// ${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
89+ const url = `${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
9090 const options = this . apiClient . buildOptions ( 'POST' , addOrUpdateDocumentParameters ) ;
9191 return await this . apiClient . fetchAndRespond ( url , options ) ;
9292 }
@@ -101,7 +101,7 @@ export class DocumentsApi {
101101 if ( siteId ) {
102102 params . siteId = siteId ;
103103 }
104- const url = `https:// ${ this . apiClient . host } /public/documents${ this . apiClient . buildQueryString ( params ) } ` ;
104+ const url = `${ this . apiClient . host } /public/documents${ this . apiClient . buildQueryString ( params ) } ` ;
105105 const options = this . apiClient . buildOptions ( 'POST' , addOrUpdateDocumentParameters ) ;
106106 return await this . apiClient . fetchAndRespond ( url , options ) ;
107107 }
@@ -117,7 +117,7 @@ export class DocumentsApi {
117117 if ( siteId ) {
118118 params . siteId = siteId ;
119119 }
120- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
120+ const url = `${ this . apiClient . host } /documents/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
121121 const options = this . apiClient . buildOptions ( 'PATCH' , addOrUpdateDocumentParameters ) ;
122122 return await this . apiClient . fetchAndRespond ( url , options ) ;
123123 }
@@ -133,7 +133,7 @@ export class DocumentsApi {
133133 if ( siteId ) {
134134 params . siteId = siteId ;
135135 }
136- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
136+ const url = `${ this . apiClient . host } /documents/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
137137 const options = this . apiClient . buildOptions ( 'DELETE' ) ;
138138 return await this . apiClient . fetchAndRespond ( url , options ) ;
139139 }
@@ -151,7 +151,7 @@ export class DocumentsApi {
151151 if ( limit ) {
152152 params . limit = limit
153153 }
154- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /tags${ this . apiClient . buildQueryString ( params ) } ` ;
154+ const url = `${ this . apiClient . host } /documents/${ documentId } /tags${ this . apiClient . buildQueryString ( params ) } ` ;
155155 const options = this . apiClient . buildOptions ( 'GET' ) ;
156156 return await this . apiClient . fetchAndRespond ( url , options ) ;
157157 }
@@ -171,7 +171,7 @@ export class DocumentsApi {
171171 if ( siteId ) {
172172 params . siteId = siteId ;
173173 }
174- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /tags/${ tagKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
174+ const url = `${ this . apiClient . host } /documents/${ documentId } /tags/${ tagKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
175175 const options = this . apiClient . buildOptions ( 'GET' ) ;
176176 return await this . apiClient . fetchAndRespond ( url , options ) ;
177177 }
@@ -186,7 +186,7 @@ export class DocumentsApi {
186186 if ( siteId ) {
187187 params . siteId = siteId ;
188188 }
189- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /tags${ this . apiClient . buildQueryString ( params ) } ` ;
189+ const url = `${ this . apiClient . host } /documents/${ documentId } /tags${ this . apiClient . buildQueryString ( params ) } ` ;
190190 const options = this . apiClient . buildOptions ( 'POST' , addDocumentTagParameters ) ;
191191 return await this . apiClient . fetchAndRespond ( url , options ) ;
192192 }
@@ -201,7 +201,7 @@ export class DocumentsApi {
201201 if ( siteId ) {
202202 params . siteId = siteId ;
203203 }
204- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /tags/${ tagKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
204+ const url = `${ this . apiClient . host } /documents/${ documentId } /tags/${ tagKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
205205 const options = this . apiClient . buildOptions ( 'PUT' , tagValues ) ;
206206 return await this . apiClient . fetchAndRespond ( url , options ) ;
207207 }
@@ -221,7 +221,7 @@ export class DocumentsApi {
221221 if ( siteId ) {
222222 params . siteId = siteId ;
223223 }
224- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /tags/${ tagKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
224+ const url = `${ this . apiClient . host } /documents/${ documentId } /tags/${ tagKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
225225 const options = this . apiClient . buildOptions ( 'DELETE' ) ;
226226 return await this . apiClient . fetchAndRespond ( url , options ) ;
227227 }
@@ -240,7 +240,7 @@ export class DocumentsApi {
240240 params . siteId = siteId ;
241241 }
242242 params . inline = inline
243- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /content${ this . apiClient . buildQueryString ( params ) } ` ;
243+ const url = `${ this . apiClient . host } /documents/${ documentId } /content${ this . apiClient . buildQueryString ( params ) } ` ;
244244 const options = this . apiClient . buildOptions ( 'GET' ) ;
245245 return await this . apiClient . fetchAndRespond ( url , options ) ;
246246 }
@@ -259,7 +259,7 @@ export class DocumentsApi {
259259 params . siteId = siteId ;
260260 }
261261 params . inline = inline
262- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /url${ this . apiClient . buildQueryString ( params ) } ` ;
262+ const url = `${ this . apiClient . host } /documents/${ documentId } /url${ this . apiClient . buildQueryString ( params ) } ` ;
263263 const options = this . apiClient . buildOptions ( 'GET' ) ;
264264 return await this . apiClient . fetchAndRespond ( url , options ) ;
265265 }
@@ -277,7 +277,7 @@ export class DocumentsApi {
277277 if (versionKey) {
278278 body.versionKey = versionKey;
279279 }
280- const url = `https:// ${this.apiClient.host}/documents/${documentId}/formats`;
280+ const url = `${this.apiClient.host}/documents/${documentId}/formats`;
281281 const options = this.apiClient.buildOptions('POST', body);
282282 return await this.apiClient.fetchAndRespond(url, options);
283283 }
@@ -294,7 +294,7 @@ export class DocumentsApi {
294294 if ( siteId ) {
295295 params . siteId = siteId ;
296296 }
297- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /versions${ this . apiClient . buildQueryString ( params ) } ` ;
297+ const url = `${ this . apiClient . host } /documents/${ documentId } /versions${ this . apiClient . buildQueryString ( params ) } ` ;
298298 const options = this . apiClient . buildOptions ( 'GET' ) ;
299299 return await this . apiClient . fetchAndRespond ( url , options ) ;
300300 }
@@ -318,7 +318,7 @@ export class DocumentsApi {
318318 const body = {
319319 versionKey
320320 }
321- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /versions${ this . apiClient . buildQueryString ( params ) } ` ;
321+ const url = `${ this . apiClient . host } /documents/${ documentId } /versions${ this . apiClient . buildQueryString ( params ) } ` ;
322322 const options = this . apiClient . buildOptions ( 'PUT' , body ) ;
323323 return await this . apiClient . fetchAndRespond ( url , options ) ;
324324 }
@@ -334,7 +334,7 @@ export class DocumentsApi {
334334 if ( siteId ) {
335335 params . siteId = siteId ;
336336 }
337- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /actions${ this . apiClient . buildQueryString ( params ) } ` ;
337+ const url = `${ this . apiClient . host } /documents/${ documentId } /actions${ this . apiClient . buildQueryString ( params ) } ` ;
338338 const options = this . apiClient . buildOptions ( 'GET' ) ;
339339 return await this . apiClient . fetchAndRespond ( url , options ) ;
340340 }
@@ -358,7 +358,7 @@ export class DocumentsApi {
358358 const body = {
359359 actions
360360 }
361- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /actions${ this . apiClient . buildQueryString ( params ) } ` ;
361+ const url = `${ this . apiClient . host } /documents/${ documentId } /actions${ this . apiClient . buildQueryString ( params ) } ` ;
362362 const options = this . apiClient . buildOptions ( 'POST' , body ) ;
363363 return await this . apiClient . fetchAndRespond ( url , options ) ;
364364 }
@@ -372,7 +372,7 @@ export class DocumentsApi {
372372 if ( path ) {
373373 params . path = path ;
374374 }
375- const url = `https:// ${ this . apiClient . host } /documents/upload${ this . apiClient . buildQueryString ( params ) } ` ;
375+ const url = `${ this . apiClient . host } /documents/upload${ this . apiClient . buildQueryString ( params ) } ` ;
376376 const options = this . apiClient . buildOptions ( 'GET' ) ;
377377 return await this . apiClient . fetchAndRespond ( url , options ) ;
378378 }
@@ -386,7 +386,7 @@ export class DocumentsApi {
386386 if ( contentLength ) {
387387 params . contentLength = contentLength ;
388388 }
389- const url = `https:// ${ this . apiClient . host } /documents/upload${ this . apiClient . buildQueryString ( params ) } ` ;
389+ const url = `${ this . apiClient . host } /documents/upload${ this . apiClient . buildQueryString ( params ) } ` ;
390390 const options = this . apiClient . buildOptions ( 'POST' , uploadBody ) ;
391391 return await this . apiClient . fetchAndRespond ( url , options ) ;
392392 }
@@ -408,7 +408,7 @@ export class DocumentsApi {
408408 if ( contentLength ) {
409409 params . contentLength = contentLength ;
410410 }
411- const url = `https:// ${ this . apiClient . host } /documents/${ documentId } /upload${ this . apiClient . buildQueryString ( params ) } ` ;
411+ const url = `${ this . apiClient . host } /documents/${ documentId } /upload${ this . apiClient . buildQueryString ( params ) } ` ;
412412 const options = this . apiClient . buildOptions ( 'GET' ) ;
413413 return await this . apiClient . fetchAndRespond ( url , options ) ;
414414 }
@@ -424,7 +424,7 @@ export class DocumentsApi {
424424 if ( siteId ) {
425425 params . siteId = siteId ;
426426 }
427- const url = `https:// ${ this . apiClient . host } /onlyoffice/${ documentId } /edit${ this . apiClient . buildQueryString ( params ) } ` ;
427+ const url = `${ this . apiClient . host } /onlyoffice/${ documentId } /edit${ this . apiClient . buildQueryString ( params ) } ` ;
428428 const options = this . apiClient . buildOptions ( 'POST' ) ;
429429 return await this . apiClient . fetchAndRespond ( url , options ) ;
430430 }
@@ -446,7 +446,7 @@ export class DocumentsApi {
446446 const body = {
447447 extension
448448 } ;
449- const url = `https:// ${ this . apiClient . host } /onlyoffice/new${ this . apiClient . buildQueryString ( params ) } ` ;
449+ const url = `${ this . apiClient . host } /onlyoffice/new${ this . apiClient . buildQueryString ( params ) } ` ;
450450 const options = this . apiClient . buildOptions ( 'POST' , body ) ;
451451 return await this . apiClient . fetchAndRespond ( url , options ) ;
452452 }
@@ -461,7 +461,7 @@ export class DocumentsApi {
461461 source,
462462 target
463463 } ;
464- const url = `https:// ${ this . apiClient . host } /indices/folder/move${ this . apiClient . buildQueryString ( params ) } ` ;
464+ const url = `${ this . apiClient . host } /indices/folder/move${ this . apiClient . buildQueryString ( params ) } ` ;
465465 const options = this . apiClient . buildOptions ( 'POST' , body ) ;
466466 return await this . apiClient . fetchAndRespond ( url , options ) ;
467467 }
@@ -475,7 +475,7 @@ export class DocumentsApi {
475475 const body = {
476476 path
477477 } ;
478- const url = `https:// ${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
478+ const url = `${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
479479 const options = this . apiClient . buildOptions ( 'POST' , body ) ;
480480 return await this . apiClient . fetchAndRespond ( url , options ) ;
481481 }
@@ -486,7 +486,7 @@ export class DocumentsApi {
486486 if ( siteId ) {
487487 params . siteId = siteId ;
488488 }
489- const url = `https:// ${ this . apiClient . host } /indices/folder/${ indexKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
489+ const url = `${ this . apiClient . host } /indices/folder/${ indexKey } ${ this . apiClient . buildQueryString ( params ) } ` ;
490490 const options = this . apiClient . buildOptions ( 'DELETE' ) ;
491491 return await this . apiClient . fetchAndRespond ( url , options ) ;
492492 }
@@ -496,7 +496,7 @@ export class DocumentsApi {
496496 if ( siteId ) {
497497 params . siteId = siteId ;
498498 }
499- const url = `https:// ${ this . apiClient . host } /esignature/docusign/config${ this . apiClient . buildQueryString ( params ) } ` ;
499+ const url = `${ this . apiClient . host } /esignature/docusign/config${ this . apiClient . buildQueryString ( params ) } ` ;
500500 const options = this . apiClient . buildOptions ( 'GET' ) ;
501501 return await this . apiClient . fetchAndRespond ( url , options ) ;
502502 }
@@ -511,7 +511,7 @@ export class DocumentsApi {
511511 userId,
512512 clientId
513513 } ;
514- const url = `https:// ${ this . apiClient . host } /esignature/docusign/config${ this . apiClient . buildQueryString ( params ) } ` ;
514+ const url = `${ this . apiClient . host } /esignature/docusign/config${ this . apiClient . buildQueryString ( params ) } ` ;
515515 const options = this . apiClient . buildOptions ( 'PUT' , body ) ;
516516 return await this . apiClient . fetchAndRespond ( url , options ) ;
517517 }
@@ -535,7 +535,7 @@ export class DocumentsApi {
535535 if ( carbonCopies . length ) {
536536 body . carbonCopies = carbonCopies
537537 }
538- const url = `https:// ${ this . apiClient . host } /esignature/docusign/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
538+ const url = `${ this . apiClient . host } /esignature/docusign/${ documentId } ${ this . apiClient . buildQueryString ( params ) } ` ;
539539 const options = this . apiClient . buildOptions ( 'POST' , body ) ;
540540 return await this . apiClient . fetchAndRespond ( url , options ) ;
541541 }
0 commit comments