@emilgroup/document-sdk 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.
@@ -251,6 +251,83 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
251
251
  /**
252
252
  * 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.
253
253
  * @summary List product documents
254
+ * @param {string} productSlug
255
+ * @param {string} [authorization] Bearer Token
256
+ * @param {number} [pageSize] Page size
257
+ * @param {string} [pageToken] Page token
258
+ * @param {string} [filter] List filter
259
+ * @param {string} [search] Search query
260
+ * @param {string} [order] Ordering criteria
261
+ * @param {string} [expand] Extra fields to fetch
262
+ * @param {string} [filters] List filters
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
267
+ if (options === void 0) { options = {}; }
268
+ return __awaiter(_this, void 0, void 0, function () {
269
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
270
+ return __generator(this, function (_a) {
271
+ switch (_a.label) {
272
+ case 0:
273
+ // verify required parameter 'productSlug' is not null or undefined
274
+ (0, common_1.assertParamExists)('listProductDocuments', 'productSlug', productSlug);
275
+ localVarPath = "/documentservice/v1/documents/product/{productSlug}"
276
+ .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
277
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
278
+ if (configuration) {
279
+ baseOptions = configuration.baseOptions;
280
+ baseAccessToken = configuration.accessToken;
281
+ }
282
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
283
+ localVarHeaderParameter = {};
284
+ localVarQueryParameter = {};
285
+ // authentication bearer required
286
+ // http bearer authentication required
287
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
288
+ case 1:
289
+ // authentication bearer required
290
+ // http bearer authentication required
291
+ _a.sent();
292
+ if (pageSize !== undefined) {
293
+ localVarQueryParameter['pageSize'] = pageSize;
294
+ }
295
+ if (pageToken !== undefined) {
296
+ localVarQueryParameter['pageToken'] = pageToken;
297
+ }
298
+ if (filter !== undefined) {
299
+ localVarQueryParameter['filter'] = filter;
300
+ }
301
+ if (search !== undefined) {
302
+ localVarQueryParameter['search'] = search;
303
+ }
304
+ if (order !== undefined) {
305
+ localVarQueryParameter['order'] = order;
306
+ }
307
+ if (expand !== undefined) {
308
+ localVarQueryParameter['expand'] = expand;
309
+ }
310
+ if (filters !== undefined) {
311
+ localVarQueryParameter['filters'] = filters;
312
+ }
313
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
314
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
315
+ }
316
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
317
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
318
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
319
+ return [2 /*return*/, {
320
+ url: (0, common_1.toPathString)(localVarUrlObj),
321
+ options: localVarRequestOptions,
322
+ }];
323
+ }
324
+ });
325
+ });
326
+ },
327
+ /**
328
+ * 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.
329
+ * @summary List product documents
330
+ * @param {string} productSlug
254
331
  * @param {string} [authorization] Bearer Token
255
332
  * @param {number} [pageSize] Page size
256
333
  * @param {string} [pageToken] Page token
@@ -258,17 +335,21 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
258
335
  * @param {string} [search] Search query
259
336
  * @param {string} [order] Ordering criteria
260
337
  * @param {string} [expand] Extra fields to fetch
338
+ * @param {string} [filters] List filters
261
339
  * @param {*} [options] Override http request option.
262
340
  * @throws {RequiredError}
263
341
  */
264
- listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
342
+ listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
265
343
  if (options === void 0) { options = {}; }
