@emilgroup/document-sdk-node 1.2.0 → 1.3.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 +21 -0
- package/README.md +2 -2
- package/api/document-templates-api.ts +88 -94
- package/api/documents-api.ts +152 -34
- package/api/layouts-api.ts +52 -28
- package/api/product-documents-api.ts +599 -0
- package/api/search-keywords-api.ts +168 -0
- package/api/searchable-document-owners-api.ts +26 -22
- package/api/searchable-documents-api.ts +16 -12
- package/api.ts +4 -0
- package/dist/api/document-templates-api.d.ts +82 -78
- package/dist/api/document-templates-api.js +73 -67
- package/dist/api/documents-api.d.ts +93 -29
- package/dist/api/documents-api.js +121 -23
- package/dist/api/layouts-api.d.ts +52 -30
- package/dist/api/layouts-api.js +43 -23
- 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 +96 -0
- package/dist/api/search-keywords-api.js +229 -0
- package/dist/api/searchable-document-owners-api.d.ts +23 -19
- package/dist/api/searchable-document-owners-api.js +16 -12
- package/dist/api/searchable-documents-api.d.ts +16 -12
- package/dist/api/searchable-documents-api.js +14 -10
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/create-doc-template-request-dto.d.ts +10 -4
- package/dist/models/create-doc-template-response-class.d.ts +25 -0
- package/dist/models/create-doc-template-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +21 -8
- package/dist/models/create-document-request-dto.js +2 -1
- package/dist/models/create-document-sync-response-class.d.ts +25 -0
- package/dist/models/create-document-sync-response-class.js +15 -0
- package/dist/models/create-html-template-dto.d.ts +1 -1
- package/dist/models/create-layout-request-dto.d.ts +10 -10
- package/dist/models/create-layout-response-class.d.ts +25 -0
- package/dist/models/create-layout-response-class.js +15 -0
- package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
- package/dist/models/create-presigned-post-request-dto.js +52 -0
- package/dist/models/create-presigned-post-response-class.d.ts +30 -0
- package/dist/models/create-presigned-post-response-class.js +15 -0
- package/dist/models/delete-layout-request-dto.d.ts +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-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/doc-template-class.d.ts +25 -19
- package/dist/models/document-class.d.ts +21 -8
- package/dist/models/document-class.js +2 -1
- package/dist/models/download-document-request-dto.d.ts +2 -2
- package/dist/models/get-doc-template-request-dto.d.ts +1 -1
- package/dist/models/get-doc-template-response-class.d.ts +1 -1
- package/dist/models/get-document-download-url-response-class.d.ts +1 -1
- package/dist/models/get-layout-request-dto.d.ts +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 +24 -0
- package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
- package/dist/models/html-template-class.d.ts +7 -7
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/models/layout-class.d.ts +11 -11
- package/dist/models/list-doc-template-request-dto.d.ts +48 -0
- package/dist/models/list-doc-template-request-dto.js +15 -0
- package/dist/models/list-doc-templates-response-class.d.ts +1 -1
- package/dist/models/list-documents-response-class.d.ts +1 -1
- package/dist/models/list-layouts-response-class.d.ts +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-search-keywords-request-dto.d.ts +24 -0
- package/dist/models/list-search-keywords-request-dto.js +15 -0
- package/dist/models/list-search-keywords-response-class.d.ts +24 -0
- package/dist/models/list-search-keywords-response-class.js +15 -0
- package/dist/models/list-searchable-document-owners-response-class.d.ts +3 -2
- package/dist/models/list-searchable-documents-request-dto.d.ts +2 -2
- package/dist/models/list-searchable-documents-response-class.d.ts +5 -4
- 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 +66 -0
- package/dist/models/searchable-document-class.js +15 -0
- package/dist/models/searchable-document-owner-class.d.ts +30 -0
- package/dist/models/searchable-document-owner-class.js +15 -0
- package/dist/models/update-doc-template-request-dto.d.ts +16 -10
- package/dist/models/update-doc-template-response-class.d.ts +1 -1
- package/dist/models/update-document-request-dto.d.ts +10 -4
- package/dist/models/update-document-response-class.d.ts +25 -0
- package/dist/models/update-document-response-class.js +15 -0
- package/dist/models/update-html-template-dto.d.ts +42 -0
- package/dist/models/update-html-template-dto.js +21 -0
- package/dist/models/update-layout-request-dto.d.ts +15 -15
- package/dist/models/update-layout-response-class.d.ts +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/models/create-doc-template-request-dto.ts +10 -4
- package/models/create-doc-template-response-class.ts +31 -0
- package/models/create-document-request-dto.ts +22 -9
- package/models/create-document-sync-response-class.ts +31 -0
- package/models/create-html-template-dto.ts +1 -1
- package/models/create-layout-request-dto.ts +10 -10
- package/models/create-layout-response-class.ts +31 -0
- package/models/create-presigned-post-request-dto.ts +138 -0
- package/models/create-presigned-post-response-class.ts +36 -0
- 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 +30 -0
- package/models/doc-template-class.ts +25 -19
- package/models/document-class.ts +22 -9
- package/models/download-document-request-dto.ts +2 -2
- 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-product-document-response-class.ts +31 -0
- package/models/get-signed-s3-key-url-response-class.ts +30 -0
- package/models/html-template-class.ts +7 -7
- package/models/index.ts +19 -0
- package/models/layout-class.ts +11 -11
- package/models/list-doc-template-request-dto.ts +54 -0
- 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-search-keywords-request-dto.ts +30 -0
- package/models/list-search-keywords-response-class.ts +30 -0
- package/models/list-searchable-document-owners-response-class.ts +3 -2
- package/models/list-searchable-documents-request-dto.ts +2 -2
- package/models/list-searchable-documents-response-class.ts +5 -4
- package/models/product-document-class.ts +108 -0
- package/models/searchable-document-class.ts +72 -0
- package/models/searchable-document-owner-class.ts +36 -0
- package/models/update-doc-template-request-dto.ts +16 -10
- package/models/update-doc-template-response-class.ts +1 -1
- package/models/update-document-request-dto.ts +10 -4
- package/models/update-document-response-class.ts +31 -0
- package/models/update-html-template-dto.ts +51 -0
- package/models/update-layout-request-dto.ts +15 -15
- package/models/update-layout-response-class.ts +1 -1
- package/models/upload-product-document-request-dto.ts +72 -0
- package/package.json +2 -2
package/api/documents-api.ts
CHANGED
|
@@ -23,11 +23,21 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateDocumentRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { CreateDocumentSyncResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { CreatePresignedPostRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { CreatePresignedPostResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
26
32
|
import { GetDocumentDownloadUrlResponseClass } from '../models';
|
|
27
33
|
// @ts-ignore
|
|
34
|
+
import { GetSignedS3KeyUrlResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
28
36
|
import { ListDocumentsResponseClass } from '../models';
|
|
29
37
|
// @ts-ignore
|
|
30
38
|
import { UpdateDocumentRequestDto } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
import { UpdateDocumentResponseClass } from '../models';
|
|
31
41
|
// URLSearchParams not necessarily used
|
|
32
42
|
// @ts-ignore
|
|
33
43
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -39,7 +49,7 @@ const FormData = require('form-data');
|
|
|
39
49
|
export const DocumentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
50
|
return {
|
|
41
51
|
/**
|
|
42
|
-
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
52
|
+
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
43
53
|
* @summary Create the document
|
|
44
54
|
* @param {CreateDocumentRequestDto} createDocumentRequestDto
|
|
45
55
|
* @param {string} [authorization] Bearer Token
|
|
@@ -86,16 +96,17 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
86
96
|
};
|
|
87
97
|
},
|
|
88
98
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @
|
|
99
|
+
* This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
|
|
100
|
+
* @summary Upload documents using pre-signed URL
|
|
101
|
+
* @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
|
|
91
102
|
* @param {string} [authorization] Bearer Token
|
|
92
103
|
* @param {*} [options] Override http request option.
|
|
93
104
|
* @throws {RequiredError}
|
|
94
105
|
*/
|
|
95
|
-
|
|
96
|
-
// verify required parameter '
|
|
97
|
-
assertParamExists('
|
|
98
|
-
const localVarPath = `/documentservice/v1/documents/
|
|
106
|
+
createPresignedPost: async (createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107
|
+
// verify required parameter 'createPresignedPostRequestDto' is not null or undefined
|
|
108
|
+
assertParamExists('createPresignedPost', 'createPresignedPostRequestDto', createPresignedPostRequestDto)
|
|
109
|
+
const localVarPath = `/documentservice/v1/documents/pre-signed-post`;
|
|
99
110
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
111
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
112
|
let baseOptions;
|
|
@@ -124,7 +135,7 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
124
135
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
136
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
137
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
127
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
138
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPresignedPostRequestDto, localVarRequestOptions, configuration)
|
|
128
139
|
|
|
129
140
|
return {
|
|
130
141
|
url: toPathString(localVarUrlObj),
|
|
@@ -212,6 +223,54 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
212
223
|
|
|
213
224
|
|
|
214
225
|
|
|
226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
228
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
229
|
+
|
|
230
|
+
return {
|
|
231
|
+
url: toPathString(localVarUrlObj),
|
|
232
|
+
options: localVarRequestOptions,
|
|
233
|
+
};
|
|
234
|
+
},
|
|
235
|
+
/**
|
|
236
|
+
* This will return a presigned URL for a random S3 key
|
|
237
|
+
* @summary Fetches a presigned URL for a S3 key
|
|
238
|
+
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
239
|
+
* @param {string} [authorization] Bearer Token
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
getSignedS3keyUrl: async (s3Key: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
244
|
+
// verify required parameter 's3Key' is not null or undefined
|
|
245
|
+
assertParamExists('getSignedS3keyUrl', 's3Key', s3Key)
|
|
246
|
+
const localVarPath = `/documentservice/v1/documents/signed-s3-url`;
|
|
247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
248
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
249
|
+
let baseOptions;
|
|
250
|
+
let baseAccessToken;
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
baseAccessToken = configuration.accessToken;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
257
|
+
const localVarHeaderParameter = {} as any;
|
|
258
|
+
const localVarQueryParameter = {} as any;
|
|
259
|
+
|
|
260
|
+
// authentication bearer required
|
|
261
|
+
// http bearer authentication required
|
|
262
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
263
|
+
|
|
264
|
+
if (s3Key !== undefined) {
|
|
265
|
+
localVarQueryParameter['s3Key'] = s3Key;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
269
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
215
274
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
216
275
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
276
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -354,26 +413,27 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
354
413
|
const localVarAxiosParamCreator = DocumentsApiAxiosParamCreator(configuration)
|
|
355
414
|
return {
|
|
356
415
|
/**
|
|
357
|
-
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
416
|
+
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
358
417
|
* @summary Create the document
|
|
359
418
|
* @param {CreateDocumentRequestDto} createDocumentRequestDto
|
|
360
419
|
* @param {string} [authorization] Bearer Token
|
|
361
420
|
* @param {*} [options] Override http request option.
|
|
362
421
|
* @throws {RequiredError}
|
|
363
422
|
*/
|
|
364
|
-
async createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
423
|
+
async createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDocumentSyncResponseClass>> {
|
|
365
424
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDocument(createDocumentRequestDto, authorization, options);
|
|
366
425
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
367
426
|
},
|
|
368
427
|
/**
|
|
369
|
-
*
|
|
370
|
-
* @
|
|
428
|
+
* This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
|
|
429
|
+
* @summary Upload documents using pre-signed URL
|
|
430
|
+
* @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
|
|
371
431
|
* @param {string} [authorization] Bearer Token
|
|
372
432
|
* @param {*} [options] Override http request option.
|
|
373
433
|
* @throws {RequiredError}
|
|
374
434
|
*/
|
|
375
|
-
async
|
|
376
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
435
|
+
async createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>> {
|
|
436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createPresignedPost(createPresignedPostRequestDto, authorization, options);
|
|
377
437
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
378
438
|
},
|
|
379
439
|
/**
|
|
@@ -400,6 +460,18 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
400
460
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDocumentDownloadUrl(code, authorization, options);
|
|
401
461
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
402
462
|
},
|
|
463
|
+
/**
|
|
464
|
+
* This will return a presigned URL for a random S3 key
|
|
465
|
+
* @summary Fetches a presigned URL for a S3 key
|
|
466
|
+
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
467
|
+
* @param {string} [authorization] Bearer Token
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
async getSignedS3keyUrl(s3Key: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSignedS3KeyUrlResponseClass>> {
|
|
472
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSignedS3keyUrl(s3Key, authorization, options);
|
|
473
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
474
|
+
},
|
|
403
475
|
/**
|
|
404
476
|
* 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.
|
|
405
477
|
* @summary List documents
|
|
@@ -426,7 +498,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
426
498
|
* @param {*} [options] Override http request option.
|
|
427
499
|
* @throws {RequiredError}
|
|
428
500
|
*/
|
|
429
|
-
async updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
501
|
+
async updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDocumentResponseClass>> {
|
|
430
502
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDocument(code, updateDocumentRequestDto, authorization, options);
|
|
431
503
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
432
504
|
},
|
|
@@ -441,25 +513,26 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
441
513
|
const localVarFp = DocumentsApiFp(configuration)
|
|
442
514
|
return {
|
|
443
515
|
/**
|
|
444
|
-
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
516
|
+
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
445
517
|
* @summary Create the document
|
|
446
518
|
* @param {CreateDocumentRequestDto} createDocumentRequestDto
|
|
447
519
|
* @param {string} [authorization] Bearer Token
|
|
448
520
|
* @param {*} [options] Override http request option.
|
|
449
521
|
* @throws {RequiredError}
|
|
450
522
|
*/
|
|
451
|
-
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
523
|
+
createDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDocumentSyncResponseClass> {
|
|
452
524
|
return localVarFp.createDocument(createDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
453
525
|
},
|
|
454
526
|
/**
|
|
455
|
-
*
|
|
456
|
-
* @
|
|
527
|
+
* This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
|
|
528
|
+
* @summary Upload documents using pre-signed URL
|
|
529
|
+
* @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto
|
|
457
530
|
* @param {string} [authorization] Bearer Token
|
|
458
531
|
* @param {*} [options] Override http request option.
|
|
459
532
|
* @throws {RequiredError}
|
|
460
533
|
*/
|
|
461
|
-
|
|
462
|
-
return localVarFp.
|
|
534
|
+
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass> {
|
|
535
|
+
return localVarFp.createPresignedPost(createPresignedPostRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
463
536
|
},
|
|
464
537
|
/**
|
|
465
538
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it.
|
|
@@ -483,6 +556,17 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
483
556
|
getDocumentDownloadUrl(code: string, authorization?: string, options?: any): AxiosPromise<GetDocumentDownloadUrlResponseClass> {
|
|
484
557
|
return localVarFp.getDocumentDownloadUrl(code, authorization, options).then((request) => request(axios, basePath));
|
|
485
558
|
},
|
|
559
|
+
/**
|
|
560
|
+
* This will return a presigned URL for a random S3 key
|
|
561
|
+
* @summary Fetches a presigned URL for a S3 key
|
|
562
|
+
* @param {string} s3Key Key for the file in S3 bucket to create the presigned download URL for
|
|
563
|
+
* @param {string} [authorization] Bearer Token
|
|
564
|
+
* @param {*} [options] Override http request option.
|
|
565
|
+
* @throws {RequiredError}
|
|
566
|
+
*/
|
|
567
|
+
getSignedS3keyUrl(s3Key: string, authorization?: string, options?: any): AxiosPromise<GetSignedS3KeyUrlResponseClass> {
|
|
568
|
+
return localVarFp.getSignedS3keyUrl(s3Key, authorization, options).then((request) => request(axios, basePath));
|
|
569
|
+
},
|
|
486
570
|
/**
|
|
487
571
|
* 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.
|
|
488
572
|
* @summary List documents
|
|
@@ -508,7 +592,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
508
592
|
* @param {*} [options] Override http request option.
|
|
509
593
|
* @throws {RequiredError}
|
|
510
594
|
*/
|
|
511
|
-
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
595
|
+
updateDocument(code: string, updateDocumentRequestDto: UpdateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDocumentResponseClass> {
|
|
512
596
|
return localVarFp.updateDocument(code, updateDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
513
597
|
},
|
|
514
598
|
};
|
|
@@ -536,22 +620,22 @@ export interface DocumentsApiCreateDocumentRequest {
|
|
|
536
620
|
}
|
|
537
621
|
|
|
538
622
|
/**
|
|
539
|
-
* Request parameters for
|
|
623
|
+
* Request parameters for createPresignedPost operation in DocumentsApi.
|
|
540
624
|
* @export
|
|
541
|
-
* @interface
|
|
625
|
+
* @interface DocumentsApiCreatePresignedPostRequest
|
|
542
626
|
*/
|
|
543
|
-
export interface
|
|
627
|
+
export interface DocumentsApiCreatePresignedPostRequest {
|
|
544
628
|
/**
|
|
545
629
|
*
|
|
546
|
-
* @type {
|
|
547
|
-
* @memberof
|
|
630
|
+
* @type {CreatePresignedPostRequestDto}
|
|
631
|
+
* @memberof DocumentsApiCreatePresignedPost
|
|
548
632
|
*/
|
|
549
|
-
readonly
|
|
633
|
+
readonly createPresignedPostRequestDto: CreatePresignedPostRequestDto
|
|
550
634
|
|
|
551
635
|
/**
|
|
552
636
|
* Bearer Token
|
|
553
637
|
* @type {string}
|
|
554
|
-
* @memberof
|
|
638
|
+
* @memberof DocumentsApiCreatePresignedPost
|
|
555
639
|
*/
|
|
556
640
|
readonly authorization?: string
|
|
557
641
|
}
|
|
@@ -598,6 +682,27 @@ export interface DocumentsApiGetDocumentDownloadUrlRequest {
|
|
|
598
682
|
readonly authorization?: string
|
|
599
683
|
}
|
|
600
684
|
|
|
685
|
+
/**
|
|
686
|
+
* Request parameters for getSignedS3keyUrl operation in DocumentsApi.
|
|
687
|
+
* @export
|
|
688
|
+
* @interface DocumentsApiGetSignedS3keyUrlRequest
|
|
689
|
+
*/
|
|
690
|
+
export interface DocumentsApiGetSignedS3keyUrlRequest {
|
|
691
|
+
/**
|
|
692
|
+
* Key for the file in S3 bucket to create the presigned download URL for
|
|
693
|
+
* @type {string}
|
|
694
|
+
* @memberof DocumentsApiGetSignedS3keyUrl
|
|
695
|
+
*/
|
|
696
|
+
readonly s3Key: string
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Bearer Token
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof DocumentsApiGetSignedS3keyUrl
|
|
702
|
+
*/
|
|
703
|
+
readonly authorization?: string
|
|
704
|
+
}
|
|
705
|
+
|
|
601
706
|
/**
|
|
602
707
|
* Request parameters for listDocuments operation in DocumentsApi.
|
|
603
708
|
* @export
|
|
@@ -690,7 +795,7 @@ export interface DocumentsApiUpdateDocumentRequest {
|
|
|
690
795
|
*/
|
|
691
796
|
export class DocumentsApi extends BaseAPI {
|
|
692
797
|
/**
|
|
693
|
-
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
798
|
+
* This will create a document in database and upload the file to Amazon Simple Storage Service (S3).
|
|
694
799
|
* @summary Create the document
|
|
695
800
|
* @param {DocumentsApiCreateDocumentRequest} requestParameters Request parameters.
|
|
696
801
|
* @param {*} [options] Override http request option.
|
|
@@ -702,14 +807,15 @@ export class DocumentsApi extends BaseAPI {
|
|
|
702
807
|
}
|
|
703
808
|
|
|
704
809
|
/**
|
|
705
|
-
*
|
|
706
|
-
* @
|
|
810
|
+
* This will create a URL that allows user upload its documents in Database.The URL will be expires between 5 minutes to 7 days.
|
|
811
|
+
* @summary Upload documents using pre-signed URL
|
|
812
|
+
* @param {DocumentsApiCreatePresignedPostRequest} requestParameters Request parameters.
|
|
707
813
|
* @param {*} [options] Override http request option.
|
|
708
814
|
* @throws {RequiredError}
|
|
709
815
|
* @memberof DocumentsApi
|
|
710
816
|
*/
|
|
711
|
-
public
|
|
712
|
-
return DocumentsApiFp(this.configuration).
|
|
817
|
+
public createPresignedPost(requestParameters: DocumentsApiCreatePresignedPostRequest, options?: AxiosRequestConfig) {
|
|
818
|
+
return DocumentsApiFp(this.configuration).createPresignedPost(requestParameters.createPresignedPostRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
713
819
|
}
|
|
714
820
|
|
|
715
821
|
/**
|
|
@@ -736,6 +842,18 @@ export class DocumentsApi extends BaseAPI {
|
|
|
736
842
|
return DocumentsApiFp(this.configuration).getDocumentDownloadUrl(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
737
843
|
}
|
|
738
844
|
|
|
845
|
+
/**
|
|
846
|
+
* This will return a presigned URL for a random S3 key
|
|
847
|
+
* @summary Fetches a presigned URL for a S3 key
|
|
848
|
+
* @param {DocumentsApiGetSignedS3keyUrlRequest} requestParameters Request parameters.
|
|
849
|
+
* @param {*} [options] Override http request option.
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
* @memberof DocumentsApi
|
|
852
|
+
*/
|
|
853
|
+
public getSignedS3keyUrl(requestParameters: DocumentsApiGetSignedS3keyUrlRequest, options?: AxiosRequestConfig) {
|
|
854
|
+
return DocumentsApiFp(this.configuration).getSignedS3keyUrl(requestParameters.s3Key, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
855
|
+
}
|
|
856
|
+
|
|
739
857
|
/**
|
|
740
858
|
* 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.
|
|
741
859
|
* @summary List documents
|
package/api/layouts-api.ts
CHANGED
|
@@ -23,6 +23,10 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateLayoutRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { CreateLayoutResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { DeleteResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
26
30
|
import { GetLayoutResponseClass } from '../models';
|
|
27
31
|
// @ts-ignore
|
|
28
32
|
import { ListLayoutsResponseClass } from '../models';
|
|
@@ -41,7 +45,8 @@ const FormData = require('form-data');
|
|
|
41
45
|
export const LayoutsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
46
|
return {
|
|
43
47
|
/**
|
|
44
|
-
*
|
|
48
|
+
* This will create a layout.
|
|
49
|
+
* @summary Create the layout
|
|
45
50
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
46
51
|
* @param {string} [authorization] Bearer Token
|
|
47
52
|
* @param {*} [options] Override http request option.
|
|
@@ -87,7 +92,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
87
92
|
};
|
|
88
93
|
},
|
|
89
94
|
/**
|
|
90
|
-
*
|
|
95
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
96
|
+
* @summary Delete the layout
|
|
91
97
|
* @param {number} id
|
|
92
98
|
* @param {string} [authorization] Bearer Token
|
|
93
99
|
* @param {*} [options] Override http request option.
|
|
@@ -131,9 +137,10 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
131
137
|
};
|
|
132
138
|
},
|
|
133
139
|
/**
|
|
134
|
-
*
|
|
140
|
+
* 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.
|
|
141
|
+
* @summary Retrieve the layout
|
|
135
142
|
* @param {string} id
|
|
136
|
-
* @param {number} id2
|
|
143
|
+
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
137
144
|
* @param {string} [authorization] Bearer Token
|
|
138
145
|
* @param {*} [options] Override http request option.
|
|
139
146
|
* @throws {RequiredError}
|
|
@@ -182,7 +189,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
182
189
|
};
|
|
183
190
|
},
|
|
184
191
|
/**
|
|
185
|
-
*
|
|
192
|
+
* 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.
|
|
193
|
+
* @summary List layouts
|
|
186
194
|
* @param {string} [authorization] Bearer Token
|
|
187
195
|
* @param {number} [pageSize] Page size
|
|
188
196
|
* @param {string} [pageToken] Page token
|
|
@@ -252,7 +260,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
252
260
|
};
|
|
253
261
|
},
|
|
254
262
|
/**
|
|
255
|
-
*
|
|
263
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
264
|
+
* @summary Update the layout
|
|
256
265
|
* @param {number} id
|
|
257
266
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
258
267
|
* @param {string} [authorization] Bearer Token
|
|
@@ -312,31 +321,34 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
312
321
|
const localVarAxiosParamCreator = LayoutsApiAxiosParamCreator(configuration)
|
|
313
322
|
return {
|
|
314
323
|
/**
|
|
315
|
-
*
|
|
324
|
+
* This will create a layout.
|
|
325
|
+
* @summary Create the layout
|
|
316
326
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
317
327
|
* @param {string} [authorization] Bearer Token
|
|
318
328
|
* @param {*} [options] Override http request option.
|
|
319
329
|
* @throws {RequiredError}
|
|
320
330
|
*/
|
|
321
|
-
async createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
331
|
+
async createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLayoutResponseClass>> {
|
|
322
332
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createLayout(createLayoutRequestDto, authorization, options);
|
|
323
333
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
324
334
|
},
|
|
325
335
|
/**
|
|
326
|
-
*
|
|
336
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
337
|
+
* @summary Delete the layout
|
|
327
338
|
* @param {number} id
|
|
328
339
|
* @param {string} [authorization] Bearer Token
|
|
329
340
|
* @param {*} [options] Override http request option.
|
|
330
341
|
* @throws {RequiredError}
|
|
331
342
|
*/
|
|
332
|
-
async deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
343
|
+
async deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
333
344
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLayout(id, authorization, options);
|
|
334
345
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
335
346
|
},
|
|
336
347
|
/**
|
|
337
|
-
*
|
|
348
|
+
* 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.
|
|
349
|
+
* @summary Retrieve the layout
|
|
338
350
|
* @param {string} id
|
|
339
|
-
* @param {number} id2
|
|
351
|
+
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
340
352
|
* @param {string} [authorization] Bearer Token
|
|
341
353
|
* @param {*} [options] Override http request option.
|
|
342
354
|
* @throws {RequiredError}
|
|
@@ -346,7 +358,8 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
346
358
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
347
359
|
},
|
|
348
360
|
/**
|
|
349
|
-
*
|
|
361
|
+
* 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.
|
|
362
|
+
* @summary List layouts
|
|
350
363
|
* @param {string} [authorization] Bearer Token
|
|
351
364
|
* @param {number} [pageSize] Page size
|
|
352
365
|
* @param {string} [pageToken] Page token
|
|
@@ -362,7 +375,8 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
362
375
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
363
376
|
},
|
|
364
377
|
/**
|
|
365
|
-
*
|
|
378
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
379
|
+
* @summary Update the layout
|
|
366
380
|
* @param {number} id
|
|
367
381
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
368
382
|
* @param {string} [authorization] Bearer Token
|
|
@@ -384,29 +398,32 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
384
398
|
const localVarFp = LayoutsApiFp(configuration)
|
|
385
399
|
return {
|
|
386
400
|
/**
|
|
387
|
-
*
|
|
401
|
+
* This will create a layout.
|
|
402
|
+
* @summary Create the layout
|
|
388
403
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
389
404
|
* @param {string} [authorization] Bearer Token
|
|
390
405
|
* @param {*} [options] Override http request option.
|
|
391
406
|
* @throws {RequiredError}
|
|
392
407
|
*/
|
|
393
|
-
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
408
|
+
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLayoutResponseClass> {
|
|
394
409
|
return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
395
410
|
},
|
|
396
411
|
/**
|
|
397
|
-
*
|
|
412
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
413
|
+
* @summary Delete the layout
|
|
398
414
|
* @param {number} id
|
|
399
415
|
* @param {string} [authorization] Bearer Token
|
|
400
416
|
* @param {*} [options] Override http request option.
|
|
401
417
|
* @throws {RequiredError}
|
|
402
418
|
*/
|
|
403
|
-
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<
|
|
419
|
+
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
404
420
|
return localVarFp.deleteLayout(id, authorization, options).then((request) => request(axios, basePath));
|
|
405
421
|
},
|
|
406
422
|
/**
|
|
407
|
-
*
|
|
423
|
+
* 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.
|
|
424
|
+
* @summary Retrieve the layout
|
|
408
425
|
* @param {string} id
|
|
409
|
-
* @param {number} id2
|
|
426
|
+
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
410
427
|
* @param {string} [authorization] Bearer Token
|
|
411
428
|
* @param {*} [options] Override http request option.
|
|
412
429
|
* @throws {RequiredError}
|
|
@@ -415,7 +432,8 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
415
432
|
return localVarFp.getLayout(id, id2, authorization, options).then((request) => request(axios, basePath));
|
|
416
433
|
},
|
|
417
434
|
/**
|
|
418
|
-
*
|
|
435
|
+
* 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.
|
|
436
|
+
* @summary List layouts
|
|
419
437
|
* @param {string} [authorization] Bearer Token
|
|
420
438
|
* @param {number} [pageSize] Page size
|
|
421
439
|
* @param {string} [pageToken] Page token
|
|
@@ -430,7 +448,8 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
430
448
|
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
431
449
|
},
|
|
432
450
|
/**
|
|
433
|
-
*
|
|
451
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
452
|
+
* @summary Update the layout
|
|
434
453
|
* @param {number} id
|
|
435
454
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
436
455
|
* @param {string} [authorization] Bearer Token
|
|
@@ -499,7 +518,7 @@ export interface LayoutsApiGetLayoutRequest {
|
|
|
499
518
|
readonly id: string
|
|
500
519
|
|
|
501
520
|
/**
|
|
502
|
-
*
|
|
521
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
503
522
|
* @type {number}
|
|
504
523
|
* @memberof LayoutsApiGetLayout
|
|
505
524
|
*/
|
|
@@ -605,7 +624,8 @@ export interface LayoutsApiUpdateLayoutRequest {
|
|
|
605
624
|
*/
|
|
606
625
|
export class LayoutsApi extends BaseAPI {
|
|
607
626
|
/**
|
|
608
|
-
*
|
|
627
|
+
* This will create a layout.
|
|
628
|
+
* @summary Create the layout
|
|
609
629
|
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
610
630
|
* @param {*} [options] Override http request option.
|
|
611
631
|
* @throws {RequiredError}
|
|
@@ -616,7 +636,8 @@ export class LayoutsApi extends BaseAPI {
|
|
|
616
636
|
}
|
|
617
637
|
|
|
618
638
|
/**
|
|
619
|
-
*
|
|
639
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
640
|
+
* @summary Delete the layout
|
|
620
641
|
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
621
642
|
* @param {*} [options] Override http request option.
|
|
622
643
|
* @throws {RequiredError}
|
|
@@ -627,7 +648,8 @@ export class LayoutsApi extends BaseAPI {
|
|
|
627
648
|
}
|
|
628
649
|
|
|
629
650
|
/**
|
|
630
|
-
*
|
|
651
|
+
* 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.
|
|
652
|
+
* @summary Retrieve the layout
|
|
631
653
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
632
654
|
* @param {*} [options] Override http request option.
|
|
633
655
|
* @throws {RequiredError}
|
|
@@ -638,7 +660,8 @@ export class LayoutsApi extends BaseAPI {
|
|
|
638
660
|
}
|
|
639
661
|
|
|
640
662
|
/**
|
|
641
|
-
*
|
|
663
|
+
* 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.
|
|
664
|
+
* @summary List layouts
|
|
642
665
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
643
666
|
* @param {*} [options] Override http request option.
|
|
644
667
|
* @throws {RequiredError}
|
|
@@ -649,7 +672,8 @@ export class LayoutsApi extends BaseAPI {
|
|
|
649
672
|
}
|
|
650
673
|
|
|
651
674
|
/**
|
|
652
|
-
*
|
|
675
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
676
|
+
* @summary Update the layout
|
|
653
677
|
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
654
678
|
* @param {*} [options] Override http request option.
|
|
655
679
|
* @throws {RequiredError}
|