@emilgroup/document-sdk 1.27.1-beta.0 → 1.27.1-beta.1
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 +0 -36
- package/README.md +2 -2
- package/api/document-templates-api.ts +71 -67
- package/api/documents-api.ts +29 -39
- package/api/docx-templates-api.ts +12 -24
- package/api/layouts-api.ts +10 -20
- package/api/product-documents-api.ts +8 -14
- package/api/search-keywords-api.ts +2 -4
- package/api/searchable-document-owners-api.ts +2 -4
- package/api/searchable-documents-api.ts +16 -16
- package/dist/api/document-templates-api.d.ts +54 -59
- package/dist/api/document-templates-api.js +47 -34
- package/dist/api/documents-api.d.ts +31 -37
- package/dist/api/documents-api.js +11 -9
- package/dist/api/docx-templates-api.d.ts +18 -24
- package/dist/api/layouts-api.d.ts +15 -20
- package/dist/api/product-documents-api.d.ts +12 -15
- package/dist/api/search-keywords-api.d.ts +3 -4
- package/dist/api/searchable-document-owners-api.d.ts +3 -4
- package/dist/api/searchable-documents-api.d.ts +12 -13
- package/dist/api/searchable-documents-api.js +11 -9
- package/dist/models/create-doc-template-request-dto.d.ts +2 -2
- package/dist/models/create-document-request-dto.d.ts +10 -10
- package/dist/models/create-presigned-post-request-dto.d.ts +4 -4
- package/dist/models/index.d.ts +0 -36
- package/dist/models/index.js +0 -36
- package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
- package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
- package/dist/models/list-searchable-documents-request-dto.js +0 -7
- package/dist/models/update-doc-template-request-dto.d.ts +2 -2
- package/dist/models/update-document-request-dto.d.ts +5 -5
- package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
- package/dist/models/upload-product-document-request-dto.d.ts +2 -2
- package/models/create-doc-template-request-dto.ts +2 -2
- package/models/create-document-request-dto.ts +10 -10
- package/models/create-presigned-post-request-dto.ts +4 -4
- package/models/index.ts +0 -36
- package/models/list-searchable-document-owners-request-dto.ts +1 -11
- package/models/list-searchable-documents-request-dto.ts +1 -11
- package/models/update-doc-template-request-dto.ts +2 -2
- package/models/update-document-request-dto.ts +5 -5
- package/models/upload-docx-template-request-dto.ts +1 -1
- package/models/upload-product-document-request-dto.ts +2 -2
- package/package.json +1 -1
- package/dist/models/create-doc-template-response-class.d.ts +0 -25
- package/dist/models/create-doc-template-response-class.js +0 -15
- package/dist/models/create-document-sync-response-class.d.ts +0 -25
- package/dist/models/create-document-sync-response-class.js +0 -15
- package/dist/models/create-layout-response-class.d.ts +0 -25
- package/dist/models/create-layout-response-class.js +0 -15
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/dist/models/delete-response-class.d.ts +0 -24
- package/dist/models/delete-response-class.js +0 -15
- package/dist/models/doc-template-class.d.ts +0 -92
- package/dist/models/doc-template-class.js +0 -15
- package/dist/models/document-class.d.ts +0 -165
- package/dist/models/document-class.js +0 -53
- package/dist/models/docx-template-class.d.ts +0 -90
- package/dist/models/docx-template-class.js +0 -15
- package/dist/models/download-document-request-dto.d.ts +0 -30
- package/dist/models/download-document-request-dto.js +0 -15
- package/dist/models/get-doc-template-request-dto.d.ts +0 -30
- package/dist/models/get-doc-template-request-dto.js +0 -15
- package/dist/models/get-doc-template-response-class.d.ts +0 -25
- package/dist/models/get-doc-template-response-class.js +0 -15
- package/dist/models/get-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-document-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
- package/dist/models/get-docx-template-download-url-response-class.js +0 -15
- package/dist/models/get-docx-template-response-class.d.ts +0 -25
- package/dist/models/get-docx-template-response-class.js +0 -15
- package/dist/models/get-layout-response-class.d.ts +0 -25
- package/dist/models/get-layout-response-class.js +0 -15
- package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-product-document-download-url-response-class.js +0 -15
- package/dist/models/get-product-document-response-class.d.ts +0 -25
- package/dist/models/get-product-document-response-class.js +0 -15
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
- package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
- package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
- package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
- package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
- package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
- package/dist/models/html-template-class.d.ts +0 -66
- package/dist/models/html-template-class.js +0 -21
- package/dist/models/layout-class.d.ts +0 -79
- package/dist/models/layout-class.js +0 -15
- package/dist/models/list-doc-template-request-dto.d.ts +0 -54
- package/dist/models/list-doc-template-request-dto.js +0 -15
- package/dist/models/list-doc-templates-response-class.d.ts +0 -31
- package/dist/models/list-doc-templates-response-class.js +0 -15
- package/dist/models/list-documents-response-class.d.ts +0 -31
- package/dist/models/list-documents-response-class.js +0 -15
- package/dist/models/list-docx-templates-response-class.d.ts +0 -31
- package/dist/models/list-docx-templates-response-class.js +0 -15
- package/dist/models/list-layouts-response-class.d.ts +0 -31
- package/dist/models/list-layouts-response-class.js +0 -15
- package/dist/models/list-search-keywords-response-class.d.ts +0 -24
- package/dist/models/list-search-keywords-response-class.js +0 -15
- package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
- package/dist/models/list-searchable-document-owners-response-class.js +0 -15
- package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
- package/dist/models/list-searchable-documents-response-class.js +0 -15
- package/dist/models/searchable-document-class.d.ts +0 -66
- package/dist/models/searchable-document-class.js +0 -15
- package/dist/models/searchable-document-owner-class.d.ts +0 -30
- package/dist/models/searchable-document-owner-class.js +0 -15
- package/dist/models/update-doc-template-response-class.d.ts +0 -25
- package/dist/models/update-doc-template-response-class.js +0 -15
- package/dist/models/update-document-response-class.d.ts +0 -25
- package/dist/models/update-document-response-class.js +0 -15
- package/dist/models/update-docx-template-response-class.d.ts +0 -25
- package/dist/models/update-docx-template-response-class.js +0 -15
- package/dist/models/update-layout-response-class.d.ts +0 -25
- package/dist/models/update-layout-response-class.js +0 -15
- package/models/create-doc-template-response-class.ts +0 -31
- package/models/create-document-sync-response-class.ts +0 -31
- package/models/create-layout-response-class.ts +0 -31
- package/models/create-presigned-post-response-class.ts +0 -36
- package/models/delete-response-class.ts +0 -30
- package/models/doc-template-class.ts +0 -98
- package/models/document-class.ts +0 -175
- package/models/docx-template-class.ts +0 -96
- package/models/download-document-request-dto.ts +0 -36
- package/models/get-doc-template-request-dto.ts +0 -36
- package/models/get-doc-template-response-class.ts +0 -31
- package/models/get-document-download-url-response-class.ts +0 -30
- package/models/get-docx-template-download-url-response-class.ts +0 -30
- package/models/get-docx-template-response-class.ts +0 -31
- package/models/get-layout-response-class.ts +0 -31
- package/models/get-product-document-download-url-response-class.ts +0 -30
- package/models/get-product-document-response-class.ts +0 -31
- package/models/get-signed-s3-key-url-response-class.ts +0 -30
- package/models/grpc-create-doc-template-request-dto.ts +0 -61
- package/models/grpc-update-doc-template-request-dto.ts +0 -67
- package/models/html-template-class.ts +0 -75
- package/models/layout-class.ts +0 -85
- package/models/list-doc-template-request-dto.ts +0 -60
- package/models/list-doc-templates-response-class.ts +0 -37
- package/models/list-documents-response-class.ts +0 -37
- package/models/list-docx-templates-response-class.ts +0 -37
- package/models/list-layouts-response-class.ts +0 -37
- package/models/list-search-keywords-response-class.ts +0 -30
- package/models/list-searchable-document-owners-response-class.ts +0 -31
- package/models/list-searchable-documents-response-class.ts +0 -37
- package/models/searchable-document-class.ts +0 -72
- package/models/searchable-document-owner-class.ts +0 -36
- package/models/update-doc-template-response-class.ts +0 -31
- package/models/update-document-response-class.ts +0 -31
- package/models/update-docx-template-response-class.ts +0 -31
- package/models/update-layout-response-class.ts +0 -31
|
@@ -13,14 +13,8 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateDocumentRequestDto } from '../models';
|
|
16
|
-
import { CreateDocumentSyncResponseClass } from '../models';
|
|
17
16
|
import { CreatePresignedPostRequestDto } from '../models';
|
|
18
|
-
import { CreatePresignedPostResponseClass } from '../models';
|
|
19
|
-
import { GetDocumentDownloadUrlResponseClass } from '../models';
|
|
20
|
-
import { GetSignedS3KeyUrlResponseClass } from '../models';
|
|
21
|
-
import { ListDocumentsResponseClass } from '../models';
|
|
22
17
|
import { UpdateDocumentRequestDto } from '../models';
|
|
23
|
-
import { UpdateDocumentResponseClass } from '../models';
|
|
24
18
|
/**
|
|
25
19
|
* DocumentsApi - axios parameter creator
|
|
26
20
|
* @export
|
|
@@ -67,12 +61,12 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
67
61
|
* This will return a presigned URL for a random S3 key
|
|
68
62
|
* @summary Fetches a presigned URL for a S3 key
|
|
69
63
|
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
64
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
70
65
|
* @param {string} [authorization] Bearer Token
|
|
71
|
-
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
72
66
|
* @param {*} [options] Override http request option.
|
|
73
67
|
* @throws {RequiredError}
|
|
74
68
|
*/
|
|
75
|
-
getSignedS3keyUrl: (s3Key: string,
|
|
69
|
+
getSignedS3keyUrl: (s3Key: string, contentDisposition: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
70
|
/**
|
|
77
71
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
78
72
|
* @summary List documents
|
|
@@ -112,7 +106,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
112
106
|
* @param {*} [options] Override http request option.
|
|
113
107
|
* @throws {RequiredError}
|
|
114
108
|
*/
|
|
115
|
-
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
109
|
+
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
116
110
|
/**
|
|
117
111
|
* This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
|
|
118
112
|
* @summary Upload documents using pre-signed URL
|
|
@@ -121,7 +115,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
121
115
|
* @param {*} [options] Override http request option.
|
|
122
116
|
* @throws {RequiredError}
|
|
123
117
|
*/
|
|
124
|
-
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
118
|
+
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
125
119
|
/**
|
|
126
120
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it.
|
|
127
121
|
* @summary Delete the document
|
|
@@ -130,7 +124,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
130
124
|
* @param {*} [options] Override http request option.
|
|
131
125
|
* @throws {RequiredError}
|
|
132
126
|
*/
|
|
133
|
-
deleteDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
127
|
+
deleteDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
134
128
|
/**
|
|
135
129
|
* This will return a presigned URL to download the document.
|
|
136
130
|
* @summary Fetches a document download URL
|
|
@@ -140,17 +134,17 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
140
134
|
* @param {*} [options] Override http request option.
|
|
141
135
|
* @throws {RequiredError}
|
|
142
136
|
*/
|
|
143
|
-
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
137
|
+
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
144
138
|
/**
|
|
145
139
|
* This will return a presigned URL for a random S3 key
|
|
146
140
|
* @summary Fetches a presigned URL for a S3 key
|
|
147
141
|
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
142
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
148
143
|
* @param {string} [authorization] Bearer Token
|
|
149
|
-
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
150
144
|
* @param {*} [options] Override http request option.
|
|
151
145
|
* @throws {RequiredError}
|
|
152
146
|
*/
|
|
153
|
-
getSignedS3keyUrl(s3Key: string,
|
|
147
|
+
getSignedS3keyUrl(s3Key: string, contentDisposition: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
154
148
|
/**
|
|
155
149
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
156
150
|
* @summary List documents
|
|
@@ -165,7 +159,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
165
159
|
* @param {*} [options] Override http request option.
|
|
166
160
|
* @throws {RequiredError}
|
|
167
161
|
*/
|
|
168
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
162
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
169
163
|
/**
|
|
170
164
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
171
165
|
* @summary Update the document
|
|
@@ -175,7 +169,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
175
169
|
* @param {*} [options] Override http request option.
|
|
176
170
|
* @throws {RequiredError}
|
|
177
171
|
*/
|
|
178
|
-
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
172
|
+
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
179
173
|
};
|
|
180
174
|
/**
|
|
181
175
|
* DocumentsApi - factory interface
|
|
@@ -190,7 +184,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
190
184
|
* @param {*} [options] Override http request option.
|
|
191
185
|
* @throws {RequiredError}
|
|
192
186
|
*/
|
|
193
|
-
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
187
|
+
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
194
188
|
/**
|
|
195
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.
|
|
196
190
|
* @summary Upload documents using pre-signed URL
|
|
@@ -199,7 +193,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
199
193
|
* @param {*} [options] Override http request option.
|
|
200
194
|
* @throws {RequiredError}
|
|
201
195
|
*/
|
|
202
|
-
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
196
|
+
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
203
197
|
/**
|
|
204
198
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it.
|
|
205
199
|
* @summary Delete the document
|
|
@@ -208,7 +202,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
208
202
|
* @param {*} [options] Override http request option.
|
|
209
203
|
* @throws {RequiredError}
|
|
210
204
|
*/
|
|
211
|
-
deleteDocument(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
205
|
+
deleteDocument(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
212
206
|
/**
|
|
213
207
|
* This will return a presigned URL to download the document.
|
|
214
208
|
* @summary Fetches a document download URL
|
|
@@ -218,17 +212,17 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
218
212
|
* @param {*} [options] Override http request option.
|
|
219
213
|
* @throws {RequiredError}
|
|
220
214
|
*/
|
|
221
|
-
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: any): AxiosPromise<
|
|
215
|
+
getDocumentDownloadUrl(code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: any): AxiosPromise<void>;
|
|
222
216
|
/**
|
|
223
217
|
* This will return a presigned URL for a random S3 key
|
|
224
218
|
* @summary Fetches a presigned URL for a S3 key
|
|
225
219
|
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
220
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
226
221
|
* @param {string} [authorization] Bearer Token
|
|
227
|
-
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
228
222
|
* @param {*} [options] Override http request option.
|
|
229
223
|
* @throws {RequiredError}
|
|
230
224
|
*/
|
|
231
|
-
getSignedS3keyUrl(s3Key: string,
|
|
225
|
+
getSignedS3keyUrl(s3Key: string, contentDisposition: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<void>;
|
|
232
226
|
/**
|
|
233
227
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
234
228
|
* @summary List documents
|
|
@@ -243,7 +237,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
243
237
|
* @param {*} [options] Override http request option.
|
|
244
238
|
* @throws {RequiredError}
|
|
245
239
|
*/
|
|
246
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
240
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
247
241
|
/**
|
|
248
242
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
249
243
|
* @summary Update the document
|
|
@@ -253,7 +247,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
253
247
|
* @param {*} [options] Override http request option.
|
|
254
248
|
* @throws {RequiredError}
|
|
255
249
|
*/
|
|
256
|
-
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
250
|
+
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
257
251
|
};
|
|
258
252
|
/**
|
|
259
253
|
* Request parameters for createDocument operation in DocumentsApi.
|
|
@@ -350,17 +344,17 @@ export interface DocumentsApiGetSignedS3keyUrlRequest {
|
|
|
350
344
|
*/
|
|
351
345
|
readonly s3Key: string;
|
|
352
346
|
/**
|
|
353
|
-
*
|
|
354
|
-
* @type {
|
|
347
|
+
* Content disposition override. Default will be depending on the document type.
|
|
348
|
+
* @type {'attachment' | 'inline'}
|
|
355
349
|
* @memberof DocumentsApiGetSignedS3keyUrl
|
|
356
350
|
*/
|
|
357
|
-
readonly
|
|
351
|
+
readonly contentDisposition: 'attachment' | 'inline';
|
|
358
352
|
/**
|
|
359
|
-
*
|
|
360
|
-
* @type {
|
|
353
|
+
* Bearer Token
|
|
354
|
+
* @type {string}
|
|
361
355
|
* @memberof DocumentsApiGetSignedS3keyUrl
|
|
362
356
|
*/
|
|
363
|
-
readonly
|
|
357
|
+
readonly authorization?: string;
|
|
364
358
|
}
|
|
365
359
|
/**
|
|
366
360
|
* Request parameters for listDocuments operation in DocumentsApi.
|
|
@@ -457,7 +451,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
457
451
|
* @throws {RequiredError}
|
|
458
452
|
* @memberof DocumentsApi
|
|
459
453
|
*/
|
|
460
|
-
createDocument(requestParameters: DocumentsApiCreateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
454
|
+
createDocument(requestParameters: DocumentsApiCreateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
461
455
|
/**
|
|
462
456
|
* This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
|
|
463
457
|
* @summary Upload documents using pre-signed URL
|
|
@@ -466,7 +460,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
466
460
|
* @throws {RequiredError}
|
|
467
461
|
* @memberof DocumentsApi
|
|
468
462
|
*/
|
|
469
|
-
createPresignedPost(requestParameters: DocumentsApiCreatePresignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
463
|
+
createPresignedPost(requestParameters: DocumentsApiCreatePresignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
470
464
|
/**
|
|
471
465
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it.
|
|
472
466
|
* @summary Delete the document
|
|
@@ -475,7 +469,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
475
469
|
* @throws {RequiredError}
|
|
476
470
|
* @memberof DocumentsApi
|
|
477
471
|
*/
|
|
478
|
-
deleteDocument(requestParameters: DocumentsApiDeleteDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
472
|
+
deleteDocument(requestParameters: DocumentsApiDeleteDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
479
473
|
/**
|
|
480
474
|
* This will return a presigned URL to download the document.
|
|
481
475
|
* @summary Fetches a document download URL
|
|
@@ -484,7 +478,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
484
478
|
* @throws {RequiredError}
|
|
485
479
|
* @memberof DocumentsApi
|
|
486
480
|
*/
|
|
487
|
-
getDocumentDownloadUrl(requestParameters: DocumentsApiGetDocumentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
481
|
+
getDocumentDownloadUrl(requestParameters: DocumentsApiGetDocumentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
488
482
|
/**
|
|
489
483
|
* This will return a presigned URL for a random S3 key
|
|
490
484
|
* @summary Fetches a presigned URL for a S3 key
|
|
@@ -493,7 +487,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
493
487
|
* @throws {RequiredError}
|
|
494
488
|
* @memberof DocumentsApi
|
|
495
489
|
*/
|
|
496
|
-
getSignedS3keyUrl(requestParameters: DocumentsApiGetSignedS3keyUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
490
|
+
getSignedS3keyUrl(requestParameters: DocumentsApiGetSignedS3keyUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
497
491
|
/**
|
|
498
492
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
499
493
|
* @summary List documents
|
|
@@ -502,7 +496,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
502
496
|
* @throws {RequiredError}
|
|
503
497
|
* @memberof DocumentsApi
|
|
504
498
|
*/
|
|
505
|
-
listDocuments(requestParameters?: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
499
|
+
listDocuments(requestParameters?: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
506
500
|
/**
|
|
507
501
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
508
502
|
* @summary Update the document
|
|
@@ -511,5 +505,5 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
511
505
|
* @throws {RequiredError}
|
|
512
506
|
* @memberof DocumentsApi
|
|
513
507
|
*/
|
|
514
|
-
updateDocument(requestParameters: DocumentsApiUpdateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
508
|
+
updateDocument(requestParameters: DocumentsApiUpdateDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
515
509
|
}
|
|
@@ -294,12 +294,12 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
294
294
|
* This will return a presigned URL for a random S3 key
|
|
295
295
|
* @summary Fetches a presigned URL for a S3 key
|
|
296
296
|
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
297
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
297
298
|
* @param {string} [authorization] Bearer Token
|
|
298
|
-
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
299
299
|
* @param {*} [options] Override http request option.
|
|
300
300
|
* @throws {RequiredError}
|
|
301
301
|
*/
|
|
302
|
-
getSignedS3keyUrl: function (s3Key,
|
|
302
|
+
getSignedS3keyUrl: function (s3Key, contentDisposition, authorization, options) {
|
|
303
303
|
if (options === void 0) { options = {}; }
|
|
304
304
|
return __awaiter(_this, void 0, void 0, function () {
|
|
305
305
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -308,6 +308,8 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
308
308
|
case 0:
|
|
309
309
|
// verify required parameter 's3Key' is not null or undefined
|
|
310
310
|
(0, common_1.assertParamExists)('getSignedS3keyUrl', 's3Key', s3Key);
|
|
311
|
+
// verify required parameter 'contentDisposition' is not null or undefined
|
|
312
|
+
(0, common_1.assertParamExists)('getSignedS3keyUrl', 'contentDisposition', contentDisposition);
|
|
311
313
|
localVarPath = "/documentservice/v1/documents/signed-s3-url";
|
|
312
314
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
313
315
|
if (configuration) {
|
|
@@ -568,17 +570,17 @@ var DocumentsApiFp = function (configuration) {
|
|
|
568
570
|
* This will return a presigned URL for a random S3 key
|
|
569
571
|
* @summary Fetches a presigned URL for a S3 key
|
|
570
572
|
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
573
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
571
574
|
* @param {string} [authorization] Bearer Token
|
|
572
|
-
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
573
575
|
* @param {*} [options] Override http request option.
|
|
574
576
|
* @throws {RequiredError}
|
|
575
577
|
*/
|
|
576
|
-
getSignedS3keyUrl: function (s3Key,
|
|
578
|
+
getSignedS3keyUrl: function (s3Key, contentDisposition, authorization, options) {
|
|
577
579
|
return __awaiter(this, void 0, void 0, function () {
|
|
578
580
|
var localVarAxiosArgs;
|
|
579
581
|
return __generator(this, function (_a) {
|
|
580
582
|
switch (_a.label) {
|
|
581
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSignedS3keyUrl(s3Key,
|
|
583
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSignedS3keyUrl(s3Key, contentDisposition, authorization, options)];
|
|
582
584
|
case 1:
|
|
583
585
|
localVarAxiosArgs = _a.sent();
|
|
584
586
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -694,13 +696,13 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
694
696
|
* This will return a presigned URL for a random S3 key
|
|
695
697
|
* @summary Fetches a presigned URL for a S3 key
|
|
696
698
|
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
699
|
+
* @param {'attachment' | 'inline'} contentDisposition Content disposition override. Default will be depending on the document type.
|
|
697
700
|
* @param {string} [authorization] Bearer Token
|
|
698
|
-
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
699
701
|
* @param {*} [options] Override http request option.
|
|
700
702
|
* @throws {RequiredError}
|
|
701
703
|
*/
|
|
702
|
-
getSignedS3keyUrl: function (s3Key,
|
|
703
|
-
return localVarFp.getSignedS3keyUrl(s3Key,
|
|
704
|
+
getSignedS3keyUrl: function (s3Key, contentDisposition, authorization, options) {
|
|
705
|
+
return localVarFp.getSignedS3keyUrl(s3Key, contentDisposition, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
704
706
|
},
|
|
705
707
|
/**
|
|
706
708
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -803,7 +805,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
803
805
|
*/
|
|
804
806
|
DocumentsApi.prototype.getSignedS3keyUrl = function (requestParameters, options) {
|
|
805
807
|
var _this = this;
|
|
806
|
-
return (0, exports.DocumentsApiFp)(this.configuration).getSignedS3keyUrl(requestParameters.s3Key, requestParameters.
|
|
808
|
+
return (0, exports.DocumentsApiFp)(this.configuration).getSignedS3keyUrl(requestParameters.s3Key, requestParameters.contentDisposition, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
807
809
|
};
|
|
808
810
|
/**
|
|
809
811
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -12,13 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreatePresignedPostResponseClass } from '../models';
|
|
16
|
-
import { DeleteResponseClass } from '../models';
|
|
17
|
-
import { GetDocxTemplateDownloadUrlResponseClass } from '../models';
|
|
18
|
-
import { GetDocxTemplateResponseClass } from '../models';
|
|
19
|
-
import { ListDocxTemplatesResponseClass } from '../models';
|
|
20
15
|
import { SharedUpdateDocxTemplateRequestDto } from '../models';
|
|
21
|
-
import { UpdateDocxTemplateResponseClass } from '../models';
|
|
22
16
|
import { UploadDocxTemplateRequestDto } from '../models';
|
|
23
17
|
/**
|
|
24
18
|
* DocxTemplatesApi - axios parameter creator
|
|
@@ -100,7 +94,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
100
94
|
* @param {*} [options] Override http request option.
|
|
101
95
|
* @throws {RequiredError}
|
|
102
96
|
*/
|
|
103
|
-
deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
97
|
+
deleteDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
104
98
|
/**
|
|
105
99
|
* Get a pre-signed download url for the given docx template.
|
|
106
100
|
* @summary Get pre-signed url for downloading docx template
|
|
@@ -109,7 +103,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
109
103
|
* @param {*} [options] Override http request option.
|
|
110
104
|
* @throws {RequiredError}
|
|
111
105
|
*/
|
|
112
|
-
downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
106
|
+
downloadDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
113
107
|
/**
|
|
114
108
|
* Get a docx template.
|
|
115
109
|
* @summary Retrieve the docx template
|
|
@@ -118,7 +112,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
118
112
|
* @param {*} [options] Override http request option.
|
|
119
113
|
* @throws {RequiredError}
|
|
120
114
|
*/
|
|
121
|
-
getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
115
|
+
getDocxTemplate(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
122
116
|
/**
|
|
123
117
|
* Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
124
118
|
* @summary List docx templates
|
|
@@ -133,7 +127,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
133
127
|
* @param {*} [options] Override http request option.
|
|
134
128
|
* @throws {RequiredError}
|
|
135
129
|
*/
|
|
136
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
130
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
137
131
|
/**
|
|
138
132
|
* Updates a docx template metadata.
|
|
139
133
|
* @summary Update the docx template
|
|
@@ -143,7 +137,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
143
137
|
* @param {*} [options] Override http request option.
|
|
144
138
|
* @throws {RequiredError}
|
|
145
139
|
*/
|
|
146
|
-
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
140
|
+
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
147
141
|
/**
|
|
148
142
|
* Upload a docx template via a presigned Url.
|
|
149
143
|
* @summary Upload a docx template.
|
|
@@ -152,7 +146,7 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
152
146
|
* @param {*} [options] Override http request option.
|
|
153
147
|
* @throws {RequiredError}
|
|
154
148
|
*/
|
|
155
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
149
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
156
150
|
};
|
|
157
151
|
/**
|
|
158
152
|
* DocxTemplatesApi - factory interface
|
|
@@ -167,7 +161,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
167
161
|
* @param {*} [options] Override http request option.
|
|
168
162
|
* @throws {RequiredError}
|
|
169
163
|
*/
|
|
170
|
-
deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
164
|
+
deleteDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
171
165
|
/**
|
|
172
166
|
* Get a pre-signed download url for the given docx template.
|
|
173
167
|
* @summary Get pre-signed url for downloading docx template
|
|
@@ -176,7 +170,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
176
170
|
* @param {*} [options] Override http request option.
|
|
177
171
|
* @throws {RequiredError}
|
|
178
172
|
*/
|
|
179
|
-
downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
173
|
+
downloadDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
180
174
|
/**
|
|
181
175
|
* Get a docx template.
|
|
182
176
|
* @summary Retrieve the docx template
|
|
@@ -185,7 +179,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
185
179
|
* @param {*} [options] Override http request option.
|
|
186
180
|
* @throws {RequiredError}
|
|
187
181
|
*/
|
|
188
|
-
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
182
|
+
getDocxTemplate(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
189
183
|
/**
|
|
190
184
|
* Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
191
185
|
* @summary List docx templates
|
|
@@ -200,7 +194,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
200
194
|
* @param {*} [options] Override http request option.
|
|
201
195
|
* @throws {RequiredError}
|
|
202
196
|
*/
|
|
203
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
197
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
204
198
|
/**
|
|
205
199
|
* Updates a docx template metadata.
|
|
206
200
|
* @summary Update the docx template
|
|
@@ -210,7 +204,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
210
204
|
* @param {*} [options] Override http request option.
|
|
211
205
|
* @throws {RequiredError}
|
|
212
206
|
*/
|
|
213
|
-
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
207
|
+
updateDocxTemplate(code: string, sharedUpdateDocxTemplateRequestDto: SharedUpdateDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
214
208
|
/**
|
|
215
209
|
* Upload a docx template via a presigned Url.
|
|
216
210
|
* @summary Upload a docx template.
|
|
@@ -219,7 +213,7 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
219
213
|
* @param {*} [options] Override http request option.
|
|
220
214
|
* @throws {RequiredError}
|
|
221
215
|
*/
|
|
222
|
-
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
216
|
+
uploadDocxTemplate(uploadDocxTemplateRequestDto: UploadDocxTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
223
217
|
};
|
|
224
218
|
/**
|
|
225
219
|
* Request parameters for deleteDocxTemplate operation in DocxTemplatesApi.
|
|
@@ -392,7 +386,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
392
386
|
* @throws {RequiredError}
|
|
393
387
|
* @memberof DocxTemplatesApi
|
|
394
388
|
*/
|
|
395
|
-
deleteDocxTemplate(requestParameters: DocxTemplatesApiDeleteDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
389
|
+
deleteDocxTemplate(requestParameters: DocxTemplatesApiDeleteDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
396
390
|
/**
|
|
397
391
|
* Get a pre-signed download url for the given docx template.
|
|
398
392
|
* @summary Get pre-signed url for downloading docx template
|
|
@@ -401,7 +395,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
401
395
|
* @throws {RequiredError}
|
|
402
396
|
* @memberof DocxTemplatesApi
|
|
403
397
|
*/
|
|
404
|
-
downloadDocxTemplate(requestParameters: DocxTemplatesApiDownloadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
398
|
+
downloadDocxTemplate(requestParameters: DocxTemplatesApiDownloadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
405
399
|
/**
|
|
406
400
|
* Get a docx template.
|
|
407
401
|
* @summary Retrieve the docx template
|
|
@@ -410,7 +404,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
410
404
|
* @throws {RequiredError}
|
|
411
405
|
* @memberof DocxTemplatesApi
|
|
412
406
|
*/
|
|
413
|
-
getDocxTemplate(requestParameters: DocxTemplatesApiGetDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
407
|
+
getDocxTemplate(requestParameters: DocxTemplatesApiGetDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
414
408
|
/**
|
|
415
409
|
* Returns a list of docx templates you have previously created. The docx templates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
416
410
|
* @summary List docx templates
|
|
@@ -419,7 +413,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
419
413
|
* @throws {RequiredError}
|
|
420
414
|
* @memberof DocxTemplatesApi
|
|
421
415
|
*/
|
|
422
|
-
listDocxTemplates(requestParameters?: DocxTemplatesApiListDocxTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
416
|
+
listDocxTemplates(requestParameters?: DocxTemplatesApiListDocxTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
423
417
|
/**
|
|
424
418
|
* Updates a docx template metadata.
|
|
425
419
|
* @summary Update the docx template
|
|
@@ -428,7 +422,7 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
428
422
|
* @throws {RequiredError}
|
|
429
423
|
* @memberof DocxTemplatesApi
|
|
430
424
|
*/
|
|
431
|
-
updateDocxTemplate(requestParameters: DocxTemplatesApiUpdateDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
425
|
+
updateDocxTemplate(requestParameters: DocxTemplatesApiUpdateDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
432
426
|
/**
|
|
433
427
|
* Upload a docx template via a presigned Url.
|
|
434
428
|
* @summary Upload a docx template.
|
|
@@ -437,5 +431,5 @@ export declare class DocxTemplatesApi extends BaseAPI {
|
|
|
437
431
|
* @throws {RequiredError}
|
|
438
432
|
* @memberof DocxTemplatesApi
|
|
439
433
|
*/
|
|
440
|
-
uploadDocxTemplate(requestParameters: DocxTemplatesApiUploadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
434
|
+
uploadDocxTemplate(requestParameters: DocxTemplatesApiUploadDocxTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
441
435
|
}
|
|
@@ -13,12 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateLayoutRequestDto } from '../models';
|
|
16
|
-
import { CreateLayoutResponseClass } from '../models';
|
|
17
|
-
import { DeleteResponseClass } from '../models';
|
|
18
|
-
import { GetLayoutResponseClass } from '../models';
|
|
19
|
-
import { ListLayoutsResponseClass } from '../models';
|
|
20
16
|
import { UpdateLayoutRequestDto } from '../models';
|
|
21
|
-
import { UpdateLayoutResponseClass } from '../models';
|
|
22
17
|
/**
|
|
23
18
|
* LayoutsApi - axios parameter creator
|
|
24
19
|
* @export
|
|
@@ -91,7 +86,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
91
86
|
* @param {*} [options] Override http request option.
|
|
92
87
|
* @throws {RequiredError}
|
|
93
88
|
*/
|
|
94
|
-
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
89
|
+
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
95
90
|
/**
|
|
96
91
|
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
97
92
|
* @summary Delete the layout
|
|
@@ -100,7 +95,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
100
95
|
* @param {*} [options] Override http request option.
|
|
101
96
|
* @throws {RequiredError}
|
|
102
97
|
*/
|
|
103
|
-
deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
98
|
+
deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
104
99
|
/**
|
|
105
100
|
* Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
|
|
106
101
|
* @summary Retrieve the layout
|
|
@@ -110,7 +105,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
110
105
|
* @param {*} [options] Override http request option.
|
|
111
106
|
* @throws {RequiredError}
|
|
112
107
|
*/
|
|
113
|
-
getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
108
|
+
getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
114
109
|
/**
|
|
115
110
|
* Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
116
111
|
* @summary List layouts
|
|
@@ -125,7 +120,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
125
120
|
* @param {*} [options] Override http request option.
|
|
126
121
|
* @throws {RequiredError}
|
|
127
122
|
*/
|
|
128
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
123
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
129
124
|
/**
|
|
130
125
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
131
126
|
* @summary Update the layout
|
|
@@ -135,7 +130,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
135
130
|
* @param {*} [options] Override http request option.
|
|
136
131
|
* @throws {RequiredError}
|
|
137
132
|
*/
|
|
138
|
-
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
133
|
+
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
139
134
|
};
|
|
140
135
|
/**
|
|
141
136
|
* LayoutsApi - factory interface
|
|
@@ -150,7 +145,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
150
145
|
* @param {*} [options] Override http request option.
|
|
151
146
|
* @throws {RequiredError}
|
|
152
147
|
*/
|
|
153
|
-
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
148
|
+
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
154
149
|
/**
|
|
155
150
|
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
156
151
|
* @summary Delete the layout
|
|
@@ -159,7 +154,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
159
154
|
* @param {*} [options] Override http request option.
|
|
160
155
|
* @throws {RequiredError}
|
|
161
156
|
*/
|
|
162
|
-
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<
|
|
157
|
+
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<void>;
|
|
163
158
|
/**
|
|
164
159
|
* Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
|
|
165
160
|
* @summary Retrieve the layout
|
|
@@ -169,7 +164,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
169
164
|
* @param {*} [options] Override http request option.
|
|
170
165
|
* @throws {RequiredError}
|
|
171
166
|
*/
|
|
172
|
-
getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<
|
|
167
|
+
getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<void>;
|
|
173
168
|
/**
|
|
174
169
|
* Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
175
170
|
* @summary List layouts
|
|
@@ -184,7 +179,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
184
179
|
* @param {*} [options] Override http request option.
|
|
185
180
|
* @throws {RequiredError}
|
|
186
181
|
*/
|
|
187
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
182
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
188
183
|
/**
|
|
189
184
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
190
185
|
* @summary Update the layout
|
|
@@ -194,7 +189,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
194
189
|
* @param {*} [options] Override http request option.
|
|
195
190
|
* @throws {RequiredError}
|
|
196
191
|
*/
|
|
197
|
-
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
192
|
+
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
198
193
|
};
|
|
199
194
|
/**
|
|
200
195
|
* Request parameters for createLayout operation in LayoutsApi.
|
|
@@ -354,7 +349,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
354
349
|
* @throws {RequiredError}
|
|
355
350
|
* @memberof LayoutsApi
|
|
356
351
|
*/
|
|
357
|
-
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
352
|
+
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
358
353
|
/**
|
|
359
354
|
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
360
355
|
* @summary Delete the layout
|
|
@@ -363,7 +358,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
363
358
|
* @throws {RequiredError}
|
|
364
359
|
* @memberof LayoutsApi
|
|
365
360
|
*/
|
|
366
|
-
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
361
|
+
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
367
362
|
/**
|
|
368
363
|
* Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
|
|
369
364
|
* @summary Retrieve the layout
|
|
@@ -372,7 +367,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
372
367
|
* @throws {RequiredError}
|
|
373
368
|
* @memberof LayoutsApi
|
|
374
369
|
*/
|
|
375
|
-
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
370
|
+
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
376
371
|
/**
|
|
377
372
|
* Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
378
373
|
* @summary List layouts
|
|
@@ -381,7 +376,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
381
376
|
* @throws {RequiredError}
|
|
382
377
|
* @memberof LayoutsApi
|
|
383
378
|
*/
|
|
384
|
-
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
379
|
+
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
385
380
|
/**
|
|
386
381
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
387
382
|
* @summary Update the layout
|
|
@@ -390,5 +385,5 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
390
385
|
* @throws {RequiredError}
|
|
391
386
|
* @memberof LayoutsApi
|
|
392
387
|
*/
|
|
393
|
-
updateLayout(requestParameters: LayoutsApiUpdateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
388
|
+
updateLayout(requestParameters: LayoutsApiUpdateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
394
389
|
}
|