@emilgroup/document-sdk-node 1.2.0 → 1.3.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 +21 -0
- package/README.md +2 -2
- package/api/document-templates-api.ts +88 -94
- package/api/documents-api.ts +152 -34
- package/api/layouts-api.ts +52 -28
- package/api/product-documents-api.ts +599 -0
- package/api/search-keywords-api.ts +168 -0
- package/api/searchable-document-owners-api.ts +26 -22
- package/api/searchable-documents-api.ts +16 -12
- package/api.ts +4 -0
- package/dist/api/document-templates-api.d.ts +82 -78
- package/dist/api/document-templates-api.js +73 -67
- package/dist/api/documents-api.d.ts +93 -29
- package/dist/api/documents-api.js +121 -23
- package/dist/api/layouts-api.d.ts +52 -30
- package/dist/api/layouts-api.js +43 -23
- package/dist/api/product-documents-api.d.ts +345 -0
- package/dist/api/product-documents-api.js +558 -0
- package/dist/api/search-keywords-api.d.ts +96 -0
- package/dist/api/search-keywords-api.js +229 -0
- package/dist/api/searchable-document-owners-api.d.ts +23 -19
- package/dist/api/searchable-document-owners-api.js +16 -12
- package/dist/api/searchable-documents-api.d.ts +16 -12
- package/dist/api/searchable-documents-api.js +14 -10
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/create-doc-template-request-dto.d.ts +10 -4
- package/dist/models/create-doc-template-response-class.d.ts +25 -0
- package/dist/models/create-doc-template-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +21 -8
- package/dist/models/create-document-request-dto.js +2 -1
- package/dist/models/create-document-sync-response-class.d.ts +25 -0
- package/dist/models/create-document-sync-response-class.js +15 -0
- package/dist/models/create-html-template-dto.d.ts +1 -1
- package/dist/models/create-layout-request-dto.d.ts +10 -10
- package/dist/models/create-layout-response-class.d.ts +25 -0
- package/dist/models/create-layout-response-class.js +15 -0
- package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
- package/dist/models/create-presigned-post-request-dto.js +52 -0
- package/dist/models/create-presigned-post-response-class.d.ts +30 -0
- package/dist/models/create-presigned-post-response-class.js +15 -0
- package/dist/models/delete-layout-request-dto.d.ts +1 -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/delete-request-dto.d.ts +1 -1
- package/dist/models/delete-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/doc-template-class.d.ts +25 -19
- package/dist/models/document-class.d.ts +21 -8
- package/dist/models/document-class.js +2 -1
- package/dist/models/download-document-request-dto.d.ts +2 -2
- package/dist/models/get-doc-template-request-dto.d.ts +1 -1
- package/dist/models/get-doc-template-response-class.d.ts +1 -1
- package/dist/models/get-document-download-url-response-class.d.ts +1 -1
- package/dist/models/get-layout-request-dto.d.ts +1 -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/get-signed-s3-key-url-response-class.d.ts +24 -0
- package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
- package/dist/models/html-template-class.d.ts +7 -7
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/models/layout-class.d.ts +11 -11
- package/dist/models/list-doc-template-request-dto.d.ts +48 -0
- package/dist/models/list-doc-template-request-dto.js +15 -0
- package/dist/models/list-doc-templates-response-class.d.ts +1 -1
- package/dist/models/list-documents-response-class.d.ts +1 -1
- package/dist/models/list-layouts-response-class.d.ts +1 -1
- 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/list-search-keywords-request-dto.d.ts +24 -0
- package/dist/models/list-search-keywords-request-dto.js +15 -0
- package/dist/models/list-search-keywords-response-class.d.ts +24 -0
- package/dist/models/list-search-keywords-response-class.js +15 -0
- package/dist/models/list-searchable-document-owners-response-class.d.ts +3 -2
- package/dist/models/list-searchable-documents-request-dto.d.ts +2 -2
- package/dist/models/list-searchable-documents-response-class.d.ts +5 -4
- package/dist/models/product-document-class.d.ts +99 -0
- package/dist/models/product-document-class.js +36 -0
- package/dist/models/searchable-document-class.d.ts +66 -0
- package/dist/models/searchable-document-class.js +15 -0
- package/dist/models/searchable-document-owner-class.d.ts +30 -0
- package/dist/models/searchable-document-owner-class.js +15 -0
- package/dist/models/update-doc-template-request-dto.d.ts +16 -10
- package/dist/models/update-doc-template-response-class.d.ts +1 -1
- package/dist/models/update-document-request-dto.d.ts +10 -4
- package/dist/models/update-document-response-class.d.ts +25 -0
- package/dist/models/update-document-response-class.js +15 -0
- package/dist/models/update-html-template-dto.d.ts +42 -0
- package/dist/models/update-html-template-dto.js +21 -0
- package/dist/models/update-layout-request-dto.d.ts +15 -15
- package/dist/models/update-layout-response-class.d.ts +1 -1
- 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-doc-template-request-dto.ts +10 -4
- package/models/create-doc-template-response-class.ts +31 -0
- package/models/create-document-request-dto.ts +22 -9
- package/models/create-document-sync-response-class.ts +31 -0
- package/models/create-html-template-dto.ts +1 -1
- package/models/create-layout-request-dto.ts +10 -10
- package/models/create-layout-response-class.ts +31 -0
- package/models/create-presigned-post-request-dto.ts +138 -0
- package/models/create-presigned-post-response-class.ts +36 -0
- package/models/delete-layout-request-dto.ts +1 -1
- package/models/delete-product-document-request-dto.ts +36 -0
- package/models/delete-request-dto.ts +1 -1
- package/models/delete-response-class.ts +30 -0
- package/models/doc-template-class.ts +25 -19
- package/models/document-class.ts +22 -9
- package/models/download-document-request-dto.ts +2 -2
- package/models/get-doc-template-request-dto.ts +1 -1
- package/models/get-doc-template-response-class.ts +1 -1
- package/models/get-document-download-url-response-class.ts +1 -1
- package/models/get-layout-request-dto.ts +1 -1
- package/models/get-product-document-response-class.ts +31 -0
- package/models/get-signed-s3-key-url-response-class.ts +30 -0
- package/models/html-template-class.ts +7 -7
- package/models/index.ts +19 -0
- package/models/layout-class.ts +11 -11
- package/models/list-doc-template-request-dto.ts +54 -0
- package/models/list-doc-templates-response-class.ts +1 -1
- package/models/list-documents-response-class.ts +1 -1
- package/models/list-layouts-response-class.ts +1 -1
- package/models/list-product-documents-response-class.ts +37 -0
- package/models/list-search-keywords-request-dto.ts +30 -0
- package/models/list-search-keywords-response-class.ts +30 -0
- package/models/list-searchable-document-owners-response-class.ts +3 -2
- package/models/list-searchable-documents-request-dto.ts +2 -2
- package/models/list-searchable-documents-response-class.ts +5 -4
- package/models/product-document-class.ts +108 -0
- package/models/searchable-document-class.ts +72 -0
- package/models/searchable-document-owner-class.ts +36 -0
- package/models/update-doc-template-request-dto.ts +16 -10
- package/models/update-doc-template-response-class.ts +1 -1
- package/models/update-document-request-dto.ts +10 -4
- package/models/update-document-response-class.ts +31 -0
- package/models/update-html-template-dto.ts +51 -0
- package/models/update-layout-request-dto.ts +15 -15
- package/models/update-layout-response-class.ts +1 -1
- package/models/upload-product-document-request-dto.ts +72 -0
- package/package.json +2 -2
|
@@ -18,63 +18,69 @@ import { LayoutClass } from './layout-class';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface DocTemplateClass {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
22
|
* @type {number}
|
|
23
23
|
* @memberof DocTemplateClass
|
|
24
24
|
*/
|
|
25
25
|
'id': number;
|
|
26
26
|
/**
|
|
27
|
-
* Record owner
|
|
27
|
+
* Record owner.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof DocTemplateClass
|
|
30
30
|
*/
|
|
31
|
-
'owner'
|
|
31
|
+
'owner'?: string;
|
|
32
32
|
/**
|
|
33
|
-
* Template name
|
|
33
|
+
* Template name.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof DocTemplateClass
|
|
36
36
|
*/
|
|
37
37
|
'name': string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof DocTemplateClass
|
|
42
42
|
*/
|
|
43
43
|
'slug': string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Unique identifier referencing the layout.
|
|
46
46
|
* @type {number}
|
|
47
47
|
* @memberof DocTemplateClass
|
|
48
48
|
*/
|
|
49
49
|
'layoutId': number;
|
|
50
50
|
/**
|
|
51
|
-
* Body Template
|
|
51
|
+
* Body Template.
|
|
52
52
|
* @type {HtmlTemplateClass}
|
|
53
53
|
* @memberof DocTemplateClass
|
|
54
54
|
*/
|
|
55
|
-
'bodyTemplate'
|
|
55
|
+
'bodyTemplate'?: HtmlTemplateClass;
|
|
56
56
|
/**
|
|
57
|
-
* Template Layout
|
|
57
|
+
* Template Layout.
|
|
58
58
|
* @type {LayoutClass}
|
|
59
59
|
* @memberof DocTemplateClass
|
|
60
60
|
*/
|
|
61
|
-
'layout'
|
|
61
|
+
'layout'?: LayoutClass;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {
|
|
63
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
64
|
+
* @type {string}
|
|
65
65
|
* @memberof DocTemplateClass
|
|
66
66
|
*/
|
|
67
|
-
'
|
|
67
|
+
'productSlug'?: string;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {
|
|
69
|
+
* Time at which the object was created.
|
|
70
|
+
* @type {string}
|
|
71
71
|
* @memberof DocTemplateClass
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'createdAt': string;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {
|
|
75
|
+
* Time at which the object was updated.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof DocTemplateClass
|
|
78
|
+
*/
|
|
79
|
+
'updatedAt': string;
|
|
80
|
+
/**
|
|
81
|
+
* Time at which the object was deleted.
|
|
82
|
+
* @type {string}
|
|
77
83
|
* @memberof DocTemplateClass
|
|
78
84
|
*/
|
|
79
|
-
'deletedAt'
|
|
85
|
+
'deletedAt'?: string;
|
|
80
86
|
}
|
|
@@ -28,13 +28,13 @@ export interface DocumentClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'code': 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 DocumentClass
|
|
34
34
|
*/
|
|
35
35
|
'templateSlug': string;
|
|
36
36
|
/**
|
|
37
|
-
* Document entity type
|
|
37
|
+
* Document entity type.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DocumentClass
|
|
40
40
|
*/
|
|
@@ -44,21 +44,27 @@ export interface DocumentClass {
|
|
|
44
44
|
* @type {object}
|
|
45
45
|
* @memberof DocumentClass
|
|
46
46
|
*/
|
|
47
|
-
'payload'
|
|
47
|
+
'payload'?: object;
|
|
48
48
|
/**
|
|
49
|
-
* Unique identifier of the policy that
|
|
49
|
+
* Unique identifier of the policy that this object belongs to.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof DocumentClass
|
|
52
52
|
*/
|
|
53
53
|
'policyCode'?: string;
|
|
54
54
|
/**
|
|
55
|
-
* Unique identifier of the account that
|
|
55
|
+
* Unique identifier of the account that this object belongs to.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof DocumentClass
|
|
58
58
|
*/
|
|
59
59
|
'accountCode'?: string;
|
|
60
60
|
/**
|
|
61
|
-
* Unique identifier
|
|
61
|
+
* Unique identifier of the lead that this object belongs to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof DocumentClass
|
|
64
|
+
*/
|
|
65
|
+
'leadCode'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Unique identifier referencing the entity.
|
|
62
68
|
* @type {number}
|
|
63
69
|
* @memberof DocumentClass
|
|
64
70
|
*/
|
|
@@ -70,11 +76,11 @@ export interface DocumentClass {
|
|
|
70
76
|
*/
|
|
71
77
|
'requester': DocumentClassRequesterEnum;
|
|
72
78
|
/**
|
|
73
|
-
* Metadata
|
|
79
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
74
80
|
* @type {object}
|
|
75
81
|
* @memberof DocumentClass
|
|
76
82
|
*/
|
|
77
|
-
'metadata'
|
|
83
|
+
'metadata'?: object;
|
|
78
84
|
/**
|
|
79
85
|
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
80
86
|
* @type {string}
|
|
@@ -93,6 +99,12 @@ export interface DocumentClass {
|
|
|
93
99
|
* @memberof DocumentClass
|
|
94
100
|
*/
|
|
95
101
|
'contentType': DocumentClassContentTypeEnum;
|
|
102
|
+
/**
|
|
103
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof DocumentClass
|
|
106
|
+
*/
|
|
107
|
+
'productSlug'?: string;
|
|
96
108
|
/**
|
|
97
109
|
* Time at which the object was created.
|
|
98
110
|
* @type {string}
|
|
@@ -125,6 +137,7 @@ export declare const DocumentClassRequesterEnum: {
|
|
|
125
137
|
readonly Paymentservice: "paymentservice";
|
|
126
138
|
readonly Processmanager: "processmanager";
|
|
127
139
|
readonly Gdvservice: "gdvservice";
|
|
140
|
+
readonly Documentservice: "documentservice";
|
|
128
141
|
};
|
|
129
142
|
export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
|
|
130
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',
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface DownloadDocumentRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
*
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof DownloadDocumentRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'code': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof DownloadDocumentRequestDto
|
|
28
28
|
*/
|
|
@@ -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 });
|
|
@@ -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
|
+
*
|
|
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 GetSignedS3KeyUrlResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSignedS3KeyUrlResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Pre-signed Url
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetSignedS3KeyUrlResponseClass
|
|
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
|
+
*
|
|
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,43 +16,43 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface HtmlTemplateClass {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof HtmlTemplateClass
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
|
-
* Template type
|
|
25
|
+
* Template type of HTML layout elements: Header,Body and Footer.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof HtmlTemplateClass
|
|
28
28
|
*/
|
|
29
29
|
'type': HtmlTemplateClassTypeEnum;
|
|
30
30
|
/**
|
|
31
|
-
* Template content
|
|
31
|
+
* Template content.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof HtmlTemplateClass
|
|
34
34
|
*/
|
|
35
35
|
'content': string;
|
|
36
36
|
/**
|
|
37
|
-
* Template draft content
|
|
37
|
+
* Template draft content.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof HtmlTemplateClass
|
|
40
40
|
*/
|
|
41
41
|
'draftContent': string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Time at which the object was created.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof HtmlTemplateClass
|
|
46
46
|
*/
|
|
47
47
|
'createdAt': string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Time at which the object was updated.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof HtmlTemplateClass
|
|
52
52
|
*/
|
|
53
53
|
'updatedAt': string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Time at which the template was deleted.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof HtmlTemplateClass
|
|
58
58
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
export * from './create-doc-template-request-dto';
|
|
2
|
+
export * from './create-doc-template-response-class';
|
|
2
3
|
export * from './create-document-request-dto';
|
|
4
|
+
export * from './create-document-sync-response-class';
|
|
3
5
|
export * from './create-html-template-dto';
|
|
4
6
|
export * from './create-layout-request-dto';
|
|
7
|
+
export * from './create-layout-response-class';
|
|
8
|
+
export * from './create-presigned-post-request-dto';
|
|
9
|
+
export * from './create-presigned-post-response-class';
|
|
5
10
|
export * from './delete-layout-request-dto';
|
|
11
|
+
export * from './delete-product-document-request-dto';
|
|
6
12
|
export * from './delete-request-dto';
|
|
13
|
+
export * from './delete-response-class';
|
|
7
14
|
export * from './doc-template-class';
|
|
8
15
|
export * from './document-class';
|
|
9
16
|
export * from './download-document-request-dto';
|
|
@@ -12,17 +19,29 @@ export * from './get-doc-template-response-class';
|
|
|
12
19
|
export * from './get-document-download-url-response-class';
|
|
13
20
|
export * from './get-layout-request-dto';
|
|
14
21
|
export * from './get-layout-response-class';
|
|
22
|
+
export * from './get-product-document-response-class';
|
|
23
|
+
export * from './get-signed-s3-key-url-response-class';
|
|
15
24
|
export * from './html-template-class';
|
|
16
25
|
export * from './layout-class';
|
|
26
|
+
export * from './list-doc-template-request-dto';
|
|
17
27
|
export * from './list-doc-templates-response-class';
|
|
18
28
|
export * from './list-documents-response-class';
|
|
19
29
|
export * from './list-layouts-response-class';
|
|
30
|
+
export * from './list-product-documents-response-class';
|
|
20
31
|
export * from './list-request-dto';
|
|
32
|
+
export * from './list-search-keywords-request-dto';
|
|
33
|
+
export * from './list-search-keywords-response-class';
|
|
21
34
|
export * from './list-searchable-document-owners-response-class';
|
|
22
35
|
export * from './list-searchable-documents-request-dto';
|
|
23
36
|
export * from './list-searchable-documents-response-class';
|
|
37
|
+
export * from './product-document-class';
|
|
38
|
+
export * from './searchable-document-class';
|
|
39
|
+
export * from './searchable-document-owner-class';
|
|
24
40
|
export * from './update-doc-template-request-dto';
|
|
25
41
|
export * from './update-doc-template-response-class';
|
|
26
42
|
export * from './update-document-request-dto';
|
|
43
|
+
export * from './update-document-response-class';
|
|
44
|
+
export * from './update-html-template-dto';
|
|
27
45
|
export * from './update-layout-request-dto';
|
|
28
46
|
export * from './update-layout-response-class';
|
|
47
|
+
export * from './upload-product-document-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -15,11 +15,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-doc-template-request-dto"), exports);
|
|
18
|
+
__exportStar(require("./create-doc-template-response-class"), exports);
|
|
18
19
|
__exportStar(require("./create-document-request-dto"), exports);
|
|
20
|
+
__exportStar(require("./create-document-sync-response-class"), exports);
|
|
19
21
|
__exportStar(require("./create-html-template-dto"), exports);
|
|
20
22
|
__exportStar(require("./create-layout-request-dto"), exports);
|
|
23
|
+
__exportStar(require("./create-layout-response-class"), exports);
|
|
24
|
+
__exportStar(require("./create-presigned-post-request-dto"), exports);
|
|
25
|
+
__exportStar(require("./create-presigned-post-response-class"), exports);
|
|
21
26
|
__exportStar(require("./delete-layout-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./delete-product-document-request-dto"), exports);
|
|
22
28
|
__exportStar(require("./delete-request-dto"), exports);
|
|
29
|
+
__exportStar(require("./delete-response-class"), exports);
|
|
23
30
|
__exportStar(require("./doc-template-class"), exports);
|
|
24
31
|
__exportStar(require("./document-class"), exports);
|
|
25
32
|
__exportStar(require("./download-document-request-dto"), exports);
|
|
@@ -28,17 +35,29 @@ __exportStar(require("./get-doc-template-response-class"), exports);
|
|
|
28
35
|
__exportStar(require("./get-document-download-url-response-class"), exports);
|
|
29
36
|
__exportStar(require("./get-layout-request-dto"), exports);
|
|
30
37
|
__exportStar(require("./get-layout-response-class"), exports);
|
|
38
|
+
__exportStar(require("./get-product-document-response-class"), exports);
|
|
39
|
+
__exportStar(require("./get-signed-s3-key-url-response-class"), exports);
|
|
31
40
|
__exportStar(require("./html-template-class"), exports);
|
|
32
41
|
__exportStar(require("./layout-class"), exports);
|
|
42
|
+
__exportStar(require("./list-doc-template-request-dto"), exports);
|
|
33
43
|
__exportStar(require("./list-doc-templates-response-class"), exports);
|
|
34
44
|
__exportStar(require("./list-documents-response-class"), exports);
|
|
35
45
|
__exportStar(require("./list-layouts-response-class"), exports);
|
|
46
|
+
__exportStar(require("./list-product-documents-response-class"), exports);
|
|
36
47
|
__exportStar(require("./list-request-dto"), exports);
|
|
48
|
+
__exportStar(require("./list-search-keywords-request-dto"), exports);
|
|
49
|
+
__exportStar(require("./list-search-keywords-response-class"), exports);
|
|
37
50
|
__exportStar(require("./list-searchable-document-owners-response-class"), exports);
|
|
38
51
|
__exportStar(require("./list-searchable-documents-request-dto"), exports);
|
|
39
52
|
__exportStar(require("./list-searchable-documents-response-class"), exports);
|
|
53
|
+
__exportStar(require("./product-document-class"), exports);
|
|
54
|
+
__exportStar(require("./searchable-document-class"), exports);
|
|
55
|
+
__exportStar(require("./searchable-document-owner-class"), exports);
|
|
40
56
|
__exportStar(require("./update-doc-template-request-dto"), exports);
|
|
41
57
|
__exportStar(require("./update-doc-template-response-class"), exports);
|
|
42
58
|
__exportStar(require("./update-document-request-dto"), exports);
|
|
59
|
+
__exportStar(require("./update-document-response-class"), exports);
|
|
60
|
+
__exportStar(require("./update-html-template-dto"), exports);
|
|
43
61
|
__exportStar(require("./update-layout-request-dto"), exports);
|
|
44
62
|
__exportStar(require("./update-layout-response-class"), exports);
|
|
63
|
+
__exportStar(require("./upload-product-document-request-dto"), exports);
|
|
@@ -17,63 +17,63 @@ import { HtmlTemplateClass } from './html-template-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface LayoutClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof LayoutClass
|
|
23
23
|
*/
|
|
24
24
|
'id': number;
|
|
25
25
|
/**
|
|
26
|
-
* Record owner
|
|
26
|
+
* Record owner.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof LayoutClass
|
|
29
29
|
*/
|
|
30
30
|
'owner': string;
|
|
31
31
|
/**
|
|
32
|
-
* Layout name
|
|
32
|
+
* Layout name.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof LayoutClass
|
|
35
35
|
*/
|
|
36
36
|
'name': string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof LayoutClass
|
|
41
41
|
*/
|
|
42
42
|
'slug': string;
|
|
43
43
|
/**
|
|
44
|
-
* Layout style
|
|
44
|
+
* Layout style.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof LayoutClass
|
|
47
47
|
*/
|
|
48
48
|
'style': string;
|
|
49
49
|
/**
|
|
50
|
-
* Header Template
|
|
50
|
+
* Header Template.
|
|
51
51
|
* @type {HtmlTemplateClass}
|
|
52
52
|
* @memberof LayoutClass
|
|
53
53
|
*/
|
|
54
54
|
'headerTemplate': HtmlTemplateClass;
|
|
55
55
|
/**
|
|
56
|
-
* Footer Template
|
|
56
|
+
* Footer Template.
|
|
57
57
|
* @type {HtmlTemplateClass}
|
|
58
58
|
* @memberof LayoutClass
|
|
59
59
|
*/
|
|
60
60
|
'footerTemplate': HtmlTemplateClass;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Time at which the object was created.
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof LayoutClass
|
|
65
65
|
*/
|
|
66
66
|
'createdAt': string;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Time at which the object was updated.
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof LayoutClass
|
|
71
71
|
*/
|
|
72
72
|
'updatedAt': string;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Time at which the layout was deleted.
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof LayoutClass
|
|
77
77
|
*/
|
|
78
|
-
'deletedAt'
|
|
78
|
+
'deletedAt'?: string;
|
|
79
79
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 ListDocTemplateRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ListDocTemplateRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ListDocTemplateRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'pageSize'?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListDocTemplateRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'pageToken'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListDocTemplateRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'filter'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListDocTemplateRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'order'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListDocTemplateRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'expand'?: string;
|
|
48
|
+
}
|
|
@@ -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 });
|