@emilgroup/document-sdk-node 1.2.1 → 1.4.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 (186) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +1 -1
  4. package/api/documents-api.ts +9 -9
  5. package/api/layouts-api.ts +1 -1
  6. package/api/product-documents-api.ts +599 -0
  7. package/api/search-keywords-api.ts +1 -1
  8. package/api/searchable-document-owners-api.ts +1 -1
  9. package/api/searchable-documents-api.ts +21 -7
  10. package/api.ts +3 -1
  11. package/base.ts +2 -2
  12. package/common.ts +2 -2
  13. package/configuration.ts +1 -1
  14. package/dist/api/document-templates-api.d.ts +1 -1
  15. package/dist/api/document-templates-api.js +1 -1
  16. package/dist/api/documents-api.d.ts +9 -9
  17. package/dist/api/documents-api.js +9 -9
  18. package/dist/api/layouts-api.d.ts +1 -1
  19. package/dist/api/layouts-api.js +1 -1
  20. package/dist/api/product-documents-api.d.ts +345 -0
  21. package/dist/api/product-documents-api.js +558 -0
  22. package/dist/api/search-keywords-api.d.ts +1 -1
  23. package/dist/api/search-keywords-api.js +1 -1
  24. package/dist/api/searchable-document-owners-api.d.ts +1 -1
  25. package/dist/api/searchable-document-owners-api.js +1 -1
  26. package/dist/api/searchable-documents-api.d.ts +13 -4
  27. package/dist/api/searchable-documents-api.js +13 -7
  28. package/dist/api.d.ts +2 -1
  29. package/dist/api.js +2 -1
  30. package/dist/base.d.ts +1 -1
  31. package/dist/base.js +2 -2
  32. package/dist/common.d.ts +2 -2
  33. package/dist/common.js +1 -1
  34. package/dist/configuration.d.ts +1 -1
  35. package/dist/configuration.js +1 -1
  36. package/dist/index.d.ts +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/models/create-doc-template-request-dto.d.ts +1 -1
  39. package/dist/models/create-doc-template-request-dto.js +1 -1
  40. package/dist/models/create-doc-template-response-class.d.ts +1 -1
  41. package/dist/models/create-doc-template-response-class.js +1 -1
  42. package/dist/models/create-document-request-dto.d.ts +2 -1
  43. package/dist/models/create-document-request-dto.js +3 -2
  44. package/dist/models/create-document-sync-response-class.d.ts +1 -1
  45. package/dist/models/create-document-sync-response-class.js +1 -1
  46. package/dist/models/create-html-template-dto.d.ts +1 -1
  47. package/dist/models/create-html-template-dto.js +1 -1
  48. package/dist/models/create-layout-request-dto.d.ts +1 -1
  49. package/dist/models/create-layout-request-dto.js +1 -1
  50. package/dist/models/create-layout-response-class.d.ts +1 -1
  51. package/dist/models/create-layout-response-class.js +1 -1
  52. package/dist/models/create-presigned-post-request-dto.d.ts +2 -1
  53. package/dist/models/create-presigned-post-request-dto.js +3 -2
  54. package/dist/models/create-presigned-post-response-class.d.ts +1 -1
  55. package/dist/models/create-presigned-post-response-class.js +1 -1
  56. package/dist/models/delete-layout-request-dto.d.ts +1 -1
  57. package/dist/models/delete-layout-request-dto.js +1 -1
  58. package/dist/models/delete-product-document-request-dto.d.ts +30 -0
  59. package/dist/models/delete-product-document-request-dto.js +15 -0
  60. package/dist/models/delete-request-dto.d.ts +1 -1
  61. package/dist/models/delete-request-dto.js +1 -1
  62. package/dist/models/delete-response-class.d.ts +1 -1
  63. package/dist/models/delete-response-class.js +1 -1
  64. package/dist/models/doc-template-class.d.ts +1 -1
  65. package/dist/models/doc-template-class.js +1 -1
  66. package/dist/models/document-class.d.ts +2 -1
  67. package/dist/models/document-class.js +3 -2
  68. package/dist/models/download-document-request-dto.d.ts +1 -1
  69. package/dist/models/download-document-request-dto.js +1 -1
  70. package/dist/models/get-doc-template-request-dto.d.ts +1 -1
  71. package/dist/models/get-doc-template-request-dto.js +1 -1
  72. package/dist/models/get-doc-template-response-class.d.ts +1 -1
  73. package/dist/models/get-doc-template-response-class.js +1 -1
  74. package/dist/models/get-document-download-url-response-class.d.ts +1 -1
  75. package/dist/models/get-document-download-url-response-class.js +1 -1
  76. package/dist/models/get-layout-request-dto.d.ts +1 -1
  77. package/dist/models/get-layout-request-dto.js +1 -1
  78. package/dist/models/get-layout-response-class.d.ts +1 -1
  79. package/dist/models/get-layout-response-class.js +1 -1
  80. package/dist/models/get-product-document-response-class.d.ts +25 -0
  81. package/dist/models/get-product-document-response-class.js +15 -0
  82. package/dist/models/get-signed-s3-key-url-response-class.d.ts +1 -1
  83. package/dist/models/get-signed-s3-key-url-response-class.js +1 -1
  84. package/dist/models/html-template-class.d.ts +1 -1
  85. package/dist/models/html-template-class.js +1 -1
  86. package/dist/models/index.d.ts +6 -0
  87. package/dist/models/index.js +6 -0
  88. package/dist/models/layout-class.d.ts +1 -1
  89. package/dist/models/layout-class.js +1 -1
  90. package/dist/models/list-doc-template-request-dto.d.ts +1 -1
  91. package/dist/models/list-doc-template-request-dto.js +1 -1
  92. package/dist/models/list-doc-templates-response-class.d.ts +1 -1
  93. package/dist/models/list-doc-templates-response-class.js +1 -1
  94. package/dist/models/list-documents-response-class.d.ts +1 -1
  95. package/dist/models/list-documents-response-class.js +1 -1
  96. package/dist/models/list-layouts-response-class.d.ts +1 -1
  97. package/dist/models/list-layouts-response-class.js +1 -1
  98. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  99. package/dist/models/list-product-documents-response-class.js +15 -0
  100. package/dist/models/list-request-dto.d.ts +1 -1
  101. package/dist/models/list-request-dto.js +1 -1
  102. package/dist/models/list-search-keywords-request-dto.d.ts +1 -1
  103. package/dist/models/list-search-keywords-request-dto.js +1 -1
  104. package/dist/models/list-search-keywords-response-class.d.ts +1 -1
  105. package/dist/models/list-search-keywords-response-class.js +1 -1
  106. package/dist/models/list-searchable-document-owners-request-dto.d.ts +31 -0
  107. package/dist/models/list-searchable-document-owners-request-dto.js +22 -0
  108. package/dist/models/list-searchable-document-owners-response-class.d.ts +1 -1
  109. package/dist/models/list-searchable-document-owners-response-class.js +1 -1
  110. package/dist/models/list-searchable-documents-request-dto.d.ts +14 -1
  111. package/dist/models/list-searchable-documents-request-dto.js +8 -1
  112. package/dist/models/list-searchable-documents-response-class.d.ts +1 -1
  113. package/dist/models/list-searchable-documents-response-class.js +1 -1
  114. package/dist/models/product-document-class.d.ts +99 -0
  115. package/dist/models/product-document-class.js +36 -0
  116. package/dist/models/searchable-document-class.d.ts +1 -1
  117. package/dist/models/searchable-document-class.js +1 -1
  118. package/dist/models/searchable-document-owner-class.d.ts +1 -1
  119. package/dist/models/searchable-document-owner-class.js +1 -1
  120. package/dist/models/update-doc-template-request-dto.d.ts +1 -1
  121. package/dist/models/update-doc-template-request-dto.js +1 -1
  122. package/dist/models/update-doc-template-response-class.d.ts +1 -1
  123. package/dist/models/update-doc-template-response-class.js +1 -1
  124. package/dist/models/update-document-request-dto.d.ts +1 -1
  125. package/dist/models/update-document-request-dto.js +1 -1
  126. package/dist/models/update-document-response-class.d.ts +1 -1
  127. package/dist/models/update-document-response-class.js +1 -1
  128. package/dist/models/update-html-template-dto.d.ts +1 -1
  129. package/dist/models/update-html-template-dto.js +1 -1
  130. package/dist/models/update-layout-request-dto.d.ts +1 -1
  131. package/dist/models/update-layout-request-dto.js +1 -1
  132. package/dist/models/update-layout-response-class.d.ts +1 -1
  133. package/dist/models/update-layout-response-class.js +1 -1
  134. package/dist/models/upload-product-document-request-dto.d.ts +63 -0
  135. package/dist/models/upload-product-document-request-dto.js +24 -0
  136. package/index.ts +1 -1
  137. package/models/create-doc-template-request-dto.ts +1 -1
  138. package/models/create-doc-template-response-class.ts +1 -1
  139. package/models/create-document-request-dto.ts +3 -2
  140. package/models/create-document-sync-response-class.ts +1 -1
  141. package/models/create-html-template-dto.ts +1 -1
  142. package/models/create-layout-request-dto.ts +1 -1
  143. package/models/create-layout-response-class.ts +1 -1
  144. package/models/create-presigned-post-request-dto.ts +3 -2
  145. package/models/create-presigned-post-response-class.ts +1 -1
  146. package/models/delete-layout-request-dto.ts +1 -1
  147. package/models/delete-product-document-request-dto.ts +36 -0
  148. package/models/delete-request-dto.ts +1 -1
  149. package/models/delete-response-class.ts +1 -1
  150. package/models/doc-template-class.ts +1 -1
  151. package/models/document-class.ts +3 -2
  152. package/models/download-document-request-dto.ts +1 -1
  153. package/models/get-doc-template-request-dto.ts +1 -1
  154. package/models/get-doc-template-response-class.ts +1 -1
  155. package/models/get-document-download-url-response-class.ts +1 -1
  156. package/models/get-layout-request-dto.ts +1 -1
  157. package/models/get-layout-response-class.ts +1 -1
  158. package/models/get-product-document-response-class.ts +31 -0
  159. package/models/get-signed-s3-key-url-response-class.ts +1 -1
  160. package/models/html-template-class.ts +1 -1
  161. package/models/index.ts +6 -0
  162. package/models/layout-class.ts +1 -1
  163. package/models/list-doc-template-request-dto.ts +1 -1
  164. package/models/list-doc-templates-response-class.ts +1 -1
  165. package/models/list-documents-response-class.ts +1 -1
  166. package/models/list-layouts-response-class.ts +1 -1
  167. package/models/list-product-documents-response-class.ts +37 -0
  168. package/models/list-request-dto.ts +1 -1
  169. package/models/list-search-keywords-request-dto.ts +1 -1
  170. package/models/list-search-keywords-response-class.ts +1 -1
  171. package/models/list-searchable-document-owners-request-dto.ts +40 -0
  172. package/models/list-searchable-document-owners-response-class.ts +1 -1
  173. package/models/list-searchable-documents-request-dto.ts +17 -1
  174. package/models/list-searchable-documents-response-class.ts +1 -1
  175. package/models/product-document-class.ts +108 -0
  176. package/models/searchable-document-class.ts +1 -1
  177. package/models/searchable-document-owner-class.ts +1 -1
  178. package/models/update-doc-template-request-dto.ts +1 -1
  179. package/models/update-doc-template-response-class.ts +1 -1
  180. package/models/update-document-request-dto.ts +1 -1
  181. package/models/update-document-response-class.ts +1 -1
  182. package/models/update-html-template-dto.ts +1 -1
  183. package/models/update-layout-request-dto.ts +1 -1
  184. package/models/update-layout-response-class.ts +1 -1
  185. package/models/upload-product-document-request-dto.ts +72 -0
  186. package/package.json +2 -2
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -38,10 +38,11 @@ export const SearchableDocumentsApiAxiosParamCreator = function (configuration?:
38
38
  * @param {string} searchText Text to search in the documents.
39
39
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided).
40
40
  * @param {string} [authorization] Bearer Token
