@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.
Files changed (130) hide show
  1. package/.openapi-generator/FILES +45 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +68 -0
  5. package/api/document-templates-api.ts +675 -0
  6. package/api/documents-api.ts +762 -0
  7. package/api/layouts-api.ts +661 -0
  8. package/api/searchable-document-owners-api.ts +232 -0
  9. package/api/searchable-documents-api.ts +180 -0
  10. package/api.ts +44 -0
  11. package/base.ts +255 -0
  12. package/common.ts +138 -0
  13. package/configuration.ts +109 -0
  14. package/dist/api/document-templates-api.d.ts +372 -0
  15. package/dist/api/document-templates-api.js +628 -0
  16. package/dist/api/documents-api.d.ts +424 -0
  17. package/dist/api/documents-api.js +723 -0
  18. package/dist/api/layouts-api.d.ts +363 -0
  19. package/dist/api/layouts-api.js +622 -0
  20. package/dist/api/searchable-document-owners-api.d.ts +137 -0
  21. package/dist/api/searchable-document-owners-api.js +254 -0
  22. package/dist/api/searchable-documents-api.d.ts +101 -0
  23. package/dist/api/searchable-documents-api.js +233 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +76 -0
  27. package/dist/base.js +364 -0
  28. package/dist/common.d.ts +66 -0
  29. package/dist/common.js +244 -0
  30. package/dist/configuration.d.ts +90 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/create-doc-template-request-dto.d.ts +43 -0
  35. package/dist/models/create-doc-template-request-dto.js +15 -0
  36. package/dist/models/create-document-request-dto.d.ts +143 -0
  37. package/dist/models/create-document-request-dto.js +65 -0
  38. package/dist/models/create-html-template-dto.d.ts +24 -0
  39. package/dist/models/create-html-template-dto.js +15 -0
  40. package/dist/models/create-layout-request-dto.d.ts +49 -0
  41. package/dist/models/create-layout-request-dto.js +15 -0
  42. package/dist/models/create-presigned-post-request-dto.d.ts +103 -0
  43. package/dist/models/create-presigned-post-request-dto.js +51 -0
  44. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  45. package/dist/models/create-presigned-post-response-class.js +15 -0
  46. package/dist/models/delete-layout-request-dto.d.ts +24 -0
  47. package/dist/models/delete-layout-request-dto.js +15 -0
  48. package/dist/models/delete-request-dto.d.ts +24 -0
  49. package/dist/models/delete-request-dto.js +15 -0
  50. package/dist/models/doc-template-class.d.ts +80 -0
  51. package/dist/models/doc-template-class.js +15 -0
  52. package/dist/models/document-class.d.ts +150 -0
  53. package/dist/models/document-class.js +61 -0
  54. package/dist/models/download-document-request-dto.d.ts +30 -0
  55. package/dist/models/download-document-request-dto.js +15 -0
  56. package/dist/models/get-doc-template-request-dto.d.ts +30 -0
  57. package/dist/models/get-doc-template-request-dto.js +15 -0
  58. package/dist/models/get-doc-template-response-class.d.ts +25 -0
  59. package/dist/models/get-doc-template-response-class.js +15 -0
  60. package/dist/models/get-document-download-url-response-class.d.ts +24 -0
  61. package/dist/models/get-document-download-url-response-class.js +15 -0
  62. package/dist/models/get-layout-request-dto.d.ts +24 -0
  63. package/dist/models/get-layout-request-dto.js +15 -0
  64. package/dist/models/get-layout-response-class.d.ts +25 -0
  65. package/dist/models/get-layout-response-class.js +15 -0
  66. package/dist/models/html-template-class.d.ts +66 -0
  67. package/dist/models/html-template-class.js +21 -0
  68. package/dist/models/index.d.ts +28 -0
  69. package/dist/models/index.js +44 -0
  70. package/dist/models/layout-class.d.ts +79 -0
  71. package/dist/models/layout-class.js +15 -0
  72. package/dist/models/list-doc-templates-response-class.d.ts +31 -0
  73. package/dist/models/list-doc-templates-response-class.js +15 -0
  74. package/dist/models/list-documents-response-class.d.ts +31 -0
  75. package/dist/models/list-documents-response-class.js +15 -0
  76. package/dist/models/list-layouts-response-class.d.ts +31 -0
  77. package/dist/models/list-layouts-response-class.js +15 -0
  78. package/dist/models/list-request-dto.d.ts +54 -0
  79. package/dist/models/list-request-dto.js +15 -0
  80. package/dist/models/list-searchable-document-owners-response-class.d.ts +24 -0
  81. package/dist/models/list-searchable-document-owners-response-class.js +15 -0
  82. package/dist/models/list-searchable-documents-request-dto.d.ts +30 -0
  83. package/dist/models/list-searchable-documents-request-dto.js +15 -0
  84. package/dist/models/list-searchable-documents-response-class.d.ts +30 -0
  85. package/dist/models/list-searchable-documents-response-class.js +15 -0
  86. package/dist/models/update-doc-template-request-dto.d.ts +49 -0
  87. package/dist/models/update-doc-template-request-dto.js +15 -0
  88. package/dist/models/update-doc-template-response-class.d.ts +25 -0
  89. package/dist/models/update-doc-template-response-class.js +15 -0
  90. package/dist/models/update-document-request-dto.d.ts +48 -0
  91. package/dist/models/update-document-request-dto.js +15 -0
  92. package/dist/models/update-layout-request-dto.d.ts +55 -0
  93. package/dist/models/update-layout-request-dto.js +15 -0
  94. package/dist/models/update-layout-response-class.d.ts +25 -0
  95. package/dist/models/update-layout-response-class.js +15 -0
  96. package/git_push.sh +57 -0
  97. package/index.ts +19 -0
  98. package/models/create-doc-template-request-dto.ts +49 -0
  99. package/models/create-document-request-dto.ts +155 -0
  100. package/models/create-html-template-dto.ts +30 -0
  101. package/models/create-layout-request-dto.ts +55 -0
  102. package/models/create-presigned-post-request-dto.ts +113 -0
  103. package/models/create-presigned-post-response-class.ts +36 -0
  104. package/models/delete-layout-request-dto.ts +30 -0
  105. package/models/delete-request-dto.ts +30 -0
  106. package/models/doc-template-class.ts +86 -0
  107. package/models/document-class.ts +161 -0
  108. package/models/download-document-request-dto.ts +36 -0
  109. package/models/get-doc-template-request-dto.ts +36 -0
  110. package/models/get-doc-template-response-class.ts +31 -0
  111. package/models/get-document-download-url-response-class.ts +30 -0
  112. package/models/get-layout-request-dto.ts +30 -0
  113. package/models/get-layout-response-class.ts +31 -0
  114. package/models/html-template-class.ts +75 -0
  115. package/models/index.ts +28 -0
  116. package/models/layout-class.ts +85 -0
  117. package/models/list-doc-templates-response-class.ts +37 -0
  118. package/models/list-documents-response-class.ts +37 -0
  119. package/models/list-layouts-response-class.ts +37 -0
  120. package/models/list-request-dto.ts +60 -0
  121. package/models/list-searchable-document-owners-response-class.ts +30 -0
  122. package/models/list-searchable-documents-request-dto.ts +36 -0
  123. package/models/list-searchable-documents-response-class.ts +36 -0
  124. package/models/update-doc-template-request-dto.ts +55 -0
  125. package/models/update-doc-template-response-class.ts +31 -0
  126. package/models/update-document-request-dto.ts +54 -0
  127. package/models/update-layout-request-dto.ts +61 -0
  128. package/models/update-layout-response-class.ts +31 -0
  129. package/package.json +29 -0
  130. package/tsconfig.json +22 -0
