@emilgroup/document-sdk-node 1.16.0 → 1.21.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/README.md +2 -2
- package/api/documents-api.ts +20 -6
- package/api/docx-templates-api.ts +20 -6
- package/api/layouts-api.ts +20 -6
- package/api/product-documents-api.ts +234 -8
- package/api/searchable-document-owners-api.ts +20 -6
- package/dist/api/documents-api.d.ts +12 -3
- package/dist/api/documents-api.js +12 -6
- package/dist/api/docx-templates-api.d.ts +12 -3
- package/dist/api/docx-templates-api.js +12 -6
- package/dist/api/layouts-api.d.ts +12 -3
- package/dist/api/layouts-api.js +12 -6
- package/dist/api/product-documents-api.d.ts +140 -4
- package/dist/api/product-documents-api.js +153 -8
- package/dist/api/searchable-document-owners-api.d.ts +12 -3
- package/dist/api/searchable-document-owners-api.js +12 -6
- package/dist/models/docx-template-class.d.ts +1 -1
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/list-request-dto.d.ts +6 -0
- package/dist/models/product-document-class.d.ts +1 -1
- package/models/docx-template-class.ts +1 -1
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/list-request-dto.ts +6 -0
- package/models/product-document-class.ts +1 -1
- package/package.json +1 -1
|
@@ -255,6 +255,83 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
255
255
|
/**
|
|
256
256
|
* 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.
|
|
257
257
|
* @summary List product documents
|
|
258
|
+
* @param {string} productSlug
|
|
259
|
+
* @param {string} [authorization] Bearer Token
|
|
260
|
+
* @param {number} [pageSize] Page size
|
|
261
|
+
* @param {string} [pageToken] Page token
|
|
262
|
+
* @param {string} [filter] List filter
|
|
263
|
+
* @param {string} [search] Search query
|
|
264
|
+
* @param {string} [order] Ordering criteria
|
|
265
|
+
* @param {string} [expand] Extra fields to fetch
|
|
266
|
+
* @param {string} [filters] List filters
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
*/
|
|
270
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
271
|
+
if (options === void 0) { options = {}; }
|
|
272
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
273
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
274
|
+
return __generator(this, function (_a) {
|
|
275
|
+
switch (_a.label) {
|
|
276
|
+
case 0:
|
|
277
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
278
|
+
(0, common_1.assertParamExists)('listProductDocuments', 'productSlug', productSlug);
|
|
279
|
+
localVarPath = "/documentservice/v1/documents/product/{productSlug}"
|
|
280
|
+
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
281
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
282
|
+
if (configuration) {
|
|
283
|
+
baseOptions = configuration.baseOptions;
|
|
284
|
+
baseAccessToken = configuration.accessToken;
|
|
285
|
+
}
|
|
286
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
287
|
+
localVarHeaderParameter = {};
|
|
288
|
+
localVarQueryParameter = {};
|
|
289
|
+
// authentication bearer required
|
|
290
|
+
// http bearer authentication required
|
|
291
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
292
|
+
case 1:
|
|
293
|
+
// authentication bearer required
|
|
294
|
+
// http bearer authentication required
|
|
295
|
+
_a.sent();
|
|
296
|
+
if (pageSize !== undefined) {
|
|
297
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
298
|
+
}
|
|
299
|
+
if (pageToken !== undefined) {
|
|
300
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
301
|
+
}
|
|
302
|
+
if (filter !== undefined) {
|
|
303
|
+
localVarQueryParameter['filter'] = filter;
|
|
304
|
+
}
|
|
305
|
+
if (search !== undefined) {
|
|
306
|
+
localVarQueryParameter['search'] = search;
|
|
307
|
+
}
|
|
308
|
+
if (order !== undefined) {
|
|
309
|
+
localVarQueryParameter['order'] = order;
|
|
310
|
+
}
|
|
311
|
+
if (expand !== undefined) {
|
|
312
|
+
localVarQueryParameter['expand'] = expand;
|
|
313
|
+
}
|
|
314
|
+
if (filters !== undefined) {
|
|
315
|
+
localVarQueryParameter['filters'] = filters;
|
|
316
|
+
}
|
|
317
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
318
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
319
|
+
}
|
|
320
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
321
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
322
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
323
|
+
return [2 /*return*/, {
|
|
324
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
325
|
+
options: localVarRequestOptions,
|
|
326
|
+
}];
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
});
|
|
330
|
+
},
|
|
331
|
+
/**
|
|
332
|
+
* 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.
|
|
333
|
+
* @summary List product documents
|
|
334
|
+
* @param {string} productSlug
|
|
258
335
|
* @param {string} [authorization] Bearer Token
|
|
259
336
|
* @param {number} [pageSize] Page size
|
|
260
337
|
* @param {string} [pageToken] Page token
|
|
@@ -262,17 +339,21 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
262
339
|
* @param {string} [search] Search query
|
|
263
340
|
* @param {string} [order] Ordering criteria
|
|
264
341
|
* @param {string} [expand] Extra fields to fetch
|
|
342
|
+
* @param {string} [filters] List filters
|
|
265
343
|
* @param {*} [options] Override http request option.
|
|
266
344
|
* @throws {RequiredError}
|
|
267
345
|
*/
|
|
268
|
-
|
|
346
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
269
347
|
if (options === void 0) { options = {}; }
|
|
270
348
|
return __awaiter(_this, void 0, void 0, function () {
|
|
271
349
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
272
350
|
return __generator(this, function (_a) {
|
|
273
351
|
switch (_a.label) {
|
|
274
352
|
case 0:
|
|
275
|
-
|
|
353
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
354
|
+
(0, common_1.assertParamExists)('listProductDocuments_1', 'productSlug', productSlug);
|
|
355
|
+
localVarPath = "/documentservice/v1/documents/product"
|
|
356
|
+
.replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
|
|
276
357
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
277
358
|
if (configuration) {
|
|
278
359
|
baseOptions = configuration.baseOptions;
|
|
@@ -306,6 +387,9 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
306
387
|
if (expand !== undefined) {
|
|
307
388
|
localVarQueryParameter['expand'] = expand;
|
|
308
389
|
}
|
|
390
|
+
if (filters !== undefined) {
|
|
391
|
+
localVarQueryParameter['filters'] = filters;
|
|
392
|
+
}
|
|
309
393
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
310
394
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
311
395
|
}
|
|
@@ -452,6 +536,7 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
452
536
|
/**
|
|
453
537
|
* 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.
|
|
454
538
|
* @summary List product documents
|
|
539
|
+
* @param {string} productSlug
|
|
455
540
|
* @param {string} [authorization] Bearer Token
|
|
456
541
|
* @param {number} [pageSize] Page size
|
|
457
542
|
* @param {string} [pageToken] Page token
|
|
@@ -459,15 +544,44 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
459
544
|
* @param {string} [search] Search query
|
|
460
545
|
* @param {string} [order] Ordering criteria
|
|
461
546
|
* @param {string} [expand] Extra fields to fetch
|
|
547
|
+
* @param {string} [filters] List filters
|
|
462
548
|
* @param {*} [options] Override http request option.
|
|
463
549
|
* @throws {RequiredError}
|
|
464
550
|
*/
|
|
465
|
-
listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
551
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
466
552
|
return __awaiter(this, void 0, void 0, function () {
|
|
467
553
|
var localVarAxiosArgs;
|
|
468
554
|
return __generator(this, function (_a) {
|
|
469
555
|
switch (_a.label) {
|
|
470
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
556
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
557
|
+
case 1:
|
|
558
|
+
localVarAxiosArgs = _a.sent();
|
|
559
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
560
|
+
}
|
|
561
|
+
});
|
|
562
|
+
});
|
|
563
|
+
},
|
|
564
|
+
/**
|
|
565
|
+
* 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.
|
|
566
|
+
* @summary List product documents
|
|
567
|
+
* @param {string} productSlug
|
|
568
|
+
* @param {string} [authorization] Bearer Token
|
|
569
|
+
* @param {number} [pageSize] Page size
|
|
570
|
+
* @param {string} [pageToken] Page token
|
|
571
|
+
* @param {string} [filter] List filter
|
|
572
|
+
* @param {string} [search] Search query
|
|
573
|
+
* @param {string} [order] Ordering criteria
|
|
574
|
+
* @param {string} [expand] Extra fields to fetch
|
|
575
|
+
* @param {string} [filters] List filters
|
|
576
|
+
* @param {*} [options] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
580
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
581
|
+
var localVarAxiosArgs;
|
|
582
|
+
return __generator(this, function (_a) {
|
|
583
|
+
switch (_a.label) {
|
|
584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
471
585
|
case 1:
|
|
472
586
|
localVarAxiosArgs = _a.sent();
|
|
473
587
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -546,6 +660,7 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
546
660
|
/**
|
|
547
661
|
* 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.
|
|
548
662
|
* @summary List product documents
|
|
663
|
+
* @param {string} productSlug
|
|
549
664
|
* @param {string} [authorization] Bearer Token
|
|
550
665
|
* @param {number} [pageSize] Page size
|
|
551
666
|
* @param {string} [pageToken] Page token
|
|
@@ -553,11 +668,30 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
553
668
|
* @param {string} [search] Search query
|
|
554
669
|
* @param {string} [order] Ordering criteria
|
|
555
670
|
* @param {string} [expand] Extra fields to fetch
|
|
671
|
+
* @param {string} [filters] List filters
|
|
556
672
|
* @param {*} [options] Override http request option.
|
|
557
673
|
* @throws {RequiredError}
|
|
558
674
|
*/
|
|
559
|
-
listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
560
|
-
return localVarFp.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
675
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
676
|
+
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
677
|
+
},
|
|
678
|
+
/**
|
|
679
|
+
* 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.
|
|
680
|
+
* @summary List product documents
|
|
681
|
+
* @param {string} productSlug
|
|
682
|
+
* @param {string} [authorization] Bearer Token
|
|
683
|
+
* @param {number} [pageSize] Page size
|
|
684
|
+
* @param {string} [pageToken] Page token
|
|
685
|
+
* @param {string} [filter] List filter
|
|
686
|
+
* @param {string} [search] Search query
|
|
687
|
+
* @param {string} [order] Ordering criteria
|
|
688
|
+
* @param {string} [expand] Extra fields to fetch
|
|
689
|
+
* @param {string} [filters] List filters
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
694
|
+
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
561
695
|
},
|
|
562
696
|
/**
|
|
563
697
|
* Upload a product document.
|
|
@@ -631,8 +765,19 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
631
765
|
*/
|
|
632
766
|
ProductDocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
|
|
633
767
|
var _this = this;
|
|
634
|
-
|
|
635
|
-
|
|
768
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productSlug, 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); });
|
|
769
|
+
};
|
|
770
|
+
/**
|
|
771
|
+
* 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.
|
|
772
|
+
* @summary List product documents
|
|
773
|
+
* @param {ProductDocumentsApiListProductDocuments0Request} requestParameters Request parameters.
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
* @memberof ProductDocumentsApi
|
|
777
|
+
*/
|
|
778
|
+
ProductDocumentsApi.prototype.listProductDocuments_1 = function (requestParameters, options) {
|
|
779
|
+
var _this = this;
|
|
780
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments_1(requestParameters.productSlug, 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); });
|
|
636
781
|
};
|
|
637
782
|
/**
|
|
638
783
|
* Upload a product document.
|
|
@@ -28,10 +28,11 @@ export declare const SearchableDocumentOwnersApiAxiosParamCreator: (configuratio
|
|
|
28
28
|
* @param {string} [search] Search query
|
|
29
29
|
* @param {string} [order] Ordering criteria
|
|
30
30
|
* @param {string} [expand] Extra fields to fetch
|
|
31
|
+
* @param {string} [filters] List filters
|
|
31
32
|
* @param {*} [options] Override http request option.
|
|
32
33
|
* @throws {RequiredError}
|
|
33
34
|
*/
|
|
34
|
-
listSearchableDocumentOwners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
listSearchableDocumentOwners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
36
|
};
|
|
36
37
|
/**
|
|
37
38
|
* SearchableDocumentOwnersApi - functional programming interface
|
|
@@ -48,10 +49,11 @@ export declare const SearchableDocumentOwnersApiFp: (configuration?: Configurati
|
|
|
48
49
|
* @param {string} [search] Search query
|
|
49
50
|
* @param {string} [order] Ordering criteria
|
|
50
51
|
* @param {string} [expand] Extra fields to fetch
|
|
52
|
+
* @param {string} [filters] List filters
|
|
51
53
|
* @param {*} [options] Override http request option.
|
|
52
54
|
* @throws {RequiredError}
|
|
53
55
|
*/
|
|
54
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
|
|
56
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
|
|
55
57
|
};
|
|
56
58
|
/**
|
|
57
59
|
* SearchableDocumentOwnersApi - factory interface
|
|
@@ -68,10 +70,11 @@ export declare const SearchableDocumentOwnersApiFactory: (configuration?: Config
|
|
|
68
70
|
* @param {string} [search] Search query
|
|
69
71
|
* @param {string} [order] Ordering criteria
|
|
70
72
|
* @param {string} [expand] Extra fields to fetch
|
|
73
|
+
* @param {string} [filters] List filters
|
|
71
74
|
* @param {*} [options] Override http request option.
|
|
72
75
|
* @throws {RequiredError}
|
|
73
76
|
*/
|
|
74
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
|
|
77
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
|
|
75
78
|
};
|
|
76
79
|
/**
|
|
77
80
|
* Request parameters for listSearchableDocumentOwners operation in SearchableDocumentOwnersApi.
|
|
@@ -121,6 +124,12 @@ export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
|
|
|
121
124
|
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
122
125
|
*/
|
|
123
126
|
readonly expand?: string;
|
|
127
|
+
/**
|
|
128
|
+
* List filters
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
131
|
+
*/
|
|
132
|
+
readonly filters?: string;
|
|
124
133
|
}
|
|
125
134
|
/**
|
|
126
135
|
* SearchableDocumentOwnersApi - object-oriented interface
|
|
@@ -106,10 +106,11 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
* @param {string} [search] Search query
|
|
107
107
|
* @param {string} [order] Ordering criteria
|
|
108
108
|
* @param {string} [expand] Extra fields to fetch
|
|
109
|
+
* @param {string} [filters] List filters
|
|
109
110
|
* @param {*} [options] Override http request option.
|
|
110
111
|
* @throws {RequiredError}
|
|
111
112
|
*/
|
|
112
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
113
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
113
114
|
if (options === void 0) { options = {}; }
|
|
114
115
|
return __awaiter(_this, void 0, void 0, function () {
|
|
115
116
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -150,6 +151,9 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
150
151
|
if (expand !== undefined) {
|
|
151
152
|
localVarQueryParameter['expand'] = expand;
|
|
152
153
|
}
|
|
154
|
+
if (filters !== undefined) {
|
|
155
|
+
localVarQueryParameter['filters'] = filters;
|
|
156
|
+
}
|
|
153
157
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
154
158
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
155
159
|
}
|
|
@@ -184,15 +188,16 @@ var SearchableDocumentOwnersApiFp = function (configuration) {
|
|
|
184
188
|
* @param {string} [search] Search query
|
|
185
189
|
* @param {string} [order] Ordering criteria
|
|
186
190
|
* @param {string} [expand] Extra fields to fetch
|
|
191
|
+
* @param {string} [filters] List filters
|
|
187
192
|
* @param {*} [options] Override http request option.
|
|
188
193
|
* @throws {RequiredError}
|
|
189
194
|
*/
|
|
190
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
195
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
191
196
|
return __awaiter(this, void 0, void 0, function () {
|
|
192
197
|
var localVarAxiosArgs;
|
|
193
198
|
return __generator(this, function (_a) {
|
|
194
199
|
switch (_a.label) {
|
|
195
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
200
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
196
201
|
case 1:
|
|
197
202
|
localVarAxiosArgs = _a.sent();
|
|
198
203
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -220,11 +225,12 @@ var SearchableDocumentOwnersApiFactory = function (configuration, basePath, axio
|
|
|
220
225
|
* @param {string} [search] Search query
|
|
221
226
|
* @param {string} [order] Ordering criteria
|
|
222
227
|
* @param {string} [expand] Extra fields to fetch
|
|
228
|
+
* @param {string} [filters] List filters
|
|
223
229
|
* @param {*} [options] Override http request option.
|
|
224
230
|
* @throws {RequiredError}
|
|
225
231
|
*/
|
|
226
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
227
|
-
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
232
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
233
|
+
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
228
234
|
},
|
|
229
235
|
};
|
|
230
236
|
};
|
|
@@ -251,7 +257,7 @@ var SearchableDocumentOwnersApi = /** @class */ (function (_super) {
|
|
|
251
257
|
SearchableDocumentOwnersApi.prototype.listSearchableDocumentOwners = function (requestParameters, options) {
|
|
252
258
|
var _this = this;
|
|
253
259
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
254
|
-
return (0, exports.SearchableDocumentOwnersApiFp)(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
260
|
+
return (0, exports.SearchableDocumentOwnersApiFp)(this.configuration).listSearchableDocumentOwners(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); });
|
|
255
261
|
};
|
|
256
262
|
return SearchableDocumentOwnersApi;
|
|
257
263
|
}(base_1.BaseAPI));
|
|
@@ -64,7 +64,7 @@ export interface DocxTemplateClass {
|
|
|
64
64
|
*/
|
|
65
65
|
'entityType': string;
|
|
66
66
|
/**
|
|
67
|
-
* Name of the file the end user will see when
|
|
67
|
+
* Name of the file the end user will see when he downloads it.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof DocxTemplateClass
|
|
70
70
|
*/
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse200
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse200
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse200
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
|
|
|
23
23
|
'status'?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]: { [key: string]:
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
27
27
|
* @memberof InlineResponse503
|
|
28
28
|
*/
|
|
29
29
|
'info'?: {
|
|
30
30
|
[key: string]: {
|
|
31
|
-
[key: string]:
|
|
31
|
+
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
} | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]: { [key: string]:
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
37
37
|
* @memberof InlineResponse503
|
|
38
38
|
*/
|
|
39
39
|
'error'?: {
|
|
40
40
|
[key: string]: {
|
|
41
|
-
[key: string]:
|
|
41
|
+
[key: string]: object;
|
|
42
42
|
};
|
|
43
43
|
} | null;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {{ [key: string]: { [key: string]:
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
47
47
|
* @memberof InlineResponse503
|
|
48
48
|
*/
|
|
49
49
|
'details'?: {
|
|
50
50
|
[key: string]: {
|
|
51
|
-
[key: string]:
|
|
51
|
+
[key: string]: object;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -76,7 +76,7 @@ export interface ProductDocumentClass {
|
|
|
76
76
|
*/
|
|
77
77
|
'entityType': string;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* The file name the end user will see when downloading it.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof ProductDocumentClass
|
|
82
82
|
*/
|
|
@@ -69,7 +69,7 @@ export interface DocxTemplateClass {
|
|
|
69
69
|
*/
|
|
70
70
|
'entityType': string;
|
|
71
71
|
/**
|
|
72
|
-
* Name of the file the end user will see when
|
|
72
|
+
* Name of the file the end user will see when he downloads it.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof DocxTemplateClass
|
|
75
75
|
*/
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse200
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse200
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse200
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -81,7 +81,7 @@ export interface ProductDocumentClass {
|
|
|
81
81
|
*/
|
|
82
82
|
'entityType': string;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* The file name the end user will see when downloading it.
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof ProductDocumentClass
|
|
87
87
|
*/
|