41
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
41
42
  * @param {*} [options] Override http request option.
42
43
  * @throws {RequiredError}
43
44
  */
44
- listSearchableDocuments: async (searchText: string, ownerIds: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
+ listSearchableDocuments: async (searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
46
  // verify required parameter 'searchText' is not null or undefined
46
47
  assertParamExists('listSearchableDocuments', 'searchText', searchText)
47
48
  // verify required parameter 'ownerIds' is not null or undefined
@@ -72,6 +73,10 @@ export const SearchableDocumentsApiAxiosParamCreator = function (configuration?:
72
73
  localVarQueryParameter['ownerIds'] = ownerIds;
73
74
  }
74
75
 
76
+ if (product !== undefined) {
77
+ localVarQueryParameter['product'] = product;
78
+ }
79
+
75
80
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
76
81
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
77
82
  }
@@ -103,11 +108,12 @@ export const SearchableDocumentsApiFp = function(configuration?: Configuration)
103
108
  * @param {string} searchText Text to search in the documents.
104
109
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
105
110
  * @param {string} [authorization] Bearer Token
111
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
106
112
  * @param {*} [options] Override http request option.
107
113
  * @throws {RequiredError}
108
114
  */
109
- async listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>> {
110
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, authorization, options);
115
+ async listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>> {
116
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, authorization, product, options);
111
117
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
112
118
  },
113
119
  }
@@ -126,11 +132,12 @@ export const SearchableDocumentsApiFactory = function (configuration?: Configura
126
132
  * @param {string} searchText Text to search in the documents.
127
133
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
128
134
  * @param {string} [authorization] Bearer Token
135
+ * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
129
136
  * @param {*} [options] Override http request option.
130
137
  * @throws {RequiredError}
131
138
  */
132
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, options?: any): AxiosPromise<ListSearchableDocumentsResponseClass> {
133
- return localVarFp.listSearchableDocuments(searchText, ownerIds, authorization, options).then((request) => request(axios, basePath));
139
+ listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListSearchableDocumentsResponseClass> {
140
+ return localVarFp.listSearchableDocuments(searchText, ownerIds, authorization, product, options).then((request) => request(axios, basePath));
134
141
  },
135
142
  };
136
143
  };
@@ -161,6 +168,13 @@ export interface SearchableDocumentsApiListSearchableDocumentsRequest {
161
168
  * @memberof SearchableDocumentsApiListSearchableDocuments
162
169
  */
163
170
  readonly authorization?: string
171
+
172
+ /**
173
+ * PBM product the documents belongs to.
174
+ * @type {'car' | 'homeowner' | 'household' | 'privateLiability'}
175
+ * @memberof SearchableDocumentsApiListSearchableDocuments
176
+ */
177
+ readonly product?: 'car' | 'homeowner' | 'household' | 'privateLiability'
164
178
  }
