@emilgroup/document-sdk 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@1.
|
|
20
|
+
npm install @emilgroup/document-sdk@1.22.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk@1.
|
|
24
|
+
yarn add @emilgroup/document-sdk@1.22.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
package/api/documents-api.ts
CHANGED
|
@@ -286,10 +286,11 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
286
286
|
* @param {string} [search] Search query
|
|
287
287
|
* @param {string} [order] Ordering criteria
|
|
288
288
|
* @param {string} [expand] Extra fields to fetch
|
|
289
|
+
* @param {string} [filters] List filters
|
|
289
290
|
* @param {*} [options] Override http request option.
|
|
290
291
|
* @throws {RequiredError}
|
|
291
292
|
*/
|
|
292
|
-
listDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
293
|
+
listDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
293
294
|
const localVarPath = `/documentservice/v1/documents`;
|
|
294
295
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
295
296
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -332,6 +333,10 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
332
333
|
localVarQueryParameter['expand'] = expand;
|
|
333
334
|
}
|
|
334
335
|
|
|
336
|
+
if (filters !== undefined) {
|
|
337
|
+
localVarQueryParameter['filters'] = filters;
|
|
338
|
+
}
|
|
339
|
+
|
|
335
340
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
336
341
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
337
342
|
}
|
|
@@ -478,11 +483,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
478
483
|
* @param {string} [search] Search query
|
|
479
484
|
* @param {string} [order] Ordering criteria
|
|
480
485
|
* @param {string} [expand] Extra fields to fetch
|
|
486
|
+
* @param {string} [filters] List filters
|
|
481
487
|
* @param {*} [options] Override http request option.
|
|
482
488
|
* @throws {RequiredError}
|
|
483
489
|
*/
|
|
484
|
-
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>> {
|
|
485
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
490
|
+
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>> {
|
|
491
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
486
492
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
487
493
|
},
|
|
488
494
|
/**
|
|
@@ -573,11 +579,12 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
573
579
|
* @param {string} [search] Search query
|
|
574
580
|
* @param {string} [order] Ordering criteria
|
|
575
581
|
* @param {string} [expand] Extra fields to fetch
|
|
582
|
+
* @param {string} [filters] List filters
|
|
576
583
|
* @param {*} [options] Override http request option.
|
|
577
584
|
* @throws {RequiredError}
|
|
578
585
|
*/
|
|
579
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocumentsResponseClass> {
|
|
580
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
586
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocumentsResponseClass> {
|
|
587
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
581
588
|
},
|
|
582
589
|
/**
|
|
583
590
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -753,6 +760,13 @@ export interface DocumentsApiListDocumentsRequest {
|
|
|
753
760
|
* @memberof DocumentsApiListDocuments
|
|
754
761
|
*/
|
|
755
762
|
readonly expand?: string
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* List filters
|
|
766
|
+
* @type {string}
|
|
767
|
+
* @memberof DocumentsApiListDocuments
|
|
768
|
+
*/
|
|
769
|
+
readonly filters?: string
|
|
756
770
|
}
|
|
757
771
|
|
|
758
772
|
/**
|
|
@@ -859,7 +873,7 @@ export class DocumentsApi extends BaseAPI {
|
|
|
859
873
|
* @memberof DocumentsApi
|
|
860
874
|
*/
|
|
861
875
|
public listDocuments(requestParameters: DocumentsApiListDocumentsRequest = {}, options?: AxiosRequestConfig) {
|
|
862
|
-
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));
|
|
876
|
+
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));
|
|
863
877
|
}
|
|
864
878
|
|
|
865
879
|
/**
|
|
@@ -187,10 +187,11 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
187
187
|
* @param {string} [search] Search query
|
|
188
188
|
* @param {string} [order] Ordering criteria
|
|
189
189
|
* @param {string} [expand] Extra fields to fetch
|
|
190
|
+
* @param {string} [filters] List filters
|
|
190
191
|
* @param {*} [options] Override http request option.
|
|
191
192
|
* @throws {RequiredError}
|
|
192
193
|
*/
|
|
193
|
-
listDocxTemplates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
|
+
listDocxTemplates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
195
|
const localVarPath = `/documentservice/v1/docx-templates`;
|
|
195
196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
196
197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -233,6 +234,10 @@ export const DocxTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
233
234
|
localVarQueryParameter['expand'] = expand;
|
|
234
235
|
}
|
|
235
236
|
|
|
237
|
+
if (filters !== undefined) {
|
|
238
|
+
localVarQueryParameter['filters'] = filters;
|
|
239
|
+
}
|
|
240
|
+
|
|
236
241
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
237
242
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
238
243
|
}
|
|
@@ -402,11 +407,12 @@ export const DocxTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
402
407
|
* @param {string} [search] Search query
|
|
403
408
|
* @param {string} [order] Ordering criteria
|
|
404
409
|
* @param {string} [expand] Extra fields to fetch
|
|
410
|
+
* @param {string} [filters] List filters
|
|
405
411
|
* @param {*} [options] Override http request option.
|
|
406
412
|
* @throws {RequiredError}
|
|
407
413
|
*/
|
|
408
|
-
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>> {
|
|
409
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
414
|
+
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>> {
|
|
415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
410
416
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
411
417
|
},
|
|
412
418
|
/**
|
|
@@ -487,11 +493,12 @@ export const DocxTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
487
493
|
* @param {string} [search] Search query
|
|
488
494
|
* @param {string} [order] Ordering criteria
|
|
489
495
|
* @param {string} [expand] Extra fields to fetch
|
|
496
|
+
* @param {string} [filters] List filters
|
|
490
497
|
* @param {*} [options] Override http request option.
|
|
491
498
|
* @throws {RequiredError}
|
|
492
499
|
*/
|
|
493
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
494
|
-
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
500
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass> {
|
|
501
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
495
502
|
},
|
|
496
503
|
/**
|
|
497
504
|
* Updates a docx template metadata.
|
|
@@ -636,6 +643,13 @@ export interface DocxTemplatesApiListDocxTemplatesRequest {
|
|
|
636
643
|
* @memberof DocxTemplatesApiListDocxTemplates
|
|
637
644
|
*/
|
|
638
645
|
readonly expand?: string
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* List filters
|
|
649
|
+
* @type {string}
|
|
650
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
651
|
+
*/
|
|
652
|
+
readonly filters?: string
|
|
639
653
|
}
|
|
640
654
|
|
|
641
655
|
/**
|
|
@@ -739,7 +753,7 @@ export class DocxTemplatesApi extends BaseAPI {
|
|
|
739
753
|
* @memberof DocxTemplatesApi
|
|
740
754
|
*/
|
|
741
755
|
public listDocxTemplates(requestParameters: DocxTemplatesApiListDocxTemplatesRequest = {}, options?: AxiosRequestConfig) {
|
|
742
|
-
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));
|
|
756
|
+
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));
|
|
743
757
|
}
|
|
744
758
|
|
|
745
759
|
/**
|
package/api/layouts-api.ts
CHANGED
|
@@ -194,10 +194,11 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
194
194
|
* @param {string} [search] Search query
|
|
195
195
|
* @param {string} [order] Ordering criteria
|
|
196
196
|
* @param {string} [expand] Extra fields to fetch
|
|
197
|
+
* @param {string} [filters] List filters
|
|
197
198
|
* @param {*} [options] Override http request option.
|
|
198
199
|
* @throws {RequiredError}
|
|
199
200
|
*/
|
|
200
|
-
listLayouts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
|
+
listLayouts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
202
|
const localVarPath = `/documentservice/v1/layouts`;
|
|
202
203
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
203
204
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -240,6 +241,10 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
240
241
|
localVarQueryParameter['expand'] = expand;
|
|
241
242
|
}
|
|
242
243
|
|
|
244
|
+
if (filters !== undefined) {
|
|
245
|
+
localVarQueryParameter['filters'] = filters;
|
|
246
|
+
}
|
|
247
|
+
|
|
243
248
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
244
249
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
245
250
|
}
|
|
@@ -363,11 +368,12 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
363
368
|
* @param {string} [search] Search query
|
|
364
369
|
* @param {string} [order] Ordering criteria
|
|
365
370
|
* @param {string} [expand] Extra fields to fetch
|
|
371
|
+
* @param {string} [filters] List filters
|
|
366
372
|
* @param {*} [options] Override http request option.
|
|
367
373
|
* @throws {RequiredError}
|
|
368
374
|
*/
|
|
369
|
-
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>> {
|
|
370
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
375
|
+
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>> {
|
|
376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
371
377
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
372
378
|
},
|
|
373
379
|
/**
|
|
@@ -437,11 +443,12 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
437
443
|
* @param {string} [search] Search query
|
|
438
444
|
* @param {string} [order] Ordering criteria
|
|
439
445
|
* @param {string} [expand] Extra fields to fetch
|
|
446
|
+
* @param {string} [filters] List filters
|
|
440
447
|
* @param {*} [options] Override http request option.
|
|
441
448
|
* @throws {RequiredError}
|
|
442
449
|
*/
|
|
443
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListLayoutsResponseClass> {
|
|
444
|
-
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
450
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass> {
|
|
451
|
+
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
445
452
|
},
|
|
446
453
|
/**
|
|
447
454
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -582,6 +589,13 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
582
589
|
* @memberof LayoutsApiListLayouts
|
|
583
590
|
*/
|
|
584
591
|
readonly expand?: string
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* List filters
|
|
595
|
+
* @type {string}
|
|
596
|
+
* @memberof LayoutsApiListLayouts
|
|
597
|
+
*/
|
|
598
|
+
readonly filters?: string
|
|
585
599
|
}
|
|
586
600
|
|
|
587
601
|
/**
|
|
@@ -664,7 +678,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
664
678
|
* @memberof LayoutsApi
|
|
665
679
|
*/
|
|
666
680
|
public listLayouts(requestParameters: LayoutsApiListLayoutsRequest = {}, options?: AxiosRequestConfig) {
|
|
667
|
-
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));
|
|
681
|
+
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));
|
|
668
682
|
}
|
|
669
683
|
|
|
670
684
|
/**
|
|
@@ -194,10 +194,11 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
194
194
|
* @param {string} [search] Search query
|
|
195
195
|
* @param {string} [order] Ordering criteria
|
|
196
196
|
* @param {string} [expand] Extra fields to fetch
|
|
197
|
+
* @param {string} [filters] List filters
|
|
197
198
|
* @param {*} [options] Override http request option.
|
|
198
199
|
* @throws {RequiredError}
|
|
199
200
|
*/
|
|
200
|
-
listProductDocuments: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
|
+
listProductDocuments: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
202
|
// verify required parameter 'productSlug' is not null or undefined
|
|
202
203
|
assertParamExists('listProductDocuments', 'productSlug', productSlug)
|
|
203
204
|
const localVarPath = `/documentservice/v1/documents/product/{productSlug}`
|
|
@@ -243,6 +244,10 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
243
244
|
localVarQueryParameter['expand'] = expand;
|
|
244
245
|
}
|
|
245
246
|
|
|
247
|
+
if (filters !== undefined) {
|
|
248
|
+
localVarQueryParameter['filters'] = filters;
|
|
249
|
+
}
|
|
250
|
+
|
|
246
251
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
247
252
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
248
253
|
}
|
|
@@ -269,10 +274,11 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
269
274
|
* @param {string} [search] Search query
|
|
270
275
|
* @param {string} [order] Ordering criteria
|
|
271
276
|
* @param {string} [expand] Extra fields to fetch
|
|
277
|
+
* @param {string} [filters] List filters
|
|
272
278
|
* @param {*} [options] Override http request option.
|
|
273
279
|
* @throws {RequiredError}
|
|
274
280
|
*/
|
|
275
|
-
listProductDocuments_1: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
281
|
+
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> => {
|
|
276
282
|
// verify required parameter 'productSlug' is not null or undefined
|
|
277
283
|
assertParamExists('listProductDocuments_1', 'productSlug', productSlug)
|
|
278
284
|
const localVarPath = `/documentservice/v1/documents/product`
|
|
@@ -318,6 +324,10 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
318
324
|
localVarQueryParameter['expand'] = expand;
|
|
319
325
|
}
|
|
320
326
|
|
|
327
|
+
if (filters !== undefined) {
|
|
328
|
+
localVarQueryParameter['filters'] = filters;
|
|
329
|
+
}
|
|
330
|
+
|
|
321
331
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
322
332
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
323
333
|
}
|
|
@@ -444,11 +454,12 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
444
454
|
* @param {string} [search] Search query
|
|
445
455
|
* @param {string} [order] Ordering criteria
|
|
446
456
|
* @param {string} [expand] Extra fields to fetch
|
|
457
|
+
* @param {string} [filters] List filters
|
|
447
458
|
* @param {*} [options] Override http request option.
|
|
448
459
|
* @throws {RequiredError}
|
|
449
460
|
*/
|
|
450
|
-
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>> {
|
|
451
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
461
|
+
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>> {
|
|
462
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
452
463
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
453
464
|
},
|
|
454
465
|
/**
|
|
@@ -462,11 +473,12 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
462
473
|
* @param {string} [search] Search query
|
|
463
474
|
* @param {string} [order] Ordering criteria
|
|
464
475
|
* @param {string} [expand] Extra fields to fetch
|
|
476
|
+
* @param {string} [filters] List filters
|
|
465
477
|
* @param {*} [options] Override http request option.
|
|
466
478
|
* @throws {RequiredError}
|
|
467
479
|
*/
|
|
468
|
-
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>> {
|
|
469
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
480
|
+
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>> {
|
|
481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
470
482
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
471
483
|
},
|
|
472
484
|
/**
|
|
@@ -539,11 +551,12 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
539
551
|
* @param {string} [search] Search query
|
|
540
552
|
* @param {string} [order] Ordering criteria
|
|
541
553
|
* @param {string} [expand] Extra fields to fetch
|
|
554
|
+
* @param {string} [filters] List filters
|
|
542
555
|
* @param {*} [options] Override http request option.
|
|
543
556
|
* @throws {RequiredError}
|
|
544
557
|
*/
|
|
545
|
-
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
546
|
-
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
558
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
559
|
+
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
547
560
|
},
|
|
548
561
|
/**
|
|
549
562
|
* 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.
|
|
@@ -556,11 +569,12 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
556
569
|
* @param {string} [search] Search query
|
|
557
570
|
* @param {string} [order] Ordering criteria
|
|
558
571
|
* @param {string} [expand] Extra fields to fetch
|
|
572
|
+
* @param {string} [filters] List filters
|
|
559
573
|
* @param {*} [options] Override http request option.
|
|
560
574
|
* @throws {RequiredError}
|
|
561
575
|
*/
|
|
562
|
-
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
563
|
-
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
576
|
+
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
577
|
+
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
564
578
|
},
|
|
565
579
|
/**
|
|
566
580
|
* Upload a product document.
|
|
@@ -722,6 +736,13 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
722
736
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
723
737
|
*/
|
|
724
738
|
readonly expand?: string
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* List filters
|
|
742
|
+
* @type {string}
|
|
743
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
744
|
+
*/
|
|
745
|
+
readonly filters?: string
|
|
725
746
|
}
|
|
726
747
|
|
|
727
748
|
/**
|
|
@@ -785,6 +806,13 @@ export interface ProductDocumentsApiListProductDocuments0Request {
|
|
|
785
806
|
* @memberof ProductDocumentsApiListProductDocuments0
|
|
786
807
|
*/
|
|
787
808
|
readonly expand?: string
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* List filters
|
|
812
|
+
* @type {string}
|
|
813
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
814
|
+
*/
|
|
815
|
+
readonly filters?: string
|
|
788
816
|
}
|
|
789
817
|
|
|
790
818
|
/**
|
|
@@ -867,7 +895,7 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
867
895
|
* @memberof ProductDocumentsApi
|
|
868
896
|
*/
|
|
869
897
|
public listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig) {
|
|
870
|
-
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));
|
|
898
|
+
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));
|
|
871
899
|
}
|
|
872
900
|
|
|
873
901
|
/**
|
|
@@ -879,7 +907,7 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
879
907
|
* @memberof ProductDocumentsApi
|
|
880
908
|
*/
|
|
881
909
|
public listProductDocuments_1(requestParameters: ProductDocumentsApiListProductDocuments0Request, options?: AxiosRequestConfig) {
|
|
882
|
-
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));
|
|
910
|
+
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));
|
|
883
911
|
}
|
|
884
912
|
|
|
885
913
|
/**
|
|
@@ -38,10 +38,11 @@ export const SearchableDocumentOwnersApiAxiosParamCreator = function (configurat
|
|
|
38
38
|
* @param {string} [search] Search query
|
|
39
39
|
* @param {string} [order] Ordering criteria
|
|
40
40
|
* @param {string} [expand] Extra fields to fetch
|
|
41
|
+
* @param {string} [filters] List filters
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
listSearchableDocumentOwners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
listSearchableDocumentOwners: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
46
|
const localVarPath = `/documentservice/v1/searchable-document-owners`;
|
|
46
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
48
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -84,6 +85,10 @@ export const SearchableDocumentOwnersApiAxiosParamCreator = function (configurat
|
|
|
84
85
|
localVarQueryParameter['expand'] = expand;
|
|
85
86
|
}
|
|
86
87
|
|
|
88
|
+
if (filters !== undefined) {
|
|
89
|
+
localVarQueryParameter['filters'] = filters;
|
|
90
|
+
}
|
|
91
|
+
|
|
87
92
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
88
93
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
89
94
|
}
|
|
@@ -119,11 +124,12 @@ export const SearchableDocumentOwnersApiFp = function(configuration?: Configurat
|
|
|
119
124
|
* @param {string} [search] Search query
|
|
120
125
|
* @param {string} [order] Ordering criteria
|
|
121
126
|
* @param {string} [expand] Extra fields to fetch
|
|
127
|
+
* @param {string} [filters] List filters
|
|
122
128
|
* @param {*} [options] Override http request option.
|
|
123
129
|
* @throws {RequiredError}
|
|
124
130
|
*/
|
|
125
|
-
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>> {
|
|
126
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
131
|
+
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>> {
|
|
132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
127
133
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
128
134
|
},
|
|
129
135
|
}
|
|
@@ -146,11 +152,12 @@ export const SearchableDocumentOwnersApiFactory = function (configuration?: Conf
|
|
|
146
152
|
* @param {string} [search] Search query
|
|
147
153
|
* @param {string} [order] Ordering criteria
|
|
148
154
|
* @param {string} [expand] Extra fields to fetch
|
|
155
|
+
* @param {string} [filters] List filters
|
|
149
156
|
* @param {*} [options] Override http request option.
|
|
150
157
|
* @throws {RequiredError}
|
|
151
158
|
*/
|
|
152
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass> {
|
|
153
|
-
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
159
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass> {
|
|
160
|
+
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
154
161
|
},
|
|
155
162
|
};
|
|
156
163
|
};
|
|
@@ -209,6 +216,13 @@ export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
|
|
|
209
216
|
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
210
217
|
*/
|
|
211
218
|
readonly expand?: string
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* List filters
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
224
|
+
*/
|
|
225
|
+
readonly filters?: string
|
|
212
226
|
}
|
|
213
227
|
|
|
214
228
|
/**
|
|
@@ -227,6 +241,6 @@ export class SearchableDocumentOwnersApi extends BaseAPI {
|
|
|
227
241
|
* @memberof SearchableDocumentOwnersApi
|
|
228
242
|
*/
|
|
229
243
|
public listSearchableDocumentOwners(requestParameters: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest = {}, options?: AxiosRequestConfig) {
|
|
230
|
-
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));
|
|
244
|
+
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));
|
|
231
245
|
}
|
|
232
246
|
}
|
|
@@ -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.
|
|
@@ -346,10 +346,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
346
346
|
* @param {string} [search] Search query
|
|
347
347
|
* @param {string} [order] Ordering criteria
|
|
348
348
|
* @param {string} [expand] Extra fields to fetch
|
|
349
|
+
* @param {string} [filters] List filters
|
|
349
350
|
* @param {*} [options] Override http request option.
|
|
350
351
|
* @throws {RequiredError}
|
|
351
352
|
*/
|
|
352
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
353
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
353
354
|
if (options === void 0) { options = {}; }
|
|
354
355
|
return __awaiter(_this, void 0, void 0, function () {
|
|
355
356
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -390,6 +391,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
390
391
|
if (expand !== undefined) {
|
|
391
392
|
localVarQueryParameter['expand'] = expand;
|
|
392
393
|
}
|
|
394
|
+
if (filters !== undefined) {
|
|
395
|
+
localVarQueryParameter['filters'] = filters;
|
|
396
|
+
}
|
|
393
397
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
394
398
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
395
399
|
}
|
|
@@ -582,15 +586,16 @@ var DocumentsApiFp = function (configuration) {
|
|
|
582
586
|
* @param {string} [search] Search query
|
|
583
587
|
* @param {string} [order] Ordering criteria
|
|
584
588
|
* @param {string} [expand] Extra fields to fetch
|
|
589
|
+
* @param {string} [filters] List filters
|
|
585
590
|
* @param {*} [options] Override http request option.
|
|
586
591
|
* @throws {RequiredError}
|
|
587
592
|
*/
|
|
588
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
593
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
589
594
|
return __awaiter(this, void 0, void 0, function () {
|
|
590
595
|
var localVarAxiosArgs;
|
|
591
596
|
return __generator(this, function (_a) {
|
|
592
597
|
switch (_a.label) {
|
|
593
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
598
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
594
599
|
case 1:
|
|
595
600
|
localVarAxiosArgs = _a.sent();
|
|
596
601
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -695,11 +700,12 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
695
700
|
* @param {string} [search] Search query
|
|
696
701
|
* @param {string} [order] Ordering criteria
|
|
697
702
|
* @param {string} [expand] Extra fields to fetch
|
|
703
|
+
* @param {string} [filters] List filters
|
|
698
704
|
* @param {*} [options] Override http request option.
|
|
699
705
|
* @throws {RequiredError}
|
|
700
706
|
*/
|
|
701
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
702
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
707
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
708
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
703
709
|
},
|
|
704
710
|
/**
|
|
705
711
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -798,7 +804,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
798
804
|
DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
|
|
799
805
|
var _this = this;
|
|
800
806
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
801
|
-
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); });
|
|
807
|
+
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); });
|
|
802
808
|
};
|
|
803
809
|
/**
|
|
804
810
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|