@@ -38,7 +38,7 @@ export class DocumentsApi {
38
38
if ( limit ) {
39
39
params . limit = limit ;
40
40
}
41
- const url = `https:// ${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
41
+ const url = `${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
42
42
const options = this . apiClient . buildOptions ( 'GET' ) ;
43
43
return await this . apiClient . fetchAndRespond ( url , options ) ;
44
44
}
@@ -59,7 +59,7 @@ export class DocumentsApi {
59
59
if ( limit ) {
60
60
params . limit = limit ;
61
61
}
62
- const url = `https:// ${ this . apiClient . host } /search${ this . apiClient . buildQueryString ( params ) } ` ;
62
+ const url = `${ this . apiClient . host } /search${ this . apiClient . buildQueryString ( params ) } ` ;
63
63
const options = this . apiClient . buildOptions ( 'POST' , documentSearchBody ) ;
64
64
return await this . apiClient . fetchAndRespond ( url , options ) ;
65
65
}
@@ -75,7 +75,7 @@ export class DocumentsApi {
75
75
if ( siteId ) {
76
76
params . siteId = siteId ;
77
77
}
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 ) } ` ;
79
79
const options = this . apiClient . buildOptions ( 'GET' ) ;
80
80
return await this . apiClient . fetchAndRespond ( url , options ) ;
81
81
}
@@ -86,7 +86,7 @@ export class DocumentsApi {
86
86
if ( siteId ) {
87
87
params . siteId = siteId ;
88
88
}
89
- const url = `https:// ${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
89
+ const url = `${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
90
90
const options = this . apiClient . buildOptions ( 'POST' , addOrUpdateDocumentParameters ) ;
91
91
return await this . apiClient . fetchAndRespond ( url , options ) ;
92
92
}
@@ -101,7 +101,7 @@ export class DocumentsApi {
101
101
if ( siteId ) {
102
102
params . siteId = siteId ;
103
103
}
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 ) } ` ;
105
105
const options = this . apiClient . buildOptions ( 'POST' , addOrUpdateDocumentParameters ) ;
106
106
return await this . apiClient . fetchAndRespond ( url , options ) ;
107
107
}
@@ -117,7 +117,7 @@ export class DocumentsApi {
117
117
if ( siteId ) {
118
118
params . siteId = siteId ;
119
119
}
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 ) } ` ;
121
121
const options = this . apiClient . buildOptions ( 'PATCH' , addOrUpdateDocumentParameters ) ;
122
122
return await this . apiClient . fetchAndRespond ( url , options ) ;
123
123
}
@@ -133,7 +133,7 @@ export class DocumentsApi {
133
133
if ( siteId ) {
134
134
params . siteId = siteId ;
135
135
}
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 ) } ` ;
137
137
const options = this . apiClient . buildOptions ( 'DELETE' ) ;
138
138
return await this . apiClient . fetchAndRespond ( url , options ) ;
139
139
}
@@ -151,7 +151,7 @@ export class DocumentsApi {
151
151
if ( limit ) {
152
152
params . limit = limit
153
153
}
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 ) } ` ;
155
155
const options = this . apiClient . buildOptions ( 'GET' ) ;
156
156
return await this . apiClient . fetchAndRespond ( url , options ) ;
157
157
}
@@ -171,7 +171,7 @@ export class DocumentsApi {
171
171
if ( siteId ) {
172
172
params . siteId = siteId ;
173
173
}
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 ) } ` ;
175
175
const options = this . apiClient . buildOptions ( 'GET' ) ;
176
176
return await this . apiClient . fetchAndRespond ( url , options ) ;
177
177
}
@@ -186,7 +186,7 @@ export class DocumentsApi {
186
186
if ( siteId ) {
187
187
params . siteId = siteId ;
188
188
}
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 ) } ` ;
190
190
const options = this . apiClient . buildOptions ( 'POST' , addDocumentTagParameters ) ;
191
191
return await this . apiClient . fetchAndRespond ( url , options ) ;
192
192
}
@@ -201,7 +201,7 @@ export class DocumentsApi {
201
201
if ( siteId ) {
202
202
params . siteId = siteId ;
203
203
}
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 ) } ` ;
205
205
const options = this . apiClient . buildOptions ( 'PUT' , tagValues ) ;
206
206
return await this . apiClient . fetchAndRespond ( url , options ) ;
207
207
}
@@ -221,7 +221,7 @@ export class DocumentsApi {
221
221
if ( siteId ) {
222
222
params . siteId = siteId ;
223
223
}
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 ) } ` ;
225
225
const options = this . apiClient . buildOptions ( 'DELETE' ) ;
226
226
return await this . apiClient . fetchAndRespond ( url , options ) ;
227
227
}
@@ -240,7 +240,7 @@ export class DocumentsApi {
240
240
params . siteId = siteId ;
241
241
}
242
242
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 ) } ` ;
244
244
const options = this . apiClient . buildOptions ( 'GET' ) ;
245
245
return await this . apiClient . fetchAndRespond ( url , options ) ;
246
246
}
@@ -259,7 +259,7 @@ export class DocumentsApi {
259
259
params . siteId = siteId ;
260
260
}
261
261
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 ) } ` ;
263
263
const options = this . apiClient . buildOptions ( 'GET' ) ;
264
264
return await this . apiClient . fetchAndRespond ( url , options ) ;
265
265
}
@@ -277,7 +277,7 @@ export class DocumentsApi {
277
277
if (versionKey) {
278
278
body.versionKey = versionKey;
279
279
}
280
- const url = `https:// ${this.apiClient.host}/documents/${documentId}/formats`;
280
+ const url = `${this.apiClient.host}/documents/${documentId}/formats`;
281
281
const options = this.apiClient.buildOptions('POST', body);
282
282
return await this.apiClient.fetchAndRespond(url, options);
283
283
}
@@ -294,7 +294,7 @@ export class DocumentsApi {
294
294
if ( siteId ) {
295
295
params . siteId = siteId ;
296
296
}
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 ) } ` ;
298
298
const options = this . apiClient . buildOptions ( 'GET' ) ;
299
299
return await this . apiClient . fetchAndRespond ( url , options ) ;
300
300
}
@@ -318,7 +318,7 @@ export class DocumentsApi {
318
318
const body = {
319
319
versionKey
320
320
}
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 ) } ` ;
322
322
const options = this . apiClient . buildOptions ( 'PUT' , body ) ;
323
323
return await this . apiClient . fetchAndRespond ( url , options ) ;
324
324
}
@@ -334,7 +334,7 @@ export class DocumentsApi {
334
334
if ( siteId ) {
335
335
params . siteId = siteId ;
336
336
}
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 ) } ` ;
338
338
const options = this . apiClient . buildOptions ( 'GET' ) ;
339
339
return await this . apiClient . fetchAndRespond ( url , options ) ;
340
340
}
@@ -358,7 +358,7 @@ export class DocumentsApi {
358
358
const body = {
359
359
actions
360
360
}
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 ) } ` ;
362
362
const options = this . apiClient . buildOptions ( 'POST' , body ) ;
363
363
return await this . apiClient . fetchAndRespond ( url , options ) ;
364
364
}
@@ -372,7 +372,7 @@ export class DocumentsApi {
372
372
if ( path ) {
373
373
params . path = path ;
374
374
}
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 ) } ` ;
376
376
const options = this . apiClient . buildOptions ( 'GET' ) ;
377
377
return await this . apiClient . fetchAndRespond ( url , options ) ;
378
378
}
@@ -386,7 +386,7 @@ export class DocumentsApi {
386
386
if ( contentLength ) {
387
387
params . contentLength = contentLength ;
388
388
}
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 ) } ` ;
390
390
const options = this . apiClient . buildOptions ( 'POST' , uploadBody ) ;
391
391
return await this . apiClient . fetchAndRespond ( url , options ) ;
392
392
}
@@ -408,7 +408,7 @@ export class DocumentsApi {
408
408
if ( contentLength ) {
409
409
params . contentLength = contentLength ;
410
410
}
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 ) } ` ;
412
412
const options = this . apiClient . buildOptions ( 'GET' ) ;
413
413
return await this . apiClient . fetchAndRespond ( url , options ) ;
414
414
}
@@ -424,7 +424,7 @@ export class DocumentsApi {
424
424
if ( siteId ) {
425
425
params . siteId = siteId ;
426
426
}
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 ) } ` ;
428
428
const options = this . apiClient . buildOptions ( 'POST' ) ;
429
429
return await this . apiClient . fetchAndRespond ( url , options ) ;
430
430
}
@@ -446,7 +446,7 @@ export class DocumentsApi {
446
446
const body = {
447
447
extension
448
448
} ;
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 ) } ` ;
450
450
const options = this . apiClient . buildOptions ( 'POST' , body ) ;
451
451
return await this . apiClient . fetchAndRespond ( url , options ) ;
452
452
}
@@ -461,7 +461,7 @@ export class DocumentsApi {
461
461
source,
462
462
target
463
463
} ;
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 ) } ` ;
465
465
const options = this . apiClient . buildOptions ( 'POST' , body ) ;
466
466
return await this . apiClient . fetchAndRespond ( url , options ) ;
467
467
}
@@ -475,7 +475,7 @@ export class DocumentsApi {
475
475
const body = {
476
476
path
477
477
} ;
478
- const url = `https:// ${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
478
+ const url = `${ this . apiClient . host } /documents${ this . apiClient . buildQueryString ( params ) } ` ;
479
479
const options = this . apiClient . buildOptions ( 'POST' , body ) ;
480
480
return await this . apiClient . fetchAndRespond ( url , options ) ;
481
481
}
@@ -486,7 +486,7 @@ export class DocumentsApi {
486
486
if ( siteId ) {
487
487
params . siteId = siteId ;
488
488
}
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 ) } ` ;
490
490
const options = this . apiClient . buildOptions ( 'DELETE' ) ;
491
491
return await this . apiClient . fetchAndRespond ( url , options ) ;
492
492
}
@@ -496,7 +496,7 @@ export class DocumentsApi {
496
496
if ( siteId ) {
497
497
params . siteId = siteId ;
498
498
}
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 ) } ` ;
500
500
const options = this . apiClient . buildOptions ( 'GET' ) ;
501
501
return await this . apiClient . fetchAndRespond ( url , options ) ;
502
502
}
@@ -511,7 +511,7 @@ export class DocumentsApi {
511
511
userId,
512
512
clientId
513
513
} ;
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 ) } ` ;
515
515
const options = this . apiClient . buildOptions ( 'PUT' , body ) ;
516
516
return await this . apiClient . fetchAndRespond ( url , options ) ;
517
517
}
@@ -535,7 +535,7 @@ export class DocumentsApi {
535
535
if ( carbonCopies . length ) {
536
536
body . carbonCopies = carbonCopies
537
537
}
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 ) } ` ;
539
539
const options = this . apiClient . buildOptions ( 'POST' , body ) ;
540
540
return await this . apiClient . fetchAndRespond ( url , options ) ;
541
541
}
0 commit comments