165
179
 
166
180
  /**
@@ -179,6 +193,6 @@ export class SearchableDocumentsApi extends BaseAPI {
179
193
  * @memberof SearchableDocumentsApi
180
194
  */
181
195
  public listSearchableDocuments(requestParameters: SearchableDocumentsApiListSearchableDocumentsRequest, options?: AxiosRequestConfig) {
182
- return SearchableDocumentsApiFp(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
196
+ return SearchableDocumentsApiFp(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.authorization, requestParameters.product, options).then((request) => request(this.axios, this.basePath));
183
197
  }
184
198
  }
package/api.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -27,6 +27,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
27
27
  import { DocumentTemplatesApi } from './api';
28
28
  import { DocumentsApi } from './api';
29
29
  import { LayoutsApi } from './api';
30
+ import { ProductDocumentsApi } from './api';
30
31
  import { SearchKeywordsApi } from './api';
31
32
  import { SearchableDocumentOwnersApi } from './api';
32
33
  import { SearchableDocumentsApi } from './api';
@@ -35,6 +36,7 @@ import { SearchableDocumentsApi } from './api';
35
36
  export * from './api/document-templates-api';
36
37
  export * from './api/documents-api';
37
38
  export * from './api/layouts-api';
39
+ export * from './api/product-documents-api';
38
40
  export * from './api/search-keywords-api';
39
41
  export * from './api/searchable-document-owners-api';
40
42
  export * from './api/searchable-documents-api';
package/base.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,7 +21,7 @@ import * as fs from 'fs';
21
21
  import * as path from 'path';
22
22
  import * as os from 'os';
23
23
 
24
- export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
24
+ export const BASE_PATH = "https://apiv2.emil.de".replace(/\/+$/, "");
25
25
  const CONFIG_DIRECTORY = '.emil';
26
26
  const CONFIG_FILENAME = 'credentials';
27
27
  const KEY_USERNAME = 'emil_username';
package/common.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -144,7 +144,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
144
144
  * The EMIL DocumentService API description
145
145
  *
146
146
  * The version of the OpenAPI document: 1.0
147
- *
147
+ * Contact: kontakt@emil.de
148
148
  *
149
149
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
150
150
  * https://openapi-generator.tech
package/configuration.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL DocumentService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -27,7 +27,7 @@ import { UpdateDocumentResponseClass } from '../models';
27
27
  */
