@emilgroup/document-sdk-node 1.37.0 → 1.37.1-beta.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.
@@ -47,7 +47,7 @@ const FormData = require('form-data');
47
47
  export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Configuration) {
48
48
  return {
49
49
  /**
50
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
50
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
51
51
  * @summary Delete the docx template
52
52
  * @param {string} code
53
53
  * @param {string} [authorization] Bearer Token
@@ -92,7 +92,7 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
92
92
  };
93
93
  },
94
94
  /**
95
- * Get a pre-signed download url for the given docx template.
95
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
96
96
  * @summary Get pre-signed url for downloading docx template
97
97
  * @param {string} code
98
98
  * @param {string} [authorization] Bearer Token
@@ -137,7 +137,7 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
137
137
  };
138
138
  },
139
139
  /**
140
- * Get a docx template.
140
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
141
141
  * @summary Retrieve the docx template
142
142
  * @param {string} code
143
143
  * @param {string} [authorization] Bearer Token
@@ -182,7 +182,7 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
182
182
  };
183
183
  },
184
184
  /**
185
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
185
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
186
186
  * @summary List docx templates
187
187
  * @param {string} [authorization] Bearer Token
188
188
  * @param {number} [pageSize] Page size
@@ -258,7 +258,7 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
258
258
  };
259
259
  },
260
260
  /**
261
- * Updates a docx template metadata.
261
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
262
262
  * @summary Update the docx template
263
263
  * @param {string} code
264
264
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -309,7 +309,7 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
309
309
  };
310
310
  },
311
311
  /**
312
- * Upload a docx template via a presigned Url.
312
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
313
313
  * @summary Upload a docx template.
314
314
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
315
315
  * @param {string} [authorization] Bearer Token
@@ -366,7 +366,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
366
366
  const localVarAxiosParamCreator = DocxTemplatesApiAxiosParamCreator(configuration)
367
367
  return {
368
368
  /**
369
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
369
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
370
370
  * @summary Delete the docx template
371
371
  * @param {string} code
372
372
  * @param {string} [authorization] Bearer Token
@@ -378,7 +378,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
378
378
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
379
379
  },
380
380
  /**
381
- * Get a pre-signed download url for the given docx template.
381
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
382
382
  * @summary Get pre-signed url for downloading docx template
383
383
  * @param {string} code
384
384
  * @param {string} [authorization] Bearer Token
@@ -390,7 +390,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
390
390
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
391
  },
392
392
  /**
393
- * Get a docx template.
393
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
394
394
  * @summary Retrieve the docx template
395
395
  * @param {string} code
396
396
  * @param {string} [authorization] Bearer Token
@@ -402,7 +402,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
402
402
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
403
403
  },
404
404
  /**
405
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
405
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
406
406
  * @summary List docx templates
407
407
  * @param {string} [authorization] Bearer Token
408
408
  * @param {number} [pageSize] Page size
@@ -420,7 +420,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
420
420
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
421
421
  },
422
422
  /**
423
- * Updates a docx template metadata.
423
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
424
424
  * @summary Update the docx template
425
425
  * @param {string} code
426
426
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -433,7 +433,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
433
433
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
434
434
  },
435
435
  /**
436
- * Upload a docx template via a presigned Url.
436
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
437
437
  * @summary Upload a docx template.
438
438
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
439
439
  * @param {string} [authorization] Bearer Token
@@ -455,7 +455,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
455
455
  const localVarFp = DocxTemplatesApiFp(configuration)
456
456
  return {
457
457
  /**
458
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
458
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
459
459
  * @summary Delete the docx template
460
460
  * @param {string} code
461
461
  * @param {string} [authorization] Bearer Token
@@ -466,7 +466,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
466
466
  return localVarFp.deleteDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
467
467
  },
468
468
  /**
469
- * Get a pre-signed download url for the given docx template.
469
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
470
470
  * @summary Get pre-signed url for downloading docx template
471
471
  * @param {string} code
472
472
  * @param {string} [authorization] Bearer Token
@@ -477,7 +477,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
477
477
  return localVarFp.downloadDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
478
478
  },
479
479
  /**
480
- * Get a docx template.
480
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
481
481
  * @summary Retrieve the docx template
482
482
  * @param {string} code
483
483
  * @param {string} [authorization] Bearer Token
@@ -488,7 +488,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
488
488
  return localVarFp.getDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
489
489
  },
490
490
  /**
491
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
491
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
492
492
  * @summary List docx templates
493
493
  * @param {string} [authorization] Bearer Token
494
494
  * @param {number} [pageSize] Page size
@@ -505,7 +505,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
505
505
  return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
506
506
  },
507
507
  /**
508
- * Updates a docx template metadata.
508
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
509
509
  * @summary Update the docx template
510
510
  * @param {string} code
511
511
  * @param {SharedUpdateDocxTemplateRequestDto} sharedUpdateDocxTemplateRequestDto
@@ -517,7 +517,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
517
517
  return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
518
518
  },
519
519
  /**
520
- * Upload a docx template via a presigned Url.
520
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
521
521
  * @summary Upload a docx template.
522
522
  * @param {UploadDocxTemplateRequestDto} uploadDocxTemplateRequestDto
523
523
  * @param {string} [authorization] Bearer Token
@@ -713,7 +713,7 @@ export interface DocxTemplatesApiUploadDocxTemplateRequest {
713
713
  */
714
714
  export class DocxTemplatesApi extends BaseAPI {
715
715
  /**
716
- * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it.
716
+ * Permanently deletes the docx template. Supply the unique code that was returned when you created the docx template and this will delete it. **Required Permissions** \"document-management.docx-templates.delete\"
717
717
  * @summary Delete the docx template
718
718
  * @param {DocxTemplatesApiDeleteDocxTemplateRequest} requestParameters Request parameters.
719
719
  * @param {*} [options] Override http request option.
@@ -725,7 +725,7 @@ export class DocxTemplatesApi extends BaseAPI {
725
725
  }
726
726
 
727
727
  /**
728
- * Get a pre-signed download url for the given docx template.
728
+ * Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
729
729
  * @summary Get pre-signed url for downloading docx template
730
730
  * @param {DocxTemplatesApiDownloadDocxTemplateRequest} requestParameters Request parameters.
731
731
  * @param {*} [options] Override http request option.
@@ -737,7 +737,7 @@ export class DocxTemplatesApi extends BaseAPI {
737
737
  }
738
738
 
739
739
  /**
740
- * Get a docx template.
740
+ * Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
741
741
  * @summary Retrieve the docx template
742
742
  * @param {DocxTemplatesApiGetDocxTemplateRequest} requestParameters Request parameters.
743
743
  * @param {*} [options] Override http request option.
@@ -749,7 +749,7 @@ export class DocxTemplatesApi extends BaseAPI {
749
749
  }
750
750
 
751
751
  /**
752
- * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
752
+ * Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.docx-templates.view\"
753
753
  * @summary List docx templates
754
754
  * @param {DocxTemplatesApiListDocxTemplatesRequest} requestParameters Request parameters.
755
755
  * @param {*} [options] Override http request option.
@@ -761,7 +761,7 @@ export class DocxTemplatesApi extends BaseAPI {
761
761
  }
762
762
 
763
763
  /**
764
- * Updates a docx template metadata.
764
+ * Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
765
765
  * @summary Update the docx template
766
766
  * @param {DocxTemplatesApiUpdateDocxTemplateRequest} requestParameters Request parameters.
767
767
  * @param {*} [options] Override http request option.
@@ -773,7 +773,7 @@ export class DocxTemplatesApi extends BaseAPI {
773
773
  }
774
774
 
775
775
  /**
776
- * Upload a docx template via a presigned Url.
776
+ * Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
777
777
  * @summary Upload a docx template.
778
778
  * @param {DocxTemplatesApiUploadDocxTemplateRequest} requestParameters Request parameters.
779
779
  * @param {*} [options] Override http request option.
@@ -45,7 +45,7 @@ const FormData = require('form-data');
45
45
  export const LayoutsApiAxiosParamCreator = function (configuration?: Configuration) {
46
46
  return {
47
47
  /**
48
- * This will create a layout.
48
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
49
49
  * @summary Create the layout
50
50
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
51
51
  * @param {string} [authorization] Bearer Token
@@ -92,7 +92,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
92
92
  };
93
93
  },
94
94
  /**
95
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
95
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
96
96
  * @summary Delete the layout
97
97
  * @param {number} id
98
98
  * @param {string} [authorization] Bearer Token
@@ -137,7 +137,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
137
137
  };
138
138
  },
139
139
  /**
140
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
140
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
141
141
  * @summary Retrieve the layout
142
142
  * @param {string} id
143
143
  * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
@@ -189,7 +189,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
189
189
  };
190
190
  },
191
191
  /**
192
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
192
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
193
193
  * @summary List layouts
194
194
  * @param {string} [authorization] Bearer Token
195
195
  * @param {number} [pageSize] Page size
@@ -265,7 +265,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
265
265
  };
266
266
  },
267
267
  /**
268
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
268
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
269
269
  * @summary Update the layout
270
270
  * @param {number} id
271
271
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
@@ -326,7 +326,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
326
326
  const localVarAxiosParamCreator = LayoutsApiAxiosParamCreator(configuration)
327
327
  return {
328
328
  /**
329
- * This will create a layout.
329
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
330
330
  * @summary Create the layout
331
331
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
332
332
  * @param {string} [authorization] Bearer Token
@@ -338,7 +338,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
338
338
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
339
339
  },
340
340
  /**
341
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
341
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
342
342
  * @summary Delete the layout
343
343
  * @param {number} id
344
344
  * @param {string} [authorization] Bearer Token
@@ -350,7 +350,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
350
350
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
351
351
  },
352
352
  /**
353
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
353
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
354
354
  * @summary Retrieve the layout
355
355
  * @param {string} id
356
356
  * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
@@ -363,7 +363,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
363
363
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
364
364
  },
365
365
  /**
366
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
366
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
367
367
  * @summary List layouts
368
368
  * @param {string} [authorization] Bearer Token
369
369
  * @param {number} [pageSize] Page size
@@ -381,7 +381,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
381
381
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
382
382
  },
383
383
  /**
384
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
384
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
385
385
  * @summary Update the layout
386
386
  * @param {number} id
387
387
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
@@ -404,7 +404,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
404
404
  const localVarFp = LayoutsApiFp(configuration)
405
405
  return {
406
406
  /**
407
- * This will create a layout.
407
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
408
408
  * @summary Create the layout
409
409
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
410
410
  * @param {string} [authorization] Bearer Token
@@ -415,7 +415,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
415
415
  return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then((request) => request(axios, basePath));
416
416
  },
417
417
  /**
418
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
418
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
419
419
  * @summary Delete the layout
420
420
  * @param {number} id
421
421
  * @param {string} [authorization] Bearer Token
@@ -426,7 +426,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
426
426
  return localVarFp.deleteLayout(id, authorization, options).then((request) => request(axios, basePath));
427
427
  },
428
428
  /**
429
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
429
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
430
430
  * @summary Retrieve the layout
431
431
  * @param {string} id
432
432
  * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
@@ -438,7 +438,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
438
438
  return localVarFp.getLayout(id, id2, authorization, options).then((request) => request(axios, basePath));
439
439
  },
440
440
  /**
441
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
441
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
442
442
  * @summary List layouts
443
443
  * @param {string} [authorization] Bearer Token
444
444
  * @param {number} [pageSize] Page size
@@ -455,7 +455,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
455
455
  return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
456
456
  },
457
457
  /**
458
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
458
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
459
459
  * @summary Update the layout
460
460
  * @param {number} id
461
461
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
@@ -638,7 +638,7 @@ export interface LayoutsApiUpdateLayoutRequest {
638
638
  */
639
639
  export class LayoutsApi extends BaseAPI {
640
640
  /**
641
- * This will create a layout.
641
+ * This will create a layout. **Required Permissions** \"document-management.layouts.create\"
642
642
  * @summary Create the layout
643
643
  * @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
644
644
  * @param {*} [options] Override http request option.
@@ -650,7 +650,7 @@ export class LayoutsApi extends BaseAPI {
650
650
  }
651
651
 
652
652
  /**
653
- * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
653
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
654
654
  * @summary Delete the layout
655
655
  * @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
656
656
  * @param {*} [options] Override http request option.
@@ -662,7 +662,7 @@ export class LayoutsApi extends BaseAPI {
662
662
  }
663
663
 
664
664
  /**
665
- * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
665
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information. **Required Permissions** \"document-management.layouts.view\"
666
666
  * @summary Retrieve the layout
667
667
  * @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
668
668
  * @param {*} [options] Override http request option.
@@ -674,7 +674,7 @@ export class LayoutsApi extends BaseAPI {
674
674
  }
675
675
 
676
676
  /**
677
- * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
677
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.layouts.view\"
678
678
  * @summary List layouts
679
679
  * @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
680
680
  * @param {*} [options] Override http request option.
@@ -686,7 +686,7 @@ export class LayoutsApi extends BaseAPI {
686
686
  }
687
687
 
688
688
  /**
689
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
689
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
690
690
  * @summary Update the layout
691
691
  * @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
692
692
  * @param {*} [options] Override http request option.
@@ -41,7 +41,7 @@ const FormData = require('form-data');
41
41
  export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
44
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
45
45
  * @summary Delete the product document
46
46
  * @param {string} code
47
47
  * @param {string} productSlug
@@ -90,7 +90,7 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
90
90
  };
91
91
  },
92
92
  /**
93
- * Get a pre-signed download url for the given product document.
93
+ * Get a pre-signed download url for the given product document. **Required Permissions** \"document-management.documents.view\"
94
94
  * @summary Get pre-signed url for downloading product document
95
95
  * @param {string} productSlug Product slug
96
96
  * @param {string} code Product document code
@@ -144,7 +144,7 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
144
144
  };
145
145
  },
146
146
  /**
147
- * Get a product document.
147
+ * Get a product document. **Required Permissions** \"document-management.documents.view\"
148
148
  * @summary Retrieve the product document
149
149
  * @param {string} productSlug
150
150
  * @param {string} code
@@ -193,7 +193,7 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
193
193
  };
194
194
  },
195
195
  /**
196
- * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
196
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
197
197
  * @summary List product documents
198
198
  * @param {string} productSlug
199
199
  * @param {string} [authorization] Bearer Token
@@ -273,7 +273,7 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
273
273
  };
274
274
  },
275
275
  /**
276
- * Upload a product document.
276
+ * Upload a product document. **Required Permissions** \"document-management.documents.update\"
277
277
  * @summary Create the product document
278
278
  * @param {string} productSlug
279
279
  * @param {UploadProductDocumentRequestDto} uploadProductDocumentRequestDto
@@ -334,7 +334,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
334
334
  const localVarAxiosParamCreator = ProductDocumentsApiAxiosParamCreator(configuration)
335
335
  return {
336
336
  /**
337
- * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
337
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
338
338
  * @summary Delete the product document
339
339
  * @param {string} code
340
340
  * @param {string} productSlug
@@ -347,7 +347,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
347
347
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
348
348
  },
349
349
  /**
350
- * Get a pre-signed download url for the given product document.
350
+ * Get a pre-signed download url for the given product document. **Required Permissions** \"document-management.documents.view\"
351
351
  * @summary Get pre-signed url for downloading product document
352
352
  * @param {string} productSlug Product slug
353
353
  * @param {string} code Product document code
@@ -361,7 +361,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
361
361
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
362
362
  },
363
363
  /**
364
- * Get a product document.
364
+ * Get a product document. **Required Permissions** \"document-management.documents.view\"
365
365
  * @summary Retrieve the product document
366
366
  * @param {string} productSlug
367
367
  * @param {string} code
@@ -374,7 +374,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
374
374
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
375
375
  },
376
376
  /**
377
- * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
377
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
378
378
  * @summary List product documents
379
379
  * @param {string} productSlug
380
380
  * @param {string} [authorization] Bearer Token
@@ -393,7 +393,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
393
393
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
394
394
  },
395
395
  /**
396
- * Upload a product document.
396
+ * Upload a product document. **Required Permissions** \"document-management.documents.update\"
397
397
  * @summary Create the product document
398
398
  * @param {string} productSlug
399
399
  * @param {UploadProductDocumentRequestDto} uploadProductDocumentRequestDto
@@ -416,7 +416,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
416
416
  const localVarFp = ProductDocumentsApiFp(configuration)
417
417
  return {
418
418
  /**
419
- * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
419
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
420
420
  * @summary Delete the product document
421
421
  * @param {string} code
422
422
  * @param {string} productSlug
@@ -428,7 +428,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
428
428
  return localVarFp.deleteProductDocument(code, productSlug, authorization, options).then((request) => request(axios, basePath));
429
429
  },
430
430
  /**
431
- * Get a pre-signed download url for the given product document.
431
+ * Get a pre-signed download url for the given product document. **Required Permissions** \"document-management.documents.view\"
432
432
  * @summary Get pre-signed url for downloading product document
433
433
  * @param {string} productSlug Product slug
434
434
  * @param {string} code Product document code
@@ -441,7 +441,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
441
441
  return localVarFp.downloadProductDocument(productSlug, code, authorization, contentDisposition, options).then((request) => request(axios, basePath));
442
442
  },
443
443
  /**
444
- * Get a product document.
444
+ * Get a product document. **Required Permissions** \"document-management.documents.view\"
445
445
  * @summary Retrieve the product document
446
446
  * @param {string} productSlug
447
447
  * @param {string} code
@@ -453,7 +453,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
453
453
  return localVarFp.getProductDocument(productSlug, code, authorization, options).then((request) => request(axios, basePath));
454
454
  },
455
455
  /**
456
- * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
456
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
457
457
  * @summary List product documents
458
458
  * @param {string} productSlug
459
459
  * @param {string} [authorization] Bearer Token
@@ -471,7 +471,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
471
471
  return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
472
472
  },
473
473
  /**
474
- * Upload a product document.
474
+ * Upload a product document. **Required Permissions** \"document-management.documents.update\"
475
475
  * @summary Create the product document
476
476
  * @param {string} productSlug
477
477
  * @param {UploadProductDocumentRequestDto} uploadProductDocumentRequestDto
@@ -682,7 +682,7 @@ export interface ProductDocumentsApiUploadProductDocumentRequest {
682
682
  */
683
683
  export class ProductDocumentsApi extends BaseAPI {
684
684
  /**
685
- * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
685
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
686
686
  * @summary Delete the product document
687
687
  * @param {ProductDocumentsApiDeleteProductDocumentRequest} requestParameters Request parameters.
688
688
  * @param {*} [options] Override http request option.
@@ -694,7 +694,7 @@ export class ProductDocumentsApi extends BaseAPI {
694
694
  }
695
695
 
696
696
  /**
697
- * Get a pre-signed download url for the given product document.
697
+ * Get a pre-signed download url for the given product document. **Required Permissions** \"document-management.documents.view\"
698
698
  * @summary Get pre-signed url for downloading product document
699
699
  * @param {ProductDocumentsApiDownloadProductDocumentRequest} requestParameters Request parameters.
700
700
  * @param {*} [options] Override http request option.
@@ -706,7 +706,7 @@ export class ProductDocumentsApi extends BaseAPI {
706
706
  }
707
707
 
708
708
  /**
709
- * Get a product document.
709
+ * Get a product document. **Required Permissions** \"document-management.documents.view\"
710
710
  * @summary Retrieve the product document
711
711
  * @param {ProductDocumentsApiGetProductDocumentRequest} requestParameters Request parameters.
712
712
  * @param {*} [options] Override http request option.
@@ -718,7 +718,7 @@ export class ProductDocumentsApi extends BaseAPI {
718
718
  }
719
719
 
720
720
  /**
721
- * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
721
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
722
722
  * @summary List product documents
723
723
  * @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
724
724
  * @param {*} [options] Override http request option.
@@ -730,7 +730,7 @@ export class ProductDocumentsApi extends BaseAPI {
730
730
  }
731
731
 
732
732
  /**
733
- * Upload a product document.
733
+ * Upload a product document. **Required Permissions** \"document-management.documents.update\"
734
734
  * @summary Create the product document
735
735
  * @param {ProductDocumentsApiUploadProductDocumentRequest} requestParameters Request parameters.
736
736
  * @param {*} [options] Override http request option.
@@ -33,7 +33,7 @@ const FormData = require('form-data');
33
33
  export const SearchKeywordsApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
36
+ * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text. **Required Permissions** \"document-management.documents.view\"
37
37
  * @summary List keywords
38
38
  * @param {string} searchText Text to search in the documents.
39
39
  * @param {string} [authorization] Bearer Token
@@ -91,7 +91,7 @@ export const SearchKeywordsApiFp = function(configuration?: Configuration) {
91
91
  const localVarAxiosParamCreator = SearchKeywordsApiAxiosParamCreator(configuration)
92
92
  return {
93
93
  /**
94
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
94
+ * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text. **Required Permissions** \"document-management.documents.view\"
95
95
  * @summary List keywords
96
96
  * @param {string} searchText Text to search in the documents.
97
97
  * @param {string} [authorization] Bearer Token
@@ -113,7 +113,7 @@ export const SearchKeywordsApiFactory = function (configuration?: Configuration,
113
113
  const localVarFp = SearchKeywordsApiFp(configuration)
114
114
  return {
115
115
  /**
116
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
116
+ * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text. **Required Permissions** \"document-management.documents.view\"
117
117
  * @summary List keywords
118
118
  * @param {string} searchText Text to search in the documents.
119
119
  * @param {string} [authorization] Bearer Token
@@ -155,7 +155,7 @@ export interface SearchKeywordsApiListSearchKeywordsRequest {
155
155
  */
156
156
  export class SearchKeywordsApi extends BaseAPI {
157
157
  /**
158
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
158
+ * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text. **Required Permissions** \"document-management.documents.view\"
159
159
  * @summary List keywords
160
160
  * @param {SearchKeywordsApiListSearchKeywordsRequest} requestParameters Request parameters.
161
161
  * @param {*} [options] Override http request option.
@@ -33,7 +33,7 @@ const FormData = require('form-data');
33
33
  export const SearchableDocumentOwnersApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- * Returns the list of the searchable document owners.
36
+ * Returns the list of the searchable document owners. **Required Permissions** \"document-management.documents.view\"
37
37
  * @summary List searchable document owners
38
38
  * @param {string} [authorization] Bearer Token
39
39
  * @param {number} [pageSize] Page size
@@ -119,7 +119,7 @@ export const SearchableDocumentOwnersApiFp = function(configuration?: Configurat
119
119
  const localVarAxiosParamCreator = SearchableDocumentOwnersApiAxiosParamCreator(configuration)
120
120
  return {
121
121
  /**
122
- * Returns the list of the searchable document owners.
122
+ * Returns the list of the searchable document owners. **Required Permissions** \"document-management.documents.view\"
123
123
  * @summary List searchable document owners
124
124
  * @param {string} [authorization] Bearer Token
125
125
  * @param {number} [pageSize] Page size
@@ -147,7 +147,7 @@ export const SearchableDocumentOwnersApiFactory = function (configuration?: Conf
147
147
  const localVarFp = SearchableDocumentOwnersApiFp(configuration)
148
148
  return {
149
149
  /**
150
- * Returns the list of the searchable document owners.
150
+ * Returns the list of the searchable document owners. **Required Permissions** \"document-management.documents.view\"
151
151
  * @summary List searchable document owners
152
152
  * @param {string} [authorization] Bearer Token
153
153
  * @param {number} [pageSize] Page size
@@ -237,7 +237,7 @@ export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
237
237
  */
238
238
  export class SearchableDocumentOwnersApi extends BaseAPI {
239
239
  /**
240
- * Returns the list of the searchable document owners.
240
+ * Returns the list of the searchable document owners. **Required Permissions** \"document-management.documents.view\"
241
241
  * @summary List searchable document owners
242
242
  * @param {SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest} requestParameters Request parameters.
243
243
  * @param {*} [options] Override http request option.