266
344
  return __awaiter(_this, void 0, void 0, function () {
267
345
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
268
346
  return __generator(this, function (_a) {
269
347
  switch (_a.label) {
270
348
  case 0:
271
- localVarPath = "/documentservice/v1/documents/product";
349
+ // verify required parameter 'productSlug' is not null or undefined
350
+ (0, common_1.assertParamExists)('listProductDocuments_1', 'productSlug', productSlug);
351
+ localVarPath = "/documentservice/v1/documents/product"
352
+ .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
272
353
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
273
354
  if (configuration) {
274
355
  baseOptions = configuration.baseOptions;
@@ -302,6 +383,9 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
302
383
  if (expand !== undefined) {
303
384
  localVarQueryParameter['expand'] = expand;
304
385
  }
386
+ if (filters !== undefined) {
387
+ localVarQueryParameter['filters'] = filters;
388
+ }
305
389
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
306
390
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
307
391
  }
@@ -448,6 +532,7 @@ var ProductDocumentsApiFp = function (configuration) {
448
532
  /**
449
533
  * 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.
450
534
  * @summary List product documents
535
+ * @param {string} productSlug
451
536
  * @param {string} [authorization] Bearer Token
452
537
  * @param {number} [pageSize] Page size
453
538
  * @param {string} [pageToken] Page token
@@ -455,15 +540,44 @@ var ProductDocumentsApiFp = function (configuration) {
455
540
  * @param {string} [search] Search query
456
541
  * @param {string} [order] Ordering criteria
457
542
  * @param {string} [expand] Extra fields to fetch
543
+ * @param {string} [filters] List filters
458
544
  * @param {*} [options] Override http request option.
459
545
  * @throws {RequiredError}
460
546
  */
461
- listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
547
+ listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
462
548
  return __awaiter(this, void 0, void 0, function () {
463
549
  var localVarAxiosArgs;
464
550
  return __generator(this, function (_a) {
465
551
  switch (_a.label) {
466
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
552
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
553
+ case 1:
554
+ localVarAxiosArgs = _a.sent();
555
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
556
+ }
557
+ });
558
+ });
559
+ },
560
+ /**
561
+ * 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.
562
+ * @summary List product documents
563
+ * @param {string} productSlug
564
+ * @param {string} [authorization] Bearer Token
565
+ * @param {number} [pageSize] Page size
566
+ * @param {string} [pageToken] Page token
567
+ * @param {string} [filter] List filter
568
+ * @param {string} [search] Search query
569
+ * @param {string} [order] Ordering criteria
570
+ * @param {string} [expand] Extra fields to fetch
571
+ * @param {string} [filters] List filters
572
+ * @param {*} [options] Override http request option.
573
+ * @throws {RequiredError}
574
+ */
575
+ listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
576
+ return __awaiter(this, void 0, void 0, function () {
577
+ var localVarAxiosArgs;
578
+ return __generator(this, function (_a) {
579
+ switch (_a.label) {
580
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
467
581
  case 1:
468
582
  localVarAxiosArgs = _a.sent();
469
583
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -542,6 +656,7 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
542
656
  /**
543
657
  * 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.
544
658
  * @summary List product documents
659
+ * @param {string} productSlug
545
660
  * @param {string} [authorization] Bearer Token
546
661
  * @param {number} [pageSize] Page size
547
662
  * @param {string} [pageToken] Page token
@@ -549,11 +664,30 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
549
664
  * @param {string} [search] Search query
550
665
  * @param {string} [order] Ordering criteria
551
666
  * @param {string} [expand] Extra fields to fetch
667
+ * @param {string} [filters] List filters
552
668
  * @param {*} [options] Override http request option.
553
669
  * @throws {RequiredError}
554
670
  */
555
- listProductDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
556
- return localVarFp.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
671
+ listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
672
+ return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
673
+ },
674
+ /**
675
+ * 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.
676
+ * @summary List product documents
677
+ * @param {string} productSlug
678
+ * @param {string} [authorization] Bearer Token
679
+ * @param {number} [pageSize] Page size
680
+ * @param {string} [pageToken] Page token
681
+ * @param {string} [filter] List filter
682
+ * @param {string} [search] Search query
683
+ * @param {string} [order] Ordering criteria
684
+ * @param {string} [expand] Extra fields to fetch
685
+ * @param {string} [filters] List filters
686
+ * @param {*} [options] Override http request option.
687
+ * @throws {RequiredError}
688
+ */
689
+ listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
690
+ return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
557
691
  },
558
692
  /**
559
693
  * Upload a product document.
@@ -627,8 +761,19 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
627
761
  */
628
762
  ProductDocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
629
763
  var _this = this;
630
- if (requestParameters === void 0) { requestParameters = {}; }
631
- return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
764
+ 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); });
765
+ };
766
+ /**
767
+ * 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.
768
+ * @summary List product documents
769
+ * @param {ProductDocumentsApiListProductDocuments0Request} requestParameters Request parameters.
770
+ * @param {*} [options] Override http request option.
771
+ * @throws {RequiredError}
772
+ * @memberof ProductDocumentsApi
773
+ */
774
+ ProductDocumentsApi.prototype.listProductDocuments_1 = function (requestParameters, options) {
775
+ var _this = this;
776
+ 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); });
632
777
  };
633
778
  /**
634
779
  * 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
@@ -102,10 +102,11 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
102
102
  * @param {string} [search] Search query
103
103
  * @param {string} [order] Ordering criteria
104
104
  * @param {string} [expand] Extra fields to fetch
105
+ * @param {string} [filters] List filters
105
106
  * @param {*} [options] Override http request option.
106
107
  * @throws {RequiredError}
107
108
  */
108
- listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
109
+ listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
109
110
  if (options === void 0) { options = {}; }
110
111
  return __awaiter(_this, void 0, void 0, function () {
111
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -146,6 +147,9 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
146
147
  if (expand !== undefined) {
147
148
  localVarQueryParameter['expand'] = expand;
148
149
  }
150
+ if (filters !== undefined) {
151
+ localVarQueryParameter['filters'] = filters;
152
+ }
149
153
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
150
154
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
151
155
  }
@@ -180,15 +184,16 @@ var SearchableDocumentOwnersApiFp = function (configuration) {
180
184
  * @param {string} [search] Search query
181
185
  * @param {string} [order] Ordering criteria
182
186
  * @param {string} [expand] Extra fields to fetch
187
+ * @param {string} [filters] List filters
183
188
  * @param {*} [options] Override http request option.
184
189
  * @throws {RequiredError}
185
190
  */
186
- listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
191
+ listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
187
192
  return __awaiter(this, void 0, void 0, function () {
188
193
  var localVarAxiosArgs;
189
194
  return __generator(this, function (_a) {
190
195
  switch (_a.label) {
191
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options)];
196
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
192
197
  case 1:
193
198
  localVarAxiosArgs = _a.sent();
194
199
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -216,11 +221,12 @@ var SearchableDocumentOwnersApiFactory = function (configuration, basePath, axio
216
221
  * @param {string} [search] Search query
217
222
  * @param {string} [order] Ordering criteria
218
223
  * @param {string} [expand] Extra fields to fetch
224
+ * @param {string} [filters] List filters
219
225
  * @param {*} [options] Override http request option.
220
226
  * @throws {RequiredError}
221
227
  */
222
- listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
223
- return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
228
+ listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
229
+ return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
224
230
  },
225
231
  };
226
232
  };
@@ -247,7 +253,7 @@ var SearchableDocumentOwnersApi = /** @class */ (function (_super) {
247
253
  SearchableDocumentOwnersApi.prototype.listSearchableDocumentOwners = function (requestParameters, options) {
248
254
  var _this = this;
249
255
  if (requestParameters === void 0) { requestParameters = {}; }
250
- 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); });
256
+ 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); });
251
257
  };
