@emilgroup/document-sdk-node 1.9.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +2 -2
  2. package/api/product-documents-api.ts +8 -21
  3. package/models/create-doc-template-request-dto.ts +2 -2
  4. package/models/create-document-request-dto.ts +2 -2
  5. package/models/create-layout-request-dto.ts +1 -1
  6. package/models/create-presigned-post-request-dto.ts +2 -2
  7. package/models/delete-product-document-request-dto.ts +1 -1
  8. package/models/doc-template-class.ts +2 -2
  9. package/models/document-class.ts +8 -2
  10. package/models/layout-class.ts +1 -1
  11. package/models/product-document-class.ts +19 -1
  12. package/models/update-doc-template-request-dto.ts +2 -2
  13. package/models/update-layout-request-dto.ts +1 -1
  14. package/models/upload-product-document-request-dto.ts +6 -0
  15. package/package.json +2 -2
  16. package/dist/api/default-api.d.ts +0 -66
  17. package/dist/api/default-api.js +0 -200
  18. package/dist/api/document-templates-api.d.ts +0 -385
  19. package/dist/api/document-templates-api.js +0 -640
  20. package/dist/api/documents-api.d.ts +0 -488
  21. package/dist/api/documents-api.js +0 -821
  22. package/dist/api/docx-templates-api.d.ts +0 -428
  23. package/dist/api/docx-templates-api.js +0 -726
  24. package/dist/api/layouts-api.d.ts +0 -385
  25. package/dist/api/layouts-api.js +0 -642
  26. package/dist/api/product-documents-api.d.ts +0 -410
  27. package/dist/api/product-documents-api.js +0 -656
  28. package/dist/api/search-keywords-api.d.ts +0 -96
  29. package/dist/api/search-keywords-api.js +0 -229
  30. package/dist/api/searchable-document-owners-api.d.ts +0 -141
  31. package/dist/api/searchable-document-owners-api.js +0 -258
  32. package/dist/api/searchable-documents-api.d.ts +0 -114
  33. package/dist/api/searchable-documents-api.js +0 -243
  34. package/dist/api.d.ts +0 -20
  35. package/dist/api.js +0 -38
  36. package/dist/base.d.ts +0 -78
  37. package/dist/base.js +0 -394
  38. package/dist/common.d.ts +0 -92
  39. package/dist/common.js +0 -277
  40. package/dist/configuration.d.ts +0 -90
  41. package/dist/configuration.js +0 -44
  42. package/dist/index.d.ts +0 -15
  43. package/dist/index.js +0 -36
  44. package/dist/models/create-doc-template-request-dto.d.ts +0 -55
  45. package/dist/models/create-doc-template-request-dto.js +0 -15
  46. package/dist/models/create-doc-template-response-class.d.ts +0 -25
  47. package/dist/models/create-doc-template-response-class.js +0 -15
  48. package/dist/models/create-document-request-dto.d.ts +0 -173
  49. package/dist/models/create-document-request-dto.js +0 -70
  50. package/dist/models/create-document-sync-response-class.d.ts +0 -25
  51. package/dist/models/create-document-sync-response-class.js +0 -15
  52. package/dist/models/create-html-template-dto.d.ts +0 -24
  53. package/dist/models/create-html-template-dto.js +0 -15
  54. package/dist/models/create-layout-request-dto.d.ts +0 -49
  55. package/dist/models/create-layout-request-dto.js +0 -15
  56. package/dist/models/create-layout-response-class.d.ts +0 -25
  57. package/dist/models/create-layout-response-class.js +0 -15
  58. package/dist/models/create-presigned-post-request-dto.d.ts +0 -134
  59. package/dist/models/create-presigned-post-request-dto.js +0 -52
  60. package/dist/models/create-presigned-post-response-class.d.ts +0 -30
  61. package/dist/models/create-presigned-post-response-class.js +0 -15
  62. package/dist/models/delete-layout-request-dto.d.ts +0 -24
  63. package/dist/models/delete-layout-request-dto.js +0 -15
  64. package/dist/models/delete-product-document-request-dto.d.ts +0 -30
  65. package/dist/models/delete-product-document-request-dto.js +0 -15
  66. package/dist/models/delete-request-dto.d.ts +0 -24
  67. package/dist/models/delete-request-dto.js +0 -15
  68. package/dist/models/delete-response-class.d.ts +0 -24
  69. package/dist/models/delete-response-class.js +0 -15
  70. package/dist/models/doc-template-class.d.ts +0 -92
  71. package/dist/models/doc-template-class.js +0 -15
  72. package/dist/models/document-class.d.ts +0 -163
  73. package/dist/models/document-class.js +0 -62
  74. package/dist/models/download-document-request-dto.d.ts +0 -30
  75. package/dist/models/download-document-request-dto.js +0 -15
  76. package/dist/models/get-doc-template-request-dto.d.ts +0 -30
  77. package/dist/models/get-doc-template-request-dto.js +0 -15
  78. package/dist/models/get-doc-template-response-class.d.ts +0 -25
  79. package/dist/models/get-doc-template-response-class.js +0 -15
  80. package/dist/models/get-document-download-url-response-class.d.ts +0 -24
  81. package/dist/models/get-document-download-url-response-class.js +0 -15
  82. package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
  83. package/dist/models/get-docx-template-download-url-response-class.js +0 -15
  84. package/dist/models/get-layout-request-dto.d.ts +0 -24
  85. package/dist/models/get-layout-request-dto.js +0 -15
  86. package/dist/models/get-layout-response-class.d.ts +0 -25
  87. package/dist/models/get-layout-response-class.js +0 -15
  88. package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
  89. package/dist/models/get-product-document-download-url-response-class.js +0 -15
  90. package/dist/models/get-product-document-response-class.d.ts +0 -25
  91. package/dist/models/get-product-document-response-class.js +0 -15
  92. package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
  93. package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
  94. package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
  95. package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
  96. package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
  97. package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
  98. package/dist/models/html-template-class.d.ts +0 -66
  99. package/dist/models/html-template-class.js +0 -21
  100. package/dist/models/index.d.ts +0 -56
  101. package/dist/models/index.js +0 -72
  102. package/dist/models/inline-response200.d.ts +0 -54
  103. package/dist/models/inline-response200.js +0 -15
  104. package/dist/models/inline-response503.d.ts +0 -54
  105. package/dist/models/inline-response503.js +0 -15
  106. package/dist/models/layout-class.d.ts +0 -79
  107. package/dist/models/layout-class.js +0 -15
  108. package/dist/models/list-doc-template-request-dto.d.ts +0 -54
  109. package/dist/models/list-doc-template-request-dto.js +0 -15
  110. package/dist/models/list-doc-templates-response-class.d.ts +0 -31
  111. package/dist/models/list-doc-templates-response-class.js +0 -15
  112. package/dist/models/list-documents-response-class.d.ts +0 -31
  113. package/dist/models/list-documents-response-class.js +0 -15
  114. package/dist/models/list-layouts-response-class.d.ts +0 -31
  115. package/dist/models/list-layouts-response-class.js +0 -15
  116. package/dist/models/list-product-documents-response-class.d.ts +0 -31
  117. package/dist/models/list-product-documents-response-class.js +0 -15
  118. package/dist/models/list-request-dto.d.ts +0 -54
  119. package/dist/models/list-request-dto.js +0 -15
  120. package/dist/models/list-search-keywords-request-dto.d.ts +0 -24
  121. package/dist/models/list-search-keywords-request-dto.js +0 -15
  122. package/dist/models/list-search-keywords-response-class.d.ts +0 -24
  123. package/dist/models/list-search-keywords-response-class.js +0 -15
  124. package/dist/models/list-searchable-document-owners-request-dto.d.ts +0 -31
  125. package/dist/models/list-searchable-document-owners-request-dto.js +0 -22
  126. package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
  127. package/dist/models/list-searchable-document-owners-response-class.js +0 -15
  128. package/dist/models/list-searchable-documents-request-dto.d.ts +0 -43
  129. package/dist/models/list-searchable-documents-request-dto.js +0 -22
  130. package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
  131. package/dist/models/list-searchable-documents-response-class.js +0 -15
  132. package/dist/models/product-document-class.d.ts +0 -116
  133. package/dist/models/product-document-class.js +0 -46
  134. package/dist/models/searchable-document-class.d.ts +0 -66
  135. package/dist/models/searchable-document-class.js +0 -15
  136. package/dist/models/searchable-document-owner-class.d.ts +0 -30
  137. package/dist/models/searchable-document-owner-class.js +0 -15
  138. package/dist/models/shared-update-docx-template-request-dto.d.ts +0 -36
  139. package/dist/models/shared-update-docx-template-request-dto.js +0 -15
  140. package/dist/models/update-doc-template-request-dto.d.ts +0 -61
  141. package/dist/models/update-doc-template-request-dto.js +0 -15
  142. package/dist/models/update-doc-template-response-class.d.ts +0 -25
  143. package/dist/models/update-doc-template-response-class.js +0 -15
  144. package/dist/models/update-document-request-dto.d.ts +0 -54
  145. package/dist/models/update-document-request-dto.js +0 -15
  146. package/dist/models/update-document-response-class.d.ts +0 -25
  147. package/dist/models/update-document-response-class.js +0 -15
  148. package/dist/models/update-html-template-dto.d.ts +0 -42
  149. package/dist/models/update-html-template-dto.js +0 -21
  150. package/dist/models/update-layout-request-dto.d.ts +0 -55
  151. package/dist/models/update-layout-request-dto.js +0 -15
  152. package/dist/models/update-layout-response-class.d.ts +0 -25
  153. package/dist/models/update-layout-response-class.js +0 -15
  154. package/dist/models/upload-docx-template-request-dto.d.ts +0 -54
  155. package/dist/models/upload-docx-template-request-dto.js +0 -15
  156. package/dist/models/upload-product-document-request-dto.d.ts +0 -69
  157. package/dist/models/upload-product-document-request-dto.js +0 -24
