@emilgroup/document-sdk-node 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
|
// URLSearchParams not necessarily used
|
|
42
30
|
// @ts-ignore
|
|
43
31
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -281,7 +269,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
281
269
|
};
|
|
282
270
|
},
|
|
283
271
|
/**
|
|
284
|
-
* Returns a list of documents you have previously created.
|
|
272
|
+
* 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.
|
|
285
273
|
* @summary List documents
|
|
286
274
|
* @param {string} [authorization] Bearer Token
|
|
287
275
|
* @param {number} [pageSize] Page size
|
|
@@ -425,7 +413,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
425
413
|
* @param {*} [options] Override http request option.
|
|
426
414
|
* @throws {RequiredError}
|
|
427
415
|
*/
|
|
428
|
-
async createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
416
|
+
async createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
429
417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDocument(createDocumentRequestDto, authorization, options);
|
|
430
418
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
431
419
|
},
|
|
@@ -437,7 +425,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
437
425
|
* @param {*} [options] Override http request option.
|
|
438
426
|
* @throws {RequiredError}
|
|
439
427
|
*/
|
|
440
|
-
async createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
428
|
+
async createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
441
429
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPresignedPost(createPresignedPostRequestDto, authorization, options);
|
|
442
430
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
443
431
|
},
|
|
@@ -449,7 +437,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
449
437
|
* @param {*} [options] Override http request option.
|
|
450
438
|
* @throws {RequiredError}
|
|
451
439
|
*/
|
|
452
|
-
async deleteDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
440
|
+
async deleteDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
453
441
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDocument(code, authorization, options);
|
|
454
442
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
455
443
|
},
|
|
@@ -461,7 +449,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
461
449
|
* @param {*} [options] Override http request option.
|
|
462
450
|
* @throws {RequiredError}
|
|
463
451
|
*/
|
|
464
|
-
async getDocumentDownloadUrl(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
452
|
+
async getDocumentDownloadUrl(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
465
453
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentDownloadUrl(code, authorization, options);
|
|
466
454
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
467
455
|
},
|
|
@@ -473,12 +461,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
473
461
|
* @param {*} [options] Override http request option.
|
|
474
462
|
* @throws {RequiredError}
|
|
475
463
|
*/
|
|
476
|
-
async getSignedS3keyUrl(s3Key: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
464
|
+
async getSignedS3keyUrl(s3Key: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
477
465
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSignedS3keyUrl(s3Key, authorization, options);
|
|
478
466
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
479
467
|
},
|
|
480
468
|
/**
|
|
481
|
-
* Returns a list of documents you have previously created.
|
|
469
|
+
* 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.
|
|
482
470
|
* @summary List documents
|
|
483
471
|
* @param {string} [authorization] Bearer Token
|
|
484
472
|
* @param {number} [pageSize] Page size
|
|
@@ -491,7 +479,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
491
479
|
* @param {*} [options] Override http request option.
|
|
492
480
|
* @throws {RequiredError}
|
|
493
481
|
*/
|
|
494
|
-
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<
|
|
482
|
+
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>> {
|
|
495
483
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
496
484
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
497
485
|
},
|
|
@@ -504,7 +492,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
504
492
|
* @param {*} [options] Override http request option.
|
|
505
493
|
* @throws {RequiredError}
|
|
506
494
|
*/
|
|
507
|
-
async updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
495
|
+
async updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
508
496
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocument(code, updateDocumentRequestDto, authorization, options);
|
|
509
497
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
510
498
|
},
|
|
@@ -526,7 +514,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
526
514
|
* @param {*} [options] Override http request option.
|
|
527
515
|
* @throws {RequiredError}
|
|
528
516
|
*/
|
|
529
|
-
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
517
|
+
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
530
518
|
return localVarFp.createDocument(createDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
531
519
|
},
|
|
532
520
|
/**
|
|
@@ -537,7 +525,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
537
525
|
* @param {*} [options] Override http request option.
|
|
538
526
|
* @throws {RequiredError}
|
|
539
527
|
*/
|
|
540
|
-
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
528
|
+
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
541
529
|
return localVarFp.createPresignedPost(createPresignedPostRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
542
530
|
},
|
|
543
531
|
/**
|
|
@@ -548,7 +536,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
548
536
|
* @param {*} [options] Override http request option.
|
|
549
537
|
* @throws {RequiredError}
|
|
550
538
|
*/
|
|
551
|
-
deleteDocument(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
539
|
+
deleteDocument(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
552
540
|
return localVarFp.deleteDocument(code, authorization, options).then((request) => request(axios, basePath));
|
|
553
541
|
},
|
|
554
542
|
/**
|
|
@@ -559,7 +547,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
559
547
|
* @param {*} [options] Override http request option.
|
|
560
548
|
* @throws {RequiredError}
|
|
561
549
|
*/
|
|
562
|
-
getDocumentDownloadUrl(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
550
|
+
getDocumentDownloadUrl(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
563
551
|
return localVarFp.getDocumentDownloadUrl(code, authorization, options).then((request) => request(axios, basePath));
|
|
564
552
|
},
|
|
565
553
|
/**
|
|
@@ -570,11 +558,11 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
570
558
|
* @param {*} [options] Override http request option.
|
|
571
559
|
* @throws {RequiredError}
|
|
572
560
|
*/
|
|
573
|
-
getSignedS3keyUrl(s3Key: string, authorization?: string, options?: any): AxiosPromise<
|
|
561
|
+
getSignedS3keyUrl(s3Key: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
574
562
|
return localVarFp.getSignedS3keyUrl(s3Key, authorization, options).then((request) => request(axios, basePath));
|
|
575
563
|
},
|
|
576
564
|
/**
|
|
577
|
-
* Returns a list of documents you have previously created.
|
|
565
|
+
* 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.
|
|
578
566
|
* @summary List documents
|
|
579
567
|
* @param {string} [authorization] Bearer Token
|
|
580
568
|
* @param {number} [pageSize] Page size
|
|
@@ -587,7 +575,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
587
575
|
* @param {*} [options] Override http request option.
|
|
588
576
|
* @throws {RequiredError}
|
|
589
577
|
*/
|
|
590
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
578
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
591
579
|
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
592
580
|
},
|
|
593
581
|
/**
|
|
@@ -599,7 +587,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
599
587
|
* @param {*} [options] Override http request option.
|
|
600
588
|
* @throws {RequiredError}
|
|
601
589
|
*/
|
|
602
|
-
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
590
|
+
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
603
591
|
return localVarFp.updateDocument(code, updateDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
604
592
|
},
|
|
605
593
|
};
|
|
@@ -869,7 +857,7 @@ export class DocumentsApi extends BaseAPI {
|
|
|
869
857
|
}
|
|
870
858
|
|
|
871
859
|
/**
|
|
872
|
-
* Returns a list of documents you have previously created.
|
|
860
|
+
* 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.
|
|
873
861
|
* @summary List documents
|
|
874
862
|
* @param {DocumentsApiListDocumentsRequest} requestParameters Request parameters.
|
|
875
863
|
* @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
|
// URLSearchParams not necessarily used
|
|
40
28
|
// @ts-ignore
|
|
@@ -182,7 +170,7 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
182
170
|
};
|
|
183
171
|
},
|
|
184
172
|
/**
|
|
185
|
-
* Returns a list of docx templates you have previously created.
|
|
173
|
+
* 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.
|
|
186
174
|
* @summary List docx templates
|
|
187
175
|
* @param {string} [authorization] Bearer Token
|
|
188
176
|
* @param {number} [pageSize] Page size
|
|
@@ -373,7 +361,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
373
361
|
* @param {*} [options] Override http request option.
|
|
374
362
|
* @throws {RequiredError}
|
|
375
363
|
*/
|
|
376
|
-
async deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
364
|
+
async deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
377
365
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDocxTemplate(code, authorization, options);
|
|
378
366
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
379
367
|
},
|
|
@@ -385,7 +373,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
385
373
|
* @param {*} [options] Override http request option.
|
|
386
374
|
* @throws {RequiredError}
|
|
387
375
|
*/
|
|
388
|
-
async downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
376
|
+
async downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
389
377
|
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadDocxTemplate(code, authorization, options);
|
|
390
378
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
391
379
|
},
|
|
@@ -397,12 +385,12 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
397
385
|
* @param {*} [options] Override http request option.
|
|
398
386
|
* @throws {RequiredError}
|
|
399
387
|
*/
|
|
400
|
-
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
388
|
+
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
401
389
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocxTemplate(code, authorization, options);
|
|
402
390
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
403
391
|
},
|
|
404
392
|
/**
|
|
405
|
-
* Returns a list of docx templates you have previously created.
|
|
393
|
+
* 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.
|
|
406
394
|
* @summary List docx templates
|
|
407
395
|
* @param {string} [authorization] Bearer Token
|
|
408
396
|
* @param {number} [pageSize] Page size
|
|
@@ -415,7 +403,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
415
403
|
* @param {*} [options] Override http request option.
|
|
416
404
|
* @throws {RequiredError}
|
|
417
405
|
*/
|
|
418
|
-
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<
|
|
406
|
+
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>> {
|
|
419
407
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
420
408
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
421
409
|
},
|
|
@@ -428,7 +416,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
428
416
|
* @param {*} [options] Override http request option.
|
|
429
417
|
* @throws {RequiredError}
|
|
430
418
|
*/
|
|
431
|
-
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
419
|
+
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
432
420
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options);
|
|
433
421
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
434
422
|
},
|
|
@@ -440,7 +428,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
440
428
|
* @param {*} [options] Override http request option.
|
|
441
429
|
* @throws {RequiredError}
|
|
442
430
|
*/
|
|
443
|
-
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
431
|
+
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
444
432
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options);
|
|
445
433
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
446
434
|
},
|
|
@@ -462,7 +450,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
462
450
|
* @param {*} [options] Override http request option.
|
|
463
451
|
* @throws {RequiredError}
|
|
464
452
|
*/
|
|
465
|
-
deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
453
|
+
deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
466
454
|
return localVarFp.deleteDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
467
455
|
},
|
|
468
456
|
/**
|
|
@@ -473,7 +461,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
473
461
|
* @param {*} [options] Override http request option.
|
|
474
462
|
* @throws {RequiredError}
|
|
475
463
|
*/
|
|
476
|
-
downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
464
|
+
downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
477
465
|
return localVarFp.downloadDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
478
466
|
},
|
|
479
467
|
/**
|
|
@@ -484,11 +472,11 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
484
472
|
* @param {*} [options] Override http request option.
|
|
485
473
|
* @throws {RequiredError}
|
|
486
474
|
*/
|
|
487
|
-
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
475
|
+
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
488
476
|
return localVarFp.getDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
489
477
|
},
|
|
490
478
|
/**
|
|
491
|
-
* Returns a list of docx templates you have previously created.
|
|
479
|
+
* 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.
|
|
492
480
|
* @summary List docx templates
|
|
493
481
|
* @param {string} [authorization] Bearer Token
|
|
494
482
|
* @param {number} [pageSize] Page size
|
|
@@ -501,7 +489,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
501
489
|
* @param {*} [options] Override http request option.
|
|
502
490
|
* @throws {RequiredError}
|
|
503
491
|
*/
|
|
504
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
492
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
505
493
|
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
506
494
|
},
|
|
507
495
|
/**
|
|
@@ -513,7 +501,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
513
501
|
* @param {*} [options] Override http request option.
|
|
514
502
|
* @throws {RequiredError}
|
|
515
503
|
*/
|
|
516
|
-
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
504
|
+
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
517
505
|
return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
518
506
|
},
|
|
519
507
|
/**
|
|
@@ -524,7 +512,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
524
512
|
* @param {*} [options] Override http request option.
|
|
525
513
|
* @throws {RequiredError}
|
|
526
514
|
*/
|
|
527
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
515
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
528
516
|
return localVarFp.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
529
517
|
},
|
|
530
518
|
};
|
|
@@ -749,7 +737,7 @@ export class DocxTemplatesApi extends BaseAPI {
|
|
|
749
737
|
}
|
|
750
738
|
|
|
751
739
|
/**
|
|
752
|
-
* Returns a list of docx templates you have previously created.
|
|
740
|
+
* 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.
|
|
753
741
|
* @summary List docx templates
|
|
754
742
|
* @param {DocxTemplatesApiListDocxTemplatesRequest} requestParameters Request parameters.
|
|
755
743
|
* @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
|
// URLSearchParams not necessarily used
|
|
38
28
|
// @ts-ignore
|
|
39
29
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -137,7 +127,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
137
127
|
};
|
|
138
128
|
},
|
|
139
129
|
/**
|
|
140
|
-
* Retrieves the details of the layout that was previously created.
|
|
130
|
+
* 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.
|
|
141
131
|
* @summary Retrieve the layout
|
|
142
132
|
* @param {string} id
|
|
143
133
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -189,7 +179,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
189
179
|
};
|
|
190
180
|
},
|
|
191
181
|
/**
|
|
192
|
-
* Returns a list of layouts you have previously created.
|
|
182
|
+
* 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.
|
|
193
183
|
* @summary List layouts
|
|
194
184
|
* @param {string} [authorization] Bearer Token
|
|
195
185
|
* @param {number} [pageSize] Page size
|
|
@@ -333,7 +323,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
333
323
|
* @param {*} [options] Override http request option.
|
|
334
324
|
* @throws {RequiredError}
|
|
335
325
|
*/
|
|
336
|
-
async createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
326
|
+
async createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
337
327
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createLayout(createLayoutRequestDto, authorization, options);
|
|
338
328
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
339
329
|
},
|
|
@@ -345,12 +335,12 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
345
335
|
* @param {*} [options] Override http request option.
|
|
346
336
|
* @throws {RequiredError}
|
|
347
337
|
*/
|
|
348
|
-
async deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
338
|
+
async deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
349
339
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLayout(id, authorization, options);
|
|
350
340
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
351
341
|
},
|
|
352
342
|
/**
|
|
353
|
-
* Retrieves the details of the layout that was previously created.
|
|
343
|
+
* 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.
|
|
354
344
|
* @summary Retrieve the layout
|
|
355
345
|
* @param {string} id
|
|
356
346
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -358,12 +348,12 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
358
348
|
* @param {*} [options] Override http request option.
|
|
359
349
|
* @throws {RequiredError}
|
|
360
350
|
*/
|
|
361
|
-
async getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
351
|
+
async getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
362
352
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getLayout(id, id2, authorization, options);
|
|
363
353
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
364
354
|
},
|
|
365
355
|
/**
|
|
366
|
-
* Returns a list of layouts you have previously created.
|
|
356
|
+
* 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.
|
|
367
357
|
* @summary List layouts
|
|
368
358
|
* @param {string} [authorization] Bearer Token
|
|
369
359
|
* @param {number} [pageSize] Page size
|
|
@@ -376,7 +366,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
376
366
|
* @param {*} [options] Override http request option.
|
|
377
367
|
* @throws {RequiredError}
|
|
378
368
|
*/
|
|
379
|
-
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<
|
|
369
|
+
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>> {
|
|
380
370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
381
371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
382
372
|
},
|
|
@@ -389,7 +379,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
389
379
|
* @param {*} [options] Override http request option.
|
|
390
380
|
* @throws {RequiredError}
|
|
391
381
|
*/
|
|
392
|
-
async updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
382
|
+
async updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
393
383
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLayout(id, updateLayoutRequestDto, authorization, options);
|
|
394
384
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
395
385
|
},
|
|
@@ -411,7 +401,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
411
401
|
* @param {*} [options] Override http request option.
|
|
412
402
|
* @throws {RequiredError}
|
|
413
403
|
*/
|
|
414
|
-
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
404
|
+
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
415
405
|
return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
416
406
|
},
|
|
417
407
|
/**
|
|
@@ -422,11 +412,11 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
422
412
|
* @param {*} [options] Override http request option.
|
|
423
413
|
* @throws {RequiredError}
|
|
424
414
|
*/
|
|
425
|
-
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<
|
|
415
|
+
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
426
416
|
return localVarFp.deleteLayout(id, authorization, options).then((request) => request(axios, basePath));
|
|
427
417
|
},
|
|
428
418
|
/**
|
|
429
|
-
* Retrieves the details of the layout that was previously created.
|
|
419
|
+
* 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.
|
|
430
420
|
* @summary Retrieve the layout
|
|
431
421
|
* @param {string} id
|
|
432
422
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -434,11 +424,11 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
434
424
|
* @param {*} [options] Override http request option.
|
|
435
425
|
* @throws {RequiredError}
|
|
436
426
|
*/
|
|
437
|
-
getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<
|
|
427
|
+
getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
438
428
|
return localVarFp.getLayout(id, id2, authorization, options).then((request) => request(axios, basePath));
|
|
439
429
|
},
|
|
440
430
|
/**
|
|
441
|
-
* Returns a list of layouts you have previously created.
|
|
431
|
+
* 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.
|
|
442
432
|
* @summary List layouts
|
|
443
433
|
* @param {string} [authorization] Bearer Token
|
|
444
434
|
* @param {number} [pageSize] Page size
|
|
@@ -451,7 +441,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
451
441
|
* @param {*} [options] Override http request option.
|
|
452
442
|
* @throws {RequiredError}
|
|
453
443
|
*/
|
|
454
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
444
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
455
445
|
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
456
446
|
},
|
|
457
447
|
/**
|
|
@@ -463,7 +453,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
463
453
|
* @param {*} [options] Override http request option.
|
|
464
454
|
* @throws {RequiredError}
|
|
465
455
|
*/
|
|
466
|
-
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
456
|
+
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
467
457
|
return localVarFp.updateLayout(id, updateLayoutRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
468
458
|
},
|
|
469
459
|
};
|
|
@@ -662,7 +652,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
662
652
|
}
|
|
663
653
|
|
|
664
654
|
/**
|
|
665
|
-
* Retrieves the details of the layout that was previously created.
|
|
655
|
+
* 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.
|
|
666
656
|
* @summary Retrieve the layout
|
|
667
657
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
668
658
|
* @param {*} [options] Override http request option.
|
|
@@ -674,7 +664,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
674
664
|
}
|
|
675
665
|
|
|
676
666
|
/**
|
|
677
|
-
* Returns a list of layouts you have previously created.
|
|
667
|
+
* 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.
|
|
678
668
|
* @summary List layouts
|
|
679
669
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
680
670
|
* @param {*} [options] Override http request option.
|