@emilgroup/document-sdk 1.22.0 → 1.22.1-beta.1
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/.openapi-generator/FILES +0 -38
- package/README.md +2 -2
- package/api/default-api.ts +8 -4
- package/api/document-templates-api.ts +79 -75
- package/api/documents-api.ts +18 -30
- package/api/docx-templates-api.ts +16 -28
- package/api/layouts-api.ts +18 -28
- package/api/product-documents-api.ts +19 -226
- package/api/search-keywords-api.ts +2 -4
- package/api/searchable-document-owners-api.ts +2 -4
- package/api/searchable-documents-api.ts +20 -20
- package/dist/api/default-api.d.ts +8 -4
- package/dist/api/default-api.js +8 -4
- package/dist/api/document-templates-api.d.ts +62 -67
- package/dist/api/document-templates-api.js +55 -42
- package/dist/api/documents-api.d.ts +25 -31
- package/dist/api/documents-api.js +4 -4
- package/dist/api/docx-templates-api.d.ts +22 -28
- package/dist/api/docx-templates-api.js +4 -4
- package/dist/api/layouts-api.d.ts +23 -28
- package/dist/api/layouts-api.js +8 -8
- package/dist/api/product-documents-api.d.ts +19 -141
- package/dist/api/product-documents-api.js +9 -143
- package/dist/api/search-keywords-api.d.ts +3 -4
- package/dist/api/searchable-document-owners-api.d.ts +3 -4
- package/dist/api/searchable-documents-api.d.ts +16 -17
- package/dist/api/searchable-documents-api.js +15 -13
- package/dist/models/create-doc-template-request-dto.d.ts +2 -2
- package/dist/models/create-document-request-dto.d.ts +10 -10
- package/dist/models/create-presigned-post-request-dto.d.ts +4 -4
- package/dist/models/index.d.ts +0 -38
- package/dist/models/index.js +0 -38
- package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
- package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-documents-request-dto.js +0 -7
- package/dist/models/update-doc-template-request-dto.d.ts +2 -2
- package/dist/models/update-document-request-dto.d.ts +5 -5
- package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
- package/dist/models/upload-product-document-request-dto.d.ts +2 -2
- package/models/create-doc-template-request-dto.ts +2 -2
- package/models/create-document-request-dto.ts +10 -10
- package/models/create-presigned-post-request-dto.ts +4 -4
- package/models/index.ts +0 -38
- package/models/list-searchable-document-owners-request-dto.ts +1 -11
- package/models/list-searchable-documents-request-dto.ts +1 -11
- package/models/update-doc-template-request-dto.ts +2 -2
- package/models/update-document-request-dto.ts +5 -5
- package/models/upload-docx-template-request-dto.ts +1 -1
- package/models/upload-product-document-request-dto.ts +2 -2
- package/package.json +1 -1
- package/dist/models/create-doc-template-response-class.d.ts +0 -25
- package/dist/models/create-doc-template-response-class.js +0 -15
- package/dist/models/create-document-sync-response-class.d.ts +0 -25
- package/dist/models/create-document-sync-response-class.js +0 -15
- package/dist/models/create-layout-response-class.d.ts +0 -25
- package/dist/models/create-layout-response-class.js +0 -15
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/dist/models/delete-response-class.d.ts +0 -24
- package/dist/models/delete-response-class.js +0 -15
- package/dist/models/doc-template-class.d.ts +0 -92
- package/dist/models/doc-template-class.js +0 -15
- package/dist/models/document-class.d.ts +0 -165
- package/dist/models/document-class.js +0 -53
- package/dist/models/docx-template-class.d.ts +0 -90
- package/dist/models/docx-template-class.js +0 -15
- package/dist/models/download-document-request-dto.d.ts +0 -30
- package/dist/models/download-document-request-dto.js +0 -15
- package/dist/models/get-doc-template-request-dto.d.ts +0 -30
- package/dist/models/get-doc-template-request-dto.js +0 -15
- package/dist/models/get-doc-template-response-class.d.ts +0 -25
- package/dist/models/get-doc-template-response-class.js +0 -15
- package/dist/models/get-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-document-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
- package/dist/models/get-docx-template-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-response-class.d.ts +0 -25
- package/dist/models/get-docx-template-response-class.js +0 -15
- package/dist/models/get-layout-response-class.d.ts +0 -25
- package/dist/models/get-layout-response-class.js +0 -15
- package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-product-document-download-url-response-class.js +0 -15
- package/dist/models/get-product-document-response-class.d.ts +0 -25
- package/dist/models/get-product-document-response-class.js +0 -15
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
- package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
- package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
- package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
- package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
- package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
- package/dist/models/html-template-class.d.ts +0 -66
- package/dist/models/html-template-class.js +0 -21
- package/dist/models/layout-class.d.ts +0 -79
- package/dist/models/layout-class.js +0 -15
- package/dist/models/list-doc-template-request-dto.d.ts +0 -54
- package/dist/models/list-doc-template-request-dto.js +0 -15
- package/dist/models/list-doc-templates-response-class.d.ts +0 -31
- package/dist/models/list-doc-templates-response-class.js +0 -15
- package/dist/models/list-documents-response-class.d.ts +0 -31
- package/dist/models/list-documents-response-class.js +0 -15
- package/dist/models/list-docx-templates-response-class.d.ts +0 -31
- package/dist/models/list-docx-templates-response-class.js +0 -15
- package/dist/models/list-layouts-response-class.d.ts +0 -31
- package/dist/models/list-layouts-response-class.js +0 -15
- package/dist/models/list-product-documents-response-class.d.ts +0 -31
- package/dist/models/list-product-documents-response-class.js +0 -15
- package/dist/models/list-search-keywords-response-class.d.ts +0 -24
- package/dist/models/list-search-keywords-response-class.js +0 -15
- package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
- package/dist/models/list-searchable-document-owners-response-class.js +0 -15
- package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
- package/dist/models/list-searchable-documents-response-class.js +0 -15
- package/dist/models/product-document-class.d.ts +0 -117
- package/dist/models/product-document-class.js +0 -24
- package/dist/models/searchable-document-class.d.ts +0 -66
- package/dist/models/searchable-document-class.js +0 -15
- package/dist/models/searchable-document-owner-class.d.ts +0 -30
- package/dist/models/searchable-document-owner-class.js +0 -15
- package/dist/models/update-doc-template-response-class.d.ts +0 -25
- package/dist/models/update-doc-template-response-class.js +0 -15
- package/dist/models/update-document-response-class.d.ts +0 -25
- package/dist/models/update-document-response-class.js +0 -15
- package/dist/models/update-docx-template-response-class.d.ts +0 -25
- package/dist/models/update-docx-template-response-class.js +0 -15
- package/dist/models/update-layout-response-class.d.ts +0 -25
- package/dist/models/update-layout-response-class.js +0 -15
- package/models/create-doc-template-response-class.ts +0 -31
- package/models/create-document-sync-response-class.ts +0 -31
- package/models/create-layout-response-class.ts +0 -31
- package/models/create-presigned-post-response-class.ts +0 -36
- package/models/delete-response-class.ts +0 -30
- package/models/doc-template-class.ts +0 -98
- package/models/document-class.ts +0 -175
- package/models/docx-template-class.ts +0 -96
- package/models/download-document-request-dto.ts +0 -36
- package/models/get-doc-template-request-dto.ts +0 -36
- package/models/get-doc-template-response-class.ts +0 -31
- package/models/get-document-download-url-response-class.ts +0 -30
- package/models/get-docx-template-download-url-response-class.ts +0 -30
- package/models/get-docx-template-response-class.ts +0 -31
- package/models/get-layout-response-class.ts +0 -31
- package/models/get-product-document-download-url-response-class.ts +0 -30
- package/models/get-product-document-response-class.ts +0 -31
- package/models/get-signed-s3-key-url-response-class.ts +0 -30
- package/models/grpc-create-doc-template-request-dto.ts +0 -61
- package/models/grpc-update-doc-template-request-dto.ts +0 -67
- package/models/html-template-class.ts +0 -75
- package/models/layout-class.ts +0 -85
- package/models/list-doc-template-request-dto.ts +0 -60
- package/models/list-doc-templates-response-class.ts +0 -37
- package/models/list-documents-response-class.ts +0 -37
- package/models/list-docx-templates-response-class.ts +0 -37
- package/models/list-layouts-response-class.ts +0 -37
- package/models/list-product-documents-response-class.ts +0 -37
- package/models/list-search-keywords-response-class.ts +0 -30
- package/models/list-searchable-document-owners-response-class.ts +0 -31
- package/models/list-searchable-documents-response-class.ts +0 -37
- package/models/product-document-class.ts +0 -126
- package/models/searchable-document-class.ts +0 -72
- package/models/searchable-document-owner-class.ts +0 -36
- package/models/update-doc-template-response-class.ts +0 -31
- package/models/update-document-response-class.ts +0 -31
- package/models/update-docx-template-response-class.ts +0 -31
- package/models/update-layout-response-class.ts +0 -31
package/api/documents-api.ts
CHANGED
|
@@ -23,21 +23,9 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateDocumentRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { CreateDocumentSyncResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
26
|
import { CreatePresignedPostRequestDto } from '../models';
|
|
29
27
|
// @ts-ignore
|
|
30
|
-
import { CreatePresignedPostResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { GetDocumentDownloadUrlResponseClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { GetSignedS3KeyUrlResponseClass } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { ListDocumentsResponseClass } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
28
|
import { UpdateDocumentRequestDto } from '../models';
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
import { UpdateDocumentResponseClass } from '../models';
|
|
41
29
|
/**
|
|
42
30
|
* DocumentsApi - axios parameter creator
|
|
43
31
|
* @export
|
|
@@ -277,7 +265,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
277
265
|
};
|
|
278
266
|
},
|
|
279
267
|
/**
|
|
280
|
-
* Returns a list of documents you have previously created.
|
|
268
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
281
269
|
* @summary List documents
|
|
282
270
|
* @param {string} [authorization] Bearer Token
|
|
283
271
|
* @param {number} [pageSize] Page size
|
|
@@ -421,7 +409,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
421
409
|
* @param {*} [options] Override http request option.
|
|
422
410
|
* @throws {RequiredError}
|
|
423
411
|
*/
|
|
424
|
-
async createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
412
|
+
async createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
425
413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDocument(createDocumentRequestDto, authorization, options);
|
|
426
414
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
415
|
},
|
|
@@ -433,7 +421,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
433
421
|
* @param {*} [options] Override http request option.
|
|
434
422
|
* @throws {RequiredError}
|
|
435
423
|
*/
|
|
436
|
-
async createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
424
|
+
async createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
437
425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPresignedPost(createPresignedPostRequestDto, authorization, options);
|
|
438
426
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
439
427
|
},
|
|
@@ -445,7 +433,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
445
433
|
* @param {*} [options] Override http request option.
|
|
446
434
|
* @throws {RequiredError}
|
|
447
435
|
*/
|
|
448
|
-
async deleteDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
436
|
+
async deleteDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
449
437
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDocument(code, authorization, options);
|
|
450
438
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
451
439
|
},
|
|
@@ -457,7 +445,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
457
445
|
* @param {*} [options] Override http request option.
|
|
458
446
|
* @throws {RequiredError}
|
|
459
447
|
*/
|
|
460
|
-
async getDocumentDownloadUrl(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
448
|
+
async getDocumentDownloadUrl(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
461
449
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentDownloadUrl(code, authorization, options);
|
|
462
450
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
463
451
|
},
|
|
@@ -469,12 +457,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
469
457
|
* @param {*} [options] Override http request option.
|
|
470
458
|
* @throws {RequiredError}
|
|
471
459
|
*/
|
|
472
|
-
async getSignedS3keyUrl(s3Key: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
460
|
+
async getSignedS3keyUrl(s3Key: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
473
461
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSignedS3keyUrl(s3Key, authorization, options);
|
|
474
462
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
475
463
|
},
|
|
476
464
|
/**
|
|
477
|
-
* Returns a list of documents you have previously created.
|
|
465
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
478
466
|
* @summary List documents
|
|
479
467
|
* @param {string} [authorization] Bearer Token
|
|
480
468
|
* @param {number} [pageSize] Page size
|
|
@@ -487,7 +475,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
487
475
|
* @param {*} [options] Override http request option.
|
|
488
476
|
* @throws {RequiredError}
|
|
489
477
|
*/
|
|
490
|
-
async listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
478
|
+
async listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
491
479
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
492
480
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
493
481
|
},
|
|
@@ -500,7 +488,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
500
488
|
* @param {*} [options] Override http request option.
|
|
501
489
|
* @throws {RequiredError}
|
|
502
490
|
*/
|
|
503
|
-
async updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
491
|
+
async updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
504
492
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocument(code, updateDocumentRequestDto, authorization, options);
|
|
505
493
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
506
494
|
},
|
|
@@ -522,7 +510,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
522
510
|
* @param {*} [options] Override http request option.
|
|
523
511
|
* @throws {RequiredError}
|
|
524
512
|
*/
|
|
525
|
-
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
513
|
+
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
526
514
|
return localVarFp.createDocument(createDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
527
515
|
},
|
|
528
516
|
/**
|
|
@@ -533,7 +521,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
533
521
|
* @param {*} [options] Override http request option.
|
|
534
522
|
* @throws {RequiredError}
|
|
535
523
|
*/
|
|
536
|
-
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
524
|
+
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
537
525
|
return localVarFp.createPresignedPost(createPresignedPostRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
538
526
|
},
|
|
539
527
|
/**
|
|
@@ -544,7 +532,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
544
532
|
* @param {*} [options] Override http request option.
|
|
545
533
|
* @throws {RequiredError}
|
|
546
534
|
*/
|
|
547
|
-
deleteDocument(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
535
|
+
deleteDocument(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
548
536
|
return localVarFp.deleteDocument(code, authorization, options).then((request) => request(axios, basePath));
|
|
549
537
|
},
|
|
550
538
|
/**
|
|
@@ -555,7 +543,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
555
543
|
* @param {*} [options] Override http request option.
|
|
556
544
|
* @throws {RequiredError}
|
|
557
545
|
*/
|
|
558
|
-
getDocumentDownloadUrl(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
546
|
+
getDocumentDownloadUrl(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
559
547
|
return localVarFp.getDocumentDownloadUrl(code, authorization, options).then((request) => request(axios, basePath));
|
|
560
548
|
},
|
|
561
549
|
/**
|
|
@@ -566,11 +554,11 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
566
554
|
* @param {*} [options] Override http request option.
|
|
567
555
|
* @throws {RequiredError}
|
|
568
556
|
*/
|
|
569
|
-
getSignedS3keyUrl(s3Key: string, authorization?: string, options?: any): AxiosPromise<
|
|
557
|
+
getSignedS3keyUrl(s3Key: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
570
558
|
return localVarFp.getSignedS3keyUrl(s3Key, authorization, options).then((request) => request(axios, basePath));
|
|
571
559
|
},
|
|
572
560
|
/**
|
|
573
|
-
* Returns a list of documents you have previously created.
|
|
561
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
574
562
|
* @summary List documents
|
|
575
563
|
* @param {string} [authorization] Bearer Token
|
|
576
564
|
* @param {number} [pageSize] Page size
|
|
@@ -583,7 +571,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
583
571
|
* @param {*} [options] Override http request option.
|
|
584
572
|
* @throws {RequiredError}
|
|
585
573
|
*/
|
|
586
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
574
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
587
575
|
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
588
576
|
},
|
|
589
577
|
/**
|
|
@@ -595,7 +583,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
595
583
|
* @param {*} [options] Override http request option.
|
|
596
584
|
* @throws {RequiredError}
|
|
597
585
|
*/
|
|
598
|
-
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
586
|
+
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
599
587
|
return localVarFp.updateDocument(code, updateDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
600
588
|
},
|
|
601
589
|
};
|
|
@@ -865,7 +853,7 @@ export class DocumentsApi extends BaseAPI {
|
|
|
865
853
|
}
|
|
866
854
|
|
|
867
855
|
/**
|
|
868
|
-
* Returns a list of documents you have previously created.
|
|
856
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
869
857
|
* @summary List documents
|
|
870
858
|
* @param {DocumentsApiListDocumentsRequest} requestParameters Request parameters.
|
|
871
859
|
* @param {*} [options] Override http request option.
|
|
@@ -21,20 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { CreatePresignedPostResponseClass } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { DeleteResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { GetDocxTemplateDownloadUrlResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { GetDocxTemplateResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { ListDocxTemplatesResponseClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
24
|
import { SharedUpdateDocxTemplateRequestDto } from '../models';
|
|
35
25
|
// @ts-ignore
|
|
36
|
-
import { UpdateDocxTemplateResponseClass } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
26
|
import { UploadDocxTemplateRequestDto } from '../models';
|
|
39
27
|
/**
|
|
40
28
|
* DocxTemplatesApi - axios parameter creator
|
|
@@ -178,7 +166,7 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
178
166
|
};
|
|
179
167
|
},
|
|
180
168
|
/**
|
|
181
|
-
* Returns a list of docx templates you have previously created.
|
|
169
|
+
* 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.
|
|
182
170
|
* @summary List docx templates
|
|
183
171
|
* @param {string} [authorization] Bearer Token
|
|
184
172
|
* @param {number} [pageSize] Page size
|
|
@@ -369,7 +357,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
369
357
|
* @param {*} [options] Override http request option.
|
|
370
358
|
* @throws {RequiredError}
|
|
371
359
|
*/
|
|
372
|
-
async deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
360
|
+
async deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
373
361
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDocxTemplate(code, authorization, options);
|
|
374
362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
375
363
|
},
|
|
@@ -381,7 +369,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
381
369
|
* @param {*} [options] Override http request option.
|
|
382
370
|
* @throws {RequiredError}
|
|
383
371
|
*/
|
|
384
|
-
async downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
372
|
+
async downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
385
373
|
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadDocxTemplate(code, authorization, options);
|
|
386
374
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
387
375
|
},
|
|
@@ -393,12 +381,12 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
393
381
|
* @param {*} [options] Override http request option.
|
|
394
382
|
* @throws {RequiredError}
|
|
395
383
|
*/
|
|
396
|
-
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
384
|
+
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
397
385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocxTemplate(code, authorization, options);
|
|
398
386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
399
387
|
},
|
|
400
388
|
/**
|
|
401
|
-
* Returns a list of docx templates you have previously created.
|
|
389
|
+
* 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.
|
|
402
390
|
* @summary List docx templates
|
|
403
391
|
* @param {string} [authorization] Bearer Token
|
|
404
392
|
* @param {number} [pageSize] Page size
|
|
@@ -411,7 +399,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
411
399
|
* @param {*} [options] Override http request option.
|
|
412
400
|
* @throws {RequiredError}
|
|
413
401
|
*/
|
|
414
|
-
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
402
|
+
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
415
403
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
416
404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
417
405
|
},
|
|
@@ -424,7 +412,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
424
412
|
* @param {*} [options] Override http request option.
|
|
425
413
|
* @throws {RequiredError}
|
|
426
414
|
*/
|
|
427
|
-
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
415
|
+
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
428
416
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options);
|
|
429
417
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
430
418
|
},
|
|
@@ -436,7 +424,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
436
424
|
* @param {*} [options] Override http request option.
|
|
437
425
|
* @throws {RequiredError}
|
|
438
426
|
*/
|
|
439
|
-
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
427
|
+
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
440
428
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options);
|
|
441
429
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
442
430
|
},
|
|
@@ -458,7 +446,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
458
446
|
* @param {*} [options] Override http request option.
|
|
459
447
|
* @throws {RequiredError}
|
|
460
448
|
*/
|
|
461
|
-
deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
449
|
+
deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
462
450
|
return localVarFp.deleteDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
463
451
|
},
|
|
464
452
|
/**
|
|
@@ -469,7 +457,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
469
457
|
* @param {*} [options] Override http request option.
|
|
470
458
|
* @throws {RequiredError}
|
|
471
459
|
*/
|
|
472
|
-
downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
460
|
+
downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
473
461
|
return localVarFp.downloadDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
474
462
|
},
|
|
475
463
|
/**
|
|
@@ -480,11 +468,11 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
480
468
|
* @param {*} [options] Override http request option.
|
|
481
469
|
* @throws {RequiredError}
|
|
482
470
|
*/
|
|
483
|
-
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
471
|
+
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
484
472
|
return localVarFp.getDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
485
473
|
},
|
|
486
474
|
/**
|
|
487
|
-
* Returns a list of docx templates you have previously created.
|
|
475
|
+
* 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.
|
|
488
476
|
* @summary List docx templates
|
|
489
477
|
* @param {string} [authorization] Bearer Token
|
|
490
478
|
* @param {number} [pageSize] Page size
|
|
@@ -497,7 +485,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
497
485
|
* @param {*} [options] Override http request option.
|
|
498
486
|
* @throws {RequiredError}
|
|
499
487
|
*/
|
|
500
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
488
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
501
489
|
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
502
490
|
},
|
|
503
491
|
/**
|
|
@@ -509,7 +497,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
509
497
|
* @param {*} [options] Override http request option.
|
|
510
498
|
* @throws {RequiredError}
|
|
511
499
|
*/
|
|
512
|
-
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
500
|
+
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
513
501
|
return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
514
502
|
},
|
|
515
503
|
/**
|
|
@@ -520,7 +508,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
520
508
|
* @param {*} [options] Override http request option.
|
|
521
509
|
* @throws {RequiredError}
|
|
522
510
|
*/
|
|
523
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
511
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
524
512
|
return localVarFp.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
525
513
|
},
|
|
526
514
|
};
|
|
@@ -745,7 +733,7 @@ export class DocxTemplatesApi extends BaseAPI {
|
|
|
745
733
|
}
|
|
746
734
|
|
|
747
735
|
/**
|
|
748
|
-
* Returns a list of docx templates you have previously created.
|
|
736
|
+
* 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.
|
|
749
737
|
* @summary List docx templates
|
|
750
738
|
* @param {DocxTemplatesApiListDocxTemplatesRequest} requestParameters Request parameters.
|
|
751
739
|
* @param {*} [options] Override http request option.
|
package/api/layouts-api.ts
CHANGED
|
@@ -23,17 +23,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateLayoutRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { CreateLayoutResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { DeleteResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { GetLayoutResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { ListLayoutsResponseClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
26
|
import { UpdateLayoutRequestDto } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { UpdateLayoutResponseClass } from '../models';
|
|
37
27
|
/**
|
|
38
28
|
* LayoutsApi - axios parameter creator
|
|
39
29
|
* @export
|
|
@@ -133,7 +123,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
133
123
|
};
|
|
134
124
|
},
|
|
135
125
|
/**
|
|
136
|
-
* Retrieves the details of the layout that was previously created.
|
|
126
|
+
* 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.
|
|
137
127
|
* @summary Retrieve the layout
|
|
138
128
|
* @param {string} id
|
|
139
129
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -185,7 +175,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
185
175
|
};
|
|
186
176
|
},
|
|
187
177
|
/**
|
|
188
|
-
* Returns a list of layouts you have previously created.
|
|
178
|
+
* 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.
|
|
189
179
|
* @summary List layouts
|
|
190
180
|
* @param {string} [authorization] Bearer Token
|
|
191
181
|
* @param {number} [pageSize] Page size
|
|
@@ -329,7 +319,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
329
319
|
* @param {*} [options] Override http request option.
|
|
330
320
|
* @throws {RequiredError}
|
|
331
321
|
*/
|
|
332
|
-
async createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
322
|
+
async createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
333
323
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createLayout(createLayoutRequestDto, authorization, options);
|
|
334
324
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
335
325
|
},
|
|
@@ -341,12 +331,12 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
341
331
|
* @param {*} [options] Override http request option.
|
|
342
332
|
* @throws {RequiredError}
|
|
343
333
|
*/
|
|
344
|
-
async deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
334
|
+
async deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
345
335
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLayout(id, authorization, options);
|
|
346
336
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
347
337
|
},
|
|
348
338
|
/**
|
|
349
|
-
* Retrieves the details of the layout that was previously created.
|
|
339
|
+
* 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.
|
|
350
340
|
* @summary Retrieve the layout
|
|
351
341
|
* @param {string} id
|
|
352
342
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -354,12 +344,12 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
354
344
|
* @param {*} [options] Override http request option.
|
|
355
345
|
* @throws {RequiredError}
|
|
356
346
|
*/
|
|
357
|
-
async getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
347
|
+
async getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
358
348
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getLayout(id, id2, authorization, options);
|
|
359
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
360
350
|
},
|
|
361
351
|
/**
|
|
362
|
-
* Returns a list of layouts you have previously created.
|
|
352
|
+
* 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.
|
|
363
353
|
* @summary List layouts
|
|
364
354
|
* @param {string} [authorization] Bearer Token
|
|
365
355
|
* @param {number} [pageSize] Page size
|
|
@@ -372,7 +362,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
372
362
|
* @param {*} [options] Override http request option.
|
|
373
363
|
* @throws {RequiredError}
|
|
374
364
|
*/
|
|
375
|
-
async listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
365
|
+
async listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
376
366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
377
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
378
368
|
},
|
|
@@ -385,7 +375,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
385
375
|
* @param {*} [options] Override http request option.
|
|
386
376
|
* @throws {RequiredError}
|
|
387
377
|
*/
|
|
388
|
-
async updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
378
|
+
async updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
389
379
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLayout(id, updateLayoutRequestDto, authorization, options);
|
|
390
380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
391
381
|
},
|
|
@@ -407,7 +397,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
407
397
|
* @param {*} [options] Override http request option.
|
|
408
398
|
* @throws {RequiredError}
|
|
409
399
|
*/
|
|
410
|
-
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
400
|
+
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
411
401
|
return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
412
402
|
},
|
|
413
403
|
/**
|
|
@@ -418,11 +408,11 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
418
408
|
* @param {*} [options] Override http request option.
|
|
419
409
|
* @throws {RequiredError}
|
|
420
410
|
*/
|
|
421
|
-
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<
|
|
411
|
+
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
422
412
|
return localVarFp.deleteLayout(id, authorization, options).then((request) => request(axios, basePath));
|
|
423
413
|
},
|
|
424
414
|
/**
|
|
425
|
-
* Retrieves the details of the layout that was previously created.
|
|
415
|
+
* 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.
|
|
426
416
|
* @summary Retrieve the layout
|
|
427
417
|
* @param {string} id
|
|
428
418
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -430,11 +420,11 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
430
420
|
* @param {*} [options] Override http request option.
|
|
431
421
|
* @throws {RequiredError}
|
|
432
422
|
*/
|
|
433
|
-
getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<
|
|
423
|
+
getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
434
424
|
return localVarFp.getLayout(id, id2, authorization, options).then((request) => request(axios, basePath));
|
|
435
425
|
},
|
|
436
426
|
/**
|
|
437
|
-
* Returns a list of layouts you have previously created.
|
|
427
|
+
* 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.
|
|
438
428
|
* @summary List layouts
|
|
439
429
|
* @param {string} [authorization] Bearer Token
|
|
440
430
|
* @param {number} [pageSize] Page size
|
|
@@ -447,7 +437,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
447
437
|
* @param {*} [options] Override http request option.
|
|
448
438
|
* @throws {RequiredError}
|
|
449
439
|
*/
|
|
450
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
440
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
451
441
|
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
452
442
|
},
|
|
453
443
|
/**
|
|
@@ -459,7 +449,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
459
449
|
* @param {*} [options] Override http request option.
|
|
460
450
|
* @throws {RequiredError}
|
|
461
451
|
*/
|
|
462
|
-
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
452
|
+
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
463
453
|
return localVarFp.updateLayout(id, updateLayoutRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
464
454
|
},
|
|
465
455
|
};
|
|
@@ -658,7 +648,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
658
648
|
}
|
|
659
649
|
|
|
660
650
|
/**
|
|
661
|
-
* Retrieves the details of the layout that was previously created.
|
|
651
|
+
* 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.
|
|
662
652
|
* @summary Retrieve the layout
|
|
663
653
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
664
654
|
* @param {*} [options] Override http request option.
|
|
@@ -670,7 +660,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
670
660
|
}
|
|
671
661
|
|
|
672
662
|
/**
|
|
673
|
-
* Returns a list of layouts you have previously created.
|
|
663
|
+
* 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.
|
|
674
664
|
* @summary List layouts
|
|
675
665
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
676
666
|
* @param {*} [options] Override http request option.
|