@emilgroup/document-sdk-node 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/document-templates-api.ts +84 -92
- package/api/documents-api.ts +16 -107
- package/api/layouts-api.ts +52 -28
- package/api/search-keywords-api.ts +12 -8
- package/api/searchable-document-owners-api.ts +8 -4
- package/api/searchable-documents-api.ts +16 -12
- package/base.ts +3 -3
- package/dist/api/document-templates-api.d.ts +78 -75
- package/dist/api/document-templates-api.js +73 -67
- package/dist/api/documents-api.d.ts +16 -61
- package/dist/api/documents-api.js +8 -93
- package/dist/api/layouts-api.d.ts +52 -30
- package/dist/api/layouts-api.js +43 -23
- package/dist/api/search-keywords-api.d.ts +12 -8
- package/dist/api/search-keywords-api.js +11 -7
- package/dist/api/searchable-document-owners-api.d.ts +8 -4
- package/dist/api/searchable-document-owners-api.js +8 -4
- package/dist/api/searchable-documents-api.d.ts +16 -12
- package/dist/api/searchable-documents-api.js +14 -10
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -3
- package/dist/models/create-doc-template-request-dto.d.ts +3 -3
- package/dist/models/create-doc-template-response-class.d.ts +1 -1
- package/dist/models/create-document-request-dto.d.ts +11 -11
- 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-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 +10 -10
- package/dist/models/create-presigned-post-response-class.d.ts +2 -2
- package/dist/models/delete-layout-request-dto.d.ts +1 -1
- 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 +2 -2
- package/dist/models/document-class.d.ts +8 -8
- 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/html-template-class.d.ts +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/layout-class.d.ts +1 -1
- 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-search-keywords-request-dto.d.ts +1 -1
- package/dist/models/list-search-keywords-response-class.d.ts +1 -1
- 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/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 +7 -7
- package/dist/models/update-doc-template-response-class.d.ts +1 -1
- package/dist/models/update-document-request-dto.d.ts +5 -5
- 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/models/create-doc-template-request-dto.ts +3 -3
- package/models/create-doc-template-response-class.ts +1 -1
- package/models/create-document-request-dto.ts +11 -11
- package/models/create-document-sync-response-class.ts +31 -0
- 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 +10 -10
- package/models/create-presigned-post-response-class.ts +2 -2
- package/models/delete-layout-request-dto.ts +1 -1
- package/models/delete-request-dto.ts +1 -1
- package/models/delete-response-class.ts +30 -0
- package/models/doc-template-class.ts +2 -2
- package/models/document-class.ts +8 -8
- 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/html-template-class.ts +1 -1
- package/models/index.ts +8 -0
- package/models/layout-class.ts +1 -1
- 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-search-keywords-request-dto.ts +1 -1
- package/models/list-search-keywords-response-class.ts +1 -1
- 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/searchable-document-class.ts +72 -0
- package/models/searchable-document-owner-class.ts +36 -0
- package/models/update-doc-template-request-dto.ts +7 -7
- package/models/update-doc-template-response-class.ts +1 -1
- package/models/update-document-request-dto.ts +5 -5
- 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/package.json +2 -2
|
@@ -19,9 +19,10 @@ import { ListSearchableDocumentsResponseClass } from '../models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const SearchableDocumentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @
|
|
24
|
-
* @param {string}
|
|
22
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
23
|
+
* @summary List searchable documents
|
|
24
|
+
* @param {string} searchText Text to search in the documents.
|
|
25
|
+
* @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
|
|
25
26
|
* @param {string} [authorization] Bearer Token
|
|
26
27
|
* @param {*} [options] Override http request option.
|
|
27
28
|
* @throws {RequiredError}
|
|
@@ -34,9 +35,10 @@ export declare const SearchableDocumentsApiAxiosParamCreator: (configuration?: C
|
|
|
34
35
|
*/
|
|
35
36
|
export declare const SearchableDocumentsApiFp: (configuration?: Configuration) => {
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @
|
|
39
|
-
* @param {string}
|
|
38
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
39
|
+
* @summary List searchable documents
|
|
40
|
+
* @param {string} searchText Text to search in the documents.
|
|
41
|
+
* @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
|
|
40
42
|
* @param {string} [authorization] Bearer Token
|
|
41
43
|
* @param {*} [options] Override http request option.
|
|
42
44
|
* @throws {RequiredError}
|
|
@@ -49,9 +51,10 @@ export declare const SearchableDocumentsApiFp: (configuration?: Configuration) =
|
|
|
49
51
|
*/
|
|
50
52
|
export declare const SearchableDocumentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
51
53
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
54
|
-
* @param {string}
|
|
54
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
55
|
+
* @summary List searchable documents
|
|
56
|
+
* @param {string} searchText Text to search in the documents.
|
|
57
|
+
* @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
|
|
55
58
|
* @param {string} [authorization] Bearer Token
|
|
56
59
|
* @param {*} [options] Override http request option.
|
|
57
60
|
* @throws {RequiredError}
|
|
@@ -65,13 +68,13 @@ export declare const SearchableDocumentsApiFactory: (configuration?: Configurati
|
|
|
65
68
|
*/
|
|
66
69
|
export interface SearchableDocumentsApiListSearchableDocumentsRequest {
|
|
67
70
|
/**
|
|
68
|
-
* Text to search in the documents
|
|
71
|
+
* Text to search in the documents.
|
|
69
72
|
* @type {string}
|
|
70
73
|
* @memberof SearchableDocumentsApiListSearchableDocuments
|
|
71
74
|
*/
|
|
72
75
|
readonly searchText: string;
|
|
73
76
|
/**
|
|
74
|
-
* List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided)
|
|
77
|
+
* List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
|
|
75
78
|
* @type {string}
|
|
76
79
|
* @memberof SearchableDocumentsApiListSearchableDocuments
|
|
77
80
|
*/
|
|
@@ -91,7 +94,8 @@ export interface SearchableDocumentsApiListSearchableDocumentsRequest {
|
|
|
91
94
|
*/
|
|
92
95
|
export declare class SearchableDocumentsApi extends BaseAPI {
|
|
93
96
|
/**
|
|
94
|
-
*
|
|
97
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
98
|
+
* @summary List searchable documents
|
|
95
99
|
* @param {SearchableDocumentsApiListSearchableDocumentsRequest} requestParameters Request parameters.
|
|
96
100
|
* @param {*} [options] Override http request option.
|
|
97
101
|
* @throws {RequiredError}
|
|
@@ -97,9 +97,10 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @
|
|
102
|
-
* @param {string}
|
|
100
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
101
|
+
* @summary List searchable documents
|
|
102
|
+
* @param {string} searchText Text to search in the documents.
|
|
103
|
+
* @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
|
|
103
104
|
* @param {string} [authorization] Bearer Token
|
|
104
105
|
* @param {*} [options] Override http request option.
|
|
105
106
|
* @throws {RequiredError}
|
|
@@ -162,9 +163,10 @@ var SearchableDocumentsApiFp = function (configuration) {
|
|
|
162
163
|
var localVarAxiosParamCreator = (0, exports.SearchableDocumentsApiAxiosParamCreator)(configuration);
|
|
163
164
|
return {
|
|
164
165
|
/**
|
|
165
|
-
*
|
|
166
|
-
* @
|
|
167
|
-
* @param {string}
|
|
166
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
167
|
+
* @summary List searchable documents
|
|
168
|
+
* @param {string} searchText Text to search in the documents.
|
|
169
|
+
* @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
|
|
168
170
|
* @param {string} [authorization] Bearer Token
|
|
169
171
|
* @param {*} [options] Override http request option.
|
|
170
172
|
* @throws {RequiredError}
|
|
@@ -193,9 +195,10 @@ var SearchableDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
193
195
|
var localVarFp = (0, exports.SearchableDocumentsApiFp)(configuration);
|
|
194
196
|
return {
|
|
195
197
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @
|
|
198
|
-
* @param {string}
|
|
198
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
199
|
+
* @summary List searchable documents
|
|
200
|
+
* @param {string} searchText Text to search in the documents.
|
|
201
|
+
* @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
|
|
199
202
|
* @param {string} [authorization] Bearer Token
|
|
200
203
|
* @param {*} [options] Override http request option.
|
|
201
204
|
* @throws {RequiredError}
|
|
@@ -218,7 +221,8 @@ var SearchableDocumentsApi = /** @class */ (function (_super) {
|
|
|
218
221
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
219
222
|
}
|
|
220
223
|
/**
|
|
221
|
-
*
|
|
224
|
+
* Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
225
|
+
* @summary List searchable documents
|
|
222
226
|
* @param {SearchableDocumentsApiListSearchableDocumentsRequest} requestParameters Request parameters.
|
|
223
227
|
* @param {*} [options] Override http request option.
|
|
224
228
|
* @throws {RequiredError}
|
package/dist/base.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare class BaseAPI {
|
|
|
59
59
|
private readEnvVariables;
|
|
60
60
|
selectEnvironment(env: Environment): void;
|
|
61
61
|
authorize(username: string, password: string): Promise<void>;
|
|
62
|
-
|
|
62
|
+
refreshTokenInternal(): Promise<string>;
|
|
63
63
|
private extractRefreshToken;
|
|
64
64
|
getConfiguration(): Configuration;
|
|
65
65
|
private attachInterceptor;
|
package/dist/base.js
CHANGED
|
@@ -270,7 +270,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
270
270
|
});
|
|
271
271
|
});
|
|
272
272
|
};
|
|
273
|
-
BaseAPI.prototype.
|
|
273
|
+
BaseAPI.prototype.refreshTokenInternal = function () {
|
|
274
274
|
return __awaiter(this, void 0, void 0, function () {
|
|
275
275
|
var _a, username, refreshToken, options, accessToken;
|
|
276
276
|
return __generator(this, function (_b) {
|
|
@@ -324,7 +324,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
324
324
|
_a.label = 1;
|
|
325
325
|
case 1:
|
|
326
326
|
_a.trys.push([1, 3, , 4]);
|
|
327
|
-
return [4 /*yield*/, this.
|
|
327
|
+
return [4 /*yield*/, this.refreshTokenInternal()];
|
|
328
328
|
case 2:
|
|
329
329
|
tokenString = _a.sent();
|
|
330
330
|
accessToken = "Bearer ".concat(tokenString);
|
|
@@ -351,7 +351,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
351
351
|
_a.label = 6;
|
|
352
352
|
case 6:
|
|
353
353
|
_a.trys.push([6, 8, , 9]);
|
|
354
|
-
return [4 /*yield*/, this.
|
|
354
|
+
return [4 /*yield*/, this.refreshTokenInternal()];
|
|
355
355
|
case 7:
|
|
356
356
|
tokenString = _a.sent();
|
|
357
357
|
accessToken = "Bearer ".concat(tokenString);
|
|
@@ -35,15 +35,15 @@ export interface CreateDocTemplateRequestDto {
|
|
|
35
35
|
*/
|
|
36
36
|
'layoutId': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Body template.
|
|
39
39
|
* @type {CreateHtmlTemplateDto}
|
|
40
40
|
* @memberof CreateDocTemplateRequestDto
|
|
41
41
|
*/
|
|
42
42
|
'bodyTemplate': CreateHtmlTemplateDto;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof CreateDocTemplateRequestDto
|
|
47
47
|
*/
|
|
48
|
-
'productSlug'?: string
|
|
48
|
+
'productSlug'?: string;
|
|
49
49
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateDocumentRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateDocumentRequestDto
|
|
22
22
|
*/
|
|
@@ -28,13 +28,13 @@ export interface CreateDocumentRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'payload': object;
|
|
30
30
|
/**
|
|
31
|
-
* Document entity type
|
|
31
|
+
* Document entity type.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateDocumentRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'entityType': CreateDocumentRequestDtoEntityTypeEnum;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateDocumentRequestDto
|
|
40
40
|
*/
|
|
@@ -46,25 +46,25 @@ export interface CreateDocumentRequestDto {
|
|
|
46
46
|
*/
|
|
47
47
|
'description': string;
|
|
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 CreateDocumentRequestDto
|
|
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 CreateDocumentRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'accountCode'?: string;
|
|
60
60
|
/**
|
|
61
|
-
* Unique identifier of the lead that
|
|
61
|
+
* Unique identifier of the lead that this object belongs to.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof CreateDocumentRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'leadCode'?: string;
|
|
66
66
|
/**
|
|
67
|
-
* Unique identifier referencing the entity
|
|
67
|
+
* Unique identifier referencing the entity.
|
|
68
68
|
* @type {number}
|
|
69
69
|
* @memberof CreateDocumentRequestDto
|
|
70
70
|
*/
|
|
@@ -76,7 +76,7 @@ export interface CreateDocumentRequestDto {
|
|
|
76
76
|
*/
|
|
77
77
|
'requester': CreateDocumentRequestDtoRequesterEnum;
|
|
78
78
|
/**
|
|
79
|
-
* Metadata
|
|
79
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
80
80
|
* @type {object}
|
|
81
81
|
* @memberof CreateDocumentRequestDto
|
|
82
82
|
*/
|
|
@@ -86,7 +86,7 @@ export interface CreateDocumentRequestDto {
|
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof CreateDocumentRequestDto
|
|
88
88
|
*/
|
|
89
|
-
'contentType'
|
|
89
|
+
'contentType': CreateDocumentRequestDtoContentTypeEnum;
|
|
90
90
|
/**
|
|
91
91
|
* Name of the file the end user will see when he downloads it.
|
|
92
92
|
* @type {string}
|
|
@@ -94,11 +94,11 @@ export interface CreateDocumentRequestDto {
|
|
|
94
94
|
*/
|
|
95
95
|
'filename'?: string;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
98
98
|
* @type {string}
|
|
99
99
|
* @memberof CreateDocumentRequestDto
|
|
100
100
|
*/
|
|
101
|
-
'productSlug'?: string
|
|
101
|
+
'productSlug'?: string;
|
|
102
102
|
}
|
|
103
103
|
export declare const CreateDocumentRequestDtoEntityTypeEnum: {
|
|
104
104
|
readonly PolicyApplication: "policy_application";
|
|
@@ -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 { DocumentClass } from './document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateDocumentSyncResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateDocumentSyncResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Document
|
|
21
|
+
* @type {DocumentClass}
|
|
22
|
+
* @memberof CreateDocumentSyncResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'document': DocumentClass;
|
|
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 });
|
|
@@ -17,33 +17,33 @@ import { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateLayoutRequestDto {
|
|
19
19
|
/**
|
|
20
|
-
* Layout name
|
|
20
|
+
* Layout name.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof CreateLayoutRequestDto
|
|
23
23
|
*/
|
|
24
24
|
'name': string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
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
27
|
* @type {string}
|
|
28
28
|
* @memberof CreateLayoutRequestDto
|
|
29
29
|
*/
|
|
30
30
|
'slug': string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CreateLayoutRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'style': string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
32
|
+
* Header template.
|
|
39
33
|
* @type {CreateHtmlTemplateDto}
|
|
40
34
|
* @memberof CreateLayoutRequestDto
|
|
41
35
|
*/
|
|
42
36
|
'headerTemplate': CreateHtmlTemplateDto;
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
38
|
+
* Footer template.
|
|
45
39
|
* @type {CreateHtmlTemplateDto}
|
|
46
40
|
* @memberof CreateLayoutRequestDto
|
|
47
41
|
*/
|
|
48
42
|
'footerTemplate': CreateHtmlTemplateDto;
|
|
43
|
+
/**
|
|
44
|
+
* Layout style.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CreateLayoutRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'style': string;
|
|
49
49
|
}
|
|
@@ -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 { LayoutClass } from './layout-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateLayoutResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLayoutResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Layout
|
|
21
|
+
* @type {LayoutClass}
|
|
22
|
+
* @memberof CreateLayoutResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'layout': LayoutClass;
|
|
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 });
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreatePresignedPostRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreatePresignedPostRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'templateSlug': string;
|
|
24
24
|
/**
|
|
25
|
-
* Document entity type
|
|
25
|
+
* Document entity type.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreatePresignedPostRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'entityType': string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Unique identifier referencing the entity.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof CreatePresignedPostRequestDto
|
|
34
34
|
*/
|
|
@@ -40,19 +40,19 @@ export interface CreatePresignedPostRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'description': string;
|
|
42
42
|
/**
|
|
43
|
-
* Unique identifier of the policy that
|
|
43
|
+
* Unique identifier of the policy that this object belongs to.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CreatePresignedPostRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'policyCode'?: string;
|
|
48
48
|
/**
|
|
49
|
-
* Unique identifier of the account that
|
|
49
|
+
* Unique identifier of the account that this object belongs to.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CreatePresignedPostRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'accountCode'?: string;
|
|
54
54
|
/**
|
|
55
|
-
* Unique identifier of the lead that
|
|
55
|
+
* Unique identifier of the lead that this object belongs to.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof CreatePresignedPostRequestDto
|
|
58
58
|
*/
|
|
@@ -64,13 +64,13 @@ export interface CreatePresignedPostRequestDto {
|
|
|
64
64
|
*/
|
|
65
65
|
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
66
66
|
/**
|
|
67
|
-
* Extension of the file
|
|
67
|
+
* Extension of the file.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof CreatePresignedPostRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
72
72
|
/**
|
|
73
|
-
* Content type of the file
|
|
73
|
+
* Content type of the file.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof CreatePresignedPostRequestDto
|
|
76
76
|
*/
|
|
@@ -82,11 +82,11 @@ export interface CreatePresignedPostRequestDto {
|
|
|
82
82
|
*/
|
|
83
83
|
'filename': string;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof CreatePresignedPostRequestDto
|
|
88
88
|
*/
|
|
89
|
-
'productSlug'?: string
|
|
89
|
+
'productSlug'?: string;
|
|
90
90
|
}
|
|
91
91
|
export declare const CreatePresignedPostRequestDtoRequesterEnum: {
|
|
92
92
|
readonly Accountservice: "accountservice";
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreatePresignedPostResponseClass {
|
|
18
18
|
/**
|
|
19
|
-
* Upload document fields
|
|
19
|
+
* Upload document fields.
|
|
20
20
|
* @type {object}
|
|
21
21
|
* @memberof CreatePresignedPostResponseClass
|
|
22
22
|
*/
|
|
23
23
|
'fields': object;
|
|
24
24
|
/**
|
|
25
|
-
* Pre-signed Url
|
|
25
|
+
* Pre-signed Url.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreatePresignedPostResponseClass
|
|
28
28
|
*/
|
|
@@ -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 DeleteResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof DeleteResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'response': object;
|
|
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 });
|
|
@@ -60,7 +60,7 @@ export interface DocTemplateClass {
|
|
|
60
60
|
*/
|
|
61
61
|
'layout'?: LayoutClass;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
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
64
|
* @type {string}
|
|
65
65
|
* @memberof DocTemplateClass
|
|
66
66
|
*/
|
|
@@ -78,7 +78,7 @@ export interface DocTemplateClass {
|
|
|
78
78
|
*/
|
|
79
79
|
'updatedAt': string;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Time at which the object was deleted.
|
|
82
82
|
* @type {string}
|
|
83
83
|
* @memberof DocTemplateClass
|
|
84
84
|
*/
|
|
@@ -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
|
*/
|
|
@@ -46,25 +46,25 @@ export interface DocumentClass {
|
|
|
46
46
|
*/
|
|
47
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 of the lead that
|
|
61
|
+
* Unique identifier of the lead that this object belongs to.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof DocumentClass
|
|
64
64
|
*/
|
|
65
65
|
'leadCode'?: string;
|
|
66
66
|
/**
|
|
67
|
-
* Unique identifier referencing the entity
|
|
67
|
+
* Unique identifier referencing the entity.
|
|
68
68
|
* @type {number}
|
|
69
69
|
* @memberof DocumentClass
|
|
70
70
|
*/
|
|
@@ -76,7 +76,7 @@ export interface DocumentClass {
|
|
|
76
76
|
*/
|
|
77
77
|
'requester': DocumentClassRequesterEnum;
|
|
78
78
|
/**
|
|
79
|
-
* Metadata
|
|
79
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
80
80
|
* @type {object}
|
|
81
81
|
* @memberof DocumentClass
|
|
82
82
|
*/
|
|
@@ -100,7 +100,7 @@ export interface DocumentClass {
|
|
|
100
100
|
*/
|
|
101
101
|
'contentType': DocumentClassContentTypeEnum;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
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
104
|
* @type {string}
|
|
105
105
|
* @memberof DocumentClass
|
|
106
106
|
*/
|
|
@@ -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
|
*/
|