@emilgroup/document-sdk-node 1.49.1-beta.40 → 1.49.1-beta.41
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/README.md +2 -2
- package/api/document-templates-api.ts +15 -40
- package/api/documents-api.ts +33 -88
- package/api/docx-templates-api.ts +18 -48
- package/api/health-api.ts +1 -1
- package/api/layouts-api.ts +15 -40
- package/api/product-documents-api.ts +18 -48
- package/api/search-keywords-api.ts +3 -8
- package/api/searchable-document-owners-api.ts +3 -8
- package/api/searchable-documents-api.ts +3 -8
- package/base.ts +0 -4
- package/common.ts +2 -3
- package/dist/api/document-templates-api.d.ts +5 -5
- package/dist/api/document-templates-api.js +38 -67
- package/dist/api/documents-api.d.ts +11 -11
- package/dist/api/documents-api.js +85 -153
- package/dist/api/docx-templates-api.d.ts +6 -6
- package/dist/api/docx-templates-api.js +47 -86
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/layouts-api.js +38 -67
- package/dist/api/product-documents-api.d.ts +6 -6
- package/dist/api/product-documents-api.js +45 -78
- package/dist/api/search-keywords-api.d.ts +1 -1
- package/dist/api/search-keywords-api.js +7 -11
- package/dist/api/searchable-document-owners-api.d.ts +1 -1
- package/dist/api/searchable-document-owners-api.js +7 -11
- package/dist/api/searchable-documents-api.d.ts +1 -1
- package/dist/api/searchable-documents-api.js +7 -11
- package/dist/base.d.ts +0 -1
- package/dist/base.js +0 -3
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/package.json +2 -2
|
@@ -107,10 +107,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
deleteDocxTemplate: function (code, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
switch (_b.label) {
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
return __generator(this, function (_a) {
|
|
112
|
+
switch (_a.label) {
|
|
114
113
|
case 0:
|
|
115
114
|
// verify required parameter 'code' is not null or undefined
|
|
116
115
|
(0, common_1.assertParamExists)('deleteDocxTemplate', 'code', code);
|
|
@@ -126,19 +125,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
126
125
|
localVarQueryParameter = {};
|
|
127
126
|
// authentication bearer required
|
|
128
127
|
// http bearer authentication required
|
|
129
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
130
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
131
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
132
|
-
];
|
|
128
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
133
129
|
case 1:
|
|
134
130
|
// authentication bearer required
|
|
135
131
|
// http bearer authentication required
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
140
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
141
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
132
|
+
_a.sent();
|
|
133
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
142
135
|
}
|
|
143
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
144
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -162,10 +155,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
162
155
|
downloadDocxTemplate: function (code, authorization, options) {
|
|
163
156
|
if (options === void 0) { options = {}; }
|
|
164
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
165
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
switch (_b.label) {
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
|
+
return __generator(this, function (_a) {
|
|
160
|
+
switch (_a.label) {
|
|
169
161
|
case 0:
|
|
170
162
|
// verify required parameter 'code' is not null or undefined
|
|
171
163
|
(0, common_1.assertParamExists)('downloadDocxTemplate', 'code', code);
|
|
@@ -181,19 +173,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
181
173
|
localVarQueryParameter = {};
|
|
182
174
|
// authentication bearer required
|
|
183
175
|
// http bearer authentication required
|
|
184
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
185
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
186
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
187
|
-
];
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
188
177
|
case 1:
|
|
189
178
|
// authentication bearer required
|
|
190
179
|
// http bearer authentication required
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
195
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
196
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
|
+
_a.sent();
|
|
181
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
197
183
|
}
|
|
198
184
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
199
185
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -217,10 +203,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
217
203
|
getDocxTemplate: function (code, authorization, options) {
|
|
218
204
|
if (options === void 0) { options = {}; }
|
|
219
205
|
return __awaiter(_this, void 0, void 0, function () {
|
|
220
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
switch (_b.label) {
|
|
206
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
207
|
+
return __generator(this, function (_a) {
|
|
208
|
+
switch (_a.label) {
|
|
224
209
|
case 0:
|
|
225
210
|
// verify required parameter 'code' is not null or undefined
|
|
226
211
|
(0, common_1.assertParamExists)('getDocxTemplate', 'code', code);
|
|
@@ -236,19 +221,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
236
221
|
localVarQueryParameter = {};
|
|
237
222
|
// authentication bearer required
|
|
238
223
|
// http bearer authentication required
|
|
239
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
240
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
241
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
242
|
-
];
|
|
224
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
243
225
|
case 1:
|
|
244
226
|
// authentication bearer required
|
|
245
227
|
// http bearer authentication required
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
250
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
251
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
228
|
+
_a.sent();
|
|
229
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
230
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
231
|
}
|
|
253
232
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
254
233
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -278,10 +257,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
278
257
|
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
279
258
|
if (options === void 0) { options = {}; }
|
|
280
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
281
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
switch (_b.label) {
|
|
260
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
261
|
+
return __generator(this, function (_a) {
|
|
262
|
+
switch (_a.label) {
|
|
285
263
|
case 0:
|
|
286
264
|
localVarPath = "/documentservice/v1/docx-templates";
|
|
287
265
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -298,7 +276,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
298
276
|
case 1:
|
|
299
277
|
// authentication bearer required
|
|
300
278
|
// http bearer authentication required
|
|
301
|
-
|
|
279
|
+
_a.sent();
|
|
302
280
|
if (pageSize !== undefined) {
|
|
303
281
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
304
282
|
}
|
|
@@ -320,11 +298,8 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
320
298
|
if (filters !== undefined) {
|
|
321
299
|
localVarQueryParameter['filters'] = filters;
|
|
322
300
|
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
326
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
327
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
301
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
302
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
328
303
|
}
|
|
329
304
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
330
305
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -349,10 +324,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
349
324
|
updateDocxTemplate: function (code, sharedUpdateDocxTemplateRequestDto, authorization, options) {
|
|
350
325
|
if (options === void 0) { options = {}; }
|
|
351
326
|
return __awaiter(_this, void 0, void 0, function () {
|
|
352
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
switch (_b.label) {
|
|
327
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
328
|
+
return __generator(this, function (_a) {
|
|
329
|
+
switch (_a.label) {
|
|
356
330
|
case 0:
|
|
357
331
|
// verify required parameter 'code' is not null or undefined
|
|
358
332
|
(0, common_1.assertParamExists)('updateDocxTemplate', 'code', code);
|
|
@@ -370,19 +344,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
370
344
|
localVarQueryParameter = {};
|
|
371
345
|
// authentication bearer required
|
|
372
346
|
// http bearer authentication required
|
|
373
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
374
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
375
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
376
|
-
];
|
|
347
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
377
348
|
case 1:
|
|
378
349
|
// authentication bearer required
|
|
379
350
|
// http bearer authentication required
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
384
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
385
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
351
|
+
_a.sent();
|
|
352
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
353
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
386
354
|
}
|
|
387
355
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
388
356
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -408,10 +376,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
408
376
|
uploadDocxTemplate: function (uploadDocxTemplateRequestDto, authorization, options) {
|
|
409
377
|
if (options === void 0) { options = {}; }
|
|
410
378
|
return __awaiter(_this, void 0, void 0, function () {
|
|
411
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
switch (_b.label) {
|
|
379
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
380
|
+
return __generator(this, function (_a) {
|
|
381
|
+
switch (_a.label) {
|
|
415
382
|
case 0:
|
|
416
383
|
// verify required parameter 'uploadDocxTemplateRequestDto' is not null or undefined
|
|
417
384
|
(0, common_1.assertParamExists)('uploadDocxTemplate', 'uploadDocxTemplateRequestDto', uploadDocxTemplateRequestDto);
|
|
@@ -426,19 +393,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
426
393
|
localVarQueryParameter = {};
|
|
427
394
|
// authentication bearer required
|
|
428
395
|
// http bearer authentication required
|
|
429
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
430
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
431
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
432
|
-
];
|
|
396
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
433
397
|
case 1:
|
|
434
398
|
// authentication bearer required
|
|
435
399
|
// http bearer authentication required
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
440
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
441
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
400
|
+
_a.sent();
|
|
401
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
402
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
442
403
|
}
|
|
443
404
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
444
405
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -703,7 +664,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
703
664
|
*/
|
|
704
665
|
DocxTemplatesApi.prototype.deleteDocxTemplate = function (requestParameters, options) {
|
|
705
666
|
var _this = this;
|
|
706
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).deleteDocxTemplate(requestParameters.code, requestParameters.authorization,
|
|
667
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).deleteDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
707
668
|
};
|
|
708
669
|
/**
|
|
709
670
|
* Get a pre-signed download url for the given docx template. **Required Permissions** \"document-management.docx-templates.view\"
|
|
@@ -715,7 +676,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
715
676
|
*/
|
|
716
677
|
DocxTemplatesApi.prototype.downloadDocxTemplate = function (requestParameters, options) {
|
|
717
678
|
var _this = this;
|
|
718
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).downloadDocxTemplate(requestParameters.code, requestParameters.authorization,
|
|
679
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).downloadDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
719
680
|
};
|
|
720
681
|
/**
|
|
721
682
|
* Get a docx template. **Required Permissions** \"document-management.docx-templates.view\"
|
|
@@ -727,7 +688,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
727
688
|
*/
|
|
728
689
|
DocxTemplatesApi.prototype.getDocxTemplate = function (requestParameters, options) {
|
|
729
690
|
var _this = this;
|
|
730
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).getDocxTemplate(requestParameters.code, requestParameters.authorization,
|
|
691
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).getDocxTemplate(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
731
692
|
};
|
|
732
693
|
/**
|
|
733
694
|
* 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. **Required Permissions** \"document-management.docx-templates.view\"
|
|
@@ -740,7 +701,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
740
701
|
DocxTemplatesApi.prototype.listDocxTemplates = function (requestParameters, options) {
|
|
741
702
|
var _this = this;
|
|
742
703
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
743
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
704
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
744
705
|
};
|
|
745
706
|
/**
|
|
746
707
|
* Updates a docx template metadata. **Required Permissions** \"document-management.docx-templates.update\"
|
|
@@ -752,7 +713,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
752
713
|
*/
|
|
753
714
|
DocxTemplatesApi.prototype.updateDocxTemplate = function (requestParameters, options) {
|
|
754
715
|
var _this = this;
|
|
755
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).updateDocxTemplate(requestParameters.code, requestParameters.sharedUpdateDocxTemplateRequestDto, requestParameters.authorization,
|
|
716
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).updateDocxTemplate(requestParameters.code, requestParameters.sharedUpdateDocxTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
756
717
|
};
|
|
757
718
|
/**
|
|
758
719
|
* Upload a docx template via a presigned Url. **Required Permissions** \"document-management.docx-templates.create\"
|
|
@@ -764,7 +725,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
764
725
|
*/
|
|
765
726
|
DocxTemplatesApi.prototype.uploadDocxTemplate = function (requestParameters, options) {
|
|
766
727
|
var _this = this;
|
|
767
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).uploadDocxTemplate(requestParameters.uploadDocxTemplateRequestDto, requestParameters.authorization,
|
|
728
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).uploadDocxTemplate(requestParameters.uploadDocxTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
768
729
|
};
|
|
769
730
|
return DocxTemplatesApi;
|
|
770
731
|
}(base_1.BaseAPI));
|
package/dist/api/health-api.d.ts
CHANGED
|
@@ -66,5 +66,5 @@ export declare class HealthApi extends BaseAPI {
|
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
* @memberof HealthApi
|
|
68
68
|
*/
|
|
69
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
70
70
|
}
|
package/dist/api/health-api.js
CHANGED
|
@@ -197,7 +197,7 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
197
197
|
*/
|
|
198
198
|
HealthApi.prototype.check = function (options) {
|
|
199
199
|
var _this = this;
|
|
200
|
-
return (0, exports.HealthApiFp)(this.configuration).check(
|
|
200
|
+
return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
201
201
|
};
|
|
202
202
|
return HealthApi;
|
|
203
203
|
}(base_1.BaseAPI));
|
|
@@ -354,7 +354,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
* @memberof LayoutsApi
|
|
356
356
|
*/
|
|
357
|
-
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLayoutResponseClass, any, {}
|
|
357
|
+
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLayoutResponseClass, any, {}>>;
|
|
358
358
|
/**
|
|
359
359
|
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
|
|
360
360
|
* @summary Delete the layout
|
|
@@ -363,7 +363,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
* @memberof LayoutsApi
|
|
365
365
|
*/
|
|
366
|
-
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}
|
|
366
|
+
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
367
367
|
/**
|
|
368
368
|
* 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. **Required Permissions** \"document-management.layouts.view\"
|
|
369
369
|
* @summary Retrieve the layout
|
|
@@ -372,7 +372,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
* @memberof LayoutsApi
|
|
374
374
|
*/
|
|
375
|
-
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLayoutResponseClass, any, {}
|
|
375
|
+
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLayoutResponseClass, any, {}>>;
|
|
376
376
|
/**
|
|
377
377
|
* 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. **Required Permissions** \"document-management.layouts.view\"
|
|
378
378
|
* @summary List layouts
|
|
@@ -381,7 +381,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
* @memberof LayoutsApi
|
|
383
383
|
*/
|
|
384
|
-
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLayoutsResponseClass, any, {}
|
|
384
|
+
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLayoutsResponseClass, any, {}>>;
|
|
385
385
|
/**
|
|
386
386
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
|
|
387
387
|
* @summary Update the layout
|
|
@@ -390,5 +390,5 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
* @memberof LayoutsApi
|
|
392
392
|
*/
|
|
393
|
-
updateLayout(requestParameters: LayoutsApiUpdateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLayoutResponseClass, any, {}
|
|
393
|
+
updateLayout(requestParameters: LayoutsApiUpdateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLayoutResponseClass, any, {}>>;
|
|
394
394
|
}
|
package/dist/api/layouts-api.js
CHANGED
|
@@ -107,10 +107,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createLayout: function (createLayoutRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
switch (_b.label) {
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
return __generator(this, function (_a) {
|
|
112
|
+
switch (_a.label) {
|
|
114
113
|
case 0:
|
|
115
114
|
// verify required parameter 'createLayoutRequestDto' is not null or undefined
|
|
116
115
|
(0, common_1.assertParamExists)('createLayout', 'createLayoutRequestDto', createLayoutRequestDto);
|
|
@@ -125,19 +124,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
125
124
|
localVarQueryParameter = {};
|
|
126
125
|
// authentication bearer required
|
|
127
126
|
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
129
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
130
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
131
|
-
];
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
132
128
|
case 1:
|
|
133
129
|
// authentication bearer required
|
|
134
130
|
// http bearer authentication required
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
139
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
140
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
141
134
|
}
|
|
142
135
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
143
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -163,10 +156,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
163
156
|
deleteLayout: function (id, authorization, options) {
|
|
164
157
|
if (options === void 0) { options = {}; }
|
|
165
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
166
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
switch (_b.label) {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
170
162
|
case 0:
|
|
171
163
|
// verify required parameter 'id' is not null or undefined
|
|
172
164
|
(0, common_1.assertParamExists)('deleteLayout', 'id', id);
|
|
@@ -182,19 +174,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
182
174
|
localVarQueryParameter = {};
|
|
183
175
|
// authentication bearer required
|
|
184
176
|
// http bearer authentication required
|
|
185
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
186
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
187
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
188
|
-
];
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
189
178
|
case 1:
|
|
190
179
|
// authentication bearer required
|
|
191
180
|
// http bearer authentication required
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
196
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
197
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
181
|
+
_a.sent();
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
198
184
|
}
|
|
199
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
200
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -219,10 +205,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
219
205
|
getLayout: function (id, id2, authorization, options) {
|
|
220
206
|
if (options === void 0) { options = {}; }
|
|
221
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
222
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
switch (_b.label) {
|
|
208
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
|
+
return __generator(this, function (_a) {
|
|
210
|
+
switch (_a.label) {
|
|
226
211
|
case 0:
|
|
227
212
|
// verify required parameter 'id' is not null or undefined
|
|
228
213
|
(0, common_1.assertParamExists)('getLayout', 'id', id);
|
|
@@ -244,15 +229,12 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
244
229
|
case 1:
|
|
245
230
|
// authentication bearer required
|
|
246
231
|
// http bearer authentication required
|
|
247
|
-
|
|
232
|
+
_a.sent();
|
|
248
233
|
if (id2 !== undefined) {
|
|
249
234
|
localVarQueryParameter['id'] = id2;
|
|
250
235
|
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
254
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
255
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
237
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
256
238
|
}
|
|
257
239
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
258
240
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -282,10 +264,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
282
264
|
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
283
265
|
if (options === void 0) { options = {}; }
|
|
284
266
|
return __awaiter(_this, void 0, void 0, function () {
|
|
285
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
switch (_b.label) {
|
|
267
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
268
|
+
return __generator(this, function (_a) {
|
|
269
|
+
switch (_a.label) {
|
|
289
270
|
case 0:
|
|
290
271
|
localVarPath = "/documentservice/v1/layouts";
|
|
291
272
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -302,7 +283,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
302
283
|
case 1:
|
|
303
284
|
// authentication bearer required
|
|
304
285
|
// http bearer authentication required
|
|
305
|
-
|
|
286
|
+
_a.sent();
|
|
306
287
|
if (pageSize !== undefined) {
|
|
307
288
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
308
289
|
}
|
|
@@ -324,11 +305,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
324
305
|
if (filters !== undefined) {
|
|
325
306
|
localVarQueryParameter['filters'] = filters;
|
|
326
307
|
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
330
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
331
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
308
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
332
310
|
}
|
|
333
311
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
334
312
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -353,10 +331,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
353
331
|
updateLayout: function (id, updateLayoutRequestDto, authorization, options) {
|
|
354
332
|
if (options === void 0) { options = {}; }
|
|
355
333
|
return __awaiter(_this, void 0, void 0, function () {
|
|
356
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
switch (_b.label) {
|
|
334
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
335
|
+
return __generator(this, function (_a) {
|
|
336
|
+
switch (_a.label) {
|
|
360
337
|
case 0:
|
|
361
338
|
// verify required parameter 'id' is not null or undefined
|
|
362
339
|
(0, common_1.assertParamExists)('updateLayout', 'id', id);
|
|
@@ -374,19 +351,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
374
351
|
localVarQueryParameter = {};
|
|
375
352
|
// authentication bearer required
|
|
376
353
|
// http bearer authentication required
|
|
377
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
378
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
379
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
380
|
-
];
|
|
354
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
381
355
|
case 1:
|
|
382
356
|
// authentication bearer required
|
|
383
357
|
// http bearer authentication required
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
388
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
389
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
358
|
+
_a.sent();
|
|
359
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
360
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
390
361
|
}
|
|
391
362
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
392
363
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -621,7 +592,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
621
592
|
*/
|
|
622
593
|
LayoutsApi.prototype.createLayout = function (requestParameters, options) {
|
|
623
594
|
var _this = this;
|
|
624
|
-
return (0, exports.LayoutsApiFp)(this.configuration).createLayout(requestParameters.createLayoutRequestDto, requestParameters.authorization,
|
|
595
|
+
return (0, exports.LayoutsApiFp)(this.configuration).createLayout(requestParameters.createLayoutRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
625
596
|
};
|
|
626
597
|
/**
|
|
627
598
|
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it. **Required Permissions** \"document-management.layouts.delete\"
|
|
@@ -633,7 +604,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
633
604
|
*/
|
|
634
605
|
LayoutsApi.prototype.deleteLayout = function (requestParameters, options) {
|
|
635
606
|
var _this = this;
|
|
636
|
-
return (0, exports.LayoutsApiFp)(this.configuration).deleteLayout(requestParameters.id, requestParameters.authorization,
|
|
607
|
+
return (0, exports.LayoutsApiFp)(this.configuration).deleteLayout(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
608
|
};
|
|
638
609
|
/**
|
|
639
610
|
* 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. **Required Permissions** \"document-management.layouts.view\"
|
|
@@ -645,7 +616,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
645
616
|
*/
|
|
646
617
|
LayoutsApi.prototype.getLayout = function (requestParameters, options) {
|
|
647
618
|
var _this = this;
|
|
648
|
-
return (0, exports.LayoutsApiFp)(this.configuration).getLayout(requestParameters.id, requestParameters.id2, requestParameters.authorization,
|
|
619
|
+
return (0, exports.LayoutsApiFp)(this.configuration).getLayout(requestParameters.id, requestParameters.id2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
649
620
|
};
|
|
650
621
|
/**
|
|
651
622
|
* 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. **Required Permissions** \"document-management.layouts.view\"
|
|
@@ -658,7 +629,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
658
629
|
LayoutsApi.prototype.listLayouts = function (requestParameters, options) {
|
|
659
630
|
var _this = this;
|
|
660
631
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
661
|
-
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
632
|
+
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
662
633
|
};
|
|
663
634
|
/**
|
|
664
635
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"document-management.layouts.update\"
|
|
@@ -670,7 +641,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
670
641
|
*/
|
|
671
642
|
LayoutsApi.prototype.updateLayout = function (requestParameters, options) {
|
|
672
643
|
var _this = this;
|
|
673
|
-
return (0, exports.LayoutsApiFp)(this.configuration).updateLayout(requestParameters.id, requestParameters.updateLayoutRequestDto, requestParameters.authorization,
|
|
644
|
+
return (0, exports.LayoutsApiFp)(this.configuration).updateLayout(requestParameters.id, requestParameters.updateLayoutRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
674
645
|
};
|
|
675
646
|
return LayoutsApi;
|
|
676
647
|
}(base_1.BaseAPI));
|