@@ -0,0 +1,51 @@
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.CreatePresignedPostRequestDtoContentTypeEnum = exports.CreatePresignedPostRequestDtoRequesterEnum = void 0;
17
+ exports.CreatePresignedPostRequestDtoRequesterEnum = {
18
+ Accountservice: 'accountservice',
19
+ Insuranceservice: 'insuranceservice',
20
+ Billingservice: 'billingservice',
21
+ Tenantservice: 'tenantservice',
22
+ BookingFunnel: 'bookingFunnel',
23
+ Publicapi: 'publicapi',
24
+ Admin: 'admin',
25
+ Claimservice: 'claimservice',
26
+ Customerservice: 'customerservice',
27
+ Notificationservice: 'notificationservice',
28
+ Paymentservice: 'paymentservice',
29
+ Processmanager: 'processmanager',
30
+ Gdvservice: 'gdvservice'
31
+ };
32
+ exports.CreatePresignedPostRequestDtoContentTypeEnum = {
33
+ Pdf: 'pdf',
34
+ Jpg: 'jpg',
35
+ Png: 'png',
36
+ Gz: 'gz',
37
+ Csv: 'csv',
38
+ Doc: 'doc',
39
+ Docx: 'docx',
40
+ Html: 'html',
41
+ Json: 'json',
42
+ Xml: 'xml',
43
+ Txt: 'txt',
44
+ Zip: 'zip',
45
+ Tar: 'tar',
46
+ Rar: 'rar',
47
+ Mp4: 'MP4',
48
+ Mov: 'MOV',
49
+ Wmv: 'WMV',
50
+ Avi: 'AVI'
51
+ };
@@ -0,0 +1,30 @@
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 CreatePresignedPostResponseClass
16
+ */
17
+ export interface CreatePresignedPostResponseClass {
18
+ /**
19
+ * Upload document fields
20
+ * @type {object}
21
+ * @memberof CreatePresignedPostResponseClass
22
+ */
23
+ 'fields': object;
24
+ /**
25
+ * Pre-signed Url
26
+ * @type {string}
27
+ * @memberof CreatePresignedPostResponseClass
28
+ */
29
+ 'url': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DeleteLayoutRequestDto
16
+ */
17
+ export interface DeleteLayoutRequestDto {
18
+ /**
19
+ * Layout id
20
+ * @type {number}
21
+ * @memberof DeleteLayoutRequestDto
22
+ */
23
+ 'id': number;
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,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 DeleteRequestDto
16
+ */
17
+ export interface DeleteRequestDto {
18
+ /**
19
+ * Resource id
20
+ * @type {string}
21
+ * @memberof DeleteRequestDto
22
+ */
23
+ 'code': 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,80 @@
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 { HtmlTemplateClass } from './html-template-class';
13
+ import { LayoutClass } from './layout-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface DocTemplateClass
18
+ */
19
+ export interface DocTemplateClass {
20
+ /**
21
+ * Template id
22
+ * @type {number}
23
+ * @memberof DocTemplateClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Record owner
28
+ * @type {string}
29
+ * @memberof DocTemplateClass
30
+ */
31
+ 'owner': string;
32
+ /**
33
+ * Template name
34
+ * @type {string}
35
+ * @memberof DocTemplateClass
36
+ */
37
+ 'name': string;
38
+ /**
39
+ * Template slug
40
+ * @type {string}
41
+ * @memberof DocTemplateClass
42
+ */
43
+ 'slug': string;
44
+ /**
45
+ * Layout id
46
+ * @type {number}
47
+ * @memberof DocTemplateClass
48
+ */
49
+ 'layoutId': number;
50
+ /**
51
+ * Body Template
52
+ * @type {HtmlTemplateClass}
53
+ * @memberof DocTemplateClass
54
+ */
55
+ 'bodyTemplate': HtmlTemplateClass;
56
+ /**
57
+ * Template Layout
58
+ * @type {LayoutClass}
59
+ * @memberof DocTemplateClass
60
+ */
61
+ 'layout': LayoutClass;
62
+ /**
63
+ * Template created at
64
+ * @type {object}
65
+ * @memberof DocTemplateClass
66
+ */
67
+ 'createdAt': object;
68
+ /**
69
+ * Template updated at
70
+ * @type {object}
71
+ * @memberof DocTemplateClass
72
+ */
73
+ 'updatedAt': object;
74
+ /**
75
+ * Template updated at
76
+ * @type {object}
77
+ * @memberof DocTemplateClass
78
+ */
79
+ 'deletedAt': object;
80
+ }
@@ -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,150 @@
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 DocumentClass
16
+ */
17
+ export interface DocumentClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof DocumentClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof DocumentClass
28
+ */
29
+ 'code': 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. In this case, the template used for this document.
32
+ * @type {string}
33
+ * @memberof DocumentClass
34
+ */
35
+ 'templateSlug': string;
36
+ /**
37
+ * Document entity type
38
+ * @type {string}
39
+ * @memberof DocumentClass
40
+ */
41
+ 'entityType': DocumentClassEntityTypeEnum;
42
+ /**
43
+ * Payload used to replace variables in the template.
44
+ * @type {object}
45
+ * @memberof DocumentClass
46
+ */
47
+ 'payload': object;
48
+ /**
49
+ * Unique identifier of the policy that the document belongs to
50
+ * @type {string}
51
+ * @memberof DocumentClass
52
+ */
53
+ 'policyCode'?: string;
54
+ /**
55
+ * Unique identifier of the account that the document belongs to
56
+ * @type {string}
57
+ * @memberof DocumentClass
58
+ */
59
+ 'accountCode'?: string;
60
+ /**
61
+ * Unique identifier referencing the entity on the service the document belongs to.
62
+ * @type {number}
63
+ * @memberof DocumentClass
64
+ */
65
+ 'entityId'?: number;
66
+ /**
67
+ * Identifier of the service that requested the creation of this document.
68
+ * @type {string}
69
+ * @memberof DocumentClass
70
+ */
71
+ 'requester': DocumentClassRequesterEnum;
72
+ /**
73
+ * Metadata can contain extra information that the document would need for specific cases.
74
+ * @type {object}
75
+ * @memberof DocumentClass
76
+ */
77
+ 'metadata': object;
78
+ /**
79
+ * Description of the document. Usually a short summary about the context in which the document is being used.
80
+ * @type {string}
81
+ * @memberof DocumentClass
82
+ */
83
+ 'description': string;
84
+ /**
85
+ * The unique key used by Amazon Simple Storage Service (S3).
86
+ * @type {string}
87
+ * @memberof DocumentClass
88
+ */
89
+ 's3Key': string;
90
+ /**
91
+ * Type of the document expressed with its file extension.
92
+ * @type {string}
93
+ * @memberof DocumentClass
94
+ */
95
+ 'contentType': DocumentClassContentTypeEnum;
96
+ /**
97
+ * Time at which the object was created.
98
+ * @type {string}
99
+ * @memberof DocumentClass
100
+ */
101
+ 'createdAt': string;
102
+ }
103
+ export declare const DocumentClassEntityTypeEnum: {
104
+ readonly PolicyApplication: "policy_application";
105
+ readonly PolicyContract: "policy_contract";
106
+ readonly PolicyAddendum: "policy_addendum";
107
+ readonly InitialInvoice: "initial_invoice";
108
+ readonly CorrectionInvoice: "correction_invoice";
109
+ readonly RecurringInvoice: "recurring_invoice";
110
+ readonly SepaMandate: "sepa_mandate";
111
+ readonly Static: "static";
112
+ };
113
+ export declare type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum];
114
+ export declare const DocumentClassRequesterEnum: {
115
+ readonly Accountservice: "accountservice";
116
+ readonly Insuranceservice: "insuranceservice";
117
+ readonly Billingservice: "billingservice";
118
+ readonly Tenantservice: "tenantservice";
119
+ readonly BookingFunnel: "bookingFunnel";
120
+ readonly Publicapi: "publicapi";
121
+ readonly Admin: "admin";
122
+ readonly Claimservice: "claimservice";
123
+ readonly Customerservice: "customerservice";
124
+ readonly Notificationservice: "notificationservice";
125
+ readonly Paymentservice: "paymentservice";
126
+ readonly Processmanager: "processmanager";
127
+ readonly Gdvservice: "gdvservice";
128
+ };
129
+ export declare type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum];
130
+ export declare const DocumentClassContentTypeEnum: {
131
+ readonly Pdf: "pdf";
132
+ readonly Jpg: "jpg";
133
+ readonly Png: "png";
134
+ readonly Gz: "gz";
135
+ readonly Csv: "csv";
136
+ readonly Doc: "doc";
137
+ readonly Docx: "docx";
138
+ readonly Html: "html";
139
+ readonly Json: "json";
140
+ readonly Xml: "xml";
141
+ readonly Txt: "txt";
142
+ readonly Zip: "zip";
143
+ readonly Tar: "tar";
144
+ readonly Rar: "rar";
145
+ readonly Mp4: "MP4";
146
+ readonly Mov: "MOV";
147
+ readonly Wmv: "WMV";
148
+ readonly Avi: "AVI";
149
+ };
150
+ export declare type DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];
@@ -0,0 +1,61 @@
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.DocumentClassContentTypeEnum = exports.DocumentClassRequesterEnum = exports.DocumentClassEntityTypeEnum = void 0;
17
+ exports.DocumentClassEntityTypeEnum = {
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.DocumentClassRequesterEnum = {
28
+ Accountservice: 'accountservice',
29
+ Insuranceservice: 'insuranceservice',
30
+ Billingservice: 'billingservice',
31
+ Tenantservice: 'tenantservice',
32
+ BookingFunnel: 'bookingFunnel',
33
+ Publicapi: 'publicapi',
34
+ Admin: 'admin',
35
+ Claimservice: 'claimservice',
36
+ Customerservice: 'customerservice',
37
+ Notificationservice: 'notificationservice',
38
+ Paymentservice: 'paymentservice',
39
+ Processmanager: 'processmanager',
40
+ Gdvservice: 'gdvservice'
41
+ };
42
+ exports.DocumentClassContentTypeEnum = {
43
+ Pdf: 'pdf',
44
+ Jpg: 'jpg',
45
+ Png: 'png',
46
+ Gz: 'gz',
47
+ Csv: 'csv',
48
+ Doc: 'doc',
49
+ Docx: 'docx',
50
+ Html: 'html',
51
+ Json: 'json',
52
+ Xml: 'xml',
53
+ Txt: 'txt',
54
+ Zip: 'zip',
55
+ Tar: 'tar',
56
+ Rar: 'rar',
57
+ Mp4: 'MP4',
58
+ Mov: 'MOV',
59
+ Wmv: 'WMV',
60
+ Avi: 'AVI'
61
+ };
@@ -0,0 +1,30 @@
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 DownloadDocumentRequestDto
16
+ */
17
+ export interface DownloadDocumentRequestDto {
18
+ /**
19
+ * Document code
20
+ * @type {string}
21
+ * @memberof DownloadDocumentRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Document key
26
+ * @type {string}
27
+ * @memberof DownloadDocumentRequestDto
28
+ */
29
+ 'documentKey': string;
30
+ }
@@ -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,30 @@
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 GetDocTemplateRequestDto
16
+ */
17
+ export interface GetDocTemplateRequestDto {
18
+ /**
19
+ * Template id
20
+ * @type {number}
21
+ * @memberof GetDocTemplateRequestDto
22
+ */
23
+ 'id': number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetDocTemplateRequestDto
28
+ */
29
+ 'expand'?: string;
30
+ }
@@ -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,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 { DocTemplateClass } from './doc-template-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetDocTemplateResponseClass
17
+ */
18
+ export interface GetDocTemplateResponseClass {
19
+ /**
20
+ * Template
21
+ * @type {DocTemplateClass}
22
+ * @memberof GetDocTemplateResponseClass
23
+ */
24
+ 'template': DocTemplateClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetDocumentDownloadUrlResponseClass
16
+ */
17
+ export interface GetDocumentDownloadUrlResponseClass {
18
+ /**
19
+ * Pre-signed Url
20
+ * @type {string}
21
+ * @memberof GetDocumentDownloadUrlResponseClass
22
+ */
23
+ 'url': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });