@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.
- package/.openapi-generator/FILES +7 -0
- package/README.md +2 -2
- package/api/document-templates-api.ts +1 -1
- package/api/documents-api.ts +9 -9
- package/api/layouts-api.ts +1 -1
- package/api/product-documents-api.ts +599 -0
- package/api/search-keywords-api.ts +1 -1
- package/api/searchable-document-owners-api.ts +1 -1
- package/api/searchable-documents-api.ts +21 -7
- package/api.ts +3 -1
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/document-templates-api.d.ts +1 -1
- package/dist/api/document-templates-api.js +1 -1
- package/dist/api/documents-api.d.ts +9 -9
- package/dist/api/documents-api.js +9 -9
- package/dist/api/layouts-api.d.ts +1 -1
- package/dist/api/layouts-api.js +1 -1
- package/dist/api/product-documents-api.d.ts +345 -0
- package/dist/api/product-documents-api.js +558 -0
- package/dist/api/search-keywords-api.d.ts +1 -1
- package/dist/api/search-keywords-api.js +1 -1
- package/dist/api/searchable-document-owners-api.d.ts +1 -1
- package/dist/api/searchable-document-owners-api.js +1 -1
- package/dist/api/searchable-documents-api.d.ts +13 -4
- package/dist/api/searchable-documents-api.js +13 -7
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/create-doc-template-request-dto.d.ts +1 -1
- package/dist/models/create-doc-template-request-dto.js +1 -1
- package/dist/models/create-doc-template-response-class.d.ts +1 -1
- package/dist/models/create-doc-template-response-class.js +1 -1
- package/dist/models/create-document-request-dto.d.ts +2 -1
- package/dist/models/create-document-request-dto.js +3 -2
- package/dist/models/create-document-sync-response-class.d.ts +1 -1
- package/dist/models/create-document-sync-response-class.js +1 -1
- package/dist/models/create-html-template-dto.d.ts +1 -1
- package/dist/models/create-html-template-dto.js +1 -1
- package/dist/models/create-layout-request-dto.d.ts +1 -1
- package/dist/models/create-layout-request-dto.js +1 -1
- package/dist/models/create-layout-response-class.d.ts +1 -1
- package/dist/models/create-layout-response-class.js +1 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +2 -1
- package/dist/models/create-presigned-post-request-dto.js +3 -2
- package/dist/models/create-presigned-post-response-class.d.ts +1 -1
- package/dist/models/create-presigned-post-response-class.js +1 -1
- package/dist/models/delete-layout-request-dto.d.ts +1 -1
- package/dist/models/delete-layout-request-dto.js +1 -1
- package/dist/models/delete-product-document-request-dto.d.ts +30 -0
- package/dist/models/delete-product-document-request-dto.js +15 -0
- package/dist/models/delete-request-dto.d.ts +1 -1
- package/dist/models/delete-request-dto.js +1 -1
- package/dist/models/delete-response-class.d.ts +1 -1
- package/dist/models/delete-response-class.js +1 -1
- package/dist/models/doc-template-class.d.ts +1 -1
- package/dist/models/doc-template-class.js +1 -1
- package/dist/models/document-class.d.ts +2 -1
- package/dist/models/document-class.js +3 -2
- package/dist/models/download-document-request-dto.d.ts +1 -1
- package/dist/models/download-document-request-dto.js +1 -1
- package/dist/models/get-doc-template-request-dto.d.ts +1 -1
- package/dist/models/get-doc-template-request-dto.js +1 -1
- package/dist/models/get-doc-template-response-class.d.ts +1 -1
- package/dist/models/get-doc-template-response-class.js +1 -1
- package/dist/models/get-document-download-url-response-class.d.ts +1 -1
- package/dist/models/get-document-download-url-response-class.js +1 -1
- package/dist/models/get-layout-request-dto.d.ts +1 -1
- package/dist/models/get-layout-request-dto.js +1 -1
- package/dist/models/get-layout-response-class.d.ts +1 -1
- package/dist/models/get-layout-response-class.js +1 -1
- package/dist/models/get-product-document-response-class.d.ts +25 -0
- package/dist/models/get-product-document-response-class.js +15 -0
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +1 -1
- package/dist/models/get-signed-s3-key-url-response-class.js +1 -1
- package/dist/models/html-template-class.d.ts +1 -1
- package/dist/models/html-template-class.js +1 -1
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/layout-class.d.ts +1 -1
- package/dist/models/layout-class.js +1 -1
- package/dist/models/list-doc-template-request-dto.d.ts +1 -1
- package/dist/models/list-doc-template-request-dto.js +1 -1
- package/dist/models/list-doc-templates-response-class.d.ts +1 -1
- package/dist/models/list-doc-templates-response-class.js +1 -1
- package/dist/models/list-documents-response-class.d.ts +1 -1
- package/dist/models/list-documents-response-class.js +1 -1
- package/dist/models/list-layouts-response-class.d.ts +1 -1
- package/dist/models/list-layouts-response-class.js +1 -1
- package/dist/models/list-product-documents-response-class.d.ts +31 -0
- package/dist/models/list-product-documents-response-class.js +15 -0
- package/dist/models/list-request-dto.d.ts +1 -1
- package/dist/models/list-request-dto.js +1 -1
- package/dist/models/list-search-keywords-request-dto.d.ts +1 -1
- package/dist/models/list-search-keywords-request-dto.js +1 -1
- package/dist/models/list-search-keywords-response-class.d.ts +1 -1
- package/dist/models/list-search-keywords-response-class.js +1 -1
- package/dist/models/list-searchable-document-owners-request-dto.d.ts +31 -0
- package/dist/models/list-searchable-document-owners-request-dto.js +22 -0
- package/dist/models/list-searchable-document-owners-response-class.d.ts +1 -1
- package/dist/models/list-searchable-document-owners-response-class.js +1 -1
- package/dist/models/list-searchable-documents-request-dto.d.ts +14 -1
- package/dist/models/list-searchable-documents-request-dto.js +8 -1
- package/dist/models/list-searchable-documents-response-class.d.ts +1 -1
- package/dist/models/list-searchable-documents-response-class.js +1 -1
- package/dist/models/product-document-class.d.ts +99 -0
- package/dist/models/product-document-class.js +36 -0
- package/dist/models/searchable-document-class.d.ts +1 -1
- package/dist/models/searchable-document-class.js +1 -1
- package/dist/models/searchable-document-owner-class.d.ts +1 -1
- package/dist/models/searchable-document-owner-class.js +1 -1
- package/dist/models/update-doc-template-request-dto.d.ts +1 -1
- package/dist/models/update-doc-template-request-dto.js +1 -1
- package/dist/models/update-doc-template-response-class.d.ts +1 -1
- package/dist/models/update-doc-template-response-class.js +1 -1
- package/dist/models/update-document-request-dto.d.ts +1 -1
- package/dist/models/update-document-request-dto.js +1 -1
- package/dist/models/update-document-response-class.d.ts +1 -1
- package/dist/models/update-document-response-class.js +1 -1
- package/dist/models/update-html-template-dto.d.ts +1 -1
- package/dist/models/update-html-template-dto.js +1 -1
- package/dist/models/update-layout-request-dto.d.ts +1 -1
- package/dist/models/update-layout-request-dto.js +1 -1
- package/dist/models/update-layout-response-class.d.ts +1 -1
- package/dist/models/update-layout-response-class.js +1 -1
- package/dist/models/upload-product-document-request-dto.d.ts +63 -0
- package/dist/models/upload-product-document-request-dto.js +24 -0
- package/index.ts +1 -1
- package/models/create-doc-template-request-dto.ts +1 -1
- package/models/create-doc-template-response-class.ts +1 -1
- package/models/create-document-request-dto.ts +3 -2
- package/models/create-document-sync-response-class.ts +1 -1
- package/models/create-html-template-dto.ts +1 -1
- package/models/create-layout-request-dto.ts +1 -1
- package/models/create-layout-response-class.ts +1 -1
- package/models/create-presigned-post-request-dto.ts +3 -2
- package/models/create-presigned-post-response-class.ts +1 -1
- package/models/delete-layout-request-dto.ts +1 -1
- package/models/delete-product-document-request-dto.ts +36 -0
- package/models/delete-request-dto.ts +1 -1
- package/models/delete-response-class.ts +1 -1
- package/models/doc-template-class.ts +1 -1
- package/models/document-class.ts +3 -2
- package/models/download-document-request-dto.ts +1 -1
- package/models/get-doc-template-request-dto.ts +1 -1
- package/models/get-doc-template-response-class.ts +1 -1
- package/models/get-document-download-url-response-class.ts +1 -1
- package/models/get-layout-request-dto.ts +1 -1
- package/models/get-layout-response-class.ts +1 -1
- package/models/get-product-document-response-class.ts +31 -0
- package/models/get-signed-s3-key-url-response-class.ts +1 -1
- package/models/html-template-class.ts +1 -1
- package/models/index.ts +6 -0
- package/models/layout-class.ts +1 -1
- package/models/list-doc-template-request-dto.ts +1 -1
- package/models/list-doc-templates-response-class.ts +1 -1
- package/models/list-documents-response-class.ts +1 -1
- package/models/list-layouts-response-class.ts +1 -1
- package/models/list-product-documents-response-class.ts +37 -0
- package/models/list-request-dto.ts +1 -1
- package/models/list-search-keywords-request-dto.ts +1 -1
- package/models/list-search-keywords-response-class.ts +1 -1
- package/models/list-searchable-document-owners-request-dto.ts +40 -0
- package/models/list-searchable-document-owners-response-class.ts +1 -1
- package/models/list-searchable-documents-request-dto.ts +17 -1
- package/models/list-searchable-documents-response-class.ts +1 -1
- package/models/product-document-class.ts +108 -0
- package/models/searchable-document-class.ts +1 -1
- package/models/searchable-document-owner-class.ts +1 -1
- package/models/update-doc-template-request-dto.ts +1 -1
- package/models/update-doc-template-response-class.ts +1 -1
- package/models/update-document-request-dto.ts +1 -1
- package/models/update-document-response-class.ts +1 -1
- package/models/update-html-template-dto.ts +1 -1
- package/models/update-layout-request-dto.ts +1 -1
- package/models/update-layout-response-class.ts +1 -1
- package/models/upload-product-document-request-dto.ts +72 -0
- 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 \'*\' 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 \'*\' 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 = "
|
|
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
|
@@ -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).
|
|
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
|
|
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).
|
|
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
|
|
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).
|
|
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
|
|
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).
|
|
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
|
|
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).
|
|
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
|
|
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).
|
|
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
|
|
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).
|
|
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
|
|
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).
|
|
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
|
|
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.
|
package/dist/api/layouts-api.js
CHANGED