28
28
  export declare const DocumentsApiAxiosParamCreator: (configuration?: Configuration) => {
29
29
  /**
30
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
30
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
31
31
  * @summary Create the document
32
32
  * @param {CreateDocumentRequestDto} createDocumentRequestDto
33
33
  * @param {string} [authorization] Bearer Token
@@ -36,7 +36,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
36
36
  */
37
37
  createDocument: (createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
38
  /**
39
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
39
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
40
40
  * @summary Upload documents using pre-signed URL
41
41
  * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
42
42
  * @param {string} [authorization] Bearer Token
@@ -102,7 +102,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
102
102
  */
103
103
  export declare const DocumentsApiFp: (configuration?: Configuration) => {
104
104
  /**
105
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
105
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
106
106
  * @summary Create the document
107
107
  * @param {CreateDocumentRequestDto} createDocumentRequestDto
108
108
  * @param {string} [authorization] Bearer Token
@@ -111,7 +111,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
111
111
  */
112
112
  createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDocumentSyncResponseClass>>;
113
113
  /**
114
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
114
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
115
115
  * @summary Upload documents using pre-signed URL
116
116
  * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
117
117
  * @param {string} [authorization] Bearer Token
@@ -177,7 +177,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
177
177
  */
178
178
  export declare const DocumentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
179
179
  /**
180
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
180
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
181
181
  * @summary Create the document
182
182
  * @param {CreateDocumentRequestDto} createDocumentRequestDto
183
183
  * @param {string} [authorization] Bearer Token
@@ -186,7 +186,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
186
186
  */
187
187
  createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDocumentSyncResponseClass>;
188
188
  /**
189
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
189
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
190
190
  * @summary Upload documents using pre-signed URL
191
191
  * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
192
192
  * @param {string} [authorization] Bearer Token
@@ -423,7 +423,7 @@ export interface DocumentsApiUpdateDocumentRequest {
423
423
  */
424
424
  export declare class DocumentsApi extends BaseAPI {
425
425
  /**
426
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
426
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
427
427
  * @summary Create the document
428
428
  * @param {DocumentsApiCreateDocumentRequest} requestParameters Request parameters.
429
429
  * @param {*} [options] Override http request option.
@@ -432,7 +432,7 @@ export declare class DocumentsApi extends BaseAPI {
432
432
  */
433
433
  createDocument(requestParameters: DocumentsApiCreateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDocumentSyncResponseClass, any>>;
434
434
  /**
435
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
435
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
436
436
  * @summary Upload documents using pre-signed URL
437
437
  * @param {DocumentsApiCreatePresignedPostRequest} requestParameters Request parameters.
438
438
  * @param {*} [options] Override http request option.
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -97,7 +97,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
100
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
101
101
  * @summary Create the document
102
102
  * @param {CreateDocumentRequestDto} createDocumentRequestDto
103
103
  * @param {string} [authorization] Bearer Token
@@ -146,7 +146,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
149
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
150
150
  * @summary Upload documents using pre-signed URL
151
151
  * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
152
152
  * @param {string} [authorization] Bearer Token
@@ -472,7 +472,7 @@ var DocumentsApiFp = function (configuration) {
472
472
  var localVarAxiosParamCreator = (0, exports.DocumentsApiAxiosParamCreator)(configuration);
473
473
  return {
474
474
  /**
475
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
475
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
476
476
  * @summary Create the document
477
477
  * @param {CreateDocumentRequestDto} createDocumentRequestDto
478
478
  * @param {string} [authorization] Bearer Token
@@ -493,7 +493,7 @@ var DocumentsApiFp = function (configuration) {
493
493
  });
494
494
  },
495
495
  /**
496
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
496
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
497
497
  * @summary Upload documents using pre-signed URL
498
498
  * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
499
499
  * @param {string} [authorization] Bearer Token
@@ -635,7 +635,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
635
635
  var localVarFp = (0, exports.DocumentsApiFp)(configuration);
636
636
  return {
637
637
  /**
638
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
638
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
639
639
  * @summary Create the document
640
640
  * @param {CreateDocumentRequestDto} createDocumentRequestDto
641
641
  * @param {string} [authorization] Bearer Token
@@ -646,7 +646,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
646
646
  return localVarFp.createDocument(createDocumentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
647
647
  },
648
648
  /**
649
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
649
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
650
650
  * @summary Upload documents using pre-signed URL
651
651
  * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
652
652
  * @param {string} [authorization] Bearer Token
@@ -732,7 +732,7 @@ var DocumentsApi = /** @class */ (function (_super) {
732
732
  return _super !== null && _super.apply(this, arguments) || this;
733
733
  }
734
734
  /**
735
- * This will create a document in database and upload the file to Amazon Simple Storage Service (S3). Document can then be downloaded with
735
+ * This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
736
736
  * @summary Create the document
737
737
  * @param {DocumentsApiCreateDocumentRequest} requestParameters Request parameters.
738
738
  * @param {*} [options] Override http request option.
@@ -744,7 +744,7 @@ var DocumentsApi = /** @class */ (function (_super) {
744
744
  return (0, exports.DocumentsApiFp)(this.configuration).createDocument(requestParameters.createDocumentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
745
745
  };
746
746
  /**
747
- * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5minutes to 7days.
747
+ * This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
748
748
  * @summary Upload documents using pre-signed URL
749
749
  * @param {DocumentsApiCreatePresignedPostRequest} requestParameters Request parameters.
750
750
  * @param {*} [options] Override http request option.
@@ -3,7 +3,7 @@
3
3
  * The EMIL DocumentService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * The EMIL DocumentService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech