@emilgroup/document-sdk 1.0.0 → 1.1.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.
- package/.openapi-generator/FILES +6 -0
- package/README.md +2 -2
- package/api/product-documents-api.ts +599 -0
- package/api.ts +2 -0
- package/dist/api/product-documents-api.d.ts +345 -0
- package/dist/api/product-documents-api.js +558 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-document-request-dto.d.ts +1 -0
- package/dist/models/create-document-request-dto.js +2 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +1 -0
- package/dist/models/create-presigned-post-request-dto.js +2 -1
- package/dist/models/delete-product-document-request-dto.d.ts +30 -0
- package/dist/models/delete-product-document-request-dto.js +15 -0
- package/dist/models/document-class.d.ts +1 -0
- package/dist/models/document-class.js +2 -1
- package/dist/models/get-product-document-response-class.d.ts +25 -0
- package/dist/models/get-product-document-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/list-product-documents-response-class.d.ts +31 -0
- package/dist/models/list-product-documents-response-class.js +15 -0
- package/dist/models/product-document-class.d.ts +99 -0
- package/dist/models/product-document-class.js +36 -0
- package/dist/models/upload-product-document-request-dto.d.ts +63 -0
- package/dist/models/upload-product-document-request-dto.js +24 -0
- package/models/create-document-request-dto.ts +2 -1
- package/models/create-presigned-post-request-dto.ts +2 -1
- package/models/delete-product-document-request-dto.ts +36 -0
- package/models/document-class.ts +2 -1
- package/models/get-product-document-response-class.ts +31 -0
- package/models/index.ts +5 -0
- package/models/list-product-documents-response-class.ts +37 -0
- package/models/product-document-class.ts +108 -0
- package/models/upload-product-document-request-dto.ts +72 -0
- package/package.json +1 -1
|
@@ -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
|
+
*
|
|
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 });
|
|
@@ -137,6 +137,7 @@ export declare const DocumentClassRequesterEnum: {
|
|
|
137
137
|
readonly Paymentservice: "paymentservice";
|
|
138
138
|
readonly Processmanager: "processmanager";
|
|
139
139
|
readonly Gdvservice: "gdvservice";
|
|
140
|
+
readonly Documentservice: "documentservice";
|
|
140
141
|
};
|
|
141
142
|
export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
|
|
142
143
|
export declare const DocumentClassContentTypeEnum: {
|
|
@@ -37,7 +37,8 @@ exports.DocumentClassRequesterEnum = {
|
|
|
37
37
|
Notificationservice: 'notificationservice',
|
|
38
38
|
Paymentservice: 'paymentservice',
|
|
39
39
|
Processmanager: 'processmanager',
|
|
40
|
-
Gdvservice: 'gdvservice'
|
|
40
|
+
Gdvservice: 'gdvservice',
|
|
41
|
+
Documentservice: 'documentservice'
|
|
41
42
|
};
|
|
42
43
|
exports.DocumentClassContentTypeEnum = {
|
|
43
44
|
Pdf: 'pdf',
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 { ProductDocumentClass } from './product-document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetProductDocumentResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetProductDocumentResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Product Document
|
|
21
|
+
* @type {ProductDocumentClass}
|
|
22
|
+
* @memberof GetProductDocumentResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'productDocument': ProductDocumentClass;
|
|
25
|
+
}
|
|
@@ -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
|
+
*
|
|
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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './create-layout-response-class';
|
|
|
8
8
|
export * from './create-presigned-post-request-dto';
|
|
9
9
|
export * from './create-presigned-post-response-class';
|
|
10
10
|
export * from './delete-layout-request-dto';
|
|
11
|
+
export * from './delete-product-document-request-dto';
|
|
11
12
|
export * from './delete-request-dto';
|
|
12
13
|
export * from './delete-response-class';
|
|
13
14
|
export * from './doc-template-class';
|
|
@@ -18,6 +19,7 @@ export * from './get-doc-template-response-class';
|
|
|
18
19
|
export * from './get-document-download-url-response-class';
|
|
19
20
|
export * from './get-layout-request-dto';
|
|
20
21
|
export * from './get-layout-response-class';
|
|
22
|
+
export * from './get-product-document-response-class';
|
|
21
23
|
export * from './get-signed-s3-key-url-response-class';
|
|
22
24
|
export * from './html-template-class';
|
|
23
25
|
export * from './layout-class';
|
|
@@ -25,12 +27,14 @@ export * from './list-doc-template-request-dto';
|
|
|
25
27
|
export * from './list-doc-templates-response-class';
|
|
26
28
|
export * from './list-documents-response-class';
|
|
27
29
|
export * from './list-layouts-response-class';
|
|
30
|
+
export * from './list-product-documents-response-class';
|
|
28
31
|
export * from './list-request-dto';
|
|
29
32
|
export * from './list-search-keywords-request-dto';
|
|
30
33
|
export * from './list-search-keywords-response-class';
|
|
31
34
|
export * from './list-searchable-document-owners-response-class';
|
|
32
35
|
export * from './list-searchable-documents-request-dto';
|
|
33
36
|
export * from './list-searchable-documents-response-class';
|
|
37
|
+
export * from './product-document-class';
|
|
34
38
|
export * from './searchable-document-class';
|
|
35
39
|
export * from './searchable-document-owner-class';
|
|
36
40
|
export * from './update-doc-template-request-dto';
|
|
@@ -40,3 +44,4 @@ export * from './update-document-response-class';
|
|
|
40
44
|
export * from './update-html-template-dto';
|
|
41
45
|
export * from './update-layout-request-dto';
|
|
42
46
|
export * from './update-layout-response-class';
|
|
47
|
+
export * from './upload-product-document-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./create-layout-response-class"), exports);
|
|
|
24
24
|
__exportStar(require("./create-presigned-post-request-dto"), exports);
|
|
25
25
|
__exportStar(require("./create-presigned-post-response-class"), exports);
|
|
26
26
|
__exportStar(require("./delete-layout-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./delete-product-document-request-dto"), exports);
|
|
27
28
|
__exportStar(require("./delete-request-dto"), exports);
|
|
28
29
|
__exportStar(require("./delete-response-class"), exports);
|
|
29
30
|
__exportStar(require("./doc-template-class"), exports);
|
|
@@ -34,6 +35,7 @@ __exportStar(require("./get-doc-template-response-class"), exports);
|
|
|
34
35
|
__exportStar(require("./get-document-download-url-response-class"), exports);
|
|
35
36
|
__exportStar(require("./get-layout-request-dto"), exports);
|
|
36
37
|
__exportStar(require("./get-layout-response-class"), exports);
|
|
38
|
+
__exportStar(require("./get-product-document-response-class"), exports);
|
|
37
39
|
__exportStar(require("./get-signed-s3-key-url-response-class"), exports);
|
|
38
40
|
__exportStar(require("./html-template-class"), exports);
|
|
39
41
|
__exportStar(require("./layout-class"), exports);
|
|
@@ -41,12 +43,14 @@ __exportStar(require("./list-doc-template-request-dto"), exports);
|
|
|
41
43
|
__exportStar(require("./list-doc-templates-response-class"), exports);
|
|
42
44
|
__exportStar(require("./list-documents-response-class"), exports);
|
|
43
45
|
__exportStar(require("./list-layouts-response-class"), exports);
|
|
46
|
+
__exportStar(require("./list-product-documents-response-class"), exports);
|
|
44
47
|
__exportStar(require("./list-request-dto"), exports);
|
|
45
48
|
__exportStar(require("./list-search-keywords-request-dto"), exports);
|
|
46
49
|
__exportStar(require("./list-search-keywords-response-class"), exports);
|
|
47
50
|
__exportStar(require("./list-searchable-document-owners-response-class"), exports);
|
|
48
51
|
__exportStar(require("./list-searchable-documents-request-dto"), exports);
|
|
49
52
|
__exportStar(require("./list-searchable-documents-response-class"), exports);
|
|
53
|
+
__exportStar(require("./product-document-class"), exports);
|
|
50
54
|
__exportStar(require("./searchable-document-class"), exports);
|
|
51
55
|
__exportStar(require("./searchable-document-owner-class"), exports);
|
|
52
56
|
__exportStar(require("./update-doc-template-request-dto"), exports);
|
|
@@ -56,3 +60,4 @@ __exportStar(require("./update-document-response-class"), exports);
|
|
|
56
60
|
__exportStar(require("./update-html-template-dto"), exports);
|
|
57
61
|
__exportStar(require("./update-layout-request-dto"), exports);
|
|
58
62
|
__exportStar(require("./update-layout-response-class"), exports);
|
|
63
|
+
__exportStar(require("./upload-product-document-request-dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 { ProductDocumentClass } from './product-document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListProductDocumentsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListProductDocumentsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of documents.
|
|
21
|
+
* @type {Array<ProductDocumentClass>}
|
|
22
|
+
* @memberof ListProductDocumentsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ProductDocumentClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListProductDocumentsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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
|
+
*
|
|
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,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 ProductDocumentClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductDocumentClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductDocumentClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductDocumentClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the product that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductDocumentClass
|
|
34
|
+
*/
|
|
35
|
+
'productCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier referencing the product.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ProductDocumentClass
|
|
40
|
+
*/
|
|
41
|
+
'productVersionId': number;
|
|
42
|
+
/**
|
|
43
|
+
* Type of the product document.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ProductDocumentClass
|
|
46
|
+
*/
|
|
47
|
+
'type': string;
|
|
48
|
+
/**
|
|
49
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProductDocumentClass
|
|
52
|
+
*/
|
|
53
|
+
'description': string;
|
|
54
|
+
/**
|
|
55
|
+
* The unique key used by Amazon Simple Storage Service (S3).
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProductDocumentClass
|
|
58
|
+
*/
|
|
59
|
+
's3Key': string;
|
|
60
|
+
/**
|
|
61
|
+
* Type of the document expressed with its file extension.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ProductDocumentClass
|
|
64
|
+
*/
|
|
65
|
+
'contentType': ProductDocumentClassContentTypeEnum;
|
|
66
|
+
/**
|
|
67
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ProductDocumentClass
|
|
70
|
+
*/
|
|
71
|
+
'productSlug': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was created.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ProductDocumentClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const ProductDocumentClassContentTypeEnum: {
|
|
80
|
+
readonly Pdf: "pdf";
|
|
81
|
+
readonly Jpg: "jpg";
|
|
82
|
+
readonly Png: "png";
|
|
83
|
+
readonly Gz: "gz";
|
|
84
|
+
readonly Csv: "csv";
|
|
85
|
+
readonly Doc: "doc";
|
|
86
|
+
readonly Docx: "docx";
|
|
87
|
+
readonly Html: "html";
|
|
88
|
+
readonly Json: "json";
|
|
89
|
+
readonly Xml: "xml";
|
|
90
|
+
readonly Txt: "txt";
|
|
91
|
+
readonly Zip: "zip";
|
|
92
|
+
readonly Tar: "tar";
|
|
93
|
+
readonly Rar: "rar";
|
|
94
|
+
readonly Mp4: "MP4";
|
|
95
|
+
readonly Mov: "MOV";
|
|
96
|
+
readonly Wmv: "WMV";
|
|
97
|
+
readonly Avi: "AVI";
|
|
98
|
+
};
|
|
99
|
+
export type ProductDocumentClassContentTypeEnum = typeof ProductDocumentClassContentTypeEnum[keyof typeof ProductDocumentClassContentTypeEnum];
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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.ProductDocumentClassContentTypeEnum = void 0;
|
|
17
|
+
exports.ProductDocumentClassContentTypeEnum = {
|
|
18
|
+
Pdf: 'pdf',
|
|
19
|
+
Jpg: 'jpg',
|
|
20
|
+
Png: 'png',
|
|
21
|
+
Gz: 'gz',
|
|
22
|
+
Csv: 'csv',
|
|
23
|
+
Doc: 'doc',
|
|
24
|
+
Docx: 'docx',
|
|
25
|
+
Html: 'html',
|
|
26
|
+
Json: 'json',
|
|
27
|
+
Xml: 'xml',
|
|
28
|
+
Txt: 'txt',
|
|
29
|
+
Zip: 'zip',
|
|
30
|
+
Tar: 'tar',
|
|
31
|
+
Rar: 'rar',
|
|
32
|
+
Mp4: 'MP4',
|
|
33
|
+
Mov: 'MOV',
|
|
34
|
+
Wmv: 'WMV',
|
|
35
|
+
Avi: 'AVI'
|
|
36
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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
|
+
* 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 UploadProductDocumentRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'productVersionId'?: number;
|
|
54
|
+
}
|
|
55
|
+
export declare const UploadProductDocumentRequestDtoContentTypeEnum: {
|
|
56
|
+
readonly Pdf: "pdf";
|
|
57
|
+
readonly Jpg: "jpg";
|
|
58
|
+
readonly Png: "png";
|
|
59
|
+
readonly Csv: "csv";
|
|
60
|
+
readonly Doc: "doc";
|
|
61
|
+
readonly Docx: "docx";
|
|
62
|
+
};
|
|
63
|
+
export type UploadProductDocumentRequestDtoContentTypeEnum = typeof UploadProductDocumentRequestDtoContentTypeEnum[keyof typeof UploadProductDocumentRequestDtoContentTypeEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
*
|
|
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
|
+
};
|
|
@@ -137,7 +137,8 @@ export const CreateDocumentRequestDtoRequesterEnum = {
|
|
|
137
137
|
Notificationservice: 'notificationservice',
|
|
138
138
|
Paymentservice: 'paymentservice',
|
|
139
139
|
Processmanager: 'processmanager',
|
|
140
|
-
Gdvservice: 'gdvservice'
|
|
140
|
+
Gdvservice: 'gdvservice',
|
|
141
|
+
Documentservice: 'documentservice'
|
|
141
142
|
} as const;
|
|
142
143
|
|
|
143
144
|
export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
|
|
@@ -107,7 +107,8 @@ export const CreatePresignedPostRequestDtoRequesterEnum = {
|
|
|
107
107
|
Notificationservice: 'notificationservice',
|
|
108
108
|
Paymentservice: 'paymentservice',
|
|
109
109
|
Processmanager: 'processmanager',
|
|
110
|
-
Gdvservice: 'gdvservice'
|
|
110
|
+
Gdvservice: 'gdvservice',
|
|
111
|
+
Documentservice: 'documentservice'
|
|
111
112
|
} as const;
|
|
112
113
|
|
|
113
114
|
export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
*
|
|
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 DeleteProductDocumentRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteProductDocumentRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the object.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DeleteProductDocumentRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
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
|
+
* @type {string}
|
|
32
|
+
* @memberof DeleteProductDocumentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productSlug': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/document-class.ts
CHANGED
|
@@ -143,7 +143,8 @@ export const DocumentClassRequesterEnum = {
|
|
|
143
143
|
Notificationservice: 'notificationservice',
|
|
144
144
|
Paymentservice: 'paymentservice',
|
|
145
145
|
Processmanager: 'processmanager',
|
|
146
|
-
Gdvservice: 'gdvservice'
|
|
146
|
+
Gdvservice: 'gdvservice',
|
|
147
|
+
Documentservice: 'documentservice'
|
|
147
148
|
} as const;
|
|
148
149
|
|
|
149
150
|
export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
*
|
|
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
|
+
import { ProductDocumentClass } from './product-document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetProductDocumentResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetProductDocumentResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product Document
|
|
26
|
+
* @type {ProductDocumentClass}
|
|
27
|
+
* @memberof GetProductDocumentResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productDocument': ProductDocumentClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './create-layout-response-class';
|
|
|
8
8
|
export * from './create-presigned-post-request-dto';
|
|
9
9
|
export * from './create-presigned-post-response-class';
|
|
10
10
|
export * from './delete-layout-request-dto';
|
|
11
|
+
export * from './delete-product-document-request-dto';
|
|
11
12
|
export * from './delete-request-dto';
|
|
12
13
|
export * from './delete-response-class';
|
|
13
14
|
export * from './doc-template-class';
|
|
@@ -18,6 +19,7 @@ export * from './get-doc-template-response-class';
|
|
|
18
19
|
export * from './get-document-download-url-response-class';
|
|
19
20
|
export * from './get-layout-request-dto';
|
|
20
21
|
export * from './get-layout-response-class';
|
|
22
|
+
export * from './get-product-document-response-class';
|
|
21
23
|
export * from './get-signed-s3-key-url-response-class';
|
|
22
24
|
export * from './html-template-class';
|
|
23
25
|
export * from './layout-class';
|
|
@@ -25,12 +27,14 @@ export * from './list-doc-template-request-dto';
|
|
|
25
27
|
export * from './list-doc-templates-response-class';
|
|
26
28
|
export * from './list-documents-response-class';
|
|
27
29
|
export * from './list-layouts-response-class';
|
|
30
|
+
export * from './list-product-documents-response-class';
|
|
28
31
|
export * from './list-request-dto';
|
|
29
32
|
export * from './list-search-keywords-request-dto';
|
|
30
33
|
export * from './list-search-keywords-response-class';
|
|
31
34
|
export * from './list-searchable-document-owners-response-class';
|
|
32
35
|
export * from './list-searchable-documents-request-dto';
|
|
33
36
|
export * from './list-searchable-documents-response-class';
|
|
37
|
+
export * from './product-document-class';
|
|
34
38
|
export * from './searchable-document-class';
|
|
35
39
|
export * from './searchable-document-owner-class';
|
|
36
40
|
export * from './update-doc-template-request-dto';
|
|
@@ -40,3 +44,4 @@ export * from './update-document-response-class';
|
|
|
40
44
|
export * from './update-html-template-dto';
|
|
41
45
|
export * from './update-layout-request-dto';
|
|
42
46
|
export * from './update-layout-response-class';
|
|
47
|
+
export * from './upload-product-document-request-dto';
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
*
|
|
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
|
+
import { ProductDocumentClass } from './product-document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductDocumentsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductDocumentsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of documents.
|
|
26
|
+
* @type {Array<ProductDocumentClass>}
|
|
27
|
+
* @memberof ListProductDocumentsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ProductDocumentClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListProductDocumentsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|