@emilgroup/document-sdk-node 1.49.1-beta.26 → 1.49.1-beta.27
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 +10 -20
- package/api/documents-api.ts +22 -44
- package/api/docx-templates-api.ts +12 -24
- package/api/layouts-api.ts +10 -20
- package/api/product-documents-api.ts +12 -24
- package/api/search-keywords-api.ts +2 -4
- package/api/searchable-document-owners-api.ts +2 -4
- package/api/searchable-documents-api.ts +2 -4
- package/common.ts +2 -3
- package/dist/api/document-templates-api.d.ts +5 -5
- package/dist/api/document-templates-api.js +18 -29
- package/dist/api/documents-api.d.ts +11 -11
- package/dist/api/documents-api.js +41 -68
- package/dist/api/docx-templates-api.d.ts +6 -6
- package/dist/api/docx-templates-api.js +23 -39
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/layouts-api.js +18 -29
- package/dist/api/product-documents-api.d.ts +6 -6
- package/dist/api/product-documents-api.js +21 -33
- package/dist/api/search-keywords-api.d.ts +1 -1
- package/dist/api/search-keywords-api.js +3 -4
- package/dist/api/searchable-document-owners-api.d.ts +1 -1
- package/dist/api/searchable-document-owners-api.js +3 -4
- package/dist/api/searchable-documents-api.d.ts +1 -1
- package/dist/api/searchable-documents-api.js +3 -4
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/package.json +2 -2
|
@@ -107,7 +107,7 @@ 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,
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -125,16 +125,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
125
125
|
localVarQueryParameter = {};
|
|
126
126
|
// authentication bearer required
|
|
127
127
|
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
129
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
130
|
-
];
|
|
128
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
131
129
|
case 1:
|
|
132
130
|
// authentication bearer required
|
|
133
131
|
// http bearer authentication required
|
|
134
132
|
_a.sent();
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
133
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
138
135
|
}
|
|
139
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
140
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -158,7 +155,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
158
155
|
downloadDocxTemplate: function (code, authorization, options) {
|
|
159
156
|
if (options === void 0) { options = {}; }
|
|
160
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
161
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
159
|
return __generator(this, function (_a) {
|
|
163
160
|
switch (_a.label) {
|
|
164
161
|
case 0:
|
|
@@ -176,16 +173,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
176
173
|
localVarQueryParameter = {};
|
|
177
174
|
// authentication bearer required
|
|
178
175
|
// http bearer authentication required
|
|
179
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
-
];
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
182
177
|
case 1:
|
|
183
178
|
// authentication bearer required
|
|
184
179
|
// http bearer authentication required
|
|
185
180
|
_a.sent();
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
181
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
189
183
|
}
|
|
190
184
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
191
185
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -209,7 +203,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
209
203
|
getDocxTemplate: function (code, authorization, options) {
|
|
210
204
|
if (options === void 0) { options = {}; }
|
|
211
205
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
206
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
213
207
|
return __generator(this, function (_a) {
|
|
214
208
|
switch (_a.label) {
|
|
215
209
|
case 0:
|
|
@@ -227,16 +221,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
227
221
|
localVarQueryParameter = {};
|
|
228
222
|
// authentication bearer required
|
|
229
223
|
// http bearer authentication required
|
|
230
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
232
|
-
];
|
|
224
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
233
225
|
case 1:
|
|
234
226
|
// authentication bearer required
|
|
235
227
|
// http bearer authentication required
|
|
236
228
|
_a.sent();
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
229
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
230
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
240
231
|
}
|
|
241
232
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
242
233
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -266,7 +257,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
266
257
|
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
267
258
|
if (options === void 0) { options = {}; }
|
|
268
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
269
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
260
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
261
|
return __generator(this, function (_a) {
|
|
271
262
|
switch (_a.label) {
|
|
272
263
|
case 0:
|
|
@@ -307,9 +298,8 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
307
298
|
if (filters !== undefined) {
|
|
308
299
|
localVarQueryParameter['filters'] = filters;
|
|
309
300
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
301
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
302
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
313
303
|
}
|
|
314
304
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
315
305
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -334,7 +324,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
334
324
|
updateDocxTemplate: function (code, sharedUpdateDocxTemplateRequestDto, authorization, options) {
|
|
335
325
|
if (options === void 0) { options = {}; }
|
|
336
326
|
return __awaiter(_this, void 0, void 0, function () {
|
|
337
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
327
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
328
|
return __generator(this, function (_a) {
|
|
339
329
|
switch (_a.label) {
|
|
340
330
|
case 0:
|
|
@@ -354,16 +344,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
354
344
|
localVarQueryParameter = {};
|
|
355
345
|
// authentication bearer required
|
|
356
346
|
// http bearer authentication required
|
|
357
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
358
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
359
|
-
];
|
|
347
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
360
348
|
case 1:
|
|
361
349
|
// authentication bearer required
|
|
362
350
|
// http bearer authentication required
|
|
363
351
|
_a.sent();
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
352
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
353
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
367
354
|
}
|
|
368
355
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
369
356
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -389,7 +376,7 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
389
376
|
uploadDocxTemplate: function (uploadDocxTemplateRequestDto, authorization, options) {
|
|
390
377
|
if (options === void 0) { options = {}; }
|
|
391
378
|
return __awaiter(_this, void 0, void 0, function () {
|
|
392
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
379
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
393
380
|
return __generator(this, function (_a) {
|
|
394
381
|
switch (_a.label) {
|
|
395
382
|
case 0:
|
|
@@ -406,16 +393,13 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
406
393
|
localVarQueryParameter = {};
|
|
407
394
|
// authentication bearer required
|
|
408
395
|
// http bearer authentication required
|
|
409
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
410
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
411
|
-
];
|
|
396
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
412
397
|
case 1:
|
|
413
398
|
// authentication bearer required
|
|
414
399
|
// http bearer authentication required
|
|
415
400
|
_a.sent();
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
401
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
402
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
419
403
|
}
|
|
420
404
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
421
405
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
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
|
}
|
|
@@ -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,7 +107,7 @@ 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,
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,16 +124,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
-
];
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
130
128
|
case 1:
|
|
131
129
|
// authentication bearer required
|
|
132
130
|
// http bearer authentication required
|
|
133
131
|
_a.sent();
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
137
134
|
}
|
|
138
135
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
139
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -159,7 +156,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
159
156
|
deleteLayout: function (id, authorization, options) {
|
|
160
157
|
if (options === void 0) { options = {}; }
|
|
161
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
162
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
163
160
|
return __generator(this, function (_a) {
|
|
164
161
|
switch (_a.label) {
|
|
165
162
|
case 0:
|
|
@@ -177,16 +174,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
177
174
|
localVarQueryParameter = {};
|
|
178
175
|
// authentication bearer required
|
|
179
176
|
// http bearer authentication required
|
|
180
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
-
];
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
183
178
|
case 1:
|
|
184
179
|
// authentication bearer required
|
|
185
180
|
// http bearer authentication required
|
|
186
181
|
_a.sent();
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
190
184
|
}
|
|
191
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
192
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -211,7 +205,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
211
205
|
getLayout: function (id, id2, authorization, options) {
|
|
212
206
|
if (options === void 0) { options = {}; }
|
|
213
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
214
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
208
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
209
|
return __generator(this, function (_a) {
|
|
216
210
|
switch (_a.label) {
|
|
217
211
|
case 0:
|
|
@@ -239,9 +233,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
239
233
|
if (id2 !== undefined) {
|
|
240
234
|
localVarQueryParameter['id'] = id2;
|
|
241
235
|
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
237
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
245
238
|
}
|
|
246
239
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
247
240
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -271,7 +264,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
271
264
|
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
272
265
|
if (options === void 0) { options = {}; }
|
|
273
266
|
return __awaiter(_this, void 0, void 0, function () {
|
|
274
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
267
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
275
268
|
return __generator(this, function (_a) {
|
|
276
269
|
switch (_a.label) {
|
|
277
270
|
case 0:
|
|
@@ -312,9 +305,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
312
305
|
if (filters !== undefined) {
|
|
313
306
|
localVarQueryParameter['filters'] = filters;
|
|
314
307
|
}
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
308
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
318
310
|
}
|
|
319
311
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
320
312
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -339,7 +331,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
339
331
|
updateLayout: function (id, updateLayoutRequestDto, authorization, options) {
|
|
340
332
|
if (options === void 0) { options = {}; }
|
|
341
333
|
return __awaiter(_this, void 0, void 0, function () {
|
|
342
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
334
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
343
335
|
return __generator(this, function (_a) {
|
|
344
336
|
switch (_a.label) {
|
|
345
337
|
case 0:
|
|
@@ -359,16 +351,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
359
351
|
localVarQueryParameter = {};
|
|
360
352
|
// authentication bearer required
|
|
361
353
|
// http bearer authentication required
|
|
362
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
363
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
364
|
-
];
|
|
354
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
365
355
|
case 1:
|
|
366
356
|
// authentication bearer required
|
|
367
357
|
// http bearer authentication required
|
|
368
358
|
_a.sent();
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
359
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
360
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
372
361
|
}
|
|
373
362
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
374
363
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -489,7 +489,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
489
489
|
* @throws {RequiredError}
|
|
490
490
|
* @memberof ProductDocumentsApi
|
|
491
491
|
*/
|
|
492
|
-
deleteProductDocument(requestParameters: ProductDocumentsApiDeleteProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}
|
|
492
|
+
deleteProductDocument(requestParameters: ProductDocumentsApiDeleteProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
493
493
|
/**
|
|
494
494
|
* Get a pre-signed download url for the given product document. **Required Permissions** \"document-management.documents.view\"
|
|
495
495
|
* @summary Get pre-signed url for downloading product document
|
|
@@ -498,7 +498,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
498
498
|
* @throws {RequiredError}
|
|
499
499
|
* @memberof ProductDocumentsApi
|
|
500
500
|
*/
|
|
501
|
-
downloadProductDocument(requestParameters: ProductDocumentsApiDownloadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any, {}
|
|
501
|
+
downloadProductDocument(requestParameters: ProductDocumentsApiDownloadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any, {}>>;
|
|
502
502
|
/**
|
|
503
503
|
* Get a product document. **Required Permissions** \"document-management.documents.view\"
|
|
504
504
|
* @summary Retrieve the product document
|
|
@@ -507,7 +507,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
507
507
|
* @throws {RequiredError}
|
|
508
508
|
* @memberof ProductDocumentsApi
|
|
509
509
|
*/
|
|
510
|
-
getProductDocument(requestParameters: ProductDocumentsApiGetProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentResponseClass, any, {}
|
|
510
|
+
getProductDocument(requestParameters: ProductDocumentsApiGetProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentResponseClass, any, {}>>;
|
|
511
511
|
/**
|
|
512
512
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
513
513
|
* @summary List product documents
|
|
@@ -516,7 +516,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
516
516
|
* @throws {RequiredError}
|
|
517
517
|
* @memberof ProductDocumentsApi
|
|
518
518
|
*/
|
|
519
|
-
listProductDocuments(requestParameters?: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}
|
|
519
|
+
listProductDocuments(requestParameters?: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}>>;
|
|
520
520
|
/**
|
|
521
521
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
522
522
|
* @summary List product documents
|
|
@@ -525,7 +525,7 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
525
525
|
* @throws {RequiredError}
|
|
526
526
|
* @memberof ProductDocumentsApi
|
|
527
527
|
*/
|
|
528
|
-
listProductDocumentsByProduct(requestParameters: ProductDocumentsApiListProductDocumentsByProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}
|
|
528
|
+
listProductDocumentsByProduct(requestParameters: ProductDocumentsApiListProductDocumentsByProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}>>;
|
|
529
529
|
/**
|
|
530
530
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
531
531
|
* @summary Create the product document
|
|
@@ -534,5 +534,5 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
534
534
|
* @throws {RequiredError}
|
|
535
535
|
* @memberof ProductDocumentsApi
|
|
536
536
|
*/
|
|
537
|
-
uploadProductDocument(requestParameters: ProductDocumentsApiUploadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}
|
|
537
|
+
uploadProductDocument(requestParameters: ProductDocumentsApiUploadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
|
|
538
538
|
}
|
|
@@ -108,7 +108,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
deleteProductDocument: function (code, productSlug, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
112
112
|
return __generator(this, function (_a) {
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
@@ -129,16 +129,13 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
129
129
|
localVarQueryParameter = {};
|
|
130
130
|
// authentication bearer required
|
|
131
131
|
// http bearer authentication required
|
|
132
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
133
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
134
|
-
];
|
|
132
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
135
133
|
case 1:
|
|
136
134
|
// authentication bearer required
|
|
137
135
|
// http bearer authentication required
|
|
138
136
|
_a.sent();
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
137
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
138
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
142
139
|
}
|
|
143
140
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
144
141
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -164,7 +161,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
164
161
|
downloadProductDocument: function (productSlug, code, authorization, contentDisposition, options) {
|
|
165
162
|
if (options === void 0) { options = {}; }
|
|
166
163
|
return __awaiter(_this, void 0, void 0, function () {
|
|
167
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
164
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
168
165
|
return __generator(this, function (_a) {
|
|
169
166
|
switch (_a.label) {
|
|
170
167
|
case 0:
|
|
@@ -193,9 +190,8 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
193
190
|
if (contentDisposition !== undefined) {
|
|
194
191
|
localVarQueryParameter['contentDisposition'] = contentDisposition;
|
|
195
192
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
193
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
194
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
199
195
|
}
|
|
200
196
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
201
197
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -220,7 +216,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
220
216
|
getProductDocument: function (productSlug, code, authorization, options) {
|
|
221
217
|
if (options === void 0) { options = {}; }
|
|
222
218
|
return __awaiter(_this, void 0, void 0, function () {
|
|
223
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
219
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
220
|
return __generator(this, function (_a) {
|
|
225
221
|
switch (_a.label) {
|
|
226
222
|
case 0:
|
|
@@ -241,16 +237,13 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
241
237
|
localVarQueryParameter = {};
|
|
242
238
|
// authentication bearer required
|
|
243
239
|
// http bearer authentication required
|
|
244
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
245
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
246
|
-
];
|
|
240
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
247
241
|
case 1:
|
|
248
242
|
// authentication bearer required
|
|
249
243
|
// http bearer authentication required
|
|
250
244
|
_a.sent();
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
245
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
254
247
|
}
|
|
255
248
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
256
249
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -280,7 +273,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
280
273
|
listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
281
274
|
if (options === void 0) { options = {}; }
|
|
282
275
|
return __awaiter(_this, void 0, void 0, function () {
|
|
283
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
276
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
284
277
|
return __generator(this, function (_a) {
|
|
285
278
|
switch (_a.label) {
|
|
286
279
|
case 0:
|
|
@@ -321,9 +314,8 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
321
314
|
if (filters !== undefined) {
|
|
322
315
|
localVarQueryParameter['filters'] = filters;
|
|
323
316
|
}
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
317
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
318
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
319
|
}
|
|
328
320
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
329
321
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -354,7 +346,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
354
346
|
listProductDocumentsByProduct: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
355
347
|
if (options === void 0) { options = {}; }
|
|
356
348
|
return __awaiter(_this, void 0, void 0, function () {
|
|
357
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
349
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
358
350
|
return __generator(this, function (_a) {
|
|
359
351
|
switch (_a.label) {
|
|
360
352
|
case 0:
|
|
@@ -398,9 +390,8 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
398
390
|
if (filters !== undefined) {
|
|
399
391
|
localVarQueryParameter['filters'] = filters;
|
|
400
392
|
}
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
393
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
394
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
404
395
|
}
|
|
405
396
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
406
397
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -425,7 +416,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
425
416
|
uploadProductDocument: function (productSlug, uploadProductDocumentRequestDto, authorization, options) {
|
|
426
417
|
if (options === void 0) { options = {}; }
|
|
427
418
|
return __awaiter(_this, void 0, void 0, function () {
|
|
428
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
419
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
429
420
|
return __generator(this, function (_a) {
|
|
430
421
|
switch (_a.label) {
|
|
431
422
|
case 0:
|
|
@@ -445,16 +436,13 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
445
436
|
localVarQueryParameter = {};
|
|
446
437
|
// authentication bearer required
|
|
447
438
|
// http bearer authentication required
|
|
448
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
449
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
450
|
-
];
|
|
439
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
451
440
|
case 1:
|
|
452
441
|
// authentication bearer required
|
|
453
442
|
// http bearer authentication required
|
|
454
443
|
_a.sent();
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
444
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
445
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
458
446
|
}
|
|
459
447
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
460
448
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -92,5 +92,5 @@ export declare class SearchKeywordsApi extends BaseAPI {
|
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
* @memberof SearchKeywordsApi
|
|
94
94
|
*/
|
|
95
|
-
listSearchKeywords(requestParameters: SearchKeywordsApiListSearchKeywordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchKeywordsResponseClass, any, {}
|
|
95
|
+
listSearchKeywords(requestParameters: SearchKeywordsApiListSearchKeywordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchKeywordsResponseClass, any, {}>>;
|
|
96
96
|
}
|
|
@@ -107,7 +107,7 @@ var SearchKeywordsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
listSearchKeywords: function (searchText, 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,
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -132,9 +132,8 @@ var SearchKeywordsApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
if (searchText !== undefined) {
|
|
133
133
|
localVarQueryParameter['searchText'] = searchText;
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
135
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
138
137
|
}
|
|
139
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
140
139
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -146,5 +146,5 @@ export declare class SearchableDocumentOwnersApi extends BaseAPI {
|
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
* @memberof SearchableDocumentOwnersApi
|
|
148
148
|
*/
|
|
149
|
-
listSearchableDocumentOwners(requestParameters?: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchableDocumentOwnersResponseClass, any, {}
|
|
149
|
+
listSearchableDocumentOwners(requestParameters?: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchableDocumentOwnersResponseClass, any, {}>>;
|
|
150
150
|
}
|