@emilgroup/document-sdk 1.0.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 +61 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/document-templates-api.ts +669 -0
- package/api/documents-api.ts +880 -0
- package/api/layouts-api.ts +685 -0
- package/api/search-keywords-api.ts +168 -0
- package/api/searchable-document-owners-api.ts +236 -0
- package/api/searchable-documents-api.ts +184 -0
- package/api.ts +41 -0
- package/base.ts +284 -0
- package/common.ts +199 -0
- package/configuration.ts +109 -0
- package/dist/api/document-templates-api.d.ts +376 -0
- package/dist/api/document-templates-api.js +634 -0
- package/dist/api/documents-api.d.ts +488 -0
- package/dist/api/documents-api.js +821 -0
- package/dist/api/layouts-api.d.ts +385 -0
- package/dist/api/layouts-api.js +642 -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 +141 -0
- package/dist/api/searchable-document-owners-api.js +258 -0
- package/dist/api/searchable-documents-api.d.ts +105 -0
- package/dist/api/searchable-documents-api.js +237 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +393 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-doc-template-request-dto.d.ts +49 -0
- package/dist/models/create-doc-template-request-dto.js +15 -0
- 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 +155 -0
- package/dist/models/create-document-request-dto.js +65 -0
- 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 +24 -0
- package/dist/models/create-html-template-dto.js +15 -0
- package/dist/models/create-layout-request-dto.d.ts +49 -0
- package/dist/models/create-layout-request-dto.js +15 -0
- 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 +127 -0
- package/dist/models/create-presigned-post-request-dto.js +51 -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 +24 -0
- package/dist/models/delete-layout-request-dto.js +15 -0
- package/dist/models/delete-request-dto.d.ts +24 -0
- package/dist/models/delete-request-dto.js +15 -0
- 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 +86 -0
- package/dist/models/doc-template-class.js +15 -0
- package/dist/models/document-class.d.ts +162 -0
- package/dist/models/document-class.js +61 -0
- package/dist/models/download-document-request-dto.d.ts +30 -0
- package/dist/models/download-document-request-dto.js +15 -0
- package/dist/models/get-doc-template-request-dto.d.ts +30 -0
- package/dist/models/get-doc-template-request-dto.js +15 -0
- package/dist/models/get-doc-template-response-class.d.ts +25 -0
- package/dist/models/get-doc-template-response-class.js +15 -0
- package/dist/models/get-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-document-download-url-response-class.js +15 -0
- package/dist/models/get-layout-request-dto.d.ts +24 -0
- package/dist/models/get-layout-request-dto.js +15 -0
- package/dist/models/get-layout-response-class.d.ts +25 -0
- package/dist/models/get-layout-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 +66 -0
- package/dist/models/html-template-class.js +21 -0
- package/dist/models/index.d.ts +42 -0
- package/dist/models/index.js +58 -0
- package/dist/models/layout-class.d.ts +79 -0
- package/dist/models/layout-class.js +15 -0
- 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 +31 -0
- package/dist/models/list-doc-templates-response-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/list-layouts-response-class.d.ts +31 -0
- package/dist/models/list-layouts-response-class.js +15 -0
- package/dist/models/list-request-dto.d.ts +54 -0
- package/dist/models/list-request-dto.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 +25 -0
- package/dist/models/list-searchable-document-owners-response-class.js +15 -0
- package/dist/models/list-searchable-documents-request-dto.d.ts +30 -0
- package/dist/models/list-searchable-documents-request-dto.js +15 -0
- package/dist/models/list-searchable-documents-response-class.d.ts +31 -0
- package/dist/models/list-searchable-documents-response-class.js +15 -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 +55 -0
- package/dist/models/update-doc-template-request-dto.js +15 -0
- package/dist/models/update-doc-template-response-class.d.ts +25 -0
- package/dist/models/update-doc-template-response-class.js +15 -0
- package/dist/models/update-document-request-dto.d.ts +54 -0
- package/dist/models/update-document-request-dto.js +15 -0
- 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 +55 -0
- package/dist/models/update-layout-request-dto.js +15 -0
- package/dist/models/update-layout-response-class.d.ts +25 -0
- package/dist/models/update-layout-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-doc-template-request-dto.ts +55 -0
- package/models/create-doc-template-response-class.ts +31 -0
- package/models/create-document-request-dto.ts +167 -0
- package/models/create-document-sync-response-class.ts +31 -0
- package/models/create-html-template-dto.ts +30 -0
- package/models/create-layout-request-dto.ts +55 -0
- package/models/create-layout-response-class.ts +31 -0
- package/models/create-presigned-post-request-dto.ts +137 -0
- package/models/create-presigned-post-response-class.ts +36 -0
- package/models/delete-layout-request-dto.ts +30 -0
- package/models/delete-request-dto.ts +30 -0
- package/models/delete-response-class.ts +30 -0
- package/models/doc-template-class.ts +92 -0
- package/models/document-class.ts +173 -0
- package/models/download-document-request-dto.ts +36 -0
- package/models/get-doc-template-request-dto.ts +36 -0
- package/models/get-doc-template-response-class.ts +31 -0
- package/models/get-document-download-url-response-class.ts +30 -0
- package/models/get-layout-request-dto.ts +30 -0
- package/models/get-layout-response-class.ts +31 -0
- package/models/get-signed-s3-key-url-response-class.ts +30 -0
- package/models/html-template-class.ts +75 -0
- package/models/index.ts +42 -0
- package/models/layout-class.ts +85 -0
- package/models/list-doc-template-request-dto.ts +54 -0
- package/models/list-doc-templates-response-class.ts +37 -0
- package/models/list-documents-response-class.ts +37 -0
- package/models/list-layouts-response-class.ts +37 -0
- package/models/list-request-dto.ts +60 -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 +31 -0
- package/models/list-searchable-documents-request-dto.ts +36 -0
- package/models/list-searchable-documents-response-class.ts +37 -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 +61 -0
- package/models/update-doc-template-response-class.ts +31 -0
- package/models/update-document-request-dto.ts +60 -0
- 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 +61 -0
- package/models/update-layout-response-class.ts +31 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -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/git_push.sh
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="Emil"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="document-sdk"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
package/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
|
+
export * from "./api";
|
|
18
|
+
export * from "./configuration";
|
|
19
|
+
export * from "./models";
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateDocTemplateRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDocTemplateRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Template name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateDocTemplateRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
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
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateDocTemplateRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'slug': string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier referencing the layout.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateDocTemplateRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'layoutId': number;
|
|
42
|
+
/**
|
|
43
|
+
* Body template.
|
|
44
|
+
* @type {CreateHtmlTemplateDto}
|
|
45
|
+
* @memberof CreateDocTemplateRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'bodyTemplate': CreateHtmlTemplateDto;
|
|
48
|
+
/**
|
|
49
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateDocTemplateRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'productSlug'?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -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 { DocTemplateClass } from './doc-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateDocTemplateResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDocTemplateResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Document template.
|
|
26
|
+
* @type {DocTemplateClass}
|
|
27
|
+
* @memberof CreateDocTemplateResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'template': DocTemplateClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
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 CreateDocumentRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDocumentRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateDocumentRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'templateSlug': string;
|
|
29
|
+
/**
|
|
30
|
+
* Payload used to replace variables in the template.
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof CreateDocumentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'payload': object;
|
|
35
|
+
/**
|
|
36
|
+
* Document entity type.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateDocumentRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'entityType': CreateDocumentRequestDtoEntityTypeEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the document creation strategy to be used, either synchronous or asynchronous.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateDocumentRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'strategy'?: CreateDocumentRequestDtoStrategyEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateDocumentRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'description': string;
|
|
53
|
+
/**
|
|
54
|
+
* Unique identifier of the policy that this object belongs to.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateDocumentRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'policyCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier of the account that this object belongs to.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateDocumentRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'accountCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the lead that this object belongs to.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateDocumentRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'leadCode'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Unique identifier referencing the entity.
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof CreateDocumentRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'entityId'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the service that requested the creation of this document.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateDocumentRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'requester': CreateDocumentRequestDtoRequesterEnum;
|
|
83
|
+
/**
|
|
84
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof CreateDocumentRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'metadata'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Type of the document expressed with its file extension.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateDocumentRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'contentType': CreateDocumentRequestDtoContentTypeEnum;
|
|
95
|
+
/**
|
|
96
|
+
* Name of the file the end user will see when he downloads it.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof CreateDocumentRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'filename'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof CreateDocumentRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'productSlug'?: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export const CreateDocumentRequestDtoEntityTypeEnum = {
|
|
110
|
+
PolicyApplication: 'policy_application',
|
|
111
|
+
PolicyContract: 'policy_contract',
|
|
112
|
+
PolicyAddendum: 'policy_addendum',
|
|
113
|
+
InitialInvoice: 'initial_invoice',
|
|
114
|
+
CorrectionInvoice: 'correction_invoice',
|
|
115
|
+
RecurringInvoice: 'recurring_invoice',
|
|
116
|
+
SepaMandate: 'sepa_mandate',
|
|
117
|
+
Static: 'static'
|
|
118
|
+
} as const;
|
|
119
|
+
|
|
120
|
+
export type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
|
|
121
|
+
export const CreateDocumentRequestDtoStrategyEnum = {
|
|
122
|
+
Sync: 'Sync',
|
|
123
|
+
Async: 'Async'
|
|
124
|
+
} as const;
|
|
125
|
+
|
|
126
|
+
export type CreateDocumentRequestDtoStrategyEnum = typeof CreateDocumentRequestDtoStrategyEnum[keyof typeof CreateDocumentRequestDtoStrategyEnum];
|
|
127
|
+
export const CreateDocumentRequestDtoRequesterEnum = {
|
|
128
|
+
Accountservice: 'accountservice',
|
|
129
|
+
Insuranceservice: 'insuranceservice',
|
|
130
|
+
Billingservice: 'billingservice',
|
|
131
|
+
Tenantservice: 'tenantservice',
|
|
132
|
+
BookingFunnel: 'bookingFunnel',
|
|
133
|
+
Publicapi: 'publicapi',
|
|
134
|
+
Admin: 'admin',
|
|
135
|
+
Claimservice: 'claimservice',
|
|
136
|
+
Customerservice: 'customerservice',
|
|
137
|
+
Notificationservice: 'notificationservice',
|
|
138
|
+
Paymentservice: 'paymentservice',
|
|
139
|
+
Processmanager: 'processmanager',
|
|
140
|
+
Gdvservice: 'gdvservice'
|
|
141
|
+
} as const;
|
|
142
|
+
|
|
143
|
+
export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
|
|
144
|
+
export const CreateDocumentRequestDtoContentTypeEnum = {
|
|
145
|
+
Pdf: 'pdf',
|
|
146
|
+
Jpg: 'jpg',
|
|
147
|
+
Png: 'png',
|
|
148
|
+
Gz: 'gz',
|
|
149
|
+
Csv: 'csv',
|
|
150
|
+
Doc: 'doc',
|
|
151
|
+
Docx: 'docx',
|
|
152
|
+
Html: 'html',
|
|
153
|
+
Json: 'json',
|
|
154
|
+
Xml: 'xml',
|
|
155
|
+
Txt: 'txt',
|
|
156
|
+
Zip: 'zip',
|
|
157
|
+
Tar: 'tar',
|
|
158
|
+
Rar: 'rar',
|
|
159
|
+
Mp4: 'MP4',
|
|
160
|
+
Mov: 'MOV',
|
|
161
|
+
Wmv: 'WMV',
|
|
162
|
+
Avi: 'AVI'
|
|
163
|
+
} as const;
|
|
164
|
+
|
|
165
|
+
export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
|
|
166
|
+
|
|
167
|
+
|
|
@@ -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 { DocumentClass } from './document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateDocumentSyncResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateDocumentSyncResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Document
|
|
26
|
+
* @type {DocumentClass}
|
|
27
|
+
* @memberof CreateDocumentSyncResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'document': DocumentClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 CreateHtmlTemplateDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateHtmlTemplateDto {
|
|
23
|
+
/**
|
|
24
|
+
* Template draft content.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateHtmlTemplateDto
|
|
27
|
+
*/
|
|
28
|
+
'draftContent': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateLayoutRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateLayoutRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Layout name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateLayoutRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
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
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateLayoutRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'slug': string;
|
|
36
|
+
/**
|
|
37
|
+
* Header template.
|
|
38
|
+
* @type {CreateHtmlTemplateDto}
|
|
39
|
+
* @memberof CreateLayoutRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'headerTemplate': CreateHtmlTemplateDto;
|
|
42
|
+
/**
|
|
43
|
+
* Footer template.
|
|
44
|
+
* @type {CreateHtmlTemplateDto}
|
|
45
|
+
* @memberof CreateLayoutRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'footerTemplate': CreateHtmlTemplateDto;
|
|
48
|
+
/**
|
|
49
|
+
* Layout style.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateLayoutRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'style': string;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -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 { LayoutClass } from './layout-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateLayoutResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateLayoutResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Layout
|
|
26
|
+
* @type {LayoutClass}
|
|
27
|
+
* @memberof CreateLayoutResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'layout': LayoutClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
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 CreatePresignedPostRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePresignedPostRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePresignedPostRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'templateSlug': string;
|
|
29
|
+
/**
|
|
30
|
+
* Document entity type.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePresignedPostRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'entityType': string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier referencing the entity.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreatePresignedPostRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'entityId': number;
|
|
41
|
+
/**
|
|
42
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePresignedPostRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'description': string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of the policy that this object belongs to.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePresignedPostRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'policyCode'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Unique identifier of the account that this object belongs to.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePresignedPostRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'accountCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier of the lead that this object belongs to.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreatePresignedPostRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'leadCode'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Identifier of the service that requested the creation of this document.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreatePresignedPostRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
71
|
+
/**
|
|
72
|
+
* Extension of the file.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreatePresignedPostRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Content type of the file.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreatePresignedPostRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'isoContentType': string;
|
|
83
|
+
/**
|
|
84
|
+
* Name of the file the end user will see when he downloads it.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CreatePresignedPostRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'filename': string;
|
|
89
|
+
/**
|
|
90
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreatePresignedPostRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'productSlug'?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export const CreatePresignedPostRequestDtoRequesterEnum = {
|
|
98
|
+
Accountservice: 'accountservice',
|
|
99
|
+
Insuranceservice: 'insuranceservice',
|
|
100
|
+
Billingservice: 'billingservice',
|
|
101
|
+
Tenantservice: 'tenantservice',
|
|
102
|
+
BookingFunnel: 'bookingFunnel',
|
|
103
|
+
Publicapi: 'publicapi',
|
|
104
|
+
Admin: 'admin',
|
|
105
|
+
Claimservice: 'claimservice',
|
|
106
|
+
Customerservice: 'customerservice',
|
|
107
|
+
Notificationservice: 'notificationservice',
|
|
108
|
+
Paymentservice: 'paymentservice',
|
|
109
|
+
Processmanager: 'processmanager',
|
|
110
|
+
Gdvservice: 'gdvservice'
|
|
111
|
+
} as const;
|
|
112
|
+
|
|
113
|
+
export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
114
|
+
export const CreatePresignedPostRequestDtoContentTypeEnum = {
|
|
115
|
+
Pdf: 'pdf',
|
|
116
|
+
Jpg: 'jpg',
|
|
117
|
+
Png: 'png',
|
|
118
|
+
Gz: 'gz',
|
|
119
|
+
Csv: 'csv',
|
|
120
|
+
Doc: 'doc',
|
|
121
|
+
Docx: 'docx',
|
|
122
|
+
Html: 'html',
|
|
123
|
+
Json: 'json',
|
|
124
|
+
Xml: 'xml',
|
|
125
|
+
Txt: 'txt',
|
|
126
|
+
Zip: 'zip',
|
|
127
|
+
Tar: 'tar',
|
|
128
|
+
Rar: 'rar',
|
|
129
|
+
Mp4: 'MP4',
|
|
130
|
+
Mov: 'MOV',
|
|
131
|
+
Wmv: 'WMV',
|
|
132
|
+
Avi: 'AVI'
|
|
133
|
+
} as const;
|
|
134
|
+
|
|
135
|
+
export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
|
|
136
|
+
|
|
137
|
+
|
|
@@ -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 CreatePresignedPostResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePresignedPostResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Upload document fields.
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof CreatePresignedPostResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'fields': object;
|
|
29
|
+
/**
|
|
30
|
+
* Pre-signed Url.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePresignedPostResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'url': string;
|
|
35
|
+
}
|
|
36
|
+
|