252
258
  return SearchableDocumentOwnersApi;
253
259
  }(base_1.BaseAPI));
package/dist/base.js CHANGED
@@ -125,6 +125,7 @@ var BaseAPI = /** @class */ (function () {
125
125
  if (configuration) {
126
126
  this.configuration = configuration;
127
127
  this.basePath = configuration.basePath || this.basePath;
128
+ this.configuration.accessToken = this.tokenData.accessToken ? "Bearer ".concat(this.tokenData.accessToken) : '';
128
129
  }
129
130
  else {
130
131
  var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
@@ -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 they downloads it.
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]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse200
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse200
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse200
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: 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]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse503
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse503
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse503
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -51,4 +51,10 @@ export interface ListRequestDto {
51
51
  * @memberof ListRequestDto
52
52
  */
53
53
  'expand'?: string;
54
+ /**
55
+ * List filters
56
+ * @type {string}
57
+ * @memberof ListRequestDto
58
+ */
59
+ 'filters'?: string;
54
60
  }
@@ -76,7 +76,7 @@ export interface ProductDocumentClass {
76
76
  */
77
77
  'entityType': string;
78
78
  /**
79
- * Name of the file the end user will see when they downloads it.
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 they downloads it.
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]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse200
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse200
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse200
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: 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]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse503
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse503
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse503
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -56,5 +56,11 @@ export interface ListRequestDto {
56
56
  * @memberof ListRequestDto
57
57
  */
58
58
  'expand'?: string;
59
+ /**
60
+ * List filters
61
+ * @type {string}
62
+ * @memberof ListRequestDto
63
+ */
64
+ 'filters'?: string;
59
65
  }
60
66
 
@@ -81,7 +81,7 @@ export interface ProductDocumentClass {
81
81
  */
82
82
  'entityType': string;
83
83
  /**
84
- * Name of the file the end user will see when they downloads it.
84
+ * The file name the end user will see when downloading it.
85
85
  * @type {string}
86
86
  * @memberof ProductDocumentClass
87
87
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/document-sdk",
3
- "version": "1.16.0",
3
+ "version": "1.21.0",
4
4
  "description": "OpenAPI client for @emilgroup/document-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [