@emilgroup/document-sdk-node 1.0.0 → 1.2.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 +1 -0
- package/README.md +2 -2
- package/api.ts +0 -5
- package/base.ts +271 -242
- package/common.ts +61 -0
- package/dist/api/document-templates-api.js +1 -1
- package/dist/api/documents-api.js +1 -1
- package/dist/api/layouts-api.js +1 -1
- package/dist/api/searchable-document-owners-api.js +1 -1
- package/dist/api/searchable-documents-api.js +1 -1
- package/dist/api.d.ts +0 -4
- package/dist/api.js +0 -6
- package/dist/base.d.ts +6 -5
- package/dist/base.js +45 -16
- package/dist/common.d.ts +26 -0
- package/dist/common.js +35 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/models/create-document-request-dto.d.ts +4 -4
- package/dist/models/document-class.d.ts +3 -3
- package/dist/models/html-template-class.d.ts +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +0 -103
- package/dist/models/create-presigned-post-request-dto.js +0 -51
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/models/create-presigned-post-request-dto.ts +0 -113
- package/models/create-presigned-post-response-class.ts +0 -36
|
@@ -1,113 +0,0 @@
|
|
|
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
|
-
* Document template slug
|
|
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
|
-
* Document description
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof CreatePresignedPostRequestDto
|
|
39
|
-
*/
|
|
40
|
-
'description': string;
|
|
41
|
-
/**
|
|
42
|
-
* Unique identifier for policy
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof CreatePresignedPostRequestDto
|
|
45
|
-
*/
|
|
46
|
-
'policyCode'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Unique identifier for account
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof CreatePresignedPostRequestDto
|
|
51
|
-
*/
|
|
52
|
-
'accountCode'?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Document requester
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof CreatePresignedPostRequestDto
|
|
57
|
-
*/
|
|
58
|
-
'requester': CreatePresignedPostRequestDtoRequesterEnum;
|
|
59
|
-
/**
|
|
60
|
-
* Document content type
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof CreatePresignedPostRequestDto
|
|
63
|
-
*/
|
|
64
|
-
'contentType': CreatePresignedPostRequestDtoContentTypeEnum;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof CreatePresignedPostRequestDto
|
|
69
|
-
*/
|
|
70
|
-
'filename': string;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export const CreatePresignedPostRequestDtoRequesterEnum = {
|
|
74
|
-
Accountservice: 'accountservice',
|
|
75
|
-
Insuranceservice: 'insuranceservice',
|
|
76
|
-
Billingservice: 'billingservice',
|
|
77
|
-
Tenantservice: 'tenantservice',
|
|
78
|
-
BookingFunnel: 'bookingFunnel',
|
|
79
|
-
Publicapi: 'publicapi',
|
|
80
|
-
Admin: 'admin',
|
|
81
|
-
Claimservice: 'claimservice',
|
|
82
|
-
Customerservice: 'customerservice',
|
|
83
|
-
Notificationservice: 'notificationservice',
|
|
84
|
-
Paymentservice: 'paymentservice',
|
|
85
|
-
Processmanager: 'processmanager',
|
|
86
|
-
Gdvservice: 'gdvservice'
|
|
87
|
-
} as const;
|
|
88
|
-
|
|
89
|
-
export type CreatePresignedPostRequestDtoRequesterEnum = typeof CreatePresignedPostRequestDtoRequesterEnum[keyof typeof CreatePresignedPostRequestDtoRequesterEnum];
|
|
90
|
-
export const CreatePresignedPostRequestDtoContentTypeEnum = {
|
|
91
|
-
Pdf: 'pdf',
|
|
92
|
-
Jpg: 'jpg',
|
|
93
|
-
Png: 'png',
|
|
94
|
-
Gz: 'gz',
|
|
95
|
-
Csv: 'csv',
|
|
96
|
-
Doc: 'doc',
|
|
97
|
-
Docx: 'docx',
|
|
98
|
-
Html: 'html',
|
|
99
|
-
Json: 'json',
|
|
100
|
-
Xml: 'xml',
|
|
101
|
-
Txt: 'txt',
|
|
102
|
-
Zip: 'zip',
|
|
103
|
-
Tar: 'tar',
|
|
104
|
-
Rar: 'rar',
|
|
105
|
-
Mp4: 'MP4',
|
|
106
|
-
Mov: 'MOV',
|
|
107
|
-
Wmv: 'WMV',
|
|
108
|
-
Avi: 'AVI'
|
|
109
|
-
} as const;
|
|
110
|
-
|
|
111
|
-
export type CreatePresignedPostRequestDtoContentTypeEnum = typeof CreatePresignedPostRequestDtoContentTypeEnum[keyof typeof CreatePresignedPostRequestDtoContentTypeEnum];
|
|
112
|
-
|
|
113
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|