@emilgroup/document-sdk-node 1.10.0 → 1.11.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 +4 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +16 -8
- package/api/product-documents-api.ts +12 -25
- package/models/create-doc-template-request-dto.ts +2 -2
- package/models/create-document-request-dto.ts +3 -15
- package/models/create-layout-request-dto.ts +1 -1
- package/models/create-presigned-post-request-dto.ts +2 -2
- package/models/delete-product-document-request-dto.ts +1 -1
- package/models/doc-template-class.ts +2 -2
- package/models/document-class.ts +9 -15
- package/models/docx-template-class.ts +96 -0
- package/{dist/models/upload-product-document-request-dto.js → models/get-docx-template-response-class.ts} +18 -11
- package/models/index.ts +4 -0
- package/models/layout-class.ts +1 -1
- package/{dist/models/list-product-documents-response-class.d.ts → models/list-docx-templates-response-class.ts} +15 -9
- package/models/product-document-class.ts +3 -15
- package/models/update-doc-template-request-dto.ts +2 -2
- package/{dist/models/update-document-response-class.d.ts → models/update-docx-template-response-class.ts} +13 -7
- package/models/update-layout-request-dto.ts +1 -1
- package/models/upload-product-document-request-dto.ts +1 -1
- package/package.json +2 -2
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -200
- package/dist/api/document-templates-api.d.ts +0 -385
- package/dist/api/document-templates-api.js +0 -640
- package/dist/api/documents-api.d.ts +0 -488
- package/dist/api/documents-api.js +0 -821
- package/dist/api/docx-templates-api.d.ts +0 -428
- package/dist/api/docx-templates-api.js +0 -726
- package/dist/api/layouts-api.d.ts +0 -385
- package/dist/api/layouts-api.js +0 -642
- package/dist/api/product-documents-api.d.ts +0 -410
- package/dist/api/product-documents-api.js +0 -656
- package/dist/api/search-keywords-api.d.ts +0 -96
- package/dist/api/search-keywords-api.js +0 -229
- package/dist/api/searchable-document-owners-api.d.ts +0 -141
- package/dist/api/searchable-document-owners-api.js +0 -258
- package/dist/api/searchable-documents-api.d.ts +0 -114
- package/dist/api/searchable-documents-api.js +0 -243
- package/dist/api.d.ts +0 -20
- package/dist/api.js +0 -38
- package/dist/base.d.ts +0 -78
- package/dist/base.js +0 -394
- package/dist/common.d.ts +0 -92
- package/dist/common.js +0 -277
- package/dist/configuration.d.ts +0 -90
- package/dist/configuration.js +0 -44
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/create-doc-template-request-dto.d.ts +0 -55
- package/dist/models/create-doc-template-request-dto.js +0 -15
- 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-request-dto.d.ts +0 -173
- package/dist/models/create-document-request-dto.js +0 -70
- 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-html-template-dto.d.ts +0 -24
- package/dist/models/create-html-template-dto.js +0 -15
- package/dist/models/create-layout-request-dto.d.ts +0 -49
- package/dist/models/create-layout-request-dto.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-request-dto.d.ts +0 -134
- package/dist/models/create-presigned-post-request-dto.js +0 -52
- 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-layout-request-dto.d.ts +0 -24
- package/dist/models/delete-layout-request-dto.js +0 -15
- package/dist/models/delete-product-document-request-dto.d.ts +0 -30
- package/dist/models/delete-product-document-request-dto.js +0 -15
- package/dist/models/delete-request-dto.d.ts +0 -24
- package/dist/models/delete-request-dto.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 -163
- package/dist/models/document-class.js +0 -62
- 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-layout-request-dto.d.ts +0 -24
- package/dist/models/get-layout-request-dto.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/index.d.ts +0 -56
- package/dist/models/index.js +0 -72
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- 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-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.js +0 -15
- package/dist/models/list-request-dto.d.ts +0 -54
- package/dist/models/list-request-dto.js +0 -15
- package/dist/models/list-search-keywords-request-dto.d.ts +0 -24
- package/dist/models/list-search-keywords-request-dto.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-request-dto.d.ts +0 -31
- package/dist/models/list-searchable-document-owners-request-dto.js +0 -22
- 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-request-dto.d.ts +0 -43
- package/dist/models/list-searchable-documents-request-dto.js +0 -22
- 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 -134
- package/dist/models/product-document-class.js +0 -46
- 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/shared-update-docx-template-request-dto.d.ts +0 -36
- package/dist/models/shared-update-docx-template-request-dto.js +0 -15
- package/dist/models/update-doc-template-request-dto.d.ts +0 -61
- package/dist/models/update-doc-template-request-dto.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-request-dto.d.ts +0 -54
- package/dist/models/update-document-request-dto.js +0 -15
- package/dist/models/update-document-response-class.js +0 -15
- package/dist/models/update-html-template-dto.d.ts +0 -42
- package/dist/models/update-html-template-dto.js +0 -21
- package/dist/models/update-layout-request-dto.d.ts +0 -55
- package/dist/models/update-layout-request-dto.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/dist/models/upload-docx-template-request-dto.d.ts +0 -54
- package/dist/models/upload-docx-template-request-dto.js +0 -15
- package/dist/models/upload-product-document-request-dto.d.ts +0 -75
package/.openapi-generator/FILES
CHANGED
|
@@ -32,11 +32,13 @@ models/delete-request-dto.ts
|
|
|
32
32
|
models/delete-response-class.ts
|
|
33
33
|
models/doc-template-class.ts
|
|
34
34
|
models/document-class.ts
|
|
35
|
+
models/docx-template-class.ts
|
|
35
36
|
models/download-document-request-dto.ts
|
|
36
37
|
models/get-doc-template-request-dto.ts
|
|
37
38
|
models/get-doc-template-response-class.ts
|
|
38
39
|
models/get-document-download-url-response-class.ts
|
|
39
40
|
models/get-docx-template-download-url-response-class.ts
|
|
41
|
+
models/get-docx-template-response-class.ts
|
|
40
42
|
models/get-layout-request-dto.ts
|
|
41
43
|
models/get-layout-response-class.ts
|
|
42
44
|
models/get-product-document-download-url-response-class.ts
|
|
@@ -52,6 +54,7 @@ models/layout-class.ts
|
|
|
52
54
|
models/list-doc-template-request-dto.ts
|
|
53
55
|
models/list-doc-templates-response-class.ts
|
|
54
56
|
models/list-documents-response-class.ts
|
|
57
|
+
models/list-docx-templates-response-class.ts
|
|
55
58
|
models/list-layouts-response-class.ts
|
|
56
59
|
models/list-product-documents-response-class.ts
|
|
57
60
|
models/list-request-dto.ts
|
|
@@ -69,6 +72,7 @@ models/update-doc-template-request-dto.ts
|
|
|
69
72
|
models/update-doc-template-response-class.ts
|
|
70
73
|
models/update-document-request-dto.ts
|
|
71
74
|
models/update-document-response-class.ts
|
|
75
|
+
models/update-docx-template-response-class.ts
|
|
72
76
|
models/update-html-template-dto.ts
|
|
73
77
|
models/update-layout-request-dto.ts
|
|
74
78
|
models/update-layout-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/document-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/document-sdk-node@1.11.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/document-sdk-node@1.11.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
|
@@ -21,12 +21,20 @@ 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
|
|
24
26
|
import { DeleteResponseClass } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { GetDocxTemplateDownloadUrlResponseClass } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
30
|
+
import { GetDocxTemplateResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { ListDocxTemplatesResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
28
34
|
import { SharedUpdateDocxTemplateRequestDto } from '../models';
|
|
29
35
|
// @ts-ignore
|
|
36
|
+
import { UpdateDocxTemplateResponseClass } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
30
38
|
import { UploadDocxTemplateRequestDto } from '../models';
|
|
31
39
|
// URLSearchParams not necessarily used
|
|
32
40
|
// @ts-ignore
|
|
@@ -384,7 +392,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
384
392
|
* @param {*} [options] Override http request option.
|
|
385
393
|
* @throws {RequiredError}
|
|
386
394
|
*/
|
|
387
|
-
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
395
|
+
async getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocxTemplateResponseClass>> {
|
|
388
396
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocxTemplate(code, authorization, options);
|
|
389
397
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
390
398
|
},
|
|
@@ -401,7 +409,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
401
409
|
* @param {*} [options] Override http request option.
|
|
402
410
|
* @throws {RequiredError}
|
|
403
411
|
*/
|
|
404
|
-
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
412
|
+
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>> {
|
|
405
413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
406
414
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
407
415
|
},
|
|
@@ -414,7 +422,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
414
422
|
* @param {*} [options] Override http request option.
|
|
415
423
|
* @throws {RequiredError}
|
|
416
424
|
*/
|
|
417
|
-
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
425
|
+
async updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDocxTemplateResponseClass>> {
|
|
418
426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options);
|
|
419
427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
420
428
|
},
|
|
@@ -426,7 +434,7 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
426
434
|
* @param {*} [options] Override http request option.
|
|
427
435
|
* @throws {RequiredError}
|
|
428
436
|
*/
|
|
429
|
-
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
437
|
+
async uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>> {
|
|
430
438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options);
|
|
431
439
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
432
440
|
},
|
|
@@ -470,7 +478,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
470
478
|
* @param {*} [options] Override http request option.
|
|
471
479
|
* @throws {RequiredError}
|
|
472
480
|
*/
|
|
473
|
-
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
481
|
+
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<GetDocxTemplateResponseClass> {
|
|
474
482
|
return localVarFp.getDocxTemplate(code, authorization, options).then((request) => request(axios, basePath));
|
|
475
483
|
},
|
|
476
484
|
/**
|
|
@@ -486,7 +494,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
486
494
|
* @param {*} [options] Override http request option.
|
|
487
495
|
* @throws {RequiredError}
|
|
488
496
|
*/
|
|
489
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
497
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
490
498
|
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
491
499
|
},
|
|
492
500
|
/**
|
|
@@ -498,7 +506,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
498
506
|
* @param {*} [options] Override http request option.
|
|
499
507
|
* @throws {RequiredError}
|
|
500
508
|
*/
|
|
501
|
-
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
509
|
+
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDocxTemplateResponseClass> {
|
|
502
510
|
return localVarFp.updateDocxTemplate(code, sharedUpdateDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
503
511
|
},
|
|
504
512
|
/**
|
|
@@ -509,7 +517,7 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
509
517
|
* @param {*} [options] Override http request option.
|
|
510
518
|
* @throws {RequiredError}
|
|
511
519
|
*/
|
|
512
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
520
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass> {
|
|
513
521
|
return localVarFp.uploadDocxTemplate(uploadDocxTemplateRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
514
522
|
},
|
|
515
523
|
};
|
|
@@ -21,14 +21,14 @@ 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
|
|
24
26
|
import { GetProductDocumentDownloadUrlResponseClass } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { GetProductDocumentResponseClass } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
28
30
|
import { ListProductDocumentsResponseClass } from '../models';
|
|
29
31
|
// @ts-ignore
|
|
30
|
-
import { ProductDocumentClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
32
|
import { UploadProductDocumentRequestDto } from '../models';
|
|
33
33
|
// URLSearchParams not necessarily used
|
|
34
34
|
// @ts-ignore
|
|
@@ -190,7 +190,6 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
190
190
|
/**
|
|
191
191
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
192
192
|
* @summary List product documents
|
|
193
|
-
* @param {string} productSlug
|
|
194
193
|
* @param {string} [authorization] Bearer Token
|
|
195
194
|
* @param {number} [pageSize] Page size
|
|
196
195
|
* @param {string} [pageToken] Page token
|
|
@@ -201,11 +200,8 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
201
200
|
* @param {*} [options] Override http request option.
|
|
202
201
|
* @throws {RequiredError}
|
|
203
202
|
*/
|
|
204
|
-
listProductDocuments: async (
|
|
205
|
-
|
|
206
|
-
assertParamExists('listProductDocuments', 'productSlug', productSlug)
|
|
207
|
-
const localVarPath = `/documentservice/v1/documents/product/{productSlug}`
|
|
208
|
-
.replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
|
|
203
|
+
listProductDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
+
const localVarPath = `/documentservice/v1/documents/product`;
|
|
209
205
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
210
206
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
211
207
|
let baseOptions;
|
|
@@ -365,7 +361,6 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
365
361
|
/**
|
|
366
362
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
367
363
|
* @summary List product documents
|
|
368
|
-
* @param {string} productSlug
|
|
369
364
|
* @param {string} [authorization] Bearer Token
|
|
370
365
|
* @param {number} [pageSize] Page size
|
|
371
366
|
* @param {string} [pageToken] Page token
|
|
@@ -376,8 +371,8 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
376
371
|
* @param {*} [options] Override http request option.
|
|
377
372
|
* @throws {RequiredError}
|
|
378
373
|
*/
|
|
379
|
-
async listProductDocuments(
|
|
380
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(
|
|
374
|
+
async listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
381
376
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
382
377
|
},
|
|
383
378
|
/**
|
|
@@ -389,7 +384,7 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
389
384
|
* @param {*} [options] Override http request option.
|
|
390
385
|
* @throws {RequiredError}
|
|
391
386
|
*/
|
|
392
|
-
async uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
387
|
+
async uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>> {
|
|
393
388
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadProductDocument(productSlug, uploadProductDocumentRequestDto, authorization, options);
|
|
394
389
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
395
390
|
},
|
|
@@ -442,7 +437,6 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
442
437
|
/**
|
|
443
438
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
444
439
|
* @summary List product documents
|
|
445
|
-
* @param {string} productSlug
|
|
446
440
|
* @param {string} [authorization] Bearer Token
|
|
447
441
|
* @param {number} [pageSize] Page size
|
|
448
442
|
* @param {string} [pageToken] Page token
|
|
@@ -453,8 +447,8 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
453
447
|
* @param {*} [options] Override http request option.
|
|
454
448
|
* @throws {RequiredError}
|
|
455
449
|
*/
|
|
456
|
-
listProductDocuments(
|
|
457
|
-
return localVarFp.listProductDocuments(
|
|
450
|
+
listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
451
|
+
return localVarFp.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
458
452
|
},
|
|
459
453
|
/**
|
|
460
454
|
* Upload a product document.
|
|
@@ -465,7 +459,7 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
465
459
|
* @param {*} [options] Override http request option.
|
|
466
460
|
* @throws {RequiredError}
|
|
467
461
|
*/
|
|
468
|
-
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
462
|
+
uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass> {
|
|
469
463
|
return localVarFp.uploadProductDocument(productSlug, uploadProductDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
470
464
|
},
|
|
471
465
|
};
|
|
@@ -561,13 +555,6 @@ export interface ProductDocumentsApiGetProductDocumentRequest {
|
|
|
561
555
|
* @interface ProductDocumentsApiListProductDocumentsRequest
|
|
562
556
|
*/
|
|
563
557
|
export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
564
|
-
/**
|
|
565
|
-
*
|
|
566
|
-
* @type {string}
|
|
567
|
-
* @memberof ProductDocumentsApiListProductDocuments
|
|
568
|
-
*/
|
|
569
|
-
readonly productSlug: string
|
|
570
|
-
|
|
571
558
|
/**
|
|
572
559
|
* Bearer Token
|
|
573
560
|
* @type {string}
|
|
@@ -697,8 +684,8 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
697
684
|
* @throws {RequiredError}
|
|
698
685
|
* @memberof ProductDocumentsApi
|
|
699
686
|
*/
|
|
700
|
-
public listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig) {
|
|
701
|
-
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.
|
|
687
|
+
public listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest = {}, options?: AxiosRequestConfig) {
|
|
688
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
702
689
|
}
|
|
703
690
|
|
|
704
691
|
/**
|
|
@@ -28,7 +28,7 @@ export interface CreateDocTemplateRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateDocTemplateRequestDto
|
|
34
34
|
*/
|
|
@@ -46,7 +46,7 @@ export interface CreateDocTemplateRequestDto {
|
|
|
46
46
|
*/
|
|
47
47
|
'bodyTemplate': CreateHtmlTemplateDto;
|
|
48
48
|
/**
|
|
49
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
49
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CreateDocTemplateRequestDto
|
|
52
52
|
*/
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateDocumentRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateDocumentRequestDto
|
|
27
27
|
*/
|
|
@@ -37,7 +37,7 @@ export interface CreateDocumentRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateDocumentRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'entityType':
|
|
40
|
+
'entityType': string;
|
|
41
41
|
/**
|
|
42
42
|
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
43
43
|
* @type {string}
|
|
@@ -99,7 +99,7 @@ export interface CreateDocumentRequestDto {
|
|
|
99
99
|
*/
|
|
100
100
|
'filename'?: string;
|
|
101
101
|
/**
|
|
102
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
102
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof CreateDocumentRequestDto
|
|
105
105
|
*/
|
|
@@ -118,18 +118,6 @@ export interface CreateDocumentRequestDto {
|
|
|
118
118
|
'engine'?: CreateDocumentRequestDtoEngineEnum;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export const CreateDocumentRequestDtoEntityTypeEnum = {
|
|
122
|
-
PolicyApplication: 'policy_application',
|
|
123
|
-
PolicyContract: 'policy_contract',
|
|
124
|
-
PolicyAddendum: 'policy_addendum',
|
|
125
|
-
InitialInvoice: 'initial_invoice',
|
|
126
|
-
CorrectionInvoice: 'correction_invoice',
|
|
127
|
-
RecurringInvoice: 'recurring_invoice',
|
|
128
|
-
SepaMandate: 'sepa_mandate',
|
|
129
|
-
Static: 'static'
|
|
130
|
-
} as const;
|
|
131
|
-
|
|
132
|
-
export type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
|
|
133
121
|
export const CreateDocumentRequestDtoStrategyEnum = {
|
|
134
122
|
Sync: 'Sync',
|
|
135
123
|
Async: 'Async'
|
|
@@ -28,7 +28,7 @@ export interface CreateLayoutRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateLayoutRequestDto
|
|
34
34
|
*/
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreatePresignedPostRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreatePresignedPostRequestDto
|
|
27
27
|
*/
|
|
@@ -87,7 +87,7 @@ export interface CreatePresignedPostRequestDto {
|
|
|
87
87
|
*/
|
|
88
88
|
'filename': string;
|
|
89
89
|
/**
|
|
90
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
90
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
91
91
|
* @type {string}
|
|
92
92
|
* @memberof CreatePresignedPostRequestDto
|
|
93
93
|
*/
|
|
@@ -27,7 +27,7 @@ export interface DeleteProductDocumentRequestDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'code': string;
|
|
29
29
|
/**
|
|
30
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof DeleteProductDocumentRequestDto
|
|
33
33
|
*/
|
|
@@ -41,7 +41,7 @@ export interface DocTemplateClass {
|
|
|
41
41
|
*/
|
|
42
42
|
'name': string;
|
|
43
43
|
/**
|
|
44
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
44
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof DocTemplateClass
|
|
47
47
|
*/
|
|
@@ -71,7 +71,7 @@ export interface DocTemplateClass {
|
|
|
71
71
|
*/
|
|
72
72
|
'layout'?: LayoutClass;
|
|
73
73
|
/**
|
|
74
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
74
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof DocTemplateClass
|
|
77
77
|
*/
|
package/models/document-class.ts
CHANGED
|
@@ -33,7 +33,7 @@ export interface DocumentClass {
|
|
|
33
33
|
*/
|
|
34
34
|
'code': string;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof DocumentClass
|
|
39
39
|
*/
|
|
@@ -43,7 +43,7 @@ export interface DocumentClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DocumentClass
|
|
45
45
|
*/
|
|
46
|
-
'entityType':
|
|
46
|
+
'entityType': string;
|
|
47
47
|
/**
|
|
48
48
|
* Payload used to replace variables in the template.
|
|
49
49
|
* @type {object}
|
|
@@ -105,7 +105,7 @@ export interface DocumentClass {
|
|
|
105
105
|
*/
|
|
106
106
|
'contentType': DocumentClassContentTypeEnum;
|
|
107
107
|
/**
|
|
108
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
108
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof DocumentClass
|
|
111
111
|
*/
|
|
@@ -116,20 +116,14 @@ export interface DocumentClass {
|
|
|
116
116
|
* @memberof DocumentClass
|
|
117
117
|
*/
|
|
118
118
|
'createdAt': string;
|
|
119
|
+
/**
|
|
120
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof DocumentClass
|
|
123
|
+
*/
|
|
124
|
+
'ern': string;
|
|
119
125
|
}
|
|
120
126
|
|
|
121
|
-
export const DocumentClassEntityTypeEnum = {
|
|
122
|
-
PolicyApplication: 'policy_application',
|
|
123
|
-
PolicyContract: 'policy_contract',
|
|
124
|
-
PolicyAddendum: 'policy_addendum',
|
|
125
|
-
InitialInvoice: 'initial_invoice',
|
|
126
|
-
CorrectionInvoice: 'correction_invoice',
|
|
127
|
-
RecurringInvoice: 'recurring_invoice',
|
|
128
|
-
SepaMandate: 'sepa_mandate',
|
|
129
|
-
Static: 'static'
|
|
130
|
-
} as const;
|
|
131
|
-
|
|
132
|
-
export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
|
|
133
127
|
export const DocumentClassRequesterEnum = {
|
|
134
128
|
Accountservice: 'accountservice',
|
|
135
129
|
Insuranceservice: 'insuranceservice',
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DocxTemplateClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DocxTemplateClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DocxTemplateClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DocxTemplateClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DocxTemplateClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DocxTemplateClass
|
|
45
|
+
*/
|
|
46
|
+
'productVersionId': number;
|
|
47
|
+
/**
|
|
48
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DocxTemplateClass
|
|
51
|
+
*/
|
|
52
|
+
'productSlug': string;
|
|
53
|
+
/**
|
|
54
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DocxTemplateClass
|
|
57
|
+
*/
|
|
58
|
+
'description': string;
|
|
59
|
+
/**
|
|
60
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof DocxTemplateClass
|
|
63
|
+
*/
|
|
64
|
+
's3Key': string;
|
|
65
|
+
/**
|
|
66
|
+
* Document entity type.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DocxTemplateClass
|
|
69
|
+
*/
|
|
70
|
+
'entityType': string;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the file the end user will see when he downloads it.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof DocxTemplateClass
|
|
75
|
+
*/
|
|
76
|
+
'filename': string;
|
|
77
|
+
/**
|
|
78
|
+
* Version number of the template, incremented each time a new version is uploaded.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof DocxTemplateClass
|
|
81
|
+
*/
|
|
82
|
+
'versionNumber': number;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was created.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof DocxTemplateClass
|
|
87
|
+
*/
|
|
88
|
+
'createdAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Time at which the object was updated.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof DocxTemplateClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedAt': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,13 +11,21 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { DocxTemplateClass } from './docx-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetDocxTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetDocxTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Docx Template
|
|
26
|
+
* @type {DocxTemplateClass}
|
|
27
|
+
* @memberof GetDocxTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'docxTemplate': DocxTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -13,11 +13,13 @@ export * from './delete-request-dto';
|
|
|
13
13
|
export * from './delete-response-class';
|
|
14
14
|
export * from './doc-template-class';
|
|
15
15
|
export * from './document-class';
|
|
16
|
+
export * from './docx-template-class';
|
|
16
17
|
export * from './download-document-request-dto';
|
|
17
18
|
export * from './get-doc-template-request-dto';
|
|
18
19
|
export * from './get-doc-template-response-class';
|
|
19
20
|
export * from './get-document-download-url-response-class';
|
|
20
21
|
export * from './get-docx-template-download-url-response-class';
|
|
22
|
+
export * from './get-docx-template-response-class';
|
|
21
23
|
export * from './get-layout-request-dto';
|
|
22
24
|
export * from './get-layout-response-class';
|
|
23
25
|
export * from './get-product-document-download-url-response-class';
|
|
@@ -32,6 +34,7 @@ export * from './layout-class';
|
|
|
32
34
|
export * from './list-doc-template-request-dto';
|
|
33
35
|
export * from './list-doc-templates-response-class';
|
|
34
36
|
export * from './list-documents-response-class';
|
|
37
|
+
export * from './list-docx-templates-response-class';
|
|
35
38
|
export * from './list-layouts-response-class';
|
|
36
39
|
export * from './list-product-documents-response-class';
|
|
37
40
|
export * from './list-request-dto';
|
|
@@ -49,6 +52,7 @@ export * from './update-doc-template-request-dto';
|
|
|
49
52
|
export * from './update-doc-template-response-class';
|
|
50
53
|
export * from './update-document-request-dto';
|
|
51
54
|
export * from './update-document-response-class';
|
|
55
|
+
export * from './update-docx-template-response-class';
|
|
52
56
|
export * from './update-html-template-dto';
|
|
53
57
|
export * from './update-layout-request-dto';
|
|
54
58
|
export * from './update-layout-response-class';
|
package/models/layout-class.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface LayoutClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'name': string;
|
|
42
42
|
/**
|
|
43
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
43
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof LayoutClass
|
|
46
46
|
*/
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* EMIL DocumentService
|
|
3
5
|
* The EMIL DocumentService API description
|
|
@@ -9,23 +11,27 @@
|
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
12
|
-
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { DocxTemplateClass } from './docx-template-class';
|
|
17
|
+
|
|
13
18
|
/**
|
|
14
|
-
*
|
|
19
|
+
*
|
|
15
20
|
* @export
|
|
16
|
-
* @interface
|
|
21
|
+
* @interface ListDocxTemplatesResponseClass
|
|
17
22
|
*/
|
|
18
|
-
export interface
|
|
23
|
+
export interface ListDocxTemplatesResponseClass {
|
|
19
24
|
/**
|
|
20
|
-
* The list of
|
|
21
|
-
* @type {Array<
|
|
22
|
-
* @memberof
|
|
25
|
+
* The list of docx templates.
|
|
26
|
+
* @type {Array<DocxTemplateClass>}
|
|
27
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
23
28
|
*/
|
|
24
|
-
'items': Array<
|
|
29
|
+
'items': Array<DocxTemplateClass>;
|
|
25
30
|
/**
|
|
26
31
|
* Next page token.
|
|
27
32
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
33
|
+
* @memberof ListDocxTemplatesResponseClass
|
|
29
34
|
*/
|
|
30
35
|
'nextPageToken': string;
|
|
31
36
|
}
|
|
37
|
+
|