@@ -1,25 +0,0 @@
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
- import { DocumentClass } from './document-class';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateDocumentResponseClass
17
- */
18
- export interface UpdateDocumentResponseClass {
19
- /**
20
- * Document
21
- * @type {DocumentClass}
22
- * @memberof UpdateDocumentResponseClass
23
- */
24
- 'document': DocumentClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,42 +0,0 @@
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 UpdateHtmlTemplateDto
16
- */
17
- export interface UpdateHtmlTemplateDto {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof UpdateHtmlTemplateDto
22
- */
23
- 'id': number;
24
- /**
25
- * Template type based on HTML layout elements: Header,Body and Footer.
26
- * @type {string}
27
- * @memberof UpdateHtmlTemplateDto
28
- */
29
- 'type': UpdateHtmlTemplateDtoTypeEnum;
30
- /**
31
- * Template draft content.
32
- * @type {string}
33
- * @memberof UpdateHtmlTemplateDto
34
- */
35
- 'draftContent': string;
36
- }
37
- export declare const UpdateHtmlTemplateDtoTypeEnum: {
38
- readonly Header: "header";
39
- readonly Footer: "footer";
40
- readonly Body: "body";
41
- };
42
- export type UpdateHtmlTemplateDtoTypeEnum = typeof UpdateHtmlTemplateDtoTypeEnum[keyof typeof UpdateHtmlTemplateDtoTypeEnum];
@@ -1,21 +0,0 @@
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 });
16
- exports.UpdateHtmlTemplateDtoTypeEnum = void 0;
17
- exports.UpdateHtmlTemplateDtoTypeEnum = {
18
- Header: 'header',
19
- Footer: 'footer',
20
- Body: 'body'
21
- };
@@ -1,55 +0,0 @@
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
- import { UpdateHtmlTemplateDto } from './update-html-template-dto';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateLayoutRequestDto
17
- */
18
- export interface UpdateLayoutRequestDto {
19
- /**
20
- * Layout name.
21
- * @type {string}
22
- * @memberof UpdateLayoutRequestDto
23
- */
24
- 'name': string;
25
- /**
26
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
27
- * @type {string}
28
- * @memberof UpdateLayoutRequestDto
29
- */
30
- 'slug': string;
31
- /**
32
- * Header template.
33
- * @type {UpdateHtmlTemplateDto}
34
- * @memberof UpdateLayoutRequestDto
35
- */
36
- 'headerTemplate': UpdateHtmlTemplateDto;
37
- /**
38
- * Footer template.
39
- * @type {UpdateHtmlTemplateDto}
40
- * @memberof UpdateLayoutRequestDto
41
- */
42
- 'footerTemplate': UpdateHtmlTemplateDto;
43
- /**
44
- * Layout style.
45
- * @type {string}
46
- * @memberof UpdateLayoutRequestDto
47
- */
48
- 'style': string;
49
- /**
50
- * Internal unique identifier for the object. You should not have to use this, use code instead.
51
- * @type {number}
52
- * @memberof UpdateLayoutRequestDto
53
- */
54
- 'id': number;
55
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
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
- import { LayoutClass } from './layout-class';
13
- /**
14
- *
15
- * @export
16
- * @interface UpdateLayoutResponseClass
17
- */
18
- export interface UpdateLayoutResponseClass {
19
- /**
20
- * Layout
21
- * @type {LayoutClass}
22
- * @memberof UpdateLayoutResponseClass
23
- */
24
- 'layout': LayoutClass;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,54 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,69 +0,0 @@
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 UploadProductDocumentRequestDto
16
- */
17
- export interface UploadProductDocumentRequestDto {
18
- /**
19
- * Slug of the product.
20
- * @type {string}
21
- * @memberof UploadProductDocumentRequestDto
22
- */
23
- 'productSlug'?: string;
24
- /**
25
- * Extension of the file.
26
- * @type {string}
27
- * @memberof UploadProductDocumentRequestDto
28
- */
29
- 'contentType': UploadProductDocumentRequestDtoContentTypeEnum;
30
- /**
31
- * Description of the document. Usually a short summary about the context in which the document is being used.
32
- * @type {string}
33
- * @memberof UploadProductDocumentRequestDto
34
- */
35
- 'description': string;
36
- /**
37
- * Name of the file the end user will see when he downloads it.
38
- * @type {string}
39
- * @memberof UploadProductDocumentRequestDto
40
- */
41
- 'filename': string;
42
- /**
43
- * Type of the product document.
44
- * @type {string}
45
- * @memberof UploadProductDocumentRequestDto
46
- */
47
- 'type': string;
48
- /**
49
- * Entity type of the product document.
50
- * @type {string}
51
- * @memberof UploadProductDocumentRequestDto
52
- */
53
- 'entityType': string;
54
- /**
55
- * Id of the product version, and is optional. If not provided, the document will be attached to the latest version of the product.
56
- * @type {number}
57
- * @memberof UploadProductDocumentRequestDto
58
- */
59
- 'productVersionId'?: number;
60
- }
61
- export declare const UploadProductDocumentRequestDtoContentTypeEnum: {
62
- readonly Pdf: "pdf";
63
- readonly Jpg: "jpg";
64
- readonly Png: "png";
65
- readonly Csv: "csv";
66
- readonly Doc: "doc";
67
- readonly Docx: "docx";
68
- };
69
- export type UploadProductDocumentRequestDtoContentTypeEnum = typeof UploadProductDocumentRequestDtoContentTypeEnum[keyof typeof UploadProductDocumentRequestDtoContentTypeEnum];
@@ -1,24 +0,0 @@
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 });
16
- exports.UploadProductDocumentRequestDtoContentTypeEnum = void 0;
17
- exports.UploadProductDocumentRequestDtoContentTypeEnum = {
18
- Pdf: 'pdf',
19
- Jpg: 'jpg',
20
- Png: 'png',
21
- Csv: 'csv',
22
- Doc: 'doc',
23
- Docx: 'docx'
24
- };