@emilgroup/document-sdk-node 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 +45 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/document-templates-api.ts +675 -0
- package/api/documents-api.ts +762 -0
- package/api/layouts-api.ts +661 -0
- package/api/searchable-document-owners-api.ts +232 -0
- package/api/searchable-documents-api.ts +180 -0
- package/api.ts +44 -0
- package/base.ts +255 -0
- package/common.ts +138 -0
- package/configuration.ts +109 -0
- package/dist/api/document-templates-api.d.ts +372 -0
- package/dist/api/document-templates-api.js +628 -0
- package/dist/api/documents-api.d.ts +424 -0
- package/dist/api/documents-api.js +723 -0
- package/dist/api/layouts-api.d.ts +363 -0
- package/dist/api/layouts-api.js +622 -0
- package/dist/api/searchable-document-owners-api.d.ts +137 -0
- package/dist/api/searchable-document-owners-api.js +254 -0
- package/dist/api/searchable-documents-api.d.ts +101 -0
- package/dist/api/searchable-documents-api.js +233 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +40 -0
- package/dist/base.d.ts +76 -0
- package/dist/base.js +364 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +244 -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 +35 -0
- package/dist/models/create-doc-template-request-dto.d.ts +43 -0
- package/dist/models/create-doc-template-request-dto.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +143 -0
- package/dist/models/create-document-request-dto.js +65 -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-presigned-post-request-dto.d.ts +103 -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/doc-template-class.d.ts +80 -0
- package/dist/models/doc-template-class.js +15 -0
- package/dist/models/document-class.d.ts +150 -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/html-template-class.d.ts +66 -0
- package/dist/models/html-template-class.js +21 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.js +44 -0
- package/dist/models/layout-class.d.ts +79 -0
- package/dist/models/layout-class.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-searchable-document-owners-response-class.d.ts +24 -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 +30 -0
- package/dist/models/list-searchable-documents-response-class.js +15 -0
- package/dist/models/update-doc-template-request-dto.d.ts +49 -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 +48 -0
- package/dist/models/update-document-request-dto.js +15 -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 +49 -0
- package/models/create-document-request-dto.ts +155 -0
- package/models/create-html-template-dto.ts +30 -0
- package/models/create-layout-request-dto.ts +55 -0
- package/models/create-presigned-post-request-dto.ts +113 -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/doc-template-class.ts +86 -0
- package/models/document-class.ts +161 -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/html-template-class.ts +75 -0
- package/models/index.ts +28 -0
- package/models/layout-class.ts +85 -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-searchable-document-owners-response-class.ts +30 -0
- package/models/list-searchable-documents-request-dto.ts +36 -0
- package/models/list-searchable-documents-response-class.ts +36 -0
- package/models/update-doc-template-request-dto.ts +55 -0
- package/models/update-doc-template-response-class.ts +31 -0
- package/models/update-document-request-dto.ts +54 -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,90 @@
|
|
|
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
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
baseOptions?: any;
|
|
19
|
+
formDataCtor?: new () => any;
|
|
20
|
+
}
|
|
21
|
+
export declare class Configuration {
|
|
22
|
+
/**
|
|
23
|
+
* parameter for apiKey security
|
|
24
|
+
* @param name security name
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
username?: string;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for basic security
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* parameter for oauth2 security
|
|
44
|
+
* @param name security name
|
|
45
|
+
* @param scopes oauth2 scope
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
+
/**
|
|
50
|
+
* override base path
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
basePath?: string;
|
|
56
|
+
/**
|
|
57
|
+
* base options for axios calls
|
|
58
|
+
*
|
|
59
|
+
* @type {any}
|
|
60
|
+
* @memberof Configuration
|
|
61
|
+
*/
|
|
62
|
+
baseOptions?: any;
|
|
63
|
+
/**
|
|
64
|
+
* The FormData constructor that will be used to create multipart form data
|
|
65
|
+
* requests. You can inject this here so that execution environments that
|
|
66
|
+
* do not support the FormData class can still run the generated client.
|
|
67
|
+
*
|
|
68
|
+
* @type {new () => FormData}
|
|
69
|
+
*/
|
|
70
|
+
formDataCtor?: new () => any;
|
|
71
|
+
/**
|
|
72
|
+
* parameter for automatically refreshing access token for oauth2 security
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof Configuration
|
|
76
|
+
*/
|
|
77
|
+
refreshToken?: string;
|
|
78
|
+
constructor(param?: ConfigurationParameters);
|
|
79
|
+
/**
|
|
80
|
+
* Check if the given MIME is a JSON MIME.
|
|
81
|
+
* JSON MIME examples:
|
|
82
|
+
* application/json
|
|
83
|
+
* application/json; charset=UTF8
|
|
84
|
+
* APPLICATION/JSON
|
|
85
|
+
* application/vnd.company+json
|
|
86
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
87
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
88
|
+
*/
|
|
89
|
+
isJsonMime(mime: string): boolean;
|
|
90
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.Configuration = void 0;
|
|
17
|
+
var Configuration = /** @class */ (function () {
|
|
18
|
+
function Configuration(param) {
|
|
19
|
+
if (param === void 0) { param = {}; }
|
|
20
|
+
this.apiKey = param.apiKey;
|
|
21
|
+
this.username = param.username;
|
|
22
|
+
this.password = param.password;
|
|
23
|
+
this.accessToken = param.accessToken;
|
|
24
|
+
this.basePath = param.basePath;
|
|
25
|
+
this.baseOptions = param.baseOptions;
|
|
26
|
+
this.formDataCtor = param.formDataCtor;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if the given MIME is a JSON MIME.
|
|
30
|
+
* JSON MIME examples:
|
|
31
|
+
* application/json
|
|
32
|
+
* application/json; charset=UTF8
|
|
33
|
+
* APPLICATION/JSON
|
|
34
|
+
* application/vnd.company+json
|
|
35
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
36
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
37
|
+
*/
|
|
38
|
+
Configuration.prototype.isJsonMime = function (mime) {
|
|
39
|
+
var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
40
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
41
|
+
};
|
|
42
|
+
return Configuration;
|
|
43
|
+
}());
|
|
44
|
+
exports.Configuration = Configuration;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
export { BaseAPI } from "./base";
|
|
13
|
+
export * from "./api";
|
|
14
|
+
export * from "./configuration";
|
|
15
|
+
export * from "./models";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.BaseAPI = void 0;
|
|
31
|
+
var base_1 = require("./base");
|
|
32
|
+
Object.defineProperty(exports, "BaseAPI", { enumerable: true, get: function () { return base_1.BaseAPI; } });
|
|
33
|
+
__exportStar(require("./api"), exports);
|
|
34
|
+
__exportStar(require("./configuration"), exports);
|
|
35
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateDocTemplateRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateDocTemplateRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Template name
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateDocTemplateRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'name': string;
|
|
25
|
+
/**
|
|
26
|
+
* Template slug
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateDocTemplateRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'slug': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof CreateDocTemplateRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'layoutId': number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {CreateHtmlTemplateDto}
|
|
40
|
+
* @memberof CreateDocTemplateRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'bodyTemplate': CreateHtmlTemplateDto;
|
|
43
|
+
}
|
|
@@ -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,143 @@
|
|
|
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 CreateDocumentRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateDocumentRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for this document.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateDocumentRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'templateSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* Payload used to replace variables in the template.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof CreateDocumentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'payload': object;
|
|
30
|
+
/**
|
|
31
|
+
* Document entity type
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateDocumentRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'entityType': CreateDocumentRequestDtoEntityTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateDocumentRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'strategy'?: CreateDocumentRequestDtoStrategyEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Description of the document. Usually a short summary about the context in which the document is being used.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateDocumentRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'description': string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier of the policy that the document belongs to
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateDocumentRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'policyCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique identifier of the account that the document belongs to
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateDocumentRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'accountCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier referencing the entity on the service the document belongs to.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CreateDocumentRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'entityId'?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the service that requested the creation of this document.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateDocumentRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'requester': CreateDocumentRequestDtoRequesterEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Metadata can contain extra information that the document would need for specific cases.
|
|
74
|
+
* @type {object}
|
|
75
|
+
* @memberof CreateDocumentRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'metadata'?: object;
|
|
78
|
+
/**
|
|
79
|
+
* Type of the document expressed with its file extension.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreateDocumentRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'contentType'?: CreateDocumentRequestDtoContentTypeEnum;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the file the end user will see when he downloads it.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreateDocumentRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'filename'?: string;
|
|
90
|
+
}
|
|
91
|
+
export declare const CreateDocumentRequestDtoEntityTypeEnum: {
|
|
92
|
+
readonly PolicyApplication: "policy_application";
|
|
93
|
+
readonly PolicyContract: "policy_contract";
|
|
94
|
+
readonly PolicyAddendum: "policy_addendum";
|
|
95
|
+
readonly InitialInvoice: "initial_invoice";
|
|
96
|
+
readonly CorrectionInvoice: "correction_invoice";
|
|
97
|
+
readonly RecurringInvoice: "recurring_invoice";
|
|
98
|
+
readonly SepaMandate: "sepa_mandate";
|
|
99
|
+
readonly Static: "static";
|
|
100
|
+
};
|
|
101
|
+
export declare type CreateDocumentRequestDtoEntityTypeEnum = typeof CreateDocumentRequestDtoEntityTypeEnum[keyof typeof CreateDocumentRequestDtoEntityTypeEnum];
|
|
102
|
+
export declare const CreateDocumentRequestDtoStrategyEnum: {
|
|
103
|
+
readonly Sync: "Sync";
|
|
104
|
+
readonly Async: "Async";
|
|
105
|
+
};
|
|
106
|
+
export declare type CreateDocumentRequestDtoStrategyEnum = typeof CreateDocumentRequestDtoStrategyEnum[keyof typeof CreateDocumentRequestDtoStrategyEnum];
|
|
107
|
+
export declare const CreateDocumentRequestDtoRequesterEnum: {
|
|
108
|
+
readonly Accountservice: "accountservice";
|
|
109
|
+
readonly Insuranceservice: "insuranceservice";
|
|
110
|
+
readonly Billingservice: "billingservice";
|
|
111
|
+
readonly Tenantservice: "tenantservice";
|
|
112
|
+
readonly BookingFunnel: "bookingFunnel";
|
|
113
|
+
readonly Publicapi: "publicapi";
|
|
114
|
+
readonly Admin: "admin";
|
|
115
|
+
readonly Claimservice: "claimservice";
|
|
116
|
+
readonly Customerservice: "customerservice";
|
|
117
|
+
readonly Notificationservice: "notificationservice";
|
|
118
|
+
readonly Paymentservice: "paymentservice";
|
|
119
|
+
readonly Processmanager: "processmanager";
|
|
120
|
+
readonly Gdvservice: "gdvservice";
|
|
121
|
+
};
|
|
122
|
+
export declare type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum];
|
|
123
|
+
export declare const CreateDocumentRequestDtoContentTypeEnum: {
|
|
124
|
+
readonly Pdf: "pdf";
|
|
125
|
+
readonly Jpg: "jpg";
|
|
126
|
+
readonly Png: "png";
|
|
127
|
+
readonly Gz: "gz";
|
|
128
|
+
readonly Csv: "csv";
|
|
129
|
+
readonly Doc: "doc";
|
|
130
|
+
readonly Docx: "docx";
|
|
131
|
+
readonly Html: "html";
|
|
132
|
+
readonly Json: "json";
|
|
133
|
+
readonly Xml: "xml";
|
|
134
|
+
readonly Txt: "txt";
|
|
135
|
+
readonly Zip: "zip";
|
|
136
|
+
readonly Tar: "tar";
|
|
137
|
+
readonly Rar: "rar";
|
|
138
|
+
readonly Mp4: "MP4";
|
|
139
|
+
readonly Mov: "MOV";
|
|
140
|
+
readonly Wmv: "WMV";
|
|
141
|
+
readonly Avi: "AVI";
|
|
142
|
+
};
|
|
143
|
+
export declare type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL DocumentService
|
|
6
|
+
* The EMIL DocumentService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = exports.CreateDocumentRequestDtoStrategyEnum = exports.CreateDocumentRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.CreateDocumentRequestDtoEntityTypeEnum = {
|
|
18
|
+
PolicyApplication: 'policy_application',
|
|
19
|
+
PolicyContract: 'policy_contract',
|
|
20
|
+
PolicyAddendum: 'policy_addendum',
|
|
21
|
+
InitialInvoice: 'initial_invoice',
|
|
22
|
+
CorrectionInvoice: 'correction_invoice',
|
|
23
|
+
RecurringInvoice: 'recurring_invoice',
|
|
24
|
+
SepaMandate: 'sepa_mandate',
|
|
25
|
+
Static: 'static'
|
|
26
|
+
};
|
|
27
|
+
exports.CreateDocumentRequestDtoStrategyEnum = {
|
|
28
|
+
Sync: 'Sync',
|
|
29
|
+
Async: 'Async'
|
|
30
|
+
};
|
|
31
|
+
exports.CreateDocumentRequestDtoRequesterEnum = {
|
|
32
|
+
Accountservice: 'accountservice',
|
|
33
|
+
Insuranceservice: 'insuranceservice',
|
|
34
|
+
Billingservice: 'billingservice',
|
|
35
|
+
Tenantservice: 'tenantservice',
|
|
36
|
+
BookingFunnel: 'bookingFunnel',
|
|
37
|
+
Publicapi: 'publicapi',
|
|
38
|
+
Admin: 'admin',
|
|
39
|
+
Claimservice: 'claimservice',
|
|
40
|
+
Customerservice: 'customerservice',
|
|
41
|
+
Notificationservice: 'notificationservice',
|
|
42
|
+
Paymentservice: 'paymentservice',
|
|
43
|
+
Processmanager: 'processmanager',
|
|
44
|
+
Gdvservice: 'gdvservice'
|
|
45
|
+
};
|
|
46
|
+
exports.CreateDocumentRequestDtoContentTypeEnum = {
|
|
47
|
+
Pdf: 'pdf',
|
|
48
|
+
Jpg: 'jpg',
|
|
49
|
+
Png: 'png',
|
|
50
|
+
Gz: 'gz',
|
|
51
|
+
Csv: 'csv',
|
|
52
|
+
Doc: 'doc',
|
|
53
|
+
Docx: 'docx',
|
|
54
|
+
Html: 'html',
|
|
55
|
+
Json: 'json',
|
|
56
|
+
Xml: 'xml',
|
|
57
|
+
Txt: 'txt',
|
|
58
|
+
Zip: 'zip',
|
|
59
|
+
Tar: 'tar',
|
|
60
|
+
Rar: 'rar',
|
|
61
|
+
Mp4: 'MP4',
|
|
62
|
+
Mov: 'MOV',
|
|
63
|
+
Wmv: 'WMV',
|
|
64
|
+
Avi: 'AVI'
|
|
65
|
+
};
|
|
@@ -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 CreateHtmlTemplateDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateHtmlTemplateDto {
|
|
18
|
+
/**
|
|
19
|
+
* Template draft content
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateHtmlTemplateDto
|
|
22
|
+
*/
|
|
23
|
+
'draftContent': 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 });
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CreateHtmlTemplateDto } from './create-html-template-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateLayoutRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLayoutRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Layout name
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateLayoutRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'name': string;
|
|
25
|
+
/**
|
|
26
|
+
* Layout slug
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateLayoutRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'slug': string;
|
|
31
|
+
/**
|
|
32
|
+
* Layout style
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateLayoutRequestDto
|
|
35
|
+
*/
|
|
36
|
+
'style': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {CreateHtmlTemplateDto}
|
|
40
|
+
* @memberof CreateLayoutRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'headerTemplate': CreateHtmlTemplateDto;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {CreateHtmlTemplateDto}
|
|
46
|
+
* @memberof CreateLayoutRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'footerTemplate': CreateHtmlTemplateDto;
|
|
49
|
+
}
|
|
@@ -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,103 @@
|
|
|
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 CreatePresignedPostRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePresignedPostRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Document template slug
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePresignedPostRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'templateSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* Document entity type
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePresignedPostRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'entityType': string;
|
|
30
|
+
/**
|
|
31
|
+
* Document description
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePresignedPostRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier for policy
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePresignedPostRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'policyCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier for account
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePresignedPostRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'accountCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Document requester
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePresignedPostRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Document content type
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreatePresignedPostRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreatePresignedPostRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'filename': string;
|
|
66
|
+
}
|
|
67
|
+
export declare const CreatePresignedPostRequestDtoRequesterEnum: {
|
|
68
|
+
readonly Accountservice: "accountservice";
|
|
69
|
+
readonly Insuranceservice: "insuranceservice";
|
|
70
|
+
readonly Billingservice: "billingservice";
|
|
71
|
+
readonly Tenantservice: "tenantservice";
|
|
72
|
+
readonly BookingFunnel: "bookingFunnel";
|
|
73
|
+
readonly Publicapi: "publicapi";
|
|
74
|
+
readonly Admin: "admin";
|
|
75
|
+
readonly Claimservice: "claimservice";
|
|
76
|
+
readonly Customerservice: "customerservice";
|
|
77
|
+
readonly Notificationservice: "notificationservice";
|
|
78
|
+
readonly Paymentservice: "paymentservice";
|
|
79
|
+
readonly Processmanager: "processmanager";
|
|
80
|
+
readonly Gdvservice: "gdvservice";
|
|
81
|
+
};
|
|
82
|
+
export declare type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
83
|
+
export declare const CreatePresignedPostRequestDtoContentTypeEnum: {
|
|
84
|
+
readonly Pdf: "pdf";
|
|
85
|
+
readonly Jpg: "jpg";
|
|
86
|
+
readonly Png: "png";
|
|
87
|
+
readonly Gz: "gz";
|
|
88
|
+
readonly Csv: "csv";
|
|
89
|
+
readonly Doc: "doc";
|
|
90
|
+
readonly Docx: "docx";
|
|
91
|
+
readonly Html: "html";
|
|
92
|
+
readonly Json: "json";
|
|
93
|
+
readonly Xml: "xml";
|
|
94
|
+
readonly Txt: "txt";
|
|
95
|
+
readonly Zip: "zip";
|
|
96
|
+
readonly Tar: "tar";
|
|
97
|
+
readonly Rar: "rar";
|
|
98
|
+
readonly Mp4: "MP4";
|
|
99
|
+
readonly Mov: "MOV";
|
|
100
|
+
readonly Wmv: "WMV";
|
|
101
|
+
readonly Avi: "AVI";
|
|
102
|
+
};
|
|
103
|
+
export declare type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
|