@emilgroup/document-sdk-node 1.7.1 → 1.8.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/dist/api.d.ts CHANGED
@@ -12,6 +12,7 @@
12
12
  export * from './api/default-api';
13
13
  export * from './api/document-templates-api';
14
14
  export * from './api/documents-api';
15
+ export * from './api/docx-templates-api';
15
16
  export * from './api/layouts-api';
16
17
  export * from './api/product-documents-api';
17
18
  export * from './api/search-keywords-api';
package/dist/api.js CHANGED
@@ -30,6 +30,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/default-api"), exports);
31
31
  __exportStar(require("./api/document-templates-api"), exports);
32
32
  __exportStar(require("./api/documents-api"), exports);
33
+ __exportStar(require("./api/docx-templates-api"), exports);
33
34
  __exportStar(require("./api/layouts-api"), exports);
34
35
  __exportStar(require("./api/product-documents-api"), exports);
35
36
  __exportStar(require("./api/search-keywords-api"), exports);
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetDocxTemplateDownloadUrlResponseClass
16
+ */
17
+ export interface GetDocxTemplateDownloadUrlResponseClass {
18
+ /**
19
+ * Pre-signed url for downloading the docx template.
20
+ * @type {string}
21
+ * @memberof GetDocxTemplateDownloadUrlResponseClass
22
+ */
23
+ 'url': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,6 +17,7 @@ export * from './download-document-request-dto';
17
17
  export * from './get-doc-template-request-dto';
18
18
  export * from './get-doc-template-response-class';
19
19
  export * from './get-document-download-url-response-class';
20
+ export * from './get-docx-template-download-url-response-class';
20
21
  export * from './get-layout-request-dto';
21
22
  export * from './get-layout-response-class';
22
23
  export * from './get-product-document-download-url-response-class';
@@ -43,6 +44,7 @@ export * from './list-searchable-documents-response-class';
43
44
  export * from './product-document-class';
44
45
  export * from './searchable-document-class';
45
46
  export * from './searchable-document-owner-class';
47
+ export * from './shared-update-docx-template-request-dto';
46
48
  export * from './update-doc-template-request-dto';
47
49
  export * from './update-doc-template-response-class';
48
50
  export * from './update-document-request-dto';
@@ -50,4 +52,5 @@ export * from './update-document-response-class';
50
52
  export * from './update-html-template-dto';
51
53
  export * from './update-layout-request-dto';
52
54
  export * from './update-layout-response-class';
55
+ export * from './upload-docx-template-request-dto';
53
56
  export * from './upload-product-document-request-dto';
@@ -33,6 +33,7 @@ __exportStar(require("./download-document-request-dto"), exports);
33
33
  __exportStar(require("./get-doc-template-request-dto"), exports);
34
34
  __exportStar(require("./get-doc-template-response-class"), exports);
35
35
  __exportStar(require("./get-document-download-url-response-class"), exports);
36
+ __exportStar(require("./get-docx-template-download-url-response-class"), exports);
36
37
  __exportStar(require("./get-layout-request-dto"), exports);
37
38
  __exportStar(require("./get-layout-response-class"), exports);
38
39
  __exportStar(require("./get-product-document-download-url-response-class"), exports);
@@ -59,6 +60,7 @@ __exportStar(require("./list-searchable-documents-response-class"), exports);
59
60
  __exportStar(require("./product-document-class"), exports);
60
61
  __exportStar(require("./searchable-document-class"), exports);
61
62
  __exportStar(require("./searchable-document-owner-class"), exports);
63
+ __exportStar(require("./shared-update-docx-template-request-dto"), exports);
62
64
  __exportStar(require("./update-doc-template-request-dto"), exports);
63
65
  __exportStar(require("./update-doc-template-response-class"), exports);
64
66
  __exportStar(require("./update-document-request-dto"), exports);
@@ -66,4 +68,5 @@ __exportStar(require("./update-document-response-class"), exports);
66
68
  __exportStar(require("./update-html-template-dto"), exports);
67
69
  __exportStar(require("./update-layout-request-dto"), exports);
68
70
  __exportStar(require("./update-layout-response-class"), exports);
71
+ __exportStar(require("./upload-docx-template-request-dto"), exports);
69
72
  __exportStar(require("./upload-product-document-request-dto"), exports);
@@ -0,0 +1,36 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SharedUpdateDocxTemplateRequestDto
16
+ */
17
+ export interface SharedUpdateDocxTemplateRequestDto {
18
+ /**
19
+ * Description of the document. Usually a short summary about the context in which the template is being used.
20
+ * @type {string}
21
+ * @memberof SharedUpdateDocxTemplateRequestDto
22
+ */
23
+ 'description': string;
24
+ /**
25
+ * Name of the file the end user will see when he downloads it.
26
+ * @type {string}
27
+ * @memberof SharedUpdateDocxTemplateRequestDto
28
+ */
29
+ 'filename': string;
30
+ /**
31
+ * Entity type of the docx template.
32
+ * @type {string}
33
+ * @memberof SharedUpdateDocxTemplateRequestDto
34
+ */
35
+ 'entityType': string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,54 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UploadDocxTemplateRequestDto
16
+ */
17
+ export interface UploadDocxTemplateRequestDto {
18
+ /**
19
+ * Slug of the docx template.
20
+ * @type {string}
21
+ * @memberof UploadDocxTemplateRequestDto
22
+ */
23
+ 'slug': string;
24
+ /**
25
+ * Slug of the product.
26
+ * @type {string}
27
+ * @memberof UploadDocxTemplateRequestDto
28
+ */
29
+ 'productSlug': string;
30
+ /**
31
+ * Description of the document. Usually a short summary about the context in which the template is being used.
32
+ * @type {string}
33
+ * @memberof UploadDocxTemplateRequestDto
34
+ */
35
+ 'description': string;
36
+ /**
37
+ * Name of the file the end user will see when he downloads it.
38
+ * @type {string}
39
+ * @memberof UploadDocxTemplateRequestDto
40
+ */
41
+ 'filename': string;
42
+ /**
43
+ * Entity type of the docx template.
44
+ * @type {string}
45
+ * @memberof UploadDocxTemplateRequestDto
46
+ */
47
+ 'entityType': string;
48
+ /**
49
+ * Id of the product version, and is optional. If not provided, the document will be attached to the latest version of the product.
50
+ * @type {number}
51
+ * @memberof UploadDocxTemplateRequestDto
52
+ */
53
+ 'productVersionId'?: number;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
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 GetDocxTemplateDownloadUrlResponseClass
21
+ */
22
+ export interface GetDocxTemplateDownloadUrlResponseClass {
23
+ /**
24
+ * Pre-signed url for downloading the docx template.
25
+ * @type {string}
26
+ * @memberof GetDocxTemplateDownloadUrlResponseClass
27
+ */
28
+ 'url': string;
29
+ }
30
+
package/models/index.ts CHANGED
@@ -17,6 +17,7 @@ export * from './download-document-request-dto';
17
17
  export * from './get-doc-template-request-dto';
18
18
  export * from './get-doc-template-response-class';
19
19
  export * from './get-document-download-url-response-class';
20
+ export * from './get-docx-template-download-url-response-class';
20
21
  export * from './get-layout-request-dto';
21
22
  export * from './get-layout-response-class';
22
23
  export * from './get-product-document-download-url-response-class';
@@ -43,6 +44,7 @@ export * from './list-searchable-documents-response-class';
43
44
  export * from './product-document-class';
44
45
  export * from './searchable-document-class';
45
46
  export * from './searchable-document-owner-class';
47
+ export * from './shared-update-docx-template-request-dto';
46
48
  export * from './update-doc-template-request-dto';
47
49
  export * from './update-doc-template-response-class';
48
50
  export * from './update-document-request-dto';
@@ -50,4 +52,5 @@ export * from './update-document-response-class';
50
52
  export * from './update-html-template-dto';
51
53
  export * from './update-layout-request-dto';
52
54
  export * from './update-layout-response-class';
55
+ export * from './upload-docx-template-request-dto';
53
56
  export * from './upload-product-document-request-dto';
@@ -0,0 +1,42 @@
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 SharedUpdateDocxTemplateRequestDto
21
+ */
22
+ export interface SharedUpdateDocxTemplateRequestDto {
23
+ /**
24
+ * Description of the document. Usually a short summary about the context in which the template is being used.
25
+ * @type {string}
26
+ * @memberof SharedUpdateDocxTemplateRequestDto
27
+ */
28
+ 'description': string;
29
+ /**
30
+ * Name of the file the end user will see when he downloads it.
31
+ * @type {string}
32
+ * @memberof SharedUpdateDocxTemplateRequestDto
33
+ */
34
+ 'filename': string;
35
+ /**
36
+ * Entity type of the docx template.
37
+ * @type {string}
38
+ * @memberof SharedUpdateDocxTemplateRequestDto
39
+ */
40
+ 'entityType': string;
41
+ }
42
+
@@ -0,0 +1,60 @@
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 UploadDocxTemplateRequestDto
21
+ */
22
+ export interface UploadDocxTemplateRequestDto {
23
+ /**
24
+ * Slug of the docx template.
25
+ * @type {string}
26
+ * @memberof UploadDocxTemplateRequestDto
27
+ */
28
+ 'slug': string;
29
+ /**
30
+ * Slug of the product.
31
+ * @type {string}
32
+ * @memberof UploadDocxTemplateRequestDto
33
+ */
34
+ 'productSlug': string;
35
+ /**
36
+ * Description of the document. Usually a short summary about the context in which the template is being used.
37
+ * @type {string}
38
+ * @memberof UploadDocxTemplateRequestDto
39
+ */
40
+ 'description': string;
41
+ /**
42
+ * Name of the file the end user will see when he downloads it.
43
+ * @type {string}
44
+ * @memberof UploadDocxTemplateRequestDto
45
+ */
46
+ 'filename': string;
47
+ /**
48
+ * Entity type of the docx template.
49
+ * @type {string}
50
+ * @memberof UploadDocxTemplateRequestDto
51
+ */
52
+ 'entityType': string;
53
+ /**
54
+ * Id of the product version, and is optional. If not provided, the document will be attached to the latest version of the product.
55
+ * @type {number}
56
+ * @memberof UploadDocxTemplateRequestDto
57
+ */
58
+ 'productVersionId'?: number;
59
+ }
60
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk-node",
3
- "version": "1.7.1",
3
+ "version": "1.8.1",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [