@emilgroup/document-sdk 1.20.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/documents-api.ts +20 -6
- package/api/docx-templates-api.ts +20 -6
- package/api/layouts-api.ts +20 -6
- package/api/product-documents-api.ts +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/list-request-dto.d.ts +6 -0
- 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.21.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk@1.
|
|
24
|
+
yarn add @emilgroup/document-sdk@1.21.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.
|
|
@@ -62,10 +62,11 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
|
|
|
62
62
|
* @param {string} [search] Search query
|
|
63
63
|
* @param {string} [order] Ordering criteria
|
|
64
64
|
* @param {string} [expand] Extra fields to fetch
|
|
65
|
+
* @param {string} [filters] List filters
|
|
65
66
|
* @param {*} [options] Override http request option.
|
|
66
67
|
* @throws {RequiredError}
|
|
67
68
|
*/
|
|
68
|
-
listDocxTemplates: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
listDocxTemplates: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
70
|
/**
|
|
70
71
|
* Updates a docx template metadata.
|
|
71
72
|
* @summary Update the docx template
|
|
@@ -128,10 +129,11 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
128
129
|
* @param {string} [search] Search query
|
|
129
130
|
* @param {string} [order] Ordering criteria
|
|
130
131
|
* @param {string} [expand] Extra fields to fetch
|
|
132
|
+
* @param {string} [filters] List filters
|
|
131
133
|
* @param {*} [options] Override http request option.
|
|
132
134
|
* @throws {RequiredError}
|
|
133
135
|
*/
|
|
134
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>>;
|
|
136
|
+
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>>;
|
|
135
137
|
/**
|
|
136
138
|
* Updates a docx template metadata.
|
|
137
139
|
* @summary Update the docx template
|
|
@@ -194,10 +196,11 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
194
196
|
* @param {string} [search] Search query
|
|
195
197
|
* @param {string} [order] Ordering criteria
|
|
196
198
|
* @param {string} [expand] Extra fields to fetch
|
|
199
|
+
* @param {string} [filters] List filters
|
|
197
200
|
* @param {*} [options] Override http request option.
|
|
198
201
|
* @throws {RequiredError}
|
|
199
202
|
*/
|
|
200
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass>;
|
|
203
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass>;
|
|
201
204
|
/**
|
|
202
205
|
* Updates a docx template metadata.
|
|
203
206
|
* @summary Update the docx template
|
|
@@ -323,6 +326,12 @@ export interface DocxTemplatesApiListDocxTemplatesRequest {
|
|
|
323
326
|
* @memberof DocxTemplatesApiListDocxTemplates
|
|
324
327
|
*/
|
|
325
328
|
readonly expand?: string;
|
|
329
|
+
/**
|
|
330
|
+
* List filters
|
|
331
|
+
* @type {string}
|
|
332
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
333
|
+
*/
|
|
334
|
+
readonly filters?: string;
|
|
326
335
|
}
|
|
327
336
|
/**
|
|
328
337
|
* Request parameters for updateDocxTemplate operation in DocxTemplatesApi.
|
|
@@ -246,10 +246,11 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
* @param {string} [search] Search query
|
|
247
247
|
* @param {string} [order] Ordering criteria
|
|
248
248
|
* @param {string} [expand] Extra fields to fetch
|
|
249
|
+
* @param {string} [filters] List filters
|
|
249
250
|
* @param {*} [options] Override http request option.
|
|
250
251
|
* @throws {RequiredError}
|
|
251
252
|
*/
|
|
252
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
253
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
253
254
|
if (options === void 0) { options = {}; }
|
|
254
255
|
return __awaiter(_this, void 0, void 0, function () {
|
|
255
256
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -290,6 +291,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
290
291
|
if (expand !== undefined) {
|
|
291
292
|
localVarQueryParameter['expand'] = expand;
|
|
292
293
|
}
|
|
294
|
+
if (filters !== undefined) {
|
|
295
|
+
localVarQueryParameter['filters'] = filters;
|
|
296
|
+
}
|
|
293
297
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
294
298
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
295
299
|
}
|
|
@@ -489,15 +493,16 @@ var DocxTemplatesApiFp = function (configuration) {
|
|
|
489
493
|
* @param {string} [search] Search query
|
|
490
494
|
* @param {string} [order] Ordering criteria
|
|
491
495
|
* @param {string} [expand] Extra fields to fetch
|
|
496
|
+
* @param {string} [filters] List filters
|
|
492
497
|
* @param {*} [options] Override http request option.
|
|
493
498
|
* @throws {RequiredError}
|
|
494
499
|
*/
|
|
495
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
500
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
496
501
|
return __awaiter(this, void 0, void 0, function () {
|
|
497
502
|
var localVarAxiosArgs;
|
|
498
503
|
return __generator(this, function (_a) {
|
|
499
504
|
switch (_a.label) {
|
|
500
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
505
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
501
506
|
case 1:
|
|
502
507
|
localVarAxiosArgs = _a.sent();
|
|
503
508
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -601,11 +606,12 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
601
606
|
* @param {string} [search] Search query
|
|
602
607
|
* @param {string} [order] Ordering criteria
|
|
603
608
|
* @param {string} [expand] Extra fields to fetch
|
|
609
|
+
* @param {string} [filters] List filters
|
|
604
610
|
* @param {*} [options] Override http request option.
|
|
605
611
|
* @throws {RequiredError}
|
|
606
612
|
*/
|
|
607
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
608
|
-
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
613
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
614
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
609
615
|
},
|
|
610
616
|
/**
|
|
611
617
|
* Updates a docx template metadata.
|
|
@@ -691,7 +697,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
691
697
|
DocxTemplatesApi.prototype.listDocxTemplates = function (requestParameters, options) {
|
|
692
698
|
var _this = this;
|
|
693
699
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
694
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
700
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).listDocxTemplates(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); });
|
|
695
701
|
};
|
|
696
702
|
/**
|
|
697
703
|
* Updates a docx template metadata.
|
|
@@ -62,10 +62,11 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
62
62
|
* @param {string} [search] Search query
|
|
63
63
|
* @param {string} [order] Ordering criteria
|
|
64
64
|
* @param {string} [expand] Extra fields to fetch
|
|
65
|
+
* @param {string} [filters] List filters
|
|
65
66
|
* @param {*} [options] Override http request option.
|
|
66
67
|
* @throws {RequiredError}
|
|
67
68
|
*/
|
|
68
|
-
listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
70
|
/**
|
|
70
71
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
71
72
|
* @summary Update the layout
|
|
@@ -120,10 +121,11 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
120
121
|
* @param {string} [search] Search query
|
|
121
122
|
* @param {string} [order] Ordering criteria
|
|
122
123
|
* @param {string} [expand] Extra fields to fetch
|
|
124
|
+
* @param {string} [filters] List filters
|
|
123
125
|
* @param {*} [options] Override http request option.
|
|
124
126
|
* @throws {RequiredError}
|
|
125
127
|
*/
|
|
126
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>>;
|
|
128
|
+
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>>;
|
|
127
129
|
/**
|
|
128
130
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
129
131
|
* @summary Update the layout
|
|
@@ -178,10 +180,11 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
178
180
|
* @param {string} [search] Search query
|
|
179
181
|
* @param {string} [order] Ordering criteria
|
|
180
182
|
* @param {string} [expand] Extra fields to fetch
|
|
183
|
+
* @param {string} [filters] List filters
|
|
181
184
|
* @param {*} [options] Override http request option.
|
|
182
185
|
* @throws {RequiredError}
|
|
183
186
|
*/
|
|
184
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
|
|
187
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
|
|
185
188
|
/**
|
|
186
189
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
187
190
|
* @summary Update the layout
|
|
@@ -304,6 +307,12 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
304
307
|
* @memberof LayoutsApiListLayouts
|
|
305
308
|
*/
|
|
306
309
|
readonly expand?: string;
|
|
310
|
+
/**
|
|
311
|
+
* List filters
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof LayoutsApiListLayouts
|
|
314
|
+
*/
|
|
315
|
+
readonly filters?: string;
|
|
307
316
|
}
|
|
308
317
|
/**
|
|
309
318
|
* Request parameters for updateLayout operation in LayoutsApi.
|
package/dist/api/layouts-api.js
CHANGED
|
@@ -253,10 +253,11 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* @param {string} [search] Search query
|
|
254
254
|
* @param {string} [order] Ordering criteria
|
|
255
255
|
* @param {string} [expand] Extra fields to fetch
|
|
256
|
+
* @param {string} [filters] List filters
|
|
256
257
|
* @param {*} [options] Override http request option.
|
|
257
258
|
* @throws {RequiredError}
|
|
258
259
|
*/
|
|
259
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
260
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
260
261
|
if (options === void 0) { options = {}; }
|
|
261
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
262
263
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -297,6 +298,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
297
298
|
if (expand !== undefined) {
|
|
298
299
|
localVarQueryParameter['expand'] = expand;
|
|
299
300
|
}
|
|
301
|
+
if (filters !== undefined) {
|
|
302
|
+
localVarQueryParameter['filters'] = filters;
|
|
303
|
+
}
|
|
300
304
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
301
305
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
302
306
|
}
|
|
@@ -448,15 +452,16 @@ var LayoutsApiFp = function (configuration) {
|
|
|
448
452
|
* @param {string} [search] Search query
|
|
449
453
|
* @param {string} [order] Ordering criteria
|
|
450
454
|
* @param {string} [expand] Extra fields to fetch
|
|
455
|
+
* @param {string} [filters] List filters
|
|
451
456
|
* @param {*} [options] Override http request option.
|
|
452
457
|
* @throws {RequiredError}
|
|
453
458
|
*/
|
|
454
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
459
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
455
460
|
return __awaiter(this, void 0, void 0, function () {
|
|
456
461
|
var localVarAxiosArgs;
|
|
457
462
|
return __generator(this, function (_a) {
|
|
458
463
|
switch (_a.label) {
|
|
459
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
464
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
460
465
|
case 1:
|
|
461
466
|
localVarAxiosArgs = _a.sent();
|
|
462
467
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -540,11 +545,12 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
540
545
|
* @param {string} [search] Search query
|
|
541
546
|
* @param {string} [order] Ordering criteria
|
|
542
547
|
* @param {string} [expand] Extra fields to fetch
|
|
548
|
+
* @param {string} [filters] List filters
|
|
543
549
|
* @param {*} [options] Override http request option.
|
|
544
550
|
* @throws {RequiredError}
|
|
545
551
|
*/
|
|
546
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
547
|
-
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
552
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
553
|
+
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
548
554
|
},
|
|
549
555
|
/**
|
|
550
556
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -619,7 +625,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
619
625
|
LayoutsApi.prototype.listLayouts = function (requestParameters, options) {
|
|
620
626
|
var _this = this;
|
|
621
627
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
622
|
-
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
628
|
+
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(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); });
|
|
623
629
|
};
|
|
624
630
|
/**
|
|
625
631
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -63,10 +63,11 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
63
63
|
* @param {string} [search] Search query
|
|
64
64
|
* @param {string} [order] Ordering criteria
|
|
65
65
|
* @param {string} [expand] Extra fields to fetch
|
|
66
|
+
* @param {string} [filters] List filters
|
|
66
67
|
* @param {*} [options] Override http request option.
|
|
67
68
|
* @throws {RequiredError}
|
|
68
69
|
*/
|
|
69
|
-
listProductDocuments: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
listProductDocuments: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
71
|
/**
|
|
71
72
|
* 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.
|
|
72
73
|
* @summary List product documents
|
|
@@ -78,10 +79,11 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
78
79
|
* @param {string} [search] Search query
|
|
79
80
|
* @param {string} [order] Ordering criteria
|
|
80
81
|
* @param {string} [expand] Extra fields to fetch
|
|
82
|
+
* @param {string} [filters] List filters
|
|
81
83
|
* @param {*} [options] Override http request option.
|
|
82
84
|
* @throws {RequiredError}
|
|
83
85
|
*/
|
|
84
|
-
listProductDocuments_1: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
|
+
listProductDocuments_1: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
87
|
/**
|
|
86
88
|
* Upload a product document.
|
|
87
89
|
* @summary Create the product document
|
|
@@ -139,10 +141,11 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
139
141
|
* @param {string} [search] Search query
|
|
140
142
|
* @param {string} [order] Ordering criteria
|
|
141
143
|
* @param {string} [expand] Extra fields to fetch
|
|
144
|
+
* @param {string} [filters] List filters
|
|
142
145
|
* @param {*} [options] Override http request option.
|
|
143
146
|
* @throws {RequiredError}
|
|
144
147
|
*/
|
|
145
|
-
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>>;
|
|
148
|
+
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>>;
|
|
146
149
|
/**
|
|
147
150
|
* 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.
|
|
148
151
|
* @summary List product documents
|
|
@@ -154,10 +157,11 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
154
157
|
* @param {string} [search] Search query
|
|
155
158
|
* @param {string} [order] Ordering criteria
|
|
156
159
|
* @param {string} [expand] Extra fields to fetch
|
|
160
|
+
* @param {string} [filters] List filters
|
|
157
161
|
* @param {*} [options] Override http request option.
|
|
158
162
|
* @throws {RequiredError}
|
|
159
163
|
*/
|
|
160
|
-
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>>;
|
|
164
|
+
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>>;
|
|
161
165
|
/**
|
|
162
166
|
* Upload a product document.
|
|
163
167
|
* @summary Create the product document
|
|
@@ -215,10 +219,11 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
215
219
|
* @param {string} [search] Search query
|
|
216
220
|
* @param {string} [order] Ordering criteria
|
|
217
221
|
* @param {string} [expand] Extra fields to fetch
|
|
222
|
+
* @param {string} [filters] List filters
|
|
218
223
|
* @param {*} [options] Override http request option.
|
|
219
224
|
* @throws {RequiredError}
|
|
220
225
|
*/
|
|
221
|
-
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
226
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
222
227
|
/**
|
|
223
228
|
* 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.
|
|
224
229
|
* @summary List product documents
|
|
@@ -230,10 +235,11 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
230
235
|
* @param {string} [search] Search query
|
|
231
236
|
* @param {string} [order] Ordering criteria
|
|
232
237
|
* @param {string} [expand] Extra fields to fetch
|
|
238
|
+
* @param {string} [filters] List filters
|
|
233
239
|
* @param {*} [options] Override http request option.
|
|
234
240
|
* @throws {RequiredError}
|
|
235
241
|
*/
|
|
236
|
-
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
242
|
+
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
237
243
|
/**
|
|
238
244
|
* Upload a product document.
|
|
239
245
|
* @summary Create the product document
|
|
@@ -374,6 +380,12 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
374
380
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
375
381
|
*/
|
|
376
382
|
readonly expand?: string;
|
|
383
|
+
/**
|
|
384
|
+
* List filters
|
|
385
|
+
* @type {string}
|
|
386
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
387
|
+
*/
|
|
388
|
+
readonly filters?: string;
|
|
377
389
|
}
|
|
378
390
|
/**
|
|
379
391
|
* Request parameters for listProductDocuments_1 operation in ProductDocumentsApi.
|
|
@@ -429,6 +441,12 @@ export interface ProductDocumentsApiListProductDocuments0Request {
|
|
|
429
441
|
* @memberof ProductDocumentsApiListProductDocuments0
|
|
430
442
|
*/
|
|
431
443
|
readonly expand?: string;
|
|
444
|
+
/**
|
|
445
|
+
* List filters
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
448
|
+
*/
|
|
449
|
+
readonly filters?: string;
|
|
432
450
|
}
|
|
433
451
|
/**
|
|
434
452
|
* Request parameters for uploadProductDocument operation in ProductDocumentsApi.
|
|
@@ -259,10 +259,11 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
259
259
|
* @param {string} [search] Search query
|
|
260
260
|
* @param {string} [order] Ordering criteria
|
|
261
261
|
* @param {string} [expand] Extra fields to fetch
|
|
262
|
+
* @param {string} [filters] List filters
|
|
262
263
|
* @param {*} [options] Override http request option.
|
|
263
264
|
* @throws {RequiredError}
|
|
264
265
|
*/
|
|
265
|
-
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
266
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
266
267
|
if (options === void 0) { options = {}; }
|
|
267
268
|
return __awaiter(_this, void 0, void 0, function () {
|
|
268
269
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -306,6 +307,9 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
306
307
|
if (expand !== undefined) {
|
|
307
308
|
localVarQueryParameter['expand'] = expand;
|
|
308
309
|
}
|
|
310
|
+
if (filters !== undefined) {
|
|
311
|
+
localVarQueryParameter['filters'] = filters;
|
|
312
|
+
}
|
|
309
313
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
310
314
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
311
315
|
}
|
|
@@ -331,10 +335,11 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
331
335
|
* @param {string} [search] Search query
|
|
332
336
|
* @param {string} [order] Ordering criteria
|
|
333
337
|
* @param {string} [expand] Extra fields to fetch
|
|
338
|
+
* @param {string} [filters] List filters
|
|
334
339
|
* @param {*} [options] Override http request option.
|
|
335
340
|
* @throws {RequiredError}
|
|
336
341
|
*/
|
|
337
|
-
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
342
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
338
343
|
if (options === void 0) { options = {}; }
|
|
339
344
|
return __awaiter(_this, void 0, void 0, function () {
|
|
340
345
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -378,6 +383,9 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
378
383
|
if (expand !== undefined) {
|
|
379
384
|
localVarQueryParameter['expand'] = expand;
|
|
380
385
|
}
|
|
386
|
+
if (filters !== undefined) {
|
|
387
|
+
localVarQueryParameter['filters'] = filters;
|
|
388
|
+
}
|
|
381
389
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
382
390
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
383
391
|
}
|
|
@@ -532,15 +540,16 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
532
540
|
* @param {string} [search] Search query
|
|
533
541
|
* @param {string} [order] Ordering criteria
|
|
534
542
|
* @param {string} [expand] Extra fields to fetch
|
|
543
|
+
* @param {string} [filters] List filters
|
|
535
544
|
* @param {*} [options] Override http request option.
|
|
536
545
|
* @throws {RequiredError}
|
|
537
546
|
*/
|
|
538
|
-
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
547
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
539
548
|
return __awaiter(this, void 0, void 0, function () {
|
|
540
549
|
var localVarAxiosArgs;
|
|
541
550
|
return __generator(this, function (_a) {
|
|
542
551
|
switch (_a.label) {
|
|
543
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
552
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
544
553
|
case 1:
|
|
545
554
|
localVarAxiosArgs = _a.sent();
|
|
546
555
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -559,15 +568,16 @@ var ProductDocumentsApiFp = function (configuration) {
|
|
|
559
568
|
* @param {string} [search] Search query
|
|
560
569
|
* @param {string} [order] Ordering criteria
|
|
561
570
|
* @param {string} [expand] Extra fields to fetch
|
|
571
|
+
* @param {string} [filters] List filters
|
|
562
572
|
* @param {*} [options] Override http request option.
|
|
563
573
|
* @throws {RequiredError}
|
|
564
574
|
*/
|
|
565
|
-
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
575
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
566
576
|
return __awaiter(this, void 0, void 0, function () {
|
|
567
577
|
var localVarAxiosArgs;
|
|
568
578
|
return __generator(this, function (_a) {
|
|
569
579
|
switch (_a.label) {
|
|
570
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
580
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
571
581
|
case 1:
|
|
572
582
|
localVarAxiosArgs = _a.sent();
|
|
573
583
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -654,11 +664,12 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
654
664
|
* @param {string} [search] Search query
|
|
655
665
|
* @param {string} [order] Ordering criteria
|
|
656
666
|
* @param {string} [expand] Extra fields to fetch
|
|
667
|
+
* @param {string} [filters] List filters
|
|
657
668
|
* @param {*} [options] Override http request option.
|
|
658
669
|
* @throws {RequiredError}
|
|
659
670
|
*/
|
|
660
|
-
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
661
|
-
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
671
|
+
listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
672
|
+
return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
662
673
|
},
|
|
663
674
|
/**
|
|
664
675
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -671,11 +682,12 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
671
682
|
* @param {string} [search] Search query
|
|
672
683
|
* @param {string} [order] Ordering criteria
|
|
673
684
|
* @param {string} [expand] Extra fields to fetch
|
|
685
|
+
* @param {string} [filters] List filters
|
|
674
686
|
* @param {*} [options] Override http request option.
|
|
675
687
|
* @throws {RequiredError}
|
|
676
688
|
*/
|
|
677
|
-
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
678
|
-
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
689
|
+
listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
690
|
+
return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
679
691
|
},
|
|
680
692
|
/**
|
|
681
693
|
* Upload a product document.
|
|
@@ -749,7 +761,7 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
749
761
|
*/
|
|
750
762
|
ProductDocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
|
|
751
763
|
var _this = this;
|
|
752
|
-
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
764
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
753
765
|
};
|
|
754
766
|
/**
|
|
755
767
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -761,7 +773,7 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
|
|
|
761
773
|
*/
|
|
762
774
|
ProductDocumentsApi.prototype.listProductDocuments_1 = function (requestParameters, options) {
|
|
763
775
|
var _this = this;
|
|
764
|
-
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments_1(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
776
|
+
return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments_1(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
765
777
|
};
|
|
766
778
|
/**
|
|
767
779
|
* Upload a product document.
|
|
@@ -28,10 +28,11 @@ export declare const SearchableDocumentOwnersApiAxiosParamCreator: (configuratio
|
|
|
28
28
|
* @param {string} [search] Search query
|
|
29
29
|
* @param {string} [order] Ordering criteria
|
|
30
30
|
* @param {string} [expand] Extra fields to fetch
|
|
31
|
+
* @param {string} [filters] List filters
|
|
31
32
|
* @param {*} [options] Override http request option.
|
|
32
33
|
* @throws {RequiredError}
|
|
33
34
|
*/
|
|
34
|
-
listSearchableDocumentOwners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
listSearchableDocumentOwners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
36
|
};
|
|
36
37
|
/**
|
|
37
38
|
* SearchableDocumentOwnersApi - functional programming interface
|
|
@@ -48,10 +49,11 @@ export declare const SearchableDocumentOwnersApiFp: (configuration?: Configurati
|
|
|
48
49
|
* @param {string} [search] Search query
|
|
49
50
|
* @param {string} [order] Ordering criteria
|
|
50
51
|
* @param {string} [expand] Extra fields to fetch
|
|
52
|
+
* @param {string} [filters] List filters
|
|
51
53
|
* @param {*} [options] Override http request option.
|
|
52
54
|
* @throws {RequiredError}
|
|
53
55
|
*/
|
|
54
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
|
|
56
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
|
|
55
57
|
};
|
|
56
58
|
/**
|
|
57
59
|
* SearchableDocumentOwnersApi - factory interface
|
|
@@ -68,10 +70,11 @@ export declare const SearchableDocumentOwnersApiFactory: (configuration?: Config
|
|
|
68
70
|
* @param {string} [search] Search query
|
|
69
71
|
* @param {string} [order] Ordering criteria
|
|
70
72
|
* @param {string} [expand] Extra fields to fetch
|
|
73
|
+
* @param {string} [filters] List filters
|
|
71
74
|
* @param {*} [options] Override http request option.
|
|
72
75
|
* @throws {RequiredError}
|
|
73
76
|
*/
|
|
74
|
-
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
|
|
77
|
+
listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
|
|
75
78
|
};
|
|
76
79
|
/**
|
|
77
80
|
* Request parameters for listSearchableDocumentOwners operation in SearchableDocumentOwnersApi.
|
|
@@ -121,6 +124,12 @@ export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
|
|
|
121
124
|
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
122
125
|
*/
|
|
123
126
|
readonly expand?: string;
|
|
127
|
+
/**
|
|
128
|
+
* List filters
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
|
|
131
|
+
*/
|
|
132
|
+
readonly filters?: string;
|
|
124
133
|
}
|
|
125
134
|
/**
|
|
126
135
|
* SearchableDocumentOwnersApi - object-oriented interface
|
|
@@ -102,10 +102,11 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
102
102
|
* @param {string} [search] Search query
|
|
103
103
|
* @param {string} [order] Ordering criteria
|
|
104
104
|
* @param {string} [expand] Extra fields to fetch
|
|
105
|
+
* @param {string} [filters] List filters
|
|
105
106
|
* @param {*} [options] Override http request option.
|
|
106
107
|
* @throws {RequiredError}
|
|
107
108
|
*/
|
|
108
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
109
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
109
110
|
if (options === void 0) { options = {}; }
|
|
110
111
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
112
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -146,6 +147,9 @@ var SearchableDocumentOwnersApiAxiosParamCreator = function (configuration) {
|
|
|
146
147
|
if (expand !== undefined) {
|
|
147
148
|
localVarQueryParameter['expand'] = expand;
|
|
148
149
|
}
|
|
150
|
+
if (filters !== undefined) {
|
|
151
|
+
localVarQueryParameter['filters'] = filters;
|
|
152
|
+
}
|
|
149
153
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
150
154
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
151
155
|
}
|
|
@@ -180,15 +184,16 @@ var SearchableDocumentOwnersApiFp = function (configuration) {
|
|
|
180
184
|
* @param {string} [search] Search query
|
|
181
185
|
* @param {string} [order] Ordering criteria
|
|
182
186
|
* @param {string} [expand] Extra fields to fetch
|
|
187
|
+
* @param {string} [filters] List filters
|
|
183
188
|
* @param {*} [options] Override http request option.
|
|
184
189
|
* @throws {RequiredError}
|
|
185
190
|
*/
|
|
186
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
191
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
187
192
|
return __awaiter(this, void 0, void 0, function () {
|
|
188
193
|
var localVarAxiosArgs;
|
|
189
194
|
return __generator(this, function (_a) {
|
|
190
195
|
switch (_a.label) {
|
|
191
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
196
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
192
197
|
case 1:
|
|
193
198
|
localVarAxiosArgs = _a.sent();
|
|
194
199
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -216,11 +221,12 @@ var SearchableDocumentOwnersApiFactory = function (configuration, basePath, axio
|
|
|
216
221
|
* @param {string} [search] Search query
|
|
217
222
|
* @param {string} [order] Ordering criteria
|
|
218
223
|
* @param {string} [expand] Extra fields to fetch
|
|
224
|
+
* @param {string} [filters] List filters
|
|
219
225
|
* @param {*} [options] Override http request option.
|
|
220
226
|
* @throws {RequiredError}
|
|
221
227
|
*/
|
|
222
|
-
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
223
|
-
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
228
|
+
listSearchableDocumentOwners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
229
|
+
return localVarFp.listSearchableDocumentOwners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
224
230
|
},
|
|
225
231
|
};
|
|
226
232
|
};
|
|
@@ -247,7 +253,7 @@ var SearchableDocumentOwnersApi = /** @class */ (function (_super) {
|
|
|
247
253
|
SearchableDocumentOwnersApi.prototype.listSearchableDocumentOwners = function (requestParameters, options) {
|
|
248
254
|
var _this = this;
|
|
249
255
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
250
|
-
return (0, exports.SearchableDocumentOwnersApiFp)(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
256
|
+
return (0, exports.SearchableDocumentOwnersApiFp)(this.configuration).listSearchableDocumentOwners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
251
257
|
};
|
|
252
258
|
return SearchableDocumentOwnersApi;
|
|
253
259
|
}(base_1.BaseAPI));
|