@emilgroup/document-sdk-node 1.20.0 → 1.22.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 +40 -12
- 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 +24 -6
- package/dist/api/product-documents-api.js +24 -12
- package/dist/api/searchable-document-owners-api.d.ts +12 -3
- package/dist/api/searchable-document-owners-api.js +12 -6
- package/dist/models/create-document-request-dto.d.ts +1 -0
- package/dist/models/create-document-request-dto.js +2 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +1 -0
- package/dist/models/create-presigned-post-request-dto.js +2 -1
- package/dist/models/document-class.d.ts +7 -0
- package/dist/models/document-class.js +2 -1
- package/dist/models/list-request-dto.d.ts +6 -0
- package/models/create-document-request-dto.ts +2 -1
- package/models/create-presigned-post-request-dto.ts +2 -1
- package/models/document-class.ts +8 -1
- package/models/list-request-dto.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/document-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/document-sdk-node@1.22.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/document-sdk-node@1.22.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
package/api/documents-api.ts
CHANGED
|
@@ -290,10 +290,11 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
290
290
|
* @param {string} [search] Search query
|
|
291
291
|
* @param {string} [order] Ordering criteria
|
|
292
292
|
* @param {string} [expand] Extra fields to fetch
|
|
293
|
+
* @param {string} [filters] List filters
|
|
293
294
|
* @param {*} [options] Override http request option.
|
|
294
295
|
* @throws {RequiredError}
|
|
295
296
|
*/
|
|
296
|
-
listDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
297
|
+
listDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
297
298
|
const localVarPath = `/documentservice/v1/documents`;
|
|
298
299
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
299
300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -336,6 +337,10 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
336
337
|
localVarQueryParameter['expand'] = expand;
|
|
337
338
|
}
|
|
338
339
|
|
|
340
|
+
if (filters !== undefined) {
|
|
341
|
+
localVarQueryParameter['filters'] = filters;
|
|
342
|
+
}
|
|
343
|
+
|
|
339
344
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
340
345
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
341
346
|
}
|
|
@@ -482,11 +487,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
482
487
|
* @param {string} [search] Search query
|
|
483
488
|
* @param {string} [order] Ordering criteria
|
|
484
489
|
* @param {string} [expand] Extra fields to fetch
|
|
490
|
+
* @param {string} [filters] List filters
|
|
485
491
|
* @param {*} [options] Override http request option.
|
|
486
492
|
* @throws {RequiredError}
|
|
487
493
|
*/
|
|
488
|
-
async listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>> {
|
|
489
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
494
|
+
async listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>> {
|
|
495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
490
496
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
491
497
|
},
|
|
492
498
|
/**
|
|
@@ -577,11 +583,12 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
577
583
|
* @param {string} [search] Search query
|
|
578
584
|
* @param {string} [order] Ordering criteria
|
|
579
585
|
* @param {string} [expand] Extra fields to fetch
|
|
586
|
+
* @param {string} [filters] List filters
|
|
580
587
|
* @param {*} [options] Override http request option.
|
|
581
588
|
* @throws {RequiredError}
|
|
582
589
|
*/
|
|
583
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocumentsResponseClass> {
|
|
584
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
590
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocumentsResponseClass> {
|
|
591
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
585
592
|
},
|
|
586
593
|
/**
|
|
587
594
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -757,6 +764,13 @@ export interface DocumentsApiListDocumentsRequest {
|
|
|
757
764
|
* @memberof DocumentsApiListDocuments
|
|
758
765
|
*/
|
|
759
766
|
readonly expand?: string
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* List filters
|
|
770
|
+
* @type {string}
|
|
771
|
+
* @memberof DocumentsApiListDocuments
|
|
772
|
+
*/
|
|
773
|
+
readonly filters?: string
|
|
760
774
|
}
|
|
761
775
|
|
|
762
776
|
/**
|
|
@@ -863,7 +877,7 @@ export class DocumentsApi extends BaseAPI {
|
|
|
863
877
|
* @memberof DocumentsApi
|
|
864
878
|
*/
|
|
865
879
|
public listDocuments(requestParameters: DocumentsApiListDocumentsRequest = {}, options?: AxiosRequestConfig) {
|
|
866
|
-
return DocumentsApiFp(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
880
|
+
return DocumentsApiFp(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
867
881
|
}
|
|
868
882
|
|
|
869
883
|
/**
|
|
@@ -191,10 +191,11 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
191
191
|
* @param {string} [search] Search query
|
|
192
192
|
* @param {string} [order] Ordering criteria
|
|
193
193
|
* @param {string} [expand] Extra fields to fetch
|
|
194
|
+
* @param {string} [filters] List filters
|
|
194
195
|
* @param {*} [options] Override http request option.
|
|
195
196
|
* @throws {RequiredError}
|
|
196
197
|
*/
|
|
197
|
-
listDocxTemplates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
|
+
listDocxTemplates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
199
|
const localVarPath = `/documentservice/v1/docx-templates`;
|
|
199
200
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
201
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -237,6 +238,10 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
237
238
|
localVarQueryParameter['expand'] = expand;
|
|
238
239
|
}
|
|
239
240
|
|
|
241
|
+
if (filters !== undefined) {
|
|
242
|
+
localVarQueryParameter['filters'] = filters;
|
|
243
|
+
}
|
|
244
|
+
|
|
240
245
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
241
246
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
242
247
|
}
|
|
@@ -406,11 +411,12 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
406
411
|
* @param {string} [search] Search query
|
|
407
412
|
* @param {string} [order] Ordering criteria
|
|
408
413
|
* @param {string} [expand] Extra fields to fetch
|
|
414
|
+
* @param {string} [filters] List filters
|
|
409
415
|
* @param {*} [options] Override http request option.
|
|
410
416
|
* @throws {RequiredError}
|
|
411
417
|
*/
|
|
412
|
-
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>> {
|
|
413
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
418
|
+
async listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>> {
|
|
419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
414
420
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
415
421
|
},
|
|
416
422
|
/**
|
|
@@ -491,11 +497,12 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
491
497
|
* @param {string} [search] Search query
|
|
492
498
|
* @param {string} [order] Ordering criteria
|
|
493
499
|
* @param {string} [expand] Extra fields to fetch
|
|
500
|
+
* @param {string} [filters] List filters
|
|
494
501
|
* @param {*} [options] Override http request option.
|
|
495
502
|
* @throws {RequiredError}
|
|
496
503
|
*/
|
|
497
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
498
|
-
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
504
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
505
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
499
506
|
},
|
|
500
507
|
/**
|
|
501
508
|
* Updates a docx template metadata.
|
|
@@ -640,6 +647,13 @@ export interface DocxTemplatesApiListDocxTemplatesRequest {
|
|
|
640
647
|
* @memberof DocxTemplatesApiListDocxTemplates
|
|
641
648
|
*/
|
|
642
649
|
readonly expand?: string
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* List filters
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
655
|
+
*/
|
|
656
|
+
readonly filters?: string
|
|
643
657
|
}
|
|
644
658
|
|
|
645
659
|
/**
|
|
@@ -743,7 +757,7 @@ export class DocxTemplatesApi extends BaseAPI {
|
|
|
743
757
|
* @memberof DocxTemplatesApi
|
|
744
758
|
*/
|
|
745
759
|
public listDocxTemplates(requestParameters: DocxTemplatesApiListDocxTemplatesRequest = {}, options?: AxiosRequestConfig) {
|
|
746
|
-
return DocxTemplatesApiFp(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
760
|
+
return DocxTemplatesApiFp(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
747
761
|
}
|
|
748
762
|
|
|
749
763
|
/**
|
package/api/layouts-api.ts
CHANGED
|
@@ -198,10 +198,11 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
198
198
|
* @param {string} [search] Search query
|
|
199
199
|
* @param {string} [order] Ordering criteria
|
|
200
200
|
* @param {string} [expand] Extra fields to fetch
|
|
201
|
+
* @param {string} [filters] List filters
|
|
201
202
|
* @param {*} [options] Override http request option.
|
|
202
203
|
* @throws {RequiredError}
|
|
203
204
|
*/
|
|
204
|
-
listLayouts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
listLayouts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
206
|
const localVarPath = `/documentservice/v1/layouts`;
|
|
206
207
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
207
208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -244,6 +245,10 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
244
245
|
localVarQueryParameter['expand'] = expand;
|
|
245
246
|
}
|
|
246
247
|
|
|
248
|
+
if (filters !== undefined) {
|
|
249
|
+
localVarQueryParameter['filters'] = filters;
|
|
250
|
+
}
|
|
251
|
+
|
|
247
252
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
248
253
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
249
254
|
}
|
|
@@ -367,11 +372,12 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
367
372
|
* @param {string} [search] Search query
|
|
368
373
|
* @param {string} [order] Ordering criteria
|
|
369
374
|
* @param {string} [expand] Extra fields to fetch
|
|
375
|
+
* @param {string} [filters] List filters
|
|
370
376
|
* @param {*} [options] Override http request option.
|
|
371
377
|
* @throws {RequiredError}
|
|
372
378
|
*/
|
|
373
|
-
async listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>> {
|
|
374
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
379
|
+
async listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>> {
|
|
380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
375
381
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
382
|
},
|
|
377
383
|
/**
|
|
@@ -441,11 +447,12 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
441
447
|
* @param {string} [search] Search query
|
|
442
448
|
* @param {string} [order] Ordering criteria
|
|
443
449
|
* @param {string} [expand] Extra fields to fetch
|
|
450
|
+
* @param {string} [filters] List filters
|
|
444
451
|
* @param {*} [options] Override http request option.
|
|
445
452
|
* @throws {RequiredError}
|
|
446
453
|
*/
|
|
447
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListLayoutsResponseClass> {
|
|
448
|
-
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
454
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass> {
|
|
455
|
+
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
449
456
|
},
|
|
450
457
|
/**
|
|
451
458
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -586,6 +593,13 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
586
593
|
* @memberof LayoutsApiListLayouts
|
|
587
594
|
*/
|
|
588
595
|
readonly expand?: string
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* List filters
|
|
599
|
+
* @type {string}
|
|
600
|
+
* @memberof LayoutsApiListLayouts
|
|
601
|
+
*/
|
|
602
|
+
readonly filters?: string
|
|
589
603
|
}
|
|
590
604
|
|
|
591
605
|
/**
|
|
@@ -668,7 +682,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
668
682
|
* @memberof LayoutsApi
|
|
669
683
|
*/
|
|
670
684
|
public listLayouts(requestParameters: LayoutsApiListLayoutsRequest = {}, options?: AxiosRequestConfig) {
|
|
671
|
-
return LayoutsApiFp(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
685
|
+
return LayoutsApiFp(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
672
686
|
}
|
|
673
687
|
|
|
674
688
|
/**
|
|
@@ -198,10 +198,11 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
198
198
|
* @param {string} [search] Search query
|
|
199
199
|
* @param {string} [order] Ordering criteria
|
|
200
200
|
* @param {string} [expand] Extra fields to fetch
|
|
201
|
+
* @param {string} [filters] List filters
|
|
201
202
|
* @param {*} [options] Override http request option.
|
|
202
203
|
* @throws {RequiredError}
|
|
203
204
|
*/
|
|
204
|
-
listProductDocuments: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
listProductDocuments: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
206
|
// verify required parameter 'productSlug' is not null or undefined
|
|
206
207
|
assertParamExists('listProductDocuments', 'productSlug', productSlug)
|
|
207
208
|
const localVarPath = `/documentservice/v1/documents/product/{productSlug}`
|
|
@@ -247,6 +248,10 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
247
248
|
localVarQueryParameter['expand'] = expand;
|
|
248
249
|
}
|
|
249
250
|
|
|
251
|
+
if (filters !== undefined) {
|
|
252
|
+
localVarQueryParameter['filters'] = filters;
|
|
253
|
+
}
|
|
254
|
+
|
|
250
255
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
256
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
257
|
}
|
|
@@ -273,10 +278,11 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
273
278
|
* @param {string} [search] Search query
|
|
274
279
|
* @param {string} [order] Ordering criteria
|
|
275
280
|
* @param {string} [expand] Extra fields to fetch
|
|
281
|
+
* @param {string} [filters] List filters
|
|
276
282
|
* @param {*} [options] Override http request option.
|
|
277
283
|
* @throws {RequiredError}
|
|
278
284
|
*/
|
|
279
|
-
listProductDocuments_1: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
285
|
+
listProductDocuments_1: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
280
286
|
// verify required parameter 'productSlug' is not null or undefined
|
|
281
287
|
assertParamExists('listProductDocuments_1', 'productSlug', productSlug)
|
|
282
288
|
const localVarPath = `/documentservice/v1/documents/product`
|
|
@@ -322,6 +328,10 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
322
328
|
localVarQueryParameter['expand'] = expand;
|
|
323
329
|
}
|
|
324
330
|
|
|
331
|
+
if (filters !== undefined) {
|
|
332
|
+
localVarQueryParameter['filters'] = filters;
|
|
333
|
+
}
|
|
334
|
+
|
|
325
335
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
326
336
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
337
|
}
|
|
@@ -448,11 +458,12 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
448
458
|
* @param {string} [search] Search query
|
|
449
459
|
* @param {string} [order] Ordering criteria
|
|
450
460
|
* @param {string} [expand] Extra fields to fetch
|
|
461
|
+
* @param {string} [filters] List filters
|
|
451
462
|
* @param {*} [options] Override http request option.
|
|
452
463
|
* @throws {RequiredError}
|
|
453
464
|
*/
|
|
454
|
-
async listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
455
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
465
|
+
async listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
456
467
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
457
468
|
},
|
|
458
469
|
/**
|
|
@@ -466,11 +477,12 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
466
477
|
* @param {string} [search] Search query
|
|
467
478
|
* @param {string} [order] Ordering criteria
|
|
468
479
|
* @param {string} [expand] Extra fields to fetch
|
|
480
|
+
* @param {string} [filters] List filters
|
|
469
481
|
* @param {*} [options] Override http request option.
|
|
470
482
|
* @throws {RequiredError}
|
|
471
483
|
*/
|
|
472
|
-
async listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
473
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
484
|
+
async listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
474
486
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
475
487
|
},
|
|
476
488
|
/**
|
|
@@ -543,11 +555,12 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
543
555
|
* @param {string} [search] Search query
|
|
544
556
|
* @param {string} [order] Ordering criteria
|
|
545
557
|
* @param {string} [expand] Extra fields to fetch
|
|
558
|
+
* @param {string} [filters] List filters
|
|
546
559
|
* @param {*} [options] Override http request option.
|
|
547
560
|
* @throws {RequiredError}
|
|
548
561
|
*/
|
|
549
|
-
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
550
|
-
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
562
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
563
|
+
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
551
564
|
},
|
|
552
565
|
/**
|
|
553
566
|
* 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.
|
|
@@ -560,11 +573,12 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
560
573
|
* @param {string} [search] Search query
|
|
561
574
|
* @param {string} [order] Ordering criteria
|
|
562
575
|
* @param {string} [expand] Extra fields to fetch
|
|
576
|
+
* @param {string} [filters] List filters
|
|
563
577
|
* @param {*} [options] Override http request option.
|
|
564
578
|
* @throws {RequiredError}
|
|
565
579
|
*/
|
|
566
|
-
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
567
|
-
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
580
|
+
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
581
|
+
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
568
582
|
},
|
|
569
583
|
/**
|
|
570
584
|
* Upload a product document.
|
|
@@ -726,6 +740,13 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
726
740
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
727
741
|
*/
|
|
728
742
|
readonly expand?: string
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* List filters
|
|
746
|
+
* @type {string}
|
|
747
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
748
|
+
*/
|
|
749
|
+
readonly filters?: string
|
|
729
750
|
}
|
|
730
751
|
|
|
731
752
|
/**
|
|
@@ -789,6 +810,13 @@ export interface ProductDocumentsApiListProductDocuments0Request {
|
|
|
789
810
|
* @memberof ProductDocumentsApiListProductDocuments0
|
|
790
811
|
*/
|
|
791
812
|
readonly expand?: string
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* List filters
|
|
816
|
+
* @type {string}
|
|
817
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
818
|
+
*/
|
|
819
|
+
readonly filters?: string
|
|
792
820
|
}
|
|
793
821
|
|
|
794
822
|
/**
|
|
@@ -871,7 +899,7 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
871
899
|
* @memberof ProductDocumentsApi
|
|
872
900
|
*/
|
|
873
901
|
public listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig) {
|
|
874
|
-
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
902
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
875
903
|
}
|
|
876
904
|
|
|
877
905
|
/**
|
|
@@ -883,7 +911,7 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
883
911
|
* @memberof ProductDocumentsApi
|
|
884
912
|
*/
|
|
885
913
|
public listProductDocuments_1(requestParameters: ProductDocumentsApiListProductDocuments0Request, options?: AxiosRequestConfig) {
|
|
886
|
-
return ProductDocumentsApiFp(this.configuration).listProductDocuments_1(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
914
|
+
return 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((request) => request(this.axios, this.basePath));
|
|
887
915
|
}
|
|
888
916
|
|
|
889
917
|
/**
|
|
@@ -42,10 +42,11 @@ export const SearchableDocumentOwnersApiAxiosParamCreator = function (configurat
|
|
|
42
42
|
* @param {string} [search] Search query
|
|
43
43
|
* @param {string} [order] Ordering criteria
|
|
44
44
|
* @param {string} [expand] Extra fields to fetch
|
|
45
|
+
* @param {string} [filters] List filters
|
|
45
46
|
* @param {*} [options] Override http request option.
|
|
46
47
|
* @throws {RequiredError}
|
|
47
48
|
*/
|
|
48
|
-
listSearchableDocumentOwners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
listSearchableDocumentOwners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
50
|
const localVarPath = `/documentservice/v1/searchable-document-owners`;
|
|
50
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
52
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -88,6 +89,10 @@ export const SearchableDocumentOwnersApiAxiosParamCreator = function (configurat
|
|
|
88
89
|
localVarQueryParameter['expand'] = expand;
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
if (filters !== undefined) {
|
|
93
|
+
localVarQueryParameter['filters'] = filters;
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
92
97
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
93
98
|
}
|
|
@@ -123,11 +128,12 @@ export const SearchableDocumentOwnersApiFp = function(configuration?: Configurat
|
|
|
123
128
|
* @param {string} [search] Search query
|
|
124
129
|
* @param {string} [order] Ordering criteria
|
|
125
130
|
* @param {string} [expand] Extra fields to fetch
|
|
131
|
+
* @param {string} [filters] List filters
|
|
126
132
|
* @param {*} [options] Override http request option.
|
|
127
133
|
* @throws {RequiredError}
|
|
128
134
|
*/
|
|
129
|
-
async listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>> {
|
|
130
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
135
|
+
async 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>> {
|
|
136
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
131
137
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
132
138
|
},
|
|
133
139
|
}
|
|
@@ -150,11 +156,12 @@ export const SearchableDocumentOwnersApiFactory = function (configuration?: Conf
|
|
|
150
156
|
* @param {string} [search] Search query
|
|
151
157
|
* @param {string} [order] Ordering criteria
|
|
152
158
|
* @param {string} [expand] Extra fields to fetch
|
|
159
|
+
* @param {string} [filters] List filters
|
|
153
160
|
* @param {*} [options] Override http request option.
|
|
154
161
|
* @throws {RequiredError}
|
|
155
162
|
*/
|
|
156
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass> {
|
|
157
|
-
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
163
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass> {
|
|
164
|
+
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
158
165
|
},
|
|
159
166
|
};
|
|
160
167
|
};
|
|
@@ -213,6 +220,13 @@ export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
|
|
|
213
220
|
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
214
221
|
*/
|
|
215
222
|
readonly expand?: string
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* List filters
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
228
|
+
*/
|
|
229
|
+
readonly filters?: string
|
|
216
230
|
}
|
|
217
231
|
|
|
218
232
|
/**
|
|
@@ -231,6 +245,6 @@ export class SearchableDocumentOwnersApi extends BaseAPI {
|
|
|
231
245
|
* @memberof SearchableDocumentOwnersApi
|
|
232
246
|
*/
|
|
233
247
|
public listSearchableDocumentOwners(requestParameters: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest = {}, options?: AxiosRequestConfig) {
|
|
234
|
-
return SearchableDocumentOwnersApiFp(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
248
|
+
return SearchableDocumentOwnersApiFp(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
235
249
|
}
|
|
236
250
|
}
|
|
@@ -81,10 +81,11 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
81
81
|
* @param {string} [search] Search query
|
|
82
82
|
* @param {string} [order] Ordering criteria
|
|
83
83
|
* @param {string} [expand] Extra fields to fetch
|
|
84
|
+
* @param {string} [filters] List filters
|
|
84
85
|
* @param {*} [options] Override http request option.
|
|
85
86
|
* @throws {RequiredError}
|
|
86
87
|
*/
|
|
87
|
-
listDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
listDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
89
|
/**
|
|
89
90
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
90
91
|
* @summary Update the document
|
|
@@ -156,10 +157,11 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
156
157
|
* @param {string} [search] Search query
|
|
157
158
|
* @param {string} [order] Ordering criteria
|
|
158
159
|
* @param {string} [expand] Extra fields to fetch
|
|
160
|
+
* @param {string} [filters] List filters
|
|
159
161
|
* @param {*} [options] Override http request option.
|
|
160
162
|
* @throws {RequiredError}
|
|
161
163
|
*/
|
|
162
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
|
|
164
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
|
|
163
165
|
/**
|
|
164
166
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
165
167
|
* @summary Update the document
|
|
@@ -231,10 +233,11 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
231
233
|
* @param {string} [search] Search query
|
|
232
234
|
* @param {string} [order] Ordering criteria
|
|
233
235
|
* @param {string} [expand] Extra fields to fetch
|
|
236
|
+
* @param {string} [filters] List filters
|
|
234
237
|
* @param {*} [options] Override http request option.
|
|
235
238
|
* @throws {RequiredError}
|
|
236
239
|
*/
|
|
237
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
|
|
240
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
|
|
238
241
|
/**
|
|
239
242
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
240
243
|
* @summary Update the document
|
|
@@ -389,6 +392,12 @@ export interface DocumentsApiListDocumentsRequest {
|
|
|
389
392
|
* @memberof DocumentsApiListDocuments
|
|
390
393
|
*/
|
|
391
394
|
readonly expand?: string;
|
|
395
|
+
/**
|
|
396
|
+
* List filters
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof DocumentsApiListDocuments
|
|
399
|
+
*/
|
|
400
|
+
readonly filters?: string;
|
|
392
401
|
}
|
|
393
402
|
/**
|
|
394
403
|
* Request parameters for updateDocument operation in DocumentsApi.
|
|
@@ -350,10 +350,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
350
350
|
* @param {string} [search] Search query
|
|
351
351
|
* @param {string} [order] Ordering criteria
|
|
352
352
|
* @param {string} [expand] Extra fields to fetch
|
|
353
|
+
* @param {string} [filters] List filters
|
|
353
354
|
* @param {*} [options] Override http request option.
|
|
354
355
|
* @throws {RequiredError}
|
|
355
356
|
*/
|
|
356
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
357
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
357
358
|
if (options === void 0) { options = {}; }
|
|
358
359
|
return __awaiter(_this, void 0, void 0, function () {
|
|
359
360
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -394,6 +395,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
394
395
|
if (expand !== undefined) {
|
|
395
396
|
localVarQueryParameter['expand'] = expand;
|
|
396
397
|
}
|
|
398
|
+
if (filters !== undefined) {
|
|
399
|
+
localVarQueryParameter['filters'] = filters;
|
|
400
|
+
}
|
|
397
401
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
398
402
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
399
403
|
}
|
|
@@ -586,15 +590,16 @@ var DocumentsApiFp = function (configuration) {
|
|
|
586
590
|
* @param {string} [search] Search query
|
|
587
591
|
* @param {string} [order] Ordering criteria
|
|
588
592
|
* @param {string} [expand] Extra fields to fetch
|
|
593
|
+
* @param {string} [filters] List filters
|
|
589
594
|
* @param {*} [options] Override http request option.
|
|
590
595
|
* @throws {RequiredError}
|
|
591
596
|
*/
|
|
592
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
597
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
593
598
|
return __awaiter(this, void 0, void 0, function () {
|
|
594
599
|
var localVarAxiosArgs;
|
|
595
600
|
return __generator(this, function (_a) {
|
|
596
601
|
switch (_a.label) {
|
|
597
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
602
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
598
603
|
case 1:
|
|
599
604
|
localVarAxiosArgs = _a.sent();
|
|
600
605
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -699,11 +704,12 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
699
704
|
* @param {string} [search] Search query
|
|
700
705
|
* @param {string} [order] Ordering criteria
|
|
701
706
|
* @param {string} [expand] Extra fields to fetch
|
|
707
|
+
* @param {string} [filters] List filters
|
|
702
708
|
* @param {*} [options] Override http request option.
|
|
703
709
|
* @throws {RequiredError}
|
|
704
710
|
*/
|
|
705
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
706
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
711
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
712
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
707
713
|
},
|
|
708
714
|
/**
|
|
709
715
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -802,7 +808,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
802
808
|
DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
|
|
803
809
|
var _this = this;
|
|
804
810
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
805
|
-
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
811
|
+
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(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); });
|
|
806
812
|
};
|
|
807
813
|
/**
|
|